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