@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.
Files changed (405) hide show
  1. package/build-all.mjs +54 -0
  2. package/dist/block/article/article.js +465 -0
  3. package/dist/block/article/article.js.map +7 -0
  4. package/dist/block/aside/aside.js +476 -0
  5. package/dist/block/aside/aside.js.map +7 -0
  6. package/dist/block/audio/audio.js +454 -0
  7. package/dist/block/audio/audio.js.map +7 -0
  8. package/dist/block/blockquote/blockquote.js +476 -0
  9. package/dist/block/blockquote/blockquote.js.map +7 -0
  10. package/dist/block/body/body.js +378 -0
  11. package/dist/block/body/body.js.map +7 -0
  12. package/dist/block/canvas/canvas.js +487 -0
  13. package/dist/block/canvas/canvas.js.map +7 -0
  14. package/dist/block/caption/caption.js +465 -0
  15. package/dist/block/caption/caption.js.map +7 -0
  16. package/dist/block/colgroup/colgroup.js +190 -0
  17. package/dist/block/colgroup/colgroup.js.map +7 -0
  18. package/dist/block/datalist/datalist.js +465 -0
  19. package/dist/block/datalist/datalist.js.map +7 -0
  20. package/dist/block/dd/dd.js +422 -0
  21. package/dist/block/dd/dd.js.map +7 -0
  22. package/dist/block/del/del.js +487 -0
  23. package/dist/block/del/del.js.map +7 -0
  24. package/dist/block/details/details.js +520 -0
  25. package/dist/block/details/details.js.map +7 -0
  26. package/dist/block/dialog/dialog.js +520 -0
  27. package/dist/block/dialog/dialog.js.map +7 -0
  28. package/dist/block/div/div.js +520 -0
  29. package/dist/block/div/div.js.map +7 -0
  30. package/dist/block/dl/dl.js +465 -0
  31. package/dist/block/dl/dl.js.map +7 -0
  32. package/dist/block/dt/dt.js +422 -0
  33. package/dist/block/dt/dt.js.map +7 -0
  34. package/dist/block/embed/embed.js +333 -0
  35. package/dist/block/embed/embed.js.map +7 -0
  36. package/dist/block/fieldset/fieldset.js +509 -0
  37. package/dist/block/fieldset/fieldset.js.map +7 -0
  38. package/dist/block/figcaption/figcaption.js +465 -0
  39. package/dist/block/figcaption/figcaption.js.map +7 -0
  40. package/dist/block/figure/figure.js +465 -0
  41. package/dist/block/figure/figure.js.map +7 -0
  42. package/dist/block/footer/footer.js +476 -0
  43. package/dist/block/footer/footer.js.map +7 -0
  44. package/dist/block/form/form.js +443 -0
  45. package/dist/block/form/form.js.map +7 -0
  46. package/dist/block/h1/h1.js +454 -0
  47. package/dist/block/h1/h1.js.map +7 -0
  48. package/dist/block/h2/h2.js +454 -0
  49. package/dist/block/h2/h2.js.map +7 -0
  50. package/dist/block/h3/h3.js +454 -0
  51. package/dist/block/h3/h3.js.map +7 -0
  52. package/dist/block/h4/h4.js +454 -0
  53. package/dist/block/h4/h4.js.map +7 -0
  54. package/dist/block/h5/h5.js +454 -0
  55. package/dist/block/h5/h5.js.map +7 -0
  56. package/dist/block/h6/h6.js +454 -0
  57. package/dist/block/h6/h6.js.map +7 -0
  58. package/dist/block/header/header.js +322 -0
  59. package/dist/block/header/header.js.map +7 -0
  60. package/dist/block/hgroup/hgroup.js +465 -0
  61. package/dist/block/hgroup/hgroup.js.map +7 -0
  62. package/dist/block/hr/hr.js +169 -0
  63. package/dist/block/hr/hr.js.map +7 -0
  64. package/dist/block/html/html.js +92 -0
  65. package/dist/block/html/html.js.map +7 -0
  66. package/dist/block/iframe/iframe.js +465 -0
  67. package/dist/block/iframe/iframe.js.map +7 -0
  68. package/dist/block/ins/ins.js +487 -0
  69. package/dist/block/ins/ins.js.map +7 -0
  70. package/dist/block/legend/legend.js +465 -0
  71. package/dist/block/legend/legend.js.map +7 -0
  72. package/dist/block/li/li.js +488 -0
  73. package/dist/block/li/li.js.map +7 -0
  74. package/dist/block/main/main.js +444 -0
  75. package/dist/block/main/main.js.map +7 -0
  76. package/dist/block/map/map.js +476 -0
  77. package/dist/block/map/map.js.map +7 -0
  78. package/dist/block/menu/menu.js +498 -0
  79. package/dist/block/menu/menu.js.map +7 -0
  80. package/dist/block/nav/nav.js +455 -0
  81. package/dist/block/nav/nav.js.map +7 -0
  82. package/dist/block/noscript/noscript.js +311 -0
  83. package/dist/block/noscript/noscript.js.map +7 -0
  84. package/dist/block/object/object.js +542 -0
  85. package/dist/block/object/object.js.map +7 -0
  86. package/dist/block/ol/ol.js +542 -0
  87. package/dist/block/ol/ol.js.map +7 -0
  88. package/dist/block/optgroup/optgroup.js +476 -0
  89. package/dist/block/optgroup/optgroup.js.map +7 -0
  90. package/dist/block/option/option.js +542 -0
  91. package/dist/block/option/option.js.map +7 -0
  92. package/dist/block/p/p.js +465 -0
  93. package/dist/block/p/p.js.map +7 -0
  94. package/dist/block/picture/picture.js +465 -0
  95. package/dist/block/picture/picture.js.map +7 -0
  96. package/dist/block/pre/pre.js +465 -0
  97. package/dist/block/pre/pre.js.map +7 -0
  98. package/dist/block/section/section.js +487 -0
  99. package/dist/block/section/section.js.map +7 -0
  100. package/dist/block/summary/summary.js +466 -0
  101. package/dist/block/summary/summary.js.map +7 -0
  102. package/dist/block/table/table.js +509 -0
  103. package/dist/block/table/table.js.map +7 -0
  104. package/dist/block/tbody/tbody.js +465 -0
  105. package/dist/block/tbody/tbody.js.map +7 -0
  106. package/dist/block/td/td.js +575 -0
  107. package/dist/block/td/td.js.map +7 -0
  108. package/dist/block/template/template.js +465 -0
  109. package/dist/block/template/template.js.map +7 -0
  110. package/dist/block/tfoot/tfoot.js +465 -0
  111. package/dist/block/tfoot/tfoot.js.map +7 -0
  112. package/dist/block/th/th.js +586 -0
  113. package/dist/block/th/th.js.map +7 -0
  114. package/dist/block/thead/thead.js +465 -0
  115. package/dist/block/thead/thead.js.map +7 -0
  116. package/dist/block/tr/tr.js +586 -0
  117. package/dist/block/tr/tr.js.map +7 -0
  118. package/dist/block/ul/ul.js +509 -0
  119. package/dist/block/ul/ul.js.map +7 -0
  120. package/dist/block/video/video.js +575 -0
  121. package/dist/block/video/video.js.map +7 -0
  122. package/dist/index.js +48830 -0
  123. package/dist/index.js.map +7 -0
  124. package/dist/inline/a/a.js +586 -0
  125. package/dist/inline/a/a.js.map +7 -0
  126. package/dist/inline/abbr/abbr.js +454 -0
  127. package/dist/inline/abbr/abbr.js.map +7 -0
  128. package/dist/inline/address/address.js +443 -0
  129. package/dist/inline/address/address.js.map +7 -0
  130. package/dist/inline/b/b.js +465 -0
  131. package/dist/inline/b/b.js.map +7 -0
  132. package/dist/inline/bdi/bdi.js +454 -0
  133. package/dist/inline/bdi/bdi.js.map +7 -0
  134. package/dist/inline/bdo/bdo.js +465 -0
  135. package/dist/inline/bdo/bdo.js.map +7 -0
  136. package/dist/inline/button/button.js +685 -0
  137. package/dist/inline/button/button.js.map +7 -0
  138. package/dist/inline/cite/cite.js +465 -0
  139. package/dist/inline/cite/cite.js.map +7 -0
  140. package/dist/inline/code/code.js +465 -0
  141. package/dist/inline/code/code.js.map +7 -0
  142. package/dist/inline/data/data.js +476 -0
  143. package/dist/inline/data/data.js.map +7 -0
  144. package/dist/inline/dfn/dfn.js +465 -0
  145. package/dist/inline/dfn/dfn.js.map +7 -0
  146. package/dist/inline/em/em.js +465 -0
  147. package/dist/inline/em/em.js.map +7 -0
  148. package/dist/inline/i/i.js +465 -0
  149. package/dist/inline/i/i.js.map +7 -0
  150. package/dist/inline/img/img.js +399 -0
  151. package/dist/inline/img/img.js.map +7 -0
  152. package/dist/inline/input/input.js +938 -0
  153. package/dist/inline/input/input.js.map +7 -0
  154. package/dist/inline/kbd/kbd.js +465 -0
  155. package/dist/inline/kbd/kbd.js.map +7 -0
  156. package/dist/inline/label/label.js +487 -0
  157. package/dist/inline/label/label.js.map +7 -0
  158. package/dist/inline/mark/mark.js +465 -0
  159. package/dist/inline/mark/mark.js.map +7 -0
  160. package/dist/inline/meter/meter.js +498 -0
  161. package/dist/inline/meter/meter.js.map +7 -0
  162. package/dist/inline/output/output.js +410 -0
  163. package/dist/inline/output/output.js.map +7 -0
  164. package/dist/inline/progress/progress.js +454 -0
  165. package/dist/inline/progress/progress.js.map +7 -0
  166. package/dist/inline/q/q.js +476 -0
  167. package/dist/inline/q/q.js.map +7 -0
  168. package/dist/inline/rp/rp.js +465 -0
  169. package/dist/inline/rp/rp.js.map +7 -0
  170. package/dist/inline/rt/rt.js +465 -0
  171. package/dist/inline/rt/rt.js.map +7 -0
  172. package/dist/inline/ruby/ruby.js +465 -0
  173. package/dist/inline/ruby/ruby.js.map +7 -0
  174. package/dist/inline/s/s.js +465 -0
  175. package/dist/inline/s/s.js.map +7 -0
  176. package/dist/inline/samp/samp.js +465 -0
  177. package/dist/inline/samp/samp.js.map +7 -0
  178. package/dist/inline/select/select.js +674 -0
  179. package/dist/inline/select/select.js.map +7 -0
  180. package/dist/inline/slot/slot.js +476 -0
  181. package/dist/inline/slot/slot.js.map +7 -0
  182. package/dist/inline/small/small.js +465 -0
  183. package/dist/inline/small/small.js.map +7 -0
  184. package/dist/inline/span/span.js +465 -0
  185. package/dist/inline/span/span.js.map +7 -0
  186. package/dist/inline/strong/strong.js +465 -0
  187. package/dist/inline/strong/strong.js.map +7 -0
  188. package/dist/inline/sub/sub.js +465 -0
  189. package/dist/inline/sub/sub.js.map +7 -0
  190. package/dist/inline/sup/sup.js +465 -0
  191. package/dist/inline/sup/sup.js.map +7 -0
  192. package/dist/inline/svg/svg.js +542 -0
  193. package/dist/inline/svg/svg.js.map +7 -0
  194. package/dist/inline/textarea/textarea.js +718 -0
  195. package/dist/inline/textarea/textarea.js.map +7 -0
  196. package/dist/inline/time/time.js +476 -0
  197. package/dist/inline/time/time.js.map +7 -0
  198. package/dist/inline/u/u.js +465 -0
  199. package/dist/inline/u/u.js.map +7 -0
  200. package/dist/inline/var/var.js +465 -0
  201. package/dist/inline/var/var.js.map +7 -0
  202. package/dist/void/area/area.js +388 -0
  203. package/dist/void/area/area.js.map +7 -0
  204. package/dist/void/base/base.js +37 -0
  205. package/dist/void/base/base.js.map +7 -0
  206. package/dist/void/br/br.js +135 -0
  207. package/dist/void/br/br.js.map +7 -0
  208. package/dist/void/col/col.js +135 -0
  209. package/dist/void/col/col.js.map +7 -0
  210. package/dist/void/head/head.js +37 -0
  211. package/dist/void/head/head.js.map +7 -0
  212. package/dist/void/link/link.js +213 -0
  213. package/dist/void/link/link.js.map +7 -0
  214. package/dist/void/meta/meta.js +147 -0
  215. package/dist/void/meta/meta.js.map +7 -0
  216. package/dist/void/param/param.js +146 -0
  217. package/dist/void/param/param.js.map +7 -0
  218. package/dist/void/script/script.js +213 -0
  219. package/dist/void/script/script.js.map +7 -0
  220. package/dist/void/source/source.js +168 -0
  221. package/dist/void/source/source.js.map +7 -0
  222. package/dist/void/style/style.js +147 -0
  223. package/dist/void/style/style.js.map +7 -0
  224. package/dist/void/title/title.js +37 -0
  225. package/dist/void/title/title.js.map +7 -0
  226. package/dist/void/track/track.js +190 -0
  227. package/dist/void/track/track.js.map +7 -0
  228. package/dist/void/wbr/wbr.js +124 -0
  229. package/dist/void/wbr/wbr.js.map +7 -0
  230. package/package.json +4 -4
  231. package/src/block/article/article.ts +649 -0
  232. package/{block → src/block}/aside/aside.ts +144 -1
  233. package/{block → src/block}/audio/audio.ts +128 -1
  234. package/src/block/blockquote/blockquote.ts +665 -0
  235. package/{block → src/block}/body/body.ts +91 -1
  236. package/{block → src/block}/canvas/canvas.ts +144 -1
  237. package/src/block/caption/caption.ts +649 -0
  238. package/{block → src/block}/colgroup/colgroup.ts +96 -1
  239. package/src/block/datalist/datalist.ts +649 -0
  240. package/{block/dialog/dialog.ts → src/block/dd/dd.ts} +114 -88
  241. package/{block → src/block}/del/del.ts +144 -1
  242. package/src/block/details/details.ts +729 -0
  243. package/src/block/dialog/dialog.ts +729 -0
  244. package/src/block/div/div.ts +729 -0
  245. package/src/block/dl/dl.ts +649 -0
  246. package/{block/details/details.ts → src/block/dt/dt.ts} +114 -88
  247. package/{block → src/block}/embed/embed.ts +144 -1
  248. package/{block → src/block}/fieldset/fieldset.ts +144 -1
  249. package/src/block/figcaption/figcaption.ts +649 -0
  250. package/src/block/figure/figure.ts +649 -0
  251. package/src/block/footer/footer.ts +665 -0
  252. package/{block → src/block}/form/form.ts +132 -5
  253. package/src/block/h1/h1.ts +633 -0
  254. package/src/block/h2/h2.ts +633 -0
  255. package/src/block/h3/h3.ts +633 -0
  256. package/src/block/h4/h4.ts +633 -0
  257. package/src/block/h5/h5.ts +633 -0
  258. package/src/block/h6/h6.ts +633 -0
  259. package/{block → src/block}/header/header.ts +144 -1
  260. package/src/block/hgroup/hgroup.ts +649 -0
  261. package/{block → src/block}/hr/hr.ts +59 -1
  262. package/{block → src/block}/html/html.ts +27 -1
  263. package/{block → src/block}/iframe/iframe.ts +112 -1
  264. package/{block → src/block}/ins/ins.ts +144 -1
  265. package/src/block/legend/legend.ts +649 -0
  266. package/{block → src/block}/li/li.ts +107 -1
  267. package/{block/div/div.ts → src/block/main/main.ts} +112 -54
  268. package/src/block/map/map.ts +665 -0
  269. package/{block → src/block}/menu/menu.ts +144 -1
  270. package/{block → src/block}/nav/nav.ts +107 -1
  271. package/{block → src/block}/noscript/noscript.ts +144 -1
  272. package/{block → src/block}/object/object.ts +144 -1
  273. package/{block → src/block}/ol/ol.ts +144 -1
  274. package/{block → src/block}/optgroup/optgroup.ts +144 -1
  275. package/{block → src/block}/option/option.ts +144 -1
  276. package/src/block/p/p.ts +649 -0
  277. package/src/block/picture/picture.ts +649 -0
  278. package/src/block/pre/pre.ts +649 -0
  279. package/{block → src/block}/section/section.ts +144 -1
  280. package/{block → src/block}/summary/summary.ts +107 -1
  281. package/{block → src/block}/table/table.ts +144 -1
  282. package/src/block/tbody/tbody.ts +649 -0
  283. package/{block → src/block}/td/td.ts +144 -1
  284. package/src/block/template/template.ts +649 -0
  285. package/src/block/tfoot/tfoot.ts +649 -0
  286. package/{block → src/block}/th/th.ts +144 -1
  287. package/src/block/thead/thead.ts +649 -0
  288. package/{block → src/block}/tr/tr.ts +144 -1
  289. package/{block → src/block}/ul/ul.ts +144 -1
  290. package/{block → src/block}/video/video.ts +144 -1
  291. package/{inline → src/inline}/a/a.ts +144 -1
  292. package/src/inline/abbr/abbr.ts +633 -0
  293. package/src/inline/address/address.ts +617 -0
  294. package/src/inline/b/b.ts +649 -0
  295. package/src/inline/bdi/bdi.ts +633 -0
  296. package/src/inline/bdo/bdo.ts +649 -0
  297. package/{inline → src/inline}/button/button.ts +145 -2
  298. package/src/inline/cite/cite.ts +649 -0
  299. package/src/inline/code/code.ts +649 -0
  300. package/src/inline/data/data.ts +665 -0
  301. package/src/inline/dfn/dfn.ts +649 -0
  302. package/src/inline/em/em.ts +649 -0
  303. package/src/inline/i/i.ts +649 -0
  304. package/{inline → src/inline}/img/img.ts +112 -1
  305. package/{inline → src/inline}/input/input.ts +145 -2
  306. package/src/inline/kbd/kbd.ts +649 -0
  307. package/{inline → src/inline}/label/label.ts +144 -1
  308. package/src/inline/mark/mark.ts +649 -0
  309. package/{inline → src/inline}/meter/meter.ts +144 -1
  310. package/{inline → src/inline}/output/output.ts +144 -1
  311. package/{inline → src/inline}/progress/progress.ts +144 -1
  312. package/src/inline/q/q.ts +665 -0
  313. package/src/inline/rp/rp.ts +649 -0
  314. package/src/inline/rt/rt.ts +649 -0
  315. package/src/inline/ruby/ruby.ts +649 -0
  316. package/src/inline/s/s.ts +649 -0
  317. package/src/inline/samp/samp.ts +649 -0
  318. package/{inline → src/inline}/select/select.ts +144 -1
  319. package/src/inline/slot/slot.ts +665 -0
  320. package/src/inline/small/small.ts +649 -0
  321. package/src/inline/span/span.ts +649 -0
  322. package/src/inline/strong/strong.ts +649 -0
  323. package/src/inline/sub/sub.ts +649 -0
  324. package/src/inline/sup/sup.ts +649 -0
  325. package/{inline → src/inline}/svg/svg.ts +144 -1
  326. package/{inline → src/inline}/textarea/textarea.ts +144 -1
  327. package/src/inline/time/time.ts +665 -0
  328. package/src/inline/u/u.ts +649 -0
  329. package/src/inline/var/var.ts +649 -0
  330. package/{void → src/void}/area/area.ts +144 -1
  331. package/{void → src/void}/base/base.ts +1 -1
  332. package/src/void/br/br.ts +172 -0
  333. package/src/void/col/col.ts +172 -0
  334. package/{void → src/void}/head/head.ts +1 -1
  335. package/{void → src/void}/link/link.ts +59 -1
  336. package/{void → src/void}/meta/meta.ts +59 -1
  337. package/src/void/param/param.ts +188 -0
  338. package/{void → src/void}/script/script.ts +59 -1
  339. package/src/void/source/source.ts +220 -0
  340. package/{void → src/void}/style/style.ts +59 -1
  341. package/{void → src/void}/title/title.ts +1 -1
  342. package/{void → src/void}/track/track.ts +96 -1
  343. package/src/void/wbr/wbr.ts +156 -0
  344. package/block/article/article.ts +0 -506
  345. package/block/blockquote/blockquote.ts +0 -522
  346. package/block/caption/caption.ts +0 -506
  347. package/block/datalist/datalist.ts +0 -506
  348. package/block/dd/dd.ts +0 -506
  349. package/block/dl/dl.ts +0 -506
  350. package/block/dt/dt.ts +0 -506
  351. package/block/figcaption/figcaption.ts +0 -506
  352. package/block/figure/figure.ts +0 -506
  353. package/block/footer/footer.ts +0 -522
  354. package/block/h1/h1.ts +0 -490
  355. package/block/h2/h2.ts +0 -490
  356. package/block/h3/h3.ts +0 -490
  357. package/block/h4/h4.ts +0 -490
  358. package/block/h5/h5.ts +0 -490
  359. package/block/h6/h6.ts +0 -490
  360. package/block/hgroup/hgroup.ts +0 -506
  361. package/block/legend/legend.ts +0 -506
  362. package/block/main/main.ts +0 -538
  363. package/block/map/map.ts +0 -522
  364. package/block/p/p.ts +0 -506
  365. package/block/picture/picture.ts +0 -506
  366. package/block/pre/pre.ts +0 -506
  367. package/block/tbody/tbody.ts +0 -506
  368. package/block/template/template.ts +0 -506
  369. package/block/tfoot/tfoot.ts +0 -506
  370. package/block/thead/thead.ts +0 -506
  371. package/inline/abbr/abbr.ts +0 -490
  372. package/inline/address/address.ts +0 -474
  373. package/inline/b/b.ts +0 -506
  374. package/inline/bdi/bdi.ts +0 -490
  375. package/inline/bdo/bdo.ts +0 -506
  376. package/inline/cite/cite.ts +0 -506
  377. package/inline/code/code.ts +0 -506
  378. package/inline/data/data.ts +0 -522
  379. package/inline/dfn/dfn.ts +0 -506
  380. package/inline/em/em.ts +0 -506
  381. package/inline/i/i.ts +0 -506
  382. package/inline/kbd/kbd.ts +0 -506
  383. package/inline/mark/mark.ts +0 -506
  384. package/inline/q/q.ts +0 -522
  385. package/inline/rp/rp.ts +0 -506
  386. package/inline/rt/rt.ts +0 -506
  387. package/inline/ruby/ruby.ts +0 -506
  388. package/inline/s/s.ts +0 -506
  389. package/inline/samp/samp.ts +0 -506
  390. package/inline/slot/slot.ts +0 -522
  391. package/inline/small/small.ts +0 -506
  392. package/inline/span/span.ts +0 -506
  393. package/inline/strong/strong.ts +0 -506
  394. package/inline/sub/sub.ts +0 -506
  395. package/inline/sup/sup.ts +0 -506
  396. package/inline/time/time.ts +0 -522
  397. package/inline/u/u.ts +0 -506
  398. package/inline/var/var.ts +0 -506
  399. package/void/br/br.ts +0 -77
  400. package/void/col/col.ts +0 -77
  401. package/void/param/param.ts +0 -93
  402. package/void/source/source.ts +0 -125
  403. package/void/wbr/wbr.ts +0 -61
  404. /package/{index.ts → src/index.ts} +0 -0
  405. /package/{tsconfig.json → src/tsconfig.json} +0 -0
@@ -0,0 +1,399 @@
1
+ // src/inline/img/img.ts
2
+ var Img = class {
3
+ constructor(props = {}) {
4
+ this.element = document.createElement("img");
5
+ this.applyProps(props);
6
+ }
7
+ applyProps(props) {
8
+ if (props["alpine-attributes"] !== void 0) {
9
+ const __map = props["alpine-attributes"];
10
+ if (__map !== null && __map !== void 0) {
11
+ for (const __k in __map) {
12
+ const __v = __map[__k];
13
+ let __attr = __k;
14
+ if (__k.startsWith("@")) {
15
+ __attr = "x-on:" + __k.slice(1);
16
+ } else if (__k.startsWith(":")) {
17
+ __attr = "x-bind:" + __k.slice(1);
18
+ } else if (__k.startsWith(".")) {
19
+ __attr = "x-model" + __k;
20
+ } else if (!__k.startsWith("x-") && ["show", "text", "html", "if", "for", "cloak", "init", "data", "effect", "ignore", "ref", "transition", "teleport"].includes(__k)) {
21
+ __attr = "x-" + __k;
22
+ }
23
+ this.element.setAttribute(__attr, String(__v));
24
+ }
25
+ }
26
+ }
27
+ if (props.alt !== void 0) {
28
+ this.element.setAttribute("alt", String(props.alt));
29
+ }
30
+ if (props["aria-atomic"] !== void 0) {
31
+ this.setAriaAtomic(props["aria-atomic"]);
32
+ }
33
+ if (props["aria-details"] !== void 0) {
34
+ this.element.setAttribute("aria-details", String(props["aria-details"]));
35
+ }
36
+ if (props["aria-hidden"] !== void 0) {
37
+ this.setAriaHidden(props["aria-hidden"]);
38
+ }
39
+ if (props["aria-keyshortcuts"] !== void 0) {
40
+ this.element.setAttribute("aria-keyshortcuts", String(props["aria-keyshortcuts"]));
41
+ }
42
+ if (props["aria-label"] !== void 0) {
43
+ this.element.setAttribute("aria-label", String(props["aria-label"]));
44
+ }
45
+ if (props["aria-live"] !== void 0) {
46
+ this.setAriaLive(props["aria-live"]);
47
+ }
48
+ if (props["aria-relevant"] !== void 0) {
49
+ this.setAriaRelevant(props["aria-relevant"]);
50
+ }
51
+ if (props["aria-roledescription"] !== void 0) {
52
+ this.element.setAttribute("aria-roledescription", String(props["aria-roledescription"]));
53
+ }
54
+ if (props.className !== void 0) {
55
+ this.element.setAttribute("className", String(props.className));
56
+ }
57
+ if (props.crossorigin !== void 0) {
58
+ this.setCrossorigin(props.crossorigin);
59
+ }
60
+ if (props["data-attributes"] !== void 0) {
61
+ const __map = props["data-attributes"];
62
+ if (__map !== null && __map !== void 0) {
63
+ for (const __k in __map) {
64
+ this.element.setAttribute(`data-${__k}`, String(__map[__k]));
65
+ }
66
+ }
67
+ }
68
+ if (props.decoding !== void 0) {
69
+ this.setDecoding(props.decoding);
70
+ }
71
+ if (props.dir !== void 0) {
72
+ this.setDir(props.dir);
73
+ }
74
+ if (props.draggable !== void 0) {
75
+ this.element.setAttribute("draggable", String(props.draggable));
76
+ }
77
+ if (props.height !== void 0) {
78
+ this.element.setAttribute("height", String(props.height));
79
+ }
80
+ if (props.hidden !== void 0) {
81
+ this.element.setAttribute("hidden", String(props.hidden));
82
+ }
83
+ if (props.id !== void 0) {
84
+ this.element.setAttribute("id", String(props.id));
85
+ }
86
+ if (props.ismap !== void 0) {
87
+ this.element.setAttribute("ismap", String(props.ismap));
88
+ }
89
+ if (props.lang !== void 0) {
90
+ this.element.setAttribute("lang", String(props.lang));
91
+ }
92
+ if (props.referrerpolicy !== void 0) {
93
+ this.setReferrerpolicy(props.referrerpolicy);
94
+ }
95
+ if (props.sizes !== void 0) {
96
+ this.element.setAttribute("sizes", String(props.sizes));
97
+ }
98
+ if (props.src !== void 0) {
99
+ this.element.setAttribute("src", String(props.src));
100
+ }
101
+ if (props.srcset !== void 0) {
102
+ this.element.setAttribute("srcset", String(props.srcset));
103
+ }
104
+ if (props.style !== void 0) {
105
+ this.element.setAttribute("style", String(props.style));
106
+ }
107
+ if (props.tabIndex !== void 0) {
108
+ this.element.setAttribute("tabIndex", String(props.tabIndex));
109
+ }
110
+ if (props.tabindex !== void 0) {
111
+ this.element.setAttribute("tabindex", String(props.tabindex));
112
+ }
113
+ if (props.title !== void 0) {
114
+ this.element.setAttribute("title", String(props.title));
115
+ }
116
+ if (props.usemap !== void 0) {
117
+ this.element.setAttribute("usemap", String(props.usemap));
118
+ }
119
+ if (props.width !== void 0) {
120
+ this.element.setAttribute("width", String(props.width));
121
+ }
122
+ }
123
+ setAlpineAttributes(value) {
124
+ if (value === null || value === void 0) {
125
+ for (const __a of Array.from(this.element.attributes)) {
126
+ if (__a.name.startsWith("x-")) {
127
+ this.element.removeAttribute(__a.name);
128
+ }
129
+ }
130
+ } else {
131
+ for (const __k in value) {
132
+ let __attr = __k;
133
+ if (__k.startsWith("@")) {
134
+ __attr = "x-on:" + __k.slice(1);
135
+ } else if (__k.startsWith(":")) {
136
+ __attr = "x-bind:" + __k.slice(1);
137
+ } else if (__k.startsWith(".")) {
138
+ __attr = "x-model" + __k;
139
+ } else if (!__k.startsWith("x-") && ["show", "text", "html", "if", "for", "cloak", "init", "data", "effect", "ignore", "ref", "transition", "teleport"].includes(__k)) {
140
+ __attr = "x-" + __k;
141
+ }
142
+ this.element.setAttribute(__attr, String(value[__k]));
143
+ }
144
+ }
145
+ return this;
146
+ }
147
+ setAlt(value) {
148
+ if (value === null || value === void 0) {
149
+ this.element.removeAttribute("alt");
150
+ } else {
151
+ this.element.setAttribute("alt", String(value));
152
+ }
153
+ return this;
154
+ }
155
+ setAriaAtomic(value) {
156
+ if (value === null || value === void 0) {
157
+ this.element.removeAttribute("aria-atomic");
158
+ } else {
159
+ this.element.setAttribute("aria-atomic", String(value));
160
+ }
161
+ return this;
162
+ }
163
+ setAriaDetails(value) {
164
+ if (value === null || value === void 0) {
165
+ this.element.removeAttribute("aria-details");
166
+ } else {
167
+ this.element.setAttribute("aria-details", String(value));
168
+ }
169
+ return this;
170
+ }
171
+ setAriaHidden(value) {
172
+ if (value === null || value === void 0) {
173
+ this.element.removeAttribute("aria-hidden");
174
+ } else {
175
+ this.element.setAttribute("aria-hidden", String(value));
176
+ }
177
+ return this;
178
+ }
179
+ setAriaKeyshortcuts(value) {
180
+ if (value === null || value === void 0) {
181
+ this.element.removeAttribute("aria-keyshortcuts");
182
+ } else {
183
+ this.element.setAttribute("aria-keyshortcuts", String(value));
184
+ }
185
+ return this;
186
+ }
187
+ setAriaLabel(value) {
188
+ if (value === null || value === void 0) {
189
+ this.element.removeAttribute("aria-label");
190
+ } else {
191
+ this.element.setAttribute("aria-label", String(value));
192
+ }
193
+ return this;
194
+ }
195
+ setAriaLive(value) {
196
+ if (value === null || value === void 0) {
197
+ this.element.removeAttribute("aria-live");
198
+ } else {
199
+ this.element.setAttribute("aria-live", String(value));
200
+ }
201
+ return this;
202
+ }
203
+ setAriaRelevant(value) {
204
+ if (value === null || value === void 0) {
205
+ this.element.removeAttribute("aria-relevant");
206
+ } else {
207
+ this.element.setAttribute("aria-relevant", String(value));
208
+ }
209
+ return this;
210
+ }
211
+ setAriaRoledescription(value) {
212
+ if (value === null || value === void 0) {
213
+ this.element.removeAttribute("aria-roledescription");
214
+ } else {
215
+ this.element.setAttribute("aria-roledescription", String(value));
216
+ }
217
+ return this;
218
+ }
219
+ setClassName(value) {
220
+ if (value === null || value === void 0) {
221
+ this.element.removeAttribute("className");
222
+ } else {
223
+ this.element.setAttribute("className", String(value));
224
+ }
225
+ return this;
226
+ }
227
+ setCrossorigin(value) {
228
+ if (value === null || value === void 0) {
229
+ this.element.removeAttribute("crossorigin");
230
+ } else {
231
+ this.element.setAttribute("crossorigin", String(value));
232
+ }
233
+ return this;
234
+ }
235
+ setDataAttributes(value) {
236
+ if (value === null || value === void 0) {
237
+ for (const __a of Array.from(this.element.attributes)) {
238
+ if (__a.name.startsWith("data-")) {
239
+ this.element.removeAttribute(__a.name);
240
+ }
241
+ }
242
+ } else {
243
+ for (const __k in value) {
244
+ this.element.setAttribute(`data-${__k}`, String(value[__k]));
245
+ }
246
+ }
247
+ return this;
248
+ }
249
+ setDecoding(value) {
250
+ if (value === null || value === void 0) {
251
+ this.element.removeAttribute("decoding");
252
+ } else {
253
+ this.element.setAttribute("decoding", String(value));
254
+ }
255
+ return this;
256
+ }
257
+ setDir(value) {
258
+ if (value === null || value === void 0) {
259
+ this.element.removeAttribute("dir");
260
+ } else {
261
+ this.element.setAttribute("dir", String(value));
262
+ }
263
+ return this;
264
+ }
265
+ setDraggable(value) {
266
+ if (value === true) {
267
+ this.element.setAttribute("draggable", "");
268
+ } else {
269
+ this.element.removeAttribute("draggable");
270
+ }
271
+ return this;
272
+ }
273
+ setHeight(value) {
274
+ if (value === null || value === void 0) {
275
+ this.element.removeAttribute("height");
276
+ } else {
277
+ this.element.setAttribute("height", String(value));
278
+ }
279
+ return this;
280
+ }
281
+ setHidden(value) {
282
+ if (value === true) {
283
+ this.element.setAttribute("hidden", "");
284
+ } else {
285
+ this.element.removeAttribute("hidden");
286
+ }
287
+ return this;
288
+ }
289
+ setId(value) {
290
+ if (value === null || value === void 0) {
291
+ this.element.removeAttribute("id");
292
+ } else {
293
+ this.element.setAttribute("id", String(value));
294
+ }
295
+ return this;
296
+ }
297
+ setIsmap(value) {
298
+ if (value === true) {
299
+ this.element.setAttribute("ismap", "");
300
+ } else {
301
+ this.element.removeAttribute("ismap");
302
+ }
303
+ return this;
304
+ }
305
+ setLang(value) {
306
+ if (value === null || value === void 0) {
307
+ this.element.removeAttribute("lang");
308
+ } else {
309
+ this.element.setAttribute("lang", String(value));
310
+ }
311
+ return this;
312
+ }
313
+ setReferrerpolicy(value) {
314
+ if (value === null || value === void 0) {
315
+ this.element.removeAttribute("referrerpolicy");
316
+ } else {
317
+ this.element.setAttribute("referrerpolicy", String(value));
318
+ }
319
+ return this;
320
+ }
321
+ setSizes(value) {
322
+ if (value === null || value === void 0) {
323
+ this.element.removeAttribute("sizes");
324
+ } else {
325
+ this.element.setAttribute("sizes", String(value));
326
+ }
327
+ return this;
328
+ }
329
+ setSrc(value) {
330
+ if (value === null || value === void 0) {
331
+ this.element.removeAttribute("src");
332
+ } else {
333
+ this.element.setAttribute("src", String(value));
334
+ }
335
+ return this;
336
+ }
337
+ setSrcset(value) {
338
+ if (value === null || value === void 0) {
339
+ this.element.removeAttribute("srcset");
340
+ } else {
341
+ this.element.setAttribute("srcset", String(value));
342
+ }
343
+ return this;
344
+ }
345
+ setStyle(value) {
346
+ if (value === null || value === void 0) {
347
+ this.element.removeAttribute("style");
348
+ } else {
349
+ this.element.setAttribute("style", String(value));
350
+ }
351
+ return this;
352
+ }
353
+ setTabIndex(value) {
354
+ if (value === null || value === void 0) {
355
+ this.element.removeAttribute("tabIndex");
356
+ } else {
357
+ this.element.setAttribute("tabIndex", String(value));
358
+ }
359
+ return this;
360
+ }
361
+ setTabindex(value) {
362
+ if (value === null || value === void 0) {
363
+ this.element.removeAttribute("tabindex");
364
+ } else {
365
+ this.element.setAttribute("tabindex", String(value));
366
+ }
367
+ return this;
368
+ }
369
+ setTitle(value) {
370
+ if (value === null || value === void 0) {
371
+ this.element.removeAttribute("title");
372
+ } else {
373
+ this.element.setAttribute("title", String(value));
374
+ }
375
+ return this;
376
+ }
377
+ setUsemap(value) {
378
+ if (value === null || value === void 0) {
379
+ this.element.removeAttribute("usemap");
380
+ } else {
381
+ this.element.setAttribute("usemap", String(value));
382
+ }
383
+ return this;
384
+ }
385
+ setWidth(value) {
386
+ if (value === null || value === void 0) {
387
+ this.element.removeAttribute("width");
388
+ } else {
389
+ this.element.setAttribute("width", String(value));
390
+ }
391
+ return this;
392
+ }
393
+ getElement() {
394
+ return this.element;
395
+ }
396
+ };
397
+ export {
398
+ Img
399
+ };
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/inline/img/img.ts"],
4
+ "sourcesContent": ["/**\n * THIS FILE IS AUTOGENERATED. DO NOT EDIT IT.\n *\n * @generated January 2, 2026 15:45:45\n * @component Img\n * @description \n */\n\nexport interface ImgProps {\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 * Specifies alternative text to be displayed when the image cannot be rendered.\n */\n alt?: 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 * References an element that provides additional details about the current element.\n */\n 'aria-details'?: string | null | undefined;\n /**\n * Indicates whether the element is exposed to an accessibility API. Use with caution on interactive elements. Set to true only on decorative elements such as icons, or when nav isnt visible\n */\n 'aria-hidden'?: 'false' | 'true' | boolean | 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 * Defines how updates to the element should be announced to screen readers.\n */\n 'aria-live'?: 'off' | 'polite' | 'assertive' | 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 * CSS class names\n */\n className?: string;\n /**\n * \n */\n crossorigin?: 'anonymous' | 'use-credentials' | 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 * Specifies the decoding process applied to the image.\n */\n decoding?: 'async' | 'auto' | 'sync' | 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 * Specifies the height of the element. The meaning may vary depending on the element type. Accepts integers, pixels (px), and percentages (%).\n */\n height?: string | null | undefined;\n /**\n * Indicates whether the element is hidden\n */\n hidden?: boolean | null | undefined;\n /**\n * Unique identifier\n */\n id?: string;\n /**\n * Specifies that an area should be part of an image map.\n */\n ismap?: boolean | null | undefined;\n /**\n * Specifies the primary language for the element's content\n */\n lang?: string | null | undefined;\n /**\n * Specifies the referrer policy for fetches initiated by the element.\n */\n referrerpolicy?: 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url' | null | undefined;\n /**\n * Specifies the sizes of the images or icons for different display/window sizes.\n */\n sizes?: string | null | undefined;\n /**\n * Specifies the URL of the external resource to be embedded or referenced.\n */\n src?: string | null | undefined;\n /**\n * Specifies a set of image candidate URLs and descriptors for responsive images.\n */\n srcset?: string | null | undefined;\n /**\n * Represents the CSS inline style of the element\n */\n style?: string | null | undefined;\n /**\n * Tab order position\n */\n tabIndex?: number;\n /**\n * Represents a tab order of the element\n */\n tabindex?: number | null | undefined;\n /**\n * Represents a title or tooltip for the element\n */\n title?: string | null | undefined;\n /**\n * Specifies a client-side image map to be used with the element.\n */\n usemap?: string | null | undefined;\n /**\n * Specifies the width of the element. The meaning may vary depending on the element type. Accepts integers, pixels (px), and percentages (%).\n */\n width?: string | null | undefined;\n}\n\n/**\n * Img - \n */\nexport class Img {\n private element: HTMLElement;\n\n constructor(props: ImgProps = {}) {\n this.element = document.createElement('img');\n this.applyProps(props);\n }\n\n private applyProps(props: ImgProps): void {\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.alt !== undefined) {\n this.element.setAttribute('alt', String(props.alt));\n }\n if (props['aria-atomic'] !== undefined) {\n this.setAriaAtomic(props['aria-atomic']);\n }\n if (props['aria-details'] !== undefined) {\n this.element.setAttribute('aria-details', String(props['aria-details']));\n }\n if (props['aria-hidden'] !== undefined) {\n this.setAriaHidden(props['aria-hidden']);\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-live'] !== undefined) {\n this.setAriaLive(props['aria-live']);\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.className !== undefined) {\n this.element.setAttribute('className', String(props.className));\n }\n if (props.crossorigin !== undefined) {\n this.setCrossorigin(props.crossorigin);\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.decoding !== undefined) {\n this.setDecoding(props.decoding);\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.height !== undefined) {\n this.element.setAttribute('height', String(props.height));\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.ismap !== undefined) {\n this.element.setAttribute('ismap', String(props.ismap));\n }\n if (props.lang !== undefined) {\n this.element.setAttribute('lang', String(props.lang));\n }\n if (props.referrerpolicy !== undefined) {\n this.setReferrerpolicy(props.referrerpolicy);\n }\n if (props.sizes !== undefined) {\n this.element.setAttribute('sizes', String(props.sizes));\n }\n if (props.src !== undefined) {\n this.element.setAttribute('src', String(props.src));\n }\n if (props.srcset !== undefined) {\n this.element.setAttribute('srcset', String(props.srcset));\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.usemap !== undefined) {\n this.element.setAttribute('usemap', String(props.usemap));\n }\n if (props.width !== undefined) {\n this.element.setAttribute('width', String(props.width));\n }\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 setAlt(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('alt');\n } else {\n this.element.setAttribute('alt', String(value));\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 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 setAriaHidden(value: 'false' | 'true' | boolean | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('aria-hidden');\n } else {\n this.element.setAttribute('aria-hidden', 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 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 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 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 setCrossorigin(value: 'anonymous' | 'use-credentials' | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('crossorigin');\n } else {\n this.element.setAttribute('crossorigin', 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 setDecoding(value: 'async' | 'auto' | 'sync' | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('decoding');\n } else {\n this.element.setAttribute('decoding', String(value));\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 setHeight(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('height');\n } else {\n this.element.setAttribute('height', String(value));\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 setIsmap(value: boolean | null | undefined): this {\n if (value === true) {\n this.element.setAttribute('ismap', '');\n } else {\n this.element.removeAttribute('ismap');\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 setReferrerpolicy(value: 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url' | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('referrerpolicy');\n } else {\n this.element.setAttribute('referrerpolicy', String(value));\n }\n return this;\n }\n\n setSizes(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('sizes');\n } else {\n this.element.setAttribute('sizes', String(value));\n }\n return this;\n }\n\n setSrc(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('src');\n } else {\n this.element.setAttribute('src', String(value));\n }\n return this;\n }\n\n setSrcset(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('srcset');\n } else {\n this.element.setAttribute('srcset', 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 setUsemap(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('usemap');\n } else {\n this.element.setAttribute('usemap', String(value));\n }\n return this;\n }\n\n setWidth(value: string | null | undefined): this {\n if (value === null || value === undefined) {\n this.element.removeAttribute('width');\n } else {\n this.element.setAttribute('width', String(value));\n }\n return this;\n }\n\n getElement(): HTMLElement {\n return this.element;\n }\n}\n"],
5
+ "mappings": ";AA0IO,IAAM,MAAN,MAAU;AAAA,EAGf,YAAY,QAAkB,CAAC,GAAG;AAChC,SAAK,UAAU,SAAS,cAAc,KAAK;AAC3C,SAAK,WAAW,KAAK;AAAA,EACvB;AAAA,EAEQ,WAAW,OAAuB;AACxC,QAAI,MAAM,mBAAmB,MAAM,QAAW;AAC5C,YAAM,QAAQ,MAAM,mBAAmB;AACvC,UAAI,UAAU,QAAQ,UAAU,QAAW;AACzC,mBAAW,OAAO,OAAO;AACvB,gBAAM,MAAO,MAAc,GAAG;AAC9B,cAAI,SAAS;AACb,cAAI,IAAI,WAAW,GAAG,GAAG;AAAE,qBAAS,UAAU,IAAI,MAAM,CAAC;AAAA,UAAG,WACnD,IAAI,WAAW,GAAG,GAAG;AAAE,qBAAS,YAAY,IAAI,MAAM,CAAC;AAAA,UAAG,WAC1D,IAAI,WAAW,GAAG,GAAG;AAAE,qBAAS,YAAY;AAAA,UAAK,WACjD,CAAC,IAAI,WAAW,IAAI,KAAK,CAAC,QAAO,QAAO,QAAO,MAAK,OAAM,SAAQ,QAAO,QAAO,UAAS,UAAS,OAAM,cAAa,UAAU,EAAE,SAAS,GAAG,GAAG;AAAE,qBAAS,OAAO;AAAA,UAAK;AAChL,eAAK,QAAQ,aAAa,QAAQ,OAAO,GAAG,CAAC;AAAA,QAC/C;AAAA,MACF;AAAA,IACF;AACA,QAAI,MAAM,QAAQ,QAAW;AAC3B,WAAK,QAAQ,aAAa,OAAO,OAAO,MAAM,GAAG,CAAC;AAAA,IACpD;AACA,QAAI,MAAM,aAAa,MAAM,QAAW;AACtC,WAAK,cAAc,MAAM,aAAa,CAAC;AAAA,IACzC;AACA,QAAI,MAAM,cAAc,MAAM,QAAW;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