hono 4.3.11 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -3
- package/dist/adapter/aws-lambda/handler.js +12 -9
- package/dist/adapter/bun/conninfo.js +21 -0
- package/dist/adapter/bun/index.js +2 -0
- package/dist/adapter/bun/websocket.js +1 -3
- package/dist/adapter/cloudflare-workers/conninfo.js +10 -0
- package/dist/adapter/cloudflare-workers/websocket.js +2 -6
- package/dist/adapter/deno/conninfo.js +15 -0
- package/dist/adapter/deno/index.js +2 -0
- package/dist/adapter/lambda-edge/handler.js +3 -3
- package/dist/cjs/adapter/aws-lambda/handler.js +12 -9
- package/dist/cjs/adapter/bun/conninfo.js +44 -0
- package/dist/cjs/adapter/bun/index.js +3 -0
- package/dist/cjs/adapter/cloudflare-workers/conninfo.js +33 -0
- package/dist/cjs/adapter/cloudflare-workers/websocket.js +2 -6
- package/dist/cjs/adapter/deno/conninfo.js +38 -0
- package/dist/cjs/adapter/deno/index.js +3 -0
- package/dist/cjs/adapter/lambda-edge/handler.js +3 -3
- package/dist/cjs/helper/conninfo/index.js +16 -0
- package/dist/cjs/helper/ssg/ssg.js +64 -3
- package/dist/cjs/helper/streaming/text.js +1 -1
- package/dist/cjs/hono-base.js +10 -6
- package/dist/cjs/jsx/base.js +5 -2
- package/dist/cjs/jsx/dom/client.js +68 -0
- package/dist/cjs/jsx/dom/index.js +8 -4
- package/dist/cjs/jsx/dom/jsx-dev-runtime.js +6 -20
- package/dist/cjs/jsx/dom/render.js +41 -25
- package/dist/cjs/jsx/dom/utils.js +15 -0
- package/dist/cjs/jsx/hooks/index.js +4 -1
- package/dist/cjs/jsx/index.js +8 -4
- package/dist/cjs/middleware/jwt/index.js +5 -82
- package/dist/cjs/middleware/jwt/jwt.js +111 -0
- package/dist/cjs/middleware/secure-headers/index.js +3 -123
- package/dist/cjs/middleware/secure-headers/secure-headers.js +150 -0
- package/dist/cjs/middleware/timeout/index.js +48 -0
- package/dist/cjs/middleware/timing/index.js +5 -89
- package/dist/cjs/middleware/timing/timing.js +118 -0
- package/dist/cjs/utils/body.js +34 -9
- package/dist/cjs/utils/jwt/jws.js +4 -5
- package/dist/cjs/utils/jwt/jwt.js +6 -7
- package/dist/cjs/utils/url.js +26 -2
- package/dist/helper/css/index.js +4 -4
- package/dist/helper/html/index.js +1 -1
- package/dist/helper/ssg/ssg.js +63 -5
- package/dist/helper/streaming/text.js +1 -1
- package/dist/hono-base.js +11 -7
- package/dist/jsx/base.js +3 -1
- package/dist/jsx/dom/client.js +44 -0
- package/dist/jsx/dom/css.js +4 -4
- package/dist/jsx/dom/index.js +25 -21
- package/dist/jsx/dom/jsx-dev-runtime.js +6 -20
- package/dist/jsx/dom/render.js +40 -26
- package/dist/jsx/dom/utils.js +14 -0
- package/dist/jsx/hooks/index.js +4 -2
- package/dist/jsx/index.js +22 -18
- package/dist/jsx/jsx-runtime.js +1 -1
- package/dist/middleware/jsx-renderer/index.js +1 -1
- package/dist/middleware/jwt/index.js +1 -78
- package/dist/middleware/jwt/jwt.js +85 -0
- package/dist/middleware/secure-headers/index.js +1 -121
- package/dist/middleware/secure-headers/secure-headers.js +126 -0
- package/dist/middleware/timeout/index.js +25 -0
- package/dist/middleware/timing/index.js +1 -85
- package/dist/middleware/timing/timing.js +92 -0
- package/dist/request.js +1 -1
- package/dist/router/reg-exp-router/router.js +2 -2
- package/dist/router/smart-router/router.js +1 -1
- package/dist/router/trie-router/node.js +1 -1
- package/dist/types/adapter/aws-lambda/handler.d.ts +3 -3
- package/dist/types/adapter/aws-lambda/index.d.ts +4 -0
- package/dist/types/adapter/bun/conninfo.d.ts +7 -0
- package/dist/types/adapter/bun/index.d.ts +5 -0
- package/dist/types/adapter/bun/websocket.d.ts +2 -3
- package/dist/types/adapter/cloudflare-pages/index.d.ts +4 -0
- package/dist/types/adapter/cloudflare-workers/conninfo.d.ts +2 -0
- package/dist/types/adapter/cloudflare-workers/index.d.ts +4 -0
- package/dist/types/adapter/cloudflare-workers/serve-static-module.d.ts +2 -2
- package/dist/types/adapter/cloudflare-workers/serve-static.d.ts +1 -2
- package/dist/types/adapter/cloudflare-workers/utils.d.ts +1 -2
- package/dist/types/adapter/deno/conninfo.d.ts +7 -0
- package/dist/types/adapter/deno/index.d.ts +5 -0
- package/dist/types/adapter/lambda-edge/handler.d.ts +1 -2
- package/dist/types/adapter/lambda-edge/index.d.ts +4 -0
- package/dist/types/adapter/netlify/handler.d.ts +1 -7
- package/dist/types/adapter/netlify/index.d.ts +4 -0
- package/dist/types/adapter/netlify/mod.d.ts +0 -1
- package/dist/types/adapter/vercel/index.d.ts +4 -0
- package/dist/types/client/index.d.ts +4 -0
- package/dist/types/compose.d.ts +1 -1
- package/dist/types/helper/accepts/index.d.ts +4 -0
- package/dist/types/helper/adapter/index.d.ts +4 -0
- package/dist/types/helper/conninfo/index.d.ts +40 -0
- package/dist/types/helper/cookie/index.d.ts +5 -1
- package/dist/types/helper/css/index.d.ts +4 -0
- package/dist/types/helper/dev/index.d.ts +4 -0
- package/dist/types/helper/factory/index.d.ts +4 -0
- package/dist/types/helper/html/index.d.ts +4 -0
- package/dist/types/helper/ssg/index.d.ts +4 -0
- package/dist/types/helper/ssg/ssg.d.ts +6 -3
- package/dist/types/helper/streaming/index.d.ts +4 -0
- package/dist/types/helper/testing/index.d.ts +4 -0
- package/dist/types/helper/websocket/index.d.ts +4 -0
- package/dist/types/hono-base.d.ts +15 -15
- package/dist/types/http-exception.d.ts +4 -0
- package/dist/types/index.d.ts +15 -0
- package/dist/types/jsx/base.d.ts +10 -11
- package/dist/types/jsx/components.d.ts +1 -1
- package/dist/types/jsx/context.d.ts +1 -1
- package/dist/types/jsx/dom/client.d.ts +26 -0
- package/dist/types/jsx/dom/components.d.ts +2 -2
- package/dist/types/jsx/dom/css.d.ts +31 -20
- package/dist/types/jsx/dom/index.d.ts +13 -7
- package/dist/types/jsx/dom/jsx-dev-runtime.d.ts +5 -1
- package/dist/types/jsx/dom/jsx-runtime.d.ts +4 -0
- package/dist/types/jsx/dom/render.d.ts +4 -3
- package/dist/types/jsx/dom/utils.d.ts +6 -0
- package/dist/types/jsx/hooks/index.d.ts +4 -0
- package/dist/types/jsx/index.d.ts +13 -7
- package/dist/types/jsx/intrinsic-elements.d.ts +629 -630
- package/dist/types/jsx/jsx-dev-runtime.d.ts +5 -0
- package/dist/types/jsx/jsx-runtime.d.ts +5 -0
- package/dist/types/jsx/streaming.d.ts +5 -1
- package/dist/types/jsx/types.d.ts +1 -0
- package/dist/types/middleware/basic-auth/index.d.ts +35 -0
- package/dist/types/middleware/bearer-auth/index.d.ts +33 -0
- package/dist/types/middleware/body-limit/index.d.ts +28 -11
- package/dist/types/middleware/cache/index.d.ts +29 -0
- package/dist/types/middleware/compress/index.d.ts +20 -0
- package/dist/types/middleware/cors/index.d.ts +43 -0
- package/dist/types/middleware/csrf/index.d.ts +41 -0
- package/dist/types/middleware/etag/index.d.ts +24 -0
- package/dist/types/middleware/jsx-renderer/index.d.ts +63 -2
- package/dist/types/middleware/jwt/index.d.ts +5 -17
- package/dist/types/middleware/jwt/jwt.d.ts +48 -0
- package/dist/types/middleware/logger/index.d.ts +20 -0
- package/dist/types/middleware/method-override/index.d.ts +22 -10
- package/dist/types/middleware/powered-by/index.d.ts +4 -0
- package/dist/types/middleware/pretty-json/index.d.ts +23 -0
- package/dist/types/middleware/secure-headers/index.d.ts +6 -64
- package/dist/types/middleware/secure-headers/secure-headers.d.ts +97 -0
- package/dist/types/middleware/serve-static/index.d.ts +4 -0
- package/dist/types/middleware/timeout/index.d.ts +31 -0
- package/dist/types/middleware/timing/index.d.ts +5 -29
- package/dist/types/middleware/timing/timing.d.ts +111 -0
- package/dist/types/middleware/trailing-slash/index.d.ts +29 -5
- package/dist/types/preset/quick.d.ts +4 -0
- package/dist/types/preset/tiny.d.ts +4 -0
- package/dist/types/request.d.ts +5 -4
- package/dist/types/router/linear-router/index.d.ts +4 -0
- package/dist/types/router/linear-router/router.d.ts +1 -1
- package/dist/types/router/pattern-router/index.d.ts +4 -0
- package/dist/types/router/reg-exp-router/index.d.ts +4 -0
- package/dist/types/router/reg-exp-router/router.d.ts +1 -1
- package/dist/types/router/reg-exp-router/trie.d.ts +1 -1
- package/dist/types/router/smart-router/index.d.ts +4 -0
- package/dist/types/router/smart-router/router.d.ts +1 -1
- package/dist/types/router/trie-router/index.d.ts +4 -0
- package/dist/types/router.d.ts +4 -0
- package/dist/types/types.d.ts +4 -0
- package/dist/types/utils/body.d.ts +61 -3
- package/dist/types/utils/buffer.d.ts +4 -0
- package/dist/types/utils/color.d.ts +4 -0
- package/dist/types/utils/concurrent.d.ts +4 -0
- package/dist/types/utils/cookie.d.ts +4 -0
- package/dist/types/utils/crypto.d.ts +4 -0
- package/dist/types/utils/encode.d.ts +4 -0
- package/dist/types/utils/filepath.d.ts +4 -0
- package/dist/types/utils/handler.d.ts +4 -0
- package/dist/types/utils/html.d.ts +4 -0
- package/dist/types/utils/http-status.d.ts +4 -0
- package/dist/types/utils/jwt/index.d.ts +4 -0
- package/dist/types/utils/jwt/jwt.d.ts +3 -3
- package/dist/types/utils/mime.d.ts +4 -0
- package/dist/types/utils/stream.d.ts +4 -0
- package/dist/types/utils/types.d.ts +4 -0
- package/dist/types/utils/url.d.ts +4 -0
- package/dist/types/validator/index.d.ts +4 -0
- package/dist/types/validator/validator.d.ts +1 -1
- package/dist/utils/body.js +34 -9
- package/dist/utils/jwt/index.js +1 -1
- package/dist/utils/jwt/jws.js +1 -2
- package/dist/utils/jwt/jwt.js +5 -5
- package/dist/utils/url.js +26 -2
- package/package.json +27 -6
- package/dist/cjs/adapter/aws-lambda/awslambda.d.js +0 -1
- package/dist/cjs/helper.js +0 -44
- package/dist/helper.js +0 -18
- /package/dist/{adapter/aws-lambda/awslambda.d.js → helper/conninfo/index.js} +0 -0
|
@@ -4,638 +4,637 @@
|
|
|
4
4
|
* MIT License
|
|
5
5
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
6
|
*/
|
|
7
|
-
declare
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
export declare namespace Hono {
|
|
8
|
+
export type CrossOrigin = 'anonymous' | 'use-credentials' | '' | undefined;
|
|
9
|
+
export type CSSProperties = {};
|
|
10
|
+
type AnyAttributes = {
|
|
11
|
+
[attributeName: string]: any;
|
|
12
|
+
};
|
|
13
|
+
interface JSXAttributes {
|
|
14
|
+
dangerouslySetInnerHTML?: {
|
|
15
|
+
__html: string;
|
|
13
16
|
};
|
|
14
|
-
interface JSXAttributes {
|
|
15
|
-
dangerouslySetInnerHTML?: {
|
|
16
|
-
__html: string;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
interface EventAttributes {
|
|
20
|
-
onScroll?: (event: Event) => void;
|
|
21
|
-
onScrollCapture?: (event: Event) => void;
|
|
22
|
-
onScrollEnd?: (event: Event) => void;
|
|
23
|
-
onScrollEndCapture?: (event: Event) => void;
|
|
24
|
-
onWheel?: (event: WheelEvent) => void;
|
|
25
|
-
onWheelCapture?: (event: WheelEvent) => void;
|
|
26
|
-
onAnimationCancel?: (event: AnimationEvent) => void;
|
|
27
|
-
onAnimationCancelCapture?: (event: AnimationEvent) => void;
|
|
28
|
-
onAnimationEnd?: (event: AnimationEvent) => void;
|
|
29
|
-
onAnimationEndCapture?: (event: AnimationEvent) => void;
|
|
30
|
-
onAnimationIteration?: (event: AnimationEvent) => void;
|
|
31
|
-
onAnimationIterationCapture?: (event: AnimationEvent) => void;
|
|
32
|
-
onAnimationStart?: (event: AnimationEvent) => void;
|
|
33
|
-
onAnimationStartCapture?: (event: AnimationEvent) => void;
|
|
34
|
-
onCopy?: (event: ClipboardEvent) => void;
|
|
35
|
-
onCopyCapture?: (event: ClipboardEvent) => void;
|
|
36
|
-
onCut?: (event: ClipboardEvent) => void;
|
|
37
|
-
onCutCapture?: (event: ClipboardEvent) => void;
|
|
38
|
-
onPaste?: (event: ClipboardEvent) => void;
|
|
39
|
-
onPasteCapture?: (event: ClipboardEvent) => void;
|
|
40
|
-
onCompositionEnd?: (event: CompositionEvent) => void;
|
|
41
|
-
onCompositionEndCapture?: (event: CompositionEvent) => void;
|
|
42
|
-
onCompositionStart?: (event: CompositionEvent) => void;
|
|
43
|
-
onCompositionStartCapture?: (event: CompositionEvent) => void;
|
|
44
|
-
onCompositionUpdate?: (event: CompositionEvent) => void;
|
|
45
|
-
onCompositionUpdateCapture?: (event: CompositionEvent) => void;
|
|
46
|
-
onBlur?: (event: FocusEvent) => void;
|
|
47
|
-
onBlurCapture?: (event: FocusEvent) => void;
|
|
48
|
-
onFocus?: (event: FocusEvent) => void;
|
|
49
|
-
onFocusCapture?: (event: FocusEvent) => void;
|
|
50
|
-
onFocusIn?: (event: FocusEvent) => void;
|
|
51
|
-
onFocusInCapture?: (event: FocusEvent) => void;
|
|
52
|
-
onFocusOut?: (event: FocusEvent) => void;
|
|
53
|
-
onFocusOutCapture?: (event: FocusEvent) => void;
|
|
54
|
-
onFullscreenChange?: (event: Event) => void;
|
|
55
|
-
onFullscreenChangeCapture?: (event: Event) => void;
|
|
56
|
-
onFullscreenError?: (event: Event) => void;
|
|
57
|
-
onFullscreenErrorCapture?: (event: Event) => void;
|
|
58
|
-
onKeyDown?: (event: KeyboardEvent) => void;
|
|
59
|
-
onKeyDownCapture?: (event: KeyboardEvent) => void;
|
|
60
|
-
onKeyPress?: (event: KeyboardEvent) => void;
|
|
61
|
-
onKeyPressCapture?: (event: KeyboardEvent) => void;
|
|
62
|
-
onKeyUp?: (event: KeyboardEvent) => void;
|
|
63
|
-
onKeyUpCapture?: (event: KeyboardEvent) => void;
|
|
64
|
-
onAuxClick?: (event: MouseEvent) => void;
|
|
65
|
-
onAuxClickCapture?: (event: MouseEvent) => void;
|
|
66
|
-
onClick?: (event: MouseEvent) => void;
|
|
67
|
-
onClickCapture?: (event: MouseEvent) => void;
|
|
68
|
-
onContextMenu?: (event: MouseEvent) => void;
|
|
69
|
-
onContextMenuCapture?: (event: MouseEvent) => void;
|
|
70
|
-
onDoubleClick?: (event: MouseEvent) => void;
|
|
71
|
-
onDoubleClickCapture?: (event: MouseEvent) => void;
|
|
72
|
-
onMouseDown?: (event: MouseEvent) => void;
|
|
73
|
-
onMouseDownCapture?: (event: MouseEvent) => void;
|
|
74
|
-
onMouseEnter?: (event: MouseEvent) => void;
|
|
75
|
-
onMouseEnterCapture?: (event: MouseEvent) => void;
|
|
76
|
-
onMouseLeave?: (event: MouseEvent) => void;
|
|
77
|
-
onMouseLeaveCapture?: (event: MouseEvent) => void;
|
|
78
|
-
onMouseMove?: (event: MouseEvent) => void;
|
|
79
|
-
onMouseMoveCapture?: (event: MouseEvent) => void;
|
|
80
|
-
onMouseOut?: (event: MouseEvent) => void;
|
|
81
|
-
onMouseOutCapture?: (event: MouseEvent) => void;
|
|
82
|
-
onMouseOver?: (event: MouseEvent) => void;
|
|
83
|
-
onMouseOverCapture?: (event: MouseEvent) => void;
|
|
84
|
-
onMouseUp?: (event: MouseEvent) => void;
|
|
85
|
-
onMouseUpCapture?: (event: MouseEvent) => void;
|
|
86
|
-
onMouseWheel?: (event: WheelEvent) => void;
|
|
87
|
-
onMouseWheelCapture?: (event: WheelEvent) => void;
|
|
88
|
-
onGotPointerCapture?: (event: PointerEvent) => void;
|
|
89
|
-
onGotPointerCaptureCapture?: (event: PointerEvent) => void;
|
|
90
|
-
onLostPointerCapture?: (event: PointerEvent) => void;
|
|
91
|
-
onLostPointerCaptureCapture?: (event: PointerEvent) => void;
|
|
92
|
-
onPointerCancel?: (event: PointerEvent) => void;
|
|
93
|
-
onPointerCancelCapture?: (event: PointerEvent) => void;
|
|
94
|
-
onPointerDown?: (event: PointerEvent) => void;
|
|
95
|
-
onPointerDownCapture?: (event: PointerEvent) => void;
|
|
96
|
-
onPointerEnter?: (event: PointerEvent) => void;
|
|
97
|
-
onPointerEnterCapture?: (event: PointerEvent) => void;
|
|
98
|
-
onPointerLeave?: (event: PointerEvent) => void;
|
|
99
|
-
onPointerLeaveCapture?: (event: PointerEvent) => void;
|
|
100
|
-
onPointerMove?: (event: PointerEvent) => void;
|
|
101
|
-
onPointerMoveCapture?: (event: PointerEvent) => void;
|
|
102
|
-
onPointerOut?: (event: PointerEvent) => void;
|
|
103
|
-
onPointerOutCapture?: (event: PointerEvent) => void;
|
|
104
|
-
onPointerOver?: (event: PointerEvent) => void;
|
|
105
|
-
onPointerOverCapture?: (event: PointerEvent) => void;
|
|
106
|
-
onPointerUp?: (event: PointerEvent) => void;
|
|
107
|
-
onPointerUpCapture?: (event: PointerEvent) => void;
|
|
108
|
-
onTouchCancel?: (event: TouchEvent) => void;
|
|
109
|
-
onTouchCancelCapture?: (event: TouchEvent) => void;
|
|
110
|
-
onTouchEnd?: (event: TouchEvent) => void;
|
|
111
|
-
onTouchEndCapture?: (event: TouchEvent) => void;
|
|
112
|
-
onTouchMove?: (event: TouchEvent) => void;
|
|
113
|
-
onTouchMoveCapture?: (event: TouchEvent) => void;
|
|
114
|
-
onTouchStart?: (event: TouchEvent) => void;
|
|
115
|
-
onTouchStartCapture?: (event: TouchEvent) => void;
|
|
116
|
-
onTransitionCancel?: (event: TransitionEvent) => void;
|
|
117
|
-
onTransitionCancelCapture?: (event: TransitionEvent) => void;
|
|
118
|
-
onTransitionEnd?: (event: TransitionEvent) => void;
|
|
119
|
-
onTransitionEndCapture?: (event: TransitionEvent) => void;
|
|
120
|
-
onTransitionRun?: (event: TransitionEvent) => void;
|
|
121
|
-
onTransitionRunCapture?: (event: TransitionEvent) => void;
|
|
122
|
-
onTransitionStart?: (event: TransitionEvent) => void;
|
|
123
|
-
onTransitionStartCapture?: (event: TransitionEvent) => void;
|
|
124
|
-
onFormData?: (event: FormDataEvent) => void;
|
|
125
|
-
onFormDataCapture?: (event: FormDataEvent) => void;
|
|
126
|
-
onReset?: (event: Event) => void;
|
|
127
|
-
onResetCapture?: (event: Event) => void;
|
|
128
|
-
onSubmit?: (event: Event) => void;
|
|
129
|
-
onSubmitCapture?: (event: Event) => void;
|
|
130
|
-
onInvalid?: (event: Event) => void;
|
|
131
|
-
onInvalidCapture?: (event: Event) => void;
|
|
132
|
-
onSelect?: (event: Event) => void;
|
|
133
|
-
onSelectCapture?: (event: Event) => void;
|
|
134
|
-
onSelectChange?: (event: Event) => void;
|
|
135
|
-
onSelectChangeCapture?: (event: Event) => void;
|
|
136
|
-
onInput?: (event: InputEvent) => void;
|
|
137
|
-
onInputCapture?: (event: InputEvent) => void;
|
|
138
|
-
onBeforeInput?: (event: InputEvent) => void;
|
|
139
|
-
onBeforeInputCapture?: (event: InputEvent) => void;
|
|
140
|
-
onChange?: (event: Event) => void;
|
|
141
|
-
onChangeCapture?: (event: Event) => void;
|
|
142
|
-
}
|
|
143
|
-
interface HTMLAttributes extends JSXAttributes, EventAttributes, AnyAttributes {
|
|
144
|
-
accesskey?: string | undefined;
|
|
145
|
-
autofocus?: boolean | undefined;
|
|
146
|
-
class?: string | Promise<string> | undefined;
|
|
147
|
-
contenteditable?: boolean | 'inherit' | undefined;
|
|
148
|
-
contextmenu?: string | undefined;
|
|
149
|
-
dir?: string | undefined;
|
|
150
|
-
draggable?: boolean | undefined;
|
|
151
|
-
hidden?: boolean | undefined;
|
|
152
|
-
id?: string | undefined;
|
|
153
|
-
lang?: string | undefined;
|
|
154
|
-
nonce?: string | undefined;
|
|
155
|
-
placeholder?: string | undefined;
|
|
156
|
-
slot?: string | undefined;
|
|
157
|
-
spellcheck?: boolean | undefined;
|
|
158
|
-
style?: CSSProperties | undefined;
|
|
159
|
-
tabindex?: number | undefined;
|
|
160
|
-
title?: string | undefined;
|
|
161
|
-
translate?: 'yes' | 'no' | undefined;
|
|
162
|
-
}
|
|
163
|
-
type HTMLAttributeReferrerPolicy = '' | 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url';
|
|
164
|
-
type HTMLAttributeAnchorTarget = '_self' | '_blank' | '_parent' | '_top' | string;
|
|
165
|
-
interface AnchorHTMLAttributes extends HTMLAttributes {
|
|
166
|
-
download?: any;
|
|
167
|
-
href?: string | undefined;
|
|
168
|
-
hreflang?: string | undefined;
|
|
169
|
-
media?: string | undefined;
|
|
170
|
-
ping?: string | undefined;
|
|
171
|
-
target?: HTMLAttributeAnchorTarget | undefined;
|
|
172
|
-
type?: string | undefined;
|
|
173
|
-
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
174
|
-
}
|
|
175
|
-
interface AudioHTMLAttributes extends MediaHTMLAttributes {
|
|
176
|
-
}
|
|
177
|
-
interface AreaHTMLAttributes extends HTMLAttributes {
|
|
178
|
-
alt?: string | undefined;
|
|
179
|
-
coords?: string | undefined;
|
|
180
|
-
download?: any;
|
|
181
|
-
href?: string | undefined;
|
|
182
|
-
hreflang?: string | undefined;
|
|
183
|
-
media?: string | undefined;
|
|
184
|
-
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
185
|
-
shape?: string | undefined;
|
|
186
|
-
target?: string | undefined;
|
|
187
|
-
}
|
|
188
|
-
interface BaseHTMLAttributes extends HTMLAttributes {
|
|
189
|
-
href?: string | undefined;
|
|
190
|
-
target?: string | undefined;
|
|
191
|
-
}
|
|
192
|
-
interface BlockquoteHTMLAttributes extends HTMLAttributes {
|
|
193
|
-
cite?: string | undefined;
|
|
194
|
-
}
|
|
195
|
-
interface ButtonHTMLAttributes extends HTMLAttributes {
|
|
196
|
-
disabled?: boolean | undefined;
|
|
197
|
-
form?: string | undefined;
|
|
198
|
-
formenctype?: string | undefined;
|
|
199
|
-
formmethod?: string | undefined;
|
|
200
|
-
formnovalidate?: boolean | undefined;
|
|
201
|
-
formtarget?: string | undefined;
|
|
202
|
-
name?: string | undefined;
|
|
203
|
-
type?: 'submit' | 'reset' | 'button' | undefined;
|
|
204
|
-
value?: string | ReadonlyArray<string> | number | undefined;
|
|
205
|
-
}
|
|
206
|
-
interface CanvasHTMLAttributes extends HTMLAttributes {
|
|
207
|
-
height?: number | string | undefined;
|
|
208
|
-
width?: number | string | undefined;
|
|
209
|
-
}
|
|
210
|
-
interface ColHTMLAttributes extends HTMLAttributes {
|
|
211
|
-
span?: number | undefined;
|
|
212
|
-
width?: number | string | undefined;
|
|
213
|
-
}
|
|
214
|
-
interface ColgroupHTMLAttributes extends HTMLAttributes {
|
|
215
|
-
span?: number | undefined;
|
|
216
|
-
}
|
|
217
|
-
interface DataHTMLAttributes extends HTMLAttributes {
|
|
218
|
-
value?: string | ReadonlyArray<string> | number | undefined;
|
|
219
|
-
}
|
|
220
|
-
interface DetailsHTMLAttributes extends HTMLAttributes {
|
|
221
|
-
open?: boolean | undefined;
|
|
222
|
-
}
|
|
223
|
-
interface DelHTMLAttributes extends HTMLAttributes {
|
|
224
|
-
cite?: string | undefined;
|
|
225
|
-
dateTime?: string | undefined;
|
|
226
|
-
}
|
|
227
|
-
interface DialogHTMLAttributes extends HTMLAttributes {
|
|
228
|
-
open?: boolean | undefined;
|
|
229
|
-
}
|
|
230
|
-
interface EmbedHTMLAttributes extends HTMLAttributes {
|
|
231
|
-
height?: number | string | undefined;
|
|
232
|
-
src?: string | undefined;
|
|
233
|
-
type?: string | undefined;
|
|
234
|
-
width?: number | string | undefined;
|
|
235
|
-
}
|
|
236
|
-
interface FieldsetHTMLAttributes extends HTMLAttributes {
|
|
237
|
-
disabled?: boolean | undefined;
|
|
238
|
-
form?: string | undefined;
|
|
239
|
-
name?: string | undefined;
|
|
240
|
-
}
|
|
241
|
-
interface FormHTMLAttributes extends HTMLAttributes {
|
|
242
|
-
'accept-charset'?: string | undefined;
|
|
243
|
-
autocomplete?: string | undefined;
|
|
244
|
-
enctype?: string | undefined;
|
|
245
|
-
method?: string | undefined;
|
|
246
|
-
name?: string | undefined;
|
|
247
|
-
novalidate?: boolean | undefined;
|
|
248
|
-
target?: string | undefined;
|
|
249
|
-
}
|
|
250
|
-
interface HtmlHTMLAttributes extends HTMLAttributes {
|
|
251
|
-
manifest?: string | undefined;
|
|
252
|
-
}
|
|
253
|
-
interface IframeHTMLAttributes extends HTMLAttributes {
|
|
254
|
-
allow?: string | undefined;
|
|
255
|
-
allowfullscreen?: boolean | undefined;
|
|
256
|
-
height?: number | string | undefined;
|
|
257
|
-
loading?: 'eager' | 'lazy' | undefined;
|
|
258
|
-
name?: string | undefined;
|
|
259
|
-
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
260
|
-
sandbox?: string | undefined;
|
|
261
|
-
seamless?: boolean | undefined;
|
|
262
|
-
src?: string | undefined;
|
|
263
|
-
srcdoc?: string | undefined;
|
|
264
|
-
width?: number | string | undefined;
|
|
265
|
-
}
|
|
266
|
-
interface ImgHTMLAttributes extends HTMLAttributes {
|
|
267
|
-
alt?: string | undefined;
|
|
268
|
-
crossorigin?: CrossOrigin;
|
|
269
|
-
decoding?: 'async' | 'auto' | 'sync' | undefined;
|
|
270
|
-
height?: number | string | undefined;
|
|
271
|
-
loading?: 'eager' | 'lazy' | undefined;
|
|
272
|
-
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
273
|
-
sizes?: string | undefined;
|
|
274
|
-
src?: string | undefined;
|
|
275
|
-
srcset?: string | undefined;
|
|
276
|
-
usemap?: string | undefined;
|
|
277
|
-
width?: number | string | undefined;
|
|
278
|
-
}
|
|
279
|
-
interface InsHTMLAttributes extends HTMLAttributes {
|
|
280
|
-
cite?: string | undefined;
|
|
281
|
-
datetime?: string | undefined;
|
|
282
|
-
}
|
|
283
|
-
type HTMLInputTypeAttribute = 'button' | 'checkbox' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'radio' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week' | string;
|
|
284
|
-
interface InputHTMLAttributes extends HTMLAttributes {
|
|
285
|
-
accept?: string | undefined;
|
|
286
|
-
alt?: string | undefined;
|
|
287
|
-
autocomplete?: string | undefined;
|
|
288
|
-
capture?: boolean | 'user' | 'environment' | undefined;
|
|
289
|
-
checked?: boolean | undefined;
|
|
290
|
-
disabled?: boolean | undefined;
|
|
291
|
-
enterkeyhint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | undefined;
|
|
292
|
-
form?: string | undefined;
|
|
293
|
-
formenctype?: string | undefined;
|
|
294
|
-
formmethod?: string | undefined;
|
|
295
|
-
formnovalidate?: boolean | undefined;
|
|
296
|
-
formtarget?: string | undefined;
|
|
297
|
-
height?: number | string | undefined;
|
|
298
|
-
list?: string | undefined;
|
|
299
|
-
max?: number | string | undefined;
|
|
300
|
-
maxlength?: number | undefined;
|
|
301
|
-
min?: number | string | undefined;
|
|
302
|
-
minlength?: number | undefined;
|
|
303
|
-
multiple?: boolean | undefined;
|
|
304
|
-
name?: string | undefined;
|
|
305
|
-
pattern?: string | undefined;
|
|
306
|
-
placeholder?: string | undefined;
|
|
307
|
-
readonly?: boolean | undefined;
|
|
308
|
-
required?: boolean | undefined;
|
|
309
|
-
size?: number | undefined;
|
|
310
|
-
src?: string | undefined;
|
|
311
|
-
step?: number | string | undefined;
|
|
312
|
-
type?: HTMLInputTypeAttribute | undefined;
|
|
313
|
-
value?: string | ReadonlyArray<string> | number | undefined;
|
|
314
|
-
width?: number | string | undefined;
|
|
315
|
-
}
|
|
316
|
-
interface KeygenHTMLAttributes extends HTMLAttributes {
|
|
317
|
-
challenge?: string | undefined;
|
|
318
|
-
disabled?: boolean | undefined;
|
|
319
|
-
form?: string | undefined;
|
|
320
|
-
keytype?: string | undefined;
|
|
321
|
-
name?: string | undefined;
|
|
322
|
-
}
|
|
323
|
-
interface LabelHTMLAttributes extends HTMLAttributes {
|
|
324
|
-
form?: string | undefined;
|
|
325
|
-
for?: string | undefined;
|
|
326
|
-
}
|
|
327
|
-
interface LiHTMLAttributes extends HTMLAttributes {
|
|
328
|
-
value?: string | ReadonlyArray<string> | number | undefined;
|
|
329
|
-
}
|
|
330
|
-
interface LinkHTMLAttributes extends HTMLAttributes {
|
|
331
|
-
as?: string | undefined;
|
|
332
|
-
crossorigin?: CrossOrigin;
|
|
333
|
-
href?: string | undefined;
|
|
334
|
-
hreflang?: string | undefined;
|
|
335
|
-
integrity?: string | undefined;
|
|
336
|
-
media?: string | undefined;
|
|
337
|
-
imagesrcset?: string | undefined;
|
|
338
|
-
imagesizes?: string | undefined;
|
|
339
|
-
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
340
|
-
sizes?: string | undefined;
|
|
341
|
-
type?: string | undefined;
|
|
342
|
-
charSet?: string | undefined;
|
|
343
|
-
}
|
|
344
|
-
interface MapHTMLAttributes extends HTMLAttributes {
|
|
345
|
-
name?: string | undefined;
|
|
346
|
-
}
|
|
347
|
-
interface MenuHTMLAttributes extends HTMLAttributes {
|
|
348
|
-
type?: string | undefined;
|
|
349
|
-
}
|
|
350
|
-
interface MediaHTMLAttributes extends HTMLAttributes {
|
|
351
|
-
autoplay?: boolean | undefined;
|
|
352
|
-
controls?: boolean | undefined;
|
|
353
|
-
controlslist?: string | undefined;
|
|
354
|
-
crossorigin?: CrossOrigin;
|
|
355
|
-
loop?: boolean | undefined;
|
|
356
|
-
mediagroup?: string | undefined;
|
|
357
|
-
muted?: boolean | undefined;
|
|
358
|
-
playsinline?: boolean | undefined;
|
|
359
|
-
preload?: string | undefined;
|
|
360
|
-
src?: string | undefined;
|
|
361
|
-
}
|
|
362
|
-
interface MetaHTMLAttributes extends HTMLAttributes {
|
|
363
|
-
charset?: string | undefined;
|
|
364
|
-
'http-equiv'?: string | undefined;
|
|
365
|
-
name?: string | undefined;
|
|
366
|
-
media?: string | undefined;
|
|
367
|
-
content?: string | undefined;
|
|
368
|
-
}
|
|
369
|
-
interface MeterHTMLAttributes extends HTMLAttributes {
|
|
370
|
-
form?: string | undefined;
|
|
371
|
-
high?: number | undefined;
|
|
372
|
-
low?: number | undefined;
|
|
373
|
-
max?: number | string | undefined;
|
|
374
|
-
min?: number | string | undefined;
|
|
375
|
-
optimum?: number | undefined;
|
|
376
|
-
value?: string | ReadonlyArray<string> | number | undefined;
|
|
377
|
-
}
|
|
378
|
-
interface QuoteHTMLAttributes extends HTMLAttributes {
|
|
379
|
-
cite?: string | undefined;
|
|
380
|
-
}
|
|
381
|
-
interface ObjectHTMLAttributes extends HTMLAttributes {
|
|
382
|
-
data?: string | undefined;
|
|
383
|
-
form?: string | undefined;
|
|
384
|
-
height?: number | string | undefined;
|
|
385
|
-
name?: string | undefined;
|
|
386
|
-
type?: string | undefined;
|
|
387
|
-
usemap?: string | undefined;
|
|
388
|
-
width?: number | string | undefined;
|
|
389
|
-
}
|
|
390
|
-
interface OlHTMLAttributes extends HTMLAttributes {
|
|
391
|
-
reversed?: boolean | undefined;
|
|
392
|
-
start?: number | undefined;
|
|
393
|
-
type?: '1' | 'a' | 'A' | 'i' | 'I' | undefined;
|
|
394
|
-
}
|
|
395
|
-
interface OptgroupHTMLAttributes extends HTMLAttributes {
|
|
396
|
-
disabled?: boolean | undefined;
|
|
397
|
-
label?: string | undefined;
|
|
398
|
-
}
|
|
399
|
-
interface OptionHTMLAttributes extends HTMLAttributes {
|
|
400
|
-
disabled?: boolean | undefined;
|
|
401
|
-
label?: string | undefined;
|
|
402
|
-
selected?: boolean | undefined;
|
|
403
|
-
value?: string | ReadonlyArray<string> | number | undefined;
|
|
404
|
-
}
|
|
405
|
-
interface OutputHTMLAttributes extends HTMLAttributes {
|
|
406
|
-
form?: string | undefined;
|
|
407
|
-
for?: string | undefined;
|
|
408
|
-
name?: string | undefined;
|
|
409
|
-
}
|
|
410
|
-
interface ParamHTMLAttributes extends HTMLAttributes {
|
|
411
|
-
name?: string | undefined;
|
|
412
|
-
value?: string | ReadonlyArray<string> | number | undefined;
|
|
413
|
-
}
|
|
414
|
-
interface ProgressHTMLAttributes extends HTMLAttributes {
|
|
415
|
-
max?: number | string | undefined;
|
|
416
|
-
value?: string | ReadonlyArray<string> | number | undefined;
|
|
417
|
-
}
|
|
418
|
-
interface SlotHTMLAttributes extends HTMLAttributes {
|
|
419
|
-
name?: string | undefined;
|
|
420
|
-
}
|
|
421
|
-
interface ScriptHTMLAttributes extends HTMLAttributes {
|
|
422
|
-
async?: boolean | undefined;
|
|
423
|
-
crossorigin?: CrossOrigin;
|
|
424
|
-
defer?: boolean | undefined;
|
|
425
|
-
integrity?: string | undefined;
|
|
426
|
-
nomodule?: boolean | undefined;
|
|
427
|
-
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
428
|
-
src?: string | undefined;
|
|
429
|
-
type?: string | undefined;
|
|
430
|
-
}
|
|
431
|
-
interface SelectHTMLAttributes extends HTMLAttributes {
|
|
432
|
-
autocomplete?: string | undefined;
|
|
433
|
-
disabled?: boolean | undefined;
|
|
434
|
-
form?: string | undefined;
|
|
435
|
-
multiple?: boolean | undefined;
|
|
436
|
-
name?: string | undefined;
|
|
437
|
-
required?: boolean | undefined;
|
|
438
|
-
size?: number | undefined;
|
|
439
|
-
value?: string | ReadonlyArray<string> | number | undefined;
|
|
440
|
-
}
|
|
441
|
-
interface SourceHTMLAttributes extends HTMLAttributes {
|
|
442
|
-
height?: number | string | undefined;
|
|
443
|
-
media?: string | undefined;
|
|
444
|
-
sizes?: string | undefined;
|
|
445
|
-
src?: string | undefined;
|
|
446
|
-
srcset?: string | undefined;
|
|
447
|
-
type?: string | undefined;
|
|
448
|
-
width?: number | string | undefined;
|
|
449
|
-
}
|
|
450
|
-
interface StyleHTMLAttributes extends HTMLAttributes {
|
|
451
|
-
media?: string | undefined;
|
|
452
|
-
scoped?: boolean | undefined;
|
|
453
|
-
type?: string | undefined;
|
|
454
|
-
}
|
|
455
|
-
interface TableHTMLAttributes extends HTMLAttributes {
|
|
456
|
-
align?: 'left' | 'center' | 'right' | undefined;
|
|
457
|
-
bgcolor?: string | undefined;
|
|
458
|
-
border?: number | undefined;
|
|
459
|
-
cellpadding?: number | string | undefined;
|
|
460
|
-
cellspacing?: number | string | undefined;
|
|
461
|
-
frame?: boolean | undefined;
|
|
462
|
-
rules?: 'none' | 'groups' | 'rows' | 'columns' | 'all' | undefined;
|
|
463
|
-
summary?: string | undefined;
|
|
464
|
-
width?: number | string | undefined;
|
|
465
|
-
}
|
|
466
|
-
interface TextareaHTMLAttributes extends HTMLAttributes {
|
|
467
|
-
autocomplete?: string | undefined;
|
|
468
|
-
cols?: number | undefined;
|
|
469
|
-
dirname?: string | undefined;
|
|
470
|
-
disabled?: boolean | undefined;
|
|
471
|
-
form?: string | undefined;
|
|
472
|
-
maxlength?: number | undefined;
|
|
473
|
-
minlength?: number | undefined;
|
|
474
|
-
name?: string | undefined;
|
|
475
|
-
placeholder?: string | undefined;
|
|
476
|
-
readonly?: boolean | undefined;
|
|
477
|
-
required?: boolean | undefined;
|
|
478
|
-
rows?: number | undefined;
|
|
479
|
-
value?: string | ReadonlyArray<string> | number | undefined;
|
|
480
|
-
wrap?: string | undefined;
|
|
481
|
-
}
|
|
482
|
-
interface TdHTMLAttributes extends HTMLAttributes {
|
|
483
|
-
align?: 'left' | 'center' | 'right' | 'justify' | 'char' | undefined;
|
|
484
|
-
colspan?: number | undefined;
|
|
485
|
-
headers?: string | undefined;
|
|
486
|
-
rowspan?: number | undefined;
|
|
487
|
-
scope?: string | undefined;
|
|
488
|
-
abbr?: string | undefined;
|
|
489
|
-
height?: number | string | undefined;
|
|
490
|
-
width?: number | string | undefined;
|
|
491
|
-
valign?: 'top' | 'middle' | 'bottom' | 'baseline' | undefined;
|
|
492
|
-
}
|
|
493
|
-
interface ThHTMLAttributes extends HTMLAttributes {
|
|
494
|
-
align?: 'left' | 'center' | 'right' | 'justify' | 'char' | undefined;
|
|
495
|
-
colspan?: number | undefined;
|
|
496
|
-
headers?: string | undefined;
|
|
497
|
-
rowspan?: number | undefined;
|
|
498
|
-
scope?: string | undefined;
|
|
499
|
-
abbr?: string | undefined;
|
|
500
|
-
}
|
|
501
|
-
interface TimeHTMLAttributes extends HTMLAttributes {
|
|
502
|
-
datetime?: string | undefined;
|
|
503
|
-
}
|
|
504
|
-
interface TrackHTMLAttributes extends HTMLAttributes {
|
|
505
|
-
default?: boolean | undefined;
|
|
506
|
-
kind?: string | undefined;
|
|
507
|
-
label?: string | undefined;
|
|
508
|
-
src?: string | undefined;
|
|
509
|
-
srclang?: string | undefined;
|
|
510
|
-
}
|
|
511
|
-
interface VideoHTMLAttributes extends MediaHTMLAttributes {
|
|
512
|
-
height?: number | string | undefined;
|
|
513
|
-
playsinline?: boolean | undefined;
|
|
514
|
-
poster?: string | undefined;
|
|
515
|
-
width?: number | string | undefined;
|
|
516
|
-
disablePictureInPicture?: boolean | undefined;
|
|
517
|
-
disableRemotePlayback?: boolean | undefined;
|
|
518
|
-
}
|
|
519
|
-
interface IntrinsicElements {
|
|
520
|
-
a: AnchorHTMLAttributes;
|
|
521
|
-
abbr: HTMLAttributes;
|
|
522
|
-
address: HTMLAttributes;
|
|
523
|
-
area: AreaHTMLAttributes;
|
|
524
|
-
article: HTMLAttributes;
|
|
525
|
-
aside: HTMLAttributes;
|
|
526
|
-
audio: AudioHTMLAttributes;
|
|
527
|
-
b: HTMLAttributes;
|
|
528
|
-
base: BaseHTMLAttributes;
|
|
529
|
-
bdi: HTMLAttributes;
|
|
530
|
-
bdo: HTMLAttributes;
|
|
531
|
-
big: HTMLAttributes;
|
|
532
|
-
blockquote: BlockquoteHTMLAttributes;
|
|
533
|
-
body: HTMLAttributes;
|
|
534
|
-
br: HTMLAttributes;
|
|
535
|
-
button: ButtonHTMLAttributes;
|
|
536
|
-
canvas: CanvasHTMLAttributes;
|
|
537
|
-
caption: HTMLAttributes;
|
|
538
|
-
center: HTMLAttributes;
|
|
539
|
-
cite: HTMLAttributes;
|
|
540
|
-
code: HTMLAttributes;
|
|
541
|
-
col: ColHTMLAttributes;
|
|
542
|
-
colgroup: ColgroupHTMLAttributes;
|
|
543
|
-
data: DataHTMLAttributes;
|
|
544
|
-
datalist: HTMLAttributes;
|
|
545
|
-
dd: HTMLAttributes;
|
|
546
|
-
del: DelHTMLAttributes;
|
|
547
|
-
details: DetailsHTMLAttributes;
|
|
548
|
-
dfn: HTMLAttributes;
|
|
549
|
-
dialog: DialogHTMLAttributes;
|
|
550
|
-
div: HTMLAttributes;
|
|
551
|
-
dl: HTMLAttributes;
|
|
552
|
-
dt: HTMLAttributes;
|
|
553
|
-
em: HTMLAttributes;
|
|
554
|
-
embed: EmbedHTMLAttributes;
|
|
555
|
-
fieldset: FieldsetHTMLAttributes;
|
|
556
|
-
figcaption: HTMLAttributes;
|
|
557
|
-
figure: HTMLAttributes;
|
|
558
|
-
footer: HTMLAttributes;
|
|
559
|
-
form: FormHTMLAttributes;
|
|
560
|
-
h1: HTMLAttributes;
|
|
561
|
-
h2: HTMLAttributes;
|
|
562
|
-
h3: HTMLAttributes;
|
|
563
|
-
h4: HTMLAttributes;
|
|
564
|
-
h5: HTMLAttributes;
|
|
565
|
-
h6: HTMLAttributes;
|
|
566
|
-
head: HTMLAttributes;
|
|
567
|
-
header: HTMLAttributes;
|
|
568
|
-
hgroup: HTMLAttributes;
|
|
569
|
-
hr: HTMLAttributes;
|
|
570
|
-
html: HtmlHTMLAttributes;
|
|
571
|
-
i: HTMLAttributes;
|
|
572
|
-
iframe: IframeHTMLAttributes;
|
|
573
|
-
img: ImgHTMLAttributes;
|
|
574
|
-
input: InputHTMLAttributes;
|
|
575
|
-
ins: InsHTMLAttributes;
|
|
576
|
-
kbd: HTMLAttributes;
|
|
577
|
-
keygen: KeygenHTMLAttributes;
|
|
578
|
-
label: LabelHTMLAttributes;
|
|
579
|
-
legend: HTMLAttributes;
|
|
580
|
-
li: LiHTMLAttributes;
|
|
581
|
-
link: LinkHTMLAttributes;
|
|
582
|
-
main: HTMLAttributes;
|
|
583
|
-
map: MapHTMLAttributes;
|
|
584
|
-
mark: HTMLAttributes;
|
|
585
|
-
menu: MenuHTMLAttributes;
|
|
586
|
-
menuitem: HTMLAttributes;
|
|
587
|
-
meta: MetaHTMLAttributes;
|
|
588
|
-
meter: MeterHTMLAttributes;
|
|
589
|
-
nav: HTMLAttributes;
|
|
590
|
-
noscript: HTMLAttributes;
|
|
591
|
-
object: ObjectHTMLAttributes;
|
|
592
|
-
ol: OlHTMLAttributes;
|
|
593
|
-
optgroup: OptgroupHTMLAttributes;
|
|
594
|
-
option: OptionHTMLAttributes;
|
|
595
|
-
output: OutputHTMLAttributes;
|
|
596
|
-
p: HTMLAttributes;
|
|
597
|
-
param: ParamHTMLAttributes;
|
|
598
|
-
picture: HTMLAttributes;
|
|
599
|
-
pre: HTMLAttributes;
|
|
600
|
-
progress: ProgressHTMLAttributes;
|
|
601
|
-
q: QuoteHTMLAttributes;
|
|
602
|
-
rp: HTMLAttributes;
|
|
603
|
-
rt: HTMLAttributes;
|
|
604
|
-
ruby: HTMLAttributes;
|
|
605
|
-
s: HTMLAttributes;
|
|
606
|
-
samp: HTMLAttributes;
|
|
607
|
-
search: HTMLAttributes;
|
|
608
|
-
slot: SlotHTMLAttributes;
|
|
609
|
-
script: ScriptHTMLAttributes;
|
|
610
|
-
section: HTMLAttributes;
|
|
611
|
-
select: SelectHTMLAttributes;
|
|
612
|
-
small: HTMLAttributes;
|
|
613
|
-
source: SourceHTMLAttributes;
|
|
614
|
-
span: HTMLAttributes;
|
|
615
|
-
strong: HTMLAttributes;
|
|
616
|
-
style: StyleHTMLAttributes;
|
|
617
|
-
sub: HTMLAttributes;
|
|
618
|
-
summary: HTMLAttributes;
|
|
619
|
-
sup: HTMLAttributes;
|
|
620
|
-
table: TableHTMLAttributes;
|
|
621
|
-
template: HTMLAttributes;
|
|
622
|
-
tbody: HTMLAttributes;
|
|
623
|
-
td: TdHTMLAttributes;
|
|
624
|
-
textarea: TextareaHTMLAttributes;
|
|
625
|
-
tfoot: HTMLAttributes;
|
|
626
|
-
th: ThHTMLAttributes;
|
|
627
|
-
thead: HTMLAttributes;
|
|
628
|
-
time: TimeHTMLAttributes;
|
|
629
|
-
title: HTMLAttributes;
|
|
630
|
-
tr: HTMLAttributes;
|
|
631
|
-
track: TrackHTMLAttributes;
|
|
632
|
-
u: HTMLAttributes;
|
|
633
|
-
ul: HTMLAttributes;
|
|
634
|
-
var: HTMLAttributes;
|
|
635
|
-
video: VideoHTMLAttributes;
|
|
636
|
-
wbr: HTMLAttributes;
|
|
637
|
-
}
|
|
638
17
|
}
|
|
18
|
+
interface EventAttributes {
|
|
19
|
+
onScroll?: (event: Event) => void;
|
|
20
|
+
onScrollCapture?: (event: Event) => void;
|
|
21
|
+
onScrollEnd?: (event: Event) => void;
|
|
22
|
+
onScrollEndCapture?: (event: Event) => void;
|
|
23
|
+
onWheel?: (event: WheelEvent) => void;
|
|
24
|
+
onWheelCapture?: (event: WheelEvent) => void;
|
|
25
|
+
onAnimationCancel?: (event: AnimationEvent) => void;
|
|
26
|
+
onAnimationCancelCapture?: (event: AnimationEvent) => void;
|
|
27
|
+
onAnimationEnd?: (event: AnimationEvent) => void;
|
|
28
|
+
onAnimationEndCapture?: (event: AnimationEvent) => void;
|
|
29
|
+
onAnimationIteration?: (event: AnimationEvent) => void;
|
|
30
|
+
onAnimationIterationCapture?: (event: AnimationEvent) => void;
|
|
31
|
+
onAnimationStart?: (event: AnimationEvent) => void;
|
|
32
|
+
onAnimationStartCapture?: (event: AnimationEvent) => void;
|
|
33
|
+
onCopy?: (event: ClipboardEvent) => void;
|
|
34
|
+
onCopyCapture?: (event: ClipboardEvent) => void;
|
|
35
|
+
onCut?: (event: ClipboardEvent) => void;
|
|
36
|
+
onCutCapture?: (event: ClipboardEvent) => void;
|
|
37
|
+
onPaste?: (event: ClipboardEvent) => void;
|
|
38
|
+
onPasteCapture?: (event: ClipboardEvent) => void;
|
|
39
|
+
onCompositionEnd?: (event: CompositionEvent) => void;
|
|
40
|
+
onCompositionEndCapture?: (event: CompositionEvent) => void;
|
|
41
|
+
onCompositionStart?: (event: CompositionEvent) => void;
|
|
42
|
+
onCompositionStartCapture?: (event: CompositionEvent) => void;
|
|
43
|
+
onCompositionUpdate?: (event: CompositionEvent) => void;
|
|
44
|
+
onCompositionUpdateCapture?: (event: CompositionEvent) => void;
|
|
45
|
+
onBlur?: (event: FocusEvent) => void;
|
|
46
|
+
onBlurCapture?: (event: FocusEvent) => void;
|
|
47
|
+
onFocus?: (event: FocusEvent) => void;
|
|
48
|
+
onFocusCapture?: (event: FocusEvent) => void;
|
|
49
|
+
onFocusIn?: (event: FocusEvent) => void;
|
|
50
|
+
onFocusInCapture?: (event: FocusEvent) => void;
|
|
51
|
+
onFocusOut?: (event: FocusEvent) => void;
|
|
52
|
+
onFocusOutCapture?: (event: FocusEvent) => void;
|
|
53
|
+
onFullscreenChange?: (event: Event) => void;
|
|
54
|
+
onFullscreenChangeCapture?: (event: Event) => void;
|
|
55
|
+
onFullscreenError?: (event: Event) => void;
|
|
56
|
+
onFullscreenErrorCapture?: (event: Event) => void;
|
|
57
|
+
onKeyDown?: (event: KeyboardEvent) => void;
|
|
58
|
+
onKeyDownCapture?: (event: KeyboardEvent) => void;
|
|
59
|
+
onKeyPress?: (event: KeyboardEvent) => void;
|
|
60
|
+
onKeyPressCapture?: (event: KeyboardEvent) => void;
|
|
61
|
+
onKeyUp?: (event: KeyboardEvent) => void;
|
|
62
|
+
onKeyUpCapture?: (event: KeyboardEvent) => void;
|
|
63
|
+
onAuxClick?: (event: MouseEvent) => void;
|
|
64
|
+
onAuxClickCapture?: (event: MouseEvent) => void;
|
|
65
|
+
onClick?: (event: MouseEvent) => void;
|
|
66
|
+
onClickCapture?: (event: MouseEvent) => void;
|
|
67
|
+
onContextMenu?: (event: MouseEvent) => void;
|
|
68
|
+
onContextMenuCapture?: (event: MouseEvent) => void;
|
|
69
|
+
onDoubleClick?: (event: MouseEvent) => void;
|
|
70
|
+
onDoubleClickCapture?: (event: MouseEvent) => void;
|
|
71
|
+
onMouseDown?: (event: MouseEvent) => void;
|
|
72
|
+
onMouseDownCapture?: (event: MouseEvent) => void;
|
|
73
|
+
onMouseEnter?: (event: MouseEvent) => void;
|
|
74
|
+
onMouseEnterCapture?: (event: MouseEvent) => void;
|
|
75
|
+
onMouseLeave?: (event: MouseEvent) => void;
|
|
76
|
+
onMouseLeaveCapture?: (event: MouseEvent) => void;
|
|
77
|
+
onMouseMove?: (event: MouseEvent) => void;
|
|
78
|
+
onMouseMoveCapture?: (event: MouseEvent) => void;
|
|
79
|
+
onMouseOut?: (event: MouseEvent) => void;
|
|
80
|
+
onMouseOutCapture?: (event: MouseEvent) => void;
|
|
81
|
+
onMouseOver?: (event: MouseEvent) => void;
|
|
82
|
+
onMouseOverCapture?: (event: MouseEvent) => void;
|
|
83
|
+
onMouseUp?: (event: MouseEvent) => void;
|
|
84
|
+
onMouseUpCapture?: (event: MouseEvent) => void;
|
|
85
|
+
onMouseWheel?: (event: WheelEvent) => void;
|
|
86
|
+
onMouseWheelCapture?: (event: WheelEvent) => void;
|
|
87
|
+
onGotPointerCapture?: (event: PointerEvent) => void;
|
|
88
|
+
onGotPointerCaptureCapture?: (event: PointerEvent) => void;
|
|
89
|
+
onLostPointerCapture?: (event: PointerEvent) => void;
|
|
90
|
+
onLostPointerCaptureCapture?: (event: PointerEvent) => void;
|
|
91
|
+
onPointerCancel?: (event: PointerEvent) => void;
|
|
92
|
+
onPointerCancelCapture?: (event: PointerEvent) => void;
|
|
93
|
+
onPointerDown?: (event: PointerEvent) => void;
|
|
94
|
+
onPointerDownCapture?: (event: PointerEvent) => void;
|
|
95
|
+
onPointerEnter?: (event: PointerEvent) => void;
|
|
96
|
+
onPointerEnterCapture?: (event: PointerEvent) => void;
|
|
97
|
+
onPointerLeave?: (event: PointerEvent) => void;
|
|
98
|
+
onPointerLeaveCapture?: (event: PointerEvent) => void;
|
|
99
|
+
onPointerMove?: (event: PointerEvent) => void;
|
|
100
|
+
onPointerMoveCapture?: (event: PointerEvent) => void;
|
|
101
|
+
onPointerOut?: (event: PointerEvent) => void;
|
|
102
|
+
onPointerOutCapture?: (event: PointerEvent) => void;
|
|
103
|
+
onPointerOver?: (event: PointerEvent) => void;
|
|
104
|
+
onPointerOverCapture?: (event: PointerEvent) => void;
|
|
105
|
+
onPointerUp?: (event: PointerEvent) => void;
|
|
106
|
+
onPointerUpCapture?: (event: PointerEvent) => void;
|
|
107
|
+
onTouchCancel?: (event: TouchEvent) => void;
|
|
108
|
+
onTouchCancelCapture?: (event: TouchEvent) => void;
|
|
109
|
+
onTouchEnd?: (event: TouchEvent) => void;
|
|
110
|
+
onTouchEndCapture?: (event: TouchEvent) => void;
|
|
111
|
+
onTouchMove?: (event: TouchEvent) => void;
|
|
112
|
+
onTouchMoveCapture?: (event: TouchEvent) => void;
|
|
113
|
+
onTouchStart?: (event: TouchEvent) => void;
|
|
114
|
+
onTouchStartCapture?: (event: TouchEvent) => void;
|
|
115
|
+
onTransitionCancel?: (event: TransitionEvent) => void;
|
|
116
|
+
onTransitionCancelCapture?: (event: TransitionEvent) => void;
|
|
117
|
+
onTransitionEnd?: (event: TransitionEvent) => void;
|
|
118
|
+
onTransitionEndCapture?: (event: TransitionEvent) => void;
|
|
119
|
+
onTransitionRun?: (event: TransitionEvent) => void;
|
|
120
|
+
onTransitionRunCapture?: (event: TransitionEvent) => void;
|
|
121
|
+
onTransitionStart?: (event: TransitionEvent) => void;
|
|
122
|
+
onTransitionStartCapture?: (event: TransitionEvent) => void;
|
|
123
|
+
onFormData?: (event: FormDataEvent) => void;
|
|
124
|
+
onFormDataCapture?: (event: FormDataEvent) => void;
|
|
125
|
+
onReset?: (event: Event) => void;
|
|
126
|
+
onResetCapture?: (event: Event) => void;
|
|
127
|
+
onSubmit?: (event: Event) => void;
|
|
128
|
+
onSubmitCapture?: (event: Event) => void;
|
|
129
|
+
onInvalid?: (event: Event) => void;
|
|
130
|
+
onInvalidCapture?: (event: Event) => void;
|
|
131
|
+
onSelect?: (event: Event) => void;
|
|
132
|
+
onSelectCapture?: (event: Event) => void;
|
|
133
|
+
onSelectChange?: (event: Event) => void;
|
|
134
|
+
onSelectChangeCapture?: (event: Event) => void;
|
|
135
|
+
onInput?: (event: InputEvent) => void;
|
|
136
|
+
onInputCapture?: (event: InputEvent) => void;
|
|
137
|
+
onBeforeInput?: (event: InputEvent) => void;
|
|
138
|
+
onBeforeInputCapture?: (event: InputEvent) => void;
|
|
139
|
+
onChange?: (event: Event) => void;
|
|
140
|
+
onChangeCapture?: (event: Event) => void;
|
|
141
|
+
}
|
|
142
|
+
export interface HTMLAttributes extends JSXAttributes, EventAttributes, AnyAttributes {
|
|
143
|
+
accesskey?: string | undefined;
|
|
144
|
+
autofocus?: boolean | undefined;
|
|
145
|
+
class?: string | Promise<string> | undefined;
|
|
146
|
+
contenteditable?: boolean | 'inherit' | undefined;
|
|
147
|
+
contextmenu?: string | undefined;
|
|
148
|
+
dir?: string | undefined;
|
|
149
|
+
draggable?: boolean | undefined;
|
|
150
|
+
hidden?: boolean | undefined;
|
|
151
|
+
id?: string | undefined;
|
|
152
|
+
lang?: string | undefined;
|
|
153
|
+
nonce?: string | undefined;
|
|
154
|
+
placeholder?: string | undefined;
|
|
155
|
+
slot?: string | undefined;
|
|
156
|
+
spellcheck?: boolean | undefined;
|
|
157
|
+
style?: CSSProperties | undefined;
|
|
158
|
+
tabindex?: number | undefined;
|
|
159
|
+
title?: string | undefined;
|
|
160
|
+
translate?: 'yes' | 'no' | undefined;
|
|
161
|
+
}
|
|
162
|
+
type HTMLAttributeReferrerPolicy = '' | 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url';
|
|
163
|
+
type HTMLAttributeAnchorTarget = '_self' | '_blank' | '_parent' | '_top' | string;
|
|
164
|
+
interface AnchorHTMLAttributes extends HTMLAttributes {
|
|
165
|
+
download?: any;
|
|
166
|
+
href?: string | undefined;
|
|
167
|
+
hreflang?: string | undefined;
|
|
168
|
+
media?: string | undefined;
|
|
169
|
+
ping?: string | undefined;
|
|
170
|
+
target?: HTMLAttributeAnchorTarget | undefined;
|
|
171
|
+
type?: string | undefined;
|
|
172
|
+
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
173
|
+
}
|
|
174
|
+
interface AudioHTMLAttributes extends MediaHTMLAttributes {
|
|
175
|
+
}
|
|
176
|
+
interface AreaHTMLAttributes extends HTMLAttributes {
|
|
177
|
+
alt?: string | undefined;
|
|
178
|
+
coords?: string | undefined;
|
|
179
|
+
download?: any;
|
|
180
|
+
href?: string | undefined;
|
|
181
|
+
hreflang?: string | undefined;
|
|
182
|
+
media?: string | undefined;
|
|
183
|
+
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
184
|
+
shape?: string | undefined;
|
|
185
|
+
target?: string | undefined;
|
|
186
|
+
}
|
|
187
|
+
interface BaseHTMLAttributes extends HTMLAttributes {
|
|
188
|
+
href?: string | undefined;
|
|
189
|
+
target?: string | undefined;
|
|
190
|
+
}
|
|
191
|
+
interface BlockquoteHTMLAttributes extends HTMLAttributes {
|
|
192
|
+
cite?: string | undefined;
|
|
193
|
+
}
|
|
194
|
+
interface ButtonHTMLAttributes extends HTMLAttributes {
|
|
195
|
+
disabled?: boolean | undefined;
|
|
196
|
+
form?: string | undefined;
|
|
197
|
+
formenctype?: string | undefined;
|
|
198
|
+
formmethod?: string | undefined;
|
|
199
|
+
formnovalidate?: boolean | undefined;
|
|
200
|
+
formtarget?: string | undefined;
|
|
201
|
+
name?: string | undefined;
|
|
202
|
+
type?: 'submit' | 'reset' | 'button' | undefined;
|
|
203
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
204
|
+
}
|
|
205
|
+
interface CanvasHTMLAttributes extends HTMLAttributes {
|
|
206
|
+
height?: number | string | undefined;
|
|
207
|
+
width?: number | string | undefined;
|
|
208
|
+
}
|
|
209
|
+
interface ColHTMLAttributes extends HTMLAttributes {
|
|
210
|
+
span?: number | undefined;
|
|
211
|
+
width?: number | string | undefined;
|
|
212
|
+
}
|
|
213
|
+
interface ColgroupHTMLAttributes extends HTMLAttributes {
|
|
214
|
+
span?: number | undefined;
|
|
215
|
+
}
|
|
216
|
+
interface DataHTMLAttributes extends HTMLAttributes {
|
|
217
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
218
|
+
}
|
|
219
|
+
interface DetailsHTMLAttributes extends HTMLAttributes {
|
|
220
|
+
open?: boolean | undefined;
|
|
221
|
+
}
|
|
222
|
+
interface DelHTMLAttributes extends HTMLAttributes {
|
|
223
|
+
cite?: string | undefined;
|
|
224
|
+
dateTime?: string | undefined;
|
|
225
|
+
}
|
|
226
|
+
interface DialogHTMLAttributes extends HTMLAttributes {
|
|
227
|
+
open?: boolean | undefined;
|
|
228
|
+
}
|
|
229
|
+
interface EmbedHTMLAttributes extends HTMLAttributes {
|
|
230
|
+
height?: number | string | undefined;
|
|
231
|
+
src?: string | undefined;
|
|
232
|
+
type?: string | undefined;
|
|
233
|
+
width?: number | string | undefined;
|
|
234
|
+
}
|
|
235
|
+
interface FieldsetHTMLAttributes extends HTMLAttributes {
|
|
236
|
+
disabled?: boolean | undefined;
|
|
237
|
+
form?: string | undefined;
|
|
238
|
+
name?: string | undefined;
|
|
239
|
+
}
|
|
240
|
+
interface FormHTMLAttributes extends HTMLAttributes {
|
|
241
|
+
'accept-charset'?: string | undefined;
|
|
242
|
+
autocomplete?: string | undefined;
|
|
243
|
+
enctype?: string | undefined;
|
|
244
|
+
method?: string | undefined;
|
|
245
|
+
name?: string | undefined;
|
|
246
|
+
novalidate?: boolean | undefined;
|
|
247
|
+
target?: string | undefined;
|
|
248
|
+
}
|
|
249
|
+
interface HtmlHTMLAttributes extends HTMLAttributes {
|
|
250
|
+
manifest?: string | undefined;
|
|
251
|
+
}
|
|
252
|
+
interface IframeHTMLAttributes extends HTMLAttributes {
|
|
253
|
+
allow?: string | undefined;
|
|
254
|
+
allowfullscreen?: boolean | undefined;
|
|
255
|
+
height?: number | string | undefined;
|
|
256
|
+
loading?: 'eager' | 'lazy' | undefined;
|
|
257
|
+
name?: string | undefined;
|
|
258
|
+
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
259
|
+
sandbox?: string | undefined;
|
|
260
|
+
seamless?: boolean | undefined;
|
|
261
|
+
src?: string | undefined;
|
|
262
|
+
srcdoc?: string | undefined;
|
|
263
|
+
width?: number | string | undefined;
|
|
264
|
+
}
|
|
265
|
+
interface ImgHTMLAttributes extends HTMLAttributes {
|
|
266
|
+
alt?: string | undefined;
|
|
267
|
+
crossorigin?: CrossOrigin;
|
|
268
|
+
decoding?: 'async' | 'auto' | 'sync' | undefined;
|
|
269
|
+
height?: number | string | undefined;
|
|
270
|
+
loading?: 'eager' | 'lazy' | undefined;
|
|
271
|
+
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
272
|
+
sizes?: string | undefined;
|
|
273
|
+
src?: string | undefined;
|
|
274
|
+
srcset?: string | undefined;
|
|
275
|
+
usemap?: string | undefined;
|
|
276
|
+
width?: number | string | undefined;
|
|
277
|
+
}
|
|
278
|
+
interface InsHTMLAttributes extends HTMLAttributes {
|
|
279
|
+
cite?: string | undefined;
|
|
280
|
+
datetime?: string | undefined;
|
|
281
|
+
}
|
|
282
|
+
type HTMLInputTypeAttribute = 'button' | 'checkbox' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'radio' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week' | string;
|
|
283
|
+
interface InputHTMLAttributes extends HTMLAttributes {
|
|
284
|
+
accept?: string | undefined;
|
|
285
|
+
alt?: string | undefined;
|
|
286
|
+
autocomplete?: string | undefined;
|
|
287
|
+
capture?: boolean | 'user' | 'environment' | undefined;
|
|
288
|
+
checked?: boolean | undefined;
|
|
289
|
+
disabled?: boolean | undefined;
|
|
290
|
+
enterkeyhint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | undefined;
|
|
291
|
+
form?: string | undefined;
|
|
292
|
+
formenctype?: string | undefined;
|
|
293
|
+
formmethod?: string | undefined;
|
|
294
|
+
formnovalidate?: boolean | undefined;
|
|
295
|
+
formtarget?: string | undefined;
|
|
296
|
+
height?: number | string | undefined;
|
|
297
|
+
list?: string | undefined;
|
|
298
|
+
max?: number | string | undefined;
|
|
299
|
+
maxlength?: number | undefined;
|
|
300
|
+
min?: number | string | undefined;
|
|
301
|
+
minlength?: number | undefined;
|
|
302
|
+
multiple?: boolean | undefined;
|
|
303
|
+
name?: string | undefined;
|
|
304
|
+
pattern?: string | undefined;
|
|
305
|
+
placeholder?: string | undefined;
|
|
306
|
+
readonly?: boolean | undefined;
|
|
307
|
+
required?: boolean | undefined;
|
|
308
|
+
size?: number | undefined;
|
|
309
|
+
src?: string | undefined;
|
|
310
|
+
step?: number | string | undefined;
|
|
311
|
+
type?: HTMLInputTypeAttribute | undefined;
|
|
312
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
313
|
+
width?: number | string | undefined;
|
|
314
|
+
}
|
|
315
|
+
interface KeygenHTMLAttributes extends HTMLAttributes {
|
|
316
|
+
challenge?: string | undefined;
|
|
317
|
+
disabled?: boolean | undefined;
|
|
318
|
+
form?: string | undefined;
|
|
319
|
+
keytype?: string | undefined;
|
|
320
|
+
name?: string | undefined;
|
|
321
|
+
}
|
|
322
|
+
interface LabelHTMLAttributes extends HTMLAttributes {
|
|
323
|
+
form?: string | undefined;
|
|
324
|
+
for?: string | undefined;
|
|
325
|
+
}
|
|
326
|
+
interface LiHTMLAttributes extends HTMLAttributes {
|
|
327
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
328
|
+
}
|
|
329
|
+
interface LinkHTMLAttributes extends HTMLAttributes {
|
|
330
|
+
as?: string | undefined;
|
|
331
|
+
crossorigin?: CrossOrigin;
|
|
332
|
+
href?: string | undefined;
|
|
333
|
+
hreflang?: string | undefined;
|
|
334
|
+
integrity?: string | undefined;
|
|
335
|
+
media?: string | undefined;
|
|
336
|
+
imagesrcset?: string | undefined;
|
|
337
|
+
imagesizes?: string | undefined;
|
|
338
|
+
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
339
|
+
sizes?: string | undefined;
|
|
340
|
+
type?: string | undefined;
|
|
341
|
+
charSet?: string | undefined;
|
|
342
|
+
}
|
|
343
|
+
interface MapHTMLAttributes extends HTMLAttributes {
|
|
344
|
+
name?: string | undefined;
|
|
345
|
+
}
|
|
346
|
+
interface MenuHTMLAttributes extends HTMLAttributes {
|
|
347
|
+
type?: string | undefined;
|
|
348
|
+
}
|
|
349
|
+
interface MediaHTMLAttributes extends HTMLAttributes {
|
|
350
|
+
autoplay?: boolean | undefined;
|
|
351
|
+
controls?: boolean | undefined;
|
|
352
|
+
controlslist?: string | undefined;
|
|
353
|
+
crossorigin?: CrossOrigin;
|
|
354
|
+
loop?: boolean | undefined;
|
|
355
|
+
mediagroup?: string | undefined;
|
|
356
|
+
muted?: boolean | undefined;
|
|
357
|
+
playsinline?: boolean | undefined;
|
|
358
|
+
preload?: string | undefined;
|
|
359
|
+
src?: string | undefined;
|
|
360
|
+
}
|
|
361
|
+
interface MetaHTMLAttributes extends HTMLAttributes {
|
|
362
|
+
charset?: string | undefined;
|
|
363
|
+
'http-equiv'?: string | undefined;
|
|
364
|
+
name?: string | undefined;
|
|
365
|
+
media?: string | undefined;
|
|
366
|
+
content?: string | undefined;
|
|
367
|
+
}
|
|
368
|
+
interface MeterHTMLAttributes extends HTMLAttributes {
|
|
369
|
+
form?: string | undefined;
|
|
370
|
+
high?: number | undefined;
|
|
371
|
+
low?: number | undefined;
|
|
372
|
+
max?: number | string | undefined;
|
|
373
|
+
min?: number | string | undefined;
|
|
374
|
+
optimum?: number | undefined;
|
|
375
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
376
|
+
}
|
|
377
|
+
interface QuoteHTMLAttributes extends HTMLAttributes {
|
|
378
|
+
cite?: string | undefined;
|
|
379
|
+
}
|
|
380
|
+
interface ObjectHTMLAttributes extends HTMLAttributes {
|
|
381
|
+
data?: string | undefined;
|
|
382
|
+
form?: string | undefined;
|
|
383
|
+
height?: number | string | undefined;
|
|
384
|
+
name?: string | undefined;
|
|
385
|
+
type?: string | undefined;
|
|
386
|
+
usemap?: string | undefined;
|
|
387
|
+
width?: number | string | undefined;
|
|
388
|
+
}
|
|
389
|
+
interface OlHTMLAttributes extends HTMLAttributes {
|
|
390
|
+
reversed?: boolean | undefined;
|
|
391
|
+
start?: number | undefined;
|
|
392
|
+
type?: '1' | 'a' | 'A' | 'i' | 'I' | undefined;
|
|
393
|
+
}
|
|
394
|
+
interface OptgroupHTMLAttributes extends HTMLAttributes {
|
|
395
|
+
disabled?: boolean | undefined;
|
|
396
|
+
label?: string | undefined;
|
|
397
|
+
}
|
|
398
|
+
interface OptionHTMLAttributes extends HTMLAttributes {
|
|
399
|
+
disabled?: boolean | undefined;
|
|
400
|
+
label?: string | undefined;
|
|
401
|
+
selected?: boolean | undefined;
|
|
402
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
403
|
+
}
|
|
404
|
+
interface OutputHTMLAttributes extends HTMLAttributes {
|
|
405
|
+
form?: string | undefined;
|
|
406
|
+
for?: string | undefined;
|
|
407
|
+
name?: string | undefined;
|
|
408
|
+
}
|
|
409
|
+
interface ParamHTMLAttributes extends HTMLAttributes {
|
|
410
|
+
name?: string | undefined;
|
|
411
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
412
|
+
}
|
|
413
|
+
interface ProgressHTMLAttributes extends HTMLAttributes {
|
|
414
|
+
max?: number | string | undefined;
|
|
415
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
416
|
+
}
|
|
417
|
+
interface SlotHTMLAttributes extends HTMLAttributes {
|
|
418
|
+
name?: string | undefined;
|
|
419
|
+
}
|
|
420
|
+
interface ScriptHTMLAttributes extends HTMLAttributes {
|
|
421
|
+
async?: boolean | undefined;
|
|
422
|
+
crossorigin?: CrossOrigin;
|
|
423
|
+
defer?: boolean | undefined;
|
|
424
|
+
integrity?: string | undefined;
|
|
425
|
+
nomodule?: boolean | undefined;
|
|
426
|
+
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
427
|
+
src?: string | undefined;
|
|
428
|
+
type?: string | undefined;
|
|
429
|
+
}
|
|
430
|
+
interface SelectHTMLAttributes extends HTMLAttributes {
|
|
431
|
+
autocomplete?: string | undefined;
|
|
432
|
+
disabled?: boolean | undefined;
|
|
433
|
+
form?: string | undefined;
|
|
434
|
+
multiple?: boolean | undefined;
|
|
435
|
+
name?: string | undefined;
|
|
436
|
+
required?: boolean | undefined;
|
|
437
|
+
size?: number | undefined;
|
|
438
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
439
|
+
}
|
|
440
|
+
interface SourceHTMLAttributes extends HTMLAttributes {
|
|
441
|
+
height?: number | string | undefined;
|
|
442
|
+
media?: string | undefined;
|
|
443
|
+
sizes?: string | undefined;
|
|
444
|
+
src?: string | undefined;
|
|
445
|
+
srcset?: string | undefined;
|
|
446
|
+
type?: string | undefined;
|
|
447
|
+
width?: number | string | undefined;
|
|
448
|
+
}
|
|
449
|
+
interface StyleHTMLAttributes extends HTMLAttributes {
|
|
450
|
+
media?: string | undefined;
|
|
451
|
+
scoped?: boolean | undefined;
|
|
452
|
+
type?: string | undefined;
|
|
453
|
+
}
|
|
454
|
+
interface TableHTMLAttributes extends HTMLAttributes {
|
|
455
|
+
align?: 'left' | 'center' | 'right' | undefined;
|
|
456
|
+
bgcolor?: string | undefined;
|
|
457
|
+
border?: number | undefined;
|
|
458
|
+
cellpadding?: number | string | undefined;
|
|
459
|
+
cellspacing?: number | string | undefined;
|
|
460
|
+
frame?: boolean | undefined;
|
|
461
|
+
rules?: 'none' | 'groups' | 'rows' | 'columns' | 'all' | undefined;
|
|
462
|
+
summary?: string | undefined;
|
|
463
|
+
width?: number | string | undefined;
|
|
464
|
+
}
|
|
465
|
+
interface TextareaHTMLAttributes extends HTMLAttributes {
|
|
466
|
+
autocomplete?: string | undefined;
|
|
467
|
+
cols?: number | undefined;
|
|
468
|
+
dirname?: string | undefined;
|
|
469
|
+
disabled?: boolean | undefined;
|
|
470
|
+
form?: string | undefined;
|
|
471
|
+
maxlength?: number | undefined;
|
|
472
|
+
minlength?: number | undefined;
|
|
473
|
+
name?: string | undefined;
|
|
474
|
+
placeholder?: string | undefined;
|
|
475
|
+
readonly?: boolean | undefined;
|
|
476
|
+
required?: boolean | undefined;
|
|
477
|
+
rows?: number | undefined;
|
|
478
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
479
|
+
wrap?: string | undefined;
|
|
480
|
+
}
|
|
481
|
+
interface TdHTMLAttributes extends HTMLAttributes {
|
|
482
|
+
align?: 'left' | 'center' | 'right' | 'justify' | 'char' | undefined;
|
|
483
|
+
colspan?: number | undefined;
|
|
484
|
+
headers?: string | undefined;
|
|
485
|
+
rowspan?: number | undefined;
|
|
486
|
+
scope?: string | undefined;
|
|
487
|
+
abbr?: string | undefined;
|
|
488
|
+
height?: number | string | undefined;
|
|
489
|
+
width?: number | string | undefined;
|
|
490
|
+
valign?: 'top' | 'middle' | 'bottom' | 'baseline' | undefined;
|
|
491
|
+
}
|
|
492
|
+
interface ThHTMLAttributes extends HTMLAttributes {
|
|
493
|
+
align?: 'left' | 'center' | 'right' | 'justify' | 'char' | undefined;
|
|
494
|
+
colspan?: number | undefined;
|
|
495
|
+
headers?: string | undefined;
|
|
496
|
+
rowspan?: number | undefined;
|
|
497
|
+
scope?: string | undefined;
|
|
498
|
+
abbr?: string | undefined;
|
|
499
|
+
}
|
|
500
|
+
interface TimeHTMLAttributes extends HTMLAttributes {
|
|
501
|
+
datetime?: string | undefined;
|
|
502
|
+
}
|
|
503
|
+
interface TrackHTMLAttributes extends HTMLAttributes {
|
|
504
|
+
default?: boolean | undefined;
|
|
505
|
+
kind?: string | undefined;
|
|
506
|
+
label?: string | undefined;
|
|
507
|
+
src?: string | undefined;
|
|
508
|
+
srclang?: string | undefined;
|
|
509
|
+
}
|
|
510
|
+
interface VideoHTMLAttributes extends MediaHTMLAttributes {
|
|
511
|
+
height?: number | string | undefined;
|
|
512
|
+
playsinline?: boolean | undefined;
|
|
513
|
+
poster?: string | undefined;
|
|
514
|
+
width?: number | string | undefined;
|
|
515
|
+
disablePictureInPicture?: boolean | undefined;
|
|
516
|
+
disableRemotePlayback?: boolean | undefined;
|
|
517
|
+
}
|
|
518
|
+
export interface IntrinsicElements {
|
|
519
|
+
a: AnchorHTMLAttributes;
|
|
520
|
+
abbr: HTMLAttributes;
|
|
521
|
+
address: HTMLAttributes;
|
|
522
|
+
area: AreaHTMLAttributes;
|
|
523
|
+
article: HTMLAttributes;
|
|
524
|
+
aside: HTMLAttributes;
|
|
525
|
+
audio: AudioHTMLAttributes;
|
|
526
|
+
b: HTMLAttributes;
|
|
527
|
+
base: BaseHTMLAttributes;
|
|
528
|
+
bdi: HTMLAttributes;
|
|
529
|
+
bdo: HTMLAttributes;
|
|
530
|
+
big: HTMLAttributes;
|
|
531
|
+
blockquote: BlockquoteHTMLAttributes;
|
|
532
|
+
body: HTMLAttributes;
|
|
533
|
+
br: HTMLAttributes;
|
|
534
|
+
button: ButtonHTMLAttributes;
|
|
535
|
+
canvas: CanvasHTMLAttributes;
|
|
536
|
+
caption: HTMLAttributes;
|
|
537
|
+
center: HTMLAttributes;
|
|
538
|
+
cite: HTMLAttributes;
|
|
539
|
+
code: HTMLAttributes;
|
|
540
|
+
col: ColHTMLAttributes;
|
|
541
|
+
colgroup: ColgroupHTMLAttributes;
|
|
542
|
+
data: DataHTMLAttributes;
|
|
543
|
+
datalist: HTMLAttributes;
|
|
544
|
+
dd: HTMLAttributes;
|
|
545
|
+
del: DelHTMLAttributes;
|
|
546
|
+
details: DetailsHTMLAttributes;
|
|
547
|
+
dfn: HTMLAttributes;
|
|
548
|
+
dialog: DialogHTMLAttributes;
|
|
549
|
+
div: HTMLAttributes;
|
|
550
|
+
dl: HTMLAttributes;
|
|
551
|
+
dt: HTMLAttributes;
|
|
552
|
+
em: HTMLAttributes;
|
|
553
|
+
embed: EmbedHTMLAttributes;
|
|
554
|
+
fieldset: FieldsetHTMLAttributes;
|
|
555
|
+
figcaption: HTMLAttributes;
|
|
556
|
+
figure: HTMLAttributes;
|
|
557
|
+
footer: HTMLAttributes;
|
|
558
|
+
form: FormHTMLAttributes;
|
|
559
|
+
h1: HTMLAttributes;
|
|
560
|
+
h2: HTMLAttributes;
|
|
561
|
+
h3: HTMLAttributes;
|
|
562
|
+
h4: HTMLAttributes;
|
|
563
|
+
h5: HTMLAttributes;
|
|
564
|
+
h6: HTMLAttributes;
|
|
565
|
+
head: HTMLAttributes;
|
|
566
|
+
header: HTMLAttributes;
|
|
567
|
+
hgroup: HTMLAttributes;
|
|
568
|
+
hr: HTMLAttributes;
|
|
569
|
+
html: HtmlHTMLAttributes;
|
|
570
|
+
i: HTMLAttributes;
|
|
571
|
+
iframe: IframeHTMLAttributes;
|
|
572
|
+
img: ImgHTMLAttributes;
|
|
573
|
+
input: InputHTMLAttributes;
|
|
574
|
+
ins: InsHTMLAttributes;
|
|
575
|
+
kbd: HTMLAttributes;
|
|
576
|
+
keygen: KeygenHTMLAttributes;
|
|
577
|
+
label: LabelHTMLAttributes;
|
|
578
|
+
legend: HTMLAttributes;
|
|
579
|
+
li: LiHTMLAttributes;
|
|
580
|
+
link: LinkHTMLAttributes;
|
|
581
|
+
main: HTMLAttributes;
|
|
582
|
+
map: MapHTMLAttributes;
|
|
583
|
+
mark: HTMLAttributes;
|
|
584
|
+
menu: MenuHTMLAttributes;
|
|
585
|
+
menuitem: HTMLAttributes;
|
|
586
|
+
meta: MetaHTMLAttributes;
|
|
587
|
+
meter: MeterHTMLAttributes;
|
|
588
|
+
nav: HTMLAttributes;
|
|
589
|
+
noscript: HTMLAttributes;
|
|
590
|
+
object: ObjectHTMLAttributes;
|
|
591
|
+
ol: OlHTMLAttributes;
|
|
592
|
+
optgroup: OptgroupHTMLAttributes;
|
|
593
|
+
option: OptionHTMLAttributes;
|
|
594
|
+
output: OutputHTMLAttributes;
|
|
595
|
+
p: HTMLAttributes;
|
|
596
|
+
param: ParamHTMLAttributes;
|
|
597
|
+
picture: HTMLAttributes;
|
|
598
|
+
pre: HTMLAttributes;
|
|
599
|
+
progress: ProgressHTMLAttributes;
|
|
600
|
+
q: QuoteHTMLAttributes;
|
|
601
|
+
rp: HTMLAttributes;
|
|
602
|
+
rt: HTMLAttributes;
|
|
603
|
+
ruby: HTMLAttributes;
|
|
604
|
+
s: HTMLAttributes;
|
|
605
|
+
samp: HTMLAttributes;
|
|
606
|
+
search: HTMLAttributes;
|
|
607
|
+
slot: SlotHTMLAttributes;
|
|
608
|
+
script: ScriptHTMLAttributes;
|
|
609
|
+
section: HTMLAttributes;
|
|
610
|
+
select: SelectHTMLAttributes;
|
|
611
|
+
small: HTMLAttributes;
|
|
612
|
+
source: SourceHTMLAttributes;
|
|
613
|
+
span: HTMLAttributes;
|
|
614
|
+
strong: HTMLAttributes;
|
|
615
|
+
style: StyleHTMLAttributes;
|
|
616
|
+
sub: HTMLAttributes;
|
|
617
|
+
summary: HTMLAttributes;
|
|
618
|
+
sup: HTMLAttributes;
|
|
619
|
+
table: TableHTMLAttributes;
|
|
620
|
+
template: HTMLAttributes;
|
|
621
|
+
tbody: HTMLAttributes;
|
|
622
|
+
td: TdHTMLAttributes;
|
|
623
|
+
textarea: TextareaHTMLAttributes;
|
|
624
|
+
tfoot: HTMLAttributes;
|
|
625
|
+
th: ThHTMLAttributes;
|
|
626
|
+
thead: HTMLAttributes;
|
|
627
|
+
time: TimeHTMLAttributes;
|
|
628
|
+
title: HTMLAttributes;
|
|
629
|
+
tr: HTMLAttributes;
|
|
630
|
+
track: TrackHTMLAttributes;
|
|
631
|
+
u: HTMLAttributes;
|
|
632
|
+
ul: HTMLAttributes;
|
|
633
|
+
var: HTMLAttributes;
|
|
634
|
+
video: VideoHTMLAttributes;
|
|
635
|
+
wbr: HTMLAttributes;
|
|
636
|
+
}
|
|
637
|
+
export {};
|
|
639
638
|
}
|
|
640
639
|
export interface IntrinsicElements extends Hono.IntrinsicElements {
|
|
641
640
|
}
|