runtime-dom.d.ts 43 KB

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