Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

runtime-dom.d.ts 44KB

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