@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,1893 @@
1
+ //#region src/declarations/stencil-public-runtime.d.ts
2
+ interface ElementDecorator {
3
+ (): PropertyDecorator;
4
+ }
5
+ interface EventDecorator {
6
+ (opts?: EventOptions): PropertyDecorator;
7
+ }
8
+ interface EventOptions {
9
+ /**
10
+ * A string custom event name to override the default.
11
+ */
12
+ eventName?: string;
13
+ /**
14
+ * A Boolean indicating whether the event bubbles up through the DOM or not.
15
+ */
16
+ bubbles?: boolean;
17
+ /**
18
+ * A Boolean indicating whether the event is cancelable.
19
+ */
20
+ cancelable?: boolean;
21
+ /**
22
+ * A Boolean value indicating whether or not the event can bubble across the boundary between the shadow DOM and the regular DOM.
23
+ */
24
+ composed?: boolean;
25
+ }
26
+ /**
27
+ * The `@Element()` decorator is a reference to the actual host element
28
+ * once it has rendered.
29
+ */
30
+ declare const Element$1: ElementDecorator;
31
+ /**
32
+ * Components can emit data and events using the Event Emitter decorator.
33
+ * To dispatch Custom DOM events for other components to handle, use the
34
+ * `@Event()` decorator. The Event decorator also makes it easier for Stencil
35
+ * to automatically build types and documentation for the event data.
36
+ * https://stenciljs.com/docs/events
37
+ */
38
+ declare const Event: EventDecorator;
39
+ type ResolutionHandler = (elm: HTMLElement) => string | undefined | null;
40
+ interface HTMLStencilElement extends HTMLElement {
41
+ componentOnReady(): Promise<this>;
42
+ }
43
+ type TagTransformer = (tag: string) => string;
44
+ interface ComponentInterface {
45
+ connectedCallback?(): void;
46
+ disconnectedCallback?(): void;
47
+ componentWillRender?(): Promise<void> | void;
48
+ componentDidRender?(): void;
49
+ /**
50
+ * The component is about to load and it has not
51
+ * rendered yet.
52
+ *
53
+ * This is the best place to make any data updates
54
+ * before the first render.
55
+ *
56
+ * componentWillLoad will only be called once.
57
+ */
58
+ componentWillLoad?(): Promise<void> | void;
59
+ /**
60
+ * The component has loaded and has already rendered.
61
+ *
62
+ * Updating data in this method will cause the
63
+ * component to re-render.
64
+ *
65
+ * componentDidLoad will only be called once.
66
+ */
67
+ componentDidLoad?(): void;
68
+ /**
69
+ * A `@Prop` or `@State` property changed and a rerender is about to be requested.
70
+ *
71
+ * Called multiple times throughout the life of
72
+ * the component as its properties change.
73
+ *
74
+ * componentShouldUpdate is not called on the first render.
75
+ */
76
+ componentShouldUpdate?(newVal: any, oldVal: any, propName: string): boolean | void;
77
+ /**
78
+ * The component is about to update and re-render.
79
+ *
80
+ * Called multiple times throughout the life of
81
+ * the component as it updates.
82
+ *
83
+ * componentWillUpdate is not called on the first render.
84
+ */
85
+ componentWillUpdate?(): Promise<void> | void;
86
+ /**
87
+ * The component has just re-rendered.
88
+ *
89
+ * Called multiple times throughout the life of
90
+ * the component as it updates.
91
+ *
92
+ * componentWillUpdate is not called on the
93
+ * first render.
94
+ */
95
+ componentDidUpdate?(): void;
96
+ render?(): any;
97
+ [memberName: string]: any;
98
+ }
99
+ /**
100
+ * Utilities for working with functional Stencil components. An object
101
+ * conforming to this interface is passed by the Stencil runtime as the third
102
+ * argument to a functional component, allowing component authors to work with
103
+ * features like children.
104
+ *
105
+ * The children of a functional component will be passed as the second
106
+ * argument, so a functional component which uses these utils to transform its
107
+ * children might look like the following:
108
+ *
109
+ * ```ts
110
+ * export const AddClass: FunctionalComponent = (_, children, utils) => (
111
+ * utils.map(children, child => ({
112
+ * ...child,
113
+ * vattrs: {
114
+ * ...child.vattrs,
115
+ * class: `${child.vattrs.class} add-class`
116
+ * }
117
+ * }))
118
+ * );
119
+ * ```
120
+ *
121
+ * For more see the Stencil documentation, here:
122
+ * https://stenciljs.com/docs/functional-components
123
+ */
124
+ interface FunctionalUtilities {
125
+ /**
126
+ * Utility for reading the children of a functional component at runtime.
127
+ * Since the Stencil runtime uses a different interface for children it is
128
+ * not recommended to read the children directly, and is preferable to use
129
+ * this utility to, for instance, perform a side effect for each child.
130
+ */
131
+ forEach: (children: VNode[], cb: (vnode: ChildNode$1, index: number, array: ChildNode$1[]) => void) => void;
132
+ /**
133
+ * Utility for transforming the children of a functional component. Given an
134
+ * array of children and a callback this will return a list of the results of
135
+ * passing each child to the supplied callback.
136
+ */
137
+ map: (children: VNode[], cb: (vnode: ChildNode$1, index: number, array: ChildNode$1[]) => ChildNode$1) => VNode[];
138
+ }
139
+ interface FunctionalComponent<T = {}> {
140
+ (props: T, children: VNode[], utils: FunctionalUtilities): VNode | VNode[] | null;
141
+ }
142
+ /**
143
+ * A Child VDOM node
144
+ *
145
+ * This has most of the same properties as {@link VNode} but friendlier names
146
+ * (i.e. `vtag` instead of `$tag$`, `vchildren` instead of `$children$`) in
147
+ * order to provide a friendlier public interface for users of the
148
+ * {@link FunctionalUtilities}).
149
+ */
150
+ interface ChildNode$1 {
151
+ vtag?: string | number | Function;
152
+ vkey?: string | number;
153
+ vtext?: string;
154
+ vchildren?: VNode[];
155
+ vattrs?: any;
156
+ vname?: string;
157
+ }
158
+ /**
159
+ * A virtual DOM node
160
+ */
161
+ interface VNode {
162
+ $flags$: number;
163
+ $tag$: string | number | Function;
164
+ $elm$: any;
165
+ $text$: string;
166
+ $children$: VNode[];
167
+ $attrs$?: any;
168
+ $name$?: string;
169
+ $key$?: string | number;
170
+ }
171
+ declare namespace JSXBase {
172
+ interface IntrinsicElements {
173
+ slot: JSXBase.SlotAttributes<HTMLSlotElement>;
174
+ a: JSXBase.AnchorHTMLAttributes<HTMLAnchorElement>;
175
+ abbr: JSXBase.HTMLAttributes;
176
+ address: JSXBase.HTMLAttributes;
177
+ area: JSXBase.AreaHTMLAttributes<HTMLAreaElement>;
178
+ article: JSXBase.HTMLAttributes;
179
+ aside: JSXBase.HTMLAttributes;
180
+ audio: JSXBase.AudioHTMLAttributes<HTMLAudioElement>;
181
+ b: JSXBase.HTMLAttributes;
182
+ base: JSXBase.BaseHTMLAttributes<HTMLBaseElement>;
183
+ bdi: JSXBase.HTMLAttributes;
184
+ bdo: JSXBase.HTMLAttributes;
185
+ big: JSXBase.HTMLAttributes;
186
+ blockquote: JSXBase.BlockquoteHTMLAttributes<HTMLQuoteElement>;
187
+ body: JSXBase.HTMLAttributes<HTMLBodyElement>;
188
+ br: JSXBase.HTMLAttributes<HTMLBRElement>;
189
+ button: JSXBase.ButtonHTMLAttributes<HTMLButtonElement>;
190
+ canvas: JSXBase.CanvasHTMLAttributes<HTMLCanvasElement>;
191
+ caption: JSXBase.HTMLAttributes<HTMLTableCaptionElement>;
192
+ cite: JSXBase.HTMLAttributes;
193
+ code: JSXBase.HTMLAttributes;
194
+ col: JSXBase.ColHTMLAttributes<HTMLTableColElement>;
195
+ colgroup: JSXBase.ColgroupHTMLAttributes<HTMLTableColElement>;
196
+ data: JSXBase.HTMLAttributes<HTMLDataElement>;
197
+ datalist: JSXBase.HTMLAttributes<HTMLDataListElement>;
198
+ dd: JSXBase.HTMLAttributes;
199
+ del: JSXBase.DelHTMLAttributes<HTMLModElement>;
200
+ details: JSXBase.DetailsHTMLAttributes<HTMLElement>;
201
+ dfn: JSXBase.HTMLAttributes;
202
+ dialog: JSXBase.DialogHTMLAttributes<HTMLDialogElement>;
203
+ div: JSXBase.HTMLAttributes<HTMLDivElement>;
204
+ dl: JSXBase.HTMLAttributes<HTMLDListElement>;
205
+ dt: JSXBase.HTMLAttributes;
206
+ em: JSXBase.HTMLAttributes;
207
+ embed: JSXBase.EmbedHTMLAttributes<HTMLEmbedElement>;
208
+ fieldset: JSXBase.FieldsetHTMLAttributes<HTMLFieldSetElement>;
209
+ figcaption: JSXBase.HTMLAttributes;
210
+ figure: JSXBase.HTMLAttributes;
211
+ footer: JSXBase.HTMLAttributes;
212
+ form: JSXBase.FormHTMLAttributes<HTMLFormElement>;
213
+ h1: JSXBase.HTMLAttributes<HTMLHeadingElement>;
214
+ h2: JSXBase.HTMLAttributes<HTMLHeadingElement>;
215
+ h3: JSXBase.HTMLAttributes<HTMLHeadingElement>;
216
+ h4: JSXBase.HTMLAttributes<HTMLHeadingElement>;
217
+ h5: JSXBase.HTMLAttributes<HTMLHeadingElement>;
218
+ h6: JSXBase.HTMLAttributes<HTMLHeadingElement>;
219
+ head: JSXBase.HTMLAttributes<HTMLHeadElement>;
220
+ header: JSXBase.HTMLAttributes;
221
+ hgroup: JSXBase.HTMLAttributes;
222
+ hr: JSXBase.HTMLAttributes<HTMLHRElement>;
223
+ html: JSXBase.HTMLAttributes<HTMLHtmlElement>;
224
+ i: JSXBase.HTMLAttributes;
225
+ iframe: JSXBase.IframeHTMLAttributes<HTMLIFrameElement>;
226
+ img: JSXBase.ImgHTMLAttributes<HTMLImageElement>;
227
+ input: JSXBase.InputHTMLAttributes<HTMLInputElement>;
228
+ ins: JSXBase.InsHTMLAttributes<HTMLModElement>;
229
+ kbd: JSXBase.HTMLAttributes;
230
+ keygen: JSXBase.KeygenHTMLAttributes<HTMLElement>;
231
+ label: JSXBase.LabelHTMLAttributes<HTMLLabelElement>;
232
+ legend: JSXBase.HTMLAttributes<HTMLLegendElement>;
233
+ li: JSXBase.LiHTMLAttributes<HTMLLIElement>;
234
+ link: JSXBase.LinkHTMLAttributes<HTMLLinkElement>;
235
+ main: JSXBase.HTMLAttributes;
236
+ map: JSXBase.MapHTMLAttributes<HTMLMapElement>;
237
+ mark: JSXBase.HTMLAttributes;
238
+ menu: JSXBase.MenuHTMLAttributes<HTMLMenuElement>;
239
+ menuitem: JSXBase.HTMLAttributes;
240
+ meta: JSXBase.MetaHTMLAttributes<HTMLMetaElement>;
241
+ meter: JSXBase.MeterHTMLAttributes<HTMLMeterElement>;
242
+ nav: JSXBase.HTMLAttributes;
243
+ noscript: JSXBase.HTMLAttributes;
244
+ object: JSXBase.ObjectHTMLAttributes<HTMLObjectElement>;
245
+ ol: JSXBase.OlHTMLAttributes<HTMLOListElement>;
246
+ optgroup: JSXBase.OptgroupHTMLAttributes<HTMLOptGroupElement>;
247
+ option: JSXBase.OptionHTMLAttributes<HTMLOptionElement>;
248
+ output: JSXBase.OutputHTMLAttributes<HTMLOutputElement>;
249
+ p: JSXBase.HTMLAttributes<HTMLParagraphElement>;
250
+ param: JSXBase.ParamHTMLAttributes<HTMLParamElement>;
251
+ picture: JSXBase.HTMLAttributes<HTMLPictureElement>;
252
+ pre: JSXBase.HTMLAttributes<HTMLPreElement>;
253
+ progress: JSXBase.ProgressHTMLAttributes<HTMLProgressElement>;
254
+ q: JSXBase.QuoteHTMLAttributes<HTMLQuoteElement>;
255
+ rp: JSXBase.HTMLAttributes;
256
+ rt: JSXBase.HTMLAttributes;
257
+ ruby: JSXBase.HTMLAttributes;
258
+ s: JSXBase.HTMLAttributes;
259
+ samp: JSXBase.HTMLAttributes;
260
+ script: JSXBase.ScriptHTMLAttributes<HTMLScriptElement>;
261
+ section: JSXBase.HTMLAttributes;
262
+ select: JSXBase.SelectHTMLAttributes<HTMLSelectElement>;
263
+ small: JSXBase.HTMLAttributes;
264
+ source: JSXBase.SourceHTMLAttributes<HTMLSourceElement>;
265
+ span: JSXBase.HTMLAttributes<HTMLSpanElement>;
266
+ strong: JSXBase.HTMLAttributes;
267
+ style: JSXBase.StyleHTMLAttributes<HTMLStyleElement>;
268
+ sub: JSXBase.HTMLAttributes;
269
+ summary: JSXBase.HTMLAttributes;
270
+ sup: JSXBase.HTMLAttributes;
271
+ table: JSXBase.TableHTMLAttributes<HTMLTableElement>;
272
+ tbody: JSXBase.HTMLAttributes<HTMLTableSectionElement>;
273
+ td: JSXBase.TdHTMLAttributes<HTMLTableDataCellElement>;
274
+ textarea: JSXBase.TextareaHTMLAttributes<HTMLTextAreaElement>;
275
+ tfoot: JSXBase.HTMLAttributes<HTMLTableSectionElement>;
276
+ th: JSXBase.ThHTMLAttributes<HTMLTableHeaderCellElement>;
277
+ thead: JSXBase.HTMLAttributes<HTMLTableSectionElement>;
278
+ time: JSXBase.TimeHTMLAttributes<HTMLTimeElement>;
279
+ title: JSXBase.HTMLAttributes<HTMLTitleElement>;
280
+ tr: JSXBase.HTMLAttributes<HTMLTableRowElement>;
281
+ track: JSXBase.TrackHTMLAttributes<HTMLTrackElement>;
282
+ u: JSXBase.HTMLAttributes;
283
+ ul: JSXBase.HTMLAttributes<HTMLUListElement>;
284
+ var: JSXBase.HTMLAttributes;
285
+ video: JSXBase.VideoHTMLAttributes<HTMLVideoElement>;
286
+ wbr: JSXBase.HTMLAttributes;
287
+ animate: JSXBase.SVGAttributes;
288
+ circle: JSXBase.SVGAttributes;
289
+ clipPath: JSXBase.SVGAttributes;
290
+ defs: JSXBase.SVGAttributes;
291
+ desc: JSXBase.SVGAttributes;
292
+ ellipse: JSXBase.SVGAttributes;
293
+ feBlend: JSXBase.SVGAttributes;
294
+ feColorMatrix: JSXBase.SVGAttributes;
295
+ feComponentTransfer: JSXBase.SVGAttributes;
296
+ feComposite: JSXBase.SVGAttributes;
297
+ feConvolveMatrix: JSXBase.SVGAttributes;
298
+ feDiffuseLighting: JSXBase.SVGAttributes;
299
+ feDisplacementMap: JSXBase.SVGAttributes;
300
+ feDistantLight: JSXBase.SVGAttributes;
301
+ feDropShadow: JSXBase.SVGAttributes;
302
+ feFlood: JSXBase.SVGAttributes;
303
+ feFuncA: JSXBase.SVGAttributes;
304
+ feFuncB: JSXBase.SVGAttributes;
305
+ feFuncG: JSXBase.SVGAttributes;
306
+ feFuncR: JSXBase.SVGAttributes;
307
+ feGaussianBlur: JSXBase.SVGAttributes;
308
+ feImage: JSXBase.SVGAttributes;
309
+ feMerge: JSXBase.SVGAttributes;
310
+ feMergeNode: JSXBase.SVGAttributes;
311
+ feMorphology: JSXBase.SVGAttributes;
312
+ feOffset: JSXBase.SVGAttributes;
313
+ fePointLight: JSXBase.SVGAttributes;
314
+ feSpecularLighting: JSXBase.SVGAttributes;
315
+ feSpotLight: JSXBase.SVGAttributes;
316
+ feTile: JSXBase.SVGAttributes;
317
+ feTurbulence: JSXBase.SVGAttributes;
318
+ filter: JSXBase.SVGAttributes;
319
+ foreignObject: JSXBase.SVGAttributes;
320
+ g: JSXBase.SVGAttributes;
321
+ image: JSXBase.SVGAttributes;
322
+ line: JSXBase.SVGAttributes;
323
+ linearGradient: JSXBase.SVGAttributes;
324
+ marker: JSXBase.SVGAttributes;
325
+ mask: JSXBase.SVGAttributes;
326
+ metadata: JSXBase.SVGAttributes;
327
+ path: JSXBase.SVGAttributes;
328
+ pattern: JSXBase.SVGAttributes;
329
+ polygon: JSXBase.SVGAttributes;
330
+ polyline: JSXBase.SVGAttributes;
331
+ radialGradient: JSXBase.SVGAttributes;
332
+ rect: JSXBase.SVGAttributes;
333
+ stop: JSXBase.SVGAttributes;
334
+ svg: JSXBase.SVGAttributes;
335
+ switch: JSXBase.SVGAttributes;
336
+ symbol: JSXBase.SVGAttributes;
337
+ text: JSXBase.SVGAttributes;
338
+ textPath: JSXBase.SVGAttributes;
339
+ tspan: JSXBase.SVGAttributes;
340
+ use: JSXBase.SVGAttributes;
341
+ view: JSXBase.SVGAttributes;
342
+ }
343
+ interface SlotAttributes<T = HTMLSlotElement> extends JSXAttributes<T> {
344
+ name?: string;
345
+ slot?: string;
346
+ onSlotchange?: (event: Event) => void;
347
+ }
348
+ interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
349
+ download?: any;
350
+ href?: string;
351
+ hrefLang?: string;
352
+ hreflang?: string;
353
+ media?: string;
354
+ ping?: string;
355
+ rel?: string;
356
+ target?: string;
357
+ referrerPolicy?: ReferrerPolicy;
358
+ }
359
+ interface AudioHTMLAttributes<T> extends MediaHTMLAttributes<T> {}
360
+ interface AreaHTMLAttributes<T> extends HTMLAttributes<T> {
361
+ alt?: string;
362
+ coords?: string;
363
+ download?: any;
364
+ href?: string;
365
+ hrefLang?: string;
366
+ hreflang?: string;
367
+ media?: string;
368
+ rel?: string;
369
+ shape?: string;
370
+ target?: string;
371
+ }
372
+ interface BaseHTMLAttributes<T> extends HTMLAttributes<T> {
373
+ href?: string;
374
+ target?: string;
375
+ }
376
+ interface BlockquoteHTMLAttributes<T> extends HTMLAttributes<T> {
377
+ cite?: string;
378
+ }
379
+ interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
380
+ disabled?: boolean;
381
+ form?: string;
382
+ formAction?: string;
383
+ formaction?: string;
384
+ formEncType?: string;
385
+ formenctype?: string;
386
+ formMethod?: string;
387
+ formmethod?: string;
388
+ formNoValidate?: boolean;
389
+ formnovalidate?: boolean;
390
+ formTarget?: string;
391
+ formtarget?: string;
392
+ name?: string;
393
+ type?: string;
394
+ value?: string | string[] | number;
395
+ popoverTargetAction?: string;
396
+ popoverTargetElement?: Element$1 | null;
397
+ popoverTarget?: string;
398
+ command?: string;
399
+ commandFor?: string;
400
+ commandfor?: string;
401
+ }
402
+ interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
403
+ height?: number | string;
404
+ width?: number | string;
405
+ }
406
+ interface ColHTMLAttributes<T> extends HTMLAttributes<T> {
407
+ span?: number;
408
+ }
409
+ interface ColgroupHTMLAttributes<T> extends HTMLAttributes<T> {
410
+ span?: number;
411
+ }
412
+ interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
413
+ open?: boolean;
414
+ name?: string;
415
+ onToggle?: (event: ToggleEvent) => void;
416
+ }
417
+ interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
418
+ cite?: string;
419
+ dateTime?: string;
420
+ datetime?: string;
421
+ }
422
+ interface DialogHTMLAttributes<T> extends HTMLAttributes<T> {
423
+ onCancel?: (event: Event) => void;
424
+ onClose?: (event: Event) => void;
425
+ open?: boolean;
426
+ returnValue?: string;
427
+ }
428
+ interface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {
429
+ height?: number | string;
430
+ src?: string;
431
+ type?: string;
432
+ width?: number | string;
433
+ }
434
+ interface FieldsetHTMLAttributes<T> extends HTMLAttributes<T> {
435
+ disabled?: boolean;
436
+ form?: string;
437
+ name?: string;
438
+ }
439
+ interface FormHTMLAttributes<T> extends HTMLAttributes<T> {
440
+ acceptCharset?: string;
441
+ acceptcharset?: string;
442
+ action?: string;
443
+ autoComplete?: string;
444
+ autocomplete?: string;
445
+ encType?: string;
446
+ enctype?: string;
447
+ method?: string;
448
+ name?: string;
449
+ noValidate?: boolean;
450
+ novalidate?: boolean | string;
451
+ target?: string;
452
+ }
453
+ interface HtmlHTMLAttributes<T> extends HTMLAttributes<T> {
454
+ manifest?: string;
455
+ }
456
+ interface IframeHTMLAttributes<T> extends HTMLAttributes<T> {
457
+ allow?: string;
458
+ allowFullScreen?: boolean;
459
+ allowfullScreen?: string | boolean;
460
+ allowTransparency?: boolean;
461
+ allowtransparency?: string | boolean;
462
+ frameBorder?: number | string;
463
+ frameborder?: number | string;
464
+ importance?: 'low' | 'auto' | 'high';
465
+ height?: number | string;
466
+ loading?: 'lazy' | 'auto' | 'eager';
467
+ marginHeight?: number;
468
+ marginheight?: string | number;
469
+ marginWidth?: number;
470
+ marginwidth?: string | number;
471
+ name?: string;
472
+ referrerPolicy?: ReferrerPolicy;
473
+ sandbox?: string;
474
+ scrolling?: string;
475
+ seamless?: boolean;
476
+ src?: string;
477
+ srcDoc?: string;
478
+ srcdoc?: string;
479
+ width?: number | string;
480
+ }
481
+ interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
482
+ alt?: string;
483
+ crossOrigin?: string;
484
+ crossorigin?: string;
485
+ decoding?: 'async' | 'auto' | 'sync';
486
+ importance?: 'low' | 'auto' | 'high';
487
+ height?: number | string;
488
+ loading?: 'lazy' | 'auto' | 'eager';
489
+ sizes?: string;
490
+ src?: string;
491
+ srcSet?: string;
492
+ srcset?: string;
493
+ useMap?: string;
494
+ usemap?: string;
495
+ width?: number | string;
496
+ }
497
+ interface InsHTMLAttributes<T> extends HTMLAttributes<T> {
498
+ cite?: string;
499
+ dateTime?: string;
500
+ datetime?: string;
501
+ }
502
+ interface InputHTMLAttributes<T> extends HTMLAttributes<T> {
503
+ accept?: string;
504
+ allowdirs?: boolean;
505
+ alt?: string;
506
+ autoCapitalize?: string;
507
+ autocapitalize?: string;
508
+ autoComplete?: string;
509
+ autocomplete?: string;
510
+ capture?: string;
511
+ checked?: boolean;
512
+ crossOrigin?: string;
513
+ crossorigin?: string;
514
+ defaultChecked?: boolean;
515
+ defaultValue?: string;
516
+ dirName?: string;
517
+ disabled?: boolean;
518
+ files?: any;
519
+ form?: string;
520
+ formAction?: string;
521
+ formaction?: string;
522
+ formEncType?: string;
523
+ formenctype?: string;
524
+ formMethod?: string;
525
+ formmethod?: string;
526
+ formNoValidate?: boolean;
527
+ formnovalidate?: boolean;
528
+ formTarget?: string;
529
+ formtarget?: string;
530
+ height?: number | string;
531
+ indeterminate?: boolean;
532
+ list?: string;
533
+ max?: number | string;
534
+ maxLength?: number;
535
+ maxlength?: number | string;
536
+ min?: number | string;
537
+ minLength?: number;
538
+ minlength?: number | string;
539
+ multiple?: boolean;
540
+ name?: string;
541
+ onSelect?: (event: Event) => void;
542
+ onselect?: (event: Event) => void;
543
+ pattern?: string;
544
+ placeholder?: string;
545
+ readOnly?: boolean;
546
+ readonly?: boolean | string;
547
+ required?: boolean;
548
+ selectionStart?: number | string;
549
+ selectionEnd?: number | string;
550
+ selectionDirection?: string;
551
+ size?: number;
552
+ src?: string;
553
+ step?: number | string;
554
+ type?: string;
555
+ value?: string | string[] | number;
556
+ valueAsDate?: any;
557
+ valueAsNumber?: any;
558
+ webkitdirectory?: boolean;
559
+ webkitEntries?: any;
560
+ width?: number | string;
561
+ popoverTargetAction?: string;
562
+ popoverTargetElement?: Element$1 | null;
563
+ popoverTarget?: string;
564
+ }
565
+ interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
566
+ challenge?: string;
567
+ disabled?: boolean;
568
+ form?: string;
569
+ keyType?: string;
570
+ keytype?: string;
571
+ keyParams?: string;
572
+ keyparams?: string;
573
+ name?: string;
574
+ }
575
+ interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
576
+ form?: string;
577
+ htmlFor?: string;
578
+ }
579
+ interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
580
+ value?: string | string[] | number;
581
+ }
582
+ interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
583
+ as?: string;
584
+ href?: string;
585
+ hrefLang?: string;
586
+ hreflang?: string;
587
+ importance?: 'low' | 'auto' | 'high';
588
+ integrity?: string;
589
+ media?: string;
590
+ rel?: string;
591
+ sizes?: string;
592
+ type?: string;
593
+ }
594
+ interface MapHTMLAttributes<T> extends HTMLAttributes<T> {
595
+ name?: string;
596
+ }
597
+ interface MenuHTMLAttributes<T> extends HTMLAttributes<T> {
598
+ type?: string;
599
+ }
600
+ interface MediaHTMLAttributes<T> extends HTMLAttributes<T> {
601
+ autoPlay?: boolean;
602
+ autoplay?: boolean | string;
603
+ controls?: boolean;
604
+ controlslist?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
605
+ controlsList?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
606
+ crossOrigin?: string;
607
+ crossorigin?: string;
608
+ loop?: boolean;
609
+ mediaGroup?: string;
610
+ mediagroup?: string;
611
+ muted?: boolean;
612
+ preload?: string;
613
+ src?: string;
614
+ onAbort?: (event: Event) => void;
615
+ onCanPlay?: (event: Event) => void;
616
+ onCanPlayThrough?: (event: Event) => void;
617
+ onDurationChange?: (event: Event) => void;
618
+ onEmptied?: (event: Event) => void;
619
+ onEnded?: (event: Event) => void;
620
+ onError?: (event: Event) => void;
621
+ onInterruptBegin?: (event: Event) => void;
622
+ onInterruptEnd?: (event: Event) => void;
623
+ onLoadedData?: (event: Event) => void;
624
+ onLoadedMetaData?: (event: Event) => void;
625
+ onLoadStart?: (event: Event) => void;
626
+ onMozAudioAvailable?: (event: Event) => void;
627
+ onPause?: (event: Event) => void;
628
+ onPlay?: (event: Event) => void;
629
+ onPlaying?: (event: Event) => void;
630
+ onProgress?: (event: Event) => void;
631
+ onRateChange?: (event: Event) => void;
632
+ onSeeked?: (event: Event) => void;
633
+ onSeeking?: (event: Event) => void;
634
+ onStalled?: (event: Event) => void;
635
+ onSuspend?: (event: Event) => void;
636
+ onTimeUpdate?: (event: Event) => void;
637
+ onVolumeChange?: (event: Event) => void;
638
+ onWaiting?: (event: Event) => void;
639
+ }
640
+ interface MetaHTMLAttributes<T> extends HTMLAttributes<T> {
641
+ charSet?: string;
642
+ charset?: string;
643
+ content?: string;
644
+ httpEquiv?: string;
645
+ httpequiv?: string;
646
+ name?: string;
647
+ }
648
+ interface MeterHTMLAttributes<T> extends HTMLAttributes<T> {
649
+ form?: string;
650
+ high?: number;
651
+ low?: number;
652
+ max?: number | string;
653
+ min?: number | string;
654
+ optimum?: number;
655
+ value?: string | string[] | number;
656
+ }
657
+ interface QuoteHTMLAttributes<T> extends HTMLAttributes<T> {
658
+ cite?: string;
659
+ }
660
+ interface ObjectHTMLAttributes<T> extends HTMLAttributes<T> {
661
+ classID?: string;
662
+ classid?: string;
663
+ data?: string;
664
+ form?: string;
665
+ height?: number | string;
666
+ name?: string;
667
+ type?: string;
668
+ useMap?: string;
669
+ usemap?: string;
670
+ width?: number | string;
671
+ wmode?: string;
672
+ }
673
+ interface OlHTMLAttributes<T> extends HTMLAttributes<T> {
674
+ reversed?: boolean;
675
+ start?: number;
676
+ }
677
+ interface OptgroupHTMLAttributes<T> extends HTMLAttributes<T> {
678
+ disabled?: boolean;
679
+ label?: string;
680
+ }
681
+ interface OptionHTMLAttributes<T> extends HTMLAttributes<T> {
682
+ disabled?: boolean;
683
+ label?: string;
684
+ selected?: boolean;
685
+ value?: string | string[] | number;
686
+ }
687
+ interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
688
+ form?: string;
689
+ htmlFor?: string;
690
+ name?: string;
691
+ }
692
+ interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
693
+ name?: string;
694
+ value?: string | string[] | number;
695
+ }
696
+ interface ProgressHTMLAttributes<T> extends HTMLAttributes<T> {
697
+ max?: number | string;
698
+ value?: string | string[] | number;
699
+ }
700
+ interface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {
701
+ async?: boolean;
702
+ charSet?: string;
703
+ charset?: string;
704
+ crossOrigin?: string;
705
+ crossorigin?: string;
706
+ defer?: boolean;
707
+ importance?: 'low' | 'auto' | 'high';
708
+ integrity?: string;
709
+ nonce?: string;
710
+ src?: string;
711
+ type?: string;
712
+ }
713
+ interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
714
+ disabled?: boolean;
715
+ form?: string;
716
+ multiple?: boolean;
717
+ name?: string;
718
+ required?: boolean;
719
+ size?: number;
720
+ autoComplete?: string;
721
+ autocomplete?: string;
722
+ }
723
+ interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
724
+ height?: number;
725
+ media?: string;
726
+ sizes?: string;
727
+ src?: string;
728
+ srcSet?: string;
729
+ type?: string;
730
+ width?: number;
731
+ }
732
+ interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
733
+ media?: string;
734
+ nonce?: string;
735
+ scoped?: boolean;
736
+ type?: string;
737
+ }
738
+ interface TableHTMLAttributes<T> extends HTMLAttributes<T> {
739
+ cellPadding?: number | string;
740
+ cellpadding?: number | string;
741
+ cellSpacing?: number | string;
742
+ cellspacing?: number | string;
743
+ summary?: string;
744
+ }
745
+ interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
746
+ autoComplete?: string;
747
+ autocomplete?: string;
748
+ cols?: number;
749
+ disabled?: boolean;
750
+ form?: string;
751
+ maxLength?: number;
752
+ maxlength?: number | string;
753
+ minLength?: number;
754
+ minlength?: number | string;
755
+ name?: string;
756
+ onSelect?: (event: Event) => void;
757
+ onselect?: (event: Event) => void;
758
+ placeholder?: string;
759
+ readOnly?: boolean;
760
+ readonly?: boolean | string;
761
+ required?: boolean;
762
+ rows?: number;
763
+ value?: string | string[] | number;
764
+ wrap?: string;
765
+ }
766
+ interface TdHTMLAttributes<T> extends HTMLAttributes<T> {
767
+ colSpan?: number;
768
+ headers?: string;
769
+ rowSpan?: number;
770
+ }
771
+ interface ThHTMLAttributes<T> extends HTMLAttributes<T> {
772
+ abbr?: string;
773
+ colSpan?: number;
774
+ headers?: string;
775
+ rowSpan?: number;
776
+ rowspan?: number | string;
777
+ scope?: string;
778
+ }
779
+ interface TimeHTMLAttributes<T> extends HTMLAttributes<T> {
780
+ dateTime?: string;
781
+ }
782
+ interface TrackHTMLAttributes<T> extends HTMLAttributes<T> {
783
+ default?: boolean;
784
+ kind?: string;
785
+ label?: string;
786
+ src?: string;
787
+ srcLang?: string;
788
+ srclang?: string;
789
+ }
790
+ interface VideoHTMLAttributes<T> extends MediaHTMLAttributes<T> {
791
+ height?: number | string;
792
+ playsInline?: boolean;
793
+ playsinline?: boolean | string;
794
+ poster?: string;
795
+ width?: number | string;
796
+ }
797
+ interface HTMLAttributes<T = HTMLElement> extends DOMAttributes<T> {
798
+ innerHTML?: string;
799
+ accessKey?: string;
800
+ autoFocus?: boolean;
801
+ autofocus?: boolean | string;
802
+ class?: string | {
803
+ [className: string]: boolean;
804
+ };
805
+ contentEditable?: boolean | string;
806
+ contenteditable?: boolean | string;
807
+ contextMenu?: string;
808
+ contextmenu?: string;
809
+ dir?: string;
810
+ draggable?: boolean;
811
+ hidden?: boolean;
812
+ id?: string;
813
+ inert?: boolean;
814
+ lang?: string;
815
+ spellcheck?: 'true' | 'false' | any;
816
+ style?: {
817
+ [key: string]: string | undefined;
818
+ };
819
+ tabIndex?: number;
820
+ tabindex?: number | string;
821
+ title?: string;
822
+ popover?: string | null;
823
+ inputMode?: string;
824
+ inputmode?: string;
825
+ enterKeyHint?: string;
826
+ enterkeyhint?: string;
827
+ is?: string;
828
+ radioGroup?: string;
829
+ radiogroup?: string;
830
+ role?: string;
831
+ about?: string;
832
+ datatype?: string;
833
+ inlist?: any;
834
+ prefix?: string;
835
+ property?: string;
836
+ resource?: string;
837
+ typeof?: string;
838
+ vocab?: string;
839
+ autoCapitalize?: string;
840
+ autocapitalize?: string;
841
+ autoCorrect?: string;
842
+ autocorrect?: string;
843
+ autoSave?: string;
844
+ autosave?: string;
845
+ color?: string;
846
+ itemProp?: string;
847
+ itemprop?: string;
848
+ itemScope?: boolean;
849
+ itemscope?: boolean;
850
+ itemType?: string;
851
+ itemtype?: string;
852
+ itemID?: string;
853
+ itemid?: string;
854
+ itemRef?: string;
855
+ itemref?: string;
856
+ results?: number;
857
+ security?: string;
858
+ unselectable?: boolean;
859
+ }
860
+ interface SVGAttributes<T = SVGElement> extends DOMAttributes<T> {
861
+ class?: string | {
862
+ [className: string]: boolean;
863
+ };
864
+ color?: string;
865
+ height?: number | string;
866
+ id?: string;
867
+ lang?: string;
868
+ max?: number | string;
869
+ media?: string;
870
+ method?: string;
871
+ min?: number | string;
872
+ name?: string;
873
+ style?: {
874
+ [key: string]: string | undefined;
875
+ };
876
+ target?: string;
877
+ type?: string;
878
+ width?: number | string;
879
+ role?: string;
880
+ tabindex?: number;
881
+ 'accent-height'?: number | string;
882
+ accumulate?: 'none' | 'sum';
883
+ additive?: 'replace' | 'sum';
884
+ 'alignment-baseline'?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit';
885
+ allowReorder?: 'no' | 'yes';
886
+ alphabetic?: number | string;
887
+ amplitude?: number | string;
888
+ 'arabic-form'?: 'initial' | 'medial' | 'terminal' | 'isolated';
889
+ ascent?: number | string;
890
+ attributeName?: string;
891
+ attributeType?: string;
892
+ autoReverse?: number | string;
893
+ azimuth?: number | string;
894
+ baseFrequency?: number | string;
895
+ 'baseline-shift'?: number | string;
896
+ baseProfile?: number | string;
897
+ bbox?: number | string;
898
+ begin?: number | string;
899
+ bias?: number | string;
900
+ by?: number | string;
901
+ calcMode?: number | string;
902
+ 'cap-height'?: number | string;
903
+ clip?: number | string;
904
+ 'clip-path'?: string;
905
+ clipPathUnits?: number | string;
906
+ 'clip-rule'?: number | string;
907
+ 'color-interpolation'?: number | string;
908
+ 'color-interpolation-filters'?: 'auto' | 'sRGB' | 'linearRGB';
909
+ 'color-profile'?: number | string;
910
+ 'color-rendering'?: number | string;
911
+ contentScriptType?: number | string;
912
+ contentStyleType?: number | string;
913
+ cursor?: number | string;
914
+ cx?: number | string;
915
+ cy?: number | string;
916
+ d?: string;
917
+ decelerate?: number | string;
918
+ descent?: number | string;
919
+ diffuseConstant?: number | string;
920
+ direction?: number | string;
921
+ display?: number | string;
922
+ divisor?: number | string;
923
+ 'dominant-baseline'?: number | string;
924
+ dur?: number | string;
925
+ dx?: number | string;
926
+ dy?: number | string;
927
+ 'edge-mode'?: number | string;
928
+ elevation?: number | string;
929
+ 'enable-background'?: number | string;
930
+ end?: number | string;
931
+ exponent?: number | string;
932
+ externalResourcesRequired?: number | string;
933
+ fill?: string;
934
+ 'fill-opacity'?: number | string;
935
+ 'fill-rule'?: 'nonzero' | 'evenodd' | 'inherit';
936
+ filter?: string;
937
+ filterRes?: number | string;
938
+ filterUnits?: number | string;
939
+ 'flood-color'?: number | string;
940
+ 'flood-opacity'?: number | string;
941
+ focusable?: number | string;
942
+ 'font-family'?: string;
943
+ 'font-size'?: number | string;
944
+ 'font-size-adjust'?: number | string;
945
+ 'font-stretch'?: number | string;
946
+ 'font-style'?: number | string;
947
+ 'font-variant'?: number | string;
948
+ 'font-weight'?: number | string;
949
+ format?: number | string;
950
+ from?: number | string;
951
+ fx?: number | string;
952
+ fy?: number | string;
953
+ g1?: number | string;
954
+ g2?: number | string;
955
+ 'glyph-name'?: number | string;
956
+ 'glyph-orientation-horizontal'?: number | string;
957
+ 'glyph-orientation-vertical'?: number | string;
958
+ glyphRef?: number | string;
959
+ gradientTransform?: string;
960
+ gradientUnits?: string;
961
+ hanging?: number | string;
962
+ 'horiz-adv-x'?: number | string;
963
+ 'horiz-origin-x'?: number | string;
964
+ href?: string;
965
+ ideographic?: number | string;
966
+ 'image-rendering'?: number | string;
967
+ in2?: number | string;
968
+ in?: string;
969
+ intercept?: number | string;
970
+ k1?: number | string;
971
+ k2?: number | string;
972
+ k3?: number | string;
973
+ k4?: number | string;
974
+ k?: number | string;
975
+ kernelMatrix?: number | string;
976
+ kernelUnitLength?: number | string;
977
+ kerning?: number | string;
978
+ keyPoints?: number | string;
979
+ keySplines?: number | string;
980
+ keyTimes?: number | string;
981
+ lengthAdjust?: number | string;
982
+ 'letter-spacing'?: number | string;
983
+ 'lighting-color'?: number | string;
984
+ limitingConeAngle?: number | string;
985
+ local?: number | string;
986
+ 'marker-end'?: string;
987
+ markerHeight?: number | string;
988
+ 'marker-mid'?: string;
989
+ 'marker-start'?: string;
990
+ markerUnits?: number | string;
991
+ markerWidth?: number | string;
992
+ mask?: string;
993
+ maskContentUnits?: number | string;
994
+ maskUnits?: number | string;
995
+ mathematical?: number | string;
996
+ mode?: number | string;
997
+ numOctaves?: number | string;
998
+ offset?: number | string;
999
+ opacity?: number | string;
1000
+ operator?: number | string;
1001
+ order?: number | string;
1002
+ orient?: number | string;
1003
+ orientation?: number | string;
1004
+ origin?: number | string;
1005
+ overflow?: number | string;
1006
+ 'overline-position'?: number | string;
1007
+ 'overline-thickness'?: number | string;
1008
+ 'paint-order'?: number | string;
1009
+ panose1?: number | string;
1010
+ pathLength?: number | string;
1011
+ patternContentUnits?: string;
1012
+ patternTransform?: number | string;
1013
+ patternUnits?: string;
1014
+ 'pointer-events'?: number | string;
1015
+ points?: string;
1016
+ pointsAtX?: number | string;
1017
+ pointsAtY?: number | string;
1018
+ pointsAtZ?: number | string;
1019
+ preserveAlpha?: number | string;
1020
+ preserveAspectRatio?: string;
1021
+ primitiveUnits?: number | string;
1022
+ r?: number | string;
1023
+ radius?: number | string;
1024
+ refX?: number | string;
1025
+ refY?: number | string;
1026
+ 'rendering-intent'?: number | string;
1027
+ repeatCount?: number | string;
1028
+ repeatDur?: number | string;
1029
+ requiredextensions?: number | string;
1030
+ requiredFeatures?: number | string;
1031
+ restart?: number | string;
1032
+ result?: string;
1033
+ rotate?: number | string;
1034
+ rx?: number | string;
1035
+ ry?: number | string;
1036
+ scale?: number | string;
1037
+ seed?: number | string;
1038
+ 'shape-rendering'?: number | string;
1039
+ slope?: number | string;
1040
+ spacing?: number | string;
1041
+ specularConstant?: number | string;
1042
+ specularExponent?: number | string;
1043
+ speed?: number | string;
1044
+ spreadMethod?: string;
1045
+ startOffset?: number | string;
1046
+ stdDeviation?: number | string;
1047
+ stemh?: number | string;
1048
+ stemv?: number | string;
1049
+ stitchTiles?: number | string;
1050
+ 'stop-color'?: string;
1051
+ 'stop-opacity'?: number | string;
1052
+ 'strikethrough-position'?: number | string;
1053
+ 'strikethrough-thickness'?: number | string;
1054
+ string?: number | string;
1055
+ stroke?: string;
1056
+ 'stroke-dasharray'?: string | number;
1057
+ 'stroke-dashoffset'?: string | number;
1058
+ 'stroke-linecap'?: 'butt' | 'round' | 'square' | 'inherit';
1059
+ 'stroke-linejoin'?: 'miter' | 'round' | 'bevel' | 'inherit';
1060
+ 'stroke-miterlimit'?: string;
1061
+ 'stroke-opacity'?: number | string;
1062
+ 'stroke-width'?: number | string;
1063
+ surfaceScale?: number | string;
1064
+ systemLanguage?: number | string;
1065
+ tableValues?: number | string;
1066
+ targetX?: number | string;
1067
+ targetY?: number | string;
1068
+ 'text-anchor'?: string;
1069
+ 'text-decoration'?: number | string;
1070
+ textLength?: number | string;
1071
+ 'text-rendering'?: number | string;
1072
+ to?: number | string;
1073
+ transform?: string;
1074
+ u1?: number | string;
1075
+ u2?: number | string;
1076
+ 'underline-position'?: number | string;
1077
+ 'underline-thickness'?: number | string;
1078
+ unicode?: number | string;
1079
+ 'unicode-bidi'?: number | string;
1080
+ 'unicode-range'?: number | string;
1081
+ 'units-per-em'?: number | string;
1082
+ 'v-alphabetic'?: number | string;
1083
+ values?: string;
1084
+ 'vector-effect'?: number | string;
1085
+ version?: string;
1086
+ 'vert-adv-y'?: number | string;
1087
+ 'vert-origin-x'?: number | string;
1088
+ 'vert-origin-y'?: number | string;
1089
+ 'v-hanging'?: number | string;
1090
+ 'v-ideographic'?: number | string;
1091
+ viewBox?: string;
1092
+ viewTarget?: number | string;
1093
+ visibility?: number | string;
1094
+ 'v-mathematical'?: number | string;
1095
+ widths?: number | string;
1096
+ 'word-spacing'?: number | string;
1097
+ 'writing-mode'?: number | string;
1098
+ x1?: number | string;
1099
+ x2?: number | string;
1100
+ x?: number | string;
1101
+ 'x-channel-selector'?: string;
1102
+ 'x-height'?: number | string;
1103
+ xlinkActuate?: string;
1104
+ xlinkArcrole?: string;
1105
+ xlinkHref?: string;
1106
+ xlinkRole?: string;
1107
+ xlinkShow?: string;
1108
+ xlinkTitle?: string;
1109
+ xlinkType?: string;
1110
+ xmlBase?: string;
1111
+ xmlLang?: string;
1112
+ xmlns?: string;
1113
+ xmlSpace?: string;
1114
+ y1?: number | string;
1115
+ y2?: number | string;
1116
+ y?: number | string;
1117
+ yChannelSelector?: string;
1118
+ z?: number | string;
1119
+ zoomAndPan?: string;
1120
+ }
1121
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent) */
1122
+ interface ToggleEvent extends Event {
1123
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/newState) */
1124
+ readonly newState: string;
1125
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/oldState) */
1126
+ readonly oldState: string;
1127
+ }
1128
+ interface DOMAttributes<T> extends JSXAttributes<T> {
1129
+ slot?: string;
1130
+ part?: string;
1131
+ exportparts?: string;
1132
+ onCopy?: (event: ClipboardEvent) => void;
1133
+ onCopyCapture?: (event: ClipboardEvent) => void;
1134
+ onCut?: (event: ClipboardEvent) => void;
1135
+ onCutCapture?: (event: ClipboardEvent) => void;
1136
+ onPaste?: (event: ClipboardEvent) => void;
1137
+ onPasteCapture?: (event: ClipboardEvent) => void;
1138
+ onCompositionend?: (event: CompositionEvent) => void;
1139
+ onCompositionendCapture?: (event: CompositionEvent) => void;
1140
+ onCompositionstart?: (event: CompositionEvent) => void;
1141
+ onCompositionstartCapture?: (event: CompositionEvent) => void;
1142
+ onCompositionupdate?: (event: CompositionEvent) => void;
1143
+ onCompositionupdateCapture?: (event: CompositionEvent) => void;
1144
+ onBeforeToggle?: (event: ToggleEvent) => void;
1145
+ onBeforeToggleCapture?: (event: ToggleEvent) => void;
1146
+ onToggle?: (event: ToggleEvent) => void;
1147
+ onToggleCapture?: (event: ToggleEvent) => void;
1148
+ onFocus?: (event: FocusEvent) => void;
1149
+ onFocusCapture?: (event: FocusEvent) => void;
1150
+ onFocusin?: (event: FocusEvent) => void;
1151
+ onFocusinCapture?: (event: FocusEvent) => void;
1152
+ onFocusout?: (event: FocusEvent) => void;
1153
+ onFocusoutCapture?: (event: FocusEvent) => void;
1154
+ onBlur?: (event: FocusEvent) => void;
1155
+ onBlurCapture?: (event: FocusEvent) => void;
1156
+ onChange?: (event: Event) => void;
1157
+ onChangeCapture?: (event: Event) => void;
1158
+ onInput?: (event: InputEvent) => void;
1159
+ onInputCapture?: (event: InputEvent) => void;
1160
+ onReset?: (event: Event) => void;
1161
+ onResetCapture?: (event: Event) => void;
1162
+ onSubmit?: (event: Event) => void;
1163
+ onSubmitCapture?: (event: Event) => void;
1164
+ onInvalid?: (event: Event) => void;
1165
+ onInvalidCapture?: (event: Event) => void;
1166
+ onLoad?: (event: Event) => void;
1167
+ onLoadCapture?: (event: Event) => void;
1168
+ onError?: (event: Event) => void;
1169
+ onErrorCapture?: (event: Event) => void;
1170
+ onKeyDown?: (event: KeyboardEvent) => void;
1171
+ onKeyDownCapture?: (event: KeyboardEvent) => void;
1172
+ onKeyPress?: (event: KeyboardEvent) => void;
1173
+ onKeyPressCapture?: (event: KeyboardEvent) => void;
1174
+ onKeyUp?: (event: KeyboardEvent) => void;
1175
+ onKeyUpCapture?: (event: KeyboardEvent) => void;
1176
+ onAuxClick?: (event: MouseEvent) => void;
1177
+ onClick?: (event: PointerEvent) => void;
1178
+ onClickCapture?: (event: MouseEvent) => void;
1179
+ onContextMenu?: (event: MouseEvent) => void;
1180
+ onContextMenuCapture?: (event: MouseEvent) => void;
1181
+ onDblClick?: (event: MouseEvent) => void;
1182
+ onDblClickCapture?: (event: MouseEvent) => void;
1183
+ onDrag?: (event: DragEvent) => void;
1184
+ onDragCapture?: (event: DragEvent) => void;
1185
+ onDragEnd?: (event: DragEvent) => void;
1186
+ onDragEndCapture?: (event: DragEvent) => void;
1187
+ onDragEnter?: (event: DragEvent) => void;
1188
+ onDragEnterCapture?: (event: DragEvent) => void;
1189
+ onDragExit?: (event: DragEvent) => void;
1190
+ onDragExitCapture?: (event: DragEvent) => void;
1191
+ onDragLeave?: (event: DragEvent) => void;
1192
+ onDragLeaveCapture?: (event: DragEvent) => void;
1193
+ onDragOver?: (event: DragEvent) => void;
1194
+ onDragOverCapture?: (event: DragEvent) => void;
1195
+ onDragStart?: (event: DragEvent) => void;
1196
+ onDragStartCapture?: (event: DragEvent) => void;
1197
+ onDrop?: (event: DragEvent) => void;
1198
+ onDropCapture?: (event: DragEvent) => void;
1199
+ onMouseDown?: (event: MouseEvent) => void;
1200
+ onMouseDownCapture?: (event: MouseEvent) => void;
1201
+ onMouseEnter?: (event: MouseEvent) => void;
1202
+ onMouseLeave?: (event: MouseEvent) => void;
1203
+ onMouseMove?: (event: MouseEvent) => void;
1204
+ onMouseMoveCapture?: (event: MouseEvent) => void;
1205
+ onMouseOut?: (event: MouseEvent) => void;
1206
+ onMouseOutCapture?: (event: MouseEvent) => void;
1207
+ onMouseOver?: (event: MouseEvent) => void;
1208
+ onMouseOverCapture?: (event: MouseEvent) => void;
1209
+ onMouseUp?: (event: MouseEvent) => void;
1210
+ onMouseUpCapture?: (event: MouseEvent) => void;
1211
+ onTouchCancel?: (event: TouchEvent) => void;
1212
+ onTouchCancelCapture?: (event: TouchEvent) => void;
1213
+ onTouchEnd?: (event: TouchEvent) => void;
1214
+ onTouchEndCapture?: (event: TouchEvent) => void;
1215
+ onTouchMove?: (event: TouchEvent) => void;
1216
+ onTouchMoveCapture?: (event: TouchEvent) => void;
1217
+ onTouchStart?: (event: TouchEvent) => void;
1218
+ onTouchStartCapture?: (event: TouchEvent) => void;
1219
+ onPointerDown?: (event: PointerEvent) => void;
1220
+ onPointerDownCapture?: (event: PointerEvent) => void;
1221
+ onPointerMove?: (event: PointerEvent) => void;
1222
+ onPointerMoveCapture?: (event: PointerEvent) => void;
1223
+ onPointerUp?: (event: PointerEvent) => void;
1224
+ onPointerUpCapture?: (event: PointerEvent) => void;
1225
+ onPointerCancel?: (event: PointerEvent) => void;
1226
+ onPointerCancelCapture?: (event: PointerEvent) => void;
1227
+ onPointerEnter?: (event: PointerEvent) => void;
1228
+ onPointerEnterCapture?: (event: PointerEvent) => void;
1229
+ onPointerLeave?: (event: PointerEvent) => void;
1230
+ onPointerLeaveCapture?: (event: PointerEvent) => void;
1231
+ onPointerOver?: (event: PointerEvent) => void;
1232
+ onPointerOverCapture?: (event: PointerEvent) => void;
1233
+ onPointerOut?: (event: PointerEvent) => void;
1234
+ onPointerOutCapture?: (event: PointerEvent) => void;
1235
+ onGotPointerCapture?: (event: PointerEvent) => void;
1236
+ onGotPointerCaptureCapture?: (event: PointerEvent) => void;
1237
+ onLostPointerCapture?: (event: PointerEvent) => void;
1238
+ onLostPointerCaptureCapture?: (event: PointerEvent) => void;
1239
+ onScroll?: (event: UIEvent) => void;
1240
+ onScrollCapture?: (event: UIEvent) => void;
1241
+ onWheel?: (event: WheelEvent) => void;
1242
+ onWheelCapture?: (event: WheelEvent) => void;
1243
+ onAnimationStart?: (event: AnimationEvent) => void;
1244
+ onAnimationStartCapture?: (event: AnimationEvent) => void;
1245
+ onAnimationEnd?: (event: AnimationEvent) => void;
1246
+ onAnimationEndCapture?: (event: AnimationEvent) => void;
1247
+ onAnimationIteration?: (event: AnimationEvent) => void;
1248
+ onAnimationIterationCapture?: (event: AnimationEvent) => void;
1249
+ onTransitionCancel?: (event: TransitionEvent) => void;
1250
+ onTransitionCancelCapture?: (event: TransitionEvent) => void;
1251
+ onTransitionEnd?: (event: TransitionEvent) => void;
1252
+ onTransitionEndCapture?: (event: TransitionEvent) => void;
1253
+ onTransitionRun?: (event: TransitionEvent) => void;
1254
+ onTransitionRunCapture?: (event: TransitionEvent) => void;
1255
+ onTransitionStart?: (event: TransitionEvent) => void;
1256
+ onTransitionStartCapture?: (event: TransitionEvent) => void;
1257
+ [key: `aria-${string}`]: string | boolean | undefined;
1258
+ [key: `aria${string}`]: string | boolean | undefined;
1259
+ }
1260
+ }
1261
+ interface JSXAttributes<T = Element$1> {
1262
+ key?: string | number;
1263
+ ref?: (elm?: T) => void;
1264
+ }
1265
+ interface CustomElementsDefineOptions {
1266
+ exclude?: string[];
1267
+ syncQueue?: boolean;
1268
+ /** @deprecated in-favour of `setTagTransformer` and `transformTag` */
1269
+ transformTagName?: (tagName: string) => string;
1270
+ jmp?: (c: Function) => any;
1271
+ raf?: (c: FrameRequestCallback) => number;
1272
+ ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
1273
+ rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
1274
+ ce?: (eventName: string, opts?: any) => CustomEvent;
1275
+ }
1276
+ //#endregion
1277
+ //#region src/declarations/stencil-private.d.ts
1278
+ interface BuildFeatures {
1279
+ style: boolean;
1280
+ mode: boolean;
1281
+ formAssociated: boolean;
1282
+ shadowDom: boolean;
1283
+ shadowDelegatesFocus: boolean;
1284
+ shadowSlotAssignmentManual: boolean;
1285
+ scoped: boolean;
1286
+ /**
1287
+ * Every component has a render function
1288
+ */
1289
+ allRenderFn: boolean;
1290
+ /**
1291
+ * At least one component has a render function
1292
+ */
1293
+ hasRenderFn: boolean;
1294
+ vdomRender: boolean;
1295
+ vdomAttribute: boolean;
1296
+ vdomClass: boolean;
1297
+ vdomFunctional: boolean;
1298
+ vdomKey: boolean;
1299
+ vdomListener: boolean;
1300
+ vdomPropOrAttr: boolean;
1301
+ vdomRef: boolean;
1302
+ vdomStyle: boolean;
1303
+ vdomText: boolean;
1304
+ vdomXlink: boolean;
1305
+ slotRelocation: boolean;
1306
+ slot: boolean;
1307
+ svg: boolean;
1308
+ element: boolean;
1309
+ event: boolean;
1310
+ hostListener: boolean;
1311
+ hostListenerTargetWindow: boolean;
1312
+ hostListenerTargetDocument: boolean;
1313
+ hostListenerTargetBody: boolean;
1314
+ /**
1315
+ * @deprecated Prevented from new apps, but left in for older collections
1316
+ */
1317
+ hostListenerTargetParent: boolean;
1318
+ hostListenerTarget: boolean;
1319
+ method: boolean;
1320
+ prop: boolean;
1321
+ propChangeCallback: boolean;
1322
+ propMutable: boolean;
1323
+ state: boolean;
1324
+ member: boolean;
1325
+ updatable: boolean;
1326
+ propBoolean: boolean;
1327
+ propNumber: boolean;
1328
+ propString: boolean;
1329
+ serializer: boolean;
1330
+ deserializer: boolean;
1331
+ lifecycle: boolean;
1332
+ asyncLoading: boolean;
1333
+ observeAttribute: boolean;
1334
+ reflect: boolean;
1335
+ taskQueue: boolean;
1336
+ }
1337
+ interface BuildConditionals extends Partial<BuildFeatures> {
1338
+ hotModuleReplacement?: boolean;
1339
+ isDebug?: boolean;
1340
+ isTesting?: boolean;
1341
+ isDev?: boolean;
1342
+ devTools?: boolean;
1343
+ invisiblePrehydration?: boolean;
1344
+ hydrateServerSide?: boolean;
1345
+ hydrateClientSide?: boolean;
1346
+ lifecycleDOMEvents?: boolean;
1347
+ cssAnnotations?: boolean;
1348
+ lazyLoad?: boolean;
1349
+ profile?: boolean;
1350
+ constructableCSS?: boolean;
1351
+ appendChildSlotFix?: boolean;
1352
+ slotChildNodesFix?: boolean;
1353
+ scopedSlotTextContentFix?: boolean;
1354
+ cloneNodeFix?: boolean;
1355
+ hydratedAttribute?: boolean;
1356
+ hydratedClass?: boolean;
1357
+ hydratedSelectorName?: string;
1358
+ initializeNextTick?: boolean;
1359
+ shadowDomShim?: boolean;
1360
+ asyncQueue?: boolean;
1361
+ transformTagName?: boolean;
1362
+ additionalTagTransformers?: boolean | 'prod';
1363
+ attachStyles?: boolean;
1364
+ experimentalSlotFixes?: boolean;
1365
+ experimentalScopedSlotChanges?: boolean;
1366
+ addGlobalStyleToComponents?: boolean;
1367
+ }
1368
+ interface ComponentConstructor {
1369
+ is?: string;
1370
+ properties?: ComponentConstructorProperties;
1371
+ watchers?: ComponentConstructorChangeHandlers;
1372
+ events?: ComponentConstructorEvent[];
1373
+ listeners?: ComponentConstructorListener[];
1374
+ style?: string;
1375
+ styleId?: string;
1376
+ encapsulation?: ComponentConstructorEncapsulation;
1377
+ observedAttributes?: string[];
1378
+ cmpMeta?: ComponentRuntimeMeta;
1379
+ isProxied?: boolean;
1380
+ isStyleRegistered?: boolean;
1381
+ serializers?: ComponentConstructorChangeHandlers;
1382
+ deserializers?: ComponentConstructorChangeHandlers;
1383
+ }
1384
+ /**
1385
+ * A mapping from class member names to a list of methods which are watching
1386
+ * them.
1387
+ */
1388
+ interface ComponentConstructorChangeHandlers {
1389
+ [propName: string]: {
1390
+ [methodName: string]: number;
1391
+ }[];
1392
+ }
1393
+ type ComponentConstructorEncapsulation = 'shadow' | 'scoped' | 'none';
1394
+ interface ComponentConstructorProperties {
1395
+ [propName: string]: ComponentConstructorProperty;
1396
+ }
1397
+ interface ComponentConstructorProperty {
1398
+ attribute?: string;
1399
+ elementRef?: boolean;
1400
+ method?: boolean;
1401
+ mutable?: boolean;
1402
+ reflect?: boolean;
1403
+ state?: boolean;
1404
+ type?: ComponentConstructorPropertyType;
1405
+ watchCallbacks?: string[];
1406
+ }
1407
+ type ComponentConstructorPropertyType = StringConstructor | BooleanConstructor | NumberConstructor | 'string' | 'boolean' | 'number';
1408
+ interface ComponentConstructorEvent {
1409
+ name: string;
1410
+ method: string;
1411
+ bubbles: boolean;
1412
+ cancelable: boolean;
1413
+ composed: boolean;
1414
+ }
1415
+ interface ComponentConstructorListener {
1416
+ name: string;
1417
+ method: string;
1418
+ capture?: boolean;
1419
+ passive?: boolean;
1420
+ }
1421
+ /**
1422
+ * An interface extending `HTMLElement` which describes the fields added onto
1423
+ * host HTML elements by the Stencil runtime.
1424
+ */
1425
+ interface HostElement extends HTMLElement {
1426
+ connectedCallback?: () => void;
1427
+ attributeChangedCallback?: (attribName: string, oldVal: string, newVal: string, namespace: string) => void;
1428
+ disconnectedCallback?: () => void;
1429
+ host?: Element;
1430
+ forceUpdate?: () => void;
1431
+ __stencil__getHostRef?: () => HostRef;
1432
+ /**
1433
+ * Unique stencil id for this element
1434
+ */
1435
+ ['s-id']?: string;
1436
+ /**
1437
+ * Content Reference:
1438
+ * Reference to the HTML Comment that's placed inside of the
1439
+ * host element's original content. This comment is used to
1440
+ * always represent where host element's light dom is.
1441
+ */
1442
+ ['s-cr']?: RenderNode;
1443
+ /**
1444
+ * Lifecycle ready
1445
+ */
1446
+ ['s-lr']?: boolean;
1447
+ /**
1448
+ * A reference to the `ElementInternals` object for the current host
1449
+ *
1450
+ * This is used for maintaining a reference to the object between HMR
1451
+ * refreshes in the lazy build.
1452
+ *
1453
+ * "stencil-element-internals"
1454
+ */
1455
+ ['s-ei']?: ElementInternals;
1456
+ /**
1457
+ * On Render Callbacks:
1458
+ * Array of callbacks to fire off after it has rendered.
1459
+ */
1460
+ ['s-rc']?: (() => void)[];
1461
+ /**
1462
+ * Scope Id
1463
+ * The scope id of this component when using scoped css encapsulation
1464
+ * or using shadow dom but the browser doesn't support it
1465
+ */
1466
+ ['s-sc']?: string;
1467
+ /**
1468
+ * Scope Ids
1469
+ * All the possible scope ids of this component when using scoped css encapsulation
1470
+ * or using shadow dom but the browser doesn't support it
1471
+ */
1472
+ ['s-scs']?: string[];
1473
+ /**
1474
+ * Hot Module Replacement, dev mode only
1475
+ *
1476
+ * This function should be defined by the HMR-supporting runtime and should
1477
+ * do the work of actually updating the component in-place.
1478
+ */
1479
+ ['s-hmr']?: (versionId: string) => void;
1480
+ /**
1481
+ * A list of nested nested hydration promises that
1482
+ * must be resolved for the top, ancestor component to be fully hydrated
1483
+ */
1484
+ ['s-p']?: Promise<void>[];
1485
+ componentOnReady?: () => Promise<this>;
1486
+ }
1487
+ /**
1488
+ * Generic node that represents all of the
1489
+ * different types of nodes we'd see when rendering
1490
+ */
1491
+ interface RenderNode extends HostElement {
1492
+ /**
1493
+ * Shadow root's host
1494
+ */
1495
+ host?: Element;
1496
+ /**
1497
+ * On Ref Function:
1498
+ * Callback function to be called when the slotted node ref is ready.
1499
+ */
1500
+ ['s-rf']?: (elm: Element) => unknown;
1501
+ /**
1502
+ * Is initially hidden
1503
+ * Whether this node was originally rendered with the `hidden` attribute.
1504
+ *
1505
+ * Used to reset the `hidden` state of a node during slot relocation.
1506
+ */
1507
+ ['s-ih']?: boolean;
1508
+ /**
1509
+ * Is Content Reference Node:
1510
+ * This node is a content reference node.
1511
+ */
1512
+ ['s-cn']?: boolean;
1513
+ /**
1514
+ * Is a `slot` node when `shadow: false` (or `scoped: true`).
1515
+ *
1516
+ * This is a node (either empty text-node or `<slot-fb>` element)
1517
+ * that represents where a `<slot>` is located in the original JSX.
1518
+ */
1519
+ ['s-sr']?: boolean;
1520
+ /**
1521
+ * Slot name of either the slot itself or the slotted node
1522
+ */
1523
+ ['s-sn']?: string;
1524
+ /**
1525
+ * Host element tag name:
1526
+ * The tag name of the host element that this
1527
+ * node was created in.
1528
+ */
1529
+ ['s-hn']?: string;
1530
+ /**
1531
+ * Slot host tag name:
1532
+ * This is the tag name of the element where this node
1533
+ * has been moved to during slot relocation.
1534
+ *
1535
+ * This allows us to check if the node has been moved and prevent
1536
+ * us from thinking a node _should_ be moved when it may already be in
1537
+ * its final destination.
1538
+ *
1539
+ * This value is set to `undefined` whenever the node is put back into its original location.
1540
+ */
1541
+ ['s-sh']?: string;
1542
+ /**
1543
+ * Original Location Reference:
1544
+ * A reference pointing to the comment
1545
+ * which represents the original location
1546
+ * before it was moved to its slot.
1547
+ */
1548
+ ['s-ol']?: RenderNode;
1549
+ /**
1550
+ * Node reference:
1551
+ * This is a reference from an original location node
1552
+ * back to the node that's been moved around.
1553
+ */
1554
+ ['s-nr']?: PatchedSlotNode | RenderNode;
1555
+ /**
1556
+ * Original Order:
1557
+ * During SSR; a number representing the order of a slotted node
1558
+ */
1559
+ ['s-oo']?: number;
1560
+ /**
1561
+ * Scope Id
1562
+ */
1563
+ ['s-si']?: string;
1564
+ /**
1565
+ * Host Id (hydrate only)
1566
+ */
1567
+ ['s-host-id']?: number;
1568
+ /**
1569
+ * Node Id (hydrate only)
1570
+ */
1571
+ ['s-node-id']?: number;
1572
+ /**
1573
+ * Used to know the components encapsulation.
1574
+ * empty "" for shadow, "c" from scoped
1575
+ */
1576
+ ['s-en']?: '' | /*shadow*/'c';
1577
+ /**
1578
+ * On a `scoped: true` component
1579
+ * with `experimentalSlotFixes` flag enabled,
1580
+ * returns the internal `childNodes` of the component
1581
+ */
1582
+ readonly __childNodes?: NodeListOf<ChildNode>;
1583
+ /**
1584
+ * On a `scoped: true` component
1585
+ * with `experimentalSlotFixes` flag enabled,
1586
+ * returns the internal `children` of the component
1587
+ */
1588
+ readonly __children?: HTMLCollectionOf<Element>;
1589
+ /**
1590
+ * On a `scoped: true` component
1591
+ * with `experimentalSlotFixes` flag enabled,
1592
+ * returns the internal `firstChild` of the component
1593
+ */
1594
+ readonly __firstChild?: ChildNode;
1595
+ /**
1596
+ * On a `scoped: true` component
1597
+ * with `experimentalSlotFixes` flag enabled,
1598
+ * returns the internal `lastChild` of the component
1599
+ */
1600
+ readonly __lastChild?: ChildNode;
1601
+ /**
1602
+ * On a `scoped: true` component
1603
+ * with `experimentalSlotFixes` flag enabled,
1604
+ * returns the internal `textContent` of the component
1605
+ */
1606
+ __textContent?: string;
1607
+ /**
1608
+ * On a `scoped: true` component
1609
+ * with `experimentalSlotFixes` flag enabled,
1610
+ * gives access to the original `append` method
1611
+ */
1612
+ __append?: (...nodes: (Node | string)[]) => void;
1613
+ /**
1614
+ * On a `scoped: true` component
1615
+ * with `experimentalSlotFixes` flag enabled,
1616
+ * gives access to the original `prepend` method
1617
+ */
1618
+ __prepend?: (...nodes: (Node | string)[]) => void;
1619
+ /**
1620
+ * On a `scoped: true` component
1621
+ * with `experimentalSlotFixes` flag enabled,
1622
+ * gives access to the original `appendChild` method
1623
+ */
1624
+ __appendChild?: <T extends Node>(newChild: T) => T;
1625
+ /**
1626
+ * On a `scoped: true` component
1627
+ * with `experimentalSlotFixes` flag enabled,
1628
+ * gives access to the original `insertBefore` method
1629
+ */
1630
+ __insertBefore?: <T extends Node>(node: T, child: Node | null) => T;
1631
+ /**
1632
+ * On a `scoped: true` component
1633
+ * with `experimentalSlotFixes` flag enabled,
1634
+ * gives access to the original `removeChild` method
1635
+ */
1636
+ __removeChild?: <T extends Node>(child: T) => T;
1637
+ }
1638
+ interface PatchedSlotNode extends Node {
1639
+ /**
1640
+ * Slot name
1641
+ */
1642
+ ['s-sn']?: string;
1643
+ /**
1644
+ * Original Location Reference:
1645
+ * A reference pointing to the comment
1646
+ * which represents the original location
1647
+ * before it was moved to its slot.
1648
+ */
1649
+ ['s-ol']?: RenderNode;
1650
+ /**
1651
+ * Slot host tag name:
1652
+ * This is the tag name of the element where this node
1653
+ * has been moved to during slot relocation.
1654
+ *
1655
+ * This allows us to check if the node has been moved and prevent
1656
+ * us from thinking a node _should_ be moved when it may already be in
1657
+ * its final destination.
1658
+ *
1659
+ * This value is set to `undefined` whenever the node is put back into its original location.
1660
+ */
1661
+ ['s-sh']?: string;
1662
+ /**
1663
+ * Is a `slot` node when `shadow: false` (or `scoped: true`).
1664
+ *
1665
+ * This is a node (either empty text-node or `<slot-fb>` element)
1666
+ * that represents where a `<slot>` is located in the original JSX.
1667
+ */
1668
+ ['s-sr']?: boolean;
1669
+ /**
1670
+ * On a `scoped: true` component
1671
+ * with `experimentalSlotFixes` flag enabled,
1672
+ * returns the actual `parentNode` of the component
1673
+ */
1674
+ __parentNode?: RenderNode;
1675
+ /**
1676
+ * On a `scoped: true` component
1677
+ * with `experimentalSlotFixes` flag enabled,
1678
+ * returns the actual `nextSibling` of the component
1679
+ */
1680
+ __nextSibling?: RenderNode;
1681
+ /**
1682
+ * On a `scoped: true` component
1683
+ * with `experimentalSlotFixes` flag enabled,
1684
+ * returns the actual `previousSibling` of the component
1685
+ */
1686
+ __previousSibling?: RenderNode;
1687
+ /**
1688
+ * On a `scoped: true` component
1689
+ * with `experimentalSlotFixes` flag enabled,
1690
+ * returns the actual `nextElementSibling` of the component
1691
+ */
1692
+ __nextElementSibling?: RenderNode;
1693
+ /**
1694
+ * On a `scoped: true` component
1695
+ * with `experimentalSlotFixes` flag enabled,
1696
+ * returns the actual `nextElementSibling` of the component
1697
+ */
1698
+ __previousElementSibling?: RenderNode;
1699
+ }
1700
+ type LazyBundlesRuntimeData = LazyBundleRuntimeData[];
1701
+ type LazyBundleRuntimeData = [/** bundleIds */string, ComponentRuntimeMetaCompact[]];
1702
+ type ComponentRuntimeMetaCompact = [/** flags */number, /** tagname */string, /** members */{
1703
+ [memberName: string]: ComponentRuntimeMember;
1704
+ }?, /** listeners */ComponentRuntimeHostListener[]?, /** watchers */ComponentConstructorChangeHandlers?, /** serializers */ComponentConstructorChangeHandlers?, /** deserializers */ComponentConstructorChangeHandlers?];
1705
+ /**
1706
+ * Runtime metadata for a Stencil component
1707
+ */
1708
+ interface ComponentRuntimeMeta {
1709
+ /**
1710
+ * This number is used to hold a series of bitflags for various features we
1711
+ * support on components. The flags which this value is intended to store are
1712
+ * documented in the `CMP_FLAGS` enum.
1713
+ */
1714
+ $flags$: number;
1715
+ /**
1716
+ * Just what it says on the tin - the tag name for the component, as set in
1717
+ * the `@Component` decorator.
1718
+ */
1719
+ $tagName$: string;
1720
+ /**
1721
+ * A map of the component's members, which could include fields decorated
1722
+ * with `@Prop`, `@State`, etc as well as methods.
1723
+ */
1724
+ $members$?: ComponentRuntimeMembers;
1725
+ /**
1726
+ * Information about listeners on the component.
1727
+ */
1728
+ $listeners$?: ComponentRuntimeHostListener[];
1729
+ /**
1730
+ * Tuples containing information about `@Prop` fields on the component which
1731
+ * are set to be reflected (i.e. kept in sync) as HTML attributes when
1732
+ * updated.
1733
+ */
1734
+ $attrsToReflect$?: ComponentRuntimeReflectingAttr[];
1735
+ /**
1736
+ * Information about which class members have watchers attached on the component.
1737
+ */
1738
+ $watchers$?: ComponentConstructorChangeHandlers;
1739
+ /**
1740
+ * A bundle ID used for lazy loading.
1741
+ */
1742
+ $lazyBundleId$?: string;
1743
+ /**
1744
+ * Information about which class members have prop > attribute serializers attached on the component.
1745
+ */
1746
+ $serializers$?: ComponentConstructorChangeHandlers;
1747
+ /**
1748
+ * Information about which class members have attribute > prop deserializers attached on the component.
1749
+ */
1750
+ $deserializers$?: ComponentConstructorChangeHandlers;
1751
+ }
1752
+ /**
1753
+ * A mapping of the names of members on the component to some runtime-specific
1754
+ * information about them.
1755
+ */
1756
+ interface ComponentRuntimeMembers {
1757
+ [memberName: string]: ComponentRuntimeMember;
1758
+ }
1759
+ /**
1760
+ * A tuple with information about a class member that's relevant at runtime.
1761
+ * The fields are:
1762
+ *
1763
+ * 1. A number used to hold bitflags for component members. The bit flags which
1764
+ * this is intended to store are documented in the `MEMBER_FLAGS` enum.
1765
+ * 2. The attribute name to observe.
1766
+ */
1767
+ type ComponentRuntimeMember = [number, string?];
1768
+ /**
1769
+ * A tuple holding information about a host listener which is relevant at
1770
+ * runtime. The field are:
1771
+ *
1772
+ * 1. A number used to hold bitflags for listeners. The bit flags which this is
1773
+ * intended to store are documented in the `LISTENER_FLAGS` enum.
1774
+ * 2. The event name.
1775
+ * 3. The method name.
1776
+ */
1777
+ type ComponentRuntimeHostListener = [number, string, string];
1778
+ /**
1779
+ * A tuple containing information about props which are "reflected" at runtime,
1780
+ * meaning that HTML attributes on the component instance are kept in sync with
1781
+ * the prop value.
1782
+ *
1783
+ * The fields are:
1784
+ *
1785
+ * 1. the prop name
1786
+ * 2. the prop attribute.
1787
+ */
1788
+ type ComponentRuntimeReflectingAttr = [string, string | undefined];
1789
+ /**
1790
+ * A runtime component reference, consistent of either a host element _or_ an
1791
+ * empty object. This is used in particular in a few different places as the
1792
+ * keys in a `WeakMap` which maps {@link HostElement} instances to their
1793
+ * associated {@link HostRef} instance.
1794
+ */
1795
+ type RuntimeRef = HostElement | {
1796
+ __stencil__getHostRef?: () => HostRef;
1797
+ };
1798
+ /**
1799
+ * Interface used to track an Element, it's virtual Node (`VNode`), and other data
1800
+ */
1801
+ interface HostRef {
1802
+ $ancestorComponent$?: HostElement;
1803
+ $flags$: number;
1804
+ $cmpMeta$: ComponentRuntimeMeta;
1805
+ $hostElement$: HostElement;
1806
+ $instanceValues$?: Map<string, any>;
1807
+ $serializerValues$?: Map<string, string>;
1808
+ $lazyInstance$?: ComponentInterface;
1809
+ /**
1810
+ * A list of callback functions called immediately after a lazy component module has been fetched.
1811
+ */
1812
+ $fetchedCbList$?: ((elm: HostElement) => void)[];
1813
+ /**
1814
+ * A promise that gets resolved if `BUILD.asyncLoading` is enabled and after the `componentDidLoad`
1815
+ * and before the `componentDidUpdate` lifecycle events are triggered.
1816
+ */
1817
+ $onReadyPromise$?: Promise<HostElement>;
1818
+ /**
1819
+ * A callback which resolves {@link HostRef.$onReadyPromise$}
1820
+ * @param elm host element
1821
+ */
1822
+ $onReadyResolve$?: (elm: HostElement) => void;
1823
+ /**
1824
+ * A promise which resolves with the host component once it has finished rendering
1825
+ * for the first time. This is primarily used to wait for the first `update` to be
1826
+ * called on a component.
1827
+ */
1828
+ $onInstancePromise$?: Promise<HostElement>;
1829
+ /**
1830
+ * A callback which resolves {@link HostRef.$onInstancePromise$}
1831
+ * @param elm host element
1832
+ */
1833
+ $onInstanceResolve$?: (elm: HostElement) => void;
1834
+ /**
1835
+ * A promise which resolves when the component has finished rendering for the first time.
1836
+ * It is called after {@link HostRef.$onInstancePromise$} resolves.
1837
+ */
1838
+ $onRenderResolve$?: () => void;
1839
+ $vnode$?: VNode;
1840
+ $queuedListeners$?: [string, any][];
1841
+ $rmListeners$?: (() => void)[];
1842
+ $modeName$?: string;
1843
+ $renderCount$?: number;
1844
+ /**
1845
+ * Defer connectedCallback until after first render for components with slot relocation.
1846
+ */
1847
+ $deferredConnectedCallback$?: boolean;
1848
+ }
1849
+ interface PlatformRuntime {
1850
+ /**
1851
+ * This number is used to hold a series of bitflags for various features we
1852
+ * support within the runtime. The flags which this value is intended to store are
1853
+ * documented in the {@link PLATFORM_FLAGS} enum.
1854
+ */
1855
+ $flags$: number;
1856
+ /**
1857
+ * Holds a map of nodes to be hydrated.
1858
+ */
1859
+ $orgLocNodes$?: Map<string, RenderNode>;
1860
+ /**
1861
+ * Holds the resource url for given platform environment.
1862
+ */
1863
+ $resourcesUrl$: string;
1864
+ /**
1865
+ * The nonce value to be applied to all script/style tags at runtime.
1866
+ * If `null`, the nonce attribute will not be applied.
1867
+ */
1868
+ $nonce$?: string | null;
1869
+ /**
1870
+ * A utility function that executes a given function and returns the result.
1871
+ * @param c The callback function to execute
1872
+ */
1873
+ jmp: (c: Function) => any;
1874
+ /**
1875
+ * A wrapper for {@link https://developer.mozilla.org/en-US/docs/Web/API/Window/requestAnimationFrame `requestAnimationFrame`}
1876
+ */
1877
+ raf: (c: FrameRequestCallback) => number;
1878
+ /**
1879
+ * A wrapper for {@link https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener `addEventListener`}
1880
+ */
1881
+ ael: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
1882
+ /**
1883
+ * A wrapper for {@link https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener `removeEventListener`}
1884
+ */
1885
+ rel: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
1886
+ /**
1887
+ * A wrapper for creating a {@link https://developer.mozilla.org/docs/Web/API/CustomEvent `CustomEvent`}
1888
+ */
1889
+ ce: (eventName: string, opts?: any) => CustomEvent;
1890
+ }
1891
+ type ChildType = VNode | number | string;
1892
+ //#endregion
1893
+ export { ResolutionHandler as _, ComponentRuntimeMeta as a, HostRef as c, RenderNode as d, RuntimeRef as f, JSXBase as g, HTMLStencilElement as h, ComponentRuntimeHostListener as i, LazyBundlesRuntimeData as l, FunctionalComponent as m, ChildType as n, ComponentRuntimeMetaCompact as o, CustomElementsDefineOptions as p, ComponentConstructor as r, HostElement as s, BuildConditionals as t, PlatformRuntime as u, TagTransformer as v, VNode as y };