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