@stencil/core 4.43.3 → 5.0.0-alpha.1

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