@vue/runtime-dom 3.6.0-alpha.2 → 3.6.0-alpha.3
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 +133 -74
- package/dist/runtime-dom.cjs.prod.js +133 -71
- package/dist/runtime-dom.d.ts +655 -641
- package/dist/runtime-dom.esm-browser.js +824 -527
- package/dist/runtime-dom.esm-browser.prod.js +4 -3
- package/dist/runtime-dom.esm-bundler.js +136 -77
- package/dist/runtime-dom.global.js +824 -527
- package/dist/runtime-dom.global.prod.js +4 -3
- package/package.json +4 -4
package/dist/runtime-dom.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ interface VShowElement extends HTMLElement {
|
|
|
46
46
|
[vShowHidden]?: boolean;
|
|
47
47
|
}
|
|
48
48
|
export declare const vShow: ObjectDirective<VShowElement> & {
|
|
49
|
-
name
|
|
49
|
+
name: 'show';
|
|
50
50
|
};
|
|
51
51
|
|
|
52
52
|
declare const systemModifiers: readonly ["ctrl", "shift", "alt", "meta"];
|
|
@@ -92,6 +92,7 @@ export type VueElementConstructor<P = {}> = {
|
|
|
92
92
|
export interface CustomElementOptions {
|
|
93
93
|
styles?: string[];
|
|
94
94
|
shadowRoot?: boolean;
|
|
95
|
+
shadowRootOptions?: Omit<ShadowRootInit, 'mode'>;
|
|
95
96
|
nonce?: string;
|
|
96
97
|
configureApp?: (app: App) => void;
|
|
97
98
|
}
|
|
@@ -110,7 +111,6 @@ InjectOptions, InjectKeys, Slots, LocalComponents, Directives, Exposed, Provide>
|
|
|
110
111
|
export declare function defineCustomElement<T extends {
|
|
111
112
|
new (...args: any[]): ComponentPublicInstance<any>;
|
|
112
113
|
}>(options: T, extraOptions?: CustomElementOptions): VueElementConstructor<T extends DefineComponent<infer P, any, any, any> ? P : unknown>;
|
|
113
|
-
/*! #__NO_SIDE_EFFECTS__ */
|
|
114
114
|
export declare const defineSSRCustomElement: typeof defineCustomElement;
|
|
115
115
|
declare const BaseClass: typeof HTMLElement;
|
|
116
116
|
type InnerComponentDef = ConcreteComponent & CustomElementOptions;
|
|
@@ -125,6 +125,8 @@ export declare class VueElement extends BaseClass implements ComponentCustomElem
|
|
|
125
125
|
_isVueCE: boolean;
|
|
126
126
|
private _connected;
|
|
127
127
|
private _resolved;
|
|
128
|
+
private _patching;
|
|
129
|
+
private _dirty;
|
|
128
130
|
private _numberProps;
|
|
129
131
|
private _styleChildren;
|
|
130
132
|
private _pendingResolve;
|
|
@@ -149,6 +151,7 @@ export declare class VueElement extends BaseClass implements ComponentCustomElem
|
|
|
149
151
|
private _setParent;
|
|
150
152
|
private _inheritParentContext;
|
|
151
153
|
disconnectedCallback(): void;
|
|
154
|
+
private _processMutations;
|
|
152
155
|
/**
|
|
153
156
|
* resolve inner component definition (handle possible async component)
|
|
154
157
|
*/
|
|
@@ -198,895 +201,896 @@ type Booleanish = boolean | 'true' | 'false';
|
|
|
198
201
|
type Numberish = number | string;
|
|
199
202
|
export interface AriaAttributes {
|
|
200
203
|
/** Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application. */
|
|
201
|
-
'aria-activedescendant'?: string;
|
|
204
|
+
'aria-activedescendant'?: string | undefined;
|
|
202
205
|
/** 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. */
|
|
203
|
-
'aria-atomic'?: Booleanish;
|
|
206
|
+
'aria-atomic'?: Booleanish | undefined;
|
|
204
207
|
/**
|
|
205
208
|
* 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
|
|
206
209
|
* presented if they are made.
|
|
207
210
|
*/
|
|
208
|
-
'aria-autocomplete'?: 'none' | 'inline' | 'list' | 'both';
|
|
211
|
+
'aria-autocomplete'?: 'none' | 'inline' | 'list' | 'both' | undefined;
|
|
209
212
|
/** 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. */
|
|
210
|
-
'aria-busy'?: Booleanish;
|
|
213
|
+
'aria-busy'?: Booleanish | undefined;
|
|
211
214
|
/**
|
|
212
215
|
* Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
|
|
213
216
|
* @see aria-pressed @see aria-selected.
|
|
214
217
|
*/
|
|
215
|
-
'aria-checked'?: Booleanish | 'mixed';
|
|
218
|
+
'aria-checked'?: Booleanish | 'mixed' | undefined;
|
|
216
219
|
/**
|
|
217
220
|
* Defines the total number of columns in a table, grid, or treegrid.
|
|
218
221
|
* @see aria-colindex.
|
|
219
222
|
*/
|
|
220
|
-
'aria-colcount'?: Numberish;
|
|
223
|
+
'aria-colcount'?: Numberish | undefined;
|
|
221
224
|
/**
|
|
222
225
|
* Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
|
|
223
226
|
* @see aria-colcount @see aria-colspan.
|
|
224
227
|
*/
|
|
225
|
-
'aria-colindex'?: Numberish;
|
|
228
|
+
'aria-colindex'?: Numberish | undefined;
|
|
226
229
|
/**
|
|
227
230
|
* Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
228
231
|
* @see aria-colindex @see aria-rowspan.
|
|
229
232
|
*/
|
|
230
|
-
'aria-colspan'?: Numberish;
|
|
233
|
+
'aria-colspan'?: Numberish | undefined;
|
|
231
234
|
/**
|
|
232
235
|
* Identifies the element (or elements) whose contents or presence are controlled by the current element.
|
|
233
236
|
* @see aria-owns.
|
|
234
237
|
*/
|
|
235
|
-
'aria-controls'?: string;
|
|
238
|
+
'aria-controls'?: string | undefined;
|
|
236
239
|
/** Indicates the element that represents the current item within a container or set of related elements. */
|
|
237
|
-
'aria-current'?: Booleanish | 'page' | 'step' | 'location' | 'date' | 'time';
|
|
240
|
+
'aria-current'?: Booleanish | 'page' | 'step' | 'location' | 'date' | 'time' | undefined;
|
|
238
241
|
/**
|
|
239
242
|
* Identifies the element (or elements) that describes the object.
|
|
240
243
|
* @see aria-labelledby
|
|
241
244
|
*/
|
|
242
|
-
'aria-describedby'?: string;
|
|
245
|
+
'aria-describedby'?: string | undefined;
|
|
243
246
|
/**
|
|
244
247
|
* Identifies the element that provides a detailed, extended description for the object.
|
|
245
248
|
* @see aria-describedby.
|
|
246
249
|
*/
|
|
247
|
-
'aria-details'?: string;
|
|
250
|
+
'aria-details'?: string | undefined;
|
|
248
251
|
/**
|
|
249
252
|
* Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
|
|
250
253
|
* @see aria-hidden @see aria-readonly.
|
|
251
254
|
*/
|
|
252
|
-
'aria-disabled'?: Booleanish;
|
|
255
|
+
'aria-disabled'?: Booleanish | undefined;
|
|
253
256
|
/**
|
|
254
257
|
* Indicates what functions can be performed when a dragged object is released on the drop target.
|
|
255
258
|
* @deprecated in ARIA 1.1
|
|
256
259
|
*/
|
|
257
|
-
'aria-dropeffect'?: 'none' | 'copy' | 'execute' | 'link' | 'move' | 'popup';
|
|
260
|
+
'aria-dropeffect'?: 'none' | 'copy' | 'execute' | 'link' | 'move' | 'popup' | undefined;
|
|
258
261
|
/**
|
|
259
262
|
* Identifies the element that provides an error message for the object.
|
|
260
263
|
* @see aria-invalid @see aria-describedby.
|
|
261
264
|
*/
|
|
262
|
-
'aria-errormessage'?: string;
|
|
265
|
+
'aria-errormessage'?: string | undefined;
|
|
263
266
|
/** Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed. */
|
|
264
|
-
'aria-expanded'?: Booleanish;
|
|
267
|
+
'aria-expanded'?: Booleanish | undefined;
|
|
265
268
|
/**
|
|
266
269
|
* Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
|
|
267
270
|
* allows assistive technology to override the general default of reading in document source order.
|
|
268
271
|
*/
|
|
269
|
-
'aria-flowto'?: string;
|
|
272
|
+
'aria-flowto'?: string | undefined;
|
|
270
273
|
/**
|
|
271
274
|
* Indicates an element's "grabbed" state in a drag-and-drop operation.
|
|
272
275
|
* @deprecated in ARIA 1.1
|
|
273
276
|
*/
|
|
274
|
-
'aria-grabbed'?: Booleanish;
|
|
277
|
+
'aria-grabbed'?: Booleanish | undefined;
|
|
275
278
|
/** Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. */
|
|
276
|
-
'aria-haspopup'?: Booleanish | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
|
|
279
|
+
'aria-haspopup'?: Booleanish | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog' | undefined;
|
|
277
280
|
/**
|
|
278
281
|
* Indicates whether the element is exposed to an accessibility API.
|
|
279
282
|
* @see aria-disabled.
|
|
280
283
|
*/
|
|
281
|
-
'aria-hidden'?: Booleanish;
|
|
284
|
+
'aria-hidden'?: Booleanish | undefined;
|
|
282
285
|
/**
|
|
283
286
|
* Indicates the entered value does not conform to the format expected by the application.
|
|
284
287
|
* @see aria-errormessage.
|
|
285
288
|
*/
|
|
286
|
-
'aria-invalid'?: Booleanish | 'grammar' | 'spelling';
|
|
289
|
+
'aria-invalid'?: Booleanish | 'grammar' | 'spelling' | undefined;
|
|
287
290
|
/** Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element. */
|
|
288
|
-
'aria-keyshortcuts'?: string;
|
|
291
|
+
'aria-keyshortcuts'?: string | undefined;
|
|
289
292
|
/**
|
|
290
293
|
* Defines a string value that labels the current element.
|
|
291
294
|
* @see aria-labelledby.
|
|
292
295
|
*/
|
|
293
|
-
'aria-label'?: string;
|
|
296
|
+
'aria-label'?: string | undefined;
|
|
294
297
|
/**
|
|
295
298
|
* Identifies the element (or elements) that labels the current element.
|
|
296
299
|
* @see aria-describedby.
|
|
297
300
|
*/
|
|
298
|
-
'aria-labelledby'?: string;
|
|
301
|
+
'aria-labelledby'?: string | undefined;
|
|
299
302
|
/** Defines the hierarchical level of an element within a structure. */
|
|
300
|
-
'aria-level'?: Numberish;
|
|
303
|
+
'aria-level'?: Numberish | undefined;
|
|
301
304
|
/** 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. */
|
|
302
|
-
'aria-live'?: 'off' | 'assertive' | 'polite';
|
|
305
|
+
'aria-live'?: 'off' | 'assertive' | 'polite' | undefined;
|
|
303
306
|
/** Indicates whether an element is modal when displayed. */
|
|
304
|
-
'aria-modal'?: Booleanish;
|
|
307
|
+
'aria-modal'?: Booleanish | undefined;
|
|
305
308
|
/** Indicates whether a text box accepts multiple lines of input or only a single line. */
|
|
306
|
-
'aria-multiline'?: Booleanish;
|
|
309
|
+
'aria-multiline'?: Booleanish | undefined;
|
|
307
310
|
/** Indicates that the user may select more than one item from the current selectable descendants. */
|
|
308
|
-
'aria-multiselectable'?: Booleanish;
|
|
311
|
+
'aria-multiselectable'?: Booleanish | undefined;
|
|
309
312
|
/** Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. */
|
|
310
|
-
'aria-orientation'?: 'horizontal' | 'vertical';
|
|
313
|
+
'aria-orientation'?: 'horizontal' | 'vertical' | undefined;
|
|
311
314
|
/**
|
|
312
315
|
* Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship
|
|
313
316
|
* between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
|
|
314
317
|
* @see aria-controls.
|
|
315
318
|
*/
|
|
316
|
-
'aria-owns'?: string;
|
|
319
|
+
'aria-owns'?: string | undefined;
|
|
317
320
|
/**
|
|
318
321
|
* Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.
|
|
319
322
|
* A hint could be a sample value or a brief description of the expected format.
|
|
320
323
|
*/
|
|
321
|
-
'aria-placeholder'?: string;
|
|
324
|
+
'aria-placeholder'?: string | undefined;
|
|
322
325
|
/**
|
|
323
326
|
* 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.
|
|
324
327
|
* @see aria-setsize.
|
|
325
328
|
*/
|
|
326
|
-
'aria-posinset'?: Numberish;
|
|
329
|
+
'aria-posinset'?: Numberish | undefined;
|
|
327
330
|
/**
|
|
328
331
|
* Indicates the current "pressed" state of toggle buttons.
|
|
329
332
|
* @see aria-checked @see aria-selected.
|
|
330
333
|
*/
|
|
331
|
-
'aria-pressed'?: Booleanish | 'mixed';
|
|
334
|
+
'aria-pressed'?: Booleanish | 'mixed' | undefined;
|
|
332
335
|
/**
|
|
333
336
|
* Indicates that the element is not editable, but is otherwise operable.
|
|
334
337
|
* @see aria-disabled.
|
|
335
338
|
*/
|
|
336
|
-
'aria-readonly'?: Booleanish;
|
|
339
|
+
'aria-readonly'?: Booleanish | undefined;
|
|
337
340
|
/**
|
|
338
341
|
* Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
|
|
339
342
|
* @see aria-atomic.
|
|
340
343
|
*/
|
|
341
|
-
'aria-relevant'?: 'additions' | 'additions removals' | 'additions text' | 'all' | 'removals' | 'removals additions' | 'removals text' | 'text' | 'text additions' | 'text removals';
|
|
344
|
+
'aria-relevant'?: 'additions' | 'additions removals' | 'additions text' | 'all' | 'removals' | 'removals additions' | 'removals text' | 'text' | 'text additions' | 'text removals' | undefined;
|
|
342
345
|
/** Indicates that user input is required on the element before a form may be submitted. */
|
|
343
|
-
'aria-required'?: Booleanish;
|
|
346
|
+
'aria-required'?: Booleanish | undefined;
|
|
344
347
|
/** Defines a human-readable, author-localized description for the role of an element. */
|
|
345
|
-
'aria-roledescription'?: string;
|
|
348
|
+
'aria-roledescription'?: string | undefined;
|
|
346
349
|
/**
|
|
347
350
|
* Defines the total number of rows in a table, grid, or treegrid.
|
|
348
351
|
* @see aria-rowindex.
|
|
349
352
|
*/
|
|
350
|
-
'aria-rowcount'?: Numberish;
|
|
353
|
+
'aria-rowcount'?: Numberish | undefined;
|
|
351
354
|
/**
|
|
352
355
|
* Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
|
|
353
356
|
* @see aria-rowcount @see aria-rowspan.
|
|
354
357
|
*/
|
|
355
|
-
'aria-rowindex'?: Numberish;
|
|
358
|
+
'aria-rowindex'?: Numberish | undefined;
|
|
356
359
|
/**
|
|
357
360
|
* Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
358
361
|
* @see aria-rowindex @see aria-colspan.
|
|
359
362
|
*/
|
|
360
|
-
'aria-rowspan'?: Numberish;
|
|
363
|
+
'aria-rowspan'?: Numberish | undefined;
|
|
361
364
|
/**
|
|
362
365
|
* Indicates the current "selected" state of various widgets.
|
|
363
366
|
* @see aria-checked @see aria-pressed.
|
|
364
367
|
*/
|
|
365
|
-
'aria-selected'?: Booleanish;
|
|
368
|
+
'aria-selected'?: Booleanish | undefined;
|
|
366
369
|
/**
|
|
367
370
|
* 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.
|
|
368
371
|
* @see aria-posinset.
|
|
369
372
|
*/
|
|
370
|
-
'aria-setsize'?: Numberish;
|
|
373
|
+
'aria-setsize'?: Numberish | undefined;
|
|
371
374
|
/** Indicates if items in a table or grid are sorted in ascending or descending order. */
|
|
372
|
-
'aria-sort'?: 'none' | 'ascending' | 'descending' | 'other';
|
|
375
|
+
'aria-sort'?: 'none' | 'ascending' | 'descending' | 'other' | undefined;
|
|
373
376
|
/** Defines the maximum allowed value for a range widget. */
|
|
374
|
-
'aria-valuemax'?: Numberish;
|
|
377
|
+
'aria-valuemax'?: Numberish | undefined;
|
|
375
378
|
/** Defines the minimum allowed value for a range widget. */
|
|
376
|
-
'aria-valuemin'?: Numberish;
|
|
379
|
+
'aria-valuemin'?: Numberish | undefined;
|
|
377
380
|
/**
|
|
378
381
|
* Defines the current value for a range widget.
|
|
379
382
|
* @see aria-valuetext.
|
|
380
383
|
*/
|
|
381
|
-
'aria-valuenow'?: Numberish;
|
|
384
|
+
'aria-valuenow'?: Numberish | undefined;
|
|
382
385
|
/** Defines the human readable text alternative of aria-valuenow for a range widget. */
|
|
383
|
-
'aria-valuetext'?: string;
|
|
386
|
+
'aria-valuetext'?: string | undefined;
|
|
384
387
|
}
|
|
385
388
|
export type StyleValue = false | null | undefined | string | CSSProperties | Array<StyleValue>;
|
|
386
389
|
export interface HTMLAttributes extends AriaAttributes, EventHandlers<Events> {
|
|
387
|
-
innerHTML?: string;
|
|
390
|
+
innerHTML?: string | undefined;
|
|
388
391
|
class?: any;
|
|
389
|
-
style?: StyleValue;
|
|
390
|
-
accesskey?: string;
|
|
391
|
-
contenteditable?: Booleanish | 'inherit' | 'plaintext-only';
|
|
392
|
-
contextmenu?: string;
|
|
393
|
-
dir?: string;
|
|
394
|
-
draggable?: Booleanish;
|
|
395
|
-
hidden?: Booleanish | '' | 'hidden' | 'until-found';
|
|
396
|
-
id?: string;
|
|
397
|
-
inert?: Booleanish;
|
|
398
|
-
lang?: string;
|
|
399
|
-
placeholder?: string;
|
|
400
|
-
spellcheck?: Booleanish;
|
|
401
|
-
tabindex?: Numberish;
|
|
402
|
-
title?: string;
|
|
403
|
-
translate?: 'yes' | 'no';
|
|
404
|
-
radiogroup?: string;
|
|
405
|
-
role?: string;
|
|
406
|
-
about?: string;
|
|
407
|
-
datatype?: string;
|
|
392
|
+
style?: StyleValue | undefined;
|
|
393
|
+
accesskey?: string | undefined;
|
|
394
|
+
contenteditable?: Booleanish | 'inherit' | 'plaintext-only' | undefined;
|
|
395
|
+
contextmenu?: string | undefined;
|
|
396
|
+
dir?: string | undefined;
|
|
397
|
+
draggable?: Booleanish | undefined;
|
|
398
|
+
hidden?: Booleanish | '' | 'hidden' | 'until-found' | undefined;
|
|
399
|
+
id?: string | undefined;
|
|
400
|
+
inert?: Booleanish | undefined;
|
|
401
|
+
lang?: string | undefined;
|
|
402
|
+
placeholder?: string | undefined;
|
|
403
|
+
spellcheck?: Booleanish | undefined;
|
|
404
|
+
tabindex?: Numberish | undefined;
|
|
405
|
+
title?: string | undefined;
|
|
406
|
+
translate?: 'yes' | 'no' | undefined;
|
|
407
|
+
radiogroup?: string | undefined;
|
|
408
|
+
role?: string | undefined;
|
|
409
|
+
about?: string | undefined;
|
|
410
|
+
datatype?: string | undefined;
|
|
408
411
|
inlist?: any;
|
|
409
|
-
prefix?: string;
|
|
410
|
-
property?: string;
|
|
411
|
-
resource?: string;
|
|
412
|
-
typeof?: string;
|
|
413
|
-
vocab?: string;
|
|
414
|
-
autocapitalize?: string;
|
|
415
|
-
autocorrect?: string;
|
|
416
|
-
autosave?: string;
|
|
417
|
-
color?: string;
|
|
418
|
-
itemprop?: string;
|
|
419
|
-
itemscope?: Booleanish;
|
|
420
|
-
itemtype?: string;
|
|
421
|
-
itemid?: string;
|
|
422
|
-
itemref?: string;
|
|
423
|
-
results?: Numberish;
|
|
424
|
-
security?: string;
|
|
425
|
-
unselectable?: 'on' | 'off';
|
|
412
|
+
prefix?: string | undefined;
|
|
413
|
+
property?: string | undefined;
|
|
414
|
+
resource?: string | undefined;
|
|
415
|
+
typeof?: string | undefined;
|
|
416
|
+
vocab?: string | undefined;
|
|
417
|
+
autocapitalize?: string | undefined;
|
|
418
|
+
autocorrect?: string | undefined;
|
|
419
|
+
autosave?: string | undefined;
|
|
420
|
+
color?: string | undefined;
|
|
421
|
+
itemprop?: string | undefined;
|
|
422
|
+
itemscope?: Booleanish | undefined;
|
|
423
|
+
itemtype?: string | undefined;
|
|
424
|
+
itemid?: string | undefined;
|
|
425
|
+
itemref?: string | undefined;
|
|
426
|
+
results?: Numberish | undefined;
|
|
427
|
+
security?: string | undefined;
|
|
428
|
+
unselectable?: 'on' | 'off' | undefined;
|
|
426
429
|
/**
|
|
427
430
|
* Hints at the type of data that might be entered by the user while editing the element or its contents
|
|
428
431
|
* @see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute
|
|
429
432
|
*/
|
|
430
|
-
inputmode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
|
|
433
|
+
inputmode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search' | undefined;
|
|
431
434
|
/**
|
|
432
435
|
* Specify that a standard HTML element should behave like a defined custom built-in element
|
|
433
436
|
* @see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is
|
|
434
437
|
*/
|
|
435
|
-
is?: string;
|
|
438
|
+
is?: string | undefined;
|
|
436
439
|
}
|
|
437
440
|
type HTMLAttributeReferrerPolicy = '' | 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url';
|
|
438
441
|
export interface AnchorHTMLAttributes extends HTMLAttributes {
|
|
439
442
|
download?: any;
|
|
440
|
-
href?: string;
|
|
441
|
-
hreflang?: string;
|
|
442
|
-
media?: string;
|
|
443
|
-
ping?: string;
|
|
444
|
-
rel?: string;
|
|
445
|
-
target?: string;
|
|
446
|
-
type?: string;
|
|
447
|
-
referrerpolicy?: HTMLAttributeReferrerPolicy;
|
|
443
|
+
href?: string | undefined;
|
|
444
|
+
hreflang?: string | undefined;
|
|
445
|
+
media?: string | undefined;
|
|
446
|
+
ping?: string | undefined;
|
|
447
|
+
rel?: string | undefined;
|
|
448
|
+
target?: string | undefined;
|
|
449
|
+
type?: string | undefined;
|
|
450
|
+
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
448
451
|
}
|
|
449
452
|
export interface AreaHTMLAttributes extends HTMLAttributes {
|
|
450
|
-
alt?: string;
|
|
451
|
-
coords?: string;
|
|
453
|
+
alt?: string | undefined;
|
|
454
|
+
coords?: string | undefined;
|
|
452
455
|
download?: any;
|
|
453
|
-
href?: string;
|
|
454
|
-
hreflang?: string;
|
|
455
|
-
media?: string;
|
|
456
|
-
referrerpolicy?: HTMLAttributeReferrerPolicy;
|
|
457
|
-
rel?: string;
|
|
458
|
-
shape?: string;
|
|
459
|
-
target?: string;
|
|
456
|
+
href?: string | undefined;
|
|
457
|
+
hreflang?: string | undefined;
|
|
458
|
+
media?: string | undefined;
|
|
459
|
+
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
460
|
+
rel?: string | undefined;
|
|
461
|
+
shape?: string | undefined;
|
|
462
|
+
target?: string | undefined;
|
|
460
463
|
}
|
|
461
464
|
export interface AudioHTMLAttributes extends MediaHTMLAttributes {
|
|
462
465
|
}
|
|
463
466
|
export interface BaseHTMLAttributes extends HTMLAttributes {
|
|
464
|
-
href?: string;
|
|
465
|
-
target?: string;
|
|
467
|
+
href?: string | undefined;
|
|
468
|
+
target?: string | undefined;
|
|
466
469
|
}
|
|
467
470
|
export interface BlockquoteHTMLAttributes extends HTMLAttributes {
|
|
468
|
-
cite?: string;
|
|
471
|
+
cite?: string | undefined;
|
|
469
472
|
}
|
|
470
473
|
export interface ButtonHTMLAttributes extends HTMLAttributes {
|
|
471
|
-
autofocus?: Booleanish;
|
|
472
|
-
disabled?: Booleanish;
|
|
473
|
-
form?: string;
|
|
474
|
-
formaction?: string;
|
|
475
|
-
formenctype?: string;
|
|
476
|
-
formmethod?: string;
|
|
477
|
-
formnovalidate?: Booleanish;
|
|
478
|
-
formtarget?: string;
|
|
479
|
-
name?: string;
|
|
480
|
-
type?: 'submit' | 'reset' | 'button';
|
|
481
|
-
value?: string | ReadonlyArray<string> | number;
|
|
474
|
+
autofocus?: Booleanish | undefined;
|
|
475
|
+
disabled?: Booleanish | undefined;
|
|
476
|
+
form?: string | undefined;
|
|
477
|
+
formaction?: string | undefined;
|
|
478
|
+
formenctype?: string | undefined;
|
|
479
|
+
formmethod?: string | undefined;
|
|
480
|
+
formnovalidate?: Booleanish | undefined;
|
|
481
|
+
formtarget?: string | undefined;
|
|
482
|
+
name?: string | undefined;
|
|
483
|
+
type?: 'submit' | 'reset' | 'button' | undefined;
|
|
484
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
482
485
|
}
|
|
483
486
|
export interface CanvasHTMLAttributes extends HTMLAttributes {
|
|
484
|
-
height?: Numberish;
|
|
485
|
-
width?: Numberish;
|
|
487
|
+
height?: Numberish | undefined;
|
|
488
|
+
width?: Numberish | undefined;
|
|
486
489
|
}
|
|
487
490
|
export interface ColHTMLAttributes extends HTMLAttributes {
|
|
488
|
-
span?: Numberish;
|
|
489
|
-
width?: Numberish;
|
|
491
|
+
span?: Numberish | undefined;
|
|
492
|
+
width?: Numberish | undefined;
|
|
490
493
|
}
|
|
491
494
|
export interface ColgroupHTMLAttributes extends HTMLAttributes {
|
|
492
|
-
span?: Numberish;
|
|
495
|
+
span?: Numberish | undefined;
|
|
493
496
|
}
|
|
494
497
|
export interface DataHTMLAttributes extends HTMLAttributes {
|
|
495
|
-
value?: string | ReadonlyArray<string> | number;
|
|
498
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
496
499
|
}
|
|
497
500
|
export interface DetailsHTMLAttributes extends HTMLAttributes {
|
|
498
|
-
name?: string;
|
|
499
|
-
open?: Booleanish;
|
|
500
|
-
onToggle?: (payload: ToggleEvent) => void;
|
|
501
|
+
name?: string | undefined;
|
|
502
|
+
open?: Booleanish | undefined;
|
|
501
503
|
}
|
|
502
504
|
export interface DelHTMLAttributes extends HTMLAttributes {
|
|
503
|
-
cite?: string;
|
|
504
|
-
datetime?: string;
|
|
505
|
+
cite?: string | undefined;
|
|
506
|
+
datetime?: string | undefined;
|
|
505
507
|
}
|
|
506
508
|
export interface DialogHTMLAttributes extends HTMLAttributes {
|
|
507
|
-
open?: Booleanish;
|
|
508
|
-
onClose?: (payload: Event) => void;
|
|
509
|
+
open?: Booleanish | undefined;
|
|
510
|
+
onClose?: ((payload: Event) => void) | undefined;
|
|
511
|
+
onCancel?: ((payload: Event) => void) | undefined;
|
|
509
512
|
}
|
|
510
513
|
export interface EmbedHTMLAttributes extends HTMLAttributes {
|
|
511
|
-
height?: Numberish;
|
|
512
|
-
src?: string;
|
|
513
|
-
type?: string;
|
|
514
|
-
width?: Numberish;
|
|
514
|
+
height?: Numberish | undefined;
|
|
515
|
+
src?: string | undefined;
|
|
516
|
+
type?: string | undefined;
|
|
517
|
+
width?: Numberish | undefined;
|
|
515
518
|
}
|
|
516
519
|
export interface FieldsetHTMLAttributes extends HTMLAttributes {
|
|
517
|
-
disabled?: Booleanish;
|
|
518
|
-
form?: string;
|
|
519
|
-
name?: string;
|
|
520
|
+
disabled?: Booleanish | undefined;
|
|
521
|
+
form?: string | undefined;
|
|
522
|
+
name?: string | undefined;
|
|
520
523
|
}
|
|
521
524
|
export interface FormHTMLAttributes extends HTMLAttributes {
|
|
522
|
-
acceptcharset?: string;
|
|
523
|
-
action?: string;
|
|
524
|
-
autocomplete?: string;
|
|
525
|
-
enctype?: string;
|
|
526
|
-
method?: string;
|
|
527
|
-
name?: string;
|
|
528
|
-
novalidate?: Booleanish;
|
|
529
|
-
target?: string;
|
|
525
|
+
acceptcharset?: string | undefined;
|
|
526
|
+
action?: string | undefined;
|
|
527
|
+
autocomplete?: string | undefined;
|
|
528
|
+
enctype?: string | undefined;
|
|
529
|
+
method?: string | undefined;
|
|
530
|
+
name?: string | undefined;
|
|
531
|
+
novalidate?: Booleanish | undefined;
|
|
532
|
+
target?: string | undefined;
|
|
530
533
|
}
|
|
531
534
|
export interface HtmlHTMLAttributes extends HTMLAttributes {
|
|
532
|
-
manifest?: string;
|
|
535
|
+
manifest?: string | undefined;
|
|
533
536
|
}
|
|
534
537
|
export interface IframeHTMLAttributes extends HTMLAttributes {
|
|
535
|
-
allow?: string;
|
|
536
|
-
allowfullscreen?: Booleanish;
|
|
537
|
-
allowtransparency?: Booleanish;
|
|
538
|
+
allow?: string | undefined;
|
|
539
|
+
allowfullscreen?: Booleanish | undefined;
|
|
540
|
+
allowtransparency?: Booleanish | undefined;
|
|
538
541
|
/** @deprecated */
|
|
539
|
-
frameborder?: Numberish;
|
|
540
|
-
height?: Numberish;
|
|
541
|
-
loading?: 'eager' | 'lazy';
|
|
542
|
+
frameborder?: Numberish | undefined;
|
|
543
|
+
height?: Numberish | undefined;
|
|
544
|
+
loading?: 'eager' | 'lazy' | undefined;
|
|
542
545
|
/** @deprecated */
|
|
543
|
-
marginheight?: Numberish;
|
|
546
|
+
marginheight?: Numberish | undefined;
|
|
544
547
|
/** @deprecated */
|
|
545
|
-
marginwidth?: Numberish;
|
|
546
|
-
name?: string;
|
|
547
|
-
referrerpolicy?: HTMLAttributeReferrerPolicy;
|
|
548
|
-
sandbox?: string;
|
|
548
|
+
marginwidth?: Numberish | undefined;
|
|
549
|
+
name?: string | undefined;
|
|
550
|
+
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
551
|
+
sandbox?: string | undefined;
|
|
549
552
|
/** @deprecated */
|
|
550
|
-
scrolling?: string;
|
|
551
|
-
seamless?: Booleanish;
|
|
552
|
-
src?: string;
|
|
553
|
-
srcdoc?: string;
|
|
554
|
-
width?: Numberish;
|
|
553
|
+
scrolling?: string | undefined;
|
|
554
|
+
seamless?: Booleanish | undefined;
|
|
555
|
+
src?: string | undefined;
|
|
556
|
+
srcdoc?: string | undefined;
|
|
557
|
+
width?: Numberish | undefined;
|
|
555
558
|
}
|
|
556
559
|
export interface ImgHTMLAttributes extends HTMLAttributes {
|
|
557
|
-
alt?: string;
|
|
558
|
-
crossorigin?: 'anonymous' | 'use-credentials' | '';
|
|
559
|
-
decoding?: 'async' | 'auto' | 'sync';
|
|
560
|
-
height?: Numberish;
|
|
561
|
-
loading?: 'eager' | 'lazy';
|
|
562
|
-
referrerpolicy?: HTMLAttributeReferrerPolicy;
|
|
563
|
-
sizes?: string;
|
|
564
|
-
src?: string;
|
|
565
|
-
srcset?: string;
|
|
566
|
-
usemap?: string;
|
|
567
|
-
width?: Numberish;
|
|
560
|
+
alt?: string | undefined;
|
|
561
|
+
crossorigin?: 'anonymous' | 'use-credentials' | '' | undefined;
|
|
562
|
+
decoding?: 'async' | 'auto' | 'sync' | undefined;
|
|
563
|
+
height?: Numberish | undefined;
|
|
564
|
+
loading?: 'eager' | 'lazy' | undefined;
|
|
565
|
+
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
566
|
+
sizes?: string | undefined;
|
|
567
|
+
src?: string | undefined;
|
|
568
|
+
srcset?: string | undefined;
|
|
569
|
+
usemap?: string | undefined;
|
|
570
|
+
width?: Numberish | undefined;
|
|
568
571
|
}
|
|
569
572
|
export interface InsHTMLAttributes extends HTMLAttributes {
|
|
570
|
-
cite?: string;
|
|
571
|
-
datetime?: string;
|
|
573
|
+
cite?: string | undefined;
|
|
574
|
+
datetime?: string | undefined;
|
|
572
575
|
}
|
|
573
576
|
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 & {});
|
|
574
577
|
export interface InputHTMLAttributes extends HTMLAttributes {
|
|
575
|
-
accept?: string;
|
|
576
|
-
alt?: string;
|
|
577
|
-
autocomplete?: string;
|
|
578
|
-
autofocus?: Booleanish;
|
|
579
|
-
capture?: boolean | 'user' | 'environment';
|
|
580
|
-
checked?: Booleanish | any[] | Set<any
|
|
581
|
-
crossorigin?: string;
|
|
582
|
-
disabled?: Booleanish;
|
|
583
|
-
enterKeyHint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
|
|
584
|
-
form?: string;
|
|
585
|
-
formaction?: string;
|
|
586
|
-
formenctype?: string;
|
|
587
|
-
formmethod?: string;
|
|
588
|
-
formnovalidate?: Booleanish;
|
|
589
|
-
formtarget?: string;
|
|
590
|
-
height?: Numberish;
|
|
591
|
-
indeterminate?: boolean;
|
|
592
|
-
list?: string;
|
|
593
|
-
max?: Numberish;
|
|
594
|
-
maxlength?: Numberish;
|
|
595
|
-
min?: Numberish;
|
|
596
|
-
minlength?: Numberish;
|
|
597
|
-
multiple?: Booleanish;
|
|
598
|
-
name?: string;
|
|
599
|
-
pattern?: string;
|
|
600
|
-
placeholder?: string;
|
|
601
|
-
readonly?: Booleanish;
|
|
602
|
-
required?: Booleanish;
|
|
603
|
-
size?: Numberish;
|
|
604
|
-
src?: string;
|
|
605
|
-
step?: Numberish;
|
|
606
|
-
type?: InputTypeHTMLAttribute;
|
|
578
|
+
accept?: string | undefined;
|
|
579
|
+
alt?: string | undefined;
|
|
580
|
+
autocomplete?: string | undefined;
|
|
581
|
+
autofocus?: Booleanish | undefined;
|
|
582
|
+
capture?: boolean | 'user' | 'environment' | undefined;
|
|
583
|
+
checked?: Booleanish | any[] | Set<any> | undefined;
|
|
584
|
+
crossorigin?: string | undefined;
|
|
585
|
+
disabled?: Booleanish | undefined;
|
|
586
|
+
enterKeyHint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | undefined;
|
|
587
|
+
form?: string | undefined;
|
|
588
|
+
formaction?: string | undefined;
|
|
589
|
+
formenctype?: string | undefined;
|
|
590
|
+
formmethod?: string | undefined;
|
|
591
|
+
formnovalidate?: Booleanish | undefined;
|
|
592
|
+
formtarget?: string | undefined;
|
|
593
|
+
height?: Numberish | undefined;
|
|
594
|
+
indeterminate?: boolean | undefined;
|
|
595
|
+
list?: string | undefined;
|
|
596
|
+
max?: Numberish | undefined;
|
|
597
|
+
maxlength?: Numberish | undefined;
|
|
598
|
+
min?: Numberish | undefined;
|
|
599
|
+
minlength?: Numberish | undefined;
|
|
600
|
+
multiple?: Booleanish | undefined;
|
|
601
|
+
name?: string | undefined;
|
|
602
|
+
pattern?: string | undefined;
|
|
603
|
+
placeholder?: string | undefined;
|
|
604
|
+
readonly?: Booleanish | undefined;
|
|
605
|
+
required?: Booleanish | undefined;
|
|
606
|
+
size?: Numberish | undefined;
|
|
607
|
+
src?: string | undefined;
|
|
608
|
+
step?: Numberish | undefined;
|
|
609
|
+
type?: InputTypeHTMLAttribute | undefined;
|
|
607
610
|
value?: any;
|
|
608
|
-
width?: Numberish;
|
|
611
|
+
width?: Numberish | undefined;
|
|
612
|
+
onCancel?: ((payload: Event) => void) | undefined;
|
|
609
613
|
}
|
|
610
614
|
export interface KeygenHTMLAttributes extends HTMLAttributes {
|
|
611
|
-
autofocus?: Booleanish;
|
|
612
|
-
challenge?: string;
|
|
613
|
-
disabled?: Booleanish;
|
|
614
|
-
form?: string;
|
|
615
|
-
keytype?: string;
|
|
616
|
-
keyparams?: string;
|
|
617
|
-
name?: string;
|
|
615
|
+
autofocus?: Booleanish | undefined;
|
|
616
|
+
challenge?: string | undefined;
|
|
617
|
+
disabled?: Booleanish | undefined;
|
|
618
|
+
form?: string | undefined;
|
|
619
|
+
keytype?: string | undefined;
|
|
620
|
+
keyparams?: string | undefined;
|
|
621
|
+
name?: string | undefined;
|
|
618
622
|
}
|
|
619
623
|
export interface LabelHTMLAttributes extends HTMLAttributes {
|
|
620
|
-
for?: string;
|
|
621
|
-
form?: string;
|
|
624
|
+
for?: string | undefined;
|
|
625
|
+
form?: string | undefined;
|
|
622
626
|
}
|
|
623
627
|
export interface LiHTMLAttributes extends HTMLAttributes {
|
|
624
|
-
value?: string | ReadonlyArray<string> | number;
|
|
628
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
625
629
|
}
|
|
626
630
|
export interface LinkHTMLAttributes extends HTMLAttributes {
|
|
627
|
-
as?: string;
|
|
628
|
-
crossorigin?: string;
|
|
629
|
-
href?: string;
|
|
630
|
-
hreflang?: string;
|
|
631
|
-
integrity?: string;
|
|
632
|
-
media?: string;
|
|
633
|
-
referrerpolicy?: HTMLAttributeReferrerPolicy;
|
|
634
|
-
rel?: string;
|
|
635
|
-
sizes?: string;
|
|
636
|
-
type?: string;
|
|
637
|
-
charset?: string;
|
|
631
|
+
as?: string | undefined;
|
|
632
|
+
crossorigin?: string | undefined;
|
|
633
|
+
href?: string | undefined;
|
|
634
|
+
hreflang?: string | undefined;
|
|
635
|
+
integrity?: string | undefined;
|
|
636
|
+
media?: string | undefined;
|
|
637
|
+
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
638
|
+
rel?: string | undefined;
|
|
639
|
+
sizes?: string | undefined;
|
|
640
|
+
type?: string | undefined;
|
|
641
|
+
charset?: string | undefined;
|
|
638
642
|
}
|
|
639
643
|
export interface MapHTMLAttributes extends HTMLAttributes {
|
|
640
|
-
name?: string;
|
|
644
|
+
name?: string | undefined;
|
|
641
645
|
}
|
|
642
646
|
export interface MenuHTMLAttributes extends HTMLAttributes {
|
|
643
|
-
type?: string;
|
|
647
|
+
type?: string | undefined;
|
|
644
648
|
}
|
|
645
649
|
export interface MediaHTMLAttributes extends HTMLAttributes {
|
|
646
|
-
autoplay?: Booleanish;
|
|
647
|
-
controls?: Booleanish;
|
|
648
|
-
controlslist?: string;
|
|
649
|
-
crossorigin?: string;
|
|
650
|
-
loop?: Booleanish;
|
|
651
|
-
mediagroup?: string;
|
|
652
|
-
muted?: Booleanish;
|
|
653
|
-
playsinline?: Booleanish;
|
|
654
|
-
preload?: string;
|
|
655
|
-
src?: string;
|
|
650
|
+
autoplay?: Booleanish | undefined;
|
|
651
|
+
controls?: Booleanish | undefined;
|
|
652
|
+
controlslist?: string | undefined;
|
|
653
|
+
crossorigin?: string | undefined;
|
|
654
|
+
loop?: Booleanish | undefined;
|
|
655
|
+
mediagroup?: string | undefined;
|
|
656
|
+
muted?: Booleanish | undefined;
|
|
657
|
+
playsinline?: Booleanish | undefined;
|
|
658
|
+
preload?: string | undefined;
|
|
659
|
+
src?: string | undefined;
|
|
656
660
|
}
|
|
657
661
|
export interface MetaHTMLAttributes extends HTMLAttributes {
|
|
658
|
-
charset?: string;
|
|
659
|
-
content?: string;
|
|
660
|
-
httpequiv?: string;
|
|
661
|
-
name?: string;
|
|
662
|
+
charset?: string | undefined;
|
|
663
|
+
content?: string | undefined;
|
|
664
|
+
httpequiv?: string | undefined;
|
|
665
|
+
name?: string | undefined;
|
|
662
666
|
}
|
|
663
667
|
export interface MeterHTMLAttributes extends HTMLAttributes {
|
|
664
|
-
form?: string;
|
|
665
|
-
high?: Numberish;
|
|
666
|
-
low?: Numberish;
|
|
667
|
-
max?: Numberish;
|
|
668
|
-
min?: Numberish;
|
|
669
|
-
optimum?: Numberish;
|
|
670
|
-
value?: string | ReadonlyArray<string> | number;
|
|
668
|
+
form?: string | undefined;
|
|
669
|
+
high?: Numberish | undefined;
|
|
670
|
+
low?: Numberish | undefined;
|
|
671
|
+
max?: Numberish | undefined;
|
|
672
|
+
min?: Numberish | undefined;
|
|
673
|
+
optimum?: Numberish | undefined;
|
|
674
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
671
675
|
}
|
|
672
676
|
export interface QuoteHTMLAttributes extends HTMLAttributes {
|
|
673
|
-
cite?: string;
|
|
677
|
+
cite?: string | undefined;
|
|
674
678
|
}
|
|
675
679
|
export interface ObjectHTMLAttributes extends HTMLAttributes {
|
|
676
|
-
classid?: string;
|
|
677
|
-
data?: string;
|
|
678
|
-
form?: string;
|
|
679
|
-
height?: Numberish;
|
|
680
|
-
name?: string;
|
|
681
|
-
type?: string;
|
|
682
|
-
usemap?: string;
|
|
683
|
-
width?: Numberish;
|
|
684
|
-
wmode?: string;
|
|
680
|
+
classid?: string | undefined;
|
|
681
|
+
data?: string | undefined;
|
|
682
|
+
form?: string | undefined;
|
|
683
|
+
height?: Numberish | undefined;
|
|
684
|
+
name?: string | undefined;
|
|
685
|
+
type?: string | undefined;
|
|
686
|
+
usemap?: string | undefined;
|
|
687
|
+
width?: Numberish | undefined;
|
|
688
|
+
wmode?: string | undefined;
|
|
685
689
|
}
|
|
686
690
|
export interface OlHTMLAttributes extends HTMLAttributes {
|
|
687
|
-
reversed?: Booleanish;
|
|
688
|
-
start?: Numberish;
|
|
689
|
-
type?: '1' | 'a' | 'A' | 'i' | 'I';
|
|
691
|
+
reversed?: Booleanish | undefined;
|
|
692
|
+
start?: Numberish | undefined;
|
|
693
|
+
type?: '1' | 'a' | 'A' | 'i' | 'I' | undefined;
|
|
690
694
|
}
|
|
691
695
|
export interface OptgroupHTMLAttributes extends HTMLAttributes {
|
|
692
|
-
disabled?: Booleanish;
|
|
693
|
-
label?: string;
|
|
696
|
+
disabled?: Booleanish | undefined;
|
|
697
|
+
label?: string | undefined;
|
|
694
698
|
}
|
|
695
699
|
export interface OptionHTMLAttributes extends HTMLAttributes {
|
|
696
|
-
disabled?: Booleanish;
|
|
697
|
-
label?: string;
|
|
698
|
-
selected?: Booleanish;
|
|
700
|
+
disabled?: Booleanish | undefined;
|
|
701
|
+
label?: string | undefined;
|
|
702
|
+
selected?: Booleanish | undefined;
|
|
699
703
|
value?: any;
|
|
700
704
|
}
|
|
701
705
|
export interface OutputHTMLAttributes extends HTMLAttributes {
|
|
702
|
-
for?: string;
|
|
703
|
-
form?: string;
|
|
704
|
-
name?: string;
|
|
706
|
+
for?: string | undefined;
|
|
707
|
+
form?: string | undefined;
|
|
708
|
+
name?: string | undefined;
|
|
705
709
|
}
|
|
706
710
|
export interface ParamHTMLAttributes extends HTMLAttributes {
|
|
707
|
-
name?: string;
|
|
708
|
-
value?: string | ReadonlyArray<string> | number;
|
|
711
|
+
name?: string | undefined;
|
|
712
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
709
713
|
}
|
|
710
714
|
export interface ProgressHTMLAttributes extends HTMLAttributes {
|
|
711
|
-
max?: Numberish;
|
|
712
|
-
value?: string | ReadonlyArray<string> | number;
|
|
715
|
+
max?: Numberish | undefined;
|
|
716
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
713
717
|
}
|
|
714
718
|
export interface ScriptHTMLAttributes extends HTMLAttributes {
|
|
715
|
-
async?: Booleanish;
|
|
719
|
+
async?: Booleanish | undefined;
|
|
716
720
|
/** @deprecated */
|
|
717
|
-
charset?: string;
|
|
718
|
-
crossorigin?: string;
|
|
719
|
-
defer?: Booleanish;
|
|
720
|
-
integrity?: string;
|
|
721
|
-
nomodule?: Booleanish;
|
|
722
|
-
referrerpolicy?: HTMLAttributeReferrerPolicy;
|
|
723
|
-
nonce?: string;
|
|
724
|
-
src?: string;
|
|
725
|
-
type?: string;
|
|
721
|
+
charset?: string | undefined;
|
|
722
|
+
crossorigin?: string | undefined;
|
|
723
|
+
defer?: Booleanish | undefined;
|
|
724
|
+
integrity?: string | undefined;
|
|
725
|
+
nomodule?: Booleanish | undefined;
|
|
726
|
+
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
727
|
+
nonce?: string | undefined;
|
|
728
|
+
src?: string | undefined;
|
|
729
|
+
type?: string | undefined;
|
|
726
730
|
}
|
|
727
731
|
export interface SelectHTMLAttributes extends HTMLAttributes {
|
|
728
|
-
autocomplete?: string;
|
|
729
|
-
autofocus?: Booleanish;
|
|
730
|
-
disabled?: Booleanish;
|
|
731
|
-
form?: string;
|
|
732
|
-
multiple?: Booleanish;
|
|
733
|
-
name?: string;
|
|
734
|
-
required?: Booleanish;
|
|
735
|
-
size?: Numberish;
|
|
732
|
+
autocomplete?: string | undefined;
|
|
733
|
+
autofocus?: Booleanish | undefined;
|
|
734
|
+
disabled?: Booleanish | undefined;
|
|
735
|
+
form?: string | undefined;
|
|
736
|
+
multiple?: Booleanish | undefined;
|
|
737
|
+
name?: string | undefined;
|
|
738
|
+
required?: Booleanish | undefined;
|
|
739
|
+
size?: Numberish | undefined;
|
|
736
740
|
value?: any;
|
|
737
741
|
}
|
|
738
742
|
export interface SourceHTMLAttributes extends HTMLAttributes {
|
|
739
|
-
media?: string;
|
|
740
|
-
sizes?: string;
|
|
741
|
-
src?: string;
|
|
742
|
-
srcset?: string;
|
|
743
|
-
type?: string;
|
|
743
|
+
media?: string | undefined;
|
|
744
|
+
sizes?: string | undefined;
|
|
745
|
+
src?: string | undefined;
|
|
746
|
+
srcset?: string | undefined;
|
|
747
|
+
type?: string | undefined;
|
|
744
748
|
}
|
|
745
749
|
export interface StyleHTMLAttributes extends HTMLAttributes {
|
|
746
|
-
media?: string;
|
|
747
|
-
nonce?: string;
|
|
748
|
-
scoped?: Booleanish;
|
|
749
|
-
type?: string;
|
|
750
|
+
media?: string | undefined;
|
|
751
|
+
nonce?: string | undefined;
|
|
752
|
+
scoped?: Booleanish | undefined;
|
|
753
|
+
type?: string | undefined;
|
|
750
754
|
}
|
|
751
755
|
export interface TableHTMLAttributes extends HTMLAttributes {
|
|
752
|
-
cellpadding?: Numberish;
|
|
753
|
-
cellspacing?: Numberish;
|
|
754
|
-
summary?: string;
|
|
755
|
-
width?: Numberish;
|
|
756
|
+
cellpadding?: Numberish | undefined;
|
|
757
|
+
cellspacing?: Numberish | undefined;
|
|
758
|
+
summary?: string | undefined;
|
|
759
|
+
width?: Numberish | undefined;
|
|
756
760
|
}
|
|
757
761
|
export interface TextareaHTMLAttributes extends HTMLAttributes {
|
|
758
|
-
autocomplete?: string;
|
|
759
|
-
autofocus?: Booleanish;
|
|
760
|
-
cols?: Numberish;
|
|
761
|
-
dirname?: string;
|
|
762
|
-
disabled?: Booleanish;
|
|
763
|
-
form?: string;
|
|
764
|
-
maxlength?: Numberish;
|
|
765
|
-
minlength?: Numberish;
|
|
766
|
-
name?: string;
|
|
767
|
-
placeholder?: string;
|
|
768
|
-
readonly?: Booleanish;
|
|
769
|
-
required?: Booleanish;
|
|
770
|
-
rows?: Numberish;
|
|
771
|
-
value?: string | ReadonlyArray<string> | number | null;
|
|
772
|
-
wrap?: string;
|
|
762
|
+
autocomplete?: string | undefined;
|
|
763
|
+
autofocus?: Booleanish | undefined;
|
|
764
|
+
cols?: Numberish | undefined;
|
|
765
|
+
dirname?: string | undefined;
|
|
766
|
+
disabled?: Booleanish | undefined;
|
|
767
|
+
form?: string | undefined;
|
|
768
|
+
maxlength?: Numberish | undefined;
|
|
769
|
+
minlength?: Numberish | undefined;
|
|
770
|
+
name?: string | undefined;
|
|
771
|
+
placeholder?: string | undefined;
|
|
772
|
+
readonly?: Booleanish | undefined;
|
|
773
|
+
required?: Booleanish | undefined;
|
|
774
|
+
rows?: Numberish | undefined;
|
|
775
|
+
value?: string | ReadonlyArray<string> | number | null | undefined;
|
|
776
|
+
wrap?: string | undefined;
|
|
773
777
|
}
|
|
774
778
|
export interface TdHTMLAttributes extends HTMLAttributes {
|
|
775
|
-
align?: 'left' | 'center' | 'right' | 'justify' | 'char';
|
|
776
|
-
colspan?: Numberish;
|
|
777
|
-
headers?: string;
|
|
778
|
-
rowspan?: Numberish;
|
|
779
|
-
scope?: string;
|
|
780
|
-
abbr?: string;
|
|
781
|
-
height?: Numberish;
|
|
782
|
-
width?: Numberish;
|
|
783
|
-
valign?: 'top' | 'middle' | 'bottom' | 'baseline';
|
|
779
|
+
align?: 'left' | 'center' | 'right' | 'justify' | 'char' | undefined;
|
|
780
|
+
colspan?: Numberish | undefined;
|
|
781
|
+
headers?: string | undefined;
|
|
782
|
+
rowspan?: Numberish | undefined;
|
|
783
|
+
scope?: string | undefined;
|
|
784
|
+
abbr?: string | undefined;
|
|
785
|
+
height?: Numberish | undefined;
|
|
786
|
+
width?: Numberish | undefined;
|
|
787
|
+
valign?: 'top' | 'middle' | 'bottom' | 'baseline' | undefined;
|
|
784
788
|
}
|
|
785
789
|
export interface ThHTMLAttributes extends HTMLAttributes {
|
|
786
|
-
align?: 'left' | 'center' | 'right' | 'justify' | 'char';
|
|
787
|
-
colspan?: Numberish;
|
|
788
|
-
headers?: string;
|
|
789
|
-
rowspan?: Numberish;
|
|
790
|
-
scope?: string;
|
|
791
|
-
abbr?: string;
|
|
790
|
+
align?: 'left' | 'center' | 'right' | 'justify' | 'char' | undefined;
|
|
791
|
+
colspan?: Numberish | undefined;
|
|
792
|
+
headers?: string | undefined;
|
|
793
|
+
rowspan?: Numberish | undefined;
|
|
794
|
+
scope?: string | undefined;
|
|
795
|
+
abbr?: string | undefined;
|
|
792
796
|
}
|
|
793
797
|
export interface TimeHTMLAttributes extends HTMLAttributes {
|
|
794
|
-
datetime?: string;
|
|
798
|
+
datetime?: string | undefined;
|
|
795
799
|
}
|
|
796
800
|
export interface TrackHTMLAttributes extends HTMLAttributes {
|
|
797
|
-
default?: Booleanish;
|
|
798
|
-
kind?: string;
|
|
799
|
-
label?: string;
|
|
800
|
-
src?: string;
|
|
801
|
-
srclang?: string;
|
|
801
|
+
default?: Booleanish | undefined;
|
|
802
|
+
kind?: string | undefined;
|
|
803
|
+
label?: string | undefined;
|
|
804
|
+
src?: string | undefined;
|
|
805
|
+
srclang?: string | undefined;
|
|
802
806
|
}
|
|
803
807
|
export interface VideoHTMLAttributes extends MediaHTMLAttributes {
|
|
804
|
-
height?: Numberish;
|
|
805
|
-
playsinline?: Booleanish;
|
|
806
|
-
poster?: string;
|
|
807
|
-
width?: Numberish;
|
|
808
|
-
disablePictureInPicture?: Booleanish;
|
|
809
|
-
disableRemotePlayback?: Booleanish;
|
|
808
|
+
height?: Numberish | undefined;
|
|
809
|
+
playsinline?: Booleanish | undefined;
|
|
810
|
+
poster?: string | undefined;
|
|
811
|
+
width?: Numberish | undefined;
|
|
812
|
+
disablePictureInPicture?: Booleanish | undefined;
|
|
813
|
+
disableRemotePlayback?: Booleanish | undefined;
|
|
810
814
|
}
|
|
811
815
|
export interface WebViewHTMLAttributes extends HTMLAttributes {
|
|
812
|
-
allowfullscreen?: Booleanish;
|
|
813
|
-
allowpopups?: Booleanish;
|
|
814
|
-
autoFocus?: Booleanish;
|
|
815
|
-
autosize?: Booleanish;
|
|
816
|
-
blinkfeatures?: string;
|
|
817
|
-
disableblinkfeatures?: string;
|
|
818
|
-
disableguestresize?: Booleanish;
|
|
819
|
-
disablewebsecurity?: Booleanish;
|
|
820
|
-
guestinstance?: string;
|
|
821
|
-
httpreferrer?: string;
|
|
822
|
-
nodeintegration?: Booleanish;
|
|
823
|
-
partition?: string;
|
|
824
|
-
plugins?: Booleanish;
|
|
825
|
-
preload?: string;
|
|
826
|
-
src?: string;
|
|
827
|
-
useragent?: string;
|
|
828
|
-
webpreferences?: string;
|
|
816
|
+
allowfullscreen?: Booleanish | undefined;
|
|
817
|
+
allowpopups?: Booleanish | undefined;
|
|
818
|
+
autoFocus?: Booleanish | undefined;
|
|
819
|
+
autosize?: Booleanish | undefined;
|
|
820
|
+
blinkfeatures?: string | undefined;
|
|
821
|
+
disableblinkfeatures?: string | undefined;
|
|
822
|
+
disableguestresize?: Booleanish | undefined;
|
|
823
|
+
disablewebsecurity?: Booleanish | undefined;
|
|
824
|
+
guestinstance?: string | undefined;
|
|
825
|
+
httpreferrer?: string | undefined;
|
|
826
|
+
nodeintegration?: Booleanish | undefined;
|
|
827
|
+
partition?: string | undefined;
|
|
828
|
+
plugins?: Booleanish | undefined;
|
|
829
|
+
preload?: string | undefined;
|
|
830
|
+
src?: string | undefined;
|
|
831
|
+
useragent?: string | undefined;
|
|
832
|
+
webpreferences?: string | undefined;
|
|
829
833
|
}
|
|
830
834
|
export interface SVGAttributes extends AriaAttributes, EventHandlers<Events> {
|
|
831
|
-
innerHTML?: string;
|
|
835
|
+
innerHTML?: string | undefined;
|
|
832
836
|
/**
|
|
833
837
|
* SVG Styling Attributes
|
|
834
838
|
* @see https://www.w3.org/TR/SVG/styling.html#ElementSpecificStyling
|
|
835
839
|
*/
|
|
836
840
|
class?: any;
|
|
837
|
-
style?: StyleValue;
|
|
838
|
-
color?: string;
|
|
839
|
-
height?: Numberish;
|
|
840
|
-
id?: string;
|
|
841
|
-
lang?: string;
|
|
842
|
-
max?: Numberish;
|
|
843
|
-
media?: string;
|
|
844
|
-
method?: string;
|
|
845
|
-
min?: Numberish;
|
|
846
|
-
name?: string;
|
|
847
|
-
target?: string;
|
|
848
|
-
type?: string;
|
|
849
|
-
width?: Numberish;
|
|
850
|
-
role?: string;
|
|
851
|
-
tabindex?: Numberish;
|
|
852
|
-
crossOrigin?: 'anonymous' | 'use-credentials' | '';
|
|
853
|
-
'accent-height'?: Numberish;
|
|
854
|
-
accumulate?: 'none' | 'sum';
|
|
855
|
-
additive?: 'replace' | 'sum';
|
|
856
|
-
'alignment-baseline'?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit';
|
|
857
|
-
allowReorder?: 'no' | 'yes';
|
|
858
|
-
alphabetic?: Numberish;
|
|
859
|
-
amplitude?: Numberish;
|
|
860
|
-
'arabic-form'?: 'initial' | 'medial' | 'terminal' | 'isolated';
|
|
861
|
-
ascent?: Numberish;
|
|
862
|
-
attributeName?: string;
|
|
863
|
-
attributeType?: string;
|
|
864
|
-
autoReverse?: Numberish;
|
|
865
|
-
azimuth?: Numberish;
|
|
866
|
-
baseFrequency?: Numberish;
|
|
867
|
-
'baseline-shift'?: Numberish;
|
|
868
|
-
baseProfile?: Numberish;
|
|
869
|
-
bbox?: Numberish;
|
|
870
|
-
begin?: Numberish;
|
|
871
|
-
bias?: Numberish;
|
|
872
|
-
by?: Numberish;
|
|
873
|
-
calcMode?: Numberish;
|
|
874
|
-
'cap-height'?: Numberish;
|
|
875
|
-
clip?: Numberish;
|
|
876
|
-
'clip-path'?: string;
|
|
877
|
-
clipPathUnits?: Numberish;
|
|
878
|
-
'clip-rule'?: Numberish;
|
|
879
|
-
'color-interpolation'?: Numberish;
|
|
880
|
-
'color-interpolation-filters'?: 'auto' | 'sRGB' | 'linearRGB' | 'inherit';
|
|
881
|
-
'color-profile'?: Numberish;
|
|
882
|
-
'color-rendering'?: Numberish;
|
|
883
|
-
contentScriptType?: Numberish;
|
|
884
|
-
contentStyleType?: Numberish;
|
|
885
|
-
cursor?: Numberish;
|
|
886
|
-
cx?: Numberish;
|
|
887
|
-
cy?: Numberish;
|
|
888
|
-
d?: string;
|
|
889
|
-
decelerate?: Numberish;
|
|
890
|
-
descent?: Numberish;
|
|
891
|
-
diffuseConstant?: Numberish;
|
|
892
|
-
direction?: Numberish;
|
|
893
|
-
display?: Numberish;
|
|
894
|
-
divisor?: Numberish;
|
|
895
|
-
'dominant-baseline'?: Numberish;
|
|
896
|
-
dur?: Numberish;
|
|
897
|
-
dx?: Numberish;
|
|
898
|
-
dy?: Numberish;
|
|
899
|
-
edgeMode?: Numberish;
|
|
900
|
-
elevation?: Numberish;
|
|
901
|
-
'enable-background'?: Numberish;
|
|
902
|
-
end?: Numberish;
|
|
903
|
-
exponent?: Numberish;
|
|
904
|
-
externalResourcesRequired?: Numberish;
|
|
905
|
-
fill?: string;
|
|
906
|
-
'fill-opacity'?: Numberish;
|
|
907
|
-
'fill-rule'?: 'nonzero' | 'evenodd' | 'inherit';
|
|
908
|
-
filter?: string;
|
|
909
|
-
filterRes?: Numberish;
|
|
910
|
-
filterUnits?: Numberish;
|
|
911
|
-
'flood-color'?: Numberish;
|
|
912
|
-
'flood-opacity'?: Numberish;
|
|
913
|
-
focusable?: Numberish;
|
|
914
|
-
'font-family'?: string;
|
|
915
|
-
'font-size'?: Numberish;
|
|
916
|
-
'font-size-adjust'?: Numberish;
|
|
917
|
-
'font-stretch'?: Numberish;
|
|
918
|
-
'font-style'?: Numberish;
|
|
919
|
-
'font-variant'?: Numberish;
|
|
920
|
-
'font-weight'?: Numberish;
|
|
921
|
-
format?: Numberish;
|
|
922
|
-
from?: Numberish;
|
|
923
|
-
fx?: Numberish;
|
|
924
|
-
fy?: Numberish;
|
|
925
|
-
g1?: Numberish;
|
|
926
|
-
g2?: Numberish;
|
|
927
|
-
'glyph-name'?: Numberish;
|
|
928
|
-
'glyph-orientation-horizontal'?: Numberish;
|
|
929
|
-
'glyph-orientation-vertical'?: Numberish;
|
|
930
|
-
glyphRef?: Numberish;
|
|
931
|
-
gradientTransform?: string;
|
|
932
|
-
gradientUnits?: string;
|
|
933
|
-
hanging?: Numberish;
|
|
934
|
-
'horiz-adv-x'?: Numberish;
|
|
935
|
-
'horiz-origin-x'?: Numberish;
|
|
936
|
-
href?: string;
|
|
937
|
-
ideographic?: Numberish;
|
|
938
|
-
'image-rendering'?: Numberish;
|
|
939
|
-
in2?: Numberish;
|
|
940
|
-
in?: string;
|
|
941
|
-
intercept?: Numberish;
|
|
942
|
-
k1?: Numberish;
|
|
943
|
-
k2?: Numberish;
|
|
944
|
-
k3?: Numberish;
|
|
945
|
-
k4?: Numberish;
|
|
946
|
-
k?: Numberish;
|
|
947
|
-
kernelMatrix?: Numberish;
|
|
948
|
-
kernelUnitLength?: Numberish;
|
|
949
|
-
kerning?: Numberish;
|
|
950
|
-
keyPoints?: Numberish;
|
|
951
|
-
keySplines?: Numberish;
|
|
952
|
-
keyTimes?: Numberish;
|
|
953
|
-
lengthAdjust?: Numberish;
|
|
954
|
-
'letter-spacing'?: Numberish;
|
|
955
|
-
'lighting-color'?: Numberish;
|
|
956
|
-
limitingConeAngle?: Numberish;
|
|
957
|
-
local?: Numberish;
|
|
958
|
-
'marker-end'?: string;
|
|
959
|
-
markerHeight?: Numberish;
|
|
960
|
-
'marker-mid'?: string;
|
|
961
|
-
'marker-start'?: string;
|
|
962
|
-
markerUnits?: Numberish;
|
|
963
|
-
markerWidth?: Numberish;
|
|
964
|
-
mask?: string;
|
|
965
|
-
maskContentUnits?: Numberish;
|
|
966
|
-
maskUnits?: Numberish;
|
|
967
|
-
mathematical?: Numberish;
|
|
968
|
-
mode?: Numberish;
|
|
969
|
-
numOctaves?: Numberish;
|
|
970
|
-
offset?: Numberish;
|
|
971
|
-
opacity?: Numberish;
|
|
972
|
-
operator?: Numberish;
|
|
973
|
-
order?: Numberish;
|
|
974
|
-
orient?: Numberish;
|
|
975
|
-
orientation?: Numberish;
|
|
976
|
-
origin?: Numberish;
|
|
977
|
-
overflow?: Numberish;
|
|
978
|
-
'overline-position'?: Numberish;
|
|
979
|
-
'overline-thickness'?: Numberish;
|
|
980
|
-
'paint-order'?: Numberish;
|
|
981
|
-
'panose-1'?: Numberish;
|
|
982
|
-
pathLength?: Numberish;
|
|
983
|
-
patternContentUnits?: string;
|
|
984
|
-
patternTransform?: Numberish;
|
|
985
|
-
patternUnits?: string;
|
|
986
|
-
'pointer-events'?: Numberish;
|
|
987
|
-
points?: string;
|
|
988
|
-
pointsAtX?: Numberish;
|
|
989
|
-
pointsAtY?: Numberish;
|
|
990
|
-
pointsAtZ?: Numberish;
|
|
991
|
-
preserveAlpha?: Numberish;
|
|
992
|
-
preserveAspectRatio?: string;
|
|
993
|
-
primitiveUnits?: Numberish;
|
|
994
|
-
r?: Numberish;
|
|
995
|
-
radius?: Numberish;
|
|
996
|
-
refX?: Numberish;
|
|
997
|
-
refY?: Numberish;
|
|
998
|
-
renderingIntent?: Numberish;
|
|
999
|
-
repeatCount?: Numberish;
|
|
1000
|
-
repeatDur?: Numberish;
|
|
1001
|
-
requiredExtensions?: Numberish;
|
|
1002
|
-
requiredFeatures?: Numberish;
|
|
1003
|
-
restart?: Numberish;
|
|
1004
|
-
result?: string;
|
|
1005
|
-
rotate?: Numberish;
|
|
1006
|
-
rx?: Numberish;
|
|
1007
|
-
ry?: Numberish;
|
|
1008
|
-
scale?: Numberish;
|
|
1009
|
-
seed?: Numberish;
|
|
1010
|
-
'shape-rendering'?: Numberish;
|
|
1011
|
-
slope?: Numberish;
|
|
1012
|
-
spacing?: Numberish;
|
|
1013
|
-
specularConstant?: Numberish;
|
|
1014
|
-
specularExponent?: Numberish;
|
|
1015
|
-
speed?: Numberish;
|
|
1016
|
-
spreadMethod?: string;
|
|
1017
|
-
startOffset?: Numberish;
|
|
1018
|
-
stdDeviation?: Numberish;
|
|
1019
|
-
stemh?: Numberish;
|
|
1020
|
-
stemv?: Numberish;
|
|
1021
|
-
stitchTiles?: Numberish;
|
|
1022
|
-
'stop-color'?: string;
|
|
1023
|
-
'stop-opacity'?: Numberish;
|
|
1024
|
-
'strikethrough-position'?: Numberish;
|
|
1025
|
-
'strikethrough-thickness'?: Numberish;
|
|
1026
|
-
string?: Numberish;
|
|
1027
|
-
stroke?: string;
|
|
1028
|
-
'stroke-dasharray'?: Numberish;
|
|
1029
|
-
'stroke-dashoffset'?: Numberish;
|
|
1030
|
-
'stroke-linecap'?: 'butt' | 'round' | 'square' | 'inherit';
|
|
1031
|
-
'stroke-linejoin'?: 'miter' | 'round' | 'bevel' | 'inherit';
|
|
1032
|
-
'stroke-miterlimit'?: Numberish;
|
|
1033
|
-
'stroke-opacity'?: Numberish;
|
|
1034
|
-
'stroke-width'?: Numberish;
|
|
1035
|
-
surfaceScale?: Numberish;
|
|
1036
|
-
systemLanguage?: Numberish;
|
|
1037
|
-
tableValues?: Numberish;
|
|
1038
|
-
targetX?: Numberish;
|
|
1039
|
-
targetY?: Numberish;
|
|
1040
|
-
'text-anchor'?: string;
|
|
1041
|
-
'text-decoration'?: Numberish;
|
|
1042
|
-
textLength?: Numberish;
|
|
1043
|
-
'text-rendering'?: Numberish;
|
|
1044
|
-
to?: Numberish;
|
|
1045
|
-
transform?: string;
|
|
1046
|
-
u1?: Numberish;
|
|
1047
|
-
u2?: Numberish;
|
|
1048
|
-
'underline-position'?: Numberish;
|
|
1049
|
-
'underline-thickness'?: Numberish;
|
|
1050
|
-
unicode?: Numberish;
|
|
1051
|
-
'unicode-bidi'?: Numberish;
|
|
1052
|
-
'unicode-range'?: Numberish;
|
|
1053
|
-
'unitsPer-em'?: Numberish;
|
|
1054
|
-
'v-alphabetic'?: Numberish;
|
|
1055
|
-
values?: string;
|
|
1056
|
-
'vector-effect'?: Numberish;
|
|
1057
|
-
version?: string;
|
|
1058
|
-
'vert-adv-y'?: Numberish;
|
|
1059
|
-
'vert-origin-x'?: Numberish;
|
|
1060
|
-
'vert-origin-y'?: Numberish;
|
|
1061
|
-
'v-hanging'?: Numberish;
|
|
1062
|
-
'v-ideographic'?: Numberish;
|
|
1063
|
-
viewBox?: string;
|
|
1064
|
-
viewTarget?: Numberish;
|
|
1065
|
-
visibility?: Numberish;
|
|
1066
|
-
'v-mathematical'?: Numberish;
|
|
1067
|
-
widths?: Numberish;
|
|
1068
|
-
'word-spacing'?: Numberish;
|
|
1069
|
-
'writing-mode'?: Numberish;
|
|
1070
|
-
x1?: Numberish;
|
|
1071
|
-
x2?: Numberish;
|
|
1072
|
-
x?: Numberish;
|
|
1073
|
-
xChannelSelector?: string;
|
|
1074
|
-
'x-height'?: Numberish;
|
|
1075
|
-
xlinkActuate?: string;
|
|
1076
|
-
xlinkArcrole?: string;
|
|
1077
|
-
xlinkHref?: string;
|
|
1078
|
-
xlinkRole?: string;
|
|
1079
|
-
xlinkShow?: string;
|
|
1080
|
-
xlinkTitle?: string;
|
|
1081
|
-
xlinkType?: string;
|
|
1082
|
-
xmlns?: string;
|
|
1083
|
-
xmlnsXlink?: string;
|
|
1084
|
-
y1?: Numberish;
|
|
1085
|
-
y2?: Numberish;
|
|
1086
|
-
y?: Numberish;
|
|
1087
|
-
yChannelSelector?: string;
|
|
1088
|
-
z?: Numberish;
|
|
1089
|
-
zoomAndPan?: string;
|
|
841
|
+
style?: StyleValue | undefined;
|
|
842
|
+
color?: string | undefined;
|
|
843
|
+
height?: Numberish | undefined;
|
|
844
|
+
id?: string | undefined;
|
|
845
|
+
lang?: string | undefined;
|
|
846
|
+
max?: Numberish | undefined;
|
|
847
|
+
media?: string | undefined;
|
|
848
|
+
method?: string | undefined;
|
|
849
|
+
min?: Numberish | undefined;
|
|
850
|
+
name?: string | undefined;
|
|
851
|
+
target?: string | undefined;
|
|
852
|
+
type?: string | undefined;
|
|
853
|
+
width?: Numberish | undefined;
|
|
854
|
+
role?: string | undefined;
|
|
855
|
+
tabindex?: Numberish | undefined;
|
|
856
|
+
crossOrigin?: 'anonymous' | 'use-credentials' | '' | undefined;
|
|
857
|
+
'accent-height'?: Numberish | undefined;
|
|
858
|
+
accumulate?: 'none' | 'sum' | undefined;
|
|
859
|
+
additive?: 'replace' | 'sum' | undefined;
|
|
860
|
+
'alignment-baseline'?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit' | undefined;
|
|
861
|
+
allowReorder?: 'no' | 'yes' | undefined;
|
|
862
|
+
alphabetic?: Numberish | undefined;
|
|
863
|
+
amplitude?: Numberish | undefined;
|
|
864
|
+
'arabic-form'?: 'initial' | 'medial' | 'terminal' | 'isolated' | undefined;
|
|
865
|
+
ascent?: Numberish | undefined;
|
|
866
|
+
attributeName?: string | undefined;
|
|
867
|
+
attributeType?: string | undefined;
|
|
868
|
+
autoReverse?: Numberish | undefined;
|
|
869
|
+
azimuth?: Numberish | undefined;
|
|
870
|
+
baseFrequency?: Numberish | undefined;
|
|
871
|
+
'baseline-shift'?: Numberish | undefined;
|
|
872
|
+
baseProfile?: Numberish | undefined;
|
|
873
|
+
bbox?: Numberish | undefined;
|
|
874
|
+
begin?: Numberish | undefined;
|
|
875
|
+
bias?: Numberish | undefined;
|
|
876
|
+
by?: Numberish | undefined;
|
|
877
|
+
calcMode?: Numberish | undefined;
|
|
878
|
+
'cap-height'?: Numberish | undefined;
|
|
879
|
+
clip?: Numberish | undefined;
|
|
880
|
+
'clip-path'?: string | undefined;
|
|
881
|
+
clipPathUnits?: Numberish | undefined;
|
|
882
|
+
'clip-rule'?: Numberish | undefined;
|
|
883
|
+
'color-interpolation'?: Numberish | undefined;
|
|
884
|
+
'color-interpolation-filters'?: 'auto' | 'sRGB' | 'linearRGB' | 'inherit' | undefined;
|
|
885
|
+
'color-profile'?: Numberish | undefined;
|
|
886
|
+
'color-rendering'?: Numberish | undefined;
|
|
887
|
+
contentScriptType?: Numberish | undefined;
|
|
888
|
+
contentStyleType?: Numberish | undefined;
|
|
889
|
+
cursor?: Numberish | undefined;
|
|
890
|
+
cx?: Numberish | undefined;
|
|
891
|
+
cy?: Numberish | undefined;
|
|
892
|
+
d?: string | undefined;
|
|
893
|
+
decelerate?: Numberish | undefined;
|
|
894
|
+
descent?: Numberish | undefined;
|
|
895
|
+
diffuseConstant?: Numberish | undefined;
|
|
896
|
+
direction?: Numberish | undefined;
|
|
897
|
+
display?: Numberish | undefined;
|
|
898
|
+
divisor?: Numberish | undefined;
|
|
899
|
+
'dominant-baseline'?: Numberish | undefined;
|
|
900
|
+
dur?: Numberish | undefined;
|
|
901
|
+
dx?: Numberish | undefined;
|
|
902
|
+
dy?: Numberish | undefined;
|
|
903
|
+
edgeMode?: Numberish | undefined;
|
|
904
|
+
elevation?: Numberish | undefined;
|
|
905
|
+
'enable-background'?: Numberish | undefined;
|
|
906
|
+
end?: Numberish | undefined;
|
|
907
|
+
exponent?: Numberish | undefined;
|
|
908
|
+
externalResourcesRequired?: Numberish | undefined;
|
|
909
|
+
fill?: string | undefined;
|
|
910
|
+
'fill-opacity'?: Numberish | undefined;
|
|
911
|
+
'fill-rule'?: 'nonzero' | 'evenodd' | 'inherit' | undefined;
|
|
912
|
+
filter?: string | undefined;
|
|
913
|
+
filterRes?: Numberish | undefined;
|
|
914
|
+
filterUnits?: Numberish | undefined;
|
|
915
|
+
'flood-color'?: Numberish | undefined;
|
|
916
|
+
'flood-opacity'?: Numberish | undefined;
|
|
917
|
+
focusable?: Numberish | undefined;
|
|
918
|
+
'font-family'?: string | undefined;
|
|
919
|
+
'font-size'?: Numberish | undefined;
|
|
920
|
+
'font-size-adjust'?: Numberish | undefined;
|
|
921
|
+
'font-stretch'?: Numberish | undefined;
|
|
922
|
+
'font-style'?: Numberish | undefined;
|
|
923
|
+
'font-variant'?: Numberish | undefined;
|
|
924
|
+
'font-weight'?: Numberish | undefined;
|
|
925
|
+
format?: Numberish | undefined;
|
|
926
|
+
from?: Numberish | undefined;
|
|
927
|
+
fx?: Numberish | undefined;
|
|
928
|
+
fy?: Numberish | undefined;
|
|
929
|
+
g1?: Numberish | undefined;
|
|
930
|
+
g2?: Numberish | undefined;
|
|
931
|
+
'glyph-name'?: Numberish | undefined;
|
|
932
|
+
'glyph-orientation-horizontal'?: Numberish | undefined;
|
|
933
|
+
'glyph-orientation-vertical'?: Numberish | undefined;
|
|
934
|
+
glyphRef?: Numberish | undefined;
|
|
935
|
+
gradientTransform?: string | undefined;
|
|
936
|
+
gradientUnits?: string | undefined;
|
|
937
|
+
hanging?: Numberish | undefined;
|
|
938
|
+
'horiz-adv-x'?: Numberish | undefined;
|
|
939
|
+
'horiz-origin-x'?: Numberish | undefined;
|
|
940
|
+
href?: string | undefined;
|
|
941
|
+
ideographic?: Numberish | undefined;
|
|
942
|
+
'image-rendering'?: Numberish | undefined;
|
|
943
|
+
in2?: Numberish | undefined;
|
|
944
|
+
in?: string | undefined;
|
|
945
|
+
intercept?: Numberish | undefined;
|
|
946
|
+
k1?: Numberish | undefined;
|
|
947
|
+
k2?: Numberish | undefined;
|
|
948
|
+
k3?: Numberish | undefined;
|
|
949
|
+
k4?: Numberish | undefined;
|
|
950
|
+
k?: Numberish | undefined;
|
|
951
|
+
kernelMatrix?: Numberish | undefined;
|
|
952
|
+
kernelUnitLength?: Numberish | undefined;
|
|
953
|
+
kerning?: Numberish | undefined;
|
|
954
|
+
keyPoints?: Numberish | undefined;
|
|
955
|
+
keySplines?: Numberish | undefined;
|
|
956
|
+
keyTimes?: Numberish | undefined;
|
|
957
|
+
lengthAdjust?: Numberish | undefined;
|
|
958
|
+
'letter-spacing'?: Numberish | undefined;
|
|
959
|
+
'lighting-color'?: Numberish | undefined;
|
|
960
|
+
limitingConeAngle?: Numberish | undefined;
|
|
961
|
+
local?: Numberish | undefined;
|
|
962
|
+
'marker-end'?: string | undefined;
|
|
963
|
+
markerHeight?: Numberish | undefined;
|
|
964
|
+
'marker-mid'?: string | undefined;
|
|
965
|
+
'marker-start'?: string | undefined;
|
|
966
|
+
markerUnits?: Numberish | undefined;
|
|
967
|
+
markerWidth?: Numberish | undefined;
|
|
968
|
+
mask?: string | undefined;
|
|
969
|
+
maskContentUnits?: Numberish | undefined;
|
|
970
|
+
maskUnits?: Numberish | undefined;
|
|
971
|
+
mathematical?: Numberish | undefined;
|
|
972
|
+
mode?: Numberish | undefined;
|
|
973
|
+
numOctaves?: Numberish | undefined;
|
|
974
|
+
offset?: Numberish | undefined;
|
|
975
|
+
opacity?: Numberish | undefined;
|
|
976
|
+
operator?: Numberish | undefined;
|
|
977
|
+
order?: Numberish | undefined;
|
|
978
|
+
orient?: Numberish | undefined;
|
|
979
|
+
orientation?: Numberish | undefined;
|
|
980
|
+
origin?: Numberish | undefined;
|
|
981
|
+
overflow?: Numberish | undefined;
|
|
982
|
+
'overline-position'?: Numberish | undefined;
|
|
983
|
+
'overline-thickness'?: Numberish | undefined;
|
|
984
|
+
'paint-order'?: Numberish | undefined;
|
|
985
|
+
'panose-1'?: Numberish | undefined;
|
|
986
|
+
pathLength?: Numberish | undefined;
|
|
987
|
+
patternContentUnits?: string | undefined;
|
|
988
|
+
patternTransform?: Numberish | undefined;
|
|
989
|
+
patternUnits?: string | undefined;
|
|
990
|
+
'pointer-events'?: Numberish | undefined;
|
|
991
|
+
points?: string | undefined;
|
|
992
|
+
pointsAtX?: Numberish | undefined;
|
|
993
|
+
pointsAtY?: Numberish | undefined;
|
|
994
|
+
pointsAtZ?: Numberish | undefined;
|
|
995
|
+
preserveAlpha?: Numberish | undefined;
|
|
996
|
+
preserveAspectRatio?: string | undefined;
|
|
997
|
+
primitiveUnits?: Numberish | undefined;
|
|
998
|
+
r?: Numberish | undefined;
|
|
999
|
+
radius?: Numberish | undefined;
|
|
1000
|
+
refX?: Numberish | undefined;
|
|
1001
|
+
refY?: Numberish | undefined;
|
|
1002
|
+
renderingIntent?: Numberish | undefined;
|
|
1003
|
+
repeatCount?: Numberish | undefined;
|
|
1004
|
+
repeatDur?: Numberish | undefined;
|
|
1005
|
+
requiredExtensions?: Numberish | undefined;
|
|
1006
|
+
requiredFeatures?: Numberish | undefined;
|
|
1007
|
+
restart?: Numberish | undefined;
|
|
1008
|
+
result?: string | undefined;
|
|
1009
|
+
rotate?: Numberish | undefined;
|
|
1010
|
+
rx?: Numberish | undefined;
|
|
1011
|
+
ry?: Numberish | undefined;
|
|
1012
|
+
scale?: Numberish | undefined;
|
|
1013
|
+
seed?: Numberish | undefined;
|
|
1014
|
+
'shape-rendering'?: Numberish | undefined;
|
|
1015
|
+
slope?: Numberish | undefined;
|
|
1016
|
+
spacing?: Numberish | undefined;
|
|
1017
|
+
specularConstant?: Numberish | undefined;
|
|
1018
|
+
specularExponent?: Numberish | undefined;
|
|
1019
|
+
speed?: Numberish | undefined;
|
|
1020
|
+
spreadMethod?: string | undefined;
|
|
1021
|
+
startOffset?: Numberish | undefined;
|
|
1022
|
+
stdDeviation?: Numberish | undefined;
|
|
1023
|
+
stemh?: Numberish | undefined;
|
|
1024
|
+
stemv?: Numberish | undefined;
|
|
1025
|
+
stitchTiles?: Numberish | undefined;
|
|
1026
|
+
'stop-color'?: string | undefined;
|
|
1027
|
+
'stop-opacity'?: Numberish | undefined;
|
|
1028
|
+
'strikethrough-position'?: Numberish | undefined;
|
|
1029
|
+
'strikethrough-thickness'?: Numberish | undefined;
|
|
1030
|
+
string?: Numberish | undefined;
|
|
1031
|
+
stroke?: string | undefined;
|
|
1032
|
+
'stroke-dasharray'?: Numberish | undefined;
|
|
1033
|
+
'stroke-dashoffset'?: Numberish | undefined;
|
|
1034
|
+
'stroke-linecap'?: 'butt' | 'round' | 'square' | 'inherit' | undefined;
|
|
1035
|
+
'stroke-linejoin'?: 'miter' | 'round' | 'bevel' | 'inherit' | undefined;
|
|
1036
|
+
'stroke-miterlimit'?: Numberish | undefined;
|
|
1037
|
+
'stroke-opacity'?: Numberish | undefined;
|
|
1038
|
+
'stroke-width'?: Numberish | undefined;
|
|
1039
|
+
surfaceScale?: Numberish | undefined;
|
|
1040
|
+
systemLanguage?: Numberish | undefined;
|
|
1041
|
+
tableValues?: Numberish | undefined;
|
|
1042
|
+
targetX?: Numberish | undefined;
|
|
1043
|
+
targetY?: Numberish | undefined;
|
|
1044
|
+
'text-anchor'?: string | undefined;
|
|
1045
|
+
'text-decoration'?: Numberish | undefined;
|
|
1046
|
+
textLength?: Numberish | undefined;
|
|
1047
|
+
'text-rendering'?: Numberish | undefined;
|
|
1048
|
+
to?: Numberish | undefined;
|
|
1049
|
+
transform?: string | undefined;
|
|
1050
|
+
u1?: Numberish | undefined;
|
|
1051
|
+
u2?: Numberish | undefined;
|
|
1052
|
+
'underline-position'?: Numberish | undefined;
|
|
1053
|
+
'underline-thickness'?: Numberish | undefined;
|
|
1054
|
+
unicode?: Numberish | undefined;
|
|
1055
|
+
'unicode-bidi'?: Numberish | undefined;
|
|
1056
|
+
'unicode-range'?: Numberish | undefined;
|
|
1057
|
+
'unitsPer-em'?: Numberish | undefined;
|
|
1058
|
+
'v-alphabetic'?: Numberish | undefined;
|
|
1059
|
+
values?: string | undefined;
|
|
1060
|
+
'vector-effect'?: Numberish | undefined;
|
|
1061
|
+
version?: string | undefined;
|
|
1062
|
+
'vert-adv-y'?: Numberish | undefined;
|
|
1063
|
+
'vert-origin-x'?: Numberish | undefined;
|
|
1064
|
+
'vert-origin-y'?: Numberish | undefined;
|
|
1065
|
+
'v-hanging'?: Numberish | undefined;
|
|
1066
|
+
'v-ideographic'?: Numberish | undefined;
|
|
1067
|
+
viewBox?: string | undefined;
|
|
1068
|
+
viewTarget?: Numberish | undefined;
|
|
1069
|
+
visibility?: Numberish | undefined;
|
|
1070
|
+
'v-mathematical'?: Numberish | undefined;
|
|
1071
|
+
widths?: Numberish | undefined;
|
|
1072
|
+
'word-spacing'?: Numberish | undefined;
|
|
1073
|
+
'writing-mode'?: Numberish | undefined;
|
|
1074
|
+
x1?: Numberish | undefined;
|
|
1075
|
+
x2?: Numberish | undefined;
|
|
1076
|
+
x?: Numberish | undefined;
|
|
1077
|
+
xChannelSelector?: string | undefined;
|
|
1078
|
+
'x-height'?: Numberish | undefined;
|
|
1079
|
+
xlinkActuate?: string | undefined;
|
|
1080
|
+
xlinkArcrole?: string | undefined;
|
|
1081
|
+
xlinkHref?: string | undefined;
|
|
1082
|
+
xlinkRole?: string | undefined;
|
|
1083
|
+
xlinkShow?: string | undefined;
|
|
1084
|
+
xlinkTitle?: string | undefined;
|
|
1085
|
+
xlinkType?: string | undefined;
|
|
1086
|
+
xmlns?: string | undefined;
|
|
1087
|
+
xmlnsXlink?: string | undefined;
|
|
1088
|
+
y1?: Numberish | undefined;
|
|
1089
|
+
y2?: Numberish | undefined;
|
|
1090
|
+
y?: Numberish | undefined;
|
|
1091
|
+
yChannelSelector?: string | undefined;
|
|
1092
|
+
z?: Numberish | undefined;
|
|
1093
|
+
zoomAndPan?: string | undefined;
|
|
1090
1094
|
}
|
|
1091
1095
|
export interface IntrinsicElementAttributes {
|
|
1092
1096
|
a: AnchorHTMLAttributes;
|
|
@@ -1282,19 +1286,19 @@ export interface Events {
|
|
|
1282
1286
|
onFocusout: FocusEvent;
|
|
1283
1287
|
onBlur: FocusEvent;
|
|
1284
1288
|
onChange: Event;
|
|
1285
|
-
onBeforeinput:
|
|
1286
|
-
|
|
1289
|
+
onBeforeinput: InputEvent;
|
|
1290
|
+
onFormdata: FormDataEvent;
|
|
1291
|
+
onInput: InputEvent;
|
|
1287
1292
|
onReset: Event;
|
|
1288
|
-
onSubmit:
|
|
1293
|
+
onSubmit: SubmitEvent;
|
|
1289
1294
|
onInvalid: Event;
|
|
1295
|
+
onFullscreenchange: Event;
|
|
1296
|
+
onFullscreenerror: Event;
|
|
1290
1297
|
onLoad: Event;
|
|
1291
1298
|
onError: Event;
|
|
1292
1299
|
onKeydown: KeyboardEvent;
|
|
1293
1300
|
onKeypress: KeyboardEvent;
|
|
1294
1301
|
onKeyup: KeyboardEvent;
|
|
1295
|
-
onAuxclick: MouseEvent;
|
|
1296
|
-
onClick: MouseEvent;
|
|
1297
|
-
onContextmenu: MouseEvent;
|
|
1298
1302
|
onDblclick: MouseEvent;
|
|
1299
1303
|
onMousedown: MouseEvent;
|
|
1300
1304
|
onMouseenter: MouseEvent;
|
|
@@ -1303,12 +1307,12 @@ export interface Events {
|
|
|
1303
1307
|
onMouseout: MouseEvent;
|
|
1304
1308
|
onMouseover: MouseEvent;
|
|
1305
1309
|
onMouseup: MouseEvent;
|
|
1306
|
-
onAbort:
|
|
1310
|
+
onAbort: UIEvent;
|
|
1307
1311
|
onCanplay: Event;
|
|
1308
1312
|
onCanplaythrough: Event;
|
|
1309
1313
|
onDurationchange: Event;
|
|
1310
1314
|
onEmptied: Event;
|
|
1311
|
-
onEncrypted:
|
|
1315
|
+
onEncrypted: MediaEncryptedEvent;
|
|
1312
1316
|
onEnded: Event;
|
|
1313
1317
|
onLoadeddata: Event;
|
|
1314
1318
|
onLoadedmetadata: Event;
|
|
@@ -1316,7 +1320,7 @@ export interface Events {
|
|
|
1316
1320
|
onPause: Event;
|
|
1317
1321
|
onPlay: Event;
|
|
1318
1322
|
onPlaying: Event;
|
|
1319
|
-
onProgress:
|
|
1323
|
+
onProgress: ProgressEvent;
|
|
1320
1324
|
onRatechange: Event;
|
|
1321
1325
|
onSeeked: Event;
|
|
1322
1326
|
onSeeking: Event;
|
|
@@ -1332,6 +1336,11 @@ export interface Events {
|
|
|
1332
1336
|
onTouchend: TouchEvent;
|
|
1333
1337
|
onTouchmove: TouchEvent;
|
|
1334
1338
|
onTouchstart: TouchEvent;
|
|
1339
|
+
onAuxclick: PointerEvent;
|
|
1340
|
+
onClick: PointerEvent;
|
|
1341
|
+
onContextmenu: PointerEvent;
|
|
1342
|
+
onGotpointercapture: PointerEvent;
|
|
1343
|
+
onLostpointercapture: PointerEvent;
|
|
1335
1344
|
onPointerdown: PointerEvent;
|
|
1336
1345
|
onPointermove: PointerEvent;
|
|
1337
1346
|
onPointerup: PointerEvent;
|
|
@@ -1340,23 +1349,29 @@ export interface Events {
|
|
|
1340
1349
|
onPointerleave: PointerEvent;
|
|
1341
1350
|
onPointerover: PointerEvent;
|
|
1342
1351
|
onPointerout: PointerEvent;
|
|
1352
|
+
onBeforetoggle: ToggleEvent;
|
|
1353
|
+
onToggle: ToggleEvent;
|
|
1343
1354
|
onWheel: WheelEvent;
|
|
1355
|
+
onAnimationcancel: AnimationEvent;
|
|
1344
1356
|
onAnimationstart: AnimationEvent;
|
|
1345
1357
|
onAnimationend: AnimationEvent;
|
|
1346
1358
|
onAnimationiteration: AnimationEvent;
|
|
1359
|
+
onSecuritypolicyviolation: SecurityPolicyViolationEvent;
|
|
1360
|
+
onTransitioncancel: TransitionEvent;
|
|
1347
1361
|
onTransitionend: TransitionEvent;
|
|
1362
|
+
onTransitionrun: TransitionEvent;
|
|
1348
1363
|
onTransitionstart: TransitionEvent;
|
|
1349
1364
|
}
|
|
1350
1365
|
type EventHandlers<E> = {
|
|
1351
1366
|
[K in keyof E]?: E[K] extends (...args: any) => any ? E[K] : (payload: E[K]) => void;
|
|
1352
1367
|
};
|
|
1353
1368
|
|
|
1354
|
-
export
|
|
1355
|
-
key?: PropertyKey;
|
|
1356
|
-
ref?: VNodeRef;
|
|
1357
|
-
ref_for?: boolean;
|
|
1358
|
-
ref_key?: string;
|
|
1359
|
-
}
|
|
1369
|
+
export interface ReservedProps {
|
|
1370
|
+
key?: PropertyKey | undefined;
|
|
1371
|
+
ref?: VNodeRef | undefined;
|
|
1372
|
+
ref_for?: boolean | undefined;
|
|
1373
|
+
ref_key?: string | undefined;
|
|
1374
|
+
}
|
|
1360
1375
|
export type NativeElements = {
|
|
1361
1376
|
[K in keyof IntrinsicElementAttributes]: IntrinsicElementAttributes[K] & ReservedProps;
|
|
1362
1377
|
};
|
|
@@ -1366,10 +1381,9 @@ export type NativeElements = {
|
|
|
1366
1381
|
*
|
|
1367
1382
|
* To enable proper types, add `"dom"` to `"lib"` in your `tsconfig.json`.
|
|
1368
1383
|
*/
|
|
1369
|
-
type DomStub = {};
|
|
1370
1384
|
type DomType<T> = typeof globalThis extends {
|
|
1371
1385
|
window: unknown;
|
|
1372
|
-
} ? T :
|
|
1386
|
+
} ? T : never;
|
|
1373
1387
|
declare module '@vue/reactivity' {
|
|
1374
1388
|
interface RefUnwrapBailTypes {
|
|
1375
1389
|
runtimeDOMBailTypes: DomType<Node | Window>;
|