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