@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE IS AUTOGENERATED. DO NOT EDIT IT.
|
|
3
3
|
*
|
|
4
|
-
* @generated
|
|
4
|
+
* @generated January 2, 2026 15:45:45
|
|
5
5
|
* @component Meter
|
|
6
6
|
* @description
|
|
7
7
|
*/
|
|
@@ -11,10 +11,18 @@ export interface MeterProps {
|
|
|
11
11
|
* Child content or elements
|
|
12
12
|
*/
|
|
13
13
|
children?: string | HTMLElement | (string | HTMLElement)[];
|
|
14
|
+
/**
|
|
15
|
+
* Keyboard shortcut to activate or focus the element
|
|
16
|
+
*/
|
|
17
|
+
accessKey?: string;
|
|
14
18
|
/**
|
|
15
19
|
* specifies a shortcut key (or keys) to activate or focus an element
|
|
16
20
|
*/
|
|
17
21
|
accesskey?: string | null | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* Mapping of Alpine.js directives (shorthand or full) to their values (e.g., {@click: "do()"} or {"x-on:click":"do()"})
|
|
24
|
+
*/
|
|
25
|
+
'alpine-attributes'?: Record<string, string> | null | undefined;
|
|
18
26
|
/**
|
|
19
27
|
* Indicates whether assistive technologies should present the entire region as a whole when changes occur.
|
|
20
28
|
*/
|
|
@@ -63,10 +71,22 @@ export interface MeterProps {
|
|
|
63
71
|
* Indicates whether the element is hidden
|
|
64
72
|
*/
|
|
65
73
|
autofocus?: boolean | null | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* CSS class names
|
|
76
|
+
*/
|
|
77
|
+
className?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Whether the element is editable
|
|
80
|
+
*/
|
|
81
|
+
contentEditable?: boolean | "true" | "false" | "inherit";
|
|
66
82
|
/**
|
|
67
83
|
* Indicates whether the element can be edited in place
|
|
68
84
|
*/
|
|
69
85
|
contenteditable?: 'true' | 'false' | 'inherit' | boolean | null | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* Mapping of data-* attributes to their values (e.g., {"test":"value"} -> data-test="value")
|
|
88
|
+
*/
|
|
89
|
+
'data-attributes'?: Record<string, string> | null | undefined;
|
|
70
90
|
/**
|
|
71
91
|
* Represents the text direction of the element
|
|
72
92
|
*/
|
|
@@ -83,6 +103,10 @@ export interface MeterProps {
|
|
|
83
103
|
* Specifies the high value for a range input or a meter element.
|
|
84
104
|
*/
|
|
85
105
|
high?: string | null | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* Unique identifier
|
|
108
|
+
*/
|
|
109
|
+
id?: string;
|
|
86
110
|
/**
|
|
87
111
|
* 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
|
|
88
112
|
*/
|
|
@@ -119,6 +143,10 @@ export interface MeterProps {
|
|
|
119
143
|
* Represents the CSS inline style of the element
|
|
120
144
|
*/
|
|
121
145
|
style?: string | null | undefined;
|
|
146
|
+
/**
|
|
147
|
+
* Tab order position
|
|
148
|
+
*/
|
|
149
|
+
tabIndex?: number;
|
|
122
150
|
/**
|
|
123
151
|
* Represents a tab order of the element
|
|
124
152
|
*/
|
|
@@ -152,9 +180,26 @@ export class Meter {
|
|
|
152
180
|
if (props.children !== undefined) {
|
|
153
181
|
this.setChildren(props.children);
|
|
154
182
|
}
|
|
183
|
+
if (props.accessKey !== undefined) {
|
|
184
|
+
this.element.setAttribute('accessKey', String(props.accessKey));
|
|
185
|
+
}
|
|
155
186
|
if (props.accesskey !== undefined) {
|
|
156
187
|
this.element.setAttribute('accesskey', String(props.accesskey));
|
|
157
188
|
}
|
|
189
|
+
if (props['alpine-attributes'] !== undefined) {
|
|
190
|
+
const __map = props['alpine-attributes'];
|
|
191
|
+
if (__map !== null && __map !== undefined) {
|
|
192
|
+
for (const __k in __map) {
|
|
193
|
+
const __v = (__map as any)[__k];
|
|
194
|
+
let __attr = __k;
|
|
195
|
+
if (__k.startsWith('@')) { __attr = 'x-on:' + __k.slice(1); }
|
|
196
|
+
else if (__k.startsWith(':')) { __attr = 'x-bind:' + __k.slice(1); }
|
|
197
|
+
else if (__k.startsWith('.')) { __attr = 'x-model' + __k; }
|
|
198
|
+
else if (!__k.startsWith('x-') && ['show','text','html','if','for','cloak','init','data','effect','ignore','ref','transition','teleport'].includes(__k)) { __attr = 'x-' + __k; }
|
|
199
|
+
this.element.setAttribute(__attr, String(__v));
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
158
203
|
if (props['aria-atomic'] !== undefined) {
|
|
159
204
|
this.setAriaAtomic(props['aria-atomic']);
|
|
160
205
|
}
|
|
@@ -191,9 +236,23 @@ export class Meter {
|
|
|
191
236
|
if (props.autofocus !== undefined) {
|
|
192
237
|
this.element.setAttribute('autofocus', String(props.autofocus));
|
|
193
238
|
}
|
|
239
|
+
if (props.className !== undefined) {
|
|
240
|
+
this.element.setAttribute('className', String(props.className));
|
|
241
|
+
}
|
|
242
|
+
if (props.contentEditable !== undefined) {
|
|
243
|
+
this.element.setAttribute('contentEditable', String(props.contentEditable));
|
|
244
|
+
}
|
|
194
245
|
if (props.contenteditable !== undefined) {
|
|
195
246
|
this.setContenteditable(props.contenteditable);
|
|
196
247
|
}
|
|
248
|
+
if (props['data-attributes'] !== undefined) {
|
|
249
|
+
const __map = props['data-attributes'];
|
|
250
|
+
if (__map !== null && __map !== undefined) {
|
|
251
|
+
for (const __k in __map) {
|
|
252
|
+
this.element.setAttribute(`data-${__k}`, String((__map as any)[__k]));
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
197
256
|
if (props.dir !== undefined) {
|
|
198
257
|
this.setDir(props.dir);
|
|
199
258
|
}
|
|
@@ -206,6 +265,9 @@ export class Meter {
|
|
|
206
265
|
if (props.high !== undefined) {
|
|
207
266
|
this.element.setAttribute('high', String(props.high));
|
|
208
267
|
}
|
|
268
|
+
if (props.id !== undefined) {
|
|
269
|
+
this.element.setAttribute('id', String(props.id));
|
|
270
|
+
}
|
|
209
271
|
if (props.inputmode !== undefined) {
|
|
210
272
|
this.setInputmode(props.inputmode);
|
|
211
273
|
}
|
|
@@ -233,6 +295,9 @@ export class Meter {
|
|
|
233
295
|
if (props.style !== undefined) {
|
|
234
296
|
this.element.setAttribute('style', String(props.style));
|
|
235
297
|
}
|
|
298
|
+
if (props.tabIndex !== undefined) {
|
|
299
|
+
this.element.setAttribute('tabIndex', String(props.tabIndex));
|
|
300
|
+
}
|
|
236
301
|
if (props.tabindex !== undefined) {
|
|
237
302
|
this.element.setAttribute('tabindex', String(props.tabindex));
|
|
238
303
|
}
|
|
@@ -247,6 +312,15 @@ export class Meter {
|
|
|
247
312
|
}
|
|
248
313
|
}
|
|
249
314
|
|
|
315
|
+
setAccessKey(value: string): this {
|
|
316
|
+
if (value === null || value === undefined) {
|
|
317
|
+
this.element.removeAttribute('accessKey');
|
|
318
|
+
} else {
|
|
319
|
+
this.element.setAttribute('accessKey', String(value));
|
|
320
|
+
}
|
|
321
|
+
return this;
|
|
322
|
+
}
|
|
323
|
+
|
|
250
324
|
setAccesskey(value: string | null | undefined): this {
|
|
251
325
|
if (value === null || value === undefined) {
|
|
252
326
|
this.element.removeAttribute('accesskey');
|
|
@@ -256,6 +330,25 @@ export class Meter {
|
|
|
256
330
|
return this;
|
|
257
331
|
}
|
|
258
332
|
|
|
333
|
+
setAlpineAttributes(value: string | null | undefined): this {
|
|
334
|
+
if (value === null || value === undefined) {
|
|
335
|
+
// Remove all x-* Alpine attributes (best-effort)
|
|
336
|
+
for (const __a of Array.from(this.element.attributes)) {
|
|
337
|
+
if ((__a as Attr).name.startsWith('x-')) { (this.element as HTMLElement).removeAttribute((__a as Attr).name); }
|
|
338
|
+
}
|
|
339
|
+
} else {
|
|
340
|
+
for (const __k in value as Record<string, string>) {
|
|
341
|
+
let __attr = __k;
|
|
342
|
+
if (__k.startsWith('@')) { __attr = 'x-on:' + __k.slice(1); }
|
|
343
|
+
else if (__k.startsWith(':')) { __attr = 'x-bind:' + __k.slice(1); }
|
|
344
|
+
else if (__k.startsWith('.')) { __attr = 'x-model' + __k; }
|
|
345
|
+
else if (!__k.startsWith('x-') && ['show','text','html','if','for','cloak','init','data','effect','ignore','ref','transition','teleport'].includes(__k)) { __attr = 'x-' + __k; }
|
|
346
|
+
this.element.setAttribute(__attr, String((value as any)[__k]));
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
return this;
|
|
350
|
+
}
|
|
351
|
+
|
|
259
352
|
setAriaAtomic(value: 'false' | 'true' | boolean | null | undefined): this {
|
|
260
353
|
if (value === null || value === undefined) {
|
|
261
354
|
this.element.removeAttribute('aria-atomic');
|
|
@@ -364,6 +457,24 @@ export class Meter {
|
|
|
364
457
|
return this;
|
|
365
458
|
}
|
|
366
459
|
|
|
460
|
+
setClassName(value: string): this {
|
|
461
|
+
if (value === null || value === undefined) {
|
|
462
|
+
this.element.removeAttribute('className');
|
|
463
|
+
} else {
|
|
464
|
+
this.element.setAttribute('className', String(value));
|
|
465
|
+
}
|
|
466
|
+
return this;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
setContentEditable(value: boolean | "true" | "false" | "inherit"): this {
|
|
470
|
+
if (value === true) {
|
|
471
|
+
this.element.setAttribute('contentEditable', '');
|
|
472
|
+
} else {
|
|
473
|
+
this.element.removeAttribute('contentEditable');
|
|
474
|
+
}
|
|
475
|
+
return this;
|
|
476
|
+
}
|
|
477
|
+
|
|
367
478
|
setContenteditable(value: 'true' | 'false' | 'inherit' | boolean | null | undefined): this {
|
|
368
479
|
if (value === null || value === undefined) {
|
|
369
480
|
this.element.removeAttribute('contenteditable');
|
|
@@ -373,6 +484,20 @@ export class Meter {
|
|
|
373
484
|
return this;
|
|
374
485
|
}
|
|
375
486
|
|
|
487
|
+
setDataAttributes(value: Record<string, string>): this {
|
|
488
|
+
if (value === null || value === undefined) {
|
|
489
|
+
// Remove all data-* attributes (best-effort)
|
|
490
|
+
for (const __a of Array.from(this.element.attributes)) {
|
|
491
|
+
if ((__a as Attr).name.startsWith('data-')) { (this.element as HTMLElement).removeAttribute((__a as Attr).name); }
|
|
492
|
+
}
|
|
493
|
+
} else {
|
|
494
|
+
for (const __k in value as Record<string, string>) {
|
|
495
|
+
this.element.setAttribute(`data-${__k}`, String((value as any)[__k]));
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
return this;
|
|
499
|
+
}
|
|
500
|
+
|
|
376
501
|
setDir(value: 'ltr' | 'rtl' | 'auto' | null | undefined): this {
|
|
377
502
|
if (value === null || value === undefined) {
|
|
378
503
|
this.element.removeAttribute('dir');
|
|
@@ -409,6 +534,15 @@ export class Meter {
|
|
|
409
534
|
return this;
|
|
410
535
|
}
|
|
411
536
|
|
|
537
|
+
setId(value: string): this {
|
|
538
|
+
if (value === null || value === undefined) {
|
|
539
|
+
this.element.removeAttribute('id');
|
|
540
|
+
} else {
|
|
541
|
+
this.element.setAttribute('id', String(value));
|
|
542
|
+
}
|
|
543
|
+
return this;
|
|
544
|
+
}
|
|
545
|
+
|
|
412
546
|
setInputmode(value: 'none' | 'text' | 'decimal' | 'numeric' | 'email' | 'tel' | 'url' | 'search' | null | undefined): this {
|
|
413
547
|
if (value === null || value === undefined) {
|
|
414
548
|
this.element.removeAttribute('inputmode');
|
|
@@ -490,6 +624,15 @@ export class Meter {
|
|
|
490
624
|
return this;
|
|
491
625
|
}
|
|
492
626
|
|
|
627
|
+
setTabIndex(value: number): this {
|
|
628
|
+
if (value === null || value === undefined) {
|
|
629
|
+
this.element.removeAttribute('tabIndex');
|
|
630
|
+
} else {
|
|
631
|
+
this.element.setAttribute('tabIndex', String(value));
|
|
632
|
+
}
|
|
633
|
+
return this;
|
|
634
|
+
}
|
|
635
|
+
|
|
493
636
|
setTabindex(value: number | null | undefined): this {
|
|
494
637
|
if (value === null || value === undefined) {
|
|
495
638
|
this.element.removeAttribute('tabindex');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE IS AUTOGENERATED. DO NOT EDIT IT.
|
|
3
3
|
*
|
|
4
|
-
* @generated
|
|
4
|
+
* @generated January 2, 2026 15:45:45
|
|
5
5
|
* @component Output
|
|
6
6
|
* @description
|
|
7
7
|
*/
|
|
@@ -11,10 +11,18 @@ export interface OutputProps {
|
|
|
11
11
|
* Child content or elements
|
|
12
12
|
*/
|
|
13
13
|
children?: string | HTMLElement | (string | HTMLElement)[];
|
|
14
|
+
/**
|
|
15
|
+
* Keyboard shortcut to activate or focus the element
|
|
16
|
+
*/
|
|
17
|
+
accessKey?: string;
|
|
14
18
|
/**
|
|
15
19
|
* specifies a shortcut key (or keys) to activate or focus an element
|
|
16
20
|
*/
|
|
17
21
|
accesskey?: string | null | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* Mapping of Alpine.js directives (shorthand or full) to their values (e.g., {@click: "do()"} or {"x-on:click":"do()"})
|
|
24
|
+
*/
|
|
25
|
+
'alpine-attributes'?: Record<string, string> | null | undefined;
|
|
18
26
|
/**
|
|
19
27
|
* Indicates whether assistive technologies should present the entire region as a whole when changes occur.
|
|
20
28
|
*/
|
|
@@ -51,10 +59,22 @@ export interface OutputProps {
|
|
|
51
59
|
* Indicates whether the element is hidden
|
|
52
60
|
*/
|
|
53
61
|
autofocus?: boolean | null | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* CSS class names
|
|
64
|
+
*/
|
|
65
|
+
className?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Whether the element is editable
|
|
68
|
+
*/
|
|
69
|
+
contentEditable?: boolean | "true" | "false" | "inherit";
|
|
54
70
|
/**
|
|
55
71
|
* Indicates whether the element can be edited in place
|
|
56
72
|
*/
|
|
57
73
|
contenteditable?: 'true' | 'false' | 'inherit' | boolean | null | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* Mapping of data-* attributes to their values (e.g., {"test":"value"} -> data-test="value")
|
|
76
|
+
*/
|
|
77
|
+
'data-attributes'?: Record<string, string> | null | undefined;
|
|
58
78
|
/**
|
|
59
79
|
* Represents the text direction of the element
|
|
60
80
|
*/
|
|
@@ -71,6 +91,10 @@ export interface OutputProps {
|
|
|
71
91
|
* Indicates whether the element is hidden
|
|
72
92
|
*/
|
|
73
93
|
hidden?: boolean | null | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* Unique identifier
|
|
96
|
+
*/
|
|
97
|
+
id?: string;
|
|
74
98
|
/**
|
|
75
99
|
* 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
|
|
76
100
|
*/
|
|
@@ -91,6 +115,10 @@ export interface OutputProps {
|
|
|
91
115
|
* Represents the CSS inline style of the element
|
|
92
116
|
*/
|
|
93
117
|
style?: string | null | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* Tab order position
|
|
120
|
+
*/
|
|
121
|
+
tabIndex?: number;
|
|
94
122
|
/**
|
|
95
123
|
* Represents a tab order of the element
|
|
96
124
|
*/
|
|
@@ -120,9 +148,26 @@ export class Output {
|
|
|
120
148
|
if (props.children !== undefined) {
|
|
121
149
|
this.setChildren(props.children);
|
|
122
150
|
}
|
|
151
|
+
if (props.accessKey !== undefined) {
|
|
152
|
+
this.element.setAttribute('accessKey', String(props.accessKey));
|
|
153
|
+
}
|
|
123
154
|
if (props.accesskey !== undefined) {
|
|
124
155
|
this.element.setAttribute('accesskey', String(props.accesskey));
|
|
125
156
|
}
|
|
157
|
+
if (props['alpine-attributes'] !== undefined) {
|
|
158
|
+
const __map = props['alpine-attributes'];
|
|
159
|
+
if (__map !== null && __map !== undefined) {
|
|
160
|
+
for (const __k in __map) {
|
|
161
|
+
const __v = (__map as any)[__k];
|
|
162
|
+
let __attr = __k;
|
|
163
|
+
if (__k.startsWith('@')) { __attr = 'x-on:' + __k.slice(1); }
|
|
164
|
+
else if (__k.startsWith(':')) { __attr = 'x-bind:' + __k.slice(1); }
|
|
165
|
+
else if (__k.startsWith('.')) { __attr = 'x-model' + __k; }
|
|
166
|
+
else if (!__k.startsWith('x-') && ['show','text','html','if','for','cloak','init','data','effect','ignore','ref','transition','teleport'].includes(__k)) { __attr = 'x-' + __k; }
|
|
167
|
+
this.element.setAttribute(__attr, String(__v));
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
126
171
|
if (props['aria-atomic'] !== undefined) {
|
|
127
172
|
this.setAriaAtomic(props['aria-atomic']);
|
|
128
173
|
}
|
|
@@ -150,9 +195,23 @@ export class Output {
|
|
|
150
195
|
if (props.autofocus !== undefined) {
|
|
151
196
|
this.element.setAttribute('autofocus', String(props.autofocus));
|
|
152
197
|
}
|
|
198
|
+
if (props.className !== undefined) {
|
|
199
|
+
this.element.setAttribute('className', String(props.className));
|
|
200
|
+
}
|
|
201
|
+
if (props.contentEditable !== undefined) {
|
|
202
|
+
this.element.setAttribute('contentEditable', String(props.contentEditable));
|
|
203
|
+
}
|
|
153
204
|
if (props.contenteditable !== undefined) {
|
|
154
205
|
this.setContenteditable(props.contenteditable);
|
|
155
206
|
}
|
|
207
|
+
if (props['data-attributes'] !== undefined) {
|
|
208
|
+
const __map = props['data-attributes'];
|
|
209
|
+
if (__map !== null && __map !== undefined) {
|
|
210
|
+
for (const __k in __map) {
|
|
211
|
+
this.element.setAttribute(`data-${__k}`, String((__map as any)[__k]));
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
156
215
|
if (props.dir !== undefined) {
|
|
157
216
|
this.setDir(props.dir);
|
|
158
217
|
}
|
|
@@ -165,6 +224,9 @@ export class Output {
|
|
|
165
224
|
if (props.hidden !== undefined) {
|
|
166
225
|
this.element.setAttribute('hidden', String(props.hidden));
|
|
167
226
|
}
|
|
227
|
+
if (props.id !== undefined) {
|
|
228
|
+
this.element.setAttribute('id', String(props.id));
|
|
229
|
+
}
|
|
168
230
|
if (props.inputmode !== undefined) {
|
|
169
231
|
this.setInputmode(props.inputmode);
|
|
170
232
|
}
|
|
@@ -180,6 +242,9 @@ export class Output {
|
|
|
180
242
|
if (props.style !== undefined) {
|
|
181
243
|
this.element.setAttribute('style', String(props.style));
|
|
182
244
|
}
|
|
245
|
+
if (props.tabIndex !== undefined) {
|
|
246
|
+
this.element.setAttribute('tabIndex', String(props.tabIndex));
|
|
247
|
+
}
|
|
183
248
|
if (props.tabindex !== undefined) {
|
|
184
249
|
this.element.setAttribute('tabindex', String(props.tabindex));
|
|
185
250
|
}
|
|
@@ -191,6 +256,15 @@ export class Output {
|
|
|
191
256
|
}
|
|
192
257
|
}
|
|
193
258
|
|
|
259
|
+
setAccessKey(value: string): this {
|
|
260
|
+
if (value === null || value === undefined) {
|
|
261
|
+
this.element.removeAttribute('accessKey');
|
|
262
|
+
} else {
|
|
263
|
+
this.element.setAttribute('accessKey', String(value));
|
|
264
|
+
}
|
|
265
|
+
return this;
|
|
266
|
+
}
|
|
267
|
+
|
|
194
268
|
setAccesskey(value: string | null | undefined): this {
|
|
195
269
|
if (value === null || value === undefined) {
|
|
196
270
|
this.element.removeAttribute('accesskey');
|
|
@@ -200,6 +274,25 @@ export class Output {
|
|
|
200
274
|
return this;
|
|
201
275
|
}
|
|
202
276
|
|
|
277
|
+
setAlpineAttributes(value: string | null | undefined): this {
|
|
278
|
+
if (value === null || value === undefined) {
|
|
279
|
+
// Remove all x-* Alpine attributes (best-effort)
|
|
280
|
+
for (const __a of Array.from(this.element.attributes)) {
|
|
281
|
+
if ((__a as Attr).name.startsWith('x-')) { (this.element as HTMLElement).removeAttribute((__a as Attr).name); }
|
|
282
|
+
}
|
|
283
|
+
} else {
|
|
284
|
+
for (const __k in value as Record<string, string>) {
|
|
285
|
+
let __attr = __k;
|
|
286
|
+
if (__k.startsWith('@')) { __attr = 'x-on:' + __k.slice(1); }
|
|
287
|
+
else if (__k.startsWith(':')) { __attr = 'x-bind:' + __k.slice(1); }
|
|
288
|
+
else if (__k.startsWith('.')) { __attr = 'x-model' + __k; }
|
|
289
|
+
else if (!__k.startsWith('x-') && ['show','text','html','if','for','cloak','init','data','effect','ignore','ref','transition','teleport'].includes(__k)) { __attr = 'x-' + __k; }
|
|
290
|
+
this.element.setAttribute(__attr, String((value as any)[__k]));
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
return this;
|
|
294
|
+
}
|
|
295
|
+
|
|
203
296
|
setAriaAtomic(value: 'false' | 'true' | boolean | null | undefined): this {
|
|
204
297
|
if (value === null || value === undefined) {
|
|
205
298
|
this.element.removeAttribute('aria-atomic');
|
|
@@ -281,6 +374,24 @@ export class Output {
|
|
|
281
374
|
return this;
|
|
282
375
|
}
|
|
283
376
|
|
|
377
|
+
setClassName(value: string): this {
|
|
378
|
+
if (value === null || value === undefined) {
|
|
379
|
+
this.element.removeAttribute('className');
|
|
380
|
+
} else {
|
|
381
|
+
this.element.setAttribute('className', String(value));
|
|
382
|
+
}
|
|
383
|
+
return this;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
setContentEditable(value: boolean | "true" | "false" | "inherit"): this {
|
|
387
|
+
if (value === true) {
|
|
388
|
+
this.element.setAttribute('contentEditable', '');
|
|
389
|
+
} else {
|
|
390
|
+
this.element.removeAttribute('contentEditable');
|
|
391
|
+
}
|
|
392
|
+
return this;
|
|
393
|
+
}
|
|
394
|
+
|
|
284
395
|
setContenteditable(value: 'true' | 'false' | 'inherit' | boolean | null | undefined): this {
|
|
285
396
|
if (value === null || value === undefined) {
|
|
286
397
|
this.element.removeAttribute('contenteditable');
|
|
@@ -290,6 +401,20 @@ export class Output {
|
|
|
290
401
|
return this;
|
|
291
402
|
}
|
|
292
403
|
|
|
404
|
+
setDataAttributes(value: Record<string, string>): this {
|
|
405
|
+
if (value === null || value === undefined) {
|
|
406
|
+
// Remove all data-* attributes (best-effort)
|
|
407
|
+
for (const __a of Array.from(this.element.attributes)) {
|
|
408
|
+
if ((__a as Attr).name.startsWith('data-')) { (this.element as HTMLElement).removeAttribute((__a as Attr).name); }
|
|
409
|
+
}
|
|
410
|
+
} else {
|
|
411
|
+
for (const __k in value as Record<string, string>) {
|
|
412
|
+
this.element.setAttribute(`data-${__k}`, String((value as any)[__k]));
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
return this;
|
|
416
|
+
}
|
|
417
|
+
|
|
293
418
|
setDir(value: 'ltr' | 'rtl' | 'auto' | null | undefined): this {
|
|
294
419
|
if (value === null || value === undefined) {
|
|
295
420
|
this.element.removeAttribute('dir');
|
|
@@ -326,6 +451,15 @@ export class Output {
|
|
|
326
451
|
return this;
|
|
327
452
|
}
|
|
328
453
|
|
|
454
|
+
setId(value: string): this {
|
|
455
|
+
if (value === null || value === undefined) {
|
|
456
|
+
this.element.removeAttribute('id');
|
|
457
|
+
} else {
|
|
458
|
+
this.element.setAttribute('id', String(value));
|
|
459
|
+
}
|
|
460
|
+
return this;
|
|
461
|
+
}
|
|
462
|
+
|
|
329
463
|
setInputmode(value: 'none' | 'text' | 'decimal' | 'numeric' | 'email' | 'tel' | 'url' | 'search' | null | undefined): this {
|
|
330
464
|
if (value === null || value === undefined) {
|
|
331
465
|
this.element.removeAttribute('inputmode');
|
|
@@ -371,6 +505,15 @@ export class Output {
|
|
|
371
505
|
return this;
|
|
372
506
|
}
|
|
373
507
|
|
|
508
|
+
setTabIndex(value: number): this {
|
|
509
|
+
if (value === null || value === undefined) {
|
|
510
|
+
this.element.removeAttribute('tabIndex');
|
|
511
|
+
} else {
|
|
512
|
+
this.element.setAttribute('tabIndex', String(value));
|
|
513
|
+
}
|
|
514
|
+
return this;
|
|
515
|
+
}
|
|
516
|
+
|
|
374
517
|
setTabindex(value: number | null | undefined): this {
|
|
375
518
|
if (value === null || value === undefined) {
|
|
376
519
|
this.element.removeAttribute('tabindex');
|