@typesafe-html5/typescript 0.2.61 → 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,476 @@
|
|
|
1
|
+
// src/block/aside/aside.ts
|
|
2
|
+
var Aside = class {
|
|
3
|
+
constructor(props = {}) {
|
|
4
|
+
this.element = document.createElement("aside");
|
|
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["alpine-attributes"] !== void 0) {
|
|
18
|
+
const __map = props["alpine-attributes"];
|
|
19
|
+
if (__map !== null && __map !== void 0) {
|
|
20
|
+
for (const __k in __map) {
|
|
21
|
+
const __v = __map[__k];
|
|
22
|
+
let __attr = __k;
|
|
23
|
+
if (__k.startsWith("@")) {
|
|
24
|
+
__attr = "x-on:" + __k.slice(1);
|
|
25
|
+
} else if (__k.startsWith(":")) {
|
|
26
|
+
__attr = "x-bind:" + __k.slice(1);
|
|
27
|
+
} else if (__k.startsWith(".")) {
|
|
28
|
+
__attr = "x-model" + __k;
|
|
29
|
+
} else if (!__k.startsWith("x-") && ["show", "text", "html", "if", "for", "cloak", "init", "data", "effect", "ignore", "ref", "transition", "teleport"].includes(__k)) {
|
|
30
|
+
__attr = "x-" + __k;
|
|
31
|
+
}
|
|
32
|
+
this.element.setAttribute(__attr, String(__v));
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
if (props["aria-atomic"] !== void 0) {
|
|
37
|
+
this.setAriaAtomic(props["aria-atomic"]);
|
|
38
|
+
}
|
|
39
|
+
if (props["aria-busy"] !== void 0) {
|
|
40
|
+
this.setAriaBusy(props["aria-busy"]);
|
|
41
|
+
}
|
|
42
|
+
if (props["aria-controls"] !== void 0) {
|
|
43
|
+
this.element.setAttribute("aria-controls", String(props["aria-controls"]));
|
|
44
|
+
}
|
|
45
|
+
if (props["aria-describedby"] !== void 0) {
|
|
46
|
+
this.element.setAttribute("aria-describedby", String(props["aria-describedby"]));
|
|
47
|
+
}
|
|
48
|
+
if (props["aria-details"] !== void 0) {
|
|
49
|
+
this.element.setAttribute("aria-details", String(props["aria-details"]));
|
|
50
|
+
}
|
|
51
|
+
if (props["aria-keyshortcuts"] !== void 0) {
|
|
52
|
+
this.element.setAttribute("aria-keyshortcuts", String(props["aria-keyshortcuts"]));
|
|
53
|
+
}
|
|
54
|
+
if (props["aria-label"] !== void 0) {
|
|
55
|
+
this.element.setAttribute("aria-label", String(props["aria-label"]));
|
|
56
|
+
}
|
|
57
|
+
if (props["aria-labelledby"] !== void 0) {
|
|
58
|
+
this.element.setAttribute("aria-labelledby", String(props["aria-labelledby"]));
|
|
59
|
+
}
|
|
60
|
+
if (props["aria-live"] !== void 0) {
|
|
61
|
+
this.setAriaLive(props["aria-live"]);
|
|
62
|
+
}
|
|
63
|
+
if (props["aria-owns"] !== void 0) {
|
|
64
|
+
this.element.setAttribute("aria-owns", String(props["aria-owns"]));
|
|
65
|
+
}
|
|
66
|
+
if (props["aria-relevant"] !== void 0) {
|
|
67
|
+
this.setAriaRelevant(props["aria-relevant"]);
|
|
68
|
+
}
|
|
69
|
+
if (props["aria-roledescription"] !== void 0) {
|
|
70
|
+
this.element.setAttribute("aria-roledescription", String(props["aria-roledescription"]));
|
|
71
|
+
}
|
|
72
|
+
if (props.autocapitalize !== void 0) {
|
|
73
|
+
this.setAutocapitalize(props.autocapitalize);
|
|
74
|
+
}
|
|
75
|
+
if (props.autofocus !== void 0) {
|
|
76
|
+
this.element.setAttribute("autofocus", String(props.autofocus));
|
|
77
|
+
}
|
|
78
|
+
if (props.className !== void 0) {
|
|
79
|
+
this.element.setAttribute("className", String(props.className));
|
|
80
|
+
}
|
|
81
|
+
if (props.contentEditable !== void 0) {
|
|
82
|
+
this.element.setAttribute("contentEditable", String(props.contentEditable));
|
|
83
|
+
}
|
|
84
|
+
if (props.contenteditable !== void 0) {
|
|
85
|
+
this.setContenteditable(props.contenteditable);
|
|
86
|
+
}
|
|
87
|
+
if (props["data-attributes"] !== void 0) {
|
|
88
|
+
const __map = props["data-attributes"];
|
|
89
|
+
if (__map !== null && __map !== void 0) {
|
|
90
|
+
for (const __k in __map) {
|
|
91
|
+
this.element.setAttribute(`data-${__k}`, String(__map[__k]));
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
if (props.dir !== void 0) {
|
|
96
|
+
this.setDir(props.dir);
|
|
97
|
+
}
|
|
98
|
+
if (props.draggable !== void 0) {
|
|
99
|
+
this.element.setAttribute("draggable", String(props.draggable));
|
|
100
|
+
}
|
|
101
|
+
if (props.hidden !== void 0) {
|
|
102
|
+
this.element.setAttribute("hidden", String(props.hidden));
|
|
103
|
+
}
|
|
104
|
+
if (props.id !== void 0) {
|
|
105
|
+
this.element.setAttribute("id", String(props.id));
|
|
106
|
+
}
|
|
107
|
+
if (props.inputmode !== void 0) {
|
|
108
|
+
this.setInputmode(props.inputmode);
|
|
109
|
+
}
|
|
110
|
+
if (props.lang !== void 0) {
|
|
111
|
+
this.element.setAttribute("lang", String(props.lang));
|
|
112
|
+
}
|
|
113
|
+
if (props.popover !== void 0) {
|
|
114
|
+
this.setPopover(props.popover);
|
|
115
|
+
}
|
|
116
|
+
if (props.role !== void 0) {
|
|
117
|
+
this.setRole(props.role);
|
|
118
|
+
}
|
|
119
|
+
if (props.slot !== void 0) {
|
|
120
|
+
this.element.setAttribute("slot", String(props.slot));
|
|
121
|
+
}
|
|
122
|
+
if (props.spellcheck !== void 0) {
|
|
123
|
+
this.setSpellcheck(props.spellcheck);
|
|
124
|
+
}
|
|
125
|
+
if (props.style !== void 0) {
|
|
126
|
+
this.element.setAttribute("style", String(props.style));
|
|
127
|
+
}
|
|
128
|
+
if (props.tabIndex !== void 0) {
|
|
129
|
+
this.element.setAttribute("tabIndex", String(props.tabIndex));
|
|
130
|
+
}
|
|
131
|
+
if (props.tabindex !== void 0) {
|
|
132
|
+
this.element.setAttribute("tabindex", String(props.tabindex));
|
|
133
|
+
}
|
|
134
|
+
if (props.title !== void 0) {
|
|
135
|
+
this.element.setAttribute("title", String(props.title));
|
|
136
|
+
}
|
|
137
|
+
if (props.translate !== void 0) {
|
|
138
|
+
this.setTranslate(props.translate);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
setAccessKey(value) {
|
|
142
|
+
if (value === null || value === void 0) {
|
|
143
|
+
this.element.removeAttribute("accessKey");
|
|
144
|
+
} else {
|
|
145
|
+
this.element.setAttribute("accessKey", String(value));
|
|
146
|
+
}
|
|
147
|
+
return this;
|
|
148
|
+
}
|
|
149
|
+
setAccesskey(value) {
|
|
150
|
+
if (value === null || value === void 0) {
|
|
151
|
+
this.element.removeAttribute("accesskey");
|
|
152
|
+
} else {
|
|
153
|
+
this.element.setAttribute("accesskey", String(value));
|
|
154
|
+
}
|
|
155
|
+
return this;
|
|
156
|
+
}
|
|
157
|
+
setAlpineAttributes(value) {
|
|
158
|
+
if (value === null || value === void 0) {
|
|
159
|
+
for (const __a of Array.from(this.element.attributes)) {
|
|
160
|
+
if (__a.name.startsWith("x-")) {
|
|
161
|
+
this.element.removeAttribute(__a.name);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
} else {
|
|
165
|
+
for (const __k in value) {
|
|
166
|
+
let __attr = __k;
|
|
167
|
+
if (__k.startsWith("@")) {
|
|
168
|
+
__attr = "x-on:" + __k.slice(1);
|
|
169
|
+
} else if (__k.startsWith(":")) {
|
|
170
|
+
__attr = "x-bind:" + __k.slice(1);
|
|
171
|
+
} else if (__k.startsWith(".")) {
|
|
172
|
+
__attr = "x-model" + __k;
|
|
173
|
+
} else if (!__k.startsWith("x-") && ["show", "text", "html", "if", "for", "cloak", "init", "data", "effect", "ignore", "ref", "transition", "teleport"].includes(__k)) {
|
|
174
|
+
__attr = "x-" + __k;
|
|
175
|
+
}
|
|
176
|
+
this.element.setAttribute(__attr, String(value[__k]));
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
return this;
|
|
180
|
+
}
|
|
181
|
+
setAriaAtomic(value) {
|
|
182
|
+
if (value === null || value === void 0) {
|
|
183
|
+
this.element.removeAttribute("aria-atomic");
|
|
184
|
+
} else {
|
|
185
|
+
this.element.setAttribute("aria-atomic", String(value));
|
|
186
|
+
}
|
|
187
|
+
return this;
|
|
188
|
+
}
|
|
189
|
+
setAriaBusy(value) {
|
|
190
|
+
if (value === null || value === void 0) {
|
|
191
|
+
this.element.removeAttribute("aria-busy");
|
|
192
|
+
} else {
|
|
193
|
+
this.element.setAttribute("aria-busy", String(value));
|
|
194
|
+
}
|
|
195
|
+
return this;
|
|
196
|
+
}
|
|
197
|
+
setAriaControls(value) {
|
|
198
|
+
if (value === null || value === void 0) {
|
|
199
|
+
this.element.removeAttribute("aria-controls");
|
|
200
|
+
} else {
|
|
201
|
+
this.element.setAttribute("aria-controls", String(value));
|
|
202
|
+
}
|
|
203
|
+
return this;
|
|
204
|
+
}
|
|
205
|
+
setAriaDescribedby(value) {
|
|
206
|
+
if (value === null || value === void 0) {
|
|
207
|
+
this.element.removeAttribute("aria-describedby");
|
|
208
|
+
} else {
|
|
209
|
+
this.element.setAttribute("aria-describedby", String(value));
|
|
210
|
+
}
|
|
211
|
+
return this;
|
|
212
|
+
}
|
|
213
|
+
setAriaDetails(value) {
|
|
214
|
+
if (value === null || value === void 0) {
|
|
215
|
+
this.element.removeAttribute("aria-details");
|
|
216
|
+
} else {
|
|
217
|
+
this.element.setAttribute("aria-details", String(value));
|
|
218
|
+
}
|
|
219
|
+
return this;
|
|
220
|
+
}
|
|
221
|
+
setAriaKeyshortcuts(value) {
|
|
222
|
+
if (value === null || value === void 0) {
|
|
223
|
+
this.element.removeAttribute("aria-keyshortcuts");
|
|
224
|
+
} else {
|
|
225
|
+
this.element.setAttribute("aria-keyshortcuts", String(value));
|
|
226
|
+
}
|
|
227
|
+
return this;
|
|
228
|
+
}
|
|
229
|
+
setAriaLabel(value) {
|
|
230
|
+
if (value === null || value === void 0) {
|
|
231
|
+
this.element.removeAttribute("aria-label");
|
|
232
|
+
} else {
|
|
233
|
+
this.element.setAttribute("aria-label", String(value));
|
|
234
|
+
}
|
|
235
|
+
return this;
|
|
236
|
+
}
|
|
237
|
+
setAriaLabelledby(value) {
|
|
238
|
+
if (value === null || value === void 0) {
|
|
239
|
+
this.element.removeAttribute("aria-labelledby");
|
|
240
|
+
} else {
|
|
241
|
+
this.element.setAttribute("aria-labelledby", String(value));
|
|
242
|
+
}
|
|
243
|
+
return this;
|
|
244
|
+
}
|
|
245
|
+
setAriaLive(value) {
|
|
246
|
+
if (value === null || value === void 0) {
|
|
247
|
+
this.element.removeAttribute("aria-live");
|
|
248
|
+
} else {
|
|
249
|
+
this.element.setAttribute("aria-live", String(value));
|
|
250
|
+
}
|
|
251
|
+
return this;
|
|
252
|
+
}
|
|
253
|
+
setAriaOwns(value) {
|
|
254
|
+
if (value === null || value === void 0) {
|
|
255
|
+
this.element.removeAttribute("aria-owns");
|
|
256
|
+
} else {
|
|
257
|
+
this.element.setAttribute("aria-owns", String(value));
|
|
258
|
+
}
|
|
259
|
+
return this;
|
|
260
|
+
}
|
|
261
|
+
setAriaRelevant(value) {
|
|
262
|
+
if (value === null || value === void 0) {
|
|
263
|
+
this.element.removeAttribute("aria-relevant");
|
|
264
|
+
} else {
|
|
265
|
+
this.element.setAttribute("aria-relevant", String(value));
|
|
266
|
+
}
|
|
267
|
+
return this;
|
|
268
|
+
}
|
|
269
|
+
setAriaRoledescription(value) {
|
|
270
|
+
if (value === null || value === void 0) {
|
|
271
|
+
this.element.removeAttribute("aria-roledescription");
|
|
272
|
+
} else {
|
|
273
|
+
this.element.setAttribute("aria-roledescription", String(value));
|
|
274
|
+
}
|
|
275
|
+
return this;
|
|
276
|
+
}
|
|
277
|
+
setAutocapitalize(value) {
|
|
278
|
+
if (value === null || value === void 0) {
|
|
279
|
+
this.element.removeAttribute("autocapitalize");
|
|
280
|
+
} else {
|
|
281
|
+
this.element.setAttribute("autocapitalize", String(value));
|
|
282
|
+
}
|
|
283
|
+
return this;
|
|
284
|
+
}
|
|
285
|
+
setAutofocus(value) {
|
|
286
|
+
if (value === true) {
|
|
287
|
+
this.element.setAttribute("autofocus", "");
|
|
288
|
+
} else {
|
|
289
|
+
this.element.removeAttribute("autofocus");
|
|
290
|
+
}
|
|
291
|
+
return this;
|
|
292
|
+
}
|
|
293
|
+
setClassName(value) {
|
|
294
|
+
if (value === null || value === void 0) {
|
|
295
|
+
this.element.removeAttribute("className");
|
|
296
|
+
} else {
|
|
297
|
+
this.element.setAttribute("className", String(value));
|
|
298
|
+
}
|
|
299
|
+
return this;
|
|
300
|
+
}
|
|
301
|
+
setContentEditable(value) {
|
|
302
|
+
if (value === true) {
|
|
303
|
+
this.element.setAttribute("contentEditable", "");
|
|
304
|
+
} else {
|
|
305
|
+
this.element.removeAttribute("contentEditable");
|
|
306
|
+
}
|
|
307
|
+
return this;
|
|
308
|
+
}
|
|
309
|
+
setContenteditable(value) {
|
|
310
|
+
if (value === null || value === void 0) {
|
|
311
|
+
this.element.removeAttribute("contenteditable");
|
|
312
|
+
} else {
|
|
313
|
+
this.element.setAttribute("contenteditable", String(value));
|
|
314
|
+
}
|
|
315
|
+
return this;
|
|
316
|
+
}
|
|
317
|
+
setDataAttributes(value) {
|
|
318
|
+
if (value === null || value === void 0) {
|
|
319
|
+
for (const __a of Array.from(this.element.attributes)) {
|
|
320
|
+
if (__a.name.startsWith("data-")) {
|
|
321
|
+
this.element.removeAttribute(__a.name);
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
} else {
|
|
325
|
+
for (const __k in value) {
|
|
326
|
+
this.element.setAttribute(`data-${__k}`, String(value[__k]));
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
return this;
|
|
330
|
+
}
|
|
331
|
+
setDir(value) {
|
|
332
|
+
if (value === null || value === void 0) {
|
|
333
|
+
this.element.removeAttribute("dir");
|
|
334
|
+
} else {
|
|
335
|
+
this.element.setAttribute("dir", String(value));
|
|
336
|
+
}
|
|
337
|
+
return this;
|
|
338
|
+
}
|
|
339
|
+
setDraggable(value) {
|
|
340
|
+
if (value === true) {
|
|
341
|
+
this.element.setAttribute("draggable", "");
|
|
342
|
+
} else {
|
|
343
|
+
this.element.removeAttribute("draggable");
|
|
344
|
+
}
|
|
345
|
+
return this;
|
|
346
|
+
}
|
|
347
|
+
setHidden(value) {
|
|
348
|
+
if (value === true) {
|
|
349
|
+
this.element.setAttribute("hidden", "");
|
|
350
|
+
} else {
|
|
351
|
+
this.element.removeAttribute("hidden");
|
|
352
|
+
}
|
|
353
|
+
return this;
|
|
354
|
+
}
|
|
355
|
+
setId(value) {
|
|
356
|
+
if (value === null || value === void 0) {
|
|
357
|
+
this.element.removeAttribute("id");
|
|
358
|
+
} else {
|
|
359
|
+
this.element.setAttribute("id", String(value));
|
|
360
|
+
}
|
|
361
|
+
return this;
|
|
362
|
+
}
|
|
363
|
+
setInputmode(value) {
|
|
364
|
+
if (value === null || value === void 0) {
|
|
365
|
+
this.element.removeAttribute("inputmode");
|
|
366
|
+
} else {
|
|
367
|
+
this.element.setAttribute("inputmode", String(value));
|
|
368
|
+
}
|
|
369
|
+
return this;
|
|
370
|
+
}
|
|
371
|
+
setLang(value) {
|
|
372
|
+
if (value === null || value === void 0) {
|
|
373
|
+
this.element.removeAttribute("lang");
|
|
374
|
+
} else {
|
|
375
|
+
this.element.setAttribute("lang", String(value));
|
|
376
|
+
}
|
|
377
|
+
return this;
|
|
378
|
+
}
|
|
379
|
+
setPopover(value) {
|
|
380
|
+
if (value === null || value === void 0) {
|
|
381
|
+
this.element.removeAttribute("popover");
|
|
382
|
+
} else {
|
|
383
|
+
this.element.setAttribute("popover", String(value));
|
|
384
|
+
}
|
|
385
|
+
return this;
|
|
386
|
+
}
|
|
387
|
+
setRole(value) {
|
|
388
|
+
if (value === null || value === void 0) {
|
|
389
|
+
this.element.removeAttribute("role");
|
|
390
|
+
} else {
|
|
391
|
+
this.element.setAttribute("role", String(value));
|
|
392
|
+
}
|
|
393
|
+
return this;
|
|
394
|
+
}
|
|
395
|
+
setSlot(value) {
|
|
396
|
+
if (value === null || value === void 0) {
|
|
397
|
+
this.element.removeAttribute("slot");
|
|
398
|
+
} else {
|
|
399
|
+
this.element.setAttribute("slot", String(value));
|
|
400
|
+
}
|
|
401
|
+
return this;
|
|
402
|
+
}
|
|
403
|
+
setSpellcheck(value) {
|
|
404
|
+
if (value === null || value === void 0) {
|
|
405
|
+
this.element.removeAttribute("spellcheck");
|
|
406
|
+
} else {
|
|
407
|
+
this.element.setAttribute("spellcheck", String(value));
|
|
408
|
+
}
|
|
409
|
+
return this;
|
|
410
|
+
}
|
|
411
|
+
setStyle(value) {
|
|
412
|
+
if (value === null || value === void 0) {
|
|
413
|
+
this.element.removeAttribute("style");
|
|
414
|
+
} else {
|
|
415
|
+
this.element.setAttribute("style", String(value));
|
|
416
|
+
}
|
|
417
|
+
return this;
|
|
418
|
+
}
|
|
419
|
+
setTabIndex(value) {
|
|
420
|
+
if (value === null || value === void 0) {
|
|
421
|
+
this.element.removeAttribute("tabIndex");
|
|
422
|
+
} else {
|
|
423
|
+
this.element.setAttribute("tabIndex", String(value));
|
|
424
|
+
}
|
|
425
|
+
return this;
|
|
426
|
+
}
|
|
427
|
+
setTabindex(value) {
|
|
428
|
+
if (value === null || value === void 0) {
|
|
429
|
+
this.element.removeAttribute("tabindex");
|
|
430
|
+
} else {
|
|
431
|
+
this.element.setAttribute("tabindex", String(value));
|
|
432
|
+
}
|
|
433
|
+
return this;
|
|
434
|
+
}
|
|
435
|
+
setTitle(value) {
|
|
436
|
+
if (value === null || value === void 0) {
|
|
437
|
+
this.element.removeAttribute("title");
|
|
438
|
+
} else {
|
|
439
|
+
this.element.setAttribute("title", String(value));
|
|
440
|
+
}
|
|
441
|
+
return this;
|
|
442
|
+
}
|
|
443
|
+
setTranslate(value) {
|
|
444
|
+
if (value === null || value === void 0) {
|
|
445
|
+
this.element.removeAttribute("translate");
|
|
446
|
+
} else {
|
|
447
|
+
this.element.setAttribute("translate", String(value));
|
|
448
|
+
}
|
|
449
|
+
return this;
|
|
450
|
+
}
|
|
451
|
+
setChildren(children) {
|
|
452
|
+
while (this.element.firstChild) {
|
|
453
|
+
this.element.removeChild(this.element.firstChild);
|
|
454
|
+
}
|
|
455
|
+
if (typeof children === "string") {
|
|
456
|
+
this.element.textContent = children;
|
|
457
|
+
} else if (Array.isArray(children)) {
|
|
458
|
+
children.forEach((child) => {
|
|
459
|
+
if (typeof child === "string") {
|
|
460
|
+
this.element.appendChild(document.createTextNode(child));
|
|
461
|
+
} else {
|
|
462
|
+
this.element.appendChild(child);
|
|
463
|
+
}
|
|
464
|
+
});
|
|
465
|
+
} else {
|
|
466
|
+
this.element.appendChild(children);
|
|
467
|
+
}
|
|
468
|
+
return this;
|
|
469
|
+
}
|
|
470
|
+
getElement() {
|
|
471
|
+
return this.element;
|
|
472
|
+
}
|
|
473
|
+
};
|
|
474
|
+
export {
|
|
475
|
+
Aside
|
|
476
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/block/aside/aside.ts"],
|
|
4
|
+
"sourcesContent": ["/**\n * THIS FILE IS AUTOGENERATED. DO NOT EDIT IT.\n *\n * @generated January 2, 2026 15:45:45\n * @component Aside\n * @description \n */\n\nexport interface AsideProps {\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 * Mapping of Alpine.js directives (shorthand or full) to their values (e.g., {@click: \"do()\"} or {\"x-on:click\":\"do()\"})\n */\n 'alpine-attributes'?: Record<string, string> | null | undefined;\n /**\n * Indicates whether assistive technologies should present the entire region as a whole when changes occur.\n */\n 'aria-atomic'?: 'false' | 'true' | boolean | null | undefined;\n /**\n * The aria-busy attribute is used to indicate whether an element is currently busy or not.\n */\n 'aria-busy'?: 'true' | 'false' | boolean | null | undefined;\n /**\n * Identifies the element(s) whose contents or presence are controlled by this element. Value is a list of IDs separated by a space\n */\n 'aria-controls'?: string | null | undefined;\n /**\n * Identifies the element(s) that describes the object. Value is a list of IDs separated by a space\n */\n 'aria-describedby'?: string | null | undefined;\n /**\n * References an element that provides additional details about the current element.\n */\n 'aria-details'?: string | null | undefined;\n /**\n * Defines keyboard shortcuts available for the element.\n */\n 'aria-keyshortcuts'?: string | null | undefined;\n /**\n * Defines a string value that labels the current element for assistive technologies.\n */\n 'aria-label'?: string | null | undefined;\n /**\n * Identifies the element(s) that labels the current element. Value is a list of IDs separated by a space\n */\n 'aria-labelledby'?: string | null | undefined;\n /**\n * Defines how updates to the element should be announced to screen readers.\n */\n 'aria-live'?: 'off' | 'polite' | 'assertive' | null | undefined;\n /**\n * Establishes ownership relationships between elements. Value is a space-separated list of IDs.\n */\n 'aria-owns'?: string | null | undefined;\n /**\n * Indicates what content changes should be announced in a live region.\n */\n 'aria-relevant'?: 'additions' | 'removals' | 'text' | 'all' | 'additions text' | null | undefined;\n /**\n * Provides a human-readable custom role description for assistive technologies.\n */\n 'aria-roledescription'?: string | null | undefined;\n /**\n * Represents the autocapitalize behavior of the element\n */\n autocapitalize?: 'none' | 'sentences' | 'words' | 'characters' | null | undefined;\n /**\n * Indicates whether the element is hidden\n */\n autofocus?: boolean | null | undefined;\n /**\n * CSS class names\n */\n className?: string;\n /**\n * Whether the element is editable\n */\n contentEditable?: boolean | \"true\" | \"false\" | \"inherit\";\n /**\n * Indicates whether the element can be edited in place\n */\n contenteditable?: 'true' | 'false' | 'inherit' | boolean | null | undefined;\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 * used to specify the data entry mode for an input. It helps guide on-screen keyboards (especially on mobile devices) to show the appropriate layout for the expected input type\n */\n inputmode?: 'none' | 'text' | 'decimal' | 'numeric' | 'email' | 'tel' | 'url' | 'search' | null | undefined;\n /**\n * Specifies the primary language for the element's content\n */\n lang?: string | null | undefined;\n /**\n * \n */\n popover?: 'auto' | 'hint' | 'manual' | null | undefined;\n /**\n * Defines the semantic purpose of an element for assistive technologies.\n */\n role?: 'alert' | 'application' | 'article' | 'banner' | 'button' | 'checkbox' | 'complementary' | 'contentinfo' | 'dialog' | 'form' | 'grid' | 'group' | 'heading' | 'img' | 'link' | 'list' | 'listbox' | 'listitem' | 'main' | 'menu' | 'menubar' | 'menuitem' | 'navigation' | 'none' | 'presentation' | 'radio' | 'region' | 'search' | 'status' | 'tab' | 'tablist' | 'tabpanel' | 'textbox' | 'toolbar' | 'tooltip' | null | undefined;\n /**\n * Represents a slot in a shadow DOM\n */\n slot?: string | null | undefined;\n /**\n * Represents the spellchecking behavior of the element\n */\n spellcheck?: 'true' | 'false' | boolean | 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 * Aside - \n */\nexport class Aside {\n private element: HTMLElement;\n\n constructor(props: AsideProps = {}) {\n this.element = document.createElement('aside');\n this.applyProps(props);\n }\n\n private applyProps(props: AsideProps): 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['alpine-attributes'] !== undefined) {\n const __map = props['alpine-attributes'];\n if (__map !== null && __map !== undefined) {\n for (const __k in __map) {\n const __v = (__map as any)[__k];\n let __attr = __k;\n if (__k.startsWith('@')) { __attr = 'x-on:' + __k.slice(1); }\n else if (__k.startsWith(':')) { __attr = 'x-bind:' + __k.slice(1); }\n else if (__k.startsWith('.')) { __attr = 'x-model' + __k; }\n else if (!__k.startsWith('x-') && ['show','text','html','if','for','cloak','init','data','effect','ignore','ref','transition','teleport'].includes(__k)) { __attr = 'x-' + __k; }\n this.element.setAttribute(__attr, String(__v));\n }\n }\n }\n if (props['aria-atomic'] !== undefined) {\n this.setAriaAtomic(props['aria-atomic']);\n }\n if (props['aria-busy'] !== undefined) {\n this.setAriaBusy(props['aria-busy']);\n }\n if (props['aria-controls'] !== undefined) {\n this.element.setAttribute('aria-controls', String(props['aria-controls']));\n }\n if (props['aria-describedby'] !== undefined) {\n this.element.setAttribute('aria-describedby', String(props['aria-describedby']));\n }\n if (props['aria-details'] !== undefined) {\n this.element.setAttribute('aria-details', String(props['aria-details']));\n }\n if (props['aria-keyshortcuts'] !== undefined) {\n this.element.setAttribute('aria-keyshortcuts', String(props['aria-keyshortcuts']));\n }\n if (props['aria-label'] !== undefined) {\n this.element.setAttribute('aria-label', String(props['aria-label']));\n }\n if (props['aria-labelledby'] !== undefined) {\n this.element.setAttribute('aria-labelledby', String(props['aria-labelledby']));\n }\n if (props['aria-live'] !== undefined) {\n this.setAriaLive(props['aria-live']);\n }\n if (props['aria-owns'] !== undefined) {\n this.element.setAttribute('aria-owns', String(props['aria-owns']));\n }\n if (props['aria-relevant'] !== undefined) {\n this.setAriaRelevant(props['aria-relevant']);\n }\n if (props['aria-roledescription'] !== undefined) {\n this.element.setAttribute('aria-roledescription', String(props['aria-roledescription']));\n }\n if (props.autocapitalize !== undefined) {\n this.setAutocapitalize(props.autocapitalize);\n }\n if (props.autofocus !== undefined) {\n this.element.setAttribute('autofocus', String(props.autofocus));\n }\n if (props.className !== undefined) {\n this.element.setAttribute('className', String(props.className));\n }\n if (props.contentEditable !== undefined) {\n this.element.setAttribute('contentEditable', String(props.contentEditable));\n }\n if (props.contenteditable !== undefined) {\n this.setContenteditable(props.contenteditable);\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.inputmode !== undefined) {\n this.setInputmode(props.inputmode);\n }\n if (props.lang !== undefined) {\n this.element.setAttribute('lang', String(props.lang));\n }\n if (props.popover !== undefined) {\n this.setPopover(props.popover);\n }\n if (props.role !== undefined) {\n this.setRole(props.role);\n }\n if (props.slot !== undefined) {\n this.element.setAttribute('slot', String(props.slot));\n }\n if (props.spellcheck !== undefined) {\n this.setSpellcheck(props.spellcheck);\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 setAlpineAttributes(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n // Remove all x-* Alpine attributes (best-effort)\n for (const __a of Array.from(this.element.attributes)) {\n if ((__a as Attr).name.startsWith('x-')) { (this.element as HTMLElement).removeAttribute((__a as Attr).name); }\n }\n } else {\n for (const __k in value as Record<string, string>) {\n let __attr = __k;\n if (__k.startsWith('@')) { __attr = 'x-on:' + __k.slice(1); }\n else if (__k.startsWith(':')) { __attr = 'x-bind:' + __k.slice(1); }\n else if (__k.startsWith('.')) { __attr = 'x-model' + __k; }\n else if (!__k.startsWith('x-') && ['show','text','html','if','for','cloak','init','data','effect','ignore','ref','transition','teleport'].includes(__k)) { __attr = 'x-' + __k; }\n this.element.setAttribute(__attr, String((value as any)[__k]));\n }\n }\n return this;\n }\n\n setAriaAtomic(value: 'false' | 'true' | boolean | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('aria-atomic');\n } else {\n this.element.setAttribute('aria-atomic', String(value));\n }\n return this;\n }\n\n setAriaBusy(value: 'true' | 'false' | boolean | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('aria-busy');\n } else {\n this.element.setAttribute('aria-busy', String(value));\n }\n return this;\n }\n\n setAriaControls(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('aria-controls');\n } else {\n this.element.setAttribute('aria-controls', String(value));\n }\n return this;\n }\n\n setAriaDescribedby(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('aria-describedby');\n } else {\n this.element.setAttribute('aria-describedby', String(value));\n }\n return this;\n }\n\n setAriaDetails(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('aria-details');\n } else {\n this.element.setAttribute('aria-details', String(value));\n }\n return this;\n }\n\n setAriaKeyshortcuts(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('aria-keyshortcuts');\n } else {\n this.element.setAttribute('aria-keyshortcuts', String(value));\n }\n return this;\n }\n\n setAriaLabel(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('aria-label');\n } else {\n this.element.setAttribute('aria-label', String(value));\n }\n return this;\n }\n\n setAriaLabelledby(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('aria-labelledby');\n } else {\n this.element.setAttribute('aria-labelledby', String(value));\n }\n return this;\n }\n\n setAriaLive(value: 'off' | 'polite' | 'assertive' | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('aria-live');\n } else {\n this.element.setAttribute('aria-live', String(value));\n }\n return this;\n }\n\n setAriaOwns(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('aria-owns');\n } else {\n this.element.setAttribute('aria-owns', String(value));\n }\n return this;\n }\n\n setAriaRelevant(value: 'additions' | 'removals' | 'text' | 'all' | 'additions text' | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('aria-relevant');\n } else {\n this.element.setAttribute('aria-relevant', String(value));\n }\n return this;\n }\n\n setAriaRoledescription(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('aria-roledescription');\n } else {\n this.element.setAttribute('aria-roledescription', String(value));\n }\n return this;\n }\n\n setAutocapitalize(value: 'none' | 'sentences' | 'words' | 'characters' | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('autocapitalize');\n } else {\n this.element.setAttribute('autocapitalize', String(value));\n }\n return this;\n }\n\n setAutofocus(value: boolean | null | undefined): this {\n if (value === true) {\n this.element.setAttribute('autofocus', '');\n } else {\n this.element.removeAttribute('autofocus');\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 setContentEditable(value: boolean | \"true\" | \"false\" | \"inherit\"): this {\n if (value === true) {\n this.element.setAttribute('contentEditable', '');\n } else {\n this.element.removeAttribute('contentEditable');\n }\n return this;\n }\n\n setContenteditable(value: 'true' | 'false' | 'inherit' | boolean | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('contenteditable');\n } else {\n this.element.setAttribute('contenteditable', 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 setInputmode(value: 'none' | 'text' | 'decimal' | 'numeric' | 'email' | 'tel' | 'url' | 'search' | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('inputmode');\n } else {\n this.element.setAttribute('inputmode', 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 setPopover(value: 'auto' | 'hint' | 'manual' | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('popover');\n } else {\n this.element.setAttribute('popover', String(value));\n }\n return this;\n }\n\n setRole(value: 'alert' | 'application' | 'article' | 'banner' | 'button' | 'checkbox' | 'complementary' | 'contentinfo' | 'dialog' | 'form' | 'grid' | 'group' | 'heading' | 'img' | 'link' | 'list' | 'listbox' | 'listitem' | 'main' | 'menu' | 'menubar' | 'menuitem' | 'navigation' | 'none' | 'presentation' | 'radio' | 'region' | 'search' | 'status' | 'tab' | 'tablist' | 'tabpanel' | 'textbox' | 'toolbar' | 'tooltip' | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('role');\n } else {\n this.element.setAttribute('role', String(value));\n }\n return this;\n }\n\n setSlot(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('slot');\n } else {\n this.element.setAttribute('slot', String(value));\n }\n return this;\n }\n\n setSpellcheck(value: 'true' | 'false' | boolean | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('spellcheck');\n } else {\n this.element.setAttribute('spellcheck', 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": ";AAkKO,IAAM,QAAN,MAAY;AAAA,EA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