@vuact/runtime-dom 3.5.46-vuact.0 → 3.6.0-rc.17-vuact.0

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