runtime-dom.d.ts 54 KB

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