@vue/runtime-dom 3.6.0-alpha.7 → 3.6.0-beta.10

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