acrylblends 1.0.4 → 1.0.6

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 (351) hide show
  1. package/docs/framework/agents/index.md +7 -5
  2. package/lib/accept-CNNHu4Cf.js +193 -0
  3. package/lib/{accepts-XBuZPVRI.js → accepts-Btq83xPd.js} +1 -1
  4. package/lib/accepts.js +1 -1
  5. package/lib/acryl-base.js +1 -331
  6. package/lib/adapter-CaZ6FZUU.js +37 -0
  7. package/lib/adapter.js +1 -36
  8. package/lib/{app-BM0rTCp7.js → app-CQcGWjrk.js} +4 -4
  9. package/lib/app-base-CpRMZL4v.js +332 -0
  10. package/lib/{audit-D5z9uwOP.d.ts → audit-GcLtvNLV.d.ts} +4 -2
  11. package/lib/{base-NSN_SNv-.js → base-D_6kfOr-.js} +1 -1
  12. package/lib/basic-auth-C0HTRpXh.js +20 -0
  13. package/lib/basic-auth-DFLflXNe.js +95 -0
  14. package/lib/basic-auth.js +1 -94
  15. package/lib/bearer-auth-Cwxt-vgS.js +94 -0
  16. package/lib/bearer-auth.js +1 -93
  17. package/lib/body-D7f4e7w_.js +94 -0
  18. package/lib/body-limit-WmIjWRLt.js +66 -0
  19. package/lib/body-limit.js +1 -65
  20. package/lib/buffer-CkEOJCcY.js +51 -0
  21. package/lib/bun.js +3 -3
  22. package/lib/cache-B0bHH7s5.js +169 -0
  23. package/lib/cache.js +1 -168
  24. package/lib/{client-DDLXwhBo.js → client-BrMFnMEd.js} +1 -1
  25. package/lib/{client-modules-CLvWOjbd.js → client-modules-drj4mjhj.js} +4 -4
  26. package/lib/client.js +1 -1
  27. package/lib/color-COa3DplO.js +37 -0
  28. package/lib/combine-TWuGdcbC.js +137 -0
  29. package/lib/combine.js +1 -136
  30. package/lib/{components-cEW3ovK0.js → components-B2ka9Ax1.js} +4 -4
  31. package/lib/{components-JXVm45kK.js → components-PVXwaOaC.js} +2 -2
  32. package/lib/compress-BzWqsHF1.js +79 -0
  33. package/lib/compress-C-9vK4B2.d.ts +11 -0
  34. package/lib/compress-DCyrrQ5D.js +11 -0
  35. package/lib/compress.d.ts +1 -1
  36. package/lib/compress.js +2 -78
  37. package/lib/concurrent-DrF3d2c-.js +30 -0
  38. package/lib/conninfo-BCROmdnf.d.ts +11 -0
  39. package/lib/conninfo-CWJwieh4.js +19 -0
  40. package/lib/constants-CBSEudrb.js +7 -0
  41. package/lib/{context-DDO0cfuP.js → context-CkOh7Ygv.js} +2 -2
  42. package/lib/context-storage-iuPoI_CR.js +52 -0
  43. package/lib/context-storage.js +1 -51
  44. package/lib/cookie-B1LlkzOe.js +125 -0
  45. package/lib/cookie-BHIduy2T.js +82 -0
  46. package/lib/cookie.js +1 -81
  47. package/lib/cordis/db-sqlite.d.ts +1 -1
  48. package/lib/cordis/door.d.ts +99 -5
  49. package/lib/cordis/door.js +562 -20
  50. package/lib/cordis/inspect.js +4 -4
  51. package/lib/cordis/kv-db.d.ts +1 -1
  52. package/lib/cordis/kv-db.js +1 -1
  53. package/lib/cordis/kv-json.d.ts +1 -1
  54. package/lib/cordis/kv-json.js +1 -1
  55. package/lib/cordis/node-server.d.ts +1 -1
  56. package/lib/cordis/node-server.js +3 -116
  57. package/lib/cordis/router-http.js +2 -2
  58. package/lib/cordis/router.js +4 -4
  59. package/lib/cordis/state.js +7 -7
  60. package/lib/{core-CaY8XDZ6.js → core-BOu1jYua.js} +1 -1
  61. package/lib/cors-CbAQ-8qU.js +106 -0
  62. package/lib/cors.js +1 -105
  63. package/lib/crypto-iVP-N-tS.js +34 -0
  64. package/lib/csrf-DqqOZtgy.js +101 -0
  65. package/lib/csrf.js +1 -100
  66. package/lib/css-C5CPVMvM.js +134 -0
  67. package/lib/css.js +2 -133
  68. package/lib/db/sqlite.d.ts +1 -25
  69. package/lib/dev-CLgu-JRe.js +50 -0
  70. package/lib/dev.js +1 -49
  71. package/lib/dom-YjND9Jt3.js +74 -0
  72. package/lib/door/host.d.ts +2 -2
  73. package/lib/door/host.js +1 -1
  74. package/lib/door/page.d.ts +3 -1
  75. package/lib/door/page.js +2 -2
  76. package/lib/door/protocol.d.ts +1 -1
  77. package/lib/door/protocol.js +1 -212
  78. package/lib/encode-BhbNLrjp.js +33 -0
  79. package/lib/factory-CLdSf-xS.js +30 -0
  80. package/lib/factory.js +1 -29
  81. package/lib/handler-C0wZ0KwO.js +12 -0
  82. package/lib/helpers-BEjcdbgw.js +5 -0
  83. package/lib/{hooks-w72iLeFR.js → hooks-CfC07ri0.js} +1 -1
  84. package/lib/html-CgNa89xw.js +31 -0
  85. package/lib/html-DGExBFNg.js +103 -0
  86. package/lib/html.d.ts +2 -5
  87. package/lib/html.js +2 -30
  88. package/lib/http-exception-MjWkT89V.js +54 -0
  89. package/lib/http-exception.js +1 -53
  90. package/lib/index-dAzQsJG9.d.ts +6 -0
  91. package/lib/index.js +3 -3
  92. package/lib/ip-restriction-jKtKCRM_.js +166 -0
  93. package/lib/ip-restriction.js +1 -165
  94. package/lib/ipaddr-DCoIo528.js +238 -0
  95. package/lib/jsx/dom/client.js +1 -1
  96. package/lib/jsx/dom/jsx-dev-runtime.js +1 -1
  97. package/lib/jsx/dom/jsx-runtime.js +2 -1
  98. package/lib/jsx/dom/server.js +3 -3
  99. package/lib/jsx/dom.js +5 -73
  100. package/lib/jsx/jsx-dev-runtime.d.ts +2 -5
  101. package/lib/jsx/jsx-dev-runtime.js +2 -13
  102. package/lib/jsx/jsx-runtime.d.ts +2 -2
  103. package/lib/jsx/jsx-runtime.js +4 -4
  104. package/lib/jsx/streaming.js +1 -1
  105. package/lib/jsx-CUQgttxU.js +47 -0
  106. package/lib/jsx-dev-runtime-B4WTyq8r.js +14 -0
  107. package/lib/{jsx-dev-runtime-CWLRA2F3.js → jsx-dev-runtime-BLfA-EhI.js} +2 -2
  108. package/lib/jsx-dev-runtime-CGt4kNYr.d.ts +6 -0
  109. package/lib/jsx-renderer-CfifM4hT.js +99 -0
  110. package/lib/jsx-renderer.js +1 -98
  111. package/lib/jsx-runtime-COCRWBJ9.js +2 -0
  112. package/lib/jsx.js +5 -46
  113. package/lib/{jwk-LkzeoaU8.js → jwk-CDPpYQpD.js} +3 -3
  114. package/lib/jwk.js +1 -1
  115. package/lib/{jwt-BGJBw5AF.js → jwt-BXoIA2fQ.js} +2 -2
  116. package/lib/{jwt-CskdhEW9.js → jwt-lyS4Q3mT.js} +3 -3
  117. package/lib/jwt.js +2 -2
  118. package/lib/kv/db.d.ts +1 -10
  119. package/lib/kv/db.js +1 -56
  120. package/lib/kv/json.d.ts +1 -9
  121. package/lib/kv/json.js +1 -223
  122. package/lib/{language-D9a4zqvn.js → language-DeGRtLJt.js} +2 -2
  123. package/lib/language.js +1 -1
  124. package/lib/{linear-router-C3FPib6h.js → linear-router-CmZn_JLV.js} +2 -2
  125. package/lib/logger-Ckxu8diz.js +54 -0
  126. package/lib/logger.js +1 -53
  127. package/lib/loopback-only-BbasoF7R.js +90 -0
  128. package/lib/loopback-only.js +1 -89
  129. package/lib/method-not-allowed-TO2_hnfl.js +82 -0
  130. package/lib/method-not-allowed.js +1 -81
  131. package/lib/method-override-DnZKfJbV.js +103 -0
  132. package/lib/method-override.js +1 -102
  133. package/lib/middleware-BfG_fp8P.js +12 -0
  134. package/lib/mime-BnScXkQn.js +77 -0
  135. package/lib/mount-QkK_3NtJ.js +67 -0
  136. package/lib/mount.js +1 -66
  137. package/lib/node-server/conninfo.d.ts +1 -10
  138. package/lib/node-server/conninfo.js +1 -18
  139. package/lib/node-server/register.js +25 -2
  140. package/lib/node-server/serve-static.d.ts +1 -17
  141. package/lib/node-server/serve-static.js +1 -1
  142. package/lib/node-server.d.ts +2 -2
  143. package/lib/node-server.js +4 -4
  144. package/lib/open-BqK4D2Wn.d.ts +11 -0
  145. package/lib/open-But9E2rL.js +57 -0
  146. package/lib/open-CULVJgOc.d.ts +12 -0
  147. package/lib/open-Dp4sxspc.js +224 -0
  148. package/lib/open-T7kgbO2O.d.ts +27 -0
  149. package/lib/{pattern-router-HZxjDGEQ.js → pattern-router-CJBecJBd.js} +1 -1
  150. package/lib/powered-by-CXQNjNIX.js +24 -0
  151. package/lib/powered-by.js +1 -23
  152. package/lib/pretty-json-CeC1yvYt.js +39 -0
  153. package/lib/pretty-json.js +1 -38
  154. package/lib/{protocol-C37gPePD.d.ts → protocol-CR31M7K_.d.ts} +2 -0
  155. package/lib/protocol-Dt0AZBOz.js +213 -0
  156. package/lib/proxy-C2w_mH7k.js +121 -0
  157. package/lib/proxy.js +1 -120
  158. package/lib/quick.js +4 -4
  159. package/lib/{reg-exp-router-DC1R3qoY.js → reg-exp-router-C_WV84eV.js} +2 -2
  160. package/lib/request-DvMgGtlW.js +323 -0
  161. package/lib/request.js +1 -322
  162. package/lib/route-D8m-a2I1.js +126 -0
  163. package/lib/route.js +1 -125
  164. package/lib/router/linear-router.js +1 -1
  165. package/lib/router/pattern-router.js +1 -1
  166. package/lib/router/reg-exp-router.js +1 -1
  167. package/lib/router/smart-router.js +1 -1
  168. package/lib/router/trie-router.js +1 -1
  169. package/lib/router-Be_o6nFu.js +35 -0
  170. package/lib/router.js +1 -34
  171. package/lib/schema-validator-EK3cUUCt.js +22 -0
  172. package/lib/schema-validator.js +1 -21
  173. package/lib/{secure-headers-mP3j6Hm6.js → secure-headers-C5ZOcXqk.js} +1 -1
  174. package/lib/secure-headers.js +1 -1
  175. package/lib/serve-static-B7sqnftW.d.ts +18 -0
  176. package/lib/{serve-static-3uo_9rjF.js → serve-static-C1Nkj_xB.js} +2 -2
  177. package/lib/{serve-static-Cp5adzGo.js → serve-static-EiJf1zkO.js} +4 -4
  178. package/lib/serve-static.js +1 -1
  179. package/lib/{smart-router-C5CZ5XSM.js → smart-router-BjxkDQCE.js} +1 -1
  180. package/lib/{snapshot-text-BLz8nlSc.js → snapshot-text-CtQm3n8n.js} +23 -14
  181. package/lib/{src-dy3Fk9tA.js → src-BTBm4OPD.js} +6 -6
  182. package/lib/src-LX0E4ec4.js +117 -0
  183. package/lib/{ssg-BwjcA-Ge.js → ssg-BEl7MHqg.js} +5 -5
  184. package/lib/ssg.js +1 -1
  185. package/lib/stream-CzM_SHkq.js +88 -0
  186. package/lib/{streaming-DHST3Scg.js → streaming-BlDaph8U.js} +3 -3
  187. package/lib/streaming.js +1 -1
  188. package/lib/{test-websocket-D8WWqE5G.js → test-websocket-BLeEvybj.js} +2 -2
  189. package/lib/testing-BQx5T_UX.js +17 -0
  190. package/lib/testing.js +1 -16
  191. package/lib/timeout-FeqZ9A-0.js +42 -0
  192. package/lib/timeout.js +1 -41
  193. package/lib/tiny.js +2 -2
  194. package/lib/trailing-slash-DwTx-1sk.js +85 -0
  195. package/lib/trailing-slash.js +1 -84
  196. package/lib/{trie-router-CfFbapzL.js → trie-router-JydLKUa2.js} +2 -2
  197. package/lib/url-BPh4d6j-.js +197 -0
  198. package/lib/utils/accept.js +1 -192
  199. package/lib/utils/basic-auth.js +1 -19
  200. package/lib/utils/body.js +1 -93
  201. package/lib/utils/buffer.js +1 -50
  202. package/lib/utils/color.js +1 -36
  203. package/lib/utils/compress.d.ts +1 -10
  204. package/lib/utils/compress.js +1 -10
  205. package/lib/utils/concurrent.js +1 -29
  206. package/lib/utils/constants.js +1 -6
  207. package/lib/utils/cookie.js +1 -124
  208. package/lib/utils/crypto.js +1 -33
  209. package/lib/utils/encode.js +1 -32
  210. package/lib/utils/handler.js +1 -11
  211. package/lib/utils/html.js +1 -102
  212. package/lib/utils/ipaddr.js +1 -237
  213. package/lib/utils/jwt.js +1 -1
  214. package/lib/utils/mime.js +1 -76
  215. package/lib/utils/stream.js +1 -87
  216. package/lib/utils/url.js +1 -196
  217. package/lib/{validator-D84mq-dO.js → validator-Btiyt5VJ.js} +3 -3
  218. package/lib/validator.js +1 -1
  219. package/lib/websocket-DsyBIKVA.js +56 -0
  220. package/lib/ws.js +1 -55
  221. package/package.json +1 -1
  222. package/plugins/acryl-door/src/cli/acryl.ts +36 -5
  223. package/plugins/acryl-door/src/host/channel.ts +14 -6
  224. package/plugins/acryl-door/src/host/chat-tools.ts +2 -0
  225. package/plugins/acryl-door/src/host/door.ts +97 -12
  226. package/plugins/acryl-door/src/host/page-routes.ts +3 -1
  227. package/plugins/acryl-door/src/host/shell.ts +147 -0
  228. package/plugins/acryl-door/src/host/shim.ts +39 -3
  229. package/plugins/acryl-door/src/host/verbs.ts +39 -2
  230. package/plugins/acryl-door/src/index.ts +22 -3
  231. package/plugins/acryl-door/src/page/channel.ts +3 -1
  232. package/plugins/acryl-door/src/page/index.ts +2 -1
  233. package/plugins/acryl-door/src/page/protocol.ts +2 -0
  234. package/plugins/acryl-door/src/shell/protocol.ts +130 -0
  235. package/plugins/acryl-node-server/src/register.ts +29 -2
  236. package/plugins/agent/model.ts +6 -1
  237. package/plugins/agent/tools.ts +12 -2
  238. package/plugins/agent-panel/client/describe.ts +44 -0
  239. package/plugins/agent-panel/client/main.ts +4 -1
  240. package/plugins/agent-panel/headless.ts +29 -8
  241. package/plugins/agent-panel/index.ts +22 -10
  242. package/plugins/agent-panel/launch.ts +67 -0
  243. package/plugins/desktop/attach.ts +72 -0
  244. package/plugins/desktop/door-shell.ts +379 -0
  245. package/plugins/desktop/main.ts +82 -15
  246. package/plugins/extensions/index.ts +3 -4
  247. package/plugins/extensions/stage.ts +33 -5
  248. package/plugins/openai/index.ts +1 -1
  249. package/templates/agent/AGENTS.md +4 -0
  250. package/templates/agent/blend.yaml +4 -1
  251. package/templates/agent/src/app.ts +2 -0
  252. package/templates/agent/src/routes.ts +1 -1
  253. package/templates/agent/template.json +1 -0
  254. package/templates/agent/test/builder.test.ts +26 -21
  255. package/lib/helpers-CvTauQT5.js +0 -5
  256. package/lib/middleware-CPQ8himN.js +0 -12
  257. package/plugins/acryl-router/src/connection.d.ts +0 -25
  258. package/plugins/acryl-router/src/core/app-base.d.ts +0 -215
  259. package/plugins/acryl-router/src/core/app.d.ts +0 -19
  260. package/plugins/acryl-router/src/core/client/client.d.ts +0 -4
  261. package/plugins/acryl-router/src/core/client/fetch-result-please.d.ts +0 -35
  262. package/plugins/acryl-router/src/core/client/index.d.ts +0 -7
  263. package/plugins/acryl-router/src/core/client/types.d.ts +0 -229
  264. package/plugins/acryl-router/src/core/client/utils.d.ts +0 -18
  265. package/plugins/acryl-router/src/core/compose.d.ts +0 -14
  266. package/plugins/acryl-router/src/core/context.d.ts +0 -443
  267. package/plugins/acryl-router/src/core/helper/accepts/accepts.d.ts +0 -30
  268. package/plugins/acryl-router/src/core/helper/accepts/index.d.ts +0 -5
  269. package/plugins/acryl-router/src/core/helper/conninfo/index.d.ts +0 -5
  270. package/plugins/acryl-router/src/core/helper/conninfo/types.d.ts +0 -36
  271. package/plugins/acryl-router/src/core/helper/cookie/index.d.ts +0 -25
  272. package/plugins/acryl-router/src/core/helper/css/common.d.ts +0 -59
  273. package/plugins/acryl-router/src/core/helper/css/index.d.ts +0 -80
  274. package/plugins/acryl-router/src/core/helper/dev/index.d.ts +0 -20
  275. package/plugins/acryl-router/src/core/helper/factory/index.d.ts +0 -82
  276. package/plugins/acryl-router/src/core/helper/html/index.d.ts +0 -8
  277. package/plugins/acryl-router/src/core/helper/proxy/index.d.ts +0 -73
  278. package/plugins/acryl-router/src/core/helper/route/index.d.ts +0 -75
  279. package/plugins/acryl-router/src/core/helper/ssg/index.d.ts +0 -7
  280. package/plugins/acryl-router/src/core/helper/ssg/middleware.d.ts +0 -44
  281. package/plugins/acryl-router/src/core/helper/ssg/plugins.d.ts +0 -27
  282. package/plugins/acryl-router/src/core/helper/ssg/ssg.d.ts +0 -91
  283. package/plugins/acryl-router/src/core/helper/ssg/utils.d.ts +0 -16
  284. package/plugins/acryl-router/src/core/helper/streaming/index.d.ts +0 -8
  285. package/plugins/acryl-router/src/core/helper/streaming/sse.d.ts +0 -13
  286. package/plugins/acryl-router/src/core/helper/streaming/stream.d.ts +0 -3
  287. package/plugins/acryl-router/src/core/helper/streaming/text.d.ts +0 -3
  288. package/plugins/acryl-router/src/core/helper/streaming/utils.d.ts +0 -1
  289. package/plugins/acryl-router/src/core/helper/testing/index.d.ts +0 -13
  290. package/plugins/acryl-router/src/core/helper/websocket/index.d.ts +0 -70
  291. package/plugins/acryl-router/src/core/http-exception.d.ts +0 -58
  292. package/plugins/acryl-router/src/core/index.d.ts +0 -37
  293. package/plugins/acryl-router/src/core/jsx/base.d.ts +0 -61
  294. package/plugins/acryl-router/src/core/jsx/children.d.ts +0 -9
  295. package/plugins/acryl-router/src/core/jsx/components.d.ts +0 -15
  296. package/plugins/acryl-router/src/core/jsx/constants.d.ts +0 -6
  297. package/plugins/acryl-router/src/core/jsx/context.d.ts +0 -51
  298. package/plugins/acryl-router/src/core/jsx/dom/components.d.ts +0 -10
  299. package/plugins/acryl-router/src/core/jsx/dom/context.d.ts +0 -3
  300. package/plugins/acryl-router/src/core/jsx/dom/css.d.ts +0 -83
  301. package/plugins/acryl-router/src/core/jsx/dom/hooks/index.d.ts +0 -39
  302. package/plugins/acryl-router/src/core/jsx/dom/intrinsic-element/components.d.ts +0 -16
  303. package/plugins/acryl-router/src/core/jsx/dom/jsx-dev-runtime.d.ts +0 -8
  304. package/plugins/acryl-router/src/core/jsx/dom/jsx-runtime.d.ts +0 -7
  305. package/plugins/acryl-router/src/core/jsx/dom/render.d.ts +0 -73
  306. package/plugins/acryl-router/src/core/jsx/dom/utils.d.ts +0 -1
  307. package/plugins/acryl-router/src/core/jsx/hooks/index.d.ts +0 -47
  308. package/plugins/acryl-router/src/core/jsx/index.d.ts +0 -76
  309. package/plugins/acryl-router/src/core/jsx/intrinsic-element/common.d.ts +0 -6
  310. package/plugins/acryl-router/src/core/jsx/intrinsic-element/components.d.ts +0 -13
  311. package/plugins/acryl-router/src/core/jsx/intrinsic-elements.d.ts +0 -735
  312. package/plugins/acryl-router/src/core/jsx/streaming.d.ts +0 -36
  313. package/plugins/acryl-router/src/core/jsx/types.d.ts +0 -36
  314. package/plugins/acryl-router/src/core/jsx/utils.d.ts +0 -4
  315. package/plugins/acryl-router/src/core/request/constants.d.ts +0 -1
  316. package/plugins/acryl-router/src/core/request.d.ts +0 -306
  317. package/plugins/acryl-router/src/core/router/reg-exp-router/index.d.ts +0 -6
  318. package/plugins/acryl-router/src/core/router/reg-exp-router/matcher.d.ts +0 -7
  319. package/plugins/acryl-router/src/core/router/reg-exp-router/node.d.ts +0 -13
  320. package/plugins/acryl-router/src/core/router/reg-exp-router/prepared-router.d.ts +0 -17
  321. package/plugins/acryl-router/src/core/router/reg-exp-router/router.d.ts +0 -11
  322. package/plugins/acryl-router/src/core/router/reg-exp-router/trie.d.ts +0 -8
  323. package/plugins/acryl-router/src/core/router/smart-router/index.d.ts +0 -5
  324. package/plugins/acryl-router/src/core/router/smart-router/router.d.ts +0 -11
  325. package/plugins/acryl-router/src/core/router/trie-router/index.d.ts +0 -5
  326. package/plugins/acryl-router/src/core/router/trie-router/node.d.ts +0 -6
  327. package/plugins/acryl-router/src/core/router/trie-router/router.d.ts +0 -7
  328. package/plugins/acryl-router/src/core/router/utils.d.ts +0 -1
  329. package/plugins/acryl-router/src/core/router.d.ts +0 -97
  330. package/plugins/acryl-router/src/core/types.d.ts +0 -573
  331. package/plugins/acryl-router/src/core/utils/accept.d.ts +0 -6
  332. package/plugins/acryl-router/src/core/utils/body.d.ts +0 -79
  333. package/plugins/acryl-router/src/core/utils/buffer.d.ts +0 -17
  334. package/plugins/acryl-router/src/core/utils/color.d.ts +0 -21
  335. package/plugins/acryl-router/src/core/utils/concurrent.d.ts +0 -11
  336. package/plugins/acryl-router/src/core/utils/constants.d.ts +0 -4
  337. package/plugins/acryl-router/src/core/utils/cookie.d.ts +0 -41
  338. package/plugins/acryl-router/src/core/utils/crypto.d.ts +0 -15
  339. package/plugins/acryl-router/src/core/utils/handler.d.ts +0 -6
  340. package/plugins/acryl-router/src/core/utils/headers.d.ts +0 -8
  341. package/plugins/acryl-router/src/core/utils/html.d.ts +0 -44
  342. package/plugins/acryl-router/src/core/utils/http-status.d.ts +0 -32
  343. package/plugins/acryl-router/src/core/utils/mime.d.ts +0 -70
  344. package/plugins/acryl-router/src/core/utils/stream.d.ts +0 -31
  345. package/plugins/acryl-router/src/core/utils/types.d.ts +0 -128
  346. package/plugins/acryl-router/src/core/utils/url.d.ts +0 -44
  347. package/plugins/acryl-router/src/core/validator/index.d.ts +0 -7
  348. package/plugins/acryl-router/src/core/validator/utils.d.ts +0 -29
  349. package/plugins/acryl-router/src/core/validator/validator.d.ts +0 -16
  350. package/plugins/acryl-router/src/helpers/index.d.ts +0 -17
  351. package/plugins/acryl-router/src/helpers/schema-validator.d.ts +0 -54
@@ -1,735 +0,0 @@
1
- import type { BaseMime } from '../utils/mime.ts';
2
- import type { DomEvent, StringLiteralUnion } from '../utils/types.ts';
3
- type AnimationEvent = DomEvent<'AnimationEvent'>;
4
- type ClipboardEvent = DomEvent<'ClipboardEvent'>;
5
- type CompositionEvent = DomEvent<'CompositionEvent'>;
6
- type FocusEvent = DomEvent<'FocusEvent'>;
7
- type FormDataEvent = DomEvent<'FormDataEvent'>;
8
- type InputEvent = DomEvent<'InputEvent'>;
9
- type KeyboardEvent = DomEvent<'KeyboardEvent'>;
10
- type MouseEvent = DomEvent<'MouseEvent'>;
11
- type PointerEvent = DomEvent<'PointerEvent'>;
12
- type TouchEvent = DomEvent<'TouchEvent'>;
13
- type TransitionEvent = DomEvent<'TransitionEvent'>;
14
- type WheelEvent = DomEvent<'WheelEvent'>;
15
- /**
16
- * This code is based on React.
17
- * https://github.com/facebook/react
18
- * MIT License
19
- * Copyright (c) Meta Platforms, Inc. and affiliates.
20
- */
21
- export declare namespace JSX {
22
- export type CrossOrigin = 'anonymous' | 'use-credentials' | '' | undefined;
23
- export interface CSSProperties {
24
- [propertyKey: string]: unknown;
25
- }
26
- type AnyAttributes = {
27
- [attributeName: string]: any;
28
- };
29
- interface JSXAttributes {
30
- dangerouslySetInnerHTML?: {
31
- __html: string;
32
- };
33
- }
34
- interface EventAttributes {
35
- onScroll?: (event: Event) => void;
36
- onScrollCapture?: (event: Event) => void;
37
- onScrollEnd?: (event: Event) => void;
38
- onScrollEndCapture?: (event: Event) => void;
39
- onWheel?: (event: WheelEvent) => void;
40
- onWheelCapture?: (event: WheelEvent) => void;
41
- onAnimationCancel?: (event: AnimationEvent) => void;
42
- onAnimationCancelCapture?: (event: AnimationEvent) => void;
43
- onAnimationEnd?: (event: AnimationEvent) => void;
44
- onAnimationEndCapture?: (event: AnimationEvent) => void;
45
- onAnimationIteration?: (event: AnimationEvent) => void;
46
- onAnimationIterationCapture?: (event: AnimationEvent) => void;
47
- onAnimationStart?: (event: AnimationEvent) => void;
48
- onAnimationStartCapture?: (event: AnimationEvent) => void;
49
- onCopy?: (event: ClipboardEvent) => void;
50
- onCopyCapture?: (event: ClipboardEvent) => void;
51
- onCut?: (event: ClipboardEvent) => void;
52
- onCutCapture?: (event: ClipboardEvent) => void;
53
- onPaste?: (event: ClipboardEvent) => void;
54
- onPasteCapture?: (event: ClipboardEvent) => void;
55
- onCompositionEnd?: (event: CompositionEvent) => void;
56
- onCompositionEndCapture?: (event: CompositionEvent) => void;
57
- onCompositionStart?: (event: CompositionEvent) => void;
58
- onCompositionStartCapture?: (event: CompositionEvent) => void;
59
- onCompositionUpdate?: (event: CompositionEvent) => void;
60
- onCompositionUpdateCapture?: (event: CompositionEvent) => void;
61
- onBlur?: (event: FocusEvent) => void;
62
- onBlurCapture?: (event: FocusEvent) => void;
63
- onFocus?: (event: FocusEvent) => void;
64
- onFocusCapture?: (event: FocusEvent) => void;
65
- onFocusIn?: (event: FocusEvent) => void;
66
- onFocusInCapture?: (event: FocusEvent) => void;
67
- onFocusOut?: (event: FocusEvent) => void;
68
- onFocusOutCapture?: (event: FocusEvent) => void;
69
- onFullscreenChange?: (event: Event) => void;
70
- onFullscreenChangeCapture?: (event: Event) => void;
71
- onFullscreenError?: (event: Event) => void;
72
- onFullscreenErrorCapture?: (event: Event) => void;
73
- onKeyDown?: (event: KeyboardEvent) => void;
74
- onKeyDownCapture?: (event: KeyboardEvent) => void;
75
- onKeyPress?: (event: KeyboardEvent) => void;
76
- onKeyPressCapture?: (event: KeyboardEvent) => void;
77
- onKeyUp?: (event: KeyboardEvent) => void;
78
- onKeyUpCapture?: (event: KeyboardEvent) => void;
79
- onAuxClick?: (event: MouseEvent) => void;
80
- onAuxClickCapture?: (event: MouseEvent) => void;
81
- onClick?: (event: MouseEvent) => void;
82
- onClickCapture?: (event: MouseEvent) => void;
83
- onContextMenu?: (event: MouseEvent) => void;
84
- onContextMenuCapture?: (event: MouseEvent) => void;
85
- onDoubleClick?: (event: MouseEvent) => void;
86
- onDoubleClickCapture?: (event: MouseEvent) => void;
87
- onMouseDown?: (event: MouseEvent) => void;
88
- onMouseDownCapture?: (event: MouseEvent) => void;
89
- onMouseEnter?: (event: MouseEvent) => void;
90
- onMouseEnterCapture?: (event: MouseEvent) => void;
91
- onMouseLeave?: (event: MouseEvent) => void;
92
- onMouseLeaveCapture?: (event: MouseEvent) => void;
93
- onMouseMove?: (event: MouseEvent) => void;
94
- onMouseMoveCapture?: (event: MouseEvent) => void;
95
- onMouseOut?: (event: MouseEvent) => void;
96
- onMouseOutCapture?: (event: MouseEvent) => void;
97
- onMouseOver?: (event: MouseEvent) => void;
98
- onMouseOverCapture?: (event: MouseEvent) => void;
99
- onMouseUp?: (event: MouseEvent) => void;
100
- onMouseUpCapture?: (event: MouseEvent) => void;
101
- onMouseWheel?: (event: WheelEvent) => void;
102
- onMouseWheelCapture?: (event: WheelEvent) => void;
103
- onGotPointerCapture?: (event: PointerEvent) => void;
104
- onGotPointerCaptureCapture?: (event: PointerEvent) => void;
105
- onLostPointerCapture?: (event: PointerEvent) => void;
106
- onLostPointerCaptureCapture?: (event: PointerEvent) => void;
107
- onPointerCancel?: (event: PointerEvent) => void;
108
- onPointerCancelCapture?: (event: PointerEvent) => void;
109
- onPointerDown?: (event: PointerEvent) => void;
110
- onPointerDownCapture?: (event: PointerEvent) => void;
111
- onPointerEnter?: (event: PointerEvent) => void;
112
- onPointerEnterCapture?: (event: PointerEvent) => void;
113
- onPointerLeave?: (event: PointerEvent) => void;
114
- onPointerLeaveCapture?: (event: PointerEvent) => void;
115
- onPointerMove?: (event: PointerEvent) => void;
116
- onPointerMoveCapture?: (event: PointerEvent) => void;
117
- onPointerOut?: (event: PointerEvent) => void;
118
- onPointerOutCapture?: (event: PointerEvent) => void;
119
- onPointerOver?: (event: PointerEvent) => void;
120
- onPointerOverCapture?: (event: PointerEvent) => void;
121
- onPointerUp?: (event: PointerEvent) => void;
122
- onPointerUpCapture?: (event: PointerEvent) => void;
123
- onTouchCancel?: (event: TouchEvent) => void;
124
- onTouchCancelCapture?: (event: TouchEvent) => void;
125
- onTouchEnd?: (event: TouchEvent) => void;
126
- onTouchEndCapture?: (event: TouchEvent) => void;
127
- onTouchMove?: (event: TouchEvent) => void;
128
- onTouchMoveCapture?: (event: TouchEvent) => void;
129
- onTouchStart?: (event: TouchEvent) => void;
130
- onTouchStartCapture?: (event: TouchEvent) => void;
131
- onTransitionCancel?: (event: TransitionEvent) => void;
132
- onTransitionCancelCapture?: (event: TransitionEvent) => void;
133
- onTransitionEnd?: (event: TransitionEvent) => void;
134
- onTransitionEndCapture?: (event: TransitionEvent) => void;
135
- onTransitionRun?: (event: TransitionEvent) => void;
136
- onTransitionRunCapture?: (event: TransitionEvent) => void;
137
- onTransitionStart?: (event: TransitionEvent) => void;
138
- onTransitionStartCapture?: (event: TransitionEvent) => void;
139
- onFormData?: (event: FormDataEvent) => void;
140
- onFormDataCapture?: (event: FormDataEvent) => void;
141
- onReset?: (event: Event) => void;
142
- onResetCapture?: (event: Event) => void;
143
- onSubmit?: (event: Event) => void;
144
- onSubmitCapture?: (event: Event) => void;
145
- onInvalid?: (event: Event) => void;
146
- onInvalidCapture?: (event: Event) => void;
147
- onSelect?: (event: Event) => void;
148
- onSelectCapture?: (event: Event) => void;
149
- onSelectChange?: (event: Event) => void;
150
- onSelectChangeCapture?: (event: Event) => void;
151
- onInput?: (event: InputEvent) => void;
152
- onInputCapture?: (event: InputEvent) => void;
153
- onBeforeInput?: (event: InputEvent) => void;
154
- onBeforeInputCapture?: (event: InputEvent) => void;
155
- onChange?: (event: Event) => void;
156
- onChangeCapture?: (event: Event) => void;
157
- }
158
- export interface HTMLAttributes extends JSXAttributes, EventAttributes, AnyAttributes {
159
- accesskey?: string | undefined;
160
- autocapitalize?: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters' | undefined;
161
- autofocus?: boolean | undefined;
162
- class?: string | Promise<string> | undefined;
163
- contenteditable?: boolean | 'inherit' | 'plaintext-only' | undefined;
164
- contextmenu?: string | undefined;
165
- dir?: string | undefined;
166
- draggable?: 'true' | 'false' | boolean | undefined;
167
- enterkeyhint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | undefined;
168
- hidden?: boolean | undefined;
169
- id?: string | undefined;
170
- inert?: boolean | undefined;
171
- inputmode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search' | undefined;
172
- is?: string | undefined;
173
- itemid?: string | undefined;
174
- itemprop?: string | undefined;
175
- itemref?: string | undefined;
176
- itemscope?: boolean | undefined;
177
- itemtype?: string | undefined;
178
- lang?: string | undefined;
179
- nonce?: string | undefined;
180
- placeholder?: string | undefined;
181
- /** @see https://developer.mozilla.org/en-US/docs/Web/API/Popover_API */
182
- popover?: boolean | 'auto' | 'manual' | undefined;
183
- slot?: string | undefined;
184
- spellcheck?: boolean | undefined;
185
- style?: CSSProperties | string | undefined;
186
- tabindex?: number | undefined;
187
- title?: string | undefined;
188
- translate?: 'yes' | 'no' | undefined;
189
- itemProp?: string | undefined;
190
- }
191
- type HTMLAttributeReferrerPolicy = '' | 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url';
192
- type HTMLAttributeAnchorTarget = StringLiteralUnion<'_self' | '_blank' | '_parent' | '_top'>;
193
- interface AnchorHTMLAttributes extends HTMLAttributes {
194
- download?: string | boolean | undefined;
195
- href?: string | undefined;
196
- hreflang?: string | undefined;
197
- media?: string | undefined;
198
- ping?: string | undefined;
199
- target?: HTMLAttributeAnchorTarget | undefined;
200
- type?: StringLiteralUnion<BaseMime> | undefined;
201
- referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
202
- }
203
- interface AudioHTMLAttributes extends MediaHTMLAttributes {
204
- }
205
- interface AreaHTMLAttributes extends HTMLAttributes {
206
- alt?: string | undefined;
207
- coords?: string | undefined;
208
- download?: string | boolean | undefined;
209
- href?: string | undefined;
210
- hreflang?: string | undefined;
211
- media?: string | undefined;
212
- referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
213
- shape?: string | undefined;
214
- target?: HTMLAttributeAnchorTarget | undefined;
215
- }
216
- interface BaseHTMLAttributes extends HTMLAttributes {
217
- href?: string | undefined;
218
- target?: HTMLAttributeAnchorTarget | undefined;
219
- }
220
- interface BlockquoteHTMLAttributes extends HTMLAttributes {
221
- cite?: string | undefined;
222
- }
223
- /** @see https://developer.mozilla.org/en-US/docs/Web/API/Popover_API */
224
- type HTMLAttributePopoverTargetAction = 'show' | 'hide' | 'toggle';
225
- interface ButtonHTMLAttributes extends HTMLAttributes {
226
- disabled?: boolean | undefined;
227
- form?: string | undefined;
228
- formenctype?: HTMLAttributeFormEnctype | undefined;
229
- formmethod?: HTMLAttributeFormMethod | undefined;
230
- formnovalidate?: boolean | undefined;
231
- formtarget?: HTMLAttributeAnchorTarget | undefined;
232
- name?: string | undefined;
233
- type?: 'submit' | 'reset' | 'button' | undefined;
234
- value?: string | ReadonlyArray<string> | number | undefined;
235
- popovertarget?: string | undefined;
236
- popovertargetaction?: HTMLAttributePopoverTargetAction | undefined;
237
- formAction?: string | Function | undefined;
238
- }
239
- interface CanvasHTMLAttributes extends HTMLAttributes {
240
- height?: number | string | undefined;
241
- width?: number | string | undefined;
242
- }
243
- interface ColHTMLAttributes extends HTMLAttributes {
244
- span?: number | undefined;
245
- width?: number | string | undefined;
246
- }
247
- interface ColgroupHTMLAttributes extends HTMLAttributes {
248
- span?: number | undefined;
249
- }
250
- interface DataHTMLAttributes extends HTMLAttributes {
251
- value?: string | ReadonlyArray<string> | number | undefined;
252
- }
253
- interface DetailsHTMLAttributes extends HTMLAttributes {
254
- open?: boolean | undefined;
255
- }
256
- interface DelHTMLAttributes extends HTMLAttributes {
257
- cite?: string | undefined;
258
- dateTime?: string | undefined;
259
- }
260
- interface DialogHTMLAttributes extends HTMLAttributes {
261
- open?: boolean | undefined;
262
- }
263
- interface EmbedHTMLAttributes extends HTMLAttributes {
264
- height?: number | string | undefined;
265
- src?: string | undefined;
266
- type?: StringLiteralUnion<BaseMime> | undefined;
267
- width?: number | string | undefined;
268
- }
269
- interface FieldsetHTMLAttributes extends HTMLAttributes {
270
- disabled?: boolean | undefined;
271
- form?: string | undefined;
272
- name?: string | undefined;
273
- }
274
- /** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#method */
275
- type HTMLAttributeFormMethod = 'get' | 'post' | 'dialog';
276
- /** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#enctype */
277
- type HTMLAttributeFormEnctype = 'application/x-www-form-urlencoded' | 'multipart/form-data' | 'text/plain';
278
- /** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#autocomplete */
279
- type HTMLAttributeFormAutocomplete = 'on' | 'off';
280
- interface FormHTMLAttributes extends HTMLAttributes {
281
- 'accept-charset'?: StringLiteralUnion<'utf-8'> | undefined;
282
- autocomplete?: HTMLAttributeFormAutocomplete | undefined;
283
- enctype?: HTMLAttributeFormEnctype | undefined;
284
- method?: HTMLAttributeFormMethod | undefined;
285
- name?: string | undefined;
286
- novalidate?: boolean | undefined;
287
- target?: HTMLAttributeAnchorTarget | undefined;
288
- action?: string | Function | undefined;
289
- }
290
- interface HtmlHTMLAttributes extends HTMLAttributes {
291
- manifest?: string | undefined;
292
- }
293
- interface IframeHTMLAttributes extends HTMLAttributes {
294
- allow?: string | undefined;
295
- allowfullscreen?: boolean | undefined;
296
- height?: number | string | undefined;
297
- loading?: 'eager' | 'lazy' | undefined;
298
- name?: string | undefined;
299
- referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
300
- sandbox?: string | undefined;
301
- seamless?: boolean | undefined;
302
- src?: string | undefined;
303
- srcdoc?: string | undefined;
304
- width?: number | string | undefined;
305
- }
306
- interface ImgHTMLAttributes extends HTMLAttributes {
307
- alt?: string | undefined;
308
- crossorigin?: CrossOrigin;
309
- decoding?: 'async' | 'auto' | 'sync' | undefined;
310
- height?: number | string | undefined;
311
- loading?: 'eager' | 'lazy' | undefined;
312
- referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
313
- sizes?: string | undefined;
314
- src?: string | undefined;
315
- srcset?: string | undefined;
316
- usemap?: string | undefined;
317
- width?: number | string | undefined;
318
- }
319
- interface InsHTMLAttributes extends HTMLAttributes {
320
- cite?: string | undefined;
321
- datetime?: string | undefined;
322
- }
323
- type HTMLInputTypeAttribute = StringLiteralUnion<'button' | 'checkbox' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'radio' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week'>;
324
- type AutoFillAddressKind = 'billing' | 'shipping';
325
- type AutoFillBase = '' | 'off' | 'on';
326
- type AutoFillContactField = 'email' | 'tel' | 'tel-area-code' | 'tel-country-code' | 'tel-extension' | 'tel-local' | 'tel-local-prefix' | 'tel-local-suffix' | 'tel-national';
327
- type AutoFillContactKind = 'home' | 'mobile' | 'work';
328
- type AutoFillCredentialField = 'webauthn';
329
- type AutoFillNormalField = 'additional-name' | 'address-level1' | 'address-level2' | 'address-level3' | 'address-level4' | 'address-line1' | 'address-line2' | 'address-line3' | 'bday-day' | 'bday-month' | 'bday-year' | 'cc-csc' | 'cc-exp' | 'cc-exp-month' | 'cc-exp-year' | 'cc-family-name' | 'cc-given-name' | 'cc-name' | 'cc-number' | 'cc-type' | 'country' | 'country-name' | 'current-password' | 'family-name' | 'given-name' | 'honorific-prefix' | 'honorific-suffix' | 'name' | 'new-password' | 'one-time-code' | 'organization' | 'postal-code' | 'street-address' | 'transaction-amount' | 'transaction-currency' | 'username';
330
- type OptionalPrefixToken<T extends string> = `${T} ` | '';
331
- type OptionalPostfixToken<T extends string> = ` ${T}` | '';
332
- type AutoFillField = AutoFillNormalField | `${OptionalPrefixToken<AutoFillContactKind>}${AutoFillContactField}`;
333
- type AutoFillSection = `section-${string}`;
334
- type AutoFill = AutoFillBase | `${OptionalPrefixToken<AutoFillSection>}${OptionalPrefixToken<AutoFillAddressKind>}${AutoFillField}${OptionalPostfixToken<AutoFillCredentialField>}`;
335
- interface InputHTMLAttributes extends HTMLAttributes {
336
- accept?: string | undefined;
337
- alt?: string | undefined;
338
- autocomplete?: StringLiteralUnion<AutoFill> | undefined;
339
- capture?: boolean | 'user' | 'environment' | undefined;
340
- checked?: boolean | undefined;
341
- disabled?: boolean | undefined;
342
- form?: string | undefined;
343
- formenctype?: HTMLAttributeFormEnctype | undefined;
344
- formmethod?: HTMLAttributeFormMethod | undefined;
345
- formnovalidate?: boolean | undefined;
346
- formtarget?: HTMLAttributeAnchorTarget | undefined;
347
- height?: number | string | undefined;
348
- list?: string | undefined;
349
- max?: number | string | undefined;
350
- maxlength?: number | undefined;
351
- min?: number | string | undefined;
352
- minlength?: number | undefined;
353
- multiple?: boolean | undefined;
354
- name?: string | undefined;
355
- pattern?: string | undefined;
356
- placeholder?: string | undefined;
357
- readonly?: boolean | undefined;
358
- required?: boolean | undefined;
359
- size?: number | undefined;
360
- src?: string | undefined;
361
- step?: number | string | undefined;
362
- type?: HTMLInputTypeAttribute | undefined;
363
- value?: string | ReadonlyArray<string> | number | undefined;
364
- width?: number | string | undefined;
365
- popovertarget?: string | undefined;
366
- popovertargetaction?: HTMLAttributePopoverTargetAction | undefined;
367
- formAction?: string | Function | undefined;
368
- }
369
- interface KeygenHTMLAttributes extends HTMLAttributes {
370
- challenge?: string | undefined;
371
- disabled?: boolean | undefined;
372
- form?: string | undefined;
373
- keytype?: string | undefined;
374
- name?: string | undefined;
375
- }
376
- interface LabelHTMLAttributes extends HTMLAttributes {
377
- form?: string | undefined;
378
- for?: string | undefined;
379
- }
380
- interface LiHTMLAttributes extends HTMLAttributes {
381
- value?: string | ReadonlyArray<string> | number | undefined;
382
- }
383
- interface LinkHTMLAttributes extends HTMLAttributes {
384
- as?: string | undefined;
385
- crossorigin?: CrossOrigin;
386
- href?: string | undefined;
387
- hreflang?: string | undefined;
388
- integrity?: string | undefined;
389
- media?: string | undefined;
390
- imagesrcset?: string | undefined;
391
- imagesizes?: string | undefined;
392
- referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
393
- sizes?: string | undefined;
394
- type?: StringLiteralUnion<BaseMime> | undefined;
395
- charSet?: string | undefined;
396
- rel?: string | undefined;
397
- precedence?: string | undefined;
398
- title?: string | undefined;
399
- disabled?: boolean | undefined;
400
- onError?: ((event: Event) => void) | undefined;
401
- onLoad?: ((event: Event) => void) | undefined;
402
- blocking?: 'render' | undefined;
403
- }
404
- interface MapHTMLAttributes extends HTMLAttributes {
405
- name?: string | undefined;
406
- }
407
- interface MenuHTMLAttributes extends HTMLAttributes {
408
- type?: string | undefined;
409
- }
410
- interface MediaHTMLAttributes extends HTMLAttributes {
411
- autoplay?: boolean | undefined;
412
- controls?: boolean | undefined;
413
- controlslist?: string | undefined;
414
- crossorigin?: CrossOrigin;
415
- loop?: boolean | undefined;
416
- mediagroup?: string | undefined;
417
- muted?: boolean | undefined;
418
- playsinline?: boolean | undefined;
419
- preload?: string | undefined;
420
- src?: string | undefined;
421
- }
422
- /**
423
- * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#http-equiv
424
- */
425
- type MetaHttpEquiv = 'content-security-policy' | 'content-type' | 'default-style' | 'x-ua-compatible' | 'refresh';
426
- /**
427
- * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name
428
- */
429
- type MetaName = 'application-name' | 'author' | 'description' | 'generator' | 'keywords' | 'referrer' | 'theme-color' | 'color-scheme' | 'viewport' | 'creator' | 'googlebot' | 'publisher' | 'robots';
430
- /**
431
- * @see https://ogp.me/
432
- */
433
- type MetaProperty = 'og:title' | 'og:type' | 'og:image' | 'og:url' | 'og:audio' | 'og:description' | 'og:determiner' | 'og:locale' | 'og:locale:alternate' | 'og:site_name' | 'og:video' | 'og:image:url' | 'og:image:secure_url' | 'og:image:type' | 'og:image:width' | 'og:image:height' | 'og:image:alt';
434
- interface MetaHTMLAttributes extends HTMLAttributes {
435
- charset?: StringLiteralUnion<'utf-8'> | undefined;
436
- 'http-equiv'?: StringLiteralUnion<MetaHttpEquiv> | undefined;
437
- name?: StringLiteralUnion<MetaName> | undefined;
438
- media?: string | undefined;
439
- content?: string | undefined;
440
- property?: StringLiteralUnion<MetaProperty> | undefined;
441
- httpEquiv?: StringLiteralUnion<MetaHttpEquiv> | undefined;
442
- }
443
- interface MeterHTMLAttributes extends HTMLAttributes {
444
- form?: string | undefined;
445
- high?: number | undefined;
446
- low?: number | undefined;
447
- max?: number | string | undefined;
448
- min?: number | string | undefined;
449
- optimum?: number | undefined;
450
- value?: string | ReadonlyArray<string> | number | undefined;
451
- }
452
- interface QuoteHTMLAttributes extends HTMLAttributes {
453
- cite?: string | undefined;
454
- }
455
- interface ObjectHTMLAttributes extends HTMLAttributes {
456
- data?: string | undefined;
457
- form?: string | undefined;
458
- height?: number | string | undefined;
459
- name?: string | undefined;
460
- type?: StringLiteralUnion<BaseMime> | undefined;
461
- usemap?: string | undefined;
462
- width?: number | string | undefined;
463
- }
464
- interface OlHTMLAttributes extends HTMLAttributes {
465
- reversed?: boolean | undefined;
466
- start?: number | undefined;
467
- type?: '1' | 'a' | 'A' | 'i' | 'I' | undefined;
468
- }
469
- interface OptgroupHTMLAttributes extends HTMLAttributes {
470
- disabled?: boolean | undefined;
471
- label?: string | undefined;
472
- }
473
- interface OptionHTMLAttributes extends HTMLAttributes {
474
- disabled?: boolean | undefined;
475
- label?: string | undefined;
476
- selected?: boolean | undefined;
477
- value?: string | ReadonlyArray<string> | number | undefined;
478
- }
479
- interface OutputHTMLAttributes extends HTMLAttributes {
480
- form?: string | undefined;
481
- for?: string | undefined;
482
- name?: string | undefined;
483
- }
484
- interface ParamHTMLAttributes extends HTMLAttributes {
485
- name?: string | undefined;
486
- value?: string | ReadonlyArray<string> | number | undefined;
487
- }
488
- interface ProgressHTMLAttributes extends HTMLAttributes {
489
- max?: number | string | undefined;
490
- value?: string | ReadonlyArray<string> | number | undefined;
491
- }
492
- interface SlotHTMLAttributes extends HTMLAttributes {
493
- name?: string | undefined;
494
- }
495
- interface ScriptHTMLAttributes extends HTMLAttributes {
496
- async?: boolean | undefined;
497
- crossorigin?: CrossOrigin;
498
- defer?: boolean | undefined;
499
- integrity?: string | undefined;
500
- nomodule?: boolean | undefined;
501
- referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
502
- src?: string | undefined;
503
- /**
504
- * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type
505
- */
506
- type?: StringLiteralUnion<'' | 'text/javascript' | 'importmap' | 'module'> | undefined;
507
- crossOrigin?: CrossOrigin;
508
- fetchPriority?: string | undefined;
509
- noModule?: boolean | undefined;
510
- referrer?: HTMLAttributeReferrerPolicy | undefined;
511
- onError?: ((event: Event) => void) | undefined;
512
- onLoad?: ((event: Event) => void) | undefined;
513
- blocking?: 'render' | undefined;
514
- }
515
- interface SelectHTMLAttributes extends HTMLAttributes {
516
- autocomplete?: string | undefined;
517
- disabled?: boolean | undefined;
518
- form?: string | undefined;
519
- multiple?: boolean | undefined;
520
- name?: string | undefined;
521
- required?: boolean | undefined;
522
- size?: number | undefined;
523
- value?: string | ReadonlyArray<string> | number | undefined;
524
- }
525
- type MediaMime = BaseMime & (`image/${string}` | `audio/${string}` | `video/${string}`);
526
- interface SourceHTMLAttributes extends HTMLAttributes {
527
- height?: number | string | undefined;
528
- media?: string | undefined;
529
- sizes?: string | undefined;
530
- src?: string | undefined;
531
- srcset?: string | undefined;
532
- type?: StringLiteralUnion<MediaMime> | undefined;
533
- width?: number | string | undefined;
534
- }
535
- interface StyleHTMLAttributes extends HTMLAttributes {
536
- media?: string | undefined;
537
- scoped?: boolean | undefined;
538
- /**
539
- * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style#type
540
- */
541
- type?: '' | 'text/css' | undefined;
542
- href?: string | undefined;
543
- precedence?: string | undefined;
544
- title?: string | undefined;
545
- disabled?: boolean | undefined;
546
- blocking?: 'render' | undefined;
547
- }
548
- interface TableHTMLAttributes extends HTMLAttributes {
549
- align?: 'left' | 'center' | 'right' | undefined;
550
- bgcolor?: string | undefined;
551
- border?: number | undefined;
552
- cellpadding?: number | string | undefined;
553
- cellspacing?: number | string | undefined;
554
- frame?: boolean | undefined;
555
- rules?: 'none' | 'groups' | 'rows' | 'columns' | 'all' | undefined;
556
- summary?: string | undefined;
557
- width?: number | string | undefined;
558
- }
559
- interface TextareaHTMLAttributes extends HTMLAttributes {
560
- autocomplete?: string | undefined;
561
- cols?: number | undefined;
562
- dirname?: string | undefined;
563
- disabled?: boolean | undefined;
564
- form?: string | undefined;
565
- maxlength?: number | undefined;
566
- minlength?: number | undefined;
567
- name?: string | undefined;
568
- placeholder?: string | undefined;
569
- readonly?: boolean | undefined;
570
- required?: boolean | undefined;
571
- rows?: number | undefined;
572
- value?: string | ReadonlyArray<string> | number | undefined;
573
- wrap?: string | undefined;
574
- }
575
- interface TdHTMLAttributes extends HTMLAttributes {
576
- align?: 'left' | 'center' | 'right' | 'justify' | 'char' | undefined;
577
- colspan?: number | undefined;
578
- headers?: string | undefined;
579
- rowspan?: number | undefined;
580
- scope?: string | undefined;
581
- abbr?: string | undefined;
582
- height?: number | string | undefined;
583
- width?: number | string | undefined;
584
- valign?: 'top' | 'middle' | 'bottom' | 'baseline' | undefined;
585
- }
586
- interface ThHTMLAttributes extends HTMLAttributes {
587
- align?: 'left' | 'center' | 'right' | 'justify' | 'char' | undefined;
588
- colspan?: number | undefined;
589
- headers?: string | undefined;
590
- rowspan?: number | undefined;
591
- scope?: 'row' | 'col' | 'rowgroup' | 'colgroup' | string | undefined;
592
- abbr?: string | undefined;
593
- }
594
- interface TimeHTMLAttributes extends HTMLAttributes {
595
- datetime?: string | undefined;
596
- }
597
- interface TrackHTMLAttributes extends HTMLAttributes {
598
- default?: boolean | undefined;
599
- kind?: string | undefined;
600
- label?: string | undefined;
601
- src?: string | undefined;
602
- srclang?: string | undefined;
603
- }
604
- interface VideoHTMLAttributes extends MediaHTMLAttributes {
605
- height?: number | string | undefined;
606
- playsinline?: boolean | undefined;
607
- poster?: string | undefined;
608
- width?: number | string | undefined;
609
- disablePictureInPicture?: boolean | undefined;
610
- disableRemotePlayback?: boolean | undefined;
611
- }
612
- export interface IntrinsicElements {
613
- a: AnchorHTMLAttributes;
614
- abbr: HTMLAttributes;
615
- address: HTMLAttributes;
616
- area: AreaHTMLAttributes;
617
- article: HTMLAttributes;
618
- aside: HTMLAttributes;
619
- audio: AudioHTMLAttributes;
620
- b: HTMLAttributes;
621
- base: BaseHTMLAttributes;
622
- bdi: HTMLAttributes;
623
- bdo: HTMLAttributes;
624
- big: HTMLAttributes;
625
- blockquote: BlockquoteHTMLAttributes;
626
- body: HTMLAttributes;
627
- br: HTMLAttributes;
628
- button: ButtonHTMLAttributes;
629
- canvas: CanvasHTMLAttributes;
630
- caption: HTMLAttributes;
631
- center: HTMLAttributes;
632
- cite: HTMLAttributes;
633
- code: HTMLAttributes;
634
- col: ColHTMLAttributes;
635
- colgroup: ColgroupHTMLAttributes;
636
- data: DataHTMLAttributes;
637
- datalist: HTMLAttributes;
638
- dd: HTMLAttributes;
639
- del: DelHTMLAttributes;
640
- details: DetailsHTMLAttributes;
641
- dfn: HTMLAttributes;
642
- dialog: DialogHTMLAttributes;
643
- div: HTMLAttributes;
644
- dl: HTMLAttributes;
645
- dt: HTMLAttributes;
646
- em: HTMLAttributes;
647
- embed: EmbedHTMLAttributes;
648
- fieldset: FieldsetHTMLAttributes;
649
- figcaption: HTMLAttributes;
650
- figure: HTMLAttributes;
651
- footer: HTMLAttributes;
652
- form: FormHTMLAttributes;
653
- h1: HTMLAttributes;
654
- h2: HTMLAttributes;
655
- h3: HTMLAttributes;
656
- h4: HTMLAttributes;
657
- h5: HTMLAttributes;
658
- h6: HTMLAttributes;
659
- head: HTMLAttributes;
660
- header: HTMLAttributes;
661
- hgroup: HTMLAttributes;
662
- hr: HTMLAttributes;
663
- html: HtmlHTMLAttributes;
664
- i: HTMLAttributes;
665
- iframe: IframeHTMLAttributes;
666
- img: ImgHTMLAttributes;
667
- input: InputHTMLAttributes;
668
- ins: InsHTMLAttributes;
669
- kbd: HTMLAttributes;
670
- keygen: KeygenHTMLAttributes;
671
- label: LabelHTMLAttributes;
672
- legend: HTMLAttributes;
673
- li: LiHTMLAttributes;
674
- link: LinkHTMLAttributes;
675
- main: HTMLAttributes;
676
- map: MapHTMLAttributes;
677
- mark: HTMLAttributes;
678
- menu: MenuHTMLAttributes;
679
- menuitem: HTMLAttributes;
680
- meta: MetaHTMLAttributes;
681
- meter: MeterHTMLAttributes;
682
- nav: HTMLAttributes;
683
- noscript: HTMLAttributes;
684
- object: ObjectHTMLAttributes;
685
- ol: OlHTMLAttributes;
686
- optgroup: OptgroupHTMLAttributes;
687
- option: OptionHTMLAttributes;
688
- output: OutputHTMLAttributes;
689
- p: HTMLAttributes;
690
- param: ParamHTMLAttributes;
691
- picture: HTMLAttributes;
692
- pre: HTMLAttributes;
693
- progress: ProgressHTMLAttributes;
694
- q: QuoteHTMLAttributes;
695
- rp: HTMLAttributes;
696
- rt: HTMLAttributes;
697
- ruby: HTMLAttributes;
698
- s: HTMLAttributes;
699
- samp: HTMLAttributes;
700
- search: HTMLAttributes;
701
- slot: SlotHTMLAttributes;
702
- script: ScriptHTMLAttributes;
703
- section: HTMLAttributes;
704
- select: SelectHTMLAttributes;
705
- small: HTMLAttributes;
706
- source: SourceHTMLAttributes;
707
- span: HTMLAttributes;
708
- strong: HTMLAttributes;
709
- style: StyleHTMLAttributes;
710
- sub: HTMLAttributes;
711
- summary: HTMLAttributes;
712
- sup: HTMLAttributes;
713
- table: TableHTMLAttributes;
714
- template: HTMLAttributes;
715
- tbody: HTMLAttributes;
716
- td: TdHTMLAttributes;
717
- textarea: TextareaHTMLAttributes;
718
- tfoot: HTMLAttributes;
719
- th: ThHTMLAttributes;
720
- thead: HTMLAttributes;
721
- time: TimeHTMLAttributes;
722
- title: HTMLAttributes;
723
- tr: HTMLAttributes;
724
- track: TrackHTMLAttributes;
725
- u: HTMLAttributes;
726
- ul: HTMLAttributes;
727
- var: HTMLAttributes;
728
- video: VideoHTMLAttributes;
729
- wbr: HTMLAttributes;
730
- }
731
- export {};
732
- }
733
- export interface IntrinsicElements extends JSX.IntrinsicElements {
734
- }
735
- export {};