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