@typesafe-html5/typescript 0.2.62 → 0.2.72
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/build-all.mjs +54 -0
- package/dist/block/article/article.js +465 -0
- package/dist/block/article/article.js.map +7 -0
- package/dist/block/aside/aside.js +476 -0
- package/dist/block/aside/aside.js.map +7 -0
- package/dist/block/audio/audio.js +454 -0
- package/dist/block/audio/audio.js.map +7 -0
- package/dist/block/blockquote/blockquote.js +476 -0
- package/dist/block/blockquote/blockquote.js.map +7 -0
- package/dist/block/body/body.js +378 -0
- package/dist/block/body/body.js.map +7 -0
- package/dist/block/canvas/canvas.js +487 -0
- package/dist/block/canvas/canvas.js.map +7 -0
- package/dist/block/caption/caption.js +465 -0
- package/dist/block/caption/caption.js.map +7 -0
- package/dist/block/colgroup/colgroup.js +190 -0
- package/dist/block/colgroup/colgroup.js.map +7 -0
- package/dist/block/datalist/datalist.js +465 -0
- package/dist/block/datalist/datalist.js.map +7 -0
- package/dist/block/dd/dd.js +422 -0
- package/dist/block/dd/dd.js.map +7 -0
- package/dist/block/del/del.js +487 -0
- package/dist/block/del/del.js.map +7 -0
- package/dist/block/details/details.js +520 -0
- package/dist/block/details/details.js.map +7 -0
- package/dist/block/dialog/dialog.js +520 -0
- package/dist/block/dialog/dialog.js.map +7 -0
- package/dist/block/div/div.js +520 -0
- package/dist/block/div/div.js.map +7 -0
- package/dist/block/dl/dl.js +465 -0
- package/dist/block/dl/dl.js.map +7 -0
- package/dist/block/dt/dt.js +422 -0
- package/dist/block/dt/dt.js.map +7 -0
- package/dist/block/embed/embed.js +333 -0
- package/dist/block/embed/embed.js.map +7 -0
- package/dist/block/fieldset/fieldset.js +509 -0
- package/dist/block/fieldset/fieldset.js.map +7 -0
- package/dist/block/figcaption/figcaption.js +465 -0
- package/dist/block/figcaption/figcaption.js.map +7 -0
- package/dist/block/figure/figure.js +465 -0
- package/dist/block/figure/figure.js.map +7 -0
- package/dist/block/footer/footer.js +476 -0
- package/dist/block/footer/footer.js.map +7 -0
- package/dist/block/form/form.js +443 -0
- package/dist/block/form/form.js.map +7 -0
- package/dist/block/h1/h1.js +454 -0
- package/dist/block/h1/h1.js.map +7 -0
- package/dist/block/h2/h2.js +454 -0
- package/dist/block/h2/h2.js.map +7 -0
- package/dist/block/h3/h3.js +454 -0
- package/dist/block/h3/h3.js.map +7 -0
- package/dist/block/h4/h4.js +454 -0
- package/dist/block/h4/h4.js.map +7 -0
- package/dist/block/h5/h5.js +454 -0
- package/dist/block/h5/h5.js.map +7 -0
- package/dist/block/h6/h6.js +454 -0
- package/dist/block/h6/h6.js.map +7 -0
- package/dist/block/header/header.js +322 -0
- package/dist/block/header/header.js.map +7 -0
- package/dist/block/hgroup/hgroup.js +465 -0
- package/dist/block/hgroup/hgroup.js.map +7 -0
- package/dist/block/hr/hr.js +169 -0
- package/dist/block/hr/hr.js.map +7 -0
- package/dist/block/html/html.js +92 -0
- package/dist/block/html/html.js.map +7 -0
- package/dist/block/iframe/iframe.js +465 -0
- package/dist/block/iframe/iframe.js.map +7 -0
- package/dist/block/ins/ins.js +487 -0
- package/dist/block/ins/ins.js.map +7 -0
- package/dist/block/legend/legend.js +465 -0
- package/dist/block/legend/legend.js.map +7 -0
- package/dist/block/li/li.js +488 -0
- package/dist/block/li/li.js.map +7 -0
- package/dist/block/main/main.js +444 -0
- package/dist/block/main/main.js.map +7 -0
- package/dist/block/map/map.js +476 -0
- package/dist/block/map/map.js.map +7 -0
- package/dist/block/menu/menu.js +498 -0
- package/dist/block/menu/menu.js.map +7 -0
- package/dist/block/nav/nav.js +455 -0
- package/dist/block/nav/nav.js.map +7 -0
- package/dist/block/noscript/noscript.js +311 -0
- package/dist/block/noscript/noscript.js.map +7 -0
- package/dist/block/object/object.js +542 -0
- package/dist/block/object/object.js.map +7 -0
- package/dist/block/ol/ol.js +542 -0
- package/dist/block/ol/ol.js.map +7 -0
- package/dist/block/optgroup/optgroup.js +476 -0
- package/dist/block/optgroup/optgroup.js.map +7 -0
- package/dist/block/option/option.js +542 -0
- package/dist/block/option/option.js.map +7 -0
- package/dist/block/p/p.js +465 -0
- package/dist/block/p/p.js.map +7 -0
- package/dist/block/picture/picture.js +465 -0
- package/dist/block/picture/picture.js.map +7 -0
- package/dist/block/pre/pre.js +465 -0
- package/dist/block/pre/pre.js.map +7 -0
- package/dist/block/section/section.js +487 -0
- package/dist/block/section/section.js.map +7 -0
- package/dist/block/summary/summary.js +466 -0
- package/dist/block/summary/summary.js.map +7 -0
- package/dist/block/table/table.js +509 -0
- package/dist/block/table/table.js.map +7 -0
- package/dist/block/tbody/tbody.js +465 -0
- package/dist/block/tbody/tbody.js.map +7 -0
- package/dist/block/td/td.js +575 -0
- package/dist/block/td/td.js.map +7 -0
- package/dist/block/template/template.js +465 -0
- package/dist/block/template/template.js.map +7 -0
- package/dist/block/tfoot/tfoot.js +465 -0
- package/dist/block/tfoot/tfoot.js.map +7 -0
- package/dist/block/th/th.js +586 -0
- package/dist/block/th/th.js.map +7 -0
- package/dist/block/thead/thead.js +465 -0
- package/dist/block/thead/thead.js.map +7 -0
- package/dist/block/tr/tr.js +586 -0
- package/dist/block/tr/tr.js.map +7 -0
- package/dist/block/ul/ul.js +509 -0
- package/dist/block/ul/ul.js.map +7 -0
- package/dist/block/video/video.js +575 -0
- package/dist/block/video/video.js.map +7 -0
- package/dist/index.js +48830 -0
- package/dist/index.js.map +7 -0
- package/dist/inline/a/a.js +586 -0
- package/dist/inline/a/a.js.map +7 -0
- package/dist/inline/abbr/abbr.js +454 -0
- package/dist/inline/abbr/abbr.js.map +7 -0
- package/dist/inline/address/address.js +443 -0
- package/dist/inline/address/address.js.map +7 -0
- package/dist/inline/b/b.js +465 -0
- package/dist/inline/b/b.js.map +7 -0
- package/dist/inline/bdi/bdi.js +454 -0
- package/dist/inline/bdi/bdi.js.map +7 -0
- package/dist/inline/bdo/bdo.js +465 -0
- package/dist/inline/bdo/bdo.js.map +7 -0
- package/dist/inline/button/button.js +685 -0
- package/dist/inline/button/button.js.map +7 -0
- package/dist/inline/cite/cite.js +465 -0
- package/dist/inline/cite/cite.js.map +7 -0
- package/dist/inline/code/code.js +465 -0
- package/dist/inline/code/code.js.map +7 -0
- package/dist/inline/data/data.js +476 -0
- package/dist/inline/data/data.js.map +7 -0
- package/dist/inline/dfn/dfn.js +465 -0
- package/dist/inline/dfn/dfn.js.map +7 -0
- package/dist/inline/em/em.js +465 -0
- package/dist/inline/em/em.js.map +7 -0
- package/dist/inline/i/i.js +465 -0
- package/dist/inline/i/i.js.map +7 -0
- package/dist/inline/img/img.js +399 -0
- package/dist/inline/img/img.js.map +7 -0
- package/dist/inline/input/input.js +938 -0
- package/dist/inline/input/input.js.map +7 -0
- package/dist/inline/kbd/kbd.js +465 -0
- package/dist/inline/kbd/kbd.js.map +7 -0
- package/dist/inline/label/label.js +487 -0
- package/dist/inline/label/label.js.map +7 -0
- package/dist/inline/mark/mark.js +465 -0
- package/dist/inline/mark/mark.js.map +7 -0
- package/dist/inline/meter/meter.js +498 -0
- package/dist/inline/meter/meter.js.map +7 -0
- package/dist/inline/output/output.js +410 -0
- package/dist/inline/output/output.js.map +7 -0
- package/dist/inline/progress/progress.js +454 -0
- package/dist/inline/progress/progress.js.map +7 -0
- package/dist/inline/q/q.js +476 -0
- package/dist/inline/q/q.js.map +7 -0
- package/dist/inline/rp/rp.js +465 -0
- package/dist/inline/rp/rp.js.map +7 -0
- package/dist/inline/rt/rt.js +465 -0
- package/dist/inline/rt/rt.js.map +7 -0
- package/dist/inline/ruby/ruby.js +465 -0
- package/dist/inline/ruby/ruby.js.map +7 -0
- package/dist/inline/s/s.js +465 -0
- package/dist/inline/s/s.js.map +7 -0
- package/dist/inline/samp/samp.js +465 -0
- package/dist/inline/samp/samp.js.map +7 -0
- package/dist/inline/select/select.js +674 -0
- package/dist/inline/select/select.js.map +7 -0
- package/dist/inline/slot/slot.js +476 -0
- package/dist/inline/slot/slot.js.map +7 -0
- package/dist/inline/small/small.js +465 -0
- package/dist/inline/small/small.js.map +7 -0
- package/dist/inline/span/span.js +465 -0
- package/dist/inline/span/span.js.map +7 -0
- package/dist/inline/strong/strong.js +465 -0
- package/dist/inline/strong/strong.js.map +7 -0
- package/dist/inline/sub/sub.js +465 -0
- package/dist/inline/sub/sub.js.map +7 -0
- package/dist/inline/sup/sup.js +465 -0
- package/dist/inline/sup/sup.js.map +7 -0
- package/dist/inline/svg/svg.js +542 -0
- package/dist/inline/svg/svg.js.map +7 -0
- package/dist/inline/textarea/textarea.js +718 -0
- package/dist/inline/textarea/textarea.js.map +7 -0
- package/dist/inline/time/time.js +476 -0
- package/dist/inline/time/time.js.map +7 -0
- package/dist/inline/u/u.js +465 -0
- package/dist/inline/u/u.js.map +7 -0
- package/dist/inline/var/var.js +465 -0
- package/dist/inline/var/var.js.map +7 -0
- package/dist/void/area/area.js +388 -0
- package/dist/void/area/area.js.map +7 -0
- package/dist/void/base/base.js +37 -0
- package/dist/void/base/base.js.map +7 -0
- package/dist/void/br/br.js +135 -0
- package/dist/void/br/br.js.map +7 -0
- package/dist/void/col/col.js +135 -0
- package/dist/void/col/col.js.map +7 -0
- package/dist/void/head/head.js +37 -0
- package/dist/void/head/head.js.map +7 -0
- package/dist/void/link/link.js +213 -0
- package/dist/void/link/link.js.map +7 -0
- package/dist/void/meta/meta.js +147 -0
- package/dist/void/meta/meta.js.map +7 -0
- package/dist/void/param/param.js +146 -0
- package/dist/void/param/param.js.map +7 -0
- package/dist/void/script/script.js +213 -0
- package/dist/void/script/script.js.map +7 -0
- package/dist/void/source/source.js +168 -0
- package/dist/void/source/source.js.map +7 -0
- package/dist/void/style/style.js +147 -0
- package/dist/void/style/style.js.map +7 -0
- package/dist/void/title/title.js +37 -0
- package/dist/void/title/title.js.map +7 -0
- package/dist/void/track/track.js +190 -0
- package/dist/void/track/track.js.map +7 -0
- package/dist/void/wbr/wbr.js +124 -0
- package/dist/void/wbr/wbr.js.map +7 -0
- package/package.json +4 -4
- package/src/block/article/article.ts +649 -0
- package/{block → src/block}/aside/aside.ts +144 -1
- package/{block → src/block}/audio/audio.ts +128 -1
- package/src/block/blockquote/blockquote.ts +665 -0
- package/{block → src/block}/body/body.ts +91 -1
- package/{block → src/block}/canvas/canvas.ts +144 -1
- package/src/block/caption/caption.ts +649 -0
- package/{block → src/block}/colgroup/colgroup.ts +96 -1
- package/src/block/datalist/datalist.ts +649 -0
- package/{block/dialog/dialog.ts → src/block/dd/dd.ts} +114 -88
- package/{block → src/block}/del/del.ts +144 -1
- package/src/block/details/details.ts +729 -0
- package/src/block/dialog/dialog.ts +729 -0
- package/src/block/div/div.ts +729 -0
- package/src/block/dl/dl.ts +649 -0
- package/{block/details/details.ts → src/block/dt/dt.ts} +114 -88
- package/{block → src/block}/embed/embed.ts +144 -1
- package/{block → src/block}/fieldset/fieldset.ts +144 -1
- package/src/block/figcaption/figcaption.ts +649 -0
- package/src/block/figure/figure.ts +649 -0
- package/src/block/footer/footer.ts +665 -0
- package/{block → src/block}/form/form.ts +132 -5
- package/src/block/h1/h1.ts +633 -0
- package/src/block/h2/h2.ts +633 -0
- package/src/block/h3/h3.ts +633 -0
- package/src/block/h4/h4.ts +633 -0
- package/src/block/h5/h5.ts +633 -0
- package/src/block/h6/h6.ts +633 -0
- package/{block → src/block}/header/header.ts +144 -1
- package/src/block/hgroup/hgroup.ts +649 -0
- package/{block → src/block}/hr/hr.ts +59 -1
- package/{block → src/block}/html/html.ts +27 -1
- package/{block → src/block}/iframe/iframe.ts +112 -1
- package/{block → src/block}/ins/ins.ts +144 -1
- package/src/block/legend/legend.ts +649 -0
- package/{block → src/block}/li/li.ts +107 -1
- package/{block/div/div.ts → src/block/main/main.ts} +112 -54
- package/src/block/map/map.ts +665 -0
- package/{block → src/block}/menu/menu.ts +144 -1
- package/{block → src/block}/nav/nav.ts +107 -1
- package/{block → src/block}/noscript/noscript.ts +144 -1
- package/{block → src/block}/object/object.ts +144 -1
- package/{block → src/block}/ol/ol.ts +144 -1
- package/{block → src/block}/optgroup/optgroup.ts +144 -1
- package/{block → src/block}/option/option.ts +144 -1
- package/src/block/p/p.ts +649 -0
- package/src/block/picture/picture.ts +649 -0
- package/src/block/pre/pre.ts +649 -0
- package/{block → src/block}/section/section.ts +144 -1
- package/{block → src/block}/summary/summary.ts +107 -1
- package/{block → src/block}/table/table.ts +144 -1
- package/src/block/tbody/tbody.ts +649 -0
- package/{block → src/block}/td/td.ts +144 -1
- package/src/block/template/template.ts +649 -0
- package/src/block/tfoot/tfoot.ts +649 -0
- package/{block → src/block}/th/th.ts +144 -1
- package/src/block/thead/thead.ts +649 -0
- package/{block → src/block}/tr/tr.ts +144 -1
- package/{block → src/block}/ul/ul.ts +144 -1
- package/{block → src/block}/video/video.ts +144 -1
- package/{inline → src/inline}/a/a.ts +144 -1
- package/src/inline/abbr/abbr.ts +633 -0
- package/src/inline/address/address.ts +617 -0
- package/src/inline/b/b.ts +649 -0
- package/src/inline/bdi/bdi.ts +633 -0
- package/src/inline/bdo/bdo.ts +649 -0
- package/{inline → src/inline}/button/button.ts +145 -2
- package/src/inline/cite/cite.ts +649 -0
- package/src/inline/code/code.ts +649 -0
- package/src/inline/data/data.ts +665 -0
- package/src/inline/dfn/dfn.ts +649 -0
- package/src/inline/em/em.ts +649 -0
- package/src/inline/i/i.ts +649 -0
- package/{inline → src/inline}/img/img.ts +112 -1
- package/{inline → src/inline}/input/input.ts +145 -2
- package/src/inline/kbd/kbd.ts +649 -0
- package/{inline → src/inline}/label/label.ts +144 -1
- package/src/inline/mark/mark.ts +649 -0
- package/{inline → src/inline}/meter/meter.ts +144 -1
- package/{inline → src/inline}/output/output.ts +144 -1
- package/{inline → src/inline}/progress/progress.ts +144 -1
- package/src/inline/q/q.ts +665 -0
- package/src/inline/rp/rp.ts +649 -0
- package/src/inline/rt/rt.ts +649 -0
- package/src/inline/ruby/ruby.ts +649 -0
- package/src/inline/s/s.ts +649 -0
- package/src/inline/samp/samp.ts +649 -0
- package/{inline → src/inline}/select/select.ts +144 -1
- package/src/inline/slot/slot.ts +665 -0
- package/src/inline/small/small.ts +649 -0
- package/src/inline/span/span.ts +649 -0
- package/src/inline/strong/strong.ts +649 -0
- package/src/inline/sub/sub.ts +649 -0
- package/src/inline/sup/sup.ts +649 -0
- package/{inline → src/inline}/svg/svg.ts +144 -1
- package/{inline → src/inline}/textarea/textarea.ts +144 -1
- package/src/inline/time/time.ts +665 -0
- package/src/inline/u/u.ts +649 -0
- package/src/inline/var/var.ts +649 -0
- package/{void → src/void}/area/area.ts +144 -1
- package/{void → src/void}/base/base.ts +1 -1
- package/src/void/br/br.ts +172 -0
- package/src/void/col/col.ts +172 -0
- package/{void → src/void}/head/head.ts +1 -1
- package/{void → src/void}/link/link.ts +59 -1
- package/{void → src/void}/meta/meta.ts +59 -1
- package/src/void/param/param.ts +188 -0
- package/{void → src/void}/script/script.ts +59 -1
- package/src/void/source/source.ts +220 -0
- package/{void → src/void}/style/style.ts +59 -1
- package/{void → src/void}/title/title.ts +1 -1
- package/{void → src/void}/track/track.ts +96 -1
- package/src/void/wbr/wbr.ts +156 -0
- package/block/article/article.ts +0 -506
- package/block/blockquote/blockquote.ts +0 -522
- package/block/caption/caption.ts +0 -506
- package/block/datalist/datalist.ts +0 -506
- package/block/dd/dd.ts +0 -506
- package/block/dl/dl.ts +0 -506
- package/block/dt/dt.ts +0 -506
- package/block/figcaption/figcaption.ts +0 -506
- package/block/figure/figure.ts +0 -506
- package/block/footer/footer.ts +0 -522
- package/block/h1/h1.ts +0 -490
- package/block/h2/h2.ts +0 -490
- package/block/h3/h3.ts +0 -490
- package/block/h4/h4.ts +0 -490
- package/block/h5/h5.ts +0 -490
- package/block/h6/h6.ts +0 -490
- package/block/hgroup/hgroup.ts +0 -506
- package/block/legend/legend.ts +0 -506
- package/block/main/main.ts +0 -538
- package/block/map/map.ts +0 -522
- package/block/p/p.ts +0 -506
- package/block/picture/picture.ts +0 -506
- package/block/pre/pre.ts +0 -506
- package/block/tbody/tbody.ts +0 -506
- package/block/template/template.ts +0 -506
- package/block/tfoot/tfoot.ts +0 -506
- package/block/thead/thead.ts +0 -506
- package/inline/abbr/abbr.ts +0 -490
- package/inline/address/address.ts +0 -474
- package/inline/b/b.ts +0 -506
- package/inline/bdi/bdi.ts +0 -490
- package/inline/bdo/bdo.ts +0 -506
- package/inline/cite/cite.ts +0 -506
- package/inline/code/code.ts +0 -506
- package/inline/data/data.ts +0 -522
- package/inline/dfn/dfn.ts +0 -506
- package/inline/em/em.ts +0 -506
- package/inline/i/i.ts +0 -506
- package/inline/kbd/kbd.ts +0 -506
- package/inline/mark/mark.ts +0 -506
- package/inline/q/q.ts +0 -522
- package/inline/rp/rp.ts +0 -506
- package/inline/rt/rt.ts +0 -506
- package/inline/ruby/ruby.ts +0 -506
- package/inline/s/s.ts +0 -506
- package/inline/samp/samp.ts +0 -506
- package/inline/slot/slot.ts +0 -522
- package/inline/small/small.ts +0 -506
- package/inline/span/span.ts +0 -506
- package/inline/strong/strong.ts +0 -506
- package/inline/sub/sub.ts +0 -506
- package/inline/sup/sup.ts +0 -506
- package/inline/time/time.ts +0 -522
- package/inline/u/u.ts +0 -506
- package/inline/var/var.ts +0 -506
- package/void/br/br.ts +0 -77
- package/void/col/col.ts +0 -77
- package/void/param/param.ts +0 -93
- package/void/source/source.ts +0 -125
- package/void/wbr/wbr.ts +0 -61
- /package/{index.ts → src/index.ts} +0 -0
- /package/{tsconfig.json → src/tsconfig.json} +0 -0
|
@@ -0,0 +1,378 @@
|
|
|
1
|
+
// src/block/body/body.ts
|
|
2
|
+
var Body = class {
|
|
3
|
+
constructor(props = {}) {
|
|
4
|
+
this.element = document.createElement("body");
|
|
5
|
+
this.applyProps(props);
|
|
6
|
+
}
|
|
7
|
+
applyProps(props) {
|
|
8
|
+
if (props.children !== void 0) {
|
|
9
|
+
this.setChildren(props.children);
|
|
10
|
+
}
|
|
11
|
+
if (props.accessKey !== void 0) {
|
|
12
|
+
this.element.setAttribute("accessKey", String(props.accessKey));
|
|
13
|
+
}
|
|
14
|
+
if (props.accesskey !== void 0) {
|
|
15
|
+
this.element.setAttribute("accesskey", String(props.accesskey));
|
|
16
|
+
}
|
|
17
|
+
if (props.className !== void 0) {
|
|
18
|
+
this.element.setAttribute("className", String(props.className));
|
|
19
|
+
}
|
|
20
|
+
if (props["data-attributes"] !== void 0) {
|
|
21
|
+
const __map = props["data-attributes"];
|
|
22
|
+
if (__map !== null && __map !== void 0) {
|
|
23
|
+
for (const __k in __map) {
|
|
24
|
+
this.element.setAttribute(`data-${__k}`, String(__map[__k]));
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
if (props.dir !== void 0) {
|
|
29
|
+
this.setDir(props.dir);
|
|
30
|
+
}
|
|
31
|
+
if (props.draggable !== void 0) {
|
|
32
|
+
this.element.setAttribute("draggable", String(props.draggable));
|
|
33
|
+
}
|
|
34
|
+
if (props.hidden !== void 0) {
|
|
35
|
+
this.element.setAttribute("hidden", String(props.hidden));
|
|
36
|
+
}
|
|
37
|
+
if (props.id !== void 0) {
|
|
38
|
+
this.element.setAttribute("id", String(props.id));
|
|
39
|
+
}
|
|
40
|
+
if (props.lang !== void 0) {
|
|
41
|
+
this.element.setAttribute("lang", String(props.lang));
|
|
42
|
+
}
|
|
43
|
+
if (props.onafterprint !== void 0) {
|
|
44
|
+
this.element.setAttribute("onafterprint", String(props.onafterprint));
|
|
45
|
+
}
|
|
46
|
+
if (props.onbeforeprint !== void 0) {
|
|
47
|
+
this.element.setAttribute("onbeforeprint", String(props.onbeforeprint));
|
|
48
|
+
}
|
|
49
|
+
if (props.onbeforeunload !== void 0) {
|
|
50
|
+
this.element.setAttribute("onbeforeunload", String(props.onbeforeunload));
|
|
51
|
+
}
|
|
52
|
+
if (props.onhashchange !== void 0) {
|
|
53
|
+
this.element.setAttribute("onhashchange", String(props.onhashchange));
|
|
54
|
+
}
|
|
55
|
+
if (props.onlanguagechange !== void 0) {
|
|
56
|
+
this.element.setAttribute("onlanguagechange", String(props.onlanguagechange));
|
|
57
|
+
}
|
|
58
|
+
if (props.onmessage !== void 0) {
|
|
59
|
+
this.element.setAttribute("onmessage", String(props.onmessage));
|
|
60
|
+
}
|
|
61
|
+
if (props.onmessageerror !== void 0) {
|
|
62
|
+
this.element.setAttribute("onmessageerror", String(props.onmessageerror));
|
|
63
|
+
}
|
|
64
|
+
if (props.onoffline !== void 0) {
|
|
65
|
+
this.element.setAttribute("onoffline", String(props.onoffline));
|
|
66
|
+
}
|
|
67
|
+
if (props.ononline !== void 0) {
|
|
68
|
+
this.element.setAttribute("ononline", String(props.ononline));
|
|
69
|
+
}
|
|
70
|
+
if (props.onpagehide !== void 0) {
|
|
71
|
+
this.element.setAttribute("onpagehide", String(props.onpagehide));
|
|
72
|
+
}
|
|
73
|
+
if (props.onpageshow !== void 0) {
|
|
74
|
+
this.element.setAttribute("onpageshow", String(props.onpageshow));
|
|
75
|
+
}
|
|
76
|
+
if (props.onpopstate !== void 0) {
|
|
77
|
+
this.element.setAttribute("onpopstate", String(props.onpopstate));
|
|
78
|
+
}
|
|
79
|
+
if (props.onrejectionhandled !== void 0) {
|
|
80
|
+
this.element.setAttribute("onrejectionhandled", String(props.onrejectionhandled));
|
|
81
|
+
}
|
|
82
|
+
if (props.onstorage !== void 0) {
|
|
83
|
+
this.element.setAttribute("onstorage", String(props.onstorage));
|
|
84
|
+
}
|
|
85
|
+
if (props.onunhandledrejection !== void 0) {
|
|
86
|
+
this.element.setAttribute("onunhandledrejection", String(props.onunhandledrejection));
|
|
87
|
+
}
|
|
88
|
+
if (props.onunload !== void 0) {
|
|
89
|
+
this.element.setAttribute("onunload", String(props.onunload));
|
|
90
|
+
}
|
|
91
|
+
if (props.style !== void 0) {
|
|
92
|
+
this.element.setAttribute("style", String(props.style));
|
|
93
|
+
}
|
|
94
|
+
if (props.tabIndex !== void 0) {
|
|
95
|
+
this.element.setAttribute("tabIndex", String(props.tabIndex));
|
|
96
|
+
}
|
|
97
|
+
if (props.tabindex !== void 0) {
|
|
98
|
+
this.element.setAttribute("tabindex", String(props.tabindex));
|
|
99
|
+
}
|
|
100
|
+
if (props.title !== void 0) {
|
|
101
|
+
this.element.setAttribute("title", String(props.title));
|
|
102
|
+
}
|
|
103
|
+
if (props.translate !== void 0) {
|
|
104
|
+
this.setTranslate(props.translate);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
setAccessKey(value) {
|
|
108
|
+
if (value === null || value === void 0) {
|
|
109
|
+
this.element.removeAttribute("accessKey");
|
|
110
|
+
} else {
|
|
111
|
+
this.element.setAttribute("accessKey", String(value));
|
|
112
|
+
}
|
|
113
|
+
return this;
|
|
114
|
+
}
|
|
115
|
+
setAccesskey(value) {
|
|
116
|
+
if (value === null || value === void 0) {
|
|
117
|
+
this.element.removeAttribute("accesskey");
|
|
118
|
+
} else {
|
|
119
|
+
this.element.setAttribute("accesskey", String(value));
|
|
120
|
+
}
|
|
121
|
+
return this;
|
|
122
|
+
}
|
|
123
|
+
setClassName(value) {
|
|
124
|
+
if (value === null || value === void 0) {
|
|
125
|
+
this.element.removeAttribute("className");
|
|
126
|
+
} else {
|
|
127
|
+
this.element.setAttribute("className", String(value));
|
|
128
|
+
}
|
|
129
|
+
return this;
|
|
130
|
+
}
|
|
131
|
+
setDataAttributes(value) {
|
|
132
|
+
if (value === null || value === void 0) {
|
|
133
|
+
for (const __a of Array.from(this.element.attributes)) {
|
|
134
|
+
if (__a.name.startsWith("data-")) {
|
|
135
|
+
this.element.removeAttribute(__a.name);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
} else {
|
|
139
|
+
for (const __k in value) {
|
|
140
|
+
this.element.setAttribute(`data-${__k}`, String(value[__k]));
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
return this;
|
|
144
|
+
}
|
|
145
|
+
setDir(value) {
|
|
146
|
+
if (value === null || value === void 0) {
|
|
147
|
+
this.element.removeAttribute("dir");
|
|
148
|
+
} else {
|
|
149
|
+
this.element.setAttribute("dir", String(value));
|
|
150
|
+
}
|
|
151
|
+
return this;
|
|
152
|
+
}
|
|
153
|
+
setDraggable(value) {
|
|
154
|
+
if (value === true) {
|
|
155
|
+
this.element.setAttribute("draggable", "");
|
|
156
|
+
} else {
|
|
157
|
+
this.element.removeAttribute("draggable");
|
|
158
|
+
}
|
|
159
|
+
return this;
|
|
160
|
+
}
|
|
161
|
+
setHidden(value) {
|
|
162
|
+
if (value === true) {
|
|
163
|
+
this.element.setAttribute("hidden", "");
|
|
164
|
+
} else {
|
|
165
|
+
this.element.removeAttribute("hidden");
|
|
166
|
+
}
|
|
167
|
+
return this;
|
|
168
|
+
}
|
|
169
|
+
setId(value) {
|
|
170
|
+
if (value === null || value === void 0) {
|
|
171
|
+
this.element.removeAttribute("id");
|
|
172
|
+
} else {
|
|
173
|
+
this.element.setAttribute("id", String(value));
|
|
174
|
+
}
|
|
175
|
+
return this;
|
|
176
|
+
}
|
|
177
|
+
setLang(value) {
|
|
178
|
+
if (value === null || value === void 0) {
|
|
179
|
+
this.element.removeAttribute("lang");
|
|
180
|
+
} else {
|
|
181
|
+
this.element.setAttribute("lang", String(value));
|
|
182
|
+
}
|
|
183
|
+
return this;
|
|
184
|
+
}
|
|
185
|
+
setOnafterprint(value) {
|
|
186
|
+
if (value === null || value === void 0) {
|
|
187
|
+
this.element.removeAttribute("onafterprint");
|
|
188
|
+
} else {
|
|
189
|
+
this.element.setAttribute("onafterprint", String(value));
|
|
190
|
+
}
|
|
191
|
+
return this;
|
|
192
|
+
}
|
|
193
|
+
setOnbeforeprint(value) {
|
|
194
|
+
if (value === null || value === void 0) {
|
|
195
|
+
this.element.removeAttribute("onbeforeprint");
|
|
196
|
+
} else {
|
|
197
|
+
this.element.setAttribute("onbeforeprint", String(value));
|
|
198
|
+
}
|
|
199
|
+
return this;
|
|
200
|
+
}
|
|
201
|
+
setOnbeforeunload(value) {
|
|
202
|
+
if (value === null || value === void 0) {
|
|
203
|
+
this.element.removeAttribute("onbeforeunload");
|
|
204
|
+
} else {
|
|
205
|
+
this.element.setAttribute("onbeforeunload", String(value));
|
|
206
|
+
}
|
|
207
|
+
return this;
|
|
208
|
+
}
|
|
209
|
+
setOnhashchange(value) {
|
|
210
|
+
if (value === null || value === void 0) {
|
|
211
|
+
this.element.removeAttribute("onhashchange");
|
|
212
|
+
} else {
|
|
213
|
+
this.element.setAttribute("onhashchange", String(value));
|
|
214
|
+
}
|
|
215
|
+
return this;
|
|
216
|
+
}
|
|
217
|
+
setOnlanguagechange(value) {
|
|
218
|
+
if (value === null || value === void 0) {
|
|
219
|
+
this.element.removeAttribute("onlanguagechange");
|
|
220
|
+
} else {
|
|
221
|
+
this.element.setAttribute("onlanguagechange", String(value));
|
|
222
|
+
}
|
|
223
|
+
return this;
|
|
224
|
+
}
|
|
225
|
+
setOnmessage(value) {
|
|
226
|
+
if (value === null || value === void 0) {
|
|
227
|
+
this.element.removeAttribute("onmessage");
|
|
228
|
+
} else {
|
|
229
|
+
this.element.setAttribute("onmessage", String(value));
|
|
230
|
+
}
|
|
231
|
+
return this;
|
|
232
|
+
}
|
|
233
|
+
setOnmessageerror(value) {
|
|
234
|
+
if (value === null || value === void 0) {
|
|
235
|
+
this.element.removeAttribute("onmessageerror");
|
|
236
|
+
} else {
|
|
237
|
+
this.element.setAttribute("onmessageerror", String(value));
|
|
238
|
+
}
|
|
239
|
+
return this;
|
|
240
|
+
}
|
|
241
|
+
setOnoffline(value) {
|
|
242
|
+
if (value === null || value === void 0) {
|
|
243
|
+
this.element.removeAttribute("onoffline");
|
|
244
|
+
} else {
|
|
245
|
+
this.element.setAttribute("onoffline", String(value));
|
|
246
|
+
}
|
|
247
|
+
return this;
|
|
248
|
+
}
|
|
249
|
+
setOnonline(value) {
|
|
250
|
+
if (value === null || value === void 0) {
|
|
251
|
+
this.element.removeAttribute("ononline");
|
|
252
|
+
} else {
|
|
253
|
+
this.element.setAttribute("ononline", String(value));
|
|
254
|
+
}
|
|
255
|
+
return this;
|
|
256
|
+
}
|
|
257
|
+
setOnpagehide(value) {
|
|
258
|
+
if (value === null || value === void 0) {
|
|
259
|
+
this.element.removeAttribute("onpagehide");
|
|
260
|
+
} else {
|
|
261
|
+
this.element.setAttribute("onpagehide", String(value));
|
|
262
|
+
}
|
|
263
|
+
return this;
|
|
264
|
+
}
|
|
265
|
+
setOnpageshow(value) {
|
|
266
|
+
if (value === null || value === void 0) {
|
|
267
|
+
this.element.removeAttribute("onpageshow");
|
|
268
|
+
} else {
|
|
269
|
+
this.element.setAttribute("onpageshow", String(value));
|
|
270
|
+
}
|
|
271
|
+
return this;
|
|
272
|
+
}
|
|
273
|
+
setOnpopstate(value) {
|
|
274
|
+
if (value === null || value === void 0) {
|
|
275
|
+
this.element.removeAttribute("onpopstate");
|
|
276
|
+
} else {
|
|
277
|
+
this.element.setAttribute("onpopstate", String(value));
|
|
278
|
+
}
|
|
279
|
+
return this;
|
|
280
|
+
}
|
|
281
|
+
setOnrejectionhandled(value) {
|
|
282
|
+
if (value === null || value === void 0) {
|
|
283
|
+
this.element.removeAttribute("onrejectionhandled");
|
|
284
|
+
} else {
|
|
285
|
+
this.element.setAttribute("onrejectionhandled", String(value));
|
|
286
|
+
}
|
|
287
|
+
return this;
|
|
288
|
+
}
|
|
289
|
+
setOnstorage(value) {
|
|
290
|
+
if (value === null || value === void 0) {
|
|
291
|
+
this.element.removeAttribute("onstorage");
|
|
292
|
+
} else {
|
|
293
|
+
this.element.setAttribute("onstorage", String(value));
|
|
294
|
+
}
|
|
295
|
+
return this;
|
|
296
|
+
}
|
|
297
|
+
setOnunhandledrejection(value) {
|
|
298
|
+
if (value === null || value === void 0) {
|
|
299
|
+
this.element.removeAttribute("onunhandledrejection");
|
|
300
|
+
} else {
|
|
301
|
+
this.element.setAttribute("onunhandledrejection", String(value));
|
|
302
|
+
}
|
|
303
|
+
return this;
|
|
304
|
+
}
|
|
305
|
+
setOnunload(value) {
|
|
306
|
+
if (value === null || value === void 0) {
|
|
307
|
+
this.element.removeAttribute("onunload");
|
|
308
|
+
} else {
|
|
309
|
+
this.element.setAttribute("onunload", String(value));
|
|
310
|
+
}
|
|
311
|
+
return this;
|
|
312
|
+
}
|
|
313
|
+
setStyle(value) {
|
|
314
|
+
if (value === null || value === void 0) {
|
|
315
|
+
this.element.removeAttribute("style");
|
|
316
|
+
} else {
|
|
317
|
+
this.element.setAttribute("style", String(value));
|
|
318
|
+
}
|
|
319
|
+
return this;
|
|
320
|
+
}
|
|
321
|
+
setTabIndex(value) {
|
|
322
|
+
if (value === null || value === void 0) {
|
|
323
|
+
this.element.removeAttribute("tabIndex");
|
|
324
|
+
} else {
|
|
325
|
+
this.element.setAttribute("tabIndex", String(value));
|
|
326
|
+
}
|
|
327
|
+
return this;
|
|
328
|
+
}
|
|
329
|
+
setTabindex(value) {
|
|
330
|
+
if (value === null || value === void 0) {
|
|
331
|
+
this.element.removeAttribute("tabindex");
|
|
332
|
+
} else {
|
|
333
|
+
this.element.setAttribute("tabindex", String(value));
|
|
334
|
+
}
|
|
335
|
+
return this;
|
|
336
|
+
}
|
|
337
|
+
setTitle(value) {
|
|
338
|
+
if (value === null || value === void 0) {
|
|
339
|
+
this.element.removeAttribute("title");
|
|
340
|
+
} else {
|
|
341
|
+
this.element.setAttribute("title", String(value));
|
|
342
|
+
}
|
|
343
|
+
return this;
|
|
344
|
+
}
|
|
345
|
+
setTranslate(value) {
|
|
346
|
+
if (value === null || value === void 0) {
|
|
347
|
+
this.element.removeAttribute("translate");
|
|
348
|
+
} else {
|
|
349
|
+
this.element.setAttribute("translate", String(value));
|
|
350
|
+
}
|
|
351
|
+
return this;
|
|
352
|
+
}
|
|
353
|
+
setChildren(children) {
|
|
354
|
+
while (this.element.firstChild) {
|
|
355
|
+
this.element.removeChild(this.element.firstChild);
|
|
356
|
+
}
|
|
357
|
+
if (typeof children === "string") {
|
|
358
|
+
this.element.textContent = children;
|
|
359
|
+
} else if (Array.isArray(children)) {
|
|
360
|
+
children.forEach((child) => {
|
|
361
|
+
if (typeof child === "string") {
|
|
362
|
+
this.element.appendChild(document.createTextNode(child));
|
|
363
|
+
} else {
|
|
364
|
+
this.element.appendChild(child);
|
|
365
|
+
}
|
|
366
|
+
});
|
|
367
|
+
} else {
|
|
368
|
+
this.element.appendChild(children);
|
|
369
|
+
}
|
|
370
|
+
return this;
|
|
371
|
+
}
|
|
372
|
+
getElement() {
|
|
373
|
+
return this.element;
|
|
374
|
+
}
|
|
375
|
+
};
|
|
376
|
+
export {
|
|
377
|
+
Body
|
|
378
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/block/body/body.ts"],
|
|
4
|
+
"sourcesContent": ["/**\n * THIS FILE IS AUTOGENERATED. DO NOT EDIT IT.\n *\n * @generated January 2, 2026 15:45:45\n * @component Body\n * @description \n */\n\nexport interface BodyProps {\n /**\n * Child content or elements\n */\n children?: string | HTMLElement | (string | HTMLElement)[];\n /**\n * Keyboard shortcut to activate or focus the element\n */\n accessKey?: string;\n /**\n * specifies a shortcut key (or keys) to activate or focus an element\n */\n accesskey?: string | null | undefined;\n /**\n * CSS class names\n */\n className?: string;\n /**\n * Mapping of data-* attributes to their values (e.g., {\"test\":\"value\"} -> data-test=\"value\")\n */\n 'data-attributes'?: Record<string, string> | null | undefined;\n /**\n * Represents the text direction of the element\n */\n dir?: 'ltr' | 'rtl' | 'auto' | null | undefined;\n /**\n * Indicates whether the element is draggable\n */\n draggable?: boolean | null | undefined;\n /**\n * Indicates whether the element is hidden\n */\n hidden?: boolean | null | undefined;\n /**\n * Unique identifier\n */\n id?: string;\n /**\n * Specifies the primary language for the element's content\n */\n lang?: string | null | undefined;\n /**\n * Fires after the associated document has started printing or the print preview has been closed.\n */\n onafterprint?: string | null | undefined;\n /**\n * Fires before the associated document is printed or previewed for printing.\n */\n onbeforeprint?: string | null | undefined;\n /**\n * Fires before the user navigates away from the page.\n */\n onbeforeunload?: string | null | undefined;\n /**\n * Fires when the fragment identifier part of the URL changes.\n */\n onhashchange?: string | null | undefined;\n /**\n * Fires when the user changes the preferred language of the user interface.\n */\n onlanguagechange?: string | null | undefined;\n /**\n * Fires when a message is received from a different browsing context (e.g., an iframe).\n */\n onmessage?: string | null | undefined;\n /**\n * Fires when an error occurs while receiving a message from a different browsing context.\n */\n onmessageerror?: string | null | undefined;\n /**\n * Fires when the browser goes offline.\n */\n onoffline?: string | null | undefined;\n /**\n * Fires when the browser goes online.\n */\n ononline?: string | null | undefined;\n /**\n * Fires when the user navigates away from a page.\n */\n onpagehide?: string | null | undefined;\n /**\n * Fires when the user navigates to a page.\n */\n onpageshow?: string | null | undefined;\n /**\n * Fires when the user navigates through the history by clicking the browser's Back or Forward buttons.\n */\n onpopstate?: string | null | undefined;\n /**\n * Fires when a Promise is rejected and the rejection is handled by a Promise handler (e.g., catch).\n */\n onrejectionhandled?: string | null | undefined;\n /**\n * Fires when a storage area (e.g., localStorage or sessionStorage) changes.\n */\n onstorage?: string | null | undefined;\n /**\n * Fires when a Promise is rejected but there is no rejection handler (e.g., catch).\n */\n onunhandledrejection?: string | null | undefined;\n /**\n * Fires when the user is navigating away from the page (similar to onbeforeunload).\n */\n onunload?: string | null | undefined;\n /**\n * Represents the CSS inline style of the element\n */\n style?: string | null | undefined;\n /**\n * Tab order position\n */\n tabIndex?: number;\n /**\n * Represents a tab order of the element\n */\n tabindex?: number | null | undefined;\n /**\n * Represents a title or tooltip for the element\n */\n title?: string | null | undefined;\n /**\n * used to tell user agents whether the content should be translated.\n */\n translate?: 'yes' | 'no' | null | undefined;\n}\n\n/**\n * Body - \n */\nexport class Body {\n private element: HTMLElement;\n\n constructor(props: BodyProps = {}) {\n this.element = document.createElement('body');\n this.applyProps(props);\n }\n\n private applyProps(props: BodyProps): void {\n if (props.children !== undefined) {\n this.setChildren(props.children);\n }\n if (props.accessKey !== undefined) {\n this.element.setAttribute('accessKey', String(props.accessKey));\n }\n if (props.accesskey !== undefined) {\n this.element.setAttribute('accesskey', String(props.accesskey));\n }\n if (props.className !== undefined) {\n this.element.setAttribute('className', String(props.className));\n }\n if (props['data-attributes'] !== undefined) {\n const __map = props['data-attributes'];\n if (__map !== null && __map !== undefined) {\n for (const __k in __map) {\n this.element.setAttribute(`data-${__k}`, String((__map as any)[__k]));\n }\n }\n }\n if (props.dir !== undefined) {\n this.setDir(props.dir);\n }\n if (props.draggable !== undefined) {\n this.element.setAttribute('draggable', String(props.draggable));\n }\n if (props.hidden !== undefined) {\n this.element.setAttribute('hidden', String(props.hidden));\n }\n if (props.id !== undefined) {\n this.element.setAttribute('id', String(props.id));\n }\n if (props.lang !== undefined) {\n this.element.setAttribute('lang', String(props.lang));\n }\n if (props.onafterprint !== undefined) {\n this.element.setAttribute('onafterprint', String(props.onafterprint));\n }\n if (props.onbeforeprint !== undefined) {\n this.element.setAttribute('onbeforeprint', String(props.onbeforeprint));\n }\n if (props.onbeforeunload !== undefined) {\n this.element.setAttribute('onbeforeunload', String(props.onbeforeunload));\n }\n if (props.onhashchange !== undefined) {\n this.element.setAttribute('onhashchange', String(props.onhashchange));\n }\n if (props.onlanguagechange !== undefined) {\n this.element.setAttribute('onlanguagechange', String(props.onlanguagechange));\n }\n if (props.onmessage !== undefined) {\n this.element.setAttribute('onmessage', String(props.onmessage));\n }\n if (props.onmessageerror !== undefined) {\n this.element.setAttribute('onmessageerror', String(props.onmessageerror));\n }\n if (props.onoffline !== undefined) {\n this.element.setAttribute('onoffline', String(props.onoffline));\n }\n if (props.ononline !== undefined) {\n this.element.setAttribute('ononline', String(props.ononline));\n }\n if (props.onpagehide !== undefined) {\n this.element.setAttribute('onpagehide', String(props.onpagehide));\n }\n if (props.onpageshow !== undefined) {\n this.element.setAttribute('onpageshow', String(props.onpageshow));\n }\n if (props.onpopstate !== undefined) {\n this.element.setAttribute('onpopstate', String(props.onpopstate));\n }\n if (props.onrejectionhandled !== undefined) {\n this.element.setAttribute('onrejectionhandled', String(props.onrejectionhandled));\n }\n if (props.onstorage !== undefined) {\n this.element.setAttribute('onstorage', String(props.onstorage));\n }\n if (props.onunhandledrejection !== undefined) {\n this.element.setAttribute('onunhandledrejection', String(props.onunhandledrejection));\n }\n if (props.onunload !== undefined) {\n this.element.setAttribute('onunload', String(props.onunload));\n }\n if (props.style !== undefined) {\n this.element.setAttribute('style', String(props.style));\n }\n if (props.tabIndex !== undefined) {\n this.element.setAttribute('tabIndex', String(props.tabIndex));\n }\n if (props.tabindex !== undefined) {\n this.element.setAttribute('tabindex', String(props.tabindex));\n }\n if (props.title !== undefined) {\n this.element.setAttribute('title', String(props.title));\n }\n if (props.translate !== undefined) {\n this.setTranslate(props.translate);\n }\n }\n\n setAccessKey(value: string): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('accessKey');\n } else {\n this.element.setAttribute('accessKey', String(value));\n }\n return this;\n }\n\n setAccesskey(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('accesskey');\n } else {\n this.element.setAttribute('accesskey', String(value));\n }\n return this;\n }\n\n setClassName(value: string): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('className');\n } else {\n this.element.setAttribute('className', String(value));\n }\n return this;\n }\n\n setDataAttributes(value: Record<string, string>): this {\n if (value === null || value === undefined) {\n // Remove all data-* attributes (best-effort)\n for (const __a of Array.from(this.element.attributes)) {\n if ((__a as Attr).name.startsWith('data-')) { (this.element as HTMLElement).removeAttribute((__a as Attr).name); }\n }\n } else {\n for (const __k in value as Record<string, string>) {\n this.element.setAttribute(`data-${__k}`, String((value as any)[__k]));\n }\n }\n return this;\n }\n\n setDir(value: 'ltr' | 'rtl' | 'auto' | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('dir');\n } else {\n this.element.setAttribute('dir', String(value));\n }\n return this;\n }\n\n setDraggable(value: boolean | null | undefined): this {\n if (value === true) {\n this.element.setAttribute('draggable', '');\n } else {\n this.element.removeAttribute('draggable');\n }\n return this;\n }\n\n setHidden(value: boolean | null | undefined): this {\n if (value === true) {\n this.element.setAttribute('hidden', '');\n } else {\n this.element.removeAttribute('hidden');\n }\n return this;\n }\n\n setId(value: string): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('id');\n } else {\n this.element.setAttribute('id', String(value));\n }\n return this;\n }\n\n setLang(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('lang');\n } else {\n this.element.setAttribute('lang', String(value));\n }\n return this;\n }\n\n setOnafterprint(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('onafterprint');\n } else {\n this.element.setAttribute('onafterprint', String(value));\n }\n return this;\n }\n\n setOnbeforeprint(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('onbeforeprint');\n } else {\n this.element.setAttribute('onbeforeprint', String(value));\n }\n return this;\n }\n\n setOnbeforeunload(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('onbeforeunload');\n } else {\n this.element.setAttribute('onbeforeunload', String(value));\n }\n return this;\n }\n\n setOnhashchange(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('onhashchange');\n } else {\n this.element.setAttribute('onhashchange', String(value));\n }\n return this;\n }\n\n setOnlanguagechange(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('onlanguagechange');\n } else {\n this.element.setAttribute('onlanguagechange', String(value));\n }\n return this;\n }\n\n setOnmessage(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('onmessage');\n } else {\n this.element.setAttribute('onmessage', String(value));\n }\n return this;\n }\n\n setOnmessageerror(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('onmessageerror');\n } else {\n this.element.setAttribute('onmessageerror', String(value));\n }\n return this;\n }\n\n setOnoffline(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('onoffline');\n } else {\n this.element.setAttribute('onoffline', String(value));\n }\n return this;\n }\n\n setOnonline(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('ononline');\n } else {\n this.element.setAttribute('ononline', String(value));\n }\n return this;\n }\n\n setOnpagehide(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('onpagehide');\n } else {\n this.element.setAttribute('onpagehide', String(value));\n }\n return this;\n }\n\n setOnpageshow(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('onpageshow');\n } else {\n this.element.setAttribute('onpageshow', String(value));\n }\n return this;\n }\n\n setOnpopstate(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('onpopstate');\n } else {\n this.element.setAttribute('onpopstate', String(value));\n }\n return this;\n }\n\n setOnrejectionhandled(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('onrejectionhandled');\n } else {\n this.element.setAttribute('onrejectionhandled', String(value));\n }\n return this;\n }\n\n setOnstorage(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('onstorage');\n } else {\n this.element.setAttribute('onstorage', String(value));\n }\n return this;\n }\n\n setOnunhandledrejection(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('onunhandledrejection');\n } else {\n this.element.setAttribute('onunhandledrejection', String(value));\n }\n return this;\n }\n\n setOnunload(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('onunload');\n } else {\n this.element.setAttribute('onunload', String(value));\n }\n return this;\n }\n\n setStyle(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('style');\n } else {\n this.element.setAttribute('style', String(value));\n }\n return this;\n }\n\n setTabIndex(value: number): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('tabIndex');\n } else {\n this.element.setAttribute('tabIndex', String(value));\n }\n return this;\n }\n\n setTabindex(value: number | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('tabindex');\n } else {\n this.element.setAttribute('tabindex', String(value));\n }\n return this;\n }\n\n setTitle(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('title');\n } else {\n this.element.setAttribute('title', String(value));\n }\n return this;\n }\n\n setTranslate(value: 'yes' | 'no' | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('translate');\n } else {\n this.element.setAttribute('translate', String(value));\n }\n return this;\n }\n\n setChildren(children: string | HTMLElement | (string | HTMLElement)[]): this {\n // Clear existing children\n while (this.element.firstChild) {\n this.element.removeChild(this.element.firstChild);\n }\n \n if (typeof children === 'string') {\n this.element.textContent = children;\n } else if (Array.isArray(children)) {\n children.forEach(child => {\n if (typeof child === 'string') {\n this.element.appendChild(document.createTextNode(child));\n } else {\n this.element.appendChild(child);\n }\n });\n } else {\n this.element.appendChild(children);\n }\n return this;\n }\n\n getElement(): HTMLElement {\n return this.element;\n }\n}\n"],
|
|
5
|
+
"mappings": ";AA0IO,IAAM,OAAN,MAAW;AAAA,EAGhB,YAAY,QAAmB,CAAC,GAAG;AACjC,SAAK,UAAU,SAAS,cAAc,MAAM;AAC5C,SAAK,WAAW,KAAK;AAAA,EACvB;AAAA,EAEQ,WAAW,OAAwB;AACzC,QAAI,MAAM,aAAa,QAAW;AAChC,WAAK,YAAY,MAAM,QAAQ;AAAA,IACjC;AACA,QAAI,MAAM,cAAc,QAAW;AACjC,WAAK,QAAQ,aAAa,aAAa,OAAO,MAAM,SAAS,CAAC;AAAA,IAChE;AACA,QAAI,MAAM,cAAc,QAAW;AACjC,WAAK,QAAQ,aAAa,aAAa,OAAO,MAAM,SAAS,CAAC;AAAA,IAChE;AACA,QAAI,MAAM,cAAc,QAAW;AACjC,WAAK,QAAQ,aAAa,aAAa,OAAO,MAAM,SAAS,CAAC;AAAA,IAChE;AACA,QAAI,MAAM,iBAAiB,MAAM,QAAW;AAC1C,YAAM,QAAQ,MAAM,iBAAiB;AACrC,UAAI,UAAU,QAAQ,UAAU,QAAW;AACzC,mBAAW,OAAO,OAAO;AACvB,eAAK,QAAQ,aAAa,QAAQ,GAAG,IAAI,OAAQ,MAAc,GAAG,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