@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
|
@@ -1,16 +1,24 @@
|
|
|
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 Link
|
|
6
6
|
* @description
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
export interface LinkProps {
|
|
10
|
+
/**
|
|
11
|
+
* CSS class names
|
|
12
|
+
*/
|
|
13
|
+
className?: string;
|
|
10
14
|
/**
|
|
11
15
|
*
|
|
12
16
|
*/
|
|
13
17
|
crossorigin?: 'anonymous' | 'use-credentials' | null | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* Mapping of data-* attributes to their values (e.g., {"test":"value"} -> data-test="value")
|
|
20
|
+
*/
|
|
21
|
+
'data-attributes'?: Record<string, string> | null | undefined;
|
|
14
22
|
/**
|
|
15
23
|
* Represents the text direction of the element
|
|
16
24
|
*/
|
|
@@ -27,6 +35,10 @@ export interface LinkProps {
|
|
|
27
35
|
* Specifies the language of the linked resource.
|
|
28
36
|
*/
|
|
29
37
|
hreflang?: string | null | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Unique identifier
|
|
40
|
+
*/
|
|
41
|
+
id?: string;
|
|
30
42
|
/**
|
|
31
43
|
* Specifies the integrity value of a resource.
|
|
32
44
|
*/
|
|
@@ -77,9 +89,20 @@ export class Link {
|
|
|
77
89
|
}
|
|
78
90
|
|
|
79
91
|
private applyProps(props: LinkProps): void {
|
|
92
|
+
if (props.className !== undefined) {
|
|
93
|
+
this.element.setAttribute('className', String(props.className));
|
|
94
|
+
}
|
|
80
95
|
if (props.crossorigin !== undefined) {
|
|
81
96
|
this.setCrossorigin(props.crossorigin);
|
|
82
97
|
}
|
|
98
|
+
if (props['data-attributes'] !== undefined) {
|
|
99
|
+
const __map = props['data-attributes'];
|
|
100
|
+
if (__map !== null && __map !== undefined) {
|
|
101
|
+
for (const __k in __map) {
|
|
102
|
+
this.element.setAttribute(`data-${__k}`, String((__map as any)[__k]));
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
83
106
|
if (props.dir !== undefined) {
|
|
84
107
|
this.setDir(props.dir);
|
|
85
108
|
}
|
|
@@ -92,6 +115,9 @@ export class Link {
|
|
|
92
115
|
if (props.hreflang !== undefined) {
|
|
93
116
|
this.element.setAttribute('hreflang', String(props.hreflang));
|
|
94
117
|
}
|
|
118
|
+
if (props.id !== undefined) {
|
|
119
|
+
this.element.setAttribute('id', String(props.id));
|
|
120
|
+
}
|
|
95
121
|
if (props.integrity !== undefined) {
|
|
96
122
|
this.element.setAttribute('integrity', String(props.integrity));
|
|
97
123
|
}
|
|
@@ -121,6 +147,15 @@ export class Link {
|
|
|
121
147
|
}
|
|
122
148
|
}
|
|
123
149
|
|
|
150
|
+
setClassName(value: string): this {
|
|
151
|
+
if (value === null || value === undefined) {
|
|
152
|
+
this.element.removeAttribute('className');
|
|
153
|
+
} else {
|
|
154
|
+
this.element.setAttribute('className', String(value));
|
|
155
|
+
}
|
|
156
|
+
return this;
|
|
157
|
+
}
|
|
158
|
+
|
|
124
159
|
setCrossorigin(value: 'anonymous' | 'use-credentials' | null | undefined): this {
|
|
125
160
|
if (value === null || value === undefined) {
|
|
126
161
|
this.element.removeAttribute('crossorigin');
|
|
@@ -130,6 +165,20 @@ export class Link {
|
|
|
130
165
|
return this;
|
|
131
166
|
}
|
|
132
167
|
|
|
168
|
+
setDataAttributes(value: Record<string, string>): this {
|
|
169
|
+
if (value === null || value === undefined) {
|
|
170
|
+
// Remove all data-* attributes (best-effort)
|
|
171
|
+
for (const __a of Array.from(this.element.attributes)) {
|
|
172
|
+
if ((__a as Attr).name.startsWith('data-')) { (this.element as HTMLElement).removeAttribute((__a as Attr).name); }
|
|
173
|
+
}
|
|
174
|
+
} else {
|
|
175
|
+
for (const __k in value as Record<string, string>) {
|
|
176
|
+
this.element.setAttribute(`data-${__k}`, String((value as any)[__k]));
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
return this;
|
|
180
|
+
}
|
|
181
|
+
|
|
133
182
|
setDir(value: 'ltr' | 'rtl' | 'auto' | null | undefined): this {
|
|
134
183
|
if (value === null || value === undefined) {
|
|
135
184
|
this.element.removeAttribute('dir');
|
|
@@ -166,6 +215,15 @@ export class Link {
|
|
|
166
215
|
return this;
|
|
167
216
|
}
|
|
168
217
|
|
|
218
|
+
setId(value: string): this {
|
|
219
|
+
if (value === null || value === undefined) {
|
|
220
|
+
this.element.removeAttribute('id');
|
|
221
|
+
} else {
|
|
222
|
+
this.element.setAttribute('id', String(value));
|
|
223
|
+
}
|
|
224
|
+
return this;
|
|
225
|
+
}
|
|
226
|
+
|
|
169
227
|
setIntegrity(value: string | null | undefined): this {
|
|
170
228
|
if (value === null || value === undefined) {
|
|
171
229
|
this.element.removeAttribute('integrity');
|
|
@@ -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 Meta
|
|
6
6
|
* @description
|
|
7
7
|
*/
|
|
@@ -11,10 +11,18 @@ export interface MetaProps {
|
|
|
11
11
|
* Specifies the character encoding for the resource.
|
|
12
12
|
*/
|
|
13
13
|
charset?: string | null | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* CSS class names
|
|
16
|
+
*/
|
|
17
|
+
className?: string;
|
|
14
18
|
/**
|
|
15
19
|
* Specifies the value associated with the http-equiv or name attribute.
|
|
16
20
|
*/
|
|
17
21
|
content?: string | null | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* Mapping of data-* attributes to their values (e.g., {"test":"value"} -> data-test="value")
|
|
24
|
+
*/
|
|
25
|
+
'data-attributes'?: Record<string, string> | null | undefined;
|
|
18
26
|
/**
|
|
19
27
|
* Indicates whether the element is hidden
|
|
20
28
|
*/
|
|
@@ -23,6 +31,10 @@ export interface MetaProps {
|
|
|
23
31
|
* Provides an HTTP header for the information/value of the content attribute.
|
|
24
32
|
*/
|
|
25
33
|
'http-equiv'?: 'content-language' | 'content-type' | 'default-style' | 'refresh' | null | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* Unique identifier
|
|
36
|
+
*/
|
|
37
|
+
id?: string;
|
|
26
38
|
/**
|
|
27
39
|
* Specifies the primary language for the element's content
|
|
28
40
|
*/
|
|
@@ -56,15 +68,29 @@ export class Meta {
|
|
|
56
68
|
if (props.charset !== undefined) {
|
|
57
69
|
this.element.setAttribute('charset', String(props.charset));
|
|
58
70
|
}
|
|
71
|
+
if (props.className !== undefined) {
|
|
72
|
+
this.element.setAttribute('className', String(props.className));
|
|
73
|
+
}
|
|
59
74
|
if (props.content !== undefined) {
|
|
60
75
|
this.element.setAttribute('content', String(props.content));
|
|
61
76
|
}
|
|
77
|
+
if (props['data-attributes'] !== undefined) {
|
|
78
|
+
const __map = props['data-attributes'];
|
|
79
|
+
if (__map !== null && __map !== undefined) {
|
|
80
|
+
for (const __k in __map) {
|
|
81
|
+
this.element.setAttribute(`data-${__k}`, String((__map as any)[__k]));
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
62
85
|
if (props.hidden !== undefined) {
|
|
63
86
|
this.element.setAttribute('hidden', String(props.hidden));
|
|
64
87
|
}
|
|
65
88
|
if (props['http-equiv'] !== undefined) {
|
|
66
89
|
this.setHttpEquiv(props['http-equiv']);
|
|
67
90
|
}
|
|
91
|
+
if (props.id !== undefined) {
|
|
92
|
+
this.element.setAttribute('id', String(props.id));
|
|
93
|
+
}
|
|
68
94
|
if (props.lang !== undefined) {
|
|
69
95
|
this.element.setAttribute('lang', String(props.lang));
|
|
70
96
|
}
|
|
@@ -88,6 +114,15 @@ export class Meta {
|
|
|
88
114
|
return this;
|
|
89
115
|
}
|
|
90
116
|
|
|
117
|
+
setClassName(value: string): this {
|
|
118
|
+
if (value === null || value === undefined) {
|
|
119
|
+
this.element.removeAttribute('className');
|
|
120
|
+
} else {
|
|
121
|
+
this.element.setAttribute('className', String(value));
|
|
122
|
+
}
|
|
123
|
+
return this;
|
|
124
|
+
}
|
|
125
|
+
|
|
91
126
|
setContent(value: string | null | undefined): this {
|
|
92
127
|
if (value === null || value === undefined) {
|
|
93
128
|
this.element.removeAttribute('content');
|
|
@@ -97,6 +132,20 @@ export class Meta {
|
|
|
97
132
|
return this;
|
|
98
133
|
}
|
|
99
134
|
|
|
135
|
+
setDataAttributes(value: Record<string, string>): this {
|
|
136
|
+
if (value === null || value === undefined) {
|
|
137
|
+
// Remove all data-* attributes (best-effort)
|
|
138
|
+
for (const __a of Array.from(this.element.attributes)) {
|
|
139
|
+
if ((__a as Attr).name.startsWith('data-')) { (this.element as HTMLElement).removeAttribute((__a as Attr).name); }
|
|
140
|
+
}
|
|
141
|
+
} else {
|
|
142
|
+
for (const __k in value as Record<string, string>) {
|
|
143
|
+
this.element.setAttribute(`data-${__k}`, String((value as any)[__k]));
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
return this;
|
|
147
|
+
}
|
|
148
|
+
|
|
100
149
|
setHidden(value: boolean | null | undefined): this {
|
|
101
150
|
if (value === true) {
|
|
102
151
|
this.element.setAttribute('hidden', '');
|
|
@@ -115,6 +164,15 @@ export class Meta {
|
|
|
115
164
|
return this;
|
|
116
165
|
}
|
|
117
166
|
|
|
167
|
+
setId(value: string): this {
|
|
168
|
+
if (value === null || value === undefined) {
|
|
169
|
+
this.element.removeAttribute('id');
|
|
170
|
+
} else {
|
|
171
|
+
this.element.setAttribute('id', String(value));
|
|
172
|
+
}
|
|
173
|
+
return this;
|
|
174
|
+
}
|
|
175
|
+
|
|
118
176
|
setLang(value: string | null | undefined): this {
|
|
119
177
|
if (value === null || value === undefined) {
|
|
120
178
|
this.element.removeAttribute('lang');
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE IS AUTOGENERATED. DO NOT EDIT IT.
|
|
3
|
+
*
|
|
4
|
+
* @generated January 2, 2026 15:45:45
|
|
5
|
+
* @component Param
|
|
6
|
+
* @description
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export interface ParamProps {
|
|
10
|
+
/**
|
|
11
|
+
* Mapping of Alpine.js directives (shorthand or full) to their values (e.g., {@click: "do()"} or {"x-on:click":"do()"})
|
|
12
|
+
*/
|
|
13
|
+
'alpine-attributes'?: Record<string, string> | null | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* CSS class names
|
|
16
|
+
*/
|
|
17
|
+
className?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Mapping of data-* attributes to their values (e.g., {"test":"value"} -> data-test="value")
|
|
20
|
+
*/
|
|
21
|
+
'data-attributes'?: Record<string, string> | null | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* Indicates whether the element is hidden
|
|
24
|
+
*/
|
|
25
|
+
hidden?: boolean | null | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Unique identifier
|
|
28
|
+
*/
|
|
29
|
+
id?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Specifies the name associated with the element. The meaning may vary depending on the context.
|
|
32
|
+
*/
|
|
33
|
+
name?: string | null | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* Represents the CSS inline style of the element
|
|
36
|
+
*/
|
|
37
|
+
style?: string | null | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Specifies the value associated with the element. The meaning and usage may vary depending on the element type.
|
|
40
|
+
*/
|
|
41
|
+
value?: string | null | undefined;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Param -
|
|
46
|
+
*/
|
|
47
|
+
export class Param {
|
|
48
|
+
private element: HTMLElement;
|
|
49
|
+
|
|
50
|
+
constructor(props: ParamProps = {}) {
|
|
51
|
+
this.element = document.createElement('param');
|
|
52
|
+
this.applyProps(props);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
private applyProps(props: ParamProps): void {
|
|
56
|
+
if (props['alpine-attributes'] !== undefined) {
|
|
57
|
+
const __map = props['alpine-attributes'];
|
|
58
|
+
if (__map !== null && __map !== undefined) {
|
|
59
|
+
for (const __k in __map) {
|
|
60
|
+
const __v = (__map as any)[__k];
|
|
61
|
+
let __attr = __k;
|
|
62
|
+
if (__k.startsWith('@')) { __attr = 'x-on:' + __k.slice(1); }
|
|
63
|
+
else if (__k.startsWith(':')) { __attr = 'x-bind:' + __k.slice(1); }
|
|
64
|
+
else if (__k.startsWith('.')) { __attr = 'x-model' + __k; }
|
|
65
|
+
else if (!__k.startsWith('x-') && ['show','text','html','if','for','cloak','init','data','effect','ignore','ref','transition','teleport'].includes(__k)) { __attr = 'x-' + __k; }
|
|
66
|
+
this.element.setAttribute(__attr, String(__v));
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
if (props.className !== undefined) {
|
|
71
|
+
this.element.setAttribute('className', String(props.className));
|
|
72
|
+
}
|
|
73
|
+
if (props['data-attributes'] !== undefined) {
|
|
74
|
+
const __map = props['data-attributes'];
|
|
75
|
+
if (__map !== null && __map !== undefined) {
|
|
76
|
+
for (const __k in __map) {
|
|
77
|
+
this.element.setAttribute(`data-${__k}`, String((__map as any)[__k]));
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
if (props.hidden !== undefined) {
|
|
82
|
+
this.element.setAttribute('hidden', String(props.hidden));
|
|
83
|
+
}
|
|
84
|
+
if (props.id !== undefined) {
|
|
85
|
+
this.element.setAttribute('id', String(props.id));
|
|
86
|
+
}
|
|
87
|
+
if (props.name !== undefined) {
|
|
88
|
+
this.element.setAttribute('name', String(props.name));
|
|
89
|
+
}
|
|
90
|
+
if (props.style !== undefined) {
|
|
91
|
+
this.element.setAttribute('style', String(props.style));
|
|
92
|
+
}
|
|
93
|
+
if (props.value !== undefined) {
|
|
94
|
+
this.element.setAttribute('value', String(props.value));
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
setAlpineAttributes(value: string | null | undefined): this {
|
|
99
|
+
if (value === null || value === undefined) {
|
|
100
|
+
// Remove all x-* Alpine attributes (best-effort)
|
|
101
|
+
for (const __a of Array.from(this.element.attributes)) {
|
|
102
|
+
if ((__a as Attr).name.startsWith('x-')) { (this.element as HTMLElement).removeAttribute((__a as Attr).name); }
|
|
103
|
+
}
|
|
104
|
+
} else {
|
|
105
|
+
for (const __k in value as Record<string, string>) {
|
|
106
|
+
let __attr = __k;
|
|
107
|
+
if (__k.startsWith('@')) { __attr = 'x-on:' + __k.slice(1); }
|
|
108
|
+
else if (__k.startsWith(':')) { __attr = 'x-bind:' + __k.slice(1); }
|
|
109
|
+
else if (__k.startsWith('.')) { __attr = 'x-model' + __k; }
|
|
110
|
+
else if (!__k.startsWith('x-') && ['show','text','html','if','for','cloak','init','data','effect','ignore','ref','transition','teleport'].includes(__k)) { __attr = 'x-' + __k; }
|
|
111
|
+
this.element.setAttribute(__attr, String((value as any)[__k]));
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
return this;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
setClassName(value: string): this {
|
|
118
|
+
if (value === null || value === undefined) {
|
|
119
|
+
this.element.removeAttribute('className');
|
|
120
|
+
} else {
|
|
121
|
+
this.element.setAttribute('className', String(value));
|
|
122
|
+
}
|
|
123
|
+
return this;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
setDataAttributes(value: Record<string, string>): this {
|
|
127
|
+
if (value === null || value === undefined) {
|
|
128
|
+
// Remove all data-* attributes (best-effort)
|
|
129
|
+
for (const __a of Array.from(this.element.attributes)) {
|
|
130
|
+
if ((__a as Attr).name.startsWith('data-')) { (this.element as HTMLElement).removeAttribute((__a as Attr).name); }
|
|
131
|
+
}
|
|
132
|
+
} else {
|
|
133
|
+
for (const __k in value as Record<string, string>) {
|
|
134
|
+
this.element.setAttribute(`data-${__k}`, String((value as any)[__k]));
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
return this;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
setHidden(value: boolean | null | undefined): this {
|
|
141
|
+
if (value === true) {
|
|
142
|
+
this.element.setAttribute('hidden', '');
|
|
143
|
+
} else {
|
|
144
|
+
this.element.removeAttribute('hidden');
|
|
145
|
+
}
|
|
146
|
+
return this;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
setId(value: string): this {
|
|
150
|
+
if (value === null || value === undefined) {
|
|
151
|
+
this.element.removeAttribute('id');
|
|
152
|
+
} else {
|
|
153
|
+
this.element.setAttribute('id', String(value));
|
|
154
|
+
}
|
|
155
|
+
return this;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
setName(value: string | null | undefined): this {
|
|
159
|
+
if (value === null || value === undefined) {
|
|
160
|
+
this.element.removeAttribute('name');
|
|
161
|
+
} else {
|
|
162
|
+
this.element.setAttribute('name', String(value));
|
|
163
|
+
}
|
|
164
|
+
return this;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
setStyle(value: string | null | undefined): this {
|
|
168
|
+
if (value === null || value === undefined) {
|
|
169
|
+
this.element.removeAttribute('style');
|
|
170
|
+
} else {
|
|
171
|
+
this.element.setAttribute('style', String(value));
|
|
172
|
+
}
|
|
173
|
+
return this;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
setValue(value: string | null | undefined): this {
|
|
177
|
+
if (value === null || value === undefined) {
|
|
178
|
+
this.element.removeAttribute('value');
|
|
179
|
+
} else {
|
|
180
|
+
this.element.setAttribute('value', String(value));
|
|
181
|
+
}
|
|
182
|
+
return this;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
getElement(): HTMLElement {
|
|
186
|
+
return this.element;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
@@ -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 Script
|
|
6
6
|
* @description
|
|
7
7
|
*/
|
|
@@ -19,10 +19,18 @@ export interface ScriptProps {
|
|
|
19
19
|
* Specifies the character encoding for the resource.
|
|
20
20
|
*/
|
|
21
21
|
charset?: string | null | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* CSS class names
|
|
24
|
+
*/
|
|
25
|
+
className?: string;
|
|
22
26
|
/**
|
|
23
27
|
*
|
|
24
28
|
*/
|
|
25
29
|
crossorigin?: 'anonymous' | 'use-credentials' | null | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* Mapping of data-* attributes to their values (e.g., {"test":"value"} -> data-test="value")
|
|
32
|
+
*/
|
|
33
|
+
'data-attributes'?: Record<string, string> | null | undefined;
|
|
26
34
|
/**
|
|
27
35
|
* When present, it specifies that the script should be executed after the page has been parsed.
|
|
28
36
|
*/
|
|
@@ -31,6 +39,10 @@ export interface ScriptProps {
|
|
|
31
39
|
* Indicates whether the element is hidden
|
|
32
40
|
*/
|
|
33
41
|
hidden?: boolean | null | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Unique identifier
|
|
44
|
+
*/
|
|
45
|
+
id?: string;
|
|
34
46
|
/**
|
|
35
47
|
* Specifies the integrity value of a resource.
|
|
36
48
|
*/
|
|
@@ -82,15 +94,29 @@ export class Script {
|
|
|
82
94
|
if (props.charset !== undefined) {
|
|
83
95
|
this.element.setAttribute('charset', String(props.charset));
|
|
84
96
|
}
|
|
97
|
+
if (props.className !== undefined) {
|
|
98
|
+
this.element.setAttribute('className', String(props.className));
|
|
99
|
+
}
|
|
85
100
|
if (props.crossorigin !== undefined) {
|
|
86
101
|
this.setCrossorigin(props.crossorigin);
|
|
87
102
|
}
|
|
103
|
+
if (props['data-attributes'] !== undefined) {
|
|
104
|
+
const __map = props['data-attributes'];
|
|
105
|
+
if (__map !== null && __map !== undefined) {
|
|
106
|
+
for (const __k in __map) {
|
|
107
|
+
this.element.setAttribute(`data-${__k}`, String((__map as any)[__k]));
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
88
111
|
if (props.defer !== undefined) {
|
|
89
112
|
this.element.setAttribute('defer', String(props.defer));
|
|
90
113
|
}
|
|
91
114
|
if (props.hidden !== undefined) {
|
|
92
115
|
this.element.setAttribute('hidden', String(props.hidden));
|
|
93
116
|
}
|
|
117
|
+
if (props.id !== undefined) {
|
|
118
|
+
this.element.setAttribute('id', String(props.id));
|
|
119
|
+
}
|
|
94
120
|
if (props.integrity !== undefined) {
|
|
95
121
|
this.element.setAttribute('integrity', String(props.integrity));
|
|
96
122
|
}
|
|
@@ -132,6 +158,15 @@ export class Script {
|
|
|
132
158
|
return this;
|
|
133
159
|
}
|
|
134
160
|
|
|
161
|
+
setClassName(value: string): this {
|
|
162
|
+
if (value === null || value === undefined) {
|
|
163
|
+
this.element.removeAttribute('className');
|
|
164
|
+
} else {
|
|
165
|
+
this.element.setAttribute('className', String(value));
|
|
166
|
+
}
|
|
167
|
+
return this;
|
|
168
|
+
}
|
|
169
|
+
|
|
135
170
|
setCrossorigin(value: 'anonymous' | 'use-credentials' | null | undefined): this {
|
|
136
171
|
if (value === null || value === undefined) {
|
|
137
172
|
this.element.removeAttribute('crossorigin');
|
|
@@ -141,6 +176,20 @@ export class Script {
|
|
|
141
176
|
return this;
|
|
142
177
|
}
|
|
143
178
|
|
|
179
|
+
setDataAttributes(value: Record<string, string>): this {
|
|
180
|
+
if (value === null || value === undefined) {
|
|
181
|
+
// Remove all data-* attributes (best-effort)
|
|
182
|
+
for (const __a of Array.from(this.element.attributes)) {
|
|
183
|
+
if ((__a as Attr).name.startsWith('data-')) { (this.element as HTMLElement).removeAttribute((__a as Attr).name); }
|
|
184
|
+
}
|
|
185
|
+
} else {
|
|
186
|
+
for (const __k in value as Record<string, string>) {
|
|
187
|
+
this.element.setAttribute(`data-${__k}`, String((value as any)[__k]));
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
return this;
|
|
191
|
+
}
|
|
192
|
+
|
|
144
193
|
setDefer(value: boolean | null | undefined): this {
|
|
145
194
|
if (value === true) {
|
|
146
195
|
this.element.setAttribute('defer', '');
|
|
@@ -159,6 +208,15 @@ export class Script {
|
|
|
159
208
|
return this;
|
|
160
209
|
}
|
|
161
210
|
|
|
211
|
+
setId(value: string): this {
|
|
212
|
+
if (value === null || value === undefined) {
|
|
213
|
+
this.element.removeAttribute('id');
|
|
214
|
+
} else {
|
|
215
|
+
this.element.setAttribute('id', String(value));
|
|
216
|
+
}
|
|
217
|
+
return this;
|
|
218
|
+
}
|
|
219
|
+
|
|
162
220
|
setIntegrity(value: string | null | undefined): this {
|
|
163
221
|
if (value === null || value === undefined) {
|
|
164
222
|
this.element.removeAttribute('integrity');
|