@stencil/core 4.43.5 → 5.0.0-alpha.10

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