@stencil/core 4.43.2 → 5.0.0-next.0

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 (368) hide show
  1. package/bin/stencil.mjs +2 -0
  2. package/dist/chunk-ClPoSABd.mjs +21 -0
  3. package/dist/client-DR9zhmKG.mjs +4449 -0
  4. package/dist/compiler/index.d.mts +187 -0
  5. package/dist/compiler/index.mjs +9 -0
  6. package/dist/compiler/utils/index.d.mts +3 -0
  7. package/dist/compiler/utils/index.mjs +5 -0
  8. package/dist/declarations/stencil-public-compiler.d.ts +4401 -0
  9. package/dist/declarations/stencil-public-compiler.js +53 -0
  10. package/dist/declarations/stencil-public-runtime.d.ts +1857 -0
  11. package/dist/index-Bxo2jCf6.d.mts +77 -0
  12. package/dist/index-szczUd2l.d.mts +6851 -0
  13. package/{internal/stencil-core/index.d.ts → dist/index.d.mts} +7 -3
  14. package/dist/index.mjs +4 -0
  15. package/dist/mock-doc.d.mts +1 -0
  16. package/dist/mock-doc.mjs +3 -0
  17. package/dist/node-sys-BGURUNOZ.mjs +1954 -0
  18. package/{internal → dist/runtime}/app-data/index.d.ts +11 -7
  19. package/dist/runtime/app-data/index.js +100 -0
  20. package/dist/runtime/app-globals/index.d.ts +5 -0
  21. package/dist/runtime/app-globals/index.js +6 -0
  22. package/dist/runtime/client/index.d.ts +2286 -0
  23. package/dist/runtime/client/index.js +4839 -0
  24. package/dist/runtime/index.d.ts +221 -0
  25. package/dist/runtime/index.js +4819 -0
  26. package/dist/runtime/server/index.d.mts +1277 -0
  27. package/dist/runtime/server/index.mjs +5376 -0
  28. package/dist/runtime/server/runner.d.mts +298 -0
  29. package/dist/runtime/server/runner.mjs +1976 -0
  30. package/dist/serialize-BJvhE9aQ.mjs +775 -0
  31. package/dist/stencil-private-Cgcr414u.d.ts +1893 -0
  32. package/dist/sys/node/index.d.mts +33 -0
  33. package/dist/sys/node/index.mjs +7 -0
  34. package/dist/sys/node/worker.d.mts +1 -0
  35. package/dist/sys/node/worker.mjs +60 -0
  36. package/dist/testing/index.d.mts +207 -0
  37. package/dist/testing/index.mjs +1188 -0
  38. package/dist/transpile-CJQcQEVa.mjs +21854 -0
  39. package/dist/validation-BdcPruW_.mjs +1451 -0
  40. package/package.json +88 -232
  41. package/bin/stencil +0 -57
  42. package/cli/config-flags.d.ts +0 -132
  43. package/cli/index.cjs +0 -5816
  44. package/cli/index.d.ts +0 -19
  45. package/cli/index.js +0 -5809
  46. package/cli/package.json +0 -14
  47. package/compiler/lib.d.ts +0 -22
  48. package/compiler/lib.decorators.d.ts +0 -384
  49. package/compiler/lib.decorators.legacy.d.ts +0 -22
  50. package/compiler/lib.dom.asynciterable.d.ts +0 -41
  51. package/compiler/lib.dom.d.ts +0 -29610
  52. package/compiler/lib.dom.iterable.d.ts +0 -493
  53. package/compiler/lib.es2015.collection.d.ts +0 -147
  54. package/compiler/lib.es2015.core.d.ts +0 -597
  55. package/compiler/lib.es2015.d.ts +0 -28
  56. package/compiler/lib.es2015.generator.d.ts +0 -77
  57. package/compiler/lib.es2015.iterable.d.ts +0 -605
  58. package/compiler/lib.es2015.promise.d.ts +0 -81
  59. package/compiler/lib.es2015.proxy.d.ts +0 -128
  60. package/compiler/lib.es2015.reflect.d.ts +0 -144
  61. package/compiler/lib.es2015.symbol.d.ts +0 -46
  62. package/compiler/lib.es2015.symbol.wellknown.d.ts +0 -326
  63. package/compiler/lib.es2016.array.include.d.ts +0 -116
  64. package/compiler/lib.es2016.d.ts +0 -21
  65. package/compiler/lib.es2016.full.d.ts +0 -23
  66. package/compiler/lib.es2016.intl.d.ts +0 -31
  67. package/compiler/lib.es2017.arraybuffer.d.ts +0 -21
  68. package/compiler/lib.es2017.d.ts +0 -26
  69. package/compiler/lib.es2017.date.d.ts +0 -31
  70. package/compiler/lib.es2017.full.d.ts +0 -23
  71. package/compiler/lib.es2017.intl.d.ts +0 -44
  72. package/compiler/lib.es2017.object.d.ts +0 -49
  73. package/compiler/lib.es2017.sharedmemory.d.ts +0 -135
  74. package/compiler/lib.es2017.string.d.ts +0 -45
  75. package/compiler/lib.es2017.typedarrays.d.ts +0 -53
  76. package/compiler/lib.es2018.asyncgenerator.d.ts +0 -77
  77. package/compiler/lib.es2018.asynciterable.d.ts +0 -53
  78. package/compiler/lib.es2018.d.ts +0 -24
  79. package/compiler/lib.es2018.full.d.ts +0 -24
  80. package/compiler/lib.es2018.intl.d.ts +0 -83
  81. package/compiler/lib.es2018.promise.d.ts +0 -30
  82. package/compiler/lib.es2018.regexp.d.ts +0 -37
  83. package/compiler/lib.es2019.array.d.ts +0 -79
  84. package/compiler/lib.es2019.d.ts +0 -24
  85. package/compiler/lib.es2019.full.d.ts +0 -24
  86. package/compiler/lib.es2019.intl.d.ts +0 -23
  87. package/compiler/lib.es2019.object.d.ts +0 -33
  88. package/compiler/lib.es2019.string.d.ts +0 -37
  89. package/compiler/lib.es2019.symbol.d.ts +0 -24
  90. package/compiler/lib.es2020.bigint.d.ts +0 -765
  91. package/compiler/lib.es2020.d.ts +0 -27
  92. package/compiler/lib.es2020.date.d.ts +0 -42
  93. package/compiler/lib.es2020.full.d.ts +0 -24
  94. package/compiler/lib.es2020.intl.d.ts +0 -474
  95. package/compiler/lib.es2020.number.d.ts +0 -28
  96. package/compiler/lib.es2020.promise.d.ts +0 -47
  97. package/compiler/lib.es2020.sharedmemory.d.ts +0 -99
  98. package/compiler/lib.es2020.string.d.ts +0 -44
  99. package/compiler/lib.es2020.symbol.wellknown.d.ts +0 -41
  100. package/compiler/lib.es2021.d.ts +0 -23
  101. package/compiler/lib.es2021.full.d.ts +0 -24
  102. package/compiler/lib.es2021.intl.d.ts +0 -166
  103. package/compiler/lib.es2021.promise.d.ts +0 -48
  104. package/compiler/lib.es2021.string.d.ts +0 -33
  105. package/compiler/lib.es2021.weakref.d.ts +0 -78
  106. package/compiler/lib.es2022.array.d.ts +0 -121
  107. package/compiler/lib.es2022.d.ts +0 -25
  108. package/compiler/lib.es2022.error.d.ts +0 -75
  109. package/compiler/lib.es2022.full.d.ts +0 -24
  110. package/compiler/lib.es2022.intl.d.ts +0 -121
  111. package/compiler/lib.es2022.object.d.ts +0 -26
  112. package/compiler/lib.es2022.regexp.d.ts +0 -39
  113. package/compiler/lib.es2022.string.d.ts +0 -25
  114. package/compiler/lib.es2023.array.d.ts +0 -924
  115. package/compiler/lib.es2023.collection.d.ts +0 -21
  116. package/compiler/lib.es2023.d.ts +0 -22
  117. package/compiler/lib.es2023.full.d.ts +0 -24
  118. package/compiler/lib.es2023.intl.d.ts +0 -56
  119. package/compiler/lib.es2024.arraybuffer.d.ts +0 -65
  120. package/compiler/lib.es2024.collection.d.ts +0 -29
  121. package/compiler/lib.es2024.d.ts +0 -26
  122. package/compiler/lib.es2024.full.d.ts +0 -24
  123. package/compiler/lib.es2024.object.d.ts +0 -29
  124. package/compiler/lib.es2024.promise.d.ts +0 -35
  125. package/compiler/lib.es2024.regexp.d.ts +0 -25
  126. package/compiler/lib.es2024.sharedmemory.d.ts +0 -68
  127. package/compiler/lib.es2024.string.d.ts +0 -29
  128. package/compiler/lib.es5.d.ts +0 -4594
  129. package/compiler/lib.es6.d.ts +0 -23
  130. package/compiler/lib.esnext.array.d.ts +0 -35
  131. package/compiler/lib.esnext.collection.d.ts +0 -96
  132. package/compiler/lib.esnext.d.ts +0 -27
  133. package/compiler/lib.esnext.decorators.d.ts +0 -28
  134. package/compiler/lib.esnext.disposable.d.ts +0 -193
  135. package/compiler/lib.esnext.float16.d.ts +0 -443
  136. package/compiler/lib.esnext.full.d.ts +0 -24
  137. package/compiler/lib.esnext.intl.d.ts +0 -21
  138. package/compiler/lib.esnext.iterator.d.ts +0 -148
  139. package/compiler/lib.esnext.promise.d.ts +0 -34
  140. package/compiler/lib.scripthost.d.ts +0 -322
  141. package/compiler/lib.webworker.asynciterable.d.ts +0 -41
  142. package/compiler/lib.webworker.d.ts +0 -9894
  143. package/compiler/lib.webworker.importscripts.d.ts +0 -23
  144. package/compiler/lib.webworker.iterable.d.ts +0 -287
  145. package/compiler/package.json +0 -8
  146. package/compiler/stencil.d.ts +0 -73
  147. package/compiler/stencil.js +0 -287816
  148. package/compiler/sys/in-memory-fs.d.ts +0 -227
  149. package/compiler/transpile.d.ts +0 -32
  150. package/dev-server/client/app-error.d.ts +0 -20
  151. package/dev-server/client/events.d.ts +0 -6
  152. package/dev-server/client/hmr-components.d.ts +0 -12
  153. package/dev-server/client/hmr-external-styles.d.ts +0 -1
  154. package/dev-server/client/hmr-images.d.ts +0 -1
  155. package/dev-server/client/hmr-inline-styles.d.ts +0 -1
  156. package/dev-server/client/hmr-util.d.ts +0 -39
  157. package/dev-server/client/hmr-window.d.ts +0 -10
  158. package/dev-server/client/index.d.ts +0 -6
  159. package/dev-server/client/index.js +0 -793
  160. package/dev-server/client/logger.d.ts +0 -6
  161. package/dev-server/client/package.json +0 -8
  162. package/dev-server/client/progress.d.ts +0 -3
  163. package/dev-server/client/status.d.ts +0 -4
  164. package/dev-server/client/test/hmr-util.spec.d.ts +0 -1
  165. package/dev-server/client/test/status.spec.d.ts +0 -1
  166. package/dev-server/connector.html +0 -6
  167. package/dev-server/index.d.ts +0 -3
  168. package/dev-server/index.js +0 -247
  169. package/dev-server/package.json +0 -8
  170. package/dev-server/server-process.js +0 -12095
  171. package/dev-server/server-worker-thread.js +0 -39
  172. package/dev-server/static/favicon.ico +0 -0
  173. package/dev-server/templates/directory-index.html +0 -176
  174. package/dev-server/templates/initial-load.html +0 -168
  175. package/dev-server/visualstudio.vbs +0 -82
  176. package/dev-server/xdg-open +0 -1066
  177. package/internal/app-data/index.cjs +0 -119
  178. package/internal/app-data/index.js +0 -92
  179. package/internal/app-data/package.json +0 -15
  180. package/internal/app-globals/index.d.ts +0 -2
  181. package/internal/app-globals/index.js +0 -14
  182. package/internal/app-globals/package.json +0 -14
  183. package/internal/child_process.d.ts +0 -7
  184. package/internal/client/index.js +0 -4736
  185. package/internal/client/package.json +0 -10
  186. package/internal/client/patch-browser.js +0 -45
  187. package/internal/client/polyfills/core-js.js +0 -11
  188. package/internal/client/polyfills/dom.js +0 -79
  189. package/internal/client/polyfills/es5-html-element.js +0 -1
  190. package/internal/client/polyfills/index.js +0 -34
  191. package/internal/client/polyfills/system.js +0 -6
  192. package/internal/client/shadow-css.js +0 -414
  193. package/internal/hydrate/index.js +0 -6671
  194. package/internal/hydrate/package.json +0 -7
  195. package/internal/hydrate/runner.d.ts +0 -287
  196. package/internal/hydrate/runner.js +0 -17950
  197. package/internal/index.d.ts +0 -4
  198. package/internal/index.js +0 -2
  199. package/internal/package.json +0 -9
  200. package/internal/stencil-core/index.cjs +0 -1
  201. package/internal/stencil-core/index.js +0 -18
  202. package/internal/stencil-core/jsx-dev-runtime.cjs +0 -7
  203. package/internal/stencil-core/jsx-dev-runtime.d.ts +0 -41
  204. package/internal/stencil-core/jsx-dev-runtime.js +0 -2
  205. package/internal/stencil-core/jsx-runtime.cjs +0 -8
  206. package/internal/stencil-core/jsx-runtime.d.ts +0 -40
  207. package/internal/stencil-core/jsx-runtime.js +0 -2
  208. package/internal/stencil-private.d.ts +0 -2549
  209. package/internal/stencil-public-compiler.d.ts +0 -2867
  210. package/internal/stencil-public-runtime.d.ts +0 -1860
  211. package/internal/testing/index.js +0 -6528
  212. package/internal/testing/jsx-dev-runtime.d.ts +0 -2
  213. package/internal/testing/jsx-dev-runtime.js +0 -8
  214. package/internal/testing/jsx-runtime.d.ts +0 -2
  215. package/internal/testing/jsx-runtime.js +0 -9
  216. package/internal/testing/package.json +0 -7
  217. package/internal/utils/index.d.ts +0 -1
  218. package/internal/utils/result.d.ts +0 -112
  219. package/mock-doc/index.cjs +0 -10165
  220. package/mock-doc/index.d.ts +0 -1172
  221. package/mock-doc/index.js +0 -10144
  222. package/mock-doc/package.json +0 -15
  223. package/readme.md +0 -94
  224. package/screenshot/compare/assets/favicon.ico +0 -0
  225. package/screenshot/compare/assets/logo.png +0 -0
  226. package/screenshot/compare/build/app.css +0 -1
  227. package/screenshot/compare/build/app.esm.js +0 -1
  228. package/screenshot/compare/build/app.js +0 -33
  229. package/screenshot/compare/build/p-081b0641.js +0 -1
  230. package/screenshot/compare/build/p-227a1e18.entry.js +0 -1
  231. package/screenshot/compare/build/p-2c298727.entry.js +0 -1
  232. package/screenshot/compare/build/p-5479268c.entry.js +0 -1
  233. package/screenshot/compare/build/p-573ec8a4.entry.js +0 -1
  234. package/screenshot/compare/build/p-6ba08604.entry.js +0 -1
  235. package/screenshot/compare/build/p-6bc63295.entry.js +0 -1
  236. package/screenshot/compare/build/p-7a3759fd.entry.js +0 -1
  237. package/screenshot/compare/build/p-7b4e3ba7.js +0 -1
  238. package/screenshot/compare/build/p-988eb362.css +0 -1
  239. package/screenshot/compare/build/p-9b6a9315.js +0 -1
  240. package/screenshot/compare/build/p-b4cc611c.entry.js +0 -1
  241. package/screenshot/compare/build/p-d1bf53f5.entry.js +0 -1
  242. package/screenshot/compare/build/p-e2efe0df.js +0 -1
  243. package/screenshot/compare/build/p-e8ca6d97.entry.js +0 -1
  244. package/screenshot/compare/build/p-ec2f13e0.entry.js +0 -1
  245. package/screenshot/compare/build/p-f0b99977.entry.js +0 -1
  246. package/screenshot/compare/build/p-f4745c2f.entry.js +0 -1
  247. package/screenshot/compare/build/p-fbbae598.js +0 -1
  248. package/screenshot/compare/host.config.json +0 -15
  249. package/screenshot/compare/index.html +0 -1
  250. package/screenshot/compare/manifest.json +0 -13
  251. package/screenshot/connector-base.d.ts +0 -42
  252. package/screenshot/connector-local.d.ts +0 -7
  253. package/screenshot/connector.js +0 -2
  254. package/screenshot/index.d.ts +0 -3
  255. package/screenshot/index.js +0 -2433
  256. package/screenshot/local-connector.js +0 -2
  257. package/screenshot/package.json +0 -15
  258. package/screenshot/pixel-match.d.ts +0 -1
  259. package/screenshot/pixel-match.js +0 -2315
  260. package/screenshot/screenshot-compare.d.ts +0 -20
  261. package/screenshot/screenshot-fs.d.ts +0 -14
  262. package/sys/node/460.node-fetch.js +0 -451
  263. package/sys/node/autoprefixer.js +0 -9
  264. package/sys/node/glob.js +0 -1
  265. package/sys/node/graceful-fs.js +0 -1
  266. package/sys/node/index.d.ts +0 -39
  267. package/sys/node/index.js +0 -64
  268. package/sys/node/node-fetch.js +0 -12
  269. package/sys/node/package.json +0 -8
  270. package/sys/node/prompts.js +0 -1
  271. package/sys/node/worker.js +0 -4
  272. package/testing/index.d.ts +0 -9
  273. package/testing/index.js +0 -13064
  274. package/testing/jest/jest-27-and-under/jest-config.d.ts +0 -16
  275. package/testing/jest/jest-27-and-under/jest-environment.d.ts +0 -2
  276. package/testing/jest/jest-27-and-under/jest-facade.d.ts +0 -155
  277. package/testing/jest/jest-27-and-under/jest-preprocessor.d.ts +0 -59
  278. package/testing/jest/jest-27-and-under/jest-preset.d.ts +0 -3
  279. package/testing/jest/jest-27-and-under/jest-runner.d.ts +0 -11
  280. package/testing/jest/jest-27-and-under/jest-screenshot.d.ts +0 -2
  281. package/testing/jest/jest-27-and-under/jest-serializer.d.ts +0 -4
  282. package/testing/jest/jest-27-and-under/jest-setup-test-framework.d.ts +0 -9
  283. package/testing/jest/jest-27-and-under/matchers/attributes.d.ts +0 -14
  284. package/testing/jest/jest-27-and-under/matchers/class-list.d.ts +0 -12
  285. package/testing/jest/jest-27-and-under/matchers/events.d.ts +0 -25
  286. package/testing/jest/jest-27-and-under/matchers/html.d.ts +0 -13
  287. package/testing/jest/jest-27-and-under/matchers/index.d.ts +0 -24
  288. package/testing/jest/jest-27-and-under/matchers/screenshot.d.ts +0 -5
  289. package/testing/jest/jest-27-and-under/matchers/text.d.ts +0 -4
  290. package/testing/jest/jest-27-and-under/test/jest-config.spec.d.ts +0 -1
  291. package/testing/jest/jest-27-and-under/test/jest-preprocessor.spec.d.ts +0 -1
  292. package/testing/jest/jest-27-and-under/test/jest-runner.spec.d.ts +0 -1
  293. package/testing/jest/jest-27-and-under/test/jest-serializer.spec.d.ts +0 -1
  294. package/testing/jest/jest-27-and-under/test/jest-setup-test-framework.spec.d.ts +0 -1
  295. package/testing/jest/jest-28/jest-config.d.ts +0 -16
  296. package/testing/jest/jest-28/jest-environment.d.ts +0 -2
  297. package/testing/jest/jest-28/jest-facade.d.ts +0 -134
  298. package/testing/jest/jest-28/jest-preprocessor.d.ts +0 -35
  299. package/testing/jest/jest-28/jest-preset.d.ts +0 -3
  300. package/testing/jest/jest-28/jest-runner.d.ts +0 -11
  301. package/testing/jest/jest-28/jest-screenshot.d.ts +0 -2
  302. package/testing/jest/jest-28/jest-serializer.d.ts +0 -4
  303. package/testing/jest/jest-28/jest-setup-test-framework.d.ts +0 -9
  304. package/testing/jest/jest-28/matchers/attributes.d.ts +0 -14
  305. package/testing/jest/jest-28/matchers/class-list.d.ts +0 -12
  306. package/testing/jest/jest-28/matchers/events.d.ts +0 -25
  307. package/testing/jest/jest-28/matchers/html.d.ts +0 -13
  308. package/testing/jest/jest-28/matchers/index.d.ts +0 -24
  309. package/testing/jest/jest-28/matchers/screenshot.d.ts +0 -5
  310. package/testing/jest/jest-28/matchers/text.d.ts +0 -4
  311. package/testing/jest/jest-28/test/jest-config.spec.d.ts +0 -1
  312. package/testing/jest/jest-28/test/jest-preprocessor.spec.d.ts +0 -1
  313. package/testing/jest/jest-28/test/jest-runner.spec.d.ts +0 -1
  314. package/testing/jest/jest-28/test/jest-serializer.spec.d.ts +0 -1
  315. package/testing/jest/jest-28/test/jest-setup-test-framework.spec.d.ts +0 -1
  316. package/testing/jest/jest-29/jest-config.d.ts +0 -16
  317. package/testing/jest/jest-29/jest-environment.d.ts +0 -2
  318. package/testing/jest/jest-29/jest-facade.d.ts +0 -136
  319. package/testing/jest/jest-29/jest-preprocessor.d.ts +0 -35
  320. package/testing/jest/jest-29/jest-preset.d.ts +0 -3
  321. package/testing/jest/jest-29/jest-runner.d.ts +0 -11
  322. package/testing/jest/jest-29/jest-screenshot.d.ts +0 -2
  323. package/testing/jest/jest-29/jest-serializer.d.ts +0 -4
  324. package/testing/jest/jest-29/jest-setup-test-framework.d.ts +0 -9
  325. package/testing/jest/jest-29/matchers/attributes.d.ts +0 -14
  326. package/testing/jest/jest-29/matchers/class-list.d.ts +0 -12
  327. package/testing/jest/jest-29/matchers/events.d.ts +0 -25
  328. package/testing/jest/jest-29/matchers/html.d.ts +0 -13
  329. package/testing/jest/jest-29/matchers/index.d.ts +0 -24
  330. package/testing/jest/jest-29/matchers/screenshot.d.ts +0 -5
  331. package/testing/jest/jest-29/matchers/text.d.ts +0 -4
  332. package/testing/jest/jest-29/test/jest-config.spec.d.ts +0 -1
  333. package/testing/jest/jest-29/test/jest-preprocessor.spec.d.ts +0 -1
  334. package/testing/jest/jest-29/test/jest-runner.spec.d.ts +0 -1
  335. package/testing/jest/jest-29/test/jest-serializer.spec.d.ts +0 -1
  336. package/testing/jest/jest-29/test/jest-setup-test-framework.spec.d.ts +0 -1
  337. package/testing/jest/jest-apis.d.ts +0 -86
  338. package/testing/jest/jest-facade.d.ts +0 -74
  339. package/testing/jest/jest-stencil-connector.d.ts +0 -65
  340. package/testing/jest/test/jest-stencil-connector.spec.d.ts +0 -1
  341. package/testing/jest-environment.js +0 -3
  342. package/testing/jest-preprocessor.js +0 -3
  343. package/testing/jest-preset.js +0 -2
  344. package/testing/jest-runner.js +0 -3
  345. package/testing/jest-setuptestframework.js +0 -3
  346. package/testing/mock-fetch.d.ts +0 -11
  347. package/testing/mocks.d.ts +0 -56
  348. package/testing/package.json +0 -8
  349. package/testing/puppeteer/index.d.ts +0 -2
  350. package/testing/puppeteer/puppeteer-browser.d.ts +0 -6
  351. package/testing/puppeteer/puppeteer-declarations.d.ts +0 -414
  352. package/testing/puppeteer/puppeteer-element.d.ts +0 -67
  353. package/testing/puppeteer/puppeteer-emulate.d.ts +0 -2
  354. package/testing/puppeteer/puppeteer-events.d.ts +0 -21
  355. package/testing/puppeteer/puppeteer-page.d.ts +0 -2
  356. package/testing/puppeteer/puppeteer-screenshot.d.ts +0 -27
  357. package/testing/puppeteer/test/puppeteer-screenshot.spec.d.ts +0 -1
  358. package/testing/reset-build-conditionals.d.ts +0 -12
  359. package/testing/spec-page.d.ts +0 -7
  360. package/testing/test/testing-utils.spec.d.ts +0 -1
  361. package/testing/test-transpile.d.ts +0 -2
  362. package/testing/testing-logger.d.ts +0 -26
  363. package/testing/testing-sys.d.ts +0 -6
  364. package/testing/testing-utils.d.ts +0 -80
  365. package/testing/testing.d.ts +0 -2
  366. /package/{internal → dist/declarations}/stencil-ext-modules.d.ts +0 -0
  367. /package/{internal → dist/declarations}/stencil-public-docs.d.ts +0 -0
  368. /package/{screenshot/compare/build/index.esm.js → dist/declarations/stencil-public-runtime.js} +0 -0
@@ -0,0 +1,2286 @@
1
+ import { BUILD, Env, NAMESPACE } from "@stencil/core/runtime/app-data";
2
+
3
+ //#region src/declarations/stencil-public-runtime.d.ts
4
+ interface ElementDecorator {
5
+ (): PropertyDecorator;
6
+ }
7
+ interface EventDecorator {
8
+ (opts?: EventOptions): PropertyDecorator;
9
+ }
10
+ interface EventOptions {
11
+ /**
12
+ * A string custom event name to override the default.
13
+ */
14
+ eventName?: string;
15
+ /**
16
+ * A Boolean indicating whether the event bubbles up through the DOM or not.
17
+ */
18
+ bubbles?: boolean;
19
+ /**
20
+ * A Boolean indicating whether the event is cancelable.
21
+ */
22
+ cancelable?: boolean;
23
+ /**
24
+ * A Boolean value indicating whether or not the event can bubble across the boundary between the shadow DOM and the regular DOM.
25
+ */
26
+ composed?: boolean;
27
+ }
28
+ interface UserBuildConditionals {
29
+ isDev: boolean;
30
+ isBrowser: boolean;
31
+ isServer: boolean;
32
+ isTesting: boolean;
33
+ }
34
+ /**
35
+ * The `@Element()` decorator is a reference to the actual host element
36
+ * once it has rendered.
37
+ */
38
+ declare const Element$1: ElementDecorator;
39
+ /**
40
+ * Components can emit data and events using the Event Emitter decorator.
41
+ * To dispatch Custom DOM events for other components to handle, use the
42
+ * `@Event()` decorator. The Event decorator also makes it easier for Stencil
43
+ * to automatically build types and documentation for the event data.
44
+ * https://stenciljs.com/docs/events
45
+ */
46
+ declare const Event: EventDecorator;
47
+ type ResolutionHandler = (elm: HTMLElement) => string | undefined | null;
48
+ type ErrorHandler = (err: any, element?: HTMLElement) => void;
49
+ interface HTMLStencilElement extends HTMLElement {
50
+ componentOnReady(): Promise<this>;
51
+ }
52
+ type TagTransformer = (tag: string) => string;
53
+ interface ComponentInterface {
54
+ connectedCallback?(): void;
55
+ disconnectedCallback?(): void;
56
+ componentWillRender?(): Promise<void> | void;
57
+ componentDidRender?(): void;
58
+ /**
59
+ * The component is about to load and it has not
60
+ * rendered yet.
61
+ *
62
+ * This is the best place to make any data updates
63
+ * before the first render.
64
+ *
65
+ * componentWillLoad will only be called once.
66
+ */
67
+ componentWillLoad?(): Promise<void> | void;
68
+ /**
69
+ * The component has loaded and has already rendered.
70
+ *
71
+ * Updating data in this method will cause the
72
+ * component to re-render.
73
+ *
74
+ * componentDidLoad will only be called once.
75
+ */
76
+ componentDidLoad?(): void;
77
+ /**
78
+ * A `@Prop` or `@State` property changed and a rerender is about to be requested.
79
+ *
80
+ * Called multiple times throughout the life of
81
+ * the component as its properties change.
82
+ *
83
+ * componentShouldUpdate is not called on the first render.
84
+ */
85
+ componentShouldUpdate?(newVal: any, oldVal: any, propName: string): boolean | void;
86
+ /**
87
+ * The component is about to update and re-render.
88
+ *
89
+ * Called multiple times throughout the life of
90
+ * the component as it updates.
91
+ *
92
+ * componentWillUpdate is not called on the first render.
93
+ */
94
+ componentWillUpdate?(): Promise<void> | void;
95
+ /**
96
+ * The component has just re-rendered.
97
+ *
98
+ * Called multiple times throughout the life of
99
+ * the component as it updates.
100
+ *
101
+ * componentWillUpdate is not called on the
102
+ * first render.
103
+ */
104
+ componentDidUpdate?(): void;
105
+ render?(): any;
106
+ [memberName: string]: any;
107
+ }
108
+ interface RafCallback {
109
+ (timeStamp: number): void;
110
+ }
111
+ /**
112
+ * Utilities for working with functional Stencil components. An object
113
+ * conforming to this interface is passed by the Stencil runtime as the third
114
+ * argument to a functional component, allowing component authors to work with
115
+ * features like children.
116
+ *
117
+ * The children of a functional component will be passed as the second
118
+ * argument, so a functional component which uses these utils to transform its
119
+ * children might look like the following:
120
+ *
121
+ * ```ts
122
+ * export const AddClass: FunctionalComponent = (_, children, utils) => (
123
+ * utils.map(children, child => ({
124
+ * ...child,
125
+ * vattrs: {
126
+ * ...child.vattrs,
127
+ * class: `${child.vattrs.class} add-class`
128
+ * }
129
+ * }))
130
+ * );
131
+ * ```
132
+ *
133
+ * For more see the Stencil documentation, here:
134
+ * https://stenciljs.com/docs/functional-components
135
+ */
136
+ interface FunctionalUtilities {
137
+ /**
138
+ * Utility for reading the children of a functional component at runtime.
139
+ * Since the Stencil runtime uses a different interface for children it is
140
+ * not recommended to read the children directly, and is preferable to use
141
+ * this utility to, for instance, perform a side effect for each child.
142
+ */
143
+ forEach: (children: VNode[], cb: (vnode: ChildNode$1, index: number, array: ChildNode$1[]) => void) => void;
144
+ /**
145
+ * Utility for transforming the children of a functional component. Given an
146
+ * array of children and a callback this will return a list of the results of
147
+ * passing each child to the supplied callback.
148
+ */
149
+ map: (children: VNode[], cb: (vnode: ChildNode$1, index: number, array: ChildNode$1[]) => ChildNode$1) => VNode[];
150
+ }
151
+ interface FunctionalComponent<T = {}> {
152
+ (props: T, children: VNode[], utils: FunctionalUtilities): VNode | VNode[] | null;
153
+ }
154
+ /**
155
+ * A Child VDOM node
156
+ *
157
+ * This has most of the same properties as {@link VNode} but friendlier names
158
+ * (i.e. `vtag` instead of `$tag$`, `vchildren` instead of `$children$`) in
159
+ * order to provide a friendlier public interface for users of the
160
+ * {@link FunctionalUtilities}).
161
+ */
162
+ interface ChildNode$1 {
163
+ vtag?: string | number | Function;
164
+ vkey?: string | number;
165
+ vtext?: string;
166
+ vchildren?: VNode[];
167
+ vattrs?: any;
168
+ vname?: string;
169
+ }
170
+ /**
171
+ * A virtual DOM node
172
+ */
173
+ interface VNode {
174
+ $flags$: number;
175
+ $tag$: string | number | Function;
176
+ $elm$: any;
177
+ $text$: string;
178
+ $children$: VNode[];
179
+ $attrs$?: any;
180
+ $name$?: string;
181
+ $key$?: string | number;
182
+ }
183
+ declare namespace JSXBase {
184
+ interface IntrinsicElements {
185
+ slot: JSXBase.SlotAttributes<HTMLSlotElement>;
186
+ a: JSXBase.AnchorHTMLAttributes<HTMLAnchorElement>;
187
+ abbr: JSXBase.HTMLAttributes;
188
+ address: JSXBase.HTMLAttributes;
189
+ area: JSXBase.AreaHTMLAttributes<HTMLAreaElement>;
190
+ article: JSXBase.HTMLAttributes;
191
+ aside: JSXBase.HTMLAttributes;
192
+ audio: JSXBase.AudioHTMLAttributes<HTMLAudioElement>;
193
+ b: JSXBase.HTMLAttributes;
194
+ base: JSXBase.BaseHTMLAttributes<HTMLBaseElement>;
195
+ bdi: JSXBase.HTMLAttributes;
196
+ bdo: JSXBase.HTMLAttributes;
197
+ big: JSXBase.HTMLAttributes;
198
+ blockquote: JSXBase.BlockquoteHTMLAttributes<HTMLQuoteElement>;
199
+ body: JSXBase.HTMLAttributes<HTMLBodyElement>;
200
+ br: JSXBase.HTMLAttributes<HTMLBRElement>;
201
+ button: JSXBase.ButtonHTMLAttributes<HTMLButtonElement>;
202
+ canvas: JSXBase.CanvasHTMLAttributes<HTMLCanvasElement>;
203
+ caption: JSXBase.HTMLAttributes<HTMLTableCaptionElement>;
204
+ cite: JSXBase.HTMLAttributes;
205
+ code: JSXBase.HTMLAttributes;
206
+ col: JSXBase.ColHTMLAttributes<HTMLTableColElement>;
207
+ colgroup: JSXBase.ColgroupHTMLAttributes<HTMLTableColElement>;
208
+ data: JSXBase.HTMLAttributes<HTMLDataElement>;
209
+ datalist: JSXBase.HTMLAttributes<HTMLDataListElement>;
210
+ dd: JSXBase.HTMLAttributes;
211
+ del: JSXBase.DelHTMLAttributes<HTMLModElement>;
212
+ details: JSXBase.DetailsHTMLAttributes<HTMLElement>;
213
+ dfn: JSXBase.HTMLAttributes;
214
+ dialog: JSXBase.DialogHTMLAttributes<HTMLDialogElement>;
215
+ div: JSXBase.HTMLAttributes<HTMLDivElement>;
216
+ dl: JSXBase.HTMLAttributes<HTMLDListElement>;
217
+ dt: JSXBase.HTMLAttributes;
218
+ em: JSXBase.HTMLAttributes;
219
+ embed: JSXBase.EmbedHTMLAttributes<HTMLEmbedElement>;
220
+ fieldset: JSXBase.FieldsetHTMLAttributes<HTMLFieldSetElement>;
221
+ figcaption: JSXBase.HTMLAttributes;
222
+ figure: JSXBase.HTMLAttributes;
223
+ footer: JSXBase.HTMLAttributes;
224
+ form: JSXBase.FormHTMLAttributes<HTMLFormElement>;
225
+ h1: JSXBase.HTMLAttributes<HTMLHeadingElement>;
226
+ h2: JSXBase.HTMLAttributes<HTMLHeadingElement>;
227
+ h3: JSXBase.HTMLAttributes<HTMLHeadingElement>;
228
+ h4: JSXBase.HTMLAttributes<HTMLHeadingElement>;
229
+ h5: JSXBase.HTMLAttributes<HTMLHeadingElement>;
230
+ h6: JSXBase.HTMLAttributes<HTMLHeadingElement>;
231
+ head: JSXBase.HTMLAttributes<HTMLHeadElement>;
232
+ header: JSXBase.HTMLAttributes;
233
+ hgroup: JSXBase.HTMLAttributes;
234
+ hr: JSXBase.HTMLAttributes<HTMLHRElement>;
235
+ html: JSXBase.HTMLAttributes<HTMLHtmlElement>;
236
+ i: JSXBase.HTMLAttributes;
237
+ iframe: JSXBase.IframeHTMLAttributes<HTMLIFrameElement>;
238
+ img: JSXBase.ImgHTMLAttributes<HTMLImageElement>;
239
+ input: JSXBase.InputHTMLAttributes<HTMLInputElement>;
240
+ ins: JSXBase.InsHTMLAttributes<HTMLModElement>;
241
+ kbd: JSXBase.HTMLAttributes;
242
+ keygen: JSXBase.KeygenHTMLAttributes<HTMLElement>;
243
+ label: JSXBase.LabelHTMLAttributes<HTMLLabelElement>;
244
+ legend: JSXBase.HTMLAttributes<HTMLLegendElement>;
245
+ li: JSXBase.LiHTMLAttributes<HTMLLIElement>;
246
+ link: JSXBase.LinkHTMLAttributes<HTMLLinkElement>;
247
+ main: JSXBase.HTMLAttributes;
248
+ map: JSXBase.MapHTMLAttributes<HTMLMapElement>;
249
+ mark: JSXBase.HTMLAttributes;
250
+ menu: JSXBase.MenuHTMLAttributes<HTMLMenuElement>;
251
+ menuitem: JSXBase.HTMLAttributes;
252
+ meta: JSXBase.MetaHTMLAttributes<HTMLMetaElement>;
253
+ meter: JSXBase.MeterHTMLAttributes<HTMLMeterElement>;
254
+ nav: JSXBase.HTMLAttributes;
255
+ noscript: JSXBase.HTMLAttributes;
256
+ object: JSXBase.ObjectHTMLAttributes<HTMLObjectElement>;
257
+ ol: JSXBase.OlHTMLAttributes<HTMLOListElement>;
258
+ optgroup: JSXBase.OptgroupHTMLAttributes<HTMLOptGroupElement>;
259
+ option: JSXBase.OptionHTMLAttributes<HTMLOptionElement>;
260
+ output: JSXBase.OutputHTMLAttributes<HTMLOutputElement>;
261
+ p: JSXBase.HTMLAttributes<HTMLParagraphElement>;
262
+ param: JSXBase.ParamHTMLAttributes<HTMLParamElement>;
263
+ picture: JSXBase.HTMLAttributes<HTMLPictureElement>;
264
+ pre: JSXBase.HTMLAttributes<HTMLPreElement>;
265
+ progress: JSXBase.ProgressHTMLAttributes<HTMLProgressElement>;
266
+ q: JSXBase.QuoteHTMLAttributes<HTMLQuoteElement>;
267
+ rp: JSXBase.HTMLAttributes;
268
+ rt: JSXBase.HTMLAttributes;
269
+ ruby: JSXBase.HTMLAttributes;
270
+ s: JSXBase.HTMLAttributes;
271
+ samp: JSXBase.HTMLAttributes;
272
+ script: JSXBase.ScriptHTMLAttributes<HTMLScriptElement>;
273
+ section: JSXBase.HTMLAttributes;
274
+ select: JSXBase.SelectHTMLAttributes<HTMLSelectElement>;
275
+ small: JSXBase.HTMLAttributes;
276
+ source: JSXBase.SourceHTMLAttributes<HTMLSourceElement>;
277
+ span: JSXBase.HTMLAttributes<HTMLSpanElement>;
278
+ strong: JSXBase.HTMLAttributes;
279
+ style: JSXBase.StyleHTMLAttributes<HTMLStyleElement>;
280
+ sub: JSXBase.HTMLAttributes;
281
+ summary: JSXBase.HTMLAttributes;
282
+ sup: JSXBase.HTMLAttributes;
283
+ table: JSXBase.TableHTMLAttributes<HTMLTableElement>;
284
+ tbody: JSXBase.HTMLAttributes<HTMLTableSectionElement>;
285
+ td: JSXBase.TdHTMLAttributes<HTMLTableDataCellElement>;
286
+ textarea: JSXBase.TextareaHTMLAttributes<HTMLTextAreaElement>;
287
+ tfoot: JSXBase.HTMLAttributes<HTMLTableSectionElement>;
288
+ th: JSXBase.ThHTMLAttributes<HTMLTableHeaderCellElement>;
289
+ thead: JSXBase.HTMLAttributes<HTMLTableSectionElement>;
290
+ time: JSXBase.TimeHTMLAttributes<HTMLTimeElement>;
291
+ title: JSXBase.HTMLAttributes<HTMLTitleElement>;
292
+ tr: JSXBase.HTMLAttributes<HTMLTableRowElement>;
293
+ track: JSXBase.TrackHTMLAttributes<HTMLTrackElement>;
294
+ u: JSXBase.HTMLAttributes;
295
+ ul: JSXBase.HTMLAttributes<HTMLUListElement>;
296
+ var: JSXBase.HTMLAttributes;
297
+ video: JSXBase.VideoHTMLAttributes<HTMLVideoElement>;
298
+ wbr: JSXBase.HTMLAttributes;
299
+ animate: JSXBase.SVGAttributes;
300
+ circle: JSXBase.SVGAttributes;
301
+ clipPath: JSXBase.SVGAttributes;
302
+ defs: JSXBase.SVGAttributes;
303
+ desc: JSXBase.SVGAttributes;
304
+ ellipse: JSXBase.SVGAttributes;
305
+ feBlend: JSXBase.SVGAttributes;
306
+ feColorMatrix: JSXBase.SVGAttributes;
307
+ feComponentTransfer: JSXBase.SVGAttributes;
308
+ feComposite: JSXBase.SVGAttributes;
309
+ feConvolveMatrix: JSXBase.SVGAttributes;
310
+ feDiffuseLighting: JSXBase.SVGAttributes;
311
+ feDisplacementMap: JSXBase.SVGAttributes;
312
+ feDistantLight: JSXBase.SVGAttributes;
313
+ feDropShadow: JSXBase.SVGAttributes;
314
+ feFlood: JSXBase.SVGAttributes;
315
+ feFuncA: JSXBase.SVGAttributes;
316
+ feFuncB: JSXBase.SVGAttributes;
317
+ feFuncG: JSXBase.SVGAttributes;
318
+ feFuncR: JSXBase.SVGAttributes;
319
+ feGaussianBlur: JSXBase.SVGAttributes;
320
+ feImage: JSXBase.SVGAttributes;
321
+ feMerge: JSXBase.SVGAttributes;
322
+ feMergeNode: JSXBase.SVGAttributes;
323
+ feMorphology: JSXBase.SVGAttributes;
324
+ feOffset: JSXBase.SVGAttributes;
325
+ fePointLight: JSXBase.SVGAttributes;
326
+ feSpecularLighting: JSXBase.SVGAttributes;
327
+ feSpotLight: JSXBase.SVGAttributes;
328
+ feTile: JSXBase.SVGAttributes;
329
+ feTurbulence: JSXBase.SVGAttributes;
330
+ filter: JSXBase.SVGAttributes;
331
+ foreignObject: JSXBase.SVGAttributes;
332
+ g: JSXBase.SVGAttributes;
333
+ image: JSXBase.SVGAttributes;
334
+ line: JSXBase.SVGAttributes;
335
+ linearGradient: JSXBase.SVGAttributes;
336
+ marker: JSXBase.SVGAttributes;
337
+ mask: JSXBase.SVGAttributes;
338
+ metadata: JSXBase.SVGAttributes;
339
+ path: JSXBase.SVGAttributes;
340
+ pattern: JSXBase.SVGAttributes;
341
+ polygon: JSXBase.SVGAttributes;
342
+ polyline: JSXBase.SVGAttributes;
343
+ radialGradient: JSXBase.SVGAttributes;
344
+ rect: JSXBase.SVGAttributes;
345
+ stop: JSXBase.SVGAttributes;
346
+ svg: JSXBase.SVGAttributes;
347
+ switch: JSXBase.SVGAttributes;
348
+ symbol: JSXBase.SVGAttributes;
349
+ text: JSXBase.SVGAttributes;
350
+ textPath: JSXBase.SVGAttributes;
351
+ tspan: JSXBase.SVGAttributes;
352
+ use: JSXBase.SVGAttributes;
353
+ view: JSXBase.SVGAttributes;
354
+ }
355
+ interface SlotAttributes<T = HTMLSlotElement> extends JSXAttributes<T> {
356
+ name?: string;
357
+ slot?: string;
358
+ onSlotchange?: (event: Event) => void;
359
+ }
360
+ interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
361
+ download?: any;
362
+ href?: string;
363
+ hrefLang?: string;
364
+ hreflang?: string;
365
+ media?: string;
366
+ ping?: string;
367
+ rel?: string;
368
+ target?: string;
369
+ referrerPolicy?: ReferrerPolicy;
370
+ }
371
+ interface AudioHTMLAttributes<T> extends MediaHTMLAttributes<T> {}
372
+ interface AreaHTMLAttributes<T> extends HTMLAttributes<T> {
373
+ alt?: string;
374
+ coords?: string;
375
+ download?: any;
376
+ href?: string;
377
+ hrefLang?: string;
378
+ hreflang?: string;
379
+ media?: string;
380
+ rel?: string;
381
+ shape?: string;
382
+ target?: string;
383
+ }
384
+ interface BaseHTMLAttributes<T> extends HTMLAttributes<T> {
385
+ href?: string;
386
+ target?: string;
387
+ }
388
+ interface BlockquoteHTMLAttributes<T> extends HTMLAttributes<T> {
389
+ cite?: string;
390
+ }
391
+ interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
392
+ disabled?: boolean;
393
+ form?: string;
394
+ formAction?: string;
395
+ formaction?: string;
396
+ formEncType?: string;
397
+ formenctype?: string;
398
+ formMethod?: string;
399
+ formmethod?: string;
400
+ formNoValidate?: boolean;
401
+ formnovalidate?: boolean;
402
+ formTarget?: string;
403
+ formtarget?: string;
404
+ name?: string;
405
+ type?: string;
406
+ value?: string | string[] | number;
407
+ popoverTargetAction?: string;
408
+ popoverTargetElement?: Element$1 | null;
409
+ popoverTarget?: string;
410
+ command?: string;
411
+ commandFor?: string;
412
+ commandfor?: string;
413
+ }
414
+ interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
415
+ height?: number | string;
416
+ width?: number | string;
417
+ }
418
+ interface ColHTMLAttributes<T> extends HTMLAttributes<T> {
419
+ span?: number;
420
+ }
421
+ interface ColgroupHTMLAttributes<T> extends HTMLAttributes<T> {
422
+ span?: number;
423
+ }
424
+ interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
425
+ open?: boolean;
426
+ name?: string;
427
+ onToggle?: (event: ToggleEvent) => void;
428
+ }
429
+ interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
430
+ cite?: string;
431
+ dateTime?: string;
432
+ datetime?: string;
433
+ }
434
+ interface DialogHTMLAttributes<T> extends HTMLAttributes<T> {
435
+ onCancel?: (event: Event) => void;
436
+ onClose?: (event: Event) => void;
437
+ open?: boolean;
438
+ returnValue?: string;
439
+ }
440
+ interface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {
441
+ height?: number | string;
442
+ src?: string;
443
+ type?: string;
444
+ width?: number | string;
445
+ }
446
+ interface FieldsetHTMLAttributes<T> extends HTMLAttributes<T> {
447
+ disabled?: boolean;
448
+ form?: string;
449
+ name?: string;
450
+ }
451
+ interface FormHTMLAttributes<T> extends HTMLAttributes<T> {
452
+ acceptCharset?: string;
453
+ acceptcharset?: string;
454
+ action?: string;
455
+ autoComplete?: string;
456
+ autocomplete?: string;
457
+ encType?: string;
458
+ enctype?: string;
459
+ method?: string;
460
+ name?: string;
461
+ noValidate?: boolean;
462
+ novalidate?: boolean | string;
463
+ target?: string;
464
+ }
465
+ interface HtmlHTMLAttributes<T> extends HTMLAttributes<T> {
466
+ manifest?: string;
467
+ }
468
+ interface IframeHTMLAttributes<T> extends HTMLAttributes<T> {
469
+ allow?: string;
470
+ allowFullScreen?: boolean;
471
+ allowfullScreen?: string | boolean;
472
+ allowTransparency?: boolean;
473
+ allowtransparency?: string | boolean;
474
+ frameBorder?: number | string;
475
+ frameborder?: number | string;
476
+ importance?: 'low' | 'auto' | 'high';
477
+ height?: number | string;
478
+ loading?: 'lazy' | 'auto' | 'eager';
479
+ marginHeight?: number;
480
+ marginheight?: string | number;
481
+ marginWidth?: number;
482
+ marginwidth?: string | number;
483
+ name?: string;
484
+ referrerPolicy?: ReferrerPolicy;
485
+ sandbox?: string;
486
+ scrolling?: string;
487
+ seamless?: boolean;
488
+ src?: string;
489
+ srcDoc?: string;
490
+ srcdoc?: string;
491
+ width?: number | string;
492
+ }
493
+ interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
494
+ alt?: string;
495
+ crossOrigin?: string;
496
+ crossorigin?: string;
497
+ decoding?: 'async' | 'auto' | 'sync';
498
+ importance?: 'low' | 'auto' | 'high';
499
+ height?: number | string;
500
+ loading?: 'lazy' | 'auto' | 'eager';
501
+ sizes?: string;
502
+ src?: string;
503
+ srcSet?: string;
504
+ srcset?: string;
505
+ useMap?: string;
506
+ usemap?: string;
507
+ width?: number | string;
508
+ }
509
+ interface InsHTMLAttributes<T> extends HTMLAttributes<T> {
510
+ cite?: string;
511
+ dateTime?: string;
512
+ datetime?: string;
513
+ }
514
+ interface InputHTMLAttributes<T> extends HTMLAttributes<T> {
515
+ accept?: string;
516
+ allowdirs?: boolean;
517
+ alt?: string;
518
+ autoCapitalize?: string;
519
+ autocapitalize?: string;
520
+ autoComplete?: string;
521
+ autocomplete?: string;
522
+ capture?: string;
523
+ checked?: boolean;
524
+ crossOrigin?: string;
525
+ crossorigin?: string;
526
+ defaultChecked?: boolean;
527
+ defaultValue?: string;
528
+ dirName?: string;
529
+ disabled?: boolean;
530
+ files?: any;
531
+ form?: string;
532
+ formAction?: string;
533
+ formaction?: string;
534
+ formEncType?: string;
535
+ formenctype?: string;
536
+ formMethod?: string;
537
+ formmethod?: string;
538
+ formNoValidate?: boolean;
539
+ formnovalidate?: boolean;
540
+ formTarget?: string;
541
+ formtarget?: string;
542
+ height?: number | string;
543
+ indeterminate?: boolean;
544
+ list?: string;
545
+ max?: number | string;
546
+ maxLength?: number;
547
+ maxlength?: number | string;
548
+ min?: number | string;
549
+ minLength?: number;
550
+ minlength?: number | string;
551
+ multiple?: boolean;
552
+ name?: string;
553
+ onSelect?: (event: Event) => void;
554
+ onselect?: (event: Event) => void;
555
+ pattern?: string;
556
+ placeholder?: string;
557
+ readOnly?: boolean;
558
+ readonly?: boolean | string;
559
+ required?: boolean;
560
+ selectionStart?: number | string;
561
+ selectionEnd?: number | string;
562
+ selectionDirection?: string;
563
+ size?: number;
564
+ src?: string;
565
+ step?: number | string;
566
+ type?: string;
567
+ value?: string | string[] | number;
568
+ valueAsDate?: any;
569
+ valueAsNumber?: any;
570
+ webkitdirectory?: boolean;
571
+ webkitEntries?: any;
572
+ width?: number | string;
573
+ popoverTargetAction?: string;
574
+ popoverTargetElement?: Element$1 | null;
575
+ popoverTarget?: string;
576
+ }
577
+ interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
578
+ challenge?: string;
579
+ disabled?: boolean;
580
+ form?: string;
581
+ keyType?: string;
582
+ keytype?: string;
583
+ keyParams?: string;
584
+ keyparams?: string;
585
+ name?: string;
586
+ }
587
+ interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
588
+ form?: string;
589
+ htmlFor?: string;
590
+ }
591
+ interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
592
+ value?: string | string[] | number;
593
+ }
594
+ interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
595
+ as?: string;
596
+ href?: string;
597
+ hrefLang?: string;
598
+ hreflang?: string;
599
+ importance?: 'low' | 'auto' | 'high';
600
+ integrity?: string;
601
+ media?: string;
602
+ rel?: string;
603
+ sizes?: string;
604
+ type?: string;
605
+ }
606
+ interface MapHTMLAttributes<T> extends HTMLAttributes<T> {
607
+ name?: string;
608
+ }
609
+ interface MenuHTMLAttributes<T> extends HTMLAttributes<T> {
610
+ type?: string;
611
+ }
612
+ interface MediaHTMLAttributes<T> extends HTMLAttributes<T> {
613
+ autoPlay?: boolean;
614
+ autoplay?: boolean | string;
615
+ controls?: boolean;
616
+ controlslist?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
617
+ controlsList?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
618
+ crossOrigin?: string;
619
+ crossorigin?: string;
620
+ loop?: boolean;
621
+ mediaGroup?: string;
622
+ mediagroup?: string;
623
+ muted?: boolean;
624
+ preload?: string;
625
+ src?: string;
626
+ onAbort?: (event: Event) => void;
627
+ onCanPlay?: (event: Event) => void;
628
+ onCanPlayThrough?: (event: Event) => void;
629
+ onDurationChange?: (event: Event) => void;
630
+ onEmptied?: (event: Event) => void;
631
+ onEnded?: (event: Event) => void;
632
+ onError?: (event: Event) => void;
633
+ onInterruptBegin?: (event: Event) => void;
634
+ onInterruptEnd?: (event: Event) => void;
635
+ onLoadedData?: (event: Event) => void;
636
+ onLoadedMetaData?: (event: Event) => void;
637
+ onLoadStart?: (event: Event) => void;
638
+ onMozAudioAvailable?: (event: Event) => void;
639
+ onPause?: (event: Event) => void;
640
+ onPlay?: (event: Event) => void;
641
+ onPlaying?: (event: Event) => void;
642
+ onProgress?: (event: Event) => void;
643
+ onRateChange?: (event: Event) => void;
644
+ onSeeked?: (event: Event) => void;
645
+ onSeeking?: (event: Event) => void;
646
+ onStalled?: (event: Event) => void;
647
+ onSuspend?: (event: Event) => void;
648
+ onTimeUpdate?: (event: Event) => void;
649
+ onVolumeChange?: (event: Event) => void;
650
+ onWaiting?: (event: Event) => void;
651
+ }
652
+ interface MetaHTMLAttributes<T> extends HTMLAttributes<T> {
653
+ charSet?: string;
654
+ charset?: string;
655
+ content?: string;
656
+ httpEquiv?: string;
657
+ httpequiv?: string;
658
+ name?: string;
659
+ }
660
+ interface MeterHTMLAttributes<T> extends HTMLAttributes<T> {
661
+ form?: string;
662
+ high?: number;
663
+ low?: number;
664
+ max?: number | string;
665
+ min?: number | string;
666
+ optimum?: number;
667
+ value?: string | string[] | number;
668
+ }
669
+ interface QuoteHTMLAttributes<T> extends HTMLAttributes<T> {
670
+ cite?: string;
671
+ }
672
+ interface ObjectHTMLAttributes<T> extends HTMLAttributes<T> {
673
+ classID?: string;
674
+ classid?: string;
675
+ data?: string;
676
+ form?: string;
677
+ height?: number | string;
678
+ name?: string;
679
+ type?: string;
680
+ useMap?: string;
681
+ usemap?: string;
682
+ width?: number | string;
683
+ wmode?: string;
684
+ }
685
+ interface OlHTMLAttributes<T> extends HTMLAttributes<T> {
686
+ reversed?: boolean;
687
+ start?: number;
688
+ }
689
+ interface OptgroupHTMLAttributes<T> extends HTMLAttributes<T> {
690
+ disabled?: boolean;
691
+ label?: string;
692
+ }
693
+ interface OptionHTMLAttributes<T> extends HTMLAttributes<T> {
694
+ disabled?: boolean;
695
+ label?: string;
696
+ selected?: boolean;
697
+ value?: string | string[] | number;
698
+ }
699
+ interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
700
+ form?: string;
701
+ htmlFor?: string;
702
+ name?: string;
703
+ }
704
+ interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
705
+ name?: string;
706
+ value?: string | string[] | number;
707
+ }
708
+ interface ProgressHTMLAttributes<T> extends HTMLAttributes<T> {
709
+ max?: number | string;
710
+ value?: string | string[] | number;
711
+ }
712
+ interface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {
713
+ async?: boolean;
714
+ charSet?: string;
715
+ charset?: string;
716
+ crossOrigin?: string;
717
+ crossorigin?: string;
718
+ defer?: boolean;
719
+ importance?: 'low' | 'auto' | 'high';
720
+ integrity?: string;
721
+ nonce?: string;
722
+ src?: string;
723
+ type?: string;
724
+ }
725
+ interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
726
+ disabled?: boolean;
727
+ form?: string;
728
+ multiple?: boolean;
729
+ name?: string;
730
+ required?: boolean;
731
+ size?: number;
732
+ autoComplete?: string;
733
+ autocomplete?: string;
734
+ }
735
+ interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
736
+ height?: number;
737
+ media?: string;
738
+ sizes?: string;
739
+ src?: string;
740
+ srcSet?: string;
741
+ type?: string;
742
+ width?: number;
743
+ }
744
+ interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
745
+ media?: string;
746
+ nonce?: string;
747
+ scoped?: boolean;
748
+ type?: string;
749
+ }
750
+ interface TableHTMLAttributes<T> extends HTMLAttributes<T> {
751
+ cellPadding?: number | string;
752
+ cellpadding?: number | string;
753
+ cellSpacing?: number | string;
754
+ cellspacing?: number | string;
755
+ summary?: string;
756
+ }
757
+ interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
758
+ autoComplete?: string;
759
+ autocomplete?: string;
760
+ cols?: number;
761
+ disabled?: boolean;
762
+ form?: string;
763
+ maxLength?: number;
764
+ maxlength?: number | string;
765
+ minLength?: number;
766
+ minlength?: number | string;
767
+ name?: string;
768
+ onSelect?: (event: Event) => void;
769
+ onselect?: (event: Event) => void;
770
+ placeholder?: string;
771
+ readOnly?: boolean;
772
+ readonly?: boolean | string;
773
+ required?: boolean;
774
+ rows?: number;
775
+ value?: string | string[] | number;
776
+ wrap?: string;
777
+ }
778
+ interface TdHTMLAttributes<T> extends HTMLAttributes<T> {
779
+ colSpan?: number;
780
+ headers?: string;
781
+ rowSpan?: number;
782
+ }
783
+ interface ThHTMLAttributes<T> extends HTMLAttributes<T> {
784
+ abbr?: string;
785
+ colSpan?: number;
786
+ headers?: string;
787
+ rowSpan?: number;
788
+ rowspan?: number | string;
789
+ scope?: string;
790
+ }
791
+ interface TimeHTMLAttributes<T> extends HTMLAttributes<T> {
792
+ dateTime?: string;
793
+ }
794
+ interface TrackHTMLAttributes<T> extends HTMLAttributes<T> {
795
+ default?: boolean;
796
+ kind?: string;
797
+ label?: string;
798
+ src?: string;
799
+ srcLang?: string;
800
+ srclang?: string;
801
+ }
802
+ interface VideoHTMLAttributes<T> extends MediaHTMLAttributes<T> {
803
+ height?: number | string;
804
+ playsInline?: boolean;
805
+ playsinline?: boolean | string;
806
+ poster?: string;
807
+ width?: number | string;
808
+ }
809
+ interface HTMLAttributes<T = HTMLElement> extends DOMAttributes<T> {
810
+ innerHTML?: string;
811
+ accessKey?: string;
812
+ autoFocus?: boolean;
813
+ autofocus?: boolean | string;
814
+ class?: string | {
815
+ [className: string]: boolean;
816
+ };
817
+ contentEditable?: boolean | string;
818
+ contenteditable?: boolean | string;
819
+ contextMenu?: string;
820
+ contextmenu?: string;
821
+ dir?: string;
822
+ draggable?: boolean;
823
+ hidden?: boolean;
824
+ id?: string;
825
+ inert?: boolean;
826
+ lang?: string;
827
+ spellcheck?: 'true' | 'false' | any;
828
+ style?: {
829
+ [key: string]: string | undefined;
830
+ };
831
+ tabIndex?: number;
832
+ tabindex?: number | string;
833
+ title?: string;
834
+ popover?: string | null;
835
+ inputMode?: string;
836
+ inputmode?: string;
837
+ enterKeyHint?: string;
838
+ enterkeyhint?: string;
839
+ is?: string;
840
+ radioGroup?: string;
841
+ radiogroup?: string;
842
+ role?: string;
843
+ about?: string;
844
+ datatype?: string;
845
+ inlist?: any;
846
+ prefix?: string;
847
+ property?: string;
848
+ resource?: string;
849
+ typeof?: string;
850
+ vocab?: string;
851
+ autoCapitalize?: string;
852
+ autocapitalize?: string;
853
+ autoCorrect?: string;
854
+ autocorrect?: string;
855
+ autoSave?: string;
856
+ autosave?: string;
857
+ color?: string;
858
+ itemProp?: string;
859
+ itemprop?: string;
860
+ itemScope?: boolean;
861
+ itemscope?: boolean;
862
+ itemType?: string;
863
+ itemtype?: string;
864
+ itemID?: string;
865
+ itemid?: string;
866
+ itemRef?: string;
867
+ itemref?: string;
868
+ results?: number;
869
+ security?: string;
870
+ unselectable?: boolean;
871
+ }
872
+ interface SVGAttributes<T = SVGElement> extends DOMAttributes<T> {
873
+ class?: string | {
874
+ [className: string]: boolean;
875
+ };
876
+ color?: string;
877
+ height?: number | string;
878
+ id?: string;
879
+ lang?: string;
880
+ max?: number | string;
881
+ media?: string;
882
+ method?: string;
883
+ min?: number | string;
884
+ name?: string;
885
+ style?: {
886
+ [key: string]: string | undefined;
887
+ };
888
+ target?: string;
889
+ type?: string;
890
+ width?: number | string;
891
+ role?: string;
892
+ tabindex?: number;
893
+ 'accent-height'?: number | string;
894
+ accumulate?: 'none' | 'sum';
895
+ additive?: 'replace' | 'sum';
896
+ 'alignment-baseline'?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit';
897
+ allowReorder?: 'no' | 'yes';
898
+ alphabetic?: number | string;
899
+ amplitude?: number | string;
900
+ 'arabic-form'?: 'initial' | 'medial' | 'terminal' | 'isolated';
901
+ ascent?: number | string;
902
+ attributeName?: string;
903
+ attributeType?: string;
904
+ autoReverse?: number | string;
905
+ azimuth?: number | string;
906
+ baseFrequency?: number | string;
907
+ 'baseline-shift'?: number | string;
908
+ baseProfile?: number | string;
909
+ bbox?: number | string;
910
+ begin?: number | string;
911
+ bias?: number | string;
912
+ by?: number | string;
913
+ calcMode?: number | string;
914
+ 'cap-height'?: number | string;
915
+ clip?: number | string;
916
+ 'clip-path'?: string;
917
+ clipPathUnits?: number | string;
918
+ 'clip-rule'?: number | string;
919
+ 'color-interpolation'?: number | string;
920
+ 'color-interpolation-filters'?: 'auto' | 'sRGB' | 'linearRGB';
921
+ 'color-profile'?: number | string;
922
+ 'color-rendering'?: number | string;
923
+ contentScriptType?: number | string;
924
+ contentStyleType?: number | string;
925
+ cursor?: number | string;
926
+ cx?: number | string;
927
+ cy?: number | string;
928
+ d?: string;
929
+ decelerate?: number | string;
930
+ descent?: number | string;
931
+ diffuseConstant?: number | string;
932
+ direction?: number | string;
933
+ display?: number | string;
934
+ divisor?: number | string;
935
+ 'dominant-baseline'?: number | string;
936
+ dur?: number | string;
937
+ dx?: number | string;
938
+ dy?: number | string;
939
+ 'edge-mode'?: number | string;
940
+ elevation?: number | string;
941
+ 'enable-background'?: number | string;
942
+ end?: number | string;
943
+ exponent?: number | string;
944
+ externalResourcesRequired?: number | string;
945
+ fill?: string;
946
+ 'fill-opacity'?: number | string;
947
+ 'fill-rule'?: 'nonzero' | 'evenodd' | 'inherit';
948
+ filter?: string;
949
+ filterRes?: number | string;
950
+ filterUnits?: number | string;
951
+ 'flood-color'?: number | string;
952
+ 'flood-opacity'?: number | string;
953
+ focusable?: number | string;
954
+ 'font-family'?: string;
955
+ 'font-size'?: number | string;
956
+ 'font-size-adjust'?: number | string;
957
+ 'font-stretch'?: number | string;
958
+ 'font-style'?: number | string;
959
+ 'font-variant'?: number | string;
960
+ 'font-weight'?: number | string;
961
+ format?: number | string;
962
+ from?: number | string;
963
+ fx?: number | string;
964
+ fy?: number | string;
965
+ g1?: number | string;
966
+ g2?: number | string;
967
+ 'glyph-name'?: number | string;
968
+ 'glyph-orientation-horizontal'?: number | string;
969
+ 'glyph-orientation-vertical'?: number | string;
970
+ glyphRef?: number | string;
971
+ gradientTransform?: string;
972
+ gradientUnits?: string;
973
+ hanging?: number | string;
974
+ 'horiz-adv-x'?: number | string;
975
+ 'horiz-origin-x'?: number | string;
976
+ href?: string;
977
+ ideographic?: number | string;
978
+ 'image-rendering'?: number | string;
979
+ in2?: number | string;
980
+ in?: string;
981
+ intercept?: number | string;
982
+ k1?: number | string;
983
+ k2?: number | string;
984
+ k3?: number | string;
985
+ k4?: number | string;
986
+ k?: number | string;
987
+ kernelMatrix?: number | string;
988
+ kernelUnitLength?: number | string;
989
+ kerning?: number | string;
990
+ keyPoints?: number | string;
991
+ keySplines?: number | string;
992
+ keyTimes?: number | string;
993
+ lengthAdjust?: number | string;
994
+ 'letter-spacing'?: number | string;
995
+ 'lighting-color'?: number | string;
996
+ limitingConeAngle?: number | string;
997
+ local?: number | string;
998
+ 'marker-end'?: string;
999
+ markerHeight?: number | string;
1000
+ 'marker-mid'?: string;
1001
+ 'marker-start'?: string;
1002
+ markerUnits?: number | string;
1003
+ markerWidth?: number | string;
1004
+ mask?: string;
1005
+ maskContentUnits?: number | string;
1006
+ maskUnits?: number | string;
1007
+ mathematical?: number | string;
1008
+ mode?: number | string;
1009
+ numOctaves?: number | string;
1010
+ offset?: number | string;
1011
+ opacity?: number | string;
1012
+ operator?: number | string;
1013
+ order?: number | string;
1014
+ orient?: number | string;
1015
+ orientation?: number | string;
1016
+ origin?: number | string;
1017
+ overflow?: number | string;
1018
+ 'overline-position'?: number | string;
1019
+ 'overline-thickness'?: number | string;
1020
+ 'paint-order'?: number | string;
1021
+ panose1?: number | string;
1022
+ pathLength?: number | string;
1023
+ patternContentUnits?: string;
1024
+ patternTransform?: number | string;
1025
+ patternUnits?: string;
1026
+ 'pointer-events'?: number | string;
1027
+ points?: string;
1028
+ pointsAtX?: number | string;
1029
+ pointsAtY?: number | string;
1030
+ pointsAtZ?: number | string;
1031
+ preserveAlpha?: number | string;
1032
+ preserveAspectRatio?: string;
1033
+ primitiveUnits?: number | string;
1034
+ r?: number | string;
1035
+ radius?: number | string;
1036
+ refX?: number | string;
1037
+ refY?: number | string;
1038
+ 'rendering-intent'?: number | string;
1039
+ repeatCount?: number | string;
1040
+ repeatDur?: number | string;
1041
+ requiredextensions?: number | string;
1042
+ requiredFeatures?: number | string;
1043
+ restart?: number | string;
1044
+ result?: string;
1045
+ rotate?: number | string;
1046
+ rx?: number | string;
1047
+ ry?: number | string;
1048
+ scale?: number | string;
1049
+ seed?: number | string;
1050
+ 'shape-rendering'?: number | string;
1051
+ slope?: number | string;
1052
+ spacing?: number | string;
1053
+ specularConstant?: number | string;
1054
+ specularExponent?: number | string;
1055
+ speed?: number | string;
1056
+ spreadMethod?: string;
1057
+ startOffset?: number | string;
1058
+ stdDeviation?: number | string;
1059
+ stemh?: number | string;
1060
+ stemv?: number | string;
1061
+ stitchTiles?: number | string;
1062
+ 'stop-color'?: string;
1063
+ 'stop-opacity'?: number | string;
1064
+ 'strikethrough-position'?: number | string;
1065
+ 'strikethrough-thickness'?: number | string;
1066
+ string?: number | string;
1067
+ stroke?: string;
1068
+ 'stroke-dasharray'?: string | number;
1069
+ 'stroke-dashoffset'?: string | number;
1070
+ 'stroke-linecap'?: 'butt' | 'round' | 'square' | 'inherit';
1071
+ 'stroke-linejoin'?: 'miter' | 'round' | 'bevel' | 'inherit';
1072
+ 'stroke-miterlimit'?: string;
1073
+ 'stroke-opacity'?: number | string;
1074
+ 'stroke-width'?: number | string;
1075
+ surfaceScale?: number | string;
1076
+ systemLanguage?: number | string;
1077
+ tableValues?: number | string;
1078
+ targetX?: number | string;
1079
+ targetY?: number | string;
1080
+ 'text-anchor'?: string;
1081
+ 'text-decoration'?: number | string;
1082
+ textLength?: number | string;
1083
+ 'text-rendering'?: number | string;
1084
+ to?: number | string;
1085
+ transform?: string;
1086
+ u1?: number | string;
1087
+ u2?: number | string;
1088
+ 'underline-position'?: number | string;
1089
+ 'underline-thickness'?: number | string;
1090
+ unicode?: number | string;
1091
+ 'unicode-bidi'?: number | string;
1092
+ 'unicode-range'?: number | string;
1093
+ 'units-per-em'?: number | string;
1094
+ 'v-alphabetic'?: number | string;
1095
+ values?: string;
1096
+ 'vector-effect'?: number | string;
1097
+ version?: string;
1098
+ 'vert-adv-y'?: number | string;
1099
+ 'vert-origin-x'?: number | string;
1100
+ 'vert-origin-y'?: number | string;
1101
+ 'v-hanging'?: number | string;
1102
+ 'v-ideographic'?: number | string;
1103
+ viewBox?: string;
1104
+ viewTarget?: number | string;
1105
+ visibility?: number | string;
1106
+ 'v-mathematical'?: number | string;
1107
+ widths?: number | string;
1108
+ 'word-spacing'?: number | string;
1109
+ 'writing-mode'?: number | string;
1110
+ x1?: number | string;
1111
+ x2?: number | string;
1112
+ x?: number | string;
1113
+ 'x-channel-selector'?: string;
1114
+ 'x-height'?: number | string;
1115
+ xlinkActuate?: string;
1116
+ xlinkArcrole?: string;
1117
+ xlinkHref?: string;
1118
+ xlinkRole?: string;
1119
+ xlinkShow?: string;
1120
+ xlinkTitle?: string;
1121
+ xlinkType?: string;
1122
+ xmlBase?: string;
1123
+ xmlLang?: string;
1124
+ xmlns?: string;
1125
+ xmlSpace?: string;
1126
+ y1?: number | string;
1127
+ y2?: number | string;
1128
+ y?: number | string;
1129
+ yChannelSelector?: string;
1130
+ z?: number | string;
1131
+ zoomAndPan?: string;
1132
+ }
1133
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent) */
1134
+ interface ToggleEvent extends Event {
1135
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/newState) */
1136
+ readonly newState: string;
1137
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/oldState) */
1138
+ readonly oldState: string;
1139
+ }
1140
+ interface DOMAttributes<T> extends JSXAttributes<T> {
1141
+ slot?: string;
1142
+ part?: string;
1143
+ exportparts?: string;
1144
+ onCopy?: (event: ClipboardEvent) => void;
1145
+ onCopyCapture?: (event: ClipboardEvent) => void;
1146
+ onCut?: (event: ClipboardEvent) => void;
1147
+ onCutCapture?: (event: ClipboardEvent) => void;
1148
+ onPaste?: (event: ClipboardEvent) => void;
1149
+ onPasteCapture?: (event: ClipboardEvent) => void;
1150
+ onCompositionend?: (event: CompositionEvent) => void;
1151
+ onCompositionendCapture?: (event: CompositionEvent) => void;
1152
+ onCompositionstart?: (event: CompositionEvent) => void;
1153
+ onCompositionstartCapture?: (event: CompositionEvent) => void;
1154
+ onCompositionupdate?: (event: CompositionEvent) => void;
1155
+ onCompositionupdateCapture?: (event: CompositionEvent) => void;
1156
+ onBeforeToggle?: (event: ToggleEvent) => void;
1157
+ onBeforeToggleCapture?: (event: ToggleEvent) => void;
1158
+ onToggle?: (event: ToggleEvent) => void;
1159
+ onToggleCapture?: (event: ToggleEvent) => void;
1160
+ onFocus?: (event: FocusEvent) => void;
1161
+ onFocusCapture?: (event: FocusEvent) => void;
1162
+ onFocusin?: (event: FocusEvent) => void;
1163
+ onFocusinCapture?: (event: FocusEvent) => void;
1164
+ onFocusout?: (event: FocusEvent) => void;
1165
+ onFocusoutCapture?: (event: FocusEvent) => void;
1166
+ onBlur?: (event: FocusEvent) => void;
1167
+ onBlurCapture?: (event: FocusEvent) => void;
1168
+ onChange?: (event: Event) => void;
1169
+ onChangeCapture?: (event: Event) => void;
1170
+ onInput?: (event: InputEvent) => void;
1171
+ onInputCapture?: (event: InputEvent) => void;
1172
+ onReset?: (event: Event) => void;
1173
+ onResetCapture?: (event: Event) => void;
1174
+ onSubmit?: (event: Event) => void;
1175
+ onSubmitCapture?: (event: Event) => void;
1176
+ onInvalid?: (event: Event) => void;
1177
+ onInvalidCapture?: (event: Event) => void;
1178
+ onLoad?: (event: Event) => void;
1179
+ onLoadCapture?: (event: Event) => void;
1180
+ onError?: (event: Event) => void;
1181
+ onErrorCapture?: (event: Event) => void;
1182
+ onKeyDown?: (event: KeyboardEvent) => void;
1183
+ onKeyDownCapture?: (event: KeyboardEvent) => void;
1184
+ onKeyPress?: (event: KeyboardEvent) => void;
1185
+ onKeyPressCapture?: (event: KeyboardEvent) => void;
1186
+ onKeyUp?: (event: KeyboardEvent) => void;
1187
+ onKeyUpCapture?: (event: KeyboardEvent) => void;
1188
+ onAuxClick?: (event: MouseEvent) => void;
1189
+ onClick?: (event: PointerEvent) => void;
1190
+ onClickCapture?: (event: MouseEvent) => void;
1191
+ onContextMenu?: (event: MouseEvent) => void;
1192
+ onContextMenuCapture?: (event: MouseEvent) => void;
1193
+ onDblClick?: (event: MouseEvent) => void;
1194
+ onDblClickCapture?: (event: MouseEvent) => void;
1195
+ onDrag?: (event: DragEvent) => void;
1196
+ onDragCapture?: (event: DragEvent) => void;
1197
+ onDragEnd?: (event: DragEvent) => void;
1198
+ onDragEndCapture?: (event: DragEvent) => void;
1199
+ onDragEnter?: (event: DragEvent) => void;
1200
+ onDragEnterCapture?: (event: DragEvent) => void;
1201
+ onDragExit?: (event: DragEvent) => void;
1202
+ onDragExitCapture?: (event: DragEvent) => void;
1203
+ onDragLeave?: (event: DragEvent) => void;
1204
+ onDragLeaveCapture?: (event: DragEvent) => void;
1205
+ onDragOver?: (event: DragEvent) => void;
1206
+ onDragOverCapture?: (event: DragEvent) => void;
1207
+ onDragStart?: (event: DragEvent) => void;
1208
+ onDragStartCapture?: (event: DragEvent) => void;
1209
+ onDrop?: (event: DragEvent) => void;
1210
+ onDropCapture?: (event: DragEvent) => void;
1211
+ onMouseDown?: (event: MouseEvent) => void;
1212
+ onMouseDownCapture?: (event: MouseEvent) => void;
1213
+ onMouseEnter?: (event: MouseEvent) => void;
1214
+ onMouseLeave?: (event: MouseEvent) => void;
1215
+ onMouseMove?: (event: MouseEvent) => void;
1216
+ onMouseMoveCapture?: (event: MouseEvent) => void;
1217
+ onMouseOut?: (event: MouseEvent) => void;
1218
+ onMouseOutCapture?: (event: MouseEvent) => void;
1219
+ onMouseOver?: (event: MouseEvent) => void;
1220
+ onMouseOverCapture?: (event: MouseEvent) => void;
1221
+ onMouseUp?: (event: MouseEvent) => void;
1222
+ onMouseUpCapture?: (event: MouseEvent) => void;
1223
+ onTouchCancel?: (event: TouchEvent) => void;
1224
+ onTouchCancelCapture?: (event: TouchEvent) => void;
1225
+ onTouchEnd?: (event: TouchEvent) => void;
1226
+ onTouchEndCapture?: (event: TouchEvent) => void;
1227
+ onTouchMove?: (event: TouchEvent) => void;
1228
+ onTouchMoveCapture?: (event: TouchEvent) => void;
1229
+ onTouchStart?: (event: TouchEvent) => void;
1230
+ onTouchStartCapture?: (event: TouchEvent) => void;
1231
+ onPointerDown?: (event: PointerEvent) => void;
1232
+ onPointerDownCapture?: (event: PointerEvent) => void;
1233
+ onPointerMove?: (event: PointerEvent) => void;
1234
+ onPointerMoveCapture?: (event: PointerEvent) => void;
1235
+ onPointerUp?: (event: PointerEvent) => void;
1236
+ onPointerUpCapture?: (event: PointerEvent) => void;
1237
+ onPointerCancel?: (event: PointerEvent) => void;
1238
+ onPointerCancelCapture?: (event: PointerEvent) => void;
1239
+ onPointerEnter?: (event: PointerEvent) => void;
1240
+ onPointerEnterCapture?: (event: PointerEvent) => void;
1241
+ onPointerLeave?: (event: PointerEvent) => void;
1242
+ onPointerLeaveCapture?: (event: PointerEvent) => void;
1243
+ onPointerOver?: (event: PointerEvent) => void;
1244
+ onPointerOverCapture?: (event: PointerEvent) => void;
1245
+ onPointerOut?: (event: PointerEvent) => void;
1246
+ onPointerOutCapture?: (event: PointerEvent) => void;
1247
+ onGotPointerCapture?: (event: PointerEvent) => void;
1248
+ onGotPointerCaptureCapture?: (event: PointerEvent) => void;
1249
+ onLostPointerCapture?: (event: PointerEvent) => void;
1250
+ onLostPointerCaptureCapture?: (event: PointerEvent) => void;
1251
+ onScroll?: (event: UIEvent) => void;
1252
+ onScrollCapture?: (event: UIEvent) => void;
1253
+ onWheel?: (event: WheelEvent) => void;
1254
+ onWheelCapture?: (event: WheelEvent) => void;
1255
+ onAnimationStart?: (event: AnimationEvent) => void;
1256
+ onAnimationStartCapture?: (event: AnimationEvent) => void;
1257
+ onAnimationEnd?: (event: AnimationEvent) => void;
1258
+ onAnimationEndCapture?: (event: AnimationEvent) => void;
1259
+ onAnimationIteration?: (event: AnimationEvent) => void;
1260
+ onAnimationIterationCapture?: (event: AnimationEvent) => void;
1261
+ onTransitionCancel?: (event: TransitionEvent) => void;
1262
+ onTransitionCancelCapture?: (event: TransitionEvent) => void;
1263
+ onTransitionEnd?: (event: TransitionEvent) => void;
1264
+ onTransitionEndCapture?: (event: TransitionEvent) => void;
1265
+ onTransitionRun?: (event: TransitionEvent) => void;
1266
+ onTransitionRunCapture?: (event: TransitionEvent) => void;
1267
+ onTransitionStart?: (event: TransitionEvent) => void;
1268
+ onTransitionStartCapture?: (event: TransitionEvent) => void;
1269
+ [key: `aria-${string}`]: string | boolean | undefined;
1270
+ [key: `aria${string}`]: string | boolean | undefined;
1271
+ }
1272
+ }
1273
+ interface JSXAttributes<T = Element$1> {
1274
+ key?: string | number;
1275
+ ref?: (elm?: T) => void;
1276
+ }
1277
+ interface CustomElementsDefineOptions {
1278
+ exclude?: string[];
1279
+ syncQueue?: boolean;
1280
+ /** @deprecated in-favour of `setTagTransformer` and `transformTag` */
1281
+ transformTagName?: (tagName: string) => string;
1282
+ jmp?: (c: Function) => any;
1283
+ raf?: (c: FrameRequestCallback) => number;
1284
+ ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
1285
+ rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
1286
+ ce?: (eventName: string, opts?: any) => CustomEvent;
1287
+ }
1288
+ //#endregion
1289
+ //#region src/declarations/stencil-public-compiler.d.ts
1290
+ interface HydrateDocumentOptions {
1291
+ /**
1292
+ * Build ID that will be added to `<html data-stencil-build="BUILD_ID">`. By default
1293
+ * a random ID will be generated
1294
+ */
1295
+ buildId?: string;
1296
+ /**
1297
+ * Sets the `href` attribute on the `<link rel="canonical">`
1298
+ * tag within the `<head>`. If the value is not defined it will
1299
+ * ensure a canonical link tag is no included in the `<head>`.
1300
+ */
1301
+ canonicalUrl?: string;
1302
+ /**
1303
+ * Include the HTML comments and attributes used by the client-side
1304
+ * JavaScript to read the structure of the HTML and rebuild each
1305
+ * component. Defaults to `true`.
1306
+ */
1307
+ clientHydrateAnnotations?: boolean;
1308
+ /**
1309
+ * Constrain `setTimeout()` to 1ms, but still async. Also
1310
+ * only allows `setInterval()` to fire once, also constrained to 1ms.
1311
+ * Defaults to `true`.
1312
+ */
1313
+ constrainTimeouts?: boolean;
1314
+ /**
1315
+ * Sets `document.cookie`
1316
+ */
1317
+ cookie?: string;
1318
+ /**
1319
+ * Sets the `dir` attribute on the top level `<html>`.
1320
+ */
1321
+ direction?: string;
1322
+ /**
1323
+ * Component tag names listed here will not be prerendered, nor will
1324
+ * hydrated on the client-side. Components listed here will be ignored
1325
+ * as custom elements and treated no differently than a `<div>`.
1326
+ */
1327
+ excludeComponents?: string[];
1328
+ /**
1329
+ * Sets the `lang` attribute on the top level `<html>`.
1330
+ */
1331
+ language?: string;
1332
+ /**
1333
+ * Maximum number of components to hydrate on one page. Defaults to `300`.
1334
+ */
1335
+ maxHydrateCount?: number;
1336
+ /**
1337
+ * Sets `document.referrer`
1338
+ */
1339
+ referrer?: string;
1340
+ /**
1341
+ * Removes every `<script>` element found in the `document`. Defaults to `false`.
1342
+ */
1343
+ removeScripts?: boolean;
1344
+ /**
1345
+ * Removes CSS not used by elements within the `document`. Defaults to `true`.
1346
+ */
1347
+ removeUnusedStyles?: boolean;
1348
+ /**
1349
+ * The url the runtime uses for the resources, such as the assets directory.
1350
+ */
1351
+ resourcesUrl?: string;
1352
+ /**
1353
+ * Prints out runtime console logs to the NodeJS process. Defaults to `false`.
1354
+ */
1355
+ runtimeLogging?: boolean;
1356
+ /**
1357
+ * Component tags listed here will only be prerendered or server-side-rendered
1358
+ * and will not be client-side hydrated. This is useful for components that
1359
+ * are not dynamic and do not need to be defined as a custom element within the
1360
+ * browser. For example, a header or footer component would be a good example that
1361
+ * may not require any client-side JavaScript.
1362
+ */
1363
+ staticComponents?: string[];
1364
+ /**
1365
+ * The amount of milliseconds to wait for a page to finish rendering until
1366
+ * a timeout error is thrown. Defaults to `15000`.
1367
+ */
1368
+ timeout?: number;
1369
+ /**
1370
+ * Sets `document.title`.
1371
+ */
1372
+ title?: string;
1373
+ /**
1374
+ * Sets `location.href`
1375
+ */
1376
+ url?: string;
1377
+ /**
1378
+ * Sets `navigator.userAgent`
1379
+ */
1380
+ userAgent?: string;
1381
+ /**
1382
+ * Configure how Stencil serializes the components shadow root.
1383
+ * - If set to `declarative-shadow-dom` the component will be rendered within a Declarative Shadow DOM.
1384
+ * - If set to `scoped` Stencil will render the contents of the shadow root as a `scoped: true` component
1385
+ * and the shadow DOM will be created during client-side hydration.
1386
+ * - Alternatively you can mix and match the two by providing an object with `declarative-shadow-dom` and `scoped` keys,
1387
+ * the value arrays containing the tag names of the components that should be rendered in that mode.
1388
+ *
1389
+ * Examples:
1390
+ * - `{ 'declarative-shadow-dom': ['my-component-1', 'another-component'], default: 'scoped' }`
1391
+ * Render all components as `scoped` apart from `my-component-1` and `another-component`
1392
+ * - `{ 'scoped': ['an-option-component'], default: 'declarative-shadow-dom' }`
1393
+ * Render all components within `declarative-shadow-dom` apart from `an-option-component`
1394
+ * - `'scoped'` Render all components as `scoped`
1395
+ * - `false` disables shadow root serialization
1396
+ *
1397
+ * *NOTE* `true` has been deprecated in favor of `declarative-shadow-dom` and `scoped`
1398
+ * @default 'declarative-shadow-dom'
1399
+ */
1400
+ serializeShadowRoot?: 'declarative-shadow-dom' | 'scoped' | {
1401
+ 'declarative-shadow-dom'?: string[];
1402
+ scoped?: string[];
1403
+ default: 'declarative-shadow-dom' | 'scoped';
1404
+ } | boolean;
1405
+ }
1406
+ interface SerializeDocumentOptions extends HydrateDocumentOptions {
1407
+ /**
1408
+ * Runs after the `document` has been hydrated.
1409
+ */
1410
+ afterHydrate?(document: any): any | Promise<any>;
1411
+ /**
1412
+ * Sets an approximate line width the HTML should attempt to stay within.
1413
+ * Note that this is "approximate", in that HTML may often not be able
1414
+ * to be split at an exact line width. Additionally, new lines created
1415
+ * is where HTML naturally already has whitespace, such as before an
1416
+ * attribute or spaces between words. Defaults to `100`.
1417
+ */
1418
+ approximateLineWidth?: number;
1419
+ /**
1420
+ * Runs before the `document` has been hydrated.
1421
+ */
1422
+ beforeHydrate?(document: any): any | Promise<any>;
1423
+ /**
1424
+ * Format the HTML in a nicely indented format.
1425
+ * Defaults to `false`.
1426
+ */
1427
+ prettyHtml?: boolean;
1428
+ /**
1429
+ * Remove quotes from attribute values when possible.
1430
+ * Defaults to `true`.
1431
+ */
1432
+ removeAttributeQuotes?: boolean;
1433
+ /**
1434
+ * Remove the `=""` from standardized `boolean` attributes,
1435
+ * such as `hidden` or `checked`. Defaults to `true`.
1436
+ */
1437
+ removeBooleanAttributeQuotes?: boolean;
1438
+ /**
1439
+ * Remove these standardized attributes when their value is empty:
1440
+ * `class`, `dir`, `id`, `lang`, and `name`, `title`. Defaults to `true`.
1441
+ */
1442
+ removeEmptyAttributes?: boolean;
1443
+ /**
1444
+ * Remove HTML comments. Defaults to `true`.
1445
+ */
1446
+ removeHtmlComments?: boolean;
1447
+ /**
1448
+ * The `fullDocument` flag determines the format of the rendered output. Set it to true to
1449
+ * generate a complete HTML document, or false to render only the component.
1450
+ * @default true
1451
+ */
1452
+ fullDocument?: boolean;
1453
+ /**
1454
+ * Style modes to render the component in.
1455
+ * @see https://stenciljs.com/docs/styling#style-modes
1456
+ */
1457
+ modes?: ResolutionHandler[];
1458
+ }
1459
+ interface HydrateFactoryOptions extends SerializeDocumentOptions {
1460
+ serializeToHtml: boolean;
1461
+ destroyWindow: boolean;
1462
+ destroyDocument: boolean;
1463
+ }
1464
+ //#endregion
1465
+ //#region src/declarations/stencil-private.d.ts
1466
+ interface ComponentConstructor {
1467
+ is?: string;
1468
+ properties?: ComponentConstructorProperties;
1469
+ watchers?: ComponentConstructorChangeHandlers;
1470
+ events?: ComponentConstructorEvent[];
1471
+ listeners?: ComponentConstructorListener[];
1472
+ style?: string;
1473
+ styleId?: string;
1474
+ encapsulation?: ComponentConstructorEncapsulation;
1475
+ observedAttributes?: string[];
1476
+ cmpMeta?: ComponentRuntimeMeta;
1477
+ isProxied?: boolean;
1478
+ isStyleRegistered?: boolean;
1479
+ serializers?: ComponentConstructorChangeHandlers;
1480
+ deserializers?: ComponentConstructorChangeHandlers;
1481
+ }
1482
+ /**
1483
+ * A mapping from class member names to a list of methods which are watching
1484
+ * them.
1485
+ */
1486
+ interface ComponentConstructorChangeHandlers {
1487
+ [propName: string]: {
1488
+ [methodName: string]: number;
1489
+ }[];
1490
+ }
1491
+ type ComponentConstructorEncapsulation = 'shadow' | 'scoped' | 'none';
1492
+ interface ComponentConstructorProperties {
1493
+ [propName: string]: ComponentConstructorProperty;
1494
+ }
1495
+ interface ComponentConstructorProperty {
1496
+ attribute?: string;
1497
+ elementRef?: boolean;
1498
+ method?: boolean;
1499
+ mutable?: boolean;
1500
+ reflect?: boolean;
1501
+ state?: boolean;
1502
+ type?: ComponentConstructorPropertyType;
1503
+ watchCallbacks?: string[];
1504
+ }
1505
+ type ComponentConstructorPropertyType = StringConstructor | BooleanConstructor | NumberConstructor | 'string' | 'boolean' | 'number';
1506
+ interface ComponentConstructorEvent {
1507
+ name: string;
1508
+ method: string;
1509
+ bubbles: boolean;
1510
+ cancelable: boolean;
1511
+ composed: boolean;
1512
+ }
1513
+ interface ComponentConstructorListener {
1514
+ name: string;
1515
+ method: string;
1516
+ capture?: boolean;
1517
+ passive?: boolean;
1518
+ }
1519
+ /**
1520
+ * An interface extending `HTMLElement` which describes the fields added onto
1521
+ * host HTML elements by the Stencil runtime.
1522
+ */
1523
+ interface HostElement extends HTMLElement {
1524
+ connectedCallback?: () => void;
1525
+ attributeChangedCallback?: (attribName: string, oldVal: string, newVal: string, namespace: string) => void;
1526
+ disconnectedCallback?: () => void;
1527
+ host?: Element;
1528
+ forceUpdate?: () => void;
1529
+ __stencil__getHostRef?: () => HostRef;
1530
+ /**
1531
+ * Unique stencil id for this element
1532
+ */
1533
+ ['s-id']?: string;
1534
+ /**
1535
+ * Content Reference:
1536
+ * Reference to the HTML Comment that's placed inside of the
1537
+ * host element's original content. This comment is used to
1538
+ * always represent where host element's light dom is.
1539
+ */
1540
+ ['s-cr']?: RenderNode;
1541
+ /**
1542
+ * Lifecycle ready
1543
+ */
1544
+ ['s-lr']?: boolean;
1545
+ /**
1546
+ * A reference to the `ElementInternals` object for the current host
1547
+ *
1548
+ * This is used for maintaining a reference to the object between HMR
1549
+ * refreshes in the lazy build.
1550
+ *
1551
+ * "stencil-element-internals"
1552
+ */
1553
+ ['s-ei']?: ElementInternals;
1554
+ /**
1555
+ * On Render Callbacks:
1556
+ * Array of callbacks to fire off after it has rendered.
1557
+ */
1558
+ ['s-rc']?: (() => void)[];
1559
+ /**
1560
+ * Scope Id
1561
+ * The scope id of this component when using scoped css encapsulation
1562
+ * or using shadow dom but the browser doesn't support it
1563
+ */
1564
+ ['s-sc']?: string;
1565
+ /**
1566
+ * Scope Ids
1567
+ * All the possible scope ids of this component when using scoped css encapsulation
1568
+ * or using shadow dom but the browser doesn't support it
1569
+ */
1570
+ ['s-scs']?: string[];
1571
+ /**
1572
+ * Hot Module Replacement, dev mode only
1573
+ *
1574
+ * This function should be defined by the HMR-supporting runtime and should
1575
+ * do the work of actually updating the component in-place.
1576
+ */
1577
+ ['s-hmr']?: (versionId: string) => void;
1578
+ /**
1579
+ * A list of nested nested hydration promises that
1580
+ * must be resolved for the top, ancestor component to be fully hydrated
1581
+ */
1582
+ ['s-p']?: Promise<void>[];
1583
+ componentOnReady?: () => Promise<this>;
1584
+ }
1585
+ /**
1586
+ * Generic node that represents all of the
1587
+ * different types of nodes we'd see when rendering
1588
+ */
1589
+ interface RenderNode extends HostElement {
1590
+ /**
1591
+ * Shadow root's host
1592
+ */
1593
+ host?: Element;
1594
+ /**
1595
+ * On Ref Function:
1596
+ * Callback function to be called when the slotted node ref is ready.
1597
+ */
1598
+ ['s-rf']?: (elm: Element) => unknown;
1599
+ /**
1600
+ * Is initially hidden
1601
+ * Whether this node was originally rendered with the `hidden` attribute.
1602
+ *
1603
+ * Used to reset the `hidden` state of a node during slot relocation.
1604
+ */
1605
+ ['s-ih']?: boolean;
1606
+ /**
1607
+ * Is Content Reference Node:
1608
+ * This node is a content reference node.
1609
+ */
1610
+ ['s-cn']?: boolean;
1611
+ /**
1612
+ * Is a `slot` node when `shadow: false` (or `scoped: true`).
1613
+ *
1614
+ * This is a node (either empty text-node or `<slot-fb>` element)
1615
+ * that represents where a `<slot>` is located in the original JSX.
1616
+ */
1617
+ ['s-sr']?: boolean;
1618
+ /**
1619
+ * Slot name of either the slot itself or the slotted node
1620
+ */
1621
+ ['s-sn']?: string;
1622
+ /**
1623
+ * Host element tag name:
1624
+ * The tag name of the host element that this
1625
+ * node was created in.
1626
+ */
1627
+ ['s-hn']?: string;
1628
+ /**
1629
+ * Slot host tag name:
1630
+ * This is the tag name of the element where this node
1631
+ * has been moved to during slot relocation.
1632
+ *
1633
+ * This allows us to check if the node has been moved and prevent
1634
+ * us from thinking a node _should_ be moved when it may already be in
1635
+ * its final destination.
1636
+ *
1637
+ * This value is set to `undefined` whenever the node is put back into its original location.
1638
+ */
1639
+ ['s-sh']?: string;
1640
+ /**
1641
+ * Original Location Reference:
1642
+ * A reference pointing to the comment
1643
+ * which represents the original location
1644
+ * before it was moved to its slot.
1645
+ */
1646
+ ['s-ol']?: RenderNode;
1647
+ /**
1648
+ * Node reference:
1649
+ * This is a reference from an original location node
1650
+ * back to the node that's been moved around.
1651
+ */
1652
+ ['s-nr']?: PatchedSlotNode | RenderNode;
1653
+ /**
1654
+ * Original Order:
1655
+ * During SSR; a number representing the order of a slotted node
1656
+ */
1657
+ ['s-oo']?: number;
1658
+ /**
1659
+ * Scope Id
1660
+ */
1661
+ ['s-si']?: string;
1662
+ /**
1663
+ * Host Id (hydrate only)
1664
+ */
1665
+ ['s-host-id']?: number;
1666
+ /**
1667
+ * Node Id (hydrate only)
1668
+ */
1669
+ ['s-node-id']?: number;
1670
+ /**
1671
+ * Used to know the components encapsulation.
1672
+ * empty "" for shadow, "c" from scoped
1673
+ */
1674
+ ['s-en']?: '' | /*shadow*/'c';
1675
+ /**
1676
+ * On a `scoped: true` component
1677
+ * with `experimentalSlotFixes` flag enabled,
1678
+ * returns the internal `childNodes` of the component
1679
+ */
1680
+ readonly __childNodes?: NodeListOf<ChildNode>;
1681
+ /**
1682
+ * On a `scoped: true` component
1683
+ * with `experimentalSlotFixes` flag enabled,
1684
+ * returns the internal `children` of the component
1685
+ */
1686
+ readonly __children?: HTMLCollectionOf<Element>;
1687
+ /**
1688
+ * On a `scoped: true` component
1689
+ * with `experimentalSlotFixes` flag enabled,
1690
+ * returns the internal `firstChild` of the component
1691
+ */
1692
+ readonly __firstChild?: ChildNode;
1693
+ /**
1694
+ * On a `scoped: true` component
1695
+ * with `experimentalSlotFixes` flag enabled,
1696
+ * returns the internal `lastChild` of the component
1697
+ */
1698
+ readonly __lastChild?: ChildNode;
1699
+ /**
1700
+ * On a `scoped: true` component
1701
+ * with `experimentalSlotFixes` flag enabled,
1702
+ * returns the internal `textContent` of the component
1703
+ */
1704
+ __textContent?: string;
1705
+ /**
1706
+ * On a `scoped: true` component
1707
+ * with `experimentalSlotFixes` flag enabled,
1708
+ * gives access to the original `append` method
1709
+ */
1710
+ __append?: (...nodes: (Node | string)[]) => void;
1711
+ /**
1712
+ * On a `scoped: true` component
1713
+ * with `experimentalSlotFixes` flag enabled,
1714
+ * gives access to the original `prepend` method
1715
+ */
1716
+ __prepend?: (...nodes: (Node | string)[]) => void;
1717
+ /**
1718
+ * On a `scoped: true` component
1719
+ * with `experimentalSlotFixes` flag enabled,
1720
+ * gives access to the original `appendChild` method
1721
+ */
1722
+ __appendChild?: <T extends Node>(newChild: T) => T;
1723
+ /**
1724
+ * On a `scoped: true` component
1725
+ * with `experimentalSlotFixes` flag enabled,
1726
+ * gives access to the original `insertBefore` method
1727
+ */
1728
+ __insertBefore?: <T extends Node>(node: T, child: Node | null) => T;
1729
+ /**
1730
+ * On a `scoped: true` component
1731
+ * with `experimentalSlotFixes` flag enabled,
1732
+ * gives access to the original `removeChild` method
1733
+ */
1734
+ __removeChild?: <T extends Node>(child: T) => T;
1735
+ }
1736
+ interface PatchedSlotNode extends Node {
1737
+ /**
1738
+ * Slot name
1739
+ */
1740
+ ['s-sn']?: string;
1741
+ /**
1742
+ * Original Location Reference:
1743
+ * A reference pointing to the comment
1744
+ * which represents the original location
1745
+ * before it was moved to its slot.
1746
+ */
1747
+ ['s-ol']?: RenderNode;
1748
+ /**
1749
+ * Slot host tag name:
1750
+ * This is the tag name of the element where this node
1751
+ * has been moved to during slot relocation.
1752
+ *
1753
+ * This allows us to check if the node has been moved and prevent
1754
+ * us from thinking a node _should_ be moved when it may already be in
1755
+ * its final destination.
1756
+ *
1757
+ * This value is set to `undefined` whenever the node is put back into its original location.
1758
+ */
1759
+ ['s-sh']?: string;
1760
+ /**
1761
+ * Is a `slot` node when `shadow: false` (or `scoped: true`).
1762
+ *
1763
+ * This is a node (either empty text-node or `<slot-fb>` element)
1764
+ * that represents where a `<slot>` is located in the original JSX.
1765
+ */
1766
+ ['s-sr']?: boolean;
1767
+ /**
1768
+ * On a `scoped: true` component
1769
+ * with `experimentalSlotFixes` flag enabled,
1770
+ * returns the actual `parentNode` of the component
1771
+ */
1772
+ __parentNode?: RenderNode;
1773
+ /**
1774
+ * On a `scoped: true` component
1775
+ * with `experimentalSlotFixes` flag enabled,
1776
+ * returns the actual `nextSibling` of the component
1777
+ */
1778
+ __nextSibling?: RenderNode;
1779
+ /**
1780
+ * On a `scoped: true` component
1781
+ * with `experimentalSlotFixes` flag enabled,
1782
+ * returns the actual `previousSibling` of the component
1783
+ */
1784
+ __previousSibling?: RenderNode;
1785
+ /**
1786
+ * On a `scoped: true` component
1787
+ * with `experimentalSlotFixes` flag enabled,
1788
+ * returns the actual `nextElementSibling` of the component
1789
+ */
1790
+ __nextElementSibling?: RenderNode;
1791
+ /**
1792
+ * On a `scoped: true` component
1793
+ * with `experimentalSlotFixes` flag enabled,
1794
+ * returns the actual `nextElementSibling` of the component
1795
+ */
1796
+ __previousElementSibling?: RenderNode;
1797
+ }
1798
+ type LazyBundlesRuntimeData = LazyBundleRuntimeData[];
1799
+ type LazyBundleRuntimeData = [/** bundleIds */string, ComponentRuntimeMetaCompact[]];
1800
+ type ComponentRuntimeMetaCompact = [/** flags */number, /** tagname */string, /** members */{
1801
+ [memberName: string]: ComponentRuntimeMember;
1802
+ }?, /** listeners */ComponentRuntimeHostListener[]?, /** watchers */ComponentConstructorChangeHandlers?, /** serializers */ComponentConstructorChangeHandlers?, /** deserializers */ComponentConstructorChangeHandlers?];
1803
+ /**
1804
+ * Runtime metadata for a Stencil component
1805
+ */
1806
+ interface ComponentRuntimeMeta {
1807
+ /**
1808
+ * This number is used to hold a series of bitflags for various features we
1809
+ * support on components. The flags which this value is intended to store are
1810
+ * documented in the `CMP_FLAGS` enum.
1811
+ */
1812
+ $flags$: number;
1813
+ /**
1814
+ * Just what it says on the tin - the tag name for the component, as set in
1815
+ * the `@Component` decorator.
1816
+ */
1817
+ $tagName$: string;
1818
+ /**
1819
+ * A map of the component's members, which could include fields decorated
1820
+ * with `@Prop`, `@State`, etc as well as methods.
1821
+ */
1822
+ $members$?: ComponentRuntimeMembers;
1823
+ /**
1824
+ * Information about listeners on the component.
1825
+ */
1826
+ $listeners$?: ComponentRuntimeHostListener[];
1827
+ /**
1828
+ * Tuples containing information about `@Prop` fields on the component which
1829
+ * are set to be reflected (i.e. kept in sync) as HTML attributes when
1830
+ * updated.
1831
+ */
1832
+ $attrsToReflect$?: ComponentRuntimeReflectingAttr[];
1833
+ /**
1834
+ * Information about which class members have watchers attached on the component.
1835
+ */
1836
+ $watchers$?: ComponentConstructorChangeHandlers;
1837
+ /**
1838
+ * A bundle ID used for lazy loading.
1839
+ */
1840
+ $lazyBundleId$?: string;
1841
+ /**
1842
+ * Information about which class members have prop > attribute serializers attached on the component.
1843
+ */
1844
+ $serializers$?: ComponentConstructorChangeHandlers;
1845
+ /**
1846
+ * Information about which class members have attribute > prop deserializers attached on the component.
1847
+ */
1848
+ $deserializers$?: ComponentConstructorChangeHandlers;
1849
+ }
1850
+ /**
1851
+ * A mapping of the names of members on the component to some runtime-specific
1852
+ * information about them.
1853
+ */
1854
+ interface ComponentRuntimeMembers {
1855
+ [memberName: string]: ComponentRuntimeMember;
1856
+ }
1857
+ /**
1858
+ * A tuple with information about a class member that's relevant at runtime.
1859
+ * The fields are:
1860
+ *
1861
+ * 1. A number used to hold bitflags for component members. The bit flags which
1862
+ * this is intended to store are documented in the `MEMBER_FLAGS` enum.
1863
+ * 2. The attribute name to observe.
1864
+ */
1865
+ type ComponentRuntimeMember = [number, string?];
1866
+ /**
1867
+ * A tuple holding information about a host listener which is relevant at
1868
+ * runtime. The field are:
1869
+ *
1870
+ * 1. A number used to hold bitflags for listeners. The bit flags which this is
1871
+ * intended to store are documented in the `LISTENER_FLAGS` enum.
1872
+ * 2. The event name.
1873
+ * 3. The method name.
1874
+ */
1875
+ type ComponentRuntimeHostListener = [number, string, string];
1876
+ /**
1877
+ * A tuple containing information about props which are "reflected" at runtime,
1878
+ * meaning that HTML attributes on the component instance are kept in sync with
1879
+ * the prop value.
1880
+ *
1881
+ * The fields are:
1882
+ *
1883
+ * 1. the prop name
1884
+ * 2. the prop attribute.
1885
+ */
1886
+ type ComponentRuntimeReflectingAttr = [string, string | undefined];
1887
+ /**
1888
+ * A runtime component reference, consistent of either a host element _or_ an
1889
+ * empty object. This is used in particular in a few different places as the
1890
+ * keys in a `WeakMap` which maps {@link HostElement} instances to their
1891
+ * associated {@link HostRef} instance.
1892
+ */
1893
+ type RuntimeRef = HostElement | {
1894
+ __stencil__getHostRef?: () => HostRef;
1895
+ };
1896
+ /**
1897
+ * Interface used to track an Element, it's virtual Node (`VNode`), and other data
1898
+ */
1899
+ interface HostRef {
1900
+ $ancestorComponent$?: HostElement;
1901
+ $flags$: number;
1902
+ $cmpMeta$: ComponentRuntimeMeta;
1903
+ $hostElement$: HostElement;
1904
+ $instanceValues$?: Map<string, any>;
1905
+ $serializerValues$?: Map<string, string>;
1906
+ $lazyInstance$?: ComponentInterface;
1907
+ /**
1908
+ * A list of callback functions called immediately after a lazy component module has been fetched.
1909
+ */
1910
+ $fetchedCbList$?: ((elm: HostElement) => void)[];
1911
+ /**
1912
+ * A promise that gets resolved if `BUILD.asyncLoading` is enabled and after the `componentDidLoad`
1913
+ * and before the `componentDidUpdate` lifecycle events are triggered.
1914
+ */
1915
+ $onReadyPromise$?: Promise<HostElement>;
1916
+ /**
1917
+ * A callback which resolves {@link HostRef.$onReadyPromise$}
1918
+ * @param elm host element
1919
+ */
1920
+ $onReadyResolve$?: (elm: HostElement) => void;
1921
+ /**
1922
+ * A promise which resolves with the host component once it has finished rendering
1923
+ * for the first time. This is primarily used to wait for the first `update` to be
1924
+ * called on a component.
1925
+ */
1926
+ $onInstancePromise$?: Promise<HostElement>;
1927
+ /**
1928
+ * A callback which resolves {@link HostRef.$onInstancePromise$}
1929
+ * @param elm host element
1930
+ */
1931
+ $onInstanceResolve$?: (elm: HostElement) => void;
1932
+ /**
1933
+ * A promise which resolves when the component has finished rendering for the first time.
1934
+ * It is called after {@link HostRef.$onInstancePromise$} resolves.
1935
+ */
1936
+ $onRenderResolve$?: () => void;
1937
+ $vnode$?: VNode;
1938
+ $queuedListeners$?: [string, any][];
1939
+ $rmListeners$?: (() => void)[];
1940
+ $modeName$?: string;
1941
+ $renderCount$?: number;
1942
+ /**
1943
+ * Defer connectedCallback until after first render for components with slot relocation.
1944
+ */
1945
+ $deferredConnectedCallback$?: boolean;
1946
+ }
1947
+ interface PlatformRuntime {
1948
+ /**
1949
+ * This number is used to hold a series of bitflags for various features we
1950
+ * support within the runtime. The flags which this value is intended to store are
1951
+ * documented in the {@link PLATFORM_FLAGS} enum.
1952
+ */
1953
+ $flags$: number;
1954
+ /**
1955
+ * Holds a map of nodes to be hydrated.
1956
+ */
1957
+ $orgLocNodes$?: Map<string, RenderNode>;
1958
+ /**
1959
+ * Holds the resource url for given platform environment.
1960
+ */
1961
+ $resourcesUrl$: string;
1962
+ /**
1963
+ * The nonce value to be applied to all script/style tags at runtime.
1964
+ * If `null`, the nonce attribute will not be applied.
1965
+ */
1966
+ $nonce$?: string | null;
1967
+ /**
1968
+ * A utility function that executes a given function and returns the result.
1969
+ * @param c The callback function to execute
1970
+ */
1971
+ jmp: (c: Function) => any;
1972
+ /**
1973
+ * A wrapper for {@link https://developer.mozilla.org/en-US/docs/Web/API/Window/requestAnimationFrame `requestAnimationFrame`}
1974
+ */
1975
+ raf: (c: FrameRequestCallback) => number;
1976
+ /**
1977
+ * A wrapper for {@link https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener `addEventListener`}
1978
+ */
1979
+ ael: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
1980
+ /**
1981
+ * A wrapper for {@link https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener `removeEventListener`}
1982
+ */
1983
+ rel: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
1984
+ /**
1985
+ * A wrapper for creating a {@link https://developer.mozilla.org/docs/Web/API/CustomEvent `CustomEvent`}
1986
+ */
1987
+ ce: (eventName: string, opts?: any) => CustomEvent;
1988
+ }
1989
+ type StyleMap = Map<string, CSSStyleSheet | string>;
1990
+ type ChildType = VNode | number | string;
1991
+ //#endregion
1992
+ //#region src/client/client-build.d.ts
1993
+ declare const Build: UserBuildConditionals;
1994
+ //#endregion
1995
+ //#region src/client/client-host-ref.d.ts
1996
+ /**
1997
+ * Given a {@link d.RuntimeRef} retrieve the corresponding {@link d.HostRef}
1998
+ *
1999
+ * @param ref the runtime ref of interest
2000
+ * @returns the Host reference (if found) or undefined
2001
+ */
2002
+ declare const getHostRef: (ref: RuntimeRef) => HostRef | undefined;
2003
+ /**
2004
+ * Register a lazy instance with the {@link hostRefs} object so it's
2005
+ * corresponding {@link d.HostRef} can be retrieved later.
2006
+ *
2007
+ * @param lazyInstance the lazy instance of interest
2008
+ * @param hostRef that instances `HostRef` object
2009
+ */
2010
+ declare const registerInstance: (lazyInstance: any, hostRef: HostRef) => void;
2011
+ /**
2012
+ * Register a host element for a Stencil component, setting up various metadata
2013
+ * and callbacks based on {@link BUILD} flags as well as the component's runtime
2014
+ * metadata.
2015
+ *
2016
+ * @param hostElement the host element to register
2017
+ * @param cmpMeta runtime metadata for that component
2018
+ * @returns a reference to the host ref WeakMap
2019
+ */
2020
+ declare const registerHost: (hostElement: HostElement, cmpMeta: ComponentRuntimeMeta) => HostRef;
2021
+ declare const isMemberInElement: (elm: any, memberName: string) => boolean;
2022
+ //#endregion
2023
+ //#region src/client/client-load-module.d.ts
2024
+ declare const cmpModules: Map<string, {
2025
+ [exportName: string]: ComponentConstructor;
2026
+ }>;
2027
+ declare const loadModule: (cmpMeta: ComponentRuntimeMeta, hostRef: HostRef, hmrVersionId?: string) => Promise<ComponentConstructor | undefined> | ComponentConstructor | undefined;
2028
+ //#endregion
2029
+ //#region src/client/client-log.d.ts
2030
+ declare const consoleError: ErrorHandler;
2031
+ declare const STENCIL_DEV_MODE: string[];
2032
+ declare const consoleDevError: (...m: any[]) => void;
2033
+ declare const consoleDevWarn: (...m: any[]) => void;
2034
+ declare const consoleDevInfo: (...m: any[]) => void;
2035
+ declare const setErrorHandler: (handler: ErrorHandler) => ErrorHandler;
2036
+ //#endregion
2037
+ //#region src/client/client-style.d.ts
2038
+ declare const styles: StyleMap;
2039
+ declare const modeResolutionChain: ResolutionHandler[];
2040
+ declare const setScopedSSR: (_opts: HydrateFactoryOptions) => void;
2041
+ declare const needsScopedSSR: () => boolean;
2042
+ //#endregion
2043
+ //#region src/client/client-task-queue.d.ts
2044
+ declare const nextTick: (cb: () => void) => Promise<void>;
2045
+ declare const readTask: (cb: RafCallback) => void;
2046
+ declare const writeTask: (cb: RafCallback) => void;
2047
+ //#endregion
2048
+ //#region src/client/client-window.d.ts
2049
+ interface StencilWindow extends Omit<Window, 'document'> {
2050
+ document?: Document;
2051
+ }
2052
+ declare const win: StencilWindow;
2053
+ declare const H: HTMLElement;
2054
+ declare const plt: PlatformRuntime;
2055
+ declare const setPlatformHelpers: (helpers: {
2056
+ jmp?: (c: any) => any;
2057
+ raf?: (c: any) => number;
2058
+ ael?: (el: any, eventName: string, listener: any, options: any) => void;
2059
+ rel?: (el: any, eventName: string, listener: any, options: any) => void;
2060
+ ce?: (eventName: string, opts?: any) => any;
2061
+ }) => void;
2062
+ declare const supportsShadow: boolean;
2063
+ declare const supportsListenerOptions: boolean;
2064
+ declare const promiseResolve: (v?: any) => Promise<any>;
2065
+ declare const supportsConstructableStylesheets: boolean;
2066
+ declare const supportsMutableAdoptedStyleSheets: boolean;
2067
+ //#endregion
2068
+ //#region src/runtime/asset-path.d.ts
2069
+ declare const getAssetPath: (path: string) => string;
2070
+ declare const setAssetPath: (path: string) => string;
2071
+ //#endregion
2072
+ //#region src/runtime/bootstrap-custom-element.d.ts
2073
+ declare const defineCustomElement: (Cstr: any, compactMeta: ComponentRuntimeMetaCompact) => void;
2074
+ declare const proxyCustomElement: (Cstr: any, compactMeta: ComponentRuntimeMetaCompact) => any;
2075
+ declare const forceModeUpdate: (elm: RenderNode) => void;
2076
+ //#endregion
2077
+ //#region src/runtime/bootstrap-lazy.d.ts
2078
+ declare const bootstrapLazy: (lazyBundles: LazyBundlesRuntimeData, options?: CustomElementsDefineOptions) => void;
2079
+ //#endregion
2080
+ //#region src/runtime/connected-callback.d.ts
2081
+ declare const connectedCallback: (elm: HostElement) => void;
2082
+ //#endregion
2083
+ //#region src/runtime/disconnected-callback.d.ts
2084
+ declare const disconnectedCallback: (elm: HostElement) => Promise<void>;
2085
+ //#endregion
2086
+ //#region src/runtime/element.d.ts
2087
+ declare const getElement: (ref: any) => HostElement;
2088
+ //#endregion
2089
+ //#region src/runtime/event-emitter.d.ts
2090
+ declare const createEvent: (ref: RuntimeRef, name: string, flags: number) => {
2091
+ emit: (detail: any) => CustomEvent<any>;
2092
+ };
2093
+ //#endregion
2094
+ //#region src/runtime/fragment.d.ts
2095
+ declare const Fragment: FunctionalComponent;
2096
+ //#endregion
2097
+ //#region src/runtime/host-listener.d.ts
2098
+ declare const addHostEventListeners: (elm: HostElement, hostRef: HostRef, listeners?: ComponentRuntimeHostListener[], attachParentListeners?: boolean) => void;
2099
+ //#endregion
2100
+ //#region src/runtime/mixin.d.ts
2101
+ type Ctor<T = {}> = new (...args: any[]) => T;
2102
+ declare function Mixin(...mixins: ((base: Ctor) => Ctor)[]): Ctor<{}>;
2103
+ //#endregion
2104
+ //#region src/runtime/mode.d.ts
2105
+ declare const setMode: (handler: ResolutionHandler) => number;
2106
+ declare const getMode: (ref: RuntimeRef) => string;
2107
+ //#endregion
2108
+ //#region src/runtime/nonce.d.ts
2109
+ /**
2110
+ * Assigns the given value to the nonce property on the runtime platform object.
2111
+ * During runtime, this value is used to set the nonce attribute on all dynamically created script and style tags.
2112
+ * @param nonce The value to be assigned to the platform nonce property.
2113
+ * @returns void
2114
+ */
2115
+ declare const setNonce: (nonce: string) => string;
2116
+ //#endregion
2117
+ //#region src/runtime/parse-property-value.d.ts
2118
+ /**
2119
+ * Parse a new property value for a given property type.
2120
+ *
2121
+ * While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
2122
+ * it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
2123
+ * 1. `any`, the type given to `propValue` in the function signature
2124
+ * 2. the type stored from `propType`.
2125
+ *
2126
+ * This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
2127
+ *
2128
+ * Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
2129
+ * a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
2130
+ * based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
2131
+ * ```tsx
2132
+ * <my-cmp prop-val={0}></my-cmp>
2133
+ * ```
2134
+ *
2135
+ * HTML prop values on the other hand, will always a string
2136
+ *
2137
+ * @param propValue the new value to coerce to some type
2138
+ * @param propType the type of the prop, expressed as a binary number
2139
+ * @param isFormAssociated whether the component is form-associated (optional)
2140
+ * @returns the parsed/coerced value
2141
+ */
2142
+ declare const parsePropertyValue: (propValue: unknown, propType: number, isFormAssociated?: boolean) => any;
2143
+ //#endregion
2144
+ //#region src/runtime/platform-options.d.ts
2145
+ interface SetPlatformOptions {
2146
+ raf?: (c: FrameRequestCallback) => number;
2147
+ ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
2148
+ rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
2149
+ ce?: (eventName: string, opts?: any) => CustomEvent;
2150
+ }
2151
+ declare const setPlatformOptions: (opts: SetPlatformOptions) => PlatformRuntime & SetPlatformOptions;
2152
+ //#endregion
2153
+ //#region src/runtime/proxy-component.d.ts
2154
+ /**
2155
+ * Attach a series of runtime constructs to a compiled Stencil component
2156
+ * constructor, including getters and setters for the `@Prop` and `@State`
2157
+ * decorators, callbacks for when attributes change, and so on.
2158
+ *
2159
+ * On a lazy loaded component, this is wired up to both the class instance
2160
+ * and the element separately. A `hostRef` keeps the 2 in sync.
2161
+ *
2162
+ * On a traditional component, this is wired up to the element only.
2163
+ *
2164
+ * @param Cstr the constructor for a component that we need to process
2165
+ * @param cmpMeta metadata collected previously about the component
2166
+ * @param flags a number used to store a series of bit flags
2167
+ * @returns a reference to the same constructor passed in (but now mutated)
2168
+ */
2169
+ declare const proxyComponent: (Cstr: ComponentConstructor, cmpMeta: ComponentRuntimeMeta, flags: number) => ComponentConstructor;
2170
+ //#endregion
2171
+ //#region src/runtime/render.d.ts
2172
+ /**
2173
+ * Method to render a virtual DOM tree to a container element.
2174
+ *
2175
+ * @example
2176
+ * ```tsx
2177
+ * import { render } from '@stencil/core';
2178
+ *
2179
+ * const vnode = (
2180
+ * <div>
2181
+ * <h1>Hello, world!</h1>
2182
+ * </div>
2183
+ * );
2184
+ * render(vnode, document.body);
2185
+ * ```
2186
+ *
2187
+ * @param vnode - The virtual DOM tree to render
2188
+ * @param container - The container element to render the virtual DOM tree to
2189
+ */
2190
+ declare function render(vnode: VNode, container: Element): void;
2191
+ //#endregion
2192
+ //#region src/runtime/runtime-constants.d.ts
2193
+ declare const HYDRATED_STYLE_ID = "sty-id";
2194
+ //#endregion
2195
+ //#region src/runtime/set-value.d.ts
2196
+ declare const getValue: (ref: RuntimeRef, propName: string) => any;
2197
+ declare const setValue: (ref: RuntimeRef, propName: string, newVal: any, cmpMeta: ComponentRuntimeMeta) => void;
2198
+ //#endregion
2199
+ //#region src/runtime/tag-transform.d.ts
2200
+ /**
2201
+ * Transforms a tag name using the current tag transformer
2202
+ * @param tag - the tag to transform e.g. `my-tag`
2203
+ * @returns the transformed tag e.g. `new-my-tag`
2204
+ */
2205
+ declare function transformTag<T extends string>(tag: T): T;
2206
+ /**
2207
+ * Sets the tag transformer to be used when rendering custom elements
2208
+ * @param transformer the transformer function to use. Must return a string
2209
+ */
2210
+ declare function setTagTransformer(transformer: TagTransformer): void;
2211
+ //#endregion
2212
+ //#region src/runtime/update-component.d.ts
2213
+ declare const getRenderingRef: () => any;
2214
+ declare const postUpdateComponent: (hostRef: HostRef) => void;
2215
+ declare const forceUpdate: (ref: any) => boolean;
2216
+ //#endregion
2217
+ //#region src/runtime/vdom/h.d.ts
2218
+ declare const h: (nodeName: any, vnodeData: any, ...children: ChildType[]) => VNode;
2219
+ declare const Host: {};
2220
+ //#endregion
2221
+ //#region src/runtime/vdom/jsx-dev-runtime.d.ts
2222
+ /**
2223
+ * JSX development runtime function for creating elements with debug info.
2224
+ * Called by TypeScript's jsx transform in development mode.
2225
+ *
2226
+ * @param type - The element type (string tag name or functional component)
2227
+ * @param props - The element props (includes children, key, etc.)
2228
+ * @param key - The element's key (passed separately in dev mode)
2229
+ * @param isStaticChildren - Whether children are static (optimization hint)
2230
+ * @param source - Source location information for debugging
2231
+ * @param self - The component instance (for debugging)
2232
+ * @returns A virtual DOM node
2233
+ */
2234
+ declare function jsxDEV(type: any, props: any, key?: string | number, _isStaticChildren?: boolean, _source?: any, _self?: any): VNode;
2235
+ //#endregion
2236
+ //#region src/runtime/vdom/jsx-runtime.d.ts
2237
+ /**
2238
+ * JSX runtime function for creating elements in production mode.
2239
+ * Called by TypeScript's jsx transform for elements without static children.
2240
+ *
2241
+ * @param type - The element type (string tag name or functional component)
2242
+ * @param props - The element props (includes children)
2243
+ * @param key - Optional key for the element
2244
+ * @returns A virtual DOM node
2245
+ */
2246
+ declare function jsx(type: any, props: any, key?: string): VNode;
2247
+ /**
2248
+ * JSX runtime function for creating elements with static children.
2249
+ * Called by TypeScript's jsx transform as an optimization when children are static.
2250
+ *
2251
+ * @param type - The element type (string tag name or functional component)
2252
+ * @param props - The element props (includes children)
2253
+ * @param key - Optional key for the element
2254
+ * @returns A virtual DOM node
2255
+ */
2256
+ declare function jsxs(type: any, props: any, key?: string): VNode;
2257
+ //#endregion
2258
+ //#region src/runtime/vdom/vdom-annotations.d.ts
2259
+ /**
2260
+ * Updates the DOM generated on the server with annotations such as node attributes and
2261
+ * comment nodes to facilitate future client-side hydration. These annotations are used for things
2262
+ * like moving elements back to their original hosts if using Shadow DOM on the client, and for quickly
2263
+ * reconstructing the vNode representations of the DOM.
2264
+ *
2265
+ * @param doc The DOM generated by the server.
2266
+ * @param staticComponents Any components that should be considered static and do not need client-side hydration.
2267
+ */
2268
+ declare const insertVdomAnnotations: (doc: Document, staticComponents: string[]) => void;
2269
+ //#endregion
2270
+ //#region src/runtime/vdom/vdom-render.d.ts
2271
+ /**
2272
+ * The main entry point for Stencil's virtual DOM-based rendering engine
2273
+ *
2274
+ * Given a {@link d.HostRef} container and some virtual DOM nodes, this
2275
+ * function will handle creating a virtual DOM tree with a single root, patching
2276
+ * the current virtual DOM tree onto an old one (if any), dealing with slot
2277
+ * relocation, and reflecting attributes.
2278
+ *
2279
+ * @param hostRef data needed to root and render the virtual DOM tree, such as
2280
+ * the DOM node into which it should be rendered.
2281
+ * @param renderFnResults the virtual DOM nodes to be rendered
2282
+ * @param isInitialLoad whether or not this is the first call after page load
2283
+ */
2284
+ declare const renderVdom: (hostRef: HostRef, renderFnResults: VNode | VNode[], isInitialLoad?: boolean) => void;
2285
+ //#endregion
2286
+ export { BUILD, Build, Env, Fragment, H, H as HTMLElement, type HTMLStencilElement, HYDRATED_STYLE_ID, Host, type JSXBase, Mixin, NAMESPACE, STENCIL_DEV_MODE, addHostEventListeners, bootstrapLazy, cmpModules, connectedCallback, consoleDevError, consoleDevInfo, consoleDevWarn, consoleError, createEvent, defineCustomElement, disconnectedCallback, forceModeUpdate, forceUpdate, getAssetPath, getElement, getHostRef, getMode, getRenderingRef, getValue, h, insertVdomAnnotations, isMemberInElement, jsx, jsxDEV, jsxs, loadModule, modeResolutionChain, needsScopedSSR, nextTick, parsePropertyValue, plt, postUpdateComponent, promiseResolve, proxyComponent, proxyCustomElement, readTask, registerHost, registerInstance, render, renderVdom, setAssetPath, setErrorHandler, setMode, setNonce, setPlatformHelpers, setPlatformOptions, setScopedSSR, setTagTransformer, setValue, styles, supportsConstructableStylesheets, supportsListenerOptions, supportsMutableAdoptedStyleSheets, supportsShadow, transformTag, win, writeTask };