verstak
Version:
Verstak - Front-End Library
234 lines (233 loc) • 17.9 kB
JavaScript
import { declare } from "reactronic";
import { ElKind } from "../core/El.js";
import { HtmlDriver } from "../core/WebDriver.js";
export function A(declaration) { return declare(HtmlTags.a, declaration); }
export function Abbr(declaration) { return declare(HtmlTags.abbr, declaration); }
export function Address(declaration) { return declare(HtmlTags.address, declaration); }
export function Area(declaration) { return declare(HtmlTags.area, declaration); }
export function Article(declaration) { return declare(HtmlTags.article, declaration); }
export function Aside(declaration) { return declare(HtmlTags.aside, declaration); }
export function Audio(declaration) { return declare(HtmlTags.audio, declaration); }
export function B(declaration) { return declare(HtmlTags.b, declaration); }
export function Base(declaration) { return declare(HtmlTags.base, declaration); }
export function Bdi(declaration) { return declare(HtmlTags.bdi, declaration); }
export function Bdo(declaration) { return declare(HtmlTags.bdo, declaration); }
export function Big(declaration) { return declare(HtmlTags.big, declaration); }
export function BlockQuote(declaration) { return declare(HtmlTags.blockquote, declaration); }
export function Body(declaration) { return declare(HtmlTags.body, declaration); }
export function BR(declaration) { return declare(HtmlTags.br, declaration); }
export function Button(declaration) { return declare(HtmlTags.button, declaration); }
export function Canvas(declaration) { return declare(HtmlTags.canvas, declaration); }
export function Caption(declaration) { return declare(HtmlTags.caption, declaration); }
export function Cite(declaration) { return declare(HtmlTags.cite, declaration); }
export function Code(declaration) { return declare(HtmlTags.code, declaration); }
export function Col(declaration) { return declare(HtmlTags.col, declaration); }
export function ColGroup(declaration) { return declare(HtmlTags.colgroup, declaration); }
export function Data(declaration) { return declare(HtmlTags.data, declaration); }
export function DataList(declaration) { return declare(HtmlTags.datalist, declaration); }
export function DD(declaration) { return declare(HtmlTags.dd, declaration); }
export function Del(declaration) { return declare(HtmlTags.del, declaration); }
export function Details(declaration) { return declare(HtmlTags.details, declaration); }
export function Dfn(declaration) { return declare(HtmlTags.dfn, declaration); }
export function Div(declaration) { return declare(HtmlTags.div, declaration); }
export function DL(declaration) { return declare(HtmlTags.dl, declaration); }
export function DT(declaration) { return declare(HtmlTags.dt, declaration); }
export function EM(declaration) { return declare(HtmlTags.em, declaration); }
export function Embed(declaration) { return declare(HtmlTags.embed, declaration); }
export function FieldSet(declaration) { return declare(HtmlTags.fieldset, declaration); }
export function FigCaption(declaration) { return declare(HtmlTags.figcaption, declaration); }
export function Figure(declaration) { return declare(HtmlTags.figure, declaration); }
export function Footer(declaration) { return declare(HtmlTags.footer, declaration); }
export function Form(declaration) { return declare(HtmlTags.form, declaration); }
export function H1(declaration) { return declare(HtmlTags.h1, declaration); }
export function H2(declaration) { return declare(HtmlTags.h2, declaration); }
export function H3(declaration) { return declare(HtmlTags.h3, declaration); }
export function H4(declaration) { return declare(HtmlTags.h4, declaration); }
export function H5(declaration) { return declare(HtmlTags.h5, declaration); }
export function H6(declaration) { return declare(HtmlTags.h6, declaration); }
export function Head(declaration) { return declare(HtmlTags.head, declaration); }
export function Header(declaration) { return declare(HtmlTags.header, declaration); }
export function HGroup(declaration) { return declare(HtmlTags.hgroup, declaration); }
export function HR(declaration) { return declare(HtmlTags.hr, declaration); }
export function Html(declaration) { return declare(HtmlTags.html, declaration); }
export function I(declaration) { return declare(HtmlTags.i, declaration); }
export function IFrame(declaration) { return declare(HtmlTags.iframe, declaration); }
export function Img(declaration) { return declare(HtmlTags.img, declaration); }
export function Input(declaration) { return declare(HtmlTags.input, declaration); }
export function Ins(declaration) { return declare(HtmlTags.ins, declaration); }
export function Kbd(declaration) { return declare(HtmlTags.kbd, declaration); }
export function KeyGen(declaration) { return declare(HtmlTags.keygen, declaration); }
export function Label(declaration) { return declare(HtmlTags.label, declaration); }
export function Legend(declaration) { return declare(HtmlTags.legend, declaration); }
export function LI(declaration) { return declare(HtmlTags.li, declaration); }
export function Link(declaration) { return declare(HtmlTags.link, declaration); }
export function Main(declaration) { return declare(HtmlTags.main, declaration); }
export function Map(declaration) { return declare(HtmlTags.map, declaration); }
export function Mark(declaration) { return declare(HtmlTags.mark, declaration); }
export function Menu(declaration) { return declare(HtmlTags.menu, declaration); }
export function MenuItem(declaration) { return declare(HtmlTags.menuitem, declaration); }
export function Meta(declaration) { return declare(HtmlTags.meta, declaration); }
export function Meter(declaration) { return declare(HtmlTags.meter, declaration); }
export function Nav(declaration) { return declare(HtmlTags.nav, declaration); }
export function NoIndex(declaration) { return declare(HtmlTags.noindex, declaration); }
export function NoScript(declaration) { return declare(HtmlTags.noscript, declaration); }
export function Obj(declaration) { return declare(HtmlTags.object, declaration); }
export function OL(declaration) { return declare(HtmlTags.ol, declaration); }
export function OptGroup(declaration) { return declare(HtmlTags.optgroup, declaration); }
export function Option(declaration) { return declare(HtmlTags.option, declaration); }
export function Output(declaration) { return declare(HtmlTags.output, declaration); }
export function P(declaration) { return declare(HtmlTags.p, declaration); }
export function Param(declaration) { return declare(HtmlTags.param, declaration); }
export function Picture(declaration) { return declare(HtmlTags.picture, declaration); }
export function Pre(declaration) { return declare(HtmlTags.pre, declaration); }
export function Progress(declaration) { return declare(HtmlTags.progress, declaration); }
export function Q(declaration) { return declare(HtmlTags.q, declaration); }
export function RP(declaration) { return declare(HtmlTags.rp, declaration); }
export function RT(declaration) { return declare(HtmlTags.rt, declaration); }
export function Ruby(declaration) { return declare(HtmlTags.ruby, declaration); }
export function S(declaration) { return declare(HtmlTags.s, declaration); }
export function Samp(declaration) { return declare(HtmlTags.samp, declaration); }
export function Script(declaration) { return declare(HtmlTags.script, declaration); }
export function Section(declaration) { return declare(HtmlTags.section, declaration); }
export function Select(declaration) { return declare(HtmlTags.select, declaration); }
export function Small(declaration) { return declare(HtmlTags.small, declaration); }
export function Source(declaration) { return declare(HtmlTags.source, declaration); }
export function Span(declaration) { return declare(HtmlTags.span, declaration); }
export function Strong(declaration) { return declare(HtmlTags.strong, declaration); }
export function Style(declaration) { return declare(HtmlTags.style, declaration); }
export function Sub(declaration) { return declare(HtmlTags.sub, declaration); }
export function Summary(declaration) { return declare(HtmlTags.summary, declaration); }
export function Sup(declaration) { return declare(HtmlTags.sup, declaration); }
export function Tbl(declaration) { return declare(HtmlTags.table, declaration); }
export function Template(declaration) { return declare(HtmlTags.template, declaration); }
export function TBody(declaration) { return declare(HtmlTags.tbody, declaration); }
export function TD(declaration) { return declare(HtmlTags.td, declaration); }
export function TextArea(declaration) { return declare(HtmlTags.textarea, declaration); }
export function TFoot(declaration) { return declare(HtmlTags.tfoot, declaration); }
export function TH(declaration) { return declare(HtmlTags.th, declaration); }
export function THead(declaration) { return declare(HtmlTags.thead, declaration); }
export function Time(declaration) { return declare(HtmlTags.time, declaration); }
export function Title(declaration) { return declare(HtmlTags.title, declaration); }
export function TR(declaration) { return declare(HtmlTags.tr, declaration); }
export function Track(declaration) { return declare(HtmlTags.track, declaration); }
export function U(declaration) { return declare(HtmlTags.u, declaration); }
export function UL(declaration) { return declare(HtmlTags.ul, declaration); }
export function Var(declaration) { return declare(HtmlTags.var, declaration); }
export function Video(declaration) { return declare(HtmlTags.video, declaration); }
export function Wbr(declaration) { return declare(HtmlTags.wbr, declaration); }
const HtmlTags = {
a: new HtmlDriver("a", false, el => el.kind = ElKind.native),
abbr: new HtmlDriver("abbr", false, el => el.kind = ElKind.native),
address: new HtmlDriver("address", false, el => el.kind = ElKind.native),
area: new HtmlDriver("area", false, el => el.kind = ElKind.native),
article: new HtmlDriver("article", false, el => el.kind = ElKind.native),
aside: new HtmlDriver("aside", false, el => el.kind = ElKind.native),
audio: new HtmlDriver("audio", false, el => el.kind = ElKind.native),
b: new HtmlDriver("b", false, el => el.kind = ElKind.native),
base: new HtmlDriver("base", false, el => el.kind = ElKind.native),
bdi: new HtmlDriver("bdi", false, el => el.kind = ElKind.native),
bdo: new HtmlDriver("bdo", false, el => el.kind = ElKind.native),
big: new HtmlDriver("big", false, el => el.kind = ElKind.native),
blockquote: new HtmlDriver("blockquote", false, el => el.kind = ElKind.native),
body: new HtmlDriver("body", false, el => el.kind = ElKind.native),
br: new HtmlDriver("br", false, el => el.kind = ElKind.native),
button: new HtmlDriver("button", false, el => el.kind = ElKind.native),
canvas: new HtmlDriver("canvas", false, el => el.kind = ElKind.native),
caption: new HtmlDriver("caption", false, el => el.kind = ElKind.native),
cite: new HtmlDriver("cite", false, el => el.kind = ElKind.native),
code: new HtmlDriver("code", false, el => el.kind = ElKind.native),
col: new HtmlDriver("col", false, el => el.kind = ElKind.native),
colgroup: new HtmlDriver("colgroup", false, el => el.kind = ElKind.native),
data: new HtmlDriver("data", false, el => el.kind = ElKind.native),
datalist: new HtmlDriver("datalist", false, el => el.kind = ElKind.native),
dd: new HtmlDriver("dd", false, el => el.kind = ElKind.native),
del: new HtmlDriver("del", false, el => el.kind = ElKind.native),
details: new HtmlDriver("details", false, el => el.kind = ElKind.native),
dfn: new HtmlDriver("dfn", false, el => el.kind = ElKind.native),
div: new HtmlDriver("div", false, el => el.kind = ElKind.native),
dl: new HtmlDriver("dl", false, el => el.kind = ElKind.native),
dt: new HtmlDriver("dt", false, el => el.kind = ElKind.native),
em: new HtmlDriver("em", false, el => el.kind = ElKind.native),
embed: new HtmlDriver("embed", false, el => el.kind = ElKind.native),
fieldset: new HtmlDriver("fieldset", false, el => el.kind = ElKind.native),
figcaption: new HtmlDriver("figcaption", false, el => el.kind = ElKind.native),
figure: new HtmlDriver("figure", false, el => el.kind = ElKind.native),
footer: new HtmlDriver("footer", false, el => el.kind = ElKind.native),
form: new HtmlDriver("form", false, el => el.kind = ElKind.native),
h1: new HtmlDriver("h1", false, el => el.kind = ElKind.native),
h2: new HtmlDriver("h2", false, el => el.kind = ElKind.native),
h3: new HtmlDriver("h3", false, el => el.kind = ElKind.native),
h4: new HtmlDriver("h4", false, el => el.kind = ElKind.native),
h5: new HtmlDriver("h5", false, el => el.kind = ElKind.native),
h6: new HtmlDriver("h6", false, el => el.kind = ElKind.native),
head: new HtmlDriver("head", false, el => el.kind = ElKind.native),
header: new HtmlDriver("header", false, el => el.kind = ElKind.native),
hgroup: new HtmlDriver("hgroup", false, el => el.kind = ElKind.native),
hr: new HtmlDriver("hr", false, el => el.kind = ElKind.native),
html: new HtmlDriver("html", false, el => el.kind = ElKind.native),
i: new HtmlDriver("i", false, el => el.kind = ElKind.native),
iframe: new HtmlDriver("iframe", false, el => el.kind = ElKind.native),
img: new HtmlDriver("img", false, el => el.kind = ElKind.native),
input: new HtmlDriver("input", false, el => el.kind = ElKind.native),
ins: new HtmlDriver("ins", false, el => el.kind = ElKind.native),
kbd: new HtmlDriver("kbd", false, el => el.kind = ElKind.native),
keygen: new HtmlDriver("keygen", false, el => el.kind = ElKind.native),
label: new HtmlDriver("label", false, el => el.kind = ElKind.native),
legend: new HtmlDriver("legend", false, el => el.kind = ElKind.native),
li: new HtmlDriver("li", false, el => el.kind = ElKind.native),
link: new HtmlDriver("link", false, el => el.kind = ElKind.native),
main: new HtmlDriver("main", false, el => el.kind = ElKind.native),
map: new HtmlDriver("map", false, el => el.kind = ElKind.native),
mark: new HtmlDriver("mark", false, el => el.kind = ElKind.native),
menu: new HtmlDriver("menu", false, el => el.kind = ElKind.native),
menuitem: new HtmlDriver("menuitem", false, el => el.kind = ElKind.native),
meta: new HtmlDriver("meta", false, el => el.kind = ElKind.native),
meter: new HtmlDriver("meter", false, el => el.kind = ElKind.native),
nav: new HtmlDriver("nav", false, el => el.kind = ElKind.native),
noindex: new HtmlDriver("noindex", false, el => el.kind = ElKind.native),
noscript: new HtmlDriver("noscript", false, el => el.kind = ElKind.native),
object: new HtmlDriver("object", false, el => el.kind = ElKind.native),
ol: new HtmlDriver("ol", false, el => el.kind = ElKind.native),
optgroup: new HtmlDriver("optgroup", false, el => el.kind = ElKind.native),
option: new HtmlDriver("option", false, el => el.kind = ElKind.native),
output: new HtmlDriver("output", false, el => el.kind = ElKind.native),
p: new HtmlDriver("p", false, el => el.kind = ElKind.native),
param: new HtmlDriver("param", false, el => el.kind = ElKind.native),
picture: new HtmlDriver("picture", false, el => el.kind = ElKind.native),
pre: new HtmlDriver("pre", false, el => el.kind = ElKind.native),
progress: new HtmlDriver("progress", false, el => el.kind = ElKind.native),
q: new HtmlDriver("q", false, el => el.kind = ElKind.native),
rp: new HtmlDriver("rp", false, el => el.kind = ElKind.native),
rt: new HtmlDriver("rt", false, el => el.kind = ElKind.native),
ruby: new HtmlDriver("ruby", false, el => el.kind = ElKind.native),
s: new HtmlDriver("s", false, el => el.kind = ElKind.native),
samp: new HtmlDriver("samp", false, el => el.kind = ElKind.native),
script: new HtmlDriver("script", false, el => el.kind = ElKind.native),
section: new HtmlDriver("section", false, el => el.kind = ElKind.native),
select: new HtmlDriver("select", false, el => el.kind = ElKind.native),
small: new HtmlDriver("small", false, el => el.kind = ElKind.native),
source: new HtmlDriver("source", false, el => el.kind = ElKind.native),
span: new HtmlDriver("span", false, el => el.kind = ElKind.native),
strong: new HtmlDriver("strong", false, el => el.kind = ElKind.native),
style: new HtmlDriver("style", false, el => el.kind = ElKind.native),
sub: new HtmlDriver("sub", false, el => el.kind = ElKind.native),
summary: new HtmlDriver("summary", false, el => el.kind = ElKind.native),
sup: new HtmlDriver("sup", false, el => el.kind = ElKind.native),
table: new HtmlDriver("table", false, el => el.kind = ElKind.native),
template: new HtmlDriver("template", false, el => el.kind = ElKind.native),
tbody: new HtmlDriver("tbody", false, el => el.kind = ElKind.native),
td: new HtmlDriver("td", false, el => el.kind = ElKind.native),
textarea: new HtmlDriver("textarea", false, el => el.kind = ElKind.native),
tfoot: new HtmlDriver("tfoot", false, el => el.kind = ElKind.native),
th: new HtmlDriver("th", false, el => el.kind = ElKind.native),
thead: new HtmlDriver("thead", false, el => el.kind = ElKind.native),
time: new HtmlDriver("time", false, el => el.kind = ElKind.native),
title: new HtmlDriver("title", false, el => el.kind = ElKind.native),
tr: new HtmlDriver("tr", false, el => el.kind = ElKind.native),
track: new HtmlDriver("track", false, el => el.kind = ElKind.native),
u: new HtmlDriver("u", false, el => el.kind = ElKind.native),
ul: new HtmlDriver("ul", false, el => el.kind = ElKind.native),
var: new HtmlDriver("var", false, el => el.kind = ElKind.native),
video: new HtmlDriver("video", false, el => el.kind = ElKind.native),
wbr: new HtmlDriver("wbr", false, el => el.kind = ElKind.native),
};