@vue/runtime-dom 3.6.0-beta.3 → 3.6.0-beta.5
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/dist/runtime-dom.cjs.js +1316 -1717
- package/dist/runtime-dom.cjs.prod.js +1227 -1574
- package/dist/runtime-dom.d.ts +1285 -1276
- package/dist/runtime-dom.esm-browser.js +8687 -12174
- package/dist/runtime-dom.esm-browser.prod.js +7 -6
- package/dist/runtime-dom.esm-bundler.js +1388 -1783
- package/dist/runtime-dom.global.js +9939 -13323
- package/dist/runtime-dom.global.prod.js +7 -6
- package/package.json +4 -4
package/dist/runtime-dom.d.ts
CHANGED
|
@@ -1,1450 +1,1459 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export declare const nodeOps: Omit<RendererOptions<Node, Element>, 'patchProp'>;
|
|
1
|
+
import { App, BaseTransitionProps, Component, ComponentCustomElementInterface, ComponentInjectOptions, ComponentObjectPropsOptions, ComponentOptions, ComponentOptionsBase, ComponentOptionsMixin, ComponentProvideOptions, ComponentPublicInstance, ComputedOptions, ConcreteComponent, CreateAppFunction, CreateComponentPublicInstanceWithMixins, DefineComponent, Directive, EmitsOptions, EmitsToProps, ExtractPropTypes, FunctionalComponent, MethodOptions, ObjectDirective, RenderFunction, RendererOptions, RootHydrateFunction, RootRenderFunction, SetupContext, SlotsType, VNodeRef } from "@vue/runtime-core";
|
|
2
|
+
import * as CSS from "csstype";
|
|
3
|
+
export * from "@vue/runtime-core";
|
|
6
4
|
|
|
5
|
+
//#region temp/packages/runtime-dom/src/nodeOps.d.ts
|
|
6
|
+
export declare const nodeOps: Omit<RendererOptions<Node, Element>, "patchProp">;
|
|
7
|
+
//#endregion
|
|
8
|
+
//#region temp/packages/runtime-dom/src/patchProp.d.ts
|
|
7
9
|
type DOMRendererOptions = RendererOptions<Node, Element>;
|
|
8
|
-
export declare const patchProp: DOMRendererOptions[
|
|
9
|
-
|
|
10
|
+
export declare const patchProp: DOMRendererOptions["patchProp"];
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region temp/packages/runtime-dom/src/components/Transition.d.ts
|
|
10
13
|
declare const TRANSITION = "transition";
|
|
11
14
|
declare const ANIMATION = "animation";
|
|
12
15
|
type AnimationTypes = typeof TRANSITION | typeof ANIMATION;
|
|
13
16
|
export interface TransitionProps extends BaseTransitionProps<Element> {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
17
|
+
name?: string;
|
|
18
|
+
type?: AnimationTypes;
|
|
19
|
+
css?: boolean;
|
|
20
|
+
duration?: number | {
|
|
21
|
+
enter: number;
|
|
22
|
+
leave: number;
|
|
23
|
+
};
|
|
24
|
+
enterFromClass?: string;
|
|
25
|
+
enterActiveClass?: string;
|
|
26
|
+
enterToClass?: string;
|
|
27
|
+
appearFromClass?: string;
|
|
28
|
+
appearActiveClass?: string;
|
|
29
|
+
appearToClass?: string;
|
|
30
|
+
leaveFromClass?: string;
|
|
31
|
+
leaveActiveClass?: string;
|
|
32
|
+
leaveToClass?: string;
|
|
30
33
|
}
|
|
31
34
|
/**
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
+
* DOM Transition is a higher-order-component based on the platform-agnostic
|
|
36
|
+
* base Transition component, with DOM-specific logic.
|
|
37
|
+
*/
|
|
35
38
|
export declare const Transition: FunctionalComponent<TransitionProps>;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
//#endregion
|
|
40
|
+
//#region temp/packages/runtime-dom/src/components/TransitionGroup.d.ts
|
|
41
|
+
export type TransitionGroupProps = Omit<TransitionProps, "mode"> & {
|
|
42
|
+
tag?: string;
|
|
43
|
+
moveClass?: string;
|
|
40
44
|
};
|
|
41
45
|
export declare const TransitionGroup: {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
46
|
+
new (): {
|
|
47
|
+
$props: TransitionGroupProps;
|
|
48
|
+
};
|
|
45
49
|
};
|
|
46
|
-
|
|
50
|
+
//#endregion
|
|
51
|
+
//#region temp/packages/runtime-dom/src/directives/vShow.d.ts
|
|
47
52
|
declare const vShowOriginalDisplay: unique symbol;
|
|
48
53
|
declare const vShowHidden: unique symbol;
|
|
49
54
|
interface VShowElement extends HTMLElement {
|
|
50
|
-
|
|
51
|
-
|
|
55
|
+
[vShowOriginalDisplay]?: string;
|
|
56
|
+
[vShowHidden]?: boolean;
|
|
52
57
|
}
|
|
53
58
|
export declare const vShow: ObjectDirective<VShowElement> & {
|
|
54
|
-
|
|
59
|
+
name: "show";
|
|
55
60
|
};
|
|
56
|
-
|
|
61
|
+
//#endregion
|
|
62
|
+
//#region temp/packages/runtime-dom/src/directives/vOn.d.ts
|
|
57
63
|
declare const systemModifiers: readonly ["ctrl", "shift", "alt", "meta"];
|
|
58
64
|
type SystemModifiers = (typeof systemModifiers)[number];
|
|
59
65
|
type CompatModifiers = keyof typeof keyNames;
|
|
60
66
|
type VOnModifiers = SystemModifiers | ModifierGuards | CompatModifiers;
|
|
61
|
-
type ModifierGuards =
|
|
67
|
+
type ModifierGuards = "shift" | "ctrl" | "alt" | "meta" | "left" | "right" | "stop" | "prevent" | "self" | "middle" | "exact";
|
|
62
68
|
/**
|
|
63
|
-
|
|
64
|
-
|
|
69
|
+
* @private
|
|
70
|
+
*/
|
|
65
71
|
export declare const withModifiers: <T extends (event: Event, ...args: unknown[]) => any>(fn: T & {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
72
|
+
_withMods?: {
|
|
73
|
+
[key: string]: T;
|
|
74
|
+
};
|
|
69
75
|
}, modifiers: VOnModifiers[]) => T;
|
|
70
|
-
declare const keyNames: Record<
|
|
76
|
+
declare const keyNames: Record<"esc" | "space" | "up" | "left" | "right" | "down" | "delete", string>;
|
|
71
77
|
/**
|
|
72
|
-
|
|
73
|
-
|
|
78
|
+
* @private
|
|
79
|
+
*/
|
|
74
80
|
export declare const withKeys: <T extends (event: KeyboardEvent) => any>(fn: T & {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
81
|
+
_withKeys?: {
|
|
82
|
+
[k: string]: T;
|
|
83
|
+
};
|
|
78
84
|
}, modifiers: string[]) => T;
|
|
79
85
|
type VOnDirective = Directive<any, any, VOnModifiers>;
|
|
80
|
-
|
|
86
|
+
//#endregion
|
|
87
|
+
//#region temp/packages/runtime-dom/src/directives/vModel.d.ts
|
|
81
88
|
type AssignerFn = (value: any) => void;
|
|
82
89
|
declare const assignKey: unique symbol;
|
|
83
90
|
type ModelDirective<T, Modifiers extends string = string> = ObjectDirective<T & {
|
|
84
|
-
|
|
85
|
-
|
|
91
|
+
[assignKey]: AssignerFn;
|
|
92
|
+
_assigning?: boolean;
|
|
86
93
|
}, any, Modifiers>;
|
|
87
|
-
export declare const vModelText: ModelDirective<HTMLInputElement | HTMLTextAreaElement,
|
|
94
|
+
export declare const vModelText: ModelDirective<HTMLInputElement | HTMLTextAreaElement, "trim" | "number" | "lazy">;
|
|
88
95
|
export declare const vModelCheckbox: ModelDirective<HTMLInputElement>;
|
|
89
96
|
export declare const vModelRadio: ModelDirective<HTMLInputElement>;
|
|
90
|
-
export declare const vModelSelect: ModelDirective<HTMLSelectElement,
|
|
97
|
+
export declare const vModelSelect: ModelDirective<HTMLSelectElement, "number">;
|
|
91
98
|
export declare const vModelDynamic: ObjectDirective<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>;
|
|
92
99
|
type VModelDirective = typeof vModelText | typeof vModelCheckbox | typeof vModelSelect | typeof vModelRadio | typeof vModelDynamic;
|
|
93
|
-
|
|
100
|
+
//#endregion
|
|
101
|
+
//#region temp/packages/runtime-dom/src/apiCustomElement.d.ts
|
|
94
102
|
export type VueElementConstructor<P = {}> = {
|
|
95
|
-
|
|
103
|
+
new (initialProps?: Record<string, any>): VueElement & P;
|
|
96
104
|
};
|
|
97
105
|
export interface CustomElementOptions {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
104
|
-
export declare function defineCustomElement<Props, RawBindings = object>(setup: (props: Props, ctx: SetupContext) => RawBindings | RenderFunction, options?: Pick<ComponentOptions,
|
|
105
|
-
|
|
106
|
+
styles?: string[];
|
|
107
|
+
shadowRoot?: boolean;
|
|
108
|
+
shadowRootOptions?: Omit<ShadowRootInit, "mode">;
|
|
109
|
+
nonce?: string;
|
|
110
|
+
configureApp?: (app: App) => void;
|
|
111
|
+
}
|
|
112
|
+
export declare function defineCustomElement<Props, RawBindings = object>(setup: (props: Props, ctx: SetupContext) => RawBindings | RenderFunction, options?: Pick<ComponentOptions, "name" | "inheritAttrs" | "emits"> & CustomElementOptions & {
|
|
113
|
+
props?: (keyof Props)[];
|
|
106
114
|
}): VueElementConstructor<Props>;
|
|
107
|
-
export declare function defineCustomElement<Props, RawBindings = object>(setup: (props: Props, ctx: SetupContext) => RawBindings | RenderFunction, options?: Pick<ComponentOptions,
|
|
108
|
-
|
|
115
|
+
export declare function defineCustomElement<Props, RawBindings = object>(setup: (props: Props, ctx: SetupContext) => RawBindings | RenderFunction, options?: Pick<ComponentOptions, "name" | "inheritAttrs" | "emits"> & CustomElementOptions & {
|
|
116
|
+
props?: ComponentObjectPropsOptions<Props>;
|
|
109
117
|
}): VueElementConstructor<Props>;
|
|
110
|
-
export declare function defineCustomElement<RuntimePropsOptions extends ComponentObjectPropsOptions = ComponentObjectPropsOptions, PropsKeys extends string = string, RuntimeEmitsOptions extends EmitsOptions = {}, EmitsKeys extends string = string, Data = {}, SetupBindings = {}, Computed extends ComputedOptions = {}, Methods extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, InjectOptions extends ComponentInjectOptions = {}, InjectKeys extends string = string, Slots extends SlotsType = {}, LocalComponents extends Record<string, Component> = {}, Directives extends Record<string, Directive> = {}, Exposed extends string = string, Provide extends ComponentProvideOptions = ComponentProvideOptions, InferredProps = string extends PropsKeys ? ComponentObjectPropsOptions extends RuntimePropsOptions ? {} : ExtractPropTypes<RuntimePropsOptions> : {
|
|
111
|
-
|
|
112
|
-
}
|
|
113
|
-
props?: (RuntimePropsOptions & ThisType<void>) | PropsKeys[];
|
|
114
|
-
} & ComponentOptionsBase<ResolvedProps, SetupBindings, Data, Computed, Methods, Mixin, Extends, RuntimeEmitsOptions, EmitsKeys, {}, // Defaults
|
|
115
|
-
InjectOptions, InjectKeys, Slots, LocalComponents, Directives, Exposed, Provide> & ThisType<CreateComponentPublicInstanceWithMixins<Readonly<ResolvedProps>, SetupBindings, Data, Computed, Methods, Mixin, Extends, RuntimeEmitsOptions, EmitsKeys, {}, false, InjectOptions, Slots, LocalComponents, Directives, Exposed>>, extraOptions?: CustomElementOptions): VueElementConstructor<ResolvedProps>;
|
|
118
|
+
export declare function defineCustomElement<RuntimePropsOptions extends ComponentObjectPropsOptions = ComponentObjectPropsOptions, PropsKeys extends string = string, RuntimeEmitsOptions extends EmitsOptions = {}, EmitsKeys extends string = string, Data = {}, SetupBindings = {}, Computed extends ComputedOptions = {}, Methods extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, InjectOptions extends ComponentInjectOptions = {}, InjectKeys extends string = string, Slots extends SlotsType = {}, LocalComponents extends Record<string, Component> = {}, Directives extends Record<string, Directive> = {}, Exposed extends string = string, Provide extends ComponentProvideOptions = ComponentProvideOptions, InferredProps = (string extends PropsKeys ? ComponentObjectPropsOptions extends RuntimePropsOptions ? {} : ExtractPropTypes<RuntimePropsOptions> : { [key in PropsKeys]?: any }), ResolvedProps = InferredProps & EmitsToProps<RuntimeEmitsOptions>>(options: CustomElementOptions & {
|
|
119
|
+
props?: (RuntimePropsOptions & ThisType<void>) | PropsKeys[];
|
|
120
|
+
} & ComponentOptionsBase<ResolvedProps, SetupBindings, Data, Computed, Methods, Mixin, Extends, RuntimeEmitsOptions, EmitsKeys, {}, InjectOptions, InjectKeys, Slots, LocalComponents, Directives, Exposed, Provide> & ThisType<CreateComponentPublicInstanceWithMixins<Readonly<ResolvedProps>, SetupBindings, Data, Computed, Methods, Mixin, Extends, RuntimeEmitsOptions, EmitsKeys, {}, false, InjectOptions, Slots, LocalComponents, Directives, Exposed>>, extraOptions?: CustomElementOptions): VueElementConstructor<ResolvedProps>;
|
|
116
121
|
export declare function defineCustomElement<T extends {
|
|
117
|
-
|
|
122
|
+
new (...args: any[]): ComponentPublicInstance<any>;
|
|
118
123
|
}>(options: T, extraOptions?: CustomElementOptions): VueElementConstructor<T extends DefineComponent<infer P, any, any, any> ? P : unknown>;
|
|
119
124
|
export declare const defineSSRCustomElement: typeof defineCustomElement;
|
|
120
125
|
declare const BaseClass: typeof HTMLElement;
|
|
121
126
|
type InnerComponentDef = ConcreteComponent & CustomElementOptions;
|
|
122
127
|
export declare abstract class VueElementBase<E = Element, C = Component, Def extends CustomElementOptions & {
|
|
123
|
-
|
|
128
|
+
props?: any;
|
|
124
129
|
} = InnerComponentDef> extends BaseClass implements ComponentCustomElementInterface {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
private _parseSlots;
|
|
182
|
-
/**
|
|
183
|
-
* Only called when shadowRoot is false
|
|
184
|
-
*/
|
|
185
|
-
protected _renderSlots(): void;
|
|
130
|
+
_isVueCE: boolean;
|
|
131
|
+
protected _connected: boolean;
|
|
132
|
+
protected _resolved: boolean;
|
|
133
|
+
protected _numberProps: Record<string, true> | null;
|
|
134
|
+
protected _styleChildren: WeakSet<object>;
|
|
135
|
+
protected _pendingResolve: Promise<void> | undefined;
|
|
136
|
+
protected _parent: VueElementBase | undefined;
|
|
137
|
+
protected _patching: boolean;
|
|
138
|
+
protected _dirty: boolean;
|
|
139
|
+
protected _def: Def;
|
|
140
|
+
protected _props: Record<string, any>;
|
|
141
|
+
protected _createApp: CreateAppFunction<E, C>;
|
|
142
|
+
/**
|
|
143
|
+
* dev only
|
|
144
|
+
*/
|
|
145
|
+
protected _styles?: HTMLStyleElement[];
|
|
146
|
+
/**
|
|
147
|
+
* dev only
|
|
148
|
+
*/
|
|
149
|
+
protected _childStyles?: Map<string, HTMLStyleElement[]>;
|
|
150
|
+
protected _ob?: MutationObserver | null;
|
|
151
|
+
protected _slots?: Record<string, Node[]>;
|
|
152
|
+
/**
|
|
153
|
+
* Check if this custom element needs hydration.
|
|
154
|
+
* Returns true if it has a pre-rendered declarative shadow root that
|
|
155
|
+
* needs to be hydrated.
|
|
156
|
+
*/
|
|
157
|
+
protected abstract _needsHydration(): boolean;
|
|
158
|
+
protected abstract _mount(def: Def): void;
|
|
159
|
+
protected abstract _update(): void;
|
|
160
|
+
protected abstract _unmount(): void;
|
|
161
|
+
protected abstract _updateSlotNodes(slot: Map<Node, Node[]>): void;
|
|
162
|
+
constructor(def: Def, props: Record<string, any> | undefined, createAppFn: CreateAppFunction<E, C>);
|
|
163
|
+
connectedCallback(): void;
|
|
164
|
+
disconnectedCallback(): void;
|
|
165
|
+
protected _setParent(parent?: VueElementBase | undefined): void;
|
|
166
|
+
protected _inheritParentContext(parent?: VueElementBase | undefined): void;
|
|
167
|
+
private _processMutations;
|
|
168
|
+
/**
|
|
169
|
+
* resolve inner component definition (handle possible async component)
|
|
170
|
+
*/
|
|
171
|
+
private _resolveDef;
|
|
172
|
+
private _mountComponent;
|
|
173
|
+
protected _processExposed(): void;
|
|
174
|
+
protected _processInstance(): void;
|
|
175
|
+
private _resolveProps;
|
|
176
|
+
private _setAttr;
|
|
177
|
+
protected _applyStyles(styles: string[] | undefined, owner?: ConcreteComponent): void;
|
|
178
|
+
/**
|
|
179
|
+
* Only called when shadowRoot is false
|
|
180
|
+
*/
|
|
181
|
+
private _parseSlots;
|
|
182
|
+
/**
|
|
183
|
+
* Only called when shadowRoot is false
|
|
184
|
+
*/
|
|
185
|
+
protected _renderSlots(): void;
|
|
186
186
|
}
|
|
187
187
|
export declare class VueElement extends VueElementBase<Element, Component, InnerComponentDef> {
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
188
|
+
constructor(def: InnerComponentDef, props?: Record<string, any> | undefined, createAppFn?: CreateAppFunction<Element, Component>);
|
|
189
|
+
protected _needsHydration(): boolean;
|
|
190
|
+
protected _mount(def: InnerComponentDef): void;
|
|
191
|
+
protected _update(): void;
|
|
192
|
+
protected _unmount(): void;
|
|
193
|
+
/**
|
|
194
|
+
* Only called when shadowRoot is false
|
|
195
|
+
*/
|
|
196
|
+
protected _updateSlotNodes(replacements: Map<Node, Node[]>): void;
|
|
197
|
+
private _createVNode;
|
|
198
198
|
}
|
|
199
199
|
export declare function useHost(caller?: string): VueElementBase | null;
|
|
200
200
|
/**
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
201
|
+
* Retrieve the shadowRoot of the current custom element. Only usable in setup()
|
|
202
|
+
* of a `defineCustomElement` component.
|
|
203
|
+
*/
|
|
204
204
|
export declare function useShadowRoot(): ShadowRoot | null;
|
|
205
|
-
|
|
205
|
+
//#endregion
|
|
206
|
+
//#region temp/packages/runtime-dom/src/helpers/useCssModule.d.ts
|
|
206
207
|
export declare function useCssModule(name?: string): Record<string, string>;
|
|
207
|
-
|
|
208
|
+
//#endregion
|
|
209
|
+
//#region temp/packages/runtime-dom/src/helpers/useCssVars.d.ts
|
|
208
210
|
/**
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
211
|
+
* Runtime helper for SFC's CSS variable injection feature.
|
|
212
|
+
* @private
|
|
213
|
+
*/
|
|
212
214
|
export declare function useCssVars(getter: (ctx: any) => Record<string, unknown>): void;
|
|
213
|
-
|
|
215
|
+
//#endregion
|
|
216
|
+
//#region temp/packages/runtime-dom/src/jsx.d.ts
|
|
214
217
|
export interface CSSProperties extends CSS.Properties<string | number>, CSS.PropertiesHyphen<string | number> {
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
}
|
|
225
|
-
type Booleanish = boolean |
|
|
218
|
+
/**
|
|
219
|
+
* The index signature was removed to enable closed typing for style
|
|
220
|
+
* using CSSType. You're able to use type assertion or module augmentation
|
|
221
|
+
* to add properties or an index signature of your own.
|
|
222
|
+
*
|
|
223
|
+
* For examples and more information, visit:
|
|
224
|
+
* https://github.com/frenic/csstype#what-should-i-do-when-i-get-type-errors
|
|
225
|
+
*/
|
|
226
|
+
[v: `--${string}`]: string | number | undefined;
|
|
227
|
+
}
|
|
228
|
+
type Booleanish = boolean | "true" | "false";
|
|
226
229
|
type Numberish = number | string;
|
|
227
230
|
export interface AriaAttributes {
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
231
|
+
/** Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application. */
|
|
232
|
+
"aria-activedescendant"?: string | undefined;
|
|
233
|
+
/** Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute. */
|
|
234
|
+
"aria-atomic"?: Booleanish | undefined;
|
|
235
|
+
/**
|
|
236
|
+
* Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be
|
|
237
|
+
* presented if they are made.
|
|
238
|
+
*/
|
|
239
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
240
|
+
/** Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user. */
|
|
241
|
+
"aria-busy"?: Booleanish | undefined;
|
|
242
|
+
/**
|
|
243
|
+
* Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
|
|
244
|
+
* @see aria-pressed @see aria-selected.
|
|
245
|
+
*/
|
|
246
|
+
"aria-checked"?: Booleanish | "mixed" | undefined;
|
|
247
|
+
/**
|
|
248
|
+
* Defines the total number of columns in a table, grid, or treegrid.
|
|
249
|
+
* @see aria-colindex.
|
|
250
|
+
*/
|
|
251
|
+
"aria-colcount"?: Numberish | undefined;
|
|
252
|
+
/**
|
|
253
|
+
* Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
|
|
254
|
+
* @see aria-colcount @see aria-colspan.
|
|
255
|
+
*/
|
|
256
|
+
"aria-colindex"?: Numberish | undefined;
|
|
257
|
+
/**
|
|
258
|
+
* Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
259
|
+
* @see aria-colindex @see aria-rowspan.
|
|
260
|
+
*/
|
|
261
|
+
"aria-colspan"?: Numberish | undefined;
|
|
262
|
+
/**
|
|
263
|
+
* Identifies the element (or elements) whose contents or presence are controlled by the current element.
|
|
264
|
+
* @see aria-owns.
|
|
265
|
+
*/
|
|
266
|
+
"aria-controls"?: string | undefined;
|
|
267
|
+
/** Indicates the element that represents the current item within a container or set of related elements. */
|
|
268
|
+
"aria-current"?: Booleanish | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
269
|
+
/**
|
|
270
|
+
* Identifies the element (or elements) that describes the object.
|
|
271
|
+
* @see aria-labelledby
|
|
272
|
+
*/
|
|
273
|
+
"aria-describedby"?: string | undefined;
|
|
274
|
+
/**
|
|
275
|
+
* Identifies the element that provides a detailed, extended description for the object.
|
|
276
|
+
* @see aria-describedby.
|
|
277
|
+
*/
|
|
278
|
+
"aria-details"?: string | undefined;
|
|
279
|
+
/**
|
|
280
|
+
* Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
|
|
281
|
+
* @see aria-hidden @see aria-readonly.
|
|
282
|
+
*/
|
|
283
|
+
"aria-disabled"?: Booleanish | undefined;
|
|
284
|
+
/**
|
|
285
|
+
* Indicates what functions can be performed when a dragged object is released on the drop target.
|
|
286
|
+
* @deprecated in ARIA 1.1
|
|
287
|
+
*/
|
|
288
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
289
|
+
/**
|
|
290
|
+
* Identifies the element that provides an error message for the object.
|
|
291
|
+
* @see aria-invalid @see aria-describedby.
|
|
292
|
+
*/
|
|
293
|
+
"aria-errormessage"?: string | undefined;
|
|
294
|
+
/** Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed. */
|
|
295
|
+
"aria-expanded"?: Booleanish | undefined;
|
|
296
|
+
/**
|
|
297
|
+
* Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
|
|
298
|
+
* allows assistive technology to override the general default of reading in document source order.
|
|
299
|
+
*/
|
|
300
|
+
"aria-flowto"?: string | undefined;
|
|
301
|
+
/**
|
|
302
|
+
* Indicates an element's "grabbed" state in a drag-and-drop operation.
|
|
303
|
+
* @deprecated in ARIA 1.1
|
|
304
|
+
*/
|
|
305
|
+
"aria-grabbed"?: Booleanish | undefined;
|
|
306
|
+
/** Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. */
|
|
307
|
+
"aria-haspopup"?: Booleanish | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
308
|
+
/**
|
|
309
|
+
* Indicates whether the element is exposed to an accessibility API.
|
|
310
|
+
* @see aria-disabled.
|
|
311
|
+
*/
|
|
312
|
+
"aria-hidden"?: Booleanish | undefined;
|
|
313
|
+
/**
|
|
314
|
+
* Indicates the entered value does not conform to the format expected by the application.
|
|
315
|
+
* @see aria-errormessage.
|
|
316
|
+
*/
|
|
317
|
+
"aria-invalid"?: Booleanish | "grammar" | "spelling" | undefined;
|
|
318
|
+
/** Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element. */
|
|
319
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
320
|
+
/**
|
|
321
|
+
* Defines a string value that labels the current element.
|
|
322
|
+
* @see aria-labelledby.
|
|
323
|
+
*/
|
|
324
|
+
"aria-label"?: string | undefined;
|
|
325
|
+
/**
|
|
326
|
+
* Identifies the element (or elements) that labels the current element.
|
|
327
|
+
* @see aria-describedby.
|
|
328
|
+
*/
|
|
329
|
+
"aria-labelledby"?: string | undefined;
|
|
330
|
+
/** Defines the hierarchical level of an element within a structure. */
|
|
331
|
+
"aria-level"?: Numberish | undefined;
|
|
332
|
+
/** Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region. */
|
|
333
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
334
|
+
/** Indicates whether an element is modal when displayed. */
|
|
335
|
+
"aria-modal"?: Booleanish | undefined;
|
|
336
|
+
/** Indicates whether a text box accepts multiple lines of input or only a single line. */
|
|
337
|
+
"aria-multiline"?: Booleanish | undefined;
|
|
338
|
+
/** Indicates that the user may select more than one item from the current selectable descendants. */
|
|
339
|
+
"aria-multiselectable"?: Booleanish | undefined;
|
|
340
|
+
/** Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. */
|
|
341
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
342
|
+
/**
|
|
343
|
+
* Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship
|
|
344
|
+
* between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
|
|
345
|
+
* @see aria-controls.
|
|
346
|
+
*/
|
|
347
|
+
"aria-owns"?: string | undefined;
|
|
348
|
+
/**
|
|
349
|
+
* Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.
|
|
350
|
+
* A hint could be a sample value or a brief description of the expected format.
|
|
351
|
+
*/
|
|
352
|
+
"aria-placeholder"?: string | undefined;
|
|
353
|
+
/**
|
|
354
|
+
* Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
|
|
355
|
+
* @see aria-setsize.
|
|
356
|
+
*/
|
|
357
|
+
"aria-posinset"?: Numberish | undefined;
|
|
358
|
+
/**
|
|
359
|
+
* Indicates the current "pressed" state of toggle buttons.
|
|
360
|
+
* @see aria-checked @see aria-selected.
|
|
361
|
+
*/
|
|
362
|
+
"aria-pressed"?: Booleanish | "mixed" | undefined;
|
|
363
|
+
/**
|
|
364
|
+
* Indicates that the element is not editable, but is otherwise operable.
|
|
365
|
+
* @see aria-disabled.
|
|
366
|
+
*/
|
|
367
|
+
"aria-readonly"?: Booleanish | undefined;
|
|
368
|
+
/**
|
|
369
|
+
* Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
|
|
370
|
+
* @see aria-atomic.
|
|
371
|
+
*/
|
|
372
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
373
|
+
/** Indicates that user input is required on the element before a form may be submitted. */
|
|
374
|
+
"aria-required"?: Booleanish | undefined;
|
|
375
|
+
/** Defines a human-readable, author-localized description for the role of an element. */
|
|
376
|
+
"aria-roledescription"?: string | undefined;
|
|
377
|
+
/**
|
|
378
|
+
* Defines the total number of rows in a table, grid, or treegrid.
|
|
379
|
+
* @see aria-rowindex.
|
|
380
|
+
*/
|
|
381
|
+
"aria-rowcount"?: Numberish | undefined;
|
|
382
|
+
/**
|
|
383
|
+
* Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
|
|
384
|
+
* @see aria-rowcount @see aria-rowspan.
|
|
385
|
+
*/
|
|
386
|
+
"aria-rowindex"?: Numberish | undefined;
|
|
387
|
+
/**
|
|
388
|
+
* Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
389
|
+
* @see aria-rowindex @see aria-colspan.
|
|
390
|
+
*/
|
|
391
|
+
"aria-rowspan"?: Numberish | undefined;
|
|
392
|
+
/**
|
|
393
|
+
* Indicates the current "selected" state of various widgets.
|
|
394
|
+
* @see aria-checked @see aria-pressed.
|
|
395
|
+
*/
|
|
396
|
+
"aria-selected"?: Booleanish | undefined;
|
|
397
|
+
/**
|
|
398
|
+
* Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
|
|
399
|
+
* @see aria-posinset.
|
|
400
|
+
*/
|
|
401
|
+
"aria-setsize"?: Numberish | undefined;
|
|
402
|
+
/** Indicates if items in a table or grid are sorted in ascending or descending order. */
|
|
403
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
404
|
+
/** Defines the maximum allowed value for a range widget. */
|
|
405
|
+
"aria-valuemax"?: Numberish | undefined;
|
|
406
|
+
/** Defines the minimum allowed value for a range widget. */
|
|
407
|
+
"aria-valuemin"?: Numberish | undefined;
|
|
408
|
+
/**
|
|
409
|
+
* Defines the current value for a range widget.
|
|
410
|
+
* @see aria-valuetext.
|
|
411
|
+
*/
|
|
412
|
+
"aria-valuenow"?: Numberish | undefined;
|
|
413
|
+
/** Defines the human readable text alternative of aria-valuenow for a range widget. */
|
|
414
|
+
"aria-valuetext"?: string | undefined;
|
|
412
415
|
}
|
|
413
416
|
export type StyleValue = false | null | undefined | string | CSSProperties | Array<StyleValue>;
|
|
414
417
|
export interface HTMLAttributes extends AriaAttributes, EventHandlers<Events> {
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
}
|
|
478
|
-
type HTMLAttributeReferrerPolicy =
|
|
418
|
+
innerHTML?: string | undefined;
|
|
419
|
+
class?: any;
|
|
420
|
+
style?: StyleValue | undefined;
|
|
421
|
+
accesskey?: string | undefined;
|
|
422
|
+
contenteditable?: Booleanish | "inherit" | "plaintext-only" | undefined;
|
|
423
|
+
contextmenu?: string | undefined;
|
|
424
|
+
dir?: string | undefined;
|
|
425
|
+
draggable?: Booleanish | undefined;
|
|
426
|
+
enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
427
|
+
/**
|
|
428
|
+
* @deprecated Use `enterkeyhint` instead.
|
|
429
|
+
*/
|
|
430
|
+
enterKeyHint?: HTMLAttributes["enterkeyhint"];
|
|
431
|
+
hidden?: Booleanish | "" | "hidden" | "until-found" | undefined;
|
|
432
|
+
id?: string | undefined;
|
|
433
|
+
inert?: Booleanish | undefined;
|
|
434
|
+
lang?: string | undefined;
|
|
435
|
+
placeholder?: string | undefined;
|
|
436
|
+
spellcheck?: Booleanish | undefined;
|
|
437
|
+
tabindex?: Numberish | undefined;
|
|
438
|
+
title?: string | undefined;
|
|
439
|
+
translate?: "yes" | "no" | undefined;
|
|
440
|
+
radiogroup?: string | undefined;
|
|
441
|
+
role?: string | undefined;
|
|
442
|
+
about?: string | undefined;
|
|
443
|
+
datatype?: string | undefined;
|
|
444
|
+
inlist?: any;
|
|
445
|
+
prefix?: string | undefined;
|
|
446
|
+
property?: string | undefined;
|
|
447
|
+
resource?: string | undefined;
|
|
448
|
+
typeof?: string | undefined;
|
|
449
|
+
vocab?: string | undefined;
|
|
450
|
+
autocapitalize?: string | undefined;
|
|
451
|
+
autocorrect?: string | undefined;
|
|
452
|
+
autosave?: string | undefined;
|
|
453
|
+
color?: string | undefined;
|
|
454
|
+
itemprop?: string | undefined;
|
|
455
|
+
itemscope?: Booleanish | undefined;
|
|
456
|
+
itemtype?: string | undefined;
|
|
457
|
+
itemid?: string | undefined;
|
|
458
|
+
itemref?: string | undefined;
|
|
459
|
+
results?: Numberish | undefined;
|
|
460
|
+
security?: string | undefined;
|
|
461
|
+
unselectable?: "on" | "off" | undefined;
|
|
462
|
+
/**
|
|
463
|
+
* Hints at the type of data that might be entered by the user while editing the element or its contents
|
|
464
|
+
* @see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute
|
|
465
|
+
*/
|
|
466
|
+
inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
467
|
+
/**
|
|
468
|
+
* Specify that a standard HTML element should behave like a defined custom built-in element
|
|
469
|
+
* @see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is
|
|
470
|
+
*/
|
|
471
|
+
is?: string | undefined;
|
|
472
|
+
/**
|
|
473
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/exportparts
|
|
474
|
+
*/
|
|
475
|
+
exportparts?: string;
|
|
476
|
+
/**
|
|
477
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/part
|
|
478
|
+
*/
|
|
479
|
+
part?: string;
|
|
480
|
+
}
|
|
481
|
+
type HTMLAttributeReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
|
|
479
482
|
export interface AnchorHTMLAttributes extends HTMLAttributes {
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
483
|
+
download?: any;
|
|
484
|
+
href?: string | undefined;
|
|
485
|
+
hreflang?: string | undefined;
|
|
486
|
+
media?: string | undefined;
|
|
487
|
+
ping?: string | undefined;
|
|
488
|
+
rel?: string | undefined;
|
|
489
|
+
target?: string | undefined;
|
|
490
|
+
type?: string | undefined;
|
|
491
|
+
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
489
492
|
}
|
|
490
493
|
export interface AreaHTMLAttributes extends HTMLAttributes {
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
}
|
|
502
|
-
export interface AudioHTMLAttributes extends MediaHTMLAttributes {
|
|
503
|
-
}
|
|
494
|
+
alt?: string | undefined;
|
|
495
|
+
coords?: string | undefined;
|
|
496
|
+
download?: any;
|
|
497
|
+
href?: string | undefined;
|
|
498
|
+
hreflang?: string | undefined;
|
|
499
|
+
media?: string | undefined;
|
|
500
|
+
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
501
|
+
rel?: string | undefined;
|
|
502
|
+
shape?: string | undefined;
|
|
503
|
+
target?: string | undefined;
|
|
504
|
+
}
|
|
505
|
+
export interface AudioHTMLAttributes extends MediaHTMLAttributes {}
|
|
504
506
|
export interface BaseHTMLAttributes extends HTMLAttributes {
|
|
505
|
-
|
|
506
|
-
|
|
507
|
+
href?: string | undefined;
|
|
508
|
+
target?: string | undefined;
|
|
507
509
|
}
|
|
508
510
|
export interface BlockquoteHTMLAttributes extends HTMLAttributes {
|
|
509
|
-
|
|
511
|
+
cite?: string | undefined;
|
|
510
512
|
}
|
|
511
513
|
export interface ButtonHTMLAttributes extends HTMLAttributes {
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
514
|
+
autofocus?: Booleanish | undefined;
|
|
515
|
+
disabled?: Booleanish | undefined;
|
|
516
|
+
form?: string | undefined;
|
|
517
|
+
formaction?: string | undefined;
|
|
518
|
+
formenctype?: string | undefined;
|
|
519
|
+
formmethod?: string | undefined;
|
|
520
|
+
formnovalidate?: Booleanish | undefined;
|
|
521
|
+
formtarget?: string | undefined;
|
|
522
|
+
name?: string | undefined;
|
|
523
|
+
type?: "submit" | "reset" | "button" | undefined;
|
|
524
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
523
525
|
}
|
|
524
526
|
export interface CanvasHTMLAttributes extends HTMLAttributes {
|
|
525
|
-
|
|
526
|
-
|
|
527
|
+
height?: Numberish | undefined;
|
|
528
|
+
width?: Numberish | undefined;
|
|
527
529
|
}
|
|
528
530
|
export interface ColHTMLAttributes extends HTMLAttributes {
|
|
529
|
-
|
|
530
|
-
|
|
531
|
+
span?: Numberish | undefined;
|
|
532
|
+
width?: Numberish | undefined;
|
|
531
533
|
}
|
|
532
534
|
export interface ColgroupHTMLAttributes extends HTMLAttributes {
|
|
533
|
-
|
|
535
|
+
span?: Numberish | undefined;
|
|
534
536
|
}
|
|
535
537
|
export interface DataHTMLAttributes extends HTMLAttributes {
|
|
536
|
-
|
|
538
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
537
539
|
}
|
|
538
540
|
export interface DetailsHTMLAttributes extends HTMLAttributes {
|
|
539
|
-
|
|
540
|
-
|
|
541
|
+
name?: string | undefined;
|
|
542
|
+
open?: Booleanish | undefined;
|
|
541
543
|
}
|
|
542
544
|
export interface DelHTMLAttributes extends HTMLAttributes {
|
|
543
|
-
|
|
544
|
-
|
|
545
|
+
cite?: string | undefined;
|
|
546
|
+
datetime?: string | undefined;
|
|
545
547
|
}
|
|
546
548
|
export interface DialogHTMLAttributes extends HTMLAttributes {
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
549
|
+
open?: Booleanish | undefined;
|
|
550
|
+
onClose?: ((payload: Event) => void) | undefined;
|
|
551
|
+
onCancel?: ((payload: Event) => void) | undefined;
|
|
550
552
|
}
|
|
551
553
|
export interface EmbedHTMLAttributes extends HTMLAttributes {
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
554
|
+
height?: Numberish | undefined;
|
|
555
|
+
src?: string | undefined;
|
|
556
|
+
type?: string | undefined;
|
|
557
|
+
width?: Numberish | undefined;
|
|
556
558
|
}
|
|
557
559
|
export interface FieldsetHTMLAttributes extends HTMLAttributes {
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
560
|
+
disabled?: Booleanish | undefined;
|
|
561
|
+
form?: string | undefined;
|
|
562
|
+
name?: string | undefined;
|
|
561
563
|
}
|
|
562
564
|
export interface FormHTMLAttributes extends HTMLAttributes {
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
565
|
+
acceptcharset?: string | undefined;
|
|
566
|
+
action?: string | undefined;
|
|
567
|
+
autocomplete?: string | undefined;
|
|
568
|
+
enctype?: string | undefined;
|
|
569
|
+
method?: string | undefined;
|
|
570
|
+
name?: string | undefined;
|
|
571
|
+
novalidate?: Booleanish | undefined;
|
|
572
|
+
target?: string | undefined;
|
|
571
573
|
}
|
|
572
574
|
export interface HtmlHTMLAttributes extends HTMLAttributes {
|
|
573
|
-
|
|
575
|
+
manifest?: string | undefined;
|
|
574
576
|
}
|
|
575
577
|
export interface IframeHTMLAttributes extends HTMLAttributes {
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
578
|
+
allow?: string | undefined;
|
|
579
|
+
allowfullscreen?: Booleanish | undefined;
|
|
580
|
+
allowtransparency?: Booleanish | undefined;
|
|
581
|
+
/** @deprecated */
|
|
582
|
+
frameborder?: Numberish | undefined;
|
|
583
|
+
height?: Numberish | undefined;
|
|
584
|
+
loading?: "eager" | "lazy" | undefined;
|
|
585
|
+
/** @deprecated */
|
|
586
|
+
marginheight?: Numberish | undefined;
|
|
587
|
+
/** @deprecated */
|
|
588
|
+
marginwidth?: Numberish | undefined;
|
|
589
|
+
name?: string | undefined;
|
|
590
|
+
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
591
|
+
sandbox?: string | undefined;
|
|
592
|
+
/** @deprecated */
|
|
593
|
+
scrolling?: string | undefined;
|
|
594
|
+
seamless?: Booleanish | undefined;
|
|
595
|
+
src?: string | undefined;
|
|
596
|
+
srcdoc?: string | undefined;
|
|
597
|
+
width?: Numberish | undefined;
|
|
596
598
|
}
|
|
597
599
|
export interface ImgHTMLAttributes extends HTMLAttributes {
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
600
|
+
alt?: string | undefined;
|
|
601
|
+
crossorigin?: "anonymous" | "use-credentials" | "" | undefined;
|
|
602
|
+
decoding?: "async" | "auto" | "sync" | undefined;
|
|
603
|
+
fetchpriority?: "high" | "low" | "auto" | undefined;
|
|
604
|
+
height?: Numberish | undefined;
|
|
605
|
+
loading?: "eager" | "lazy" | undefined;
|
|
606
|
+
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
607
|
+
sizes?: string | undefined;
|
|
608
|
+
src?: string | undefined;
|
|
609
|
+
srcset?: string | undefined;
|
|
610
|
+
usemap?: string | undefined;
|
|
611
|
+
width?: Numberish | undefined;
|
|
610
612
|
}
|
|
611
613
|
export interface InsHTMLAttributes extends HTMLAttributes {
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
}
|
|
615
|
-
export type InputTypeHTMLAttribute =
|
|
614
|
+
cite?: string | undefined;
|
|
615
|
+
datetime?: string | undefined;
|
|
616
|
+
}
|
|
617
|
+
export type InputTypeHTMLAttribute = "button" | "checkbox" | "color" | "date" | "datetime-local" | "email" | "file" | "hidden" | "image" | "month" | "number" | "password" | "radio" | "range" | "reset" | "search" | "submit" | "tel" | "text" | "time" | "url" | "week" | (string & {});
|
|
618
|
+
type AutoFillAddressKind = "billing" | "shipping";
|
|
619
|
+
type AutoFillBase = "" | "off" | "on";
|
|
620
|
+
type AutoFillContactField = "email" | "tel" | "tel-area-code" | "tel-country-code" | "tel-extension" | "tel-local" | "tel-local-prefix" | "tel-local-suffix" | "tel-national";
|
|
621
|
+
type AutoFillContactKind = "home" | "mobile" | "work";
|
|
622
|
+
type AutoFillCredentialField = "webauthn";
|
|
623
|
+
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";
|
|
624
|
+
type OptionalPrefixToken<T extends string> = `${T} ` | "";
|
|
625
|
+
type OptionalPostfixToken<T extends string> = ` ${T}` | "";
|
|
626
|
+
type AutoFillField = AutoFillNormalField | `${OptionalPrefixToken<AutoFillContactKind>}${AutoFillContactField}`;
|
|
627
|
+
type AutoFillSection = `section-${string}`;
|
|
628
|
+
type AutoFill = AutoFillBase | `${OptionalPrefixToken<AutoFillSection>}${OptionalPrefixToken<AutoFillAddressKind>}${AutoFillField}${OptionalPostfixToken<AutoFillCredentialField>}`;
|
|
629
|
+
export type InputAutoCompleteAttribute = AutoFill | (string & {});
|
|
616
630
|
export interface InputHTMLAttributes extends HTMLAttributes {
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
631
|
+
accept?: string | undefined;
|
|
632
|
+
alt?: string | undefined;
|
|
633
|
+
autocomplete?: InputAutoCompleteAttribute | undefined;
|
|
634
|
+
autofocus?: Booleanish | undefined;
|
|
635
|
+
capture?: boolean | "user" | "environment" | undefined;
|
|
636
|
+
checked?: Booleanish | any[] | Set<any> | undefined;
|
|
637
|
+
crossorigin?: string | undefined;
|
|
638
|
+
disabled?: Booleanish | undefined;
|
|
639
|
+
form?: string | undefined;
|
|
640
|
+
formaction?: string | undefined;
|
|
641
|
+
formenctype?: string | undefined;
|
|
642
|
+
formmethod?: string | undefined;
|
|
643
|
+
formnovalidate?: Booleanish | undefined;
|
|
644
|
+
formtarget?: string | undefined;
|
|
645
|
+
height?: Numberish | undefined;
|
|
646
|
+
indeterminate?: boolean | undefined;
|
|
647
|
+
list?: string | undefined;
|
|
648
|
+
max?: Numberish | undefined;
|
|
649
|
+
maxlength?: Numberish | undefined;
|
|
650
|
+
min?: Numberish | undefined;
|
|
651
|
+
minlength?: Numberish | undefined;
|
|
652
|
+
multiple?: Booleanish | undefined;
|
|
653
|
+
name?: string | undefined;
|
|
654
|
+
pattern?: string | undefined;
|
|
655
|
+
placeholder?: string | undefined;
|
|
656
|
+
readonly?: Booleanish | undefined;
|
|
657
|
+
required?: Booleanish | undefined;
|
|
658
|
+
size?: Numberish | undefined;
|
|
659
|
+
src?: string | undefined;
|
|
660
|
+
step?: Numberish | undefined;
|
|
661
|
+
type?: InputTypeHTMLAttribute | undefined;
|
|
662
|
+
value?: any;
|
|
663
|
+
width?: Numberish | undefined;
|
|
664
|
+
onCancel?: ((payload: Event) => void) | undefined;
|
|
651
665
|
}
|
|
652
666
|
export interface KeygenHTMLAttributes extends HTMLAttributes {
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
667
|
+
autofocus?: Booleanish | undefined;
|
|
668
|
+
challenge?: string | undefined;
|
|
669
|
+
disabled?: Booleanish | undefined;
|
|
670
|
+
form?: string | undefined;
|
|
671
|
+
keytype?: string | undefined;
|
|
672
|
+
keyparams?: string | undefined;
|
|
673
|
+
name?: string | undefined;
|
|
660
674
|
}
|
|
661
675
|
export interface LabelHTMLAttributes extends HTMLAttributes {
|
|
662
|
-
|
|
663
|
-
|
|
676
|
+
for?: string | undefined;
|
|
677
|
+
form?: string | undefined;
|
|
664
678
|
}
|
|
665
679
|
export interface LiHTMLAttributes extends HTMLAttributes {
|
|
666
|
-
|
|
680
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
667
681
|
}
|
|
668
682
|
export interface LinkHTMLAttributes extends HTMLAttributes {
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
683
|
+
as?: string | undefined;
|
|
684
|
+
crossorigin?: string | undefined;
|
|
685
|
+
href?: string | undefined;
|
|
686
|
+
hreflang?: string | undefined;
|
|
687
|
+
integrity?: string | undefined;
|
|
688
|
+
media?: string | undefined;
|
|
689
|
+
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
690
|
+
rel?: string | undefined;
|
|
691
|
+
sizes?: string | undefined;
|
|
692
|
+
type?: string | undefined;
|
|
693
|
+
charset?: string | undefined;
|
|
680
694
|
}
|
|
681
695
|
export interface MapHTMLAttributes extends HTMLAttributes {
|
|
682
|
-
|
|
696
|
+
name?: string | undefined;
|
|
683
697
|
}
|
|
684
698
|
export interface MenuHTMLAttributes extends HTMLAttributes {
|
|
685
|
-
|
|
699
|
+
type?: string | undefined;
|
|
686
700
|
}
|
|
687
701
|
export interface MediaHTMLAttributes extends HTMLAttributes {
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
702
|
+
autoplay?: Booleanish | undefined;
|
|
703
|
+
controls?: Booleanish | undefined;
|
|
704
|
+
controlslist?: string | undefined;
|
|
705
|
+
crossorigin?: string | undefined;
|
|
706
|
+
loop?: Booleanish | undefined;
|
|
707
|
+
mediagroup?: string | undefined;
|
|
708
|
+
muted?: Booleanish | undefined;
|
|
709
|
+
playsinline?: Booleanish | undefined;
|
|
710
|
+
preload?: string | undefined;
|
|
711
|
+
src?: string | undefined;
|
|
698
712
|
}
|
|
699
713
|
export interface MetaHTMLAttributes extends HTMLAttributes {
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
714
|
+
charset?: string | undefined;
|
|
715
|
+
content?: string | undefined;
|
|
716
|
+
httpequiv?: string | undefined;
|
|
717
|
+
name?: string | undefined;
|
|
704
718
|
}
|
|
705
719
|
export interface MeterHTMLAttributes extends HTMLAttributes {
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
720
|
+
form?: string | undefined;
|
|
721
|
+
high?: Numberish | undefined;
|
|
722
|
+
low?: Numberish | undefined;
|
|
723
|
+
max?: Numberish | undefined;
|
|
724
|
+
min?: Numberish | undefined;
|
|
725
|
+
optimum?: Numberish | undefined;
|
|
726
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
713
727
|
}
|
|
714
728
|
export interface QuoteHTMLAttributes extends HTMLAttributes {
|
|
715
|
-
|
|
729
|
+
cite?: string | undefined;
|
|
716
730
|
}
|
|
717
731
|
export interface ObjectHTMLAttributes extends HTMLAttributes {
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
732
|
+
classid?: string | undefined;
|
|
733
|
+
data?: string | undefined;
|
|
734
|
+
form?: string | undefined;
|
|
735
|
+
height?: Numberish | undefined;
|
|
736
|
+
name?: string | undefined;
|
|
737
|
+
type?: string | undefined;
|
|
738
|
+
usemap?: string | undefined;
|
|
739
|
+
width?: Numberish | undefined;
|
|
740
|
+
wmode?: string | undefined;
|
|
727
741
|
}
|
|
728
742
|
export interface OlHTMLAttributes extends HTMLAttributes {
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
743
|
+
reversed?: Booleanish | undefined;
|
|
744
|
+
start?: Numberish | undefined;
|
|
745
|
+
type?: "1" | "a" | "A" | "i" | "I" | undefined;
|
|
732
746
|
}
|
|
733
747
|
export interface OptgroupHTMLAttributes extends HTMLAttributes {
|
|
734
|
-
|
|
735
|
-
|
|
748
|
+
disabled?: Booleanish | undefined;
|
|
749
|
+
label?: string | undefined;
|
|
736
750
|
}
|
|
737
751
|
export interface OptionHTMLAttributes extends HTMLAttributes {
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
752
|
+
disabled?: Booleanish | undefined;
|
|
753
|
+
label?: string | undefined;
|
|
754
|
+
selected?: Booleanish | undefined;
|
|
755
|
+
value?: any;
|
|
742
756
|
}
|
|
743
757
|
export interface OutputHTMLAttributes extends HTMLAttributes {
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
758
|
+
for?: string | undefined;
|
|
759
|
+
form?: string | undefined;
|
|
760
|
+
name?: string | undefined;
|
|
747
761
|
}
|
|
748
762
|
export interface ParamHTMLAttributes extends HTMLAttributes {
|
|
749
|
-
|
|
750
|
-
|
|
763
|
+
name?: string | undefined;
|
|
764
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
751
765
|
}
|
|
752
766
|
export interface ProgressHTMLAttributes extends HTMLAttributes {
|
|
753
|
-
|
|
754
|
-
|
|
767
|
+
max?: Numberish | undefined;
|
|
768
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
755
769
|
}
|
|
756
770
|
export interface ScriptHTMLAttributes extends HTMLAttributes {
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
771
|
+
async?: Booleanish | undefined;
|
|
772
|
+
/** @deprecated */
|
|
773
|
+
charset?: string | undefined;
|
|
774
|
+
crossorigin?: string | undefined;
|
|
775
|
+
defer?: Booleanish | undefined;
|
|
776
|
+
integrity?: string | undefined;
|
|
777
|
+
nomodule?: Booleanish | undefined;
|
|
778
|
+
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
779
|
+
nonce?: string | undefined;
|
|
780
|
+
src?: string | undefined;
|
|
781
|
+
type?: string | undefined;
|
|
768
782
|
}
|
|
769
783
|
export interface SelectHTMLAttributes extends HTMLAttributes {
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
784
|
+
autocomplete?: string | undefined;
|
|
785
|
+
autofocus?: Booleanish | undefined;
|
|
786
|
+
disabled?: Booleanish | undefined;
|
|
787
|
+
form?: string | undefined;
|
|
788
|
+
multiple?: Booleanish | undefined;
|
|
789
|
+
name?: string | undefined;
|
|
790
|
+
required?: Booleanish | undefined;
|
|
791
|
+
size?: Numberish | undefined;
|
|
792
|
+
value?: any;
|
|
779
793
|
}
|
|
780
794
|
export interface SourceHTMLAttributes extends HTMLAttributes {
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
795
|
+
media?: string | undefined;
|
|
796
|
+
sizes?: string | undefined;
|
|
797
|
+
src?: string | undefined;
|
|
798
|
+
srcset?: string | undefined;
|
|
799
|
+
type?: string | undefined;
|
|
786
800
|
}
|
|
787
801
|
export interface StyleHTMLAttributes extends HTMLAttributes {
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
802
|
+
media?: string | undefined;
|
|
803
|
+
nonce?: string | undefined;
|
|
804
|
+
scoped?: Booleanish | undefined;
|
|
805
|
+
type?: string | undefined;
|
|
792
806
|
}
|
|
793
807
|
export interface TableHTMLAttributes extends HTMLAttributes {
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
808
|
+
cellpadding?: Numberish | undefined;
|
|
809
|
+
cellspacing?: Numberish | undefined;
|
|
810
|
+
summary?: string | undefined;
|
|
811
|
+
width?: Numberish | undefined;
|
|
798
812
|
}
|
|
799
813
|
export interface TextareaHTMLAttributes extends HTMLAttributes {
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
814
|
+
autocomplete?: string | undefined;
|
|
815
|
+
autofocus?: Booleanish | undefined;
|
|
816
|
+
cols?: Numberish | undefined;
|
|
817
|
+
dirname?: string | undefined;
|
|
818
|
+
disabled?: Booleanish | undefined;
|
|
819
|
+
form?: string | undefined;
|
|
820
|
+
maxlength?: Numberish | undefined;
|
|
821
|
+
minlength?: Numberish | undefined;
|
|
822
|
+
name?: string | undefined;
|
|
823
|
+
placeholder?: string | undefined;
|
|
824
|
+
readonly?: Booleanish | undefined;
|
|
825
|
+
required?: Booleanish | undefined;
|
|
826
|
+
rows?: Numberish | undefined;
|
|
827
|
+
value?: string | ReadonlyArray<string> | number | null | undefined;
|
|
828
|
+
wrap?: string | undefined;
|
|
815
829
|
}
|
|
816
830
|
export interface TdHTMLAttributes extends HTMLAttributes {
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
831
|
+
align?: "left" | "center" | "right" | "justify" | "char" | undefined;
|
|
832
|
+
colspan?: Numberish | undefined;
|
|
833
|
+
headers?: string | undefined;
|
|
834
|
+
rowspan?: Numberish | undefined;
|
|
835
|
+
scope?: string | undefined;
|
|
836
|
+
abbr?: string | undefined;
|
|
837
|
+
height?: Numberish | undefined;
|
|
838
|
+
width?: Numberish | undefined;
|
|
839
|
+
valign?: "top" | "middle" | "bottom" | "baseline" | undefined;
|
|
826
840
|
}
|
|
827
841
|
export interface ThHTMLAttributes extends HTMLAttributes {
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
842
|
+
align?: "left" | "center" | "right" | "justify" | "char" | undefined;
|
|
843
|
+
colspan?: Numberish | undefined;
|
|
844
|
+
headers?: string | undefined;
|
|
845
|
+
rowspan?: Numberish | undefined;
|
|
846
|
+
scope?: string | undefined;
|
|
847
|
+
abbr?: string | undefined;
|
|
834
848
|
}
|
|
835
849
|
export interface TimeHTMLAttributes extends HTMLAttributes {
|
|
836
|
-
|
|
850
|
+
datetime?: string | undefined;
|
|
837
851
|
}
|
|
838
852
|
export interface TrackHTMLAttributes extends HTMLAttributes {
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
853
|
+
default?: Booleanish | undefined;
|
|
854
|
+
kind?: string | undefined;
|
|
855
|
+
label?: string | undefined;
|
|
856
|
+
src?: string | undefined;
|
|
857
|
+
srclang?: string | undefined;
|
|
844
858
|
}
|
|
845
859
|
export interface VideoHTMLAttributes extends MediaHTMLAttributes {
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
860
|
+
height?: Numberish | undefined;
|
|
861
|
+
playsinline?: Booleanish | undefined;
|
|
862
|
+
poster?: string | undefined;
|
|
863
|
+
width?: Numberish | undefined;
|
|
864
|
+
disablePictureInPicture?: Booleanish | undefined;
|
|
865
|
+
disableRemotePlayback?: Booleanish | undefined;
|
|
852
866
|
}
|
|
853
867
|
export interface WebViewHTMLAttributes extends HTMLAttributes {
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
868
|
+
allowfullscreen?: Booleanish | undefined;
|
|
869
|
+
allowpopups?: Booleanish | undefined;
|
|
870
|
+
autoFocus?: Booleanish | undefined;
|
|
871
|
+
autosize?: Booleanish | undefined;
|
|
872
|
+
blinkfeatures?: string | undefined;
|
|
873
|
+
disableblinkfeatures?: string | undefined;
|
|
874
|
+
disableguestresize?: Booleanish | undefined;
|
|
875
|
+
disablewebsecurity?: Booleanish | undefined;
|
|
876
|
+
guestinstance?: string | undefined;
|
|
877
|
+
httpreferrer?: string | undefined;
|
|
878
|
+
nodeintegration?: Booleanish | undefined;
|
|
879
|
+
partition?: string | undefined;
|
|
880
|
+
plugins?: Booleanish | undefined;
|
|
881
|
+
preload?: string | undefined;
|
|
882
|
+
src?: string | undefined;
|
|
883
|
+
useragent?: string | undefined;
|
|
884
|
+
webpreferences?: string | undefined;
|
|
871
885
|
}
|
|
872
886
|
export interface SVGAttributes extends AriaAttributes, EventHandlers<Events> {
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
887
|
+
innerHTML?: string | undefined;
|
|
888
|
+
/**
|
|
889
|
+
* SVG Styling Attributes
|
|
890
|
+
* @see https://www.w3.org/TR/SVG/styling.html#ElementSpecificStyling
|
|
891
|
+
*/
|
|
892
|
+
class?: any;
|
|
893
|
+
style?: StyleValue | undefined;
|
|
894
|
+
color?: string | undefined;
|
|
895
|
+
height?: Numberish | undefined;
|
|
896
|
+
id?: string | undefined;
|
|
897
|
+
lang?: string | undefined;
|
|
898
|
+
max?: Numberish | undefined;
|
|
899
|
+
media?: string | undefined;
|
|
900
|
+
method?: string | undefined;
|
|
901
|
+
min?: Numberish | undefined;
|
|
902
|
+
name?: string | undefined;
|
|
903
|
+
target?: string | undefined;
|
|
904
|
+
type?: string | undefined;
|
|
905
|
+
width?: Numberish | undefined;
|
|
906
|
+
role?: string | undefined;
|
|
907
|
+
tabindex?: Numberish | undefined;
|
|
908
|
+
crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
|
|
909
|
+
"accent-height"?: Numberish | undefined;
|
|
910
|
+
accumulate?: "none" | "sum" | undefined;
|
|
911
|
+
additive?: "replace" | "sum" | undefined;
|
|
912
|
+
"alignment-baseline"?: "auto" | "baseline" | "before-edge" | "text-before-edge" | "middle" | "central" | "after-edge" | "text-after-edge" | "ideographic" | "alphabetic" | "hanging" | "mathematical" | "inherit" | undefined;
|
|
913
|
+
allowReorder?: "no" | "yes" | undefined;
|
|
914
|
+
alphabetic?: Numberish | undefined;
|
|
915
|
+
amplitude?: Numberish | undefined;
|
|
916
|
+
"arabic-form"?: "initial" | "medial" | "terminal" | "isolated" | undefined;
|
|
917
|
+
ascent?: Numberish | undefined;
|
|
918
|
+
attributeName?: string | undefined;
|
|
919
|
+
attributeType?: string | undefined;
|
|
920
|
+
autoReverse?: Numberish | undefined;
|
|
921
|
+
azimuth?: Numberish | undefined;
|
|
922
|
+
baseFrequency?: Numberish | undefined;
|
|
923
|
+
"baseline-shift"?: Numberish | undefined;
|
|
924
|
+
baseProfile?: Numberish | undefined;
|
|
925
|
+
bbox?: Numberish | undefined;
|
|
926
|
+
begin?: Numberish | undefined;
|
|
927
|
+
bias?: Numberish | undefined;
|
|
928
|
+
by?: Numberish | undefined;
|
|
929
|
+
calcMode?: Numberish | undefined;
|
|
930
|
+
"cap-height"?: Numberish | undefined;
|
|
931
|
+
clip?: Numberish | undefined;
|
|
932
|
+
"clip-path"?: string | undefined;
|
|
933
|
+
clipPathUnits?: Numberish | undefined;
|
|
934
|
+
"clip-rule"?: Numberish | undefined;
|
|
935
|
+
"color-interpolation"?: Numberish | undefined;
|
|
936
|
+
"color-interpolation-filters"?: "auto" | "sRGB" | "linearRGB" | "inherit" | undefined;
|
|
937
|
+
"color-profile"?: Numberish | undefined;
|
|
938
|
+
"color-rendering"?: Numberish | undefined;
|
|
939
|
+
contentScriptType?: Numberish | undefined;
|
|
940
|
+
contentStyleType?: Numberish | undefined;
|
|
941
|
+
cursor?: Numberish | undefined;
|
|
942
|
+
cx?: Numberish | undefined;
|
|
943
|
+
cy?: Numberish | undefined;
|
|
944
|
+
d?: string | undefined;
|
|
945
|
+
decelerate?: Numberish | undefined;
|
|
946
|
+
descent?: Numberish | undefined;
|
|
947
|
+
diffuseConstant?: Numberish | undefined;
|
|
948
|
+
direction?: Numberish | undefined;
|
|
949
|
+
display?: Numberish | undefined;
|
|
950
|
+
divisor?: Numberish | undefined;
|
|
951
|
+
"dominant-baseline"?: Numberish | undefined;
|
|
952
|
+
dur?: Numberish | undefined;
|
|
953
|
+
dx?: Numberish | undefined;
|
|
954
|
+
dy?: Numberish | undefined;
|
|
955
|
+
edgeMode?: Numberish | undefined;
|
|
956
|
+
elevation?: Numberish | undefined;
|
|
957
|
+
"enable-background"?: Numberish | undefined;
|
|
958
|
+
end?: Numberish | undefined;
|
|
959
|
+
exponent?: Numberish | undefined;
|
|
960
|
+
externalResourcesRequired?: Numberish | undefined;
|
|
961
|
+
fill?: string | undefined;
|
|
962
|
+
"fill-opacity"?: Numberish | undefined;
|
|
963
|
+
"fill-rule"?: "nonzero" | "evenodd" | "inherit" | undefined;
|
|
964
|
+
filter?: string | undefined;
|
|
965
|
+
filterRes?: Numberish | undefined;
|
|
966
|
+
filterUnits?: Numberish | undefined;
|
|
967
|
+
"flood-color"?: Numberish | undefined;
|
|
968
|
+
"flood-opacity"?: Numberish | undefined;
|
|
969
|
+
focusable?: Numberish | undefined;
|
|
970
|
+
"font-family"?: string | undefined;
|
|
971
|
+
"font-size"?: Numberish | undefined;
|
|
972
|
+
"font-size-adjust"?: Numberish | undefined;
|
|
973
|
+
"font-stretch"?: Numberish | undefined;
|
|
974
|
+
"font-style"?: Numberish | undefined;
|
|
975
|
+
"font-variant"?: Numberish | undefined;
|
|
976
|
+
"font-weight"?: Numberish | undefined;
|
|
977
|
+
format?: Numberish | undefined;
|
|
978
|
+
from?: Numberish | undefined;
|
|
979
|
+
fx?: Numberish | undefined;
|
|
980
|
+
fy?: Numberish | undefined;
|
|
981
|
+
g1?: Numberish | undefined;
|
|
982
|
+
g2?: Numberish | undefined;
|
|
983
|
+
"glyph-name"?: Numberish | undefined;
|
|
984
|
+
"glyph-orientation-horizontal"?: Numberish | undefined;
|
|
985
|
+
"glyph-orientation-vertical"?: Numberish | undefined;
|
|
986
|
+
glyphRef?: Numberish | undefined;
|
|
987
|
+
gradientTransform?: string | undefined;
|
|
988
|
+
gradientUnits?: string | undefined;
|
|
989
|
+
hanging?: Numberish | undefined;
|
|
990
|
+
"horiz-adv-x"?: Numberish | undefined;
|
|
991
|
+
"horiz-origin-x"?: Numberish | undefined;
|
|
992
|
+
href?: string | undefined;
|
|
993
|
+
ideographic?: Numberish | undefined;
|
|
994
|
+
"image-rendering"?: Numberish | undefined;
|
|
995
|
+
in2?: Numberish | undefined;
|
|
996
|
+
in?: string | undefined;
|
|
997
|
+
intercept?: Numberish | undefined;
|
|
998
|
+
k1?: Numberish | undefined;
|
|
999
|
+
k2?: Numberish | undefined;
|
|
1000
|
+
k3?: Numberish | undefined;
|
|
1001
|
+
k4?: Numberish | undefined;
|
|
1002
|
+
k?: Numberish | undefined;
|
|
1003
|
+
kernelMatrix?: Numberish | undefined;
|
|
1004
|
+
kernelUnitLength?: Numberish | undefined;
|
|
1005
|
+
kerning?: Numberish | undefined;
|
|
1006
|
+
keyPoints?: Numberish | undefined;
|
|
1007
|
+
keySplines?: Numberish | undefined;
|
|
1008
|
+
keyTimes?: Numberish | undefined;
|
|
1009
|
+
lengthAdjust?: Numberish | undefined;
|
|
1010
|
+
"letter-spacing"?: Numberish | undefined;
|
|
1011
|
+
"lighting-color"?: Numberish | undefined;
|
|
1012
|
+
limitingConeAngle?: Numberish | undefined;
|
|
1013
|
+
local?: Numberish | undefined;
|
|
1014
|
+
"marker-end"?: string | undefined;
|
|
1015
|
+
markerHeight?: Numberish | undefined;
|
|
1016
|
+
"marker-mid"?: string | undefined;
|
|
1017
|
+
"marker-start"?: string | undefined;
|
|
1018
|
+
markerUnits?: Numberish | undefined;
|
|
1019
|
+
markerWidth?: Numberish | undefined;
|
|
1020
|
+
mask?: string | undefined;
|
|
1021
|
+
maskContentUnits?: Numberish | undefined;
|
|
1022
|
+
maskUnits?: Numberish | undefined;
|
|
1023
|
+
mathematical?: Numberish | undefined;
|
|
1024
|
+
mode?: Numberish | undefined;
|
|
1025
|
+
numOctaves?: Numberish | undefined;
|
|
1026
|
+
offset?: Numberish | undefined;
|
|
1027
|
+
opacity?: Numberish | undefined;
|
|
1028
|
+
operator?: Numberish | undefined;
|
|
1029
|
+
order?: Numberish | undefined;
|
|
1030
|
+
orient?: Numberish | undefined;
|
|
1031
|
+
orientation?: Numberish | undefined;
|
|
1032
|
+
origin?: Numberish | undefined;
|
|
1033
|
+
overflow?: Numberish | undefined;
|
|
1034
|
+
"overline-position"?: Numberish | undefined;
|
|
1035
|
+
"overline-thickness"?: Numberish | undefined;
|
|
1036
|
+
"paint-order"?: Numberish | undefined;
|
|
1037
|
+
"panose-1"?: Numberish | undefined;
|
|
1038
|
+
pathLength?: Numberish | undefined;
|
|
1039
|
+
patternContentUnits?: string | undefined;
|
|
1040
|
+
patternTransform?: Numberish | undefined;
|
|
1041
|
+
patternUnits?: string | undefined;
|
|
1042
|
+
"pointer-events"?: Numberish | undefined;
|
|
1043
|
+
points?: string | undefined;
|
|
1044
|
+
pointsAtX?: Numberish | undefined;
|
|
1045
|
+
pointsAtY?: Numberish | undefined;
|
|
1046
|
+
pointsAtZ?: Numberish | undefined;
|
|
1047
|
+
preserveAlpha?: Numberish | undefined;
|
|
1048
|
+
preserveAspectRatio?: string | undefined;
|
|
1049
|
+
primitiveUnits?: Numberish | undefined;
|
|
1050
|
+
r?: Numberish | undefined;
|
|
1051
|
+
radius?: Numberish | undefined;
|
|
1052
|
+
refX?: Numberish | undefined;
|
|
1053
|
+
refY?: Numberish | undefined;
|
|
1054
|
+
renderingIntent?: Numberish | undefined;
|
|
1055
|
+
repeatCount?: Numberish | undefined;
|
|
1056
|
+
repeatDur?: Numberish | undefined;
|
|
1057
|
+
requiredExtensions?: Numberish | undefined;
|
|
1058
|
+
requiredFeatures?: Numberish | undefined;
|
|
1059
|
+
restart?: Numberish | undefined;
|
|
1060
|
+
result?: string | undefined;
|
|
1061
|
+
rotate?: Numberish | undefined;
|
|
1062
|
+
rx?: Numberish | undefined;
|
|
1063
|
+
ry?: Numberish | undefined;
|
|
1064
|
+
scale?: Numberish | undefined;
|
|
1065
|
+
seed?: Numberish | undefined;
|
|
1066
|
+
"shape-rendering"?: Numberish | undefined;
|
|
1067
|
+
slope?: Numberish | undefined;
|
|
1068
|
+
spacing?: Numberish | undefined;
|
|
1069
|
+
specularConstant?: Numberish | undefined;
|
|
1070
|
+
specularExponent?: Numberish | undefined;
|
|
1071
|
+
speed?: Numberish | undefined;
|
|
1072
|
+
spreadMethod?: string | undefined;
|
|
1073
|
+
startOffset?: Numberish | undefined;
|
|
1074
|
+
stdDeviation?: Numberish | undefined;
|
|
1075
|
+
stemh?: Numberish | undefined;
|
|
1076
|
+
stemv?: Numberish | undefined;
|
|
1077
|
+
stitchTiles?: Numberish | undefined;
|
|
1078
|
+
"stop-color"?: string | undefined;
|
|
1079
|
+
"stop-opacity"?: Numberish | undefined;
|
|
1080
|
+
"strikethrough-position"?: Numberish | undefined;
|
|
1081
|
+
"strikethrough-thickness"?: Numberish | undefined;
|
|
1082
|
+
string?: Numberish | undefined;
|
|
1083
|
+
stroke?: string | undefined;
|
|
1084
|
+
"stroke-dasharray"?: Numberish | undefined;
|
|
1085
|
+
"stroke-dashoffset"?: Numberish | undefined;
|
|
1086
|
+
"stroke-linecap"?: "butt" | "round" | "square" | "inherit" | undefined;
|
|
1087
|
+
"stroke-linejoin"?: "miter" | "round" | "bevel" | "inherit" | undefined;
|
|
1088
|
+
"stroke-miterlimit"?: Numberish | undefined;
|
|
1089
|
+
"stroke-opacity"?: Numberish | undefined;
|
|
1090
|
+
"stroke-width"?: Numberish | undefined;
|
|
1091
|
+
surfaceScale?: Numberish | undefined;
|
|
1092
|
+
systemLanguage?: Numberish | undefined;
|
|
1093
|
+
tableValues?: Numberish | undefined;
|
|
1094
|
+
targetX?: Numberish | undefined;
|
|
1095
|
+
targetY?: Numberish | undefined;
|
|
1096
|
+
"text-anchor"?: string | undefined;
|
|
1097
|
+
"text-decoration"?: Numberish | undefined;
|
|
1098
|
+
textLength?: Numberish | undefined;
|
|
1099
|
+
"text-rendering"?: Numberish | undefined;
|
|
1100
|
+
to?: Numberish | undefined;
|
|
1101
|
+
transform?: string | undefined;
|
|
1102
|
+
u1?: Numberish | undefined;
|
|
1103
|
+
u2?: Numberish | undefined;
|
|
1104
|
+
"underline-position"?: Numberish | undefined;
|
|
1105
|
+
"underline-thickness"?: Numberish | undefined;
|
|
1106
|
+
unicode?: Numberish | undefined;
|
|
1107
|
+
"unicode-bidi"?: Numberish | undefined;
|
|
1108
|
+
"unicode-range"?: Numberish | undefined;
|
|
1109
|
+
"unitsPer-em"?: Numberish | undefined;
|
|
1110
|
+
"v-alphabetic"?: Numberish | undefined;
|
|
1111
|
+
values?: string | undefined;
|
|
1112
|
+
"vector-effect"?: Numberish | undefined;
|
|
1113
|
+
version?: string | undefined;
|
|
1114
|
+
"vert-adv-y"?: Numberish | undefined;
|
|
1115
|
+
"vert-origin-x"?: Numberish | undefined;
|
|
1116
|
+
"vert-origin-y"?: Numberish | undefined;
|
|
1117
|
+
"v-hanging"?: Numberish | undefined;
|
|
1118
|
+
"v-ideographic"?: Numberish | undefined;
|
|
1119
|
+
viewBox?: string | undefined;
|
|
1120
|
+
viewTarget?: Numberish | undefined;
|
|
1121
|
+
visibility?: Numberish | undefined;
|
|
1122
|
+
"v-mathematical"?: Numberish | undefined;
|
|
1123
|
+
widths?: Numberish | undefined;
|
|
1124
|
+
"word-spacing"?: Numberish | undefined;
|
|
1125
|
+
"writing-mode"?: Numberish | undefined;
|
|
1126
|
+
x1?: Numberish | undefined;
|
|
1127
|
+
x2?: Numberish | undefined;
|
|
1128
|
+
x?: Numberish | undefined;
|
|
1129
|
+
xChannelSelector?: string | undefined;
|
|
1130
|
+
"x-height"?: Numberish | undefined;
|
|
1131
|
+
xlinkActuate?: string | undefined;
|
|
1132
|
+
xlinkArcrole?: string | undefined;
|
|
1133
|
+
xlinkHref?: string | undefined;
|
|
1134
|
+
xlinkRole?: string | undefined;
|
|
1135
|
+
xlinkShow?: string | undefined;
|
|
1136
|
+
xlinkTitle?: string | undefined;
|
|
1137
|
+
xlinkType?: string | undefined;
|
|
1138
|
+
xmlns?: string | undefined;
|
|
1139
|
+
xmlnsXlink?: string | undefined;
|
|
1140
|
+
y1?: Numberish | undefined;
|
|
1141
|
+
y2?: Numberish | undefined;
|
|
1142
|
+
y?: Numberish | undefined;
|
|
1143
|
+
yChannelSelector?: string | undefined;
|
|
1144
|
+
z?: Numberish | undefined;
|
|
1145
|
+
zoomAndPan?: string | undefined;
|
|
1132
1146
|
}
|
|
1133
1147
|
export interface IntrinsicElementAttributes {
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1148
|
+
a: AnchorHTMLAttributes;
|
|
1149
|
+
abbr: HTMLAttributes;
|
|
1150
|
+
address: HTMLAttributes;
|
|
1151
|
+
area: AreaHTMLAttributes;
|
|
1152
|
+
article: HTMLAttributes;
|
|
1153
|
+
aside: HTMLAttributes;
|
|
1154
|
+
audio: AudioHTMLAttributes;
|
|
1155
|
+
b: HTMLAttributes;
|
|
1156
|
+
base: BaseHTMLAttributes;
|
|
1157
|
+
bdi: HTMLAttributes;
|
|
1158
|
+
bdo: HTMLAttributes;
|
|
1159
|
+
blockquote: BlockquoteHTMLAttributes;
|
|
1160
|
+
body: HTMLAttributes;
|
|
1161
|
+
br: HTMLAttributes;
|
|
1162
|
+
button: ButtonHTMLAttributes;
|
|
1163
|
+
canvas: CanvasHTMLAttributes;
|
|
1164
|
+
caption: HTMLAttributes;
|
|
1165
|
+
cite: HTMLAttributes;
|
|
1166
|
+
code: HTMLAttributes;
|
|
1167
|
+
col: ColHTMLAttributes;
|
|
1168
|
+
colgroup: ColgroupHTMLAttributes;
|
|
1169
|
+
data: DataHTMLAttributes;
|
|
1170
|
+
datalist: HTMLAttributes;
|
|
1171
|
+
dd: HTMLAttributes;
|
|
1172
|
+
del: DelHTMLAttributes;
|
|
1173
|
+
details: DetailsHTMLAttributes;
|
|
1174
|
+
dfn: HTMLAttributes;
|
|
1175
|
+
dialog: DialogHTMLAttributes;
|
|
1176
|
+
div: HTMLAttributes;
|
|
1177
|
+
dl: HTMLAttributes;
|
|
1178
|
+
dt: HTMLAttributes;
|
|
1179
|
+
em: HTMLAttributes;
|
|
1180
|
+
embed: EmbedHTMLAttributes;
|
|
1181
|
+
fieldset: FieldsetHTMLAttributes;
|
|
1182
|
+
figcaption: HTMLAttributes;
|
|
1183
|
+
figure: HTMLAttributes;
|
|
1184
|
+
footer: HTMLAttributes;
|
|
1185
|
+
form: FormHTMLAttributes;
|
|
1186
|
+
h1: HTMLAttributes;
|
|
1187
|
+
h2: HTMLAttributes;
|
|
1188
|
+
h3: HTMLAttributes;
|
|
1189
|
+
h4: HTMLAttributes;
|
|
1190
|
+
h5: HTMLAttributes;
|
|
1191
|
+
h6: HTMLAttributes;
|
|
1192
|
+
head: HTMLAttributes;
|
|
1193
|
+
header: HTMLAttributes;
|
|
1194
|
+
hgroup: HTMLAttributes;
|
|
1195
|
+
hr: HTMLAttributes;
|
|
1196
|
+
html: HtmlHTMLAttributes;
|
|
1197
|
+
i: HTMLAttributes;
|
|
1198
|
+
iframe: IframeHTMLAttributes;
|
|
1199
|
+
img: ImgHTMLAttributes;
|
|
1200
|
+
input: InputHTMLAttributes;
|
|
1201
|
+
ins: InsHTMLAttributes;
|
|
1202
|
+
kbd: HTMLAttributes;
|
|
1203
|
+
keygen: KeygenHTMLAttributes;
|
|
1204
|
+
label: LabelHTMLAttributes;
|
|
1205
|
+
legend: HTMLAttributes;
|
|
1206
|
+
li: LiHTMLAttributes;
|
|
1207
|
+
link: LinkHTMLAttributes;
|
|
1208
|
+
main: HTMLAttributes;
|
|
1209
|
+
map: MapHTMLAttributes;
|
|
1210
|
+
mark: HTMLAttributes;
|
|
1211
|
+
menu: MenuHTMLAttributes;
|
|
1212
|
+
meta: MetaHTMLAttributes;
|
|
1213
|
+
meter: MeterHTMLAttributes;
|
|
1214
|
+
nav: HTMLAttributes;
|
|
1215
|
+
noindex: HTMLAttributes;
|
|
1216
|
+
noscript: HTMLAttributes;
|
|
1217
|
+
object: ObjectHTMLAttributes;
|
|
1218
|
+
ol: OlHTMLAttributes;
|
|
1219
|
+
optgroup: OptgroupHTMLAttributes;
|
|
1220
|
+
option: OptionHTMLAttributes;
|
|
1221
|
+
output: OutputHTMLAttributes;
|
|
1222
|
+
p: HTMLAttributes;
|
|
1223
|
+
param: ParamHTMLAttributes;
|
|
1224
|
+
picture: HTMLAttributes;
|
|
1225
|
+
pre: HTMLAttributes;
|
|
1226
|
+
progress: ProgressHTMLAttributes;
|
|
1227
|
+
q: QuoteHTMLAttributes;
|
|
1228
|
+
rp: HTMLAttributes;
|
|
1229
|
+
rt: HTMLAttributes;
|
|
1230
|
+
ruby: HTMLAttributes;
|
|
1231
|
+
s: HTMLAttributes;
|
|
1232
|
+
samp: HTMLAttributes;
|
|
1233
|
+
script: ScriptHTMLAttributes;
|
|
1234
|
+
section: HTMLAttributes;
|
|
1235
|
+
select: SelectHTMLAttributes;
|
|
1236
|
+
small: HTMLAttributes;
|
|
1237
|
+
source: SourceHTMLAttributes;
|
|
1238
|
+
span: HTMLAttributes;
|
|
1239
|
+
strong: HTMLAttributes;
|
|
1240
|
+
style: StyleHTMLAttributes;
|
|
1241
|
+
sub: HTMLAttributes;
|
|
1242
|
+
summary: HTMLAttributes;
|
|
1243
|
+
sup: HTMLAttributes;
|
|
1244
|
+
table: TableHTMLAttributes;
|
|
1245
|
+
template: HTMLAttributes;
|
|
1246
|
+
tbody: HTMLAttributes;
|
|
1247
|
+
td: TdHTMLAttributes;
|
|
1248
|
+
textarea: TextareaHTMLAttributes;
|
|
1249
|
+
tfoot: HTMLAttributes;
|
|
1250
|
+
th: ThHTMLAttributes;
|
|
1251
|
+
thead: HTMLAttributes;
|
|
1252
|
+
time: TimeHTMLAttributes;
|
|
1253
|
+
title: HTMLAttributes;
|
|
1254
|
+
tr: HTMLAttributes;
|
|
1255
|
+
track: TrackHTMLAttributes;
|
|
1256
|
+
u: HTMLAttributes;
|
|
1257
|
+
ul: HTMLAttributes;
|
|
1258
|
+
var: HTMLAttributes;
|
|
1259
|
+
video: VideoHTMLAttributes;
|
|
1260
|
+
wbr: HTMLAttributes;
|
|
1261
|
+
webview: WebViewHTMLAttributes;
|
|
1262
|
+
svg: SVGAttributes;
|
|
1263
|
+
animate: SVGAttributes;
|
|
1264
|
+
animateMotion: SVGAttributes;
|
|
1265
|
+
animateTransform: SVGAttributes;
|
|
1266
|
+
circle: SVGAttributes;
|
|
1267
|
+
clipPath: SVGAttributes;
|
|
1268
|
+
defs: SVGAttributes;
|
|
1269
|
+
desc: SVGAttributes;
|
|
1270
|
+
ellipse: SVGAttributes;
|
|
1271
|
+
feBlend: SVGAttributes;
|
|
1272
|
+
feColorMatrix: SVGAttributes;
|
|
1273
|
+
feComponentTransfer: SVGAttributes;
|
|
1274
|
+
feComposite: SVGAttributes;
|
|
1275
|
+
feConvolveMatrix: SVGAttributes;
|
|
1276
|
+
feDiffuseLighting: SVGAttributes;
|
|
1277
|
+
feDisplacementMap: SVGAttributes;
|
|
1278
|
+
feDistantLight: SVGAttributes;
|
|
1279
|
+
feDropShadow: SVGAttributes;
|
|
1280
|
+
feFlood: SVGAttributes;
|
|
1281
|
+
feFuncA: SVGAttributes;
|
|
1282
|
+
feFuncB: SVGAttributes;
|
|
1283
|
+
feFuncG: SVGAttributes;
|
|
1284
|
+
feFuncR: SVGAttributes;
|
|
1285
|
+
feGaussianBlur: SVGAttributes;
|
|
1286
|
+
feImage: SVGAttributes;
|
|
1287
|
+
feMerge: SVGAttributes;
|
|
1288
|
+
feMergeNode: SVGAttributes;
|
|
1289
|
+
feMorphology: SVGAttributes;
|
|
1290
|
+
feOffset: SVGAttributes;
|
|
1291
|
+
fePointLight: SVGAttributes;
|
|
1292
|
+
feSpecularLighting: SVGAttributes;
|
|
1293
|
+
feSpotLight: SVGAttributes;
|
|
1294
|
+
feTile: SVGAttributes;
|
|
1295
|
+
feTurbulence: SVGAttributes;
|
|
1296
|
+
filter: SVGAttributes;
|
|
1297
|
+
foreignObject: SVGAttributes;
|
|
1298
|
+
g: SVGAttributes;
|
|
1299
|
+
image: SVGAttributes;
|
|
1300
|
+
line: SVGAttributes;
|
|
1301
|
+
linearGradient: SVGAttributes;
|
|
1302
|
+
marker: SVGAttributes;
|
|
1303
|
+
mask: SVGAttributes;
|
|
1304
|
+
metadata: SVGAttributes;
|
|
1305
|
+
mpath: SVGAttributes;
|
|
1306
|
+
path: SVGAttributes;
|
|
1307
|
+
pattern: SVGAttributes;
|
|
1308
|
+
polygon: SVGAttributes;
|
|
1309
|
+
polyline: SVGAttributes;
|
|
1310
|
+
radialGradient: SVGAttributes;
|
|
1311
|
+
rect: SVGAttributes;
|
|
1312
|
+
set: SVGAttributes;
|
|
1313
|
+
stop: SVGAttributes;
|
|
1314
|
+
switch: SVGAttributes;
|
|
1315
|
+
symbol: SVGAttributes;
|
|
1316
|
+
text: SVGAttributes;
|
|
1317
|
+
textPath: SVGAttributes;
|
|
1318
|
+
tspan: SVGAttributes;
|
|
1319
|
+
use: SVGAttributes;
|
|
1320
|
+
view: SVGAttributes;
|
|
1307
1321
|
}
|
|
1308
1322
|
export interface Events {
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
}
|
|
1404
|
-
type EventHandlers<E> = {
|
|
1405
|
-
[K in keyof E]?: E[K] extends (...args: any) => any ? E[K] : (payload: E[K]) => void;
|
|
1406
|
-
};
|
|
1407
|
-
|
|
1323
|
+
onCopy: ClipboardEvent;
|
|
1324
|
+
onCut: ClipboardEvent;
|
|
1325
|
+
onPaste: ClipboardEvent;
|
|
1326
|
+
onCompositionend: CompositionEvent;
|
|
1327
|
+
onCompositionstart: CompositionEvent;
|
|
1328
|
+
onCompositionupdate: CompositionEvent;
|
|
1329
|
+
onDrag: DragEvent;
|
|
1330
|
+
onDragend: DragEvent;
|
|
1331
|
+
onDragenter: DragEvent;
|
|
1332
|
+
onDragexit: DragEvent;
|
|
1333
|
+
onDragleave: DragEvent;
|
|
1334
|
+
onDragover: DragEvent;
|
|
1335
|
+
onDragstart: DragEvent;
|
|
1336
|
+
onDrop: DragEvent;
|
|
1337
|
+
onFocus: FocusEvent;
|
|
1338
|
+
onFocusin: FocusEvent;
|
|
1339
|
+
onFocusout: FocusEvent;
|
|
1340
|
+
onBlur: FocusEvent;
|
|
1341
|
+
onChange: Event;
|
|
1342
|
+
onBeforeinput: InputEvent;
|
|
1343
|
+
onFormdata: FormDataEvent;
|
|
1344
|
+
onInput: InputEvent;
|
|
1345
|
+
onReset: Event;
|
|
1346
|
+
onSubmit: SubmitEvent;
|
|
1347
|
+
onInvalid: Event;
|
|
1348
|
+
onFullscreenchange: Event;
|
|
1349
|
+
onFullscreenerror: Event;
|
|
1350
|
+
onLoad: Event;
|
|
1351
|
+
onError: Event;
|
|
1352
|
+
onKeydown: KeyboardEvent;
|
|
1353
|
+
onKeypress: KeyboardEvent;
|
|
1354
|
+
onKeyup: KeyboardEvent;
|
|
1355
|
+
onDblclick: MouseEvent;
|
|
1356
|
+
onMousedown: MouseEvent;
|
|
1357
|
+
onMouseenter: MouseEvent;
|
|
1358
|
+
onMouseleave: MouseEvent;
|
|
1359
|
+
onMousemove: MouseEvent;
|
|
1360
|
+
onMouseout: MouseEvent;
|
|
1361
|
+
onMouseover: MouseEvent;
|
|
1362
|
+
onMouseup: MouseEvent;
|
|
1363
|
+
onAbort: UIEvent;
|
|
1364
|
+
onCanplay: Event;
|
|
1365
|
+
onCanplaythrough: Event;
|
|
1366
|
+
onDurationchange: Event;
|
|
1367
|
+
onEmptied: Event;
|
|
1368
|
+
onEncrypted: MediaEncryptedEvent;
|
|
1369
|
+
onEnded: Event;
|
|
1370
|
+
onLoadeddata: Event;
|
|
1371
|
+
onLoadedmetadata: Event;
|
|
1372
|
+
onLoadstart: Event;
|
|
1373
|
+
onPause: Event;
|
|
1374
|
+
onPlay: Event;
|
|
1375
|
+
onPlaying: Event;
|
|
1376
|
+
onProgress: ProgressEvent;
|
|
1377
|
+
onRatechange: Event;
|
|
1378
|
+
onSeeked: Event;
|
|
1379
|
+
onSeeking: Event;
|
|
1380
|
+
onStalled: Event;
|
|
1381
|
+
onSuspend: Event;
|
|
1382
|
+
onTimeupdate: Event;
|
|
1383
|
+
onVolumechange: Event;
|
|
1384
|
+
onWaiting: Event;
|
|
1385
|
+
onSelect: Event;
|
|
1386
|
+
onScroll: Event;
|
|
1387
|
+
onScrollend: Event;
|
|
1388
|
+
onTouchcancel: TouchEvent;
|
|
1389
|
+
onTouchend: TouchEvent;
|
|
1390
|
+
onTouchmove: TouchEvent;
|
|
1391
|
+
onTouchstart: TouchEvent;
|
|
1392
|
+
onAuxclick: PointerEvent;
|
|
1393
|
+
onClick: PointerEvent;
|
|
1394
|
+
onContextmenu: PointerEvent;
|
|
1395
|
+
onGotpointercapture: PointerEvent;
|
|
1396
|
+
onLostpointercapture: PointerEvent;
|
|
1397
|
+
onPointerdown: PointerEvent;
|
|
1398
|
+
onPointermove: PointerEvent;
|
|
1399
|
+
onPointerup: PointerEvent;
|
|
1400
|
+
onPointercancel: PointerEvent;
|
|
1401
|
+
onPointerenter: PointerEvent;
|
|
1402
|
+
onPointerleave: PointerEvent;
|
|
1403
|
+
onPointerover: PointerEvent;
|
|
1404
|
+
onPointerout: PointerEvent;
|
|
1405
|
+
onBeforetoggle: ToggleEvent;
|
|
1406
|
+
onToggle: ToggleEvent;
|
|
1407
|
+
onWheel: WheelEvent;
|
|
1408
|
+
onAnimationcancel: AnimationEvent;
|
|
1409
|
+
onAnimationstart: AnimationEvent;
|
|
1410
|
+
onAnimationend: AnimationEvent;
|
|
1411
|
+
onAnimationiteration: AnimationEvent;
|
|
1412
|
+
onSecuritypolicyviolation: SecurityPolicyViolationEvent;
|
|
1413
|
+
onTransitioncancel: TransitionEvent;
|
|
1414
|
+
onTransitionend: TransitionEvent;
|
|
1415
|
+
onTransitionrun: TransitionEvent;
|
|
1416
|
+
onTransitionstart: TransitionEvent;
|
|
1417
|
+
}
|
|
1418
|
+
type EventHandlers<E> = { [K in keyof E]?: E[K] extends ((...args: any) => any) ? E[K] : (payload: E[K]) => void };
|
|
1408
1419
|
export interface ReservedProps {
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
}
|
|
1414
|
-
export type NativeElements = {
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1420
|
+
key?: PropertyKey | undefined;
|
|
1421
|
+
ref?: VNodeRef | undefined;
|
|
1422
|
+
ref_for?: boolean | undefined;
|
|
1423
|
+
ref_key?: string | undefined;
|
|
1424
|
+
}
|
|
1425
|
+
export type NativeElements = { [K in keyof IntrinsicElementAttributes]: IntrinsicElementAttributes[K] & ReservedProps };
|
|
1426
|
+
//#endregion
|
|
1427
|
+
//#region temp/packages/runtime-dom/src/index.d.ts
|
|
1418
1428
|
/**
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1429
|
+
* This is a stub implementation to prevent the need to use dom types.
|
|
1430
|
+
*
|
|
1431
|
+
* To enable proper types, add `"dom"` to `"lib"` in your `tsconfig.json`.
|
|
1432
|
+
*/
|
|
1423
1433
|
type DomType<T> = typeof globalThis extends {
|
|
1424
|
-
|
|
1434
|
+
window: unknown;
|
|
1425
1435
|
} ? T : never;
|
|
1426
|
-
declare module
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
}
|
|
1431
|
-
declare module
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1436
|
+
declare module "@vue/reactivity" {
|
|
1437
|
+
interface RefUnwrapBailTypes {
|
|
1438
|
+
runtimeDOMBailTypes: DomType<Node | Window>;
|
|
1439
|
+
}
|
|
1440
|
+
}
|
|
1441
|
+
declare module "@vue/runtime-core" {
|
|
1442
|
+
interface GlobalComponents {
|
|
1443
|
+
Transition: DefineComponent<TransitionProps>;
|
|
1444
|
+
TransitionGroup: DefineComponent<TransitionGroupProps>;
|
|
1445
|
+
}
|
|
1446
|
+
interface GlobalDirectives {
|
|
1447
|
+
vShow: typeof vShow;
|
|
1448
|
+
vOn: VOnDirective;
|
|
1449
|
+
vBind: VModelDirective;
|
|
1450
|
+
vIf: Directive<any, boolean>;
|
|
1451
|
+
vOnce: Directive;
|
|
1452
|
+
vSlot: Directive;
|
|
1453
|
+
}
|
|
1444
1454
|
}
|
|
1445
1455
|
export declare const render: RootRenderFunction<Element | ShadowRoot>;
|
|
1446
1456
|
export declare const hydrate: RootHydrateFunction;
|
|
1447
1457
|
export declare const createApp: CreateAppFunction<Element, Component>;
|
|
1448
1458
|
export declare const createSSRApp: CreateAppFunction<Element>;
|
|
1449
|
-
|
|
1450
|
-
|
|
1459
|
+
//#endregion
|