runtime-dom.d.ts 43 KB

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