defuss 2.1.5 → 2.1.8
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/dom-5La9c8gi.mjs +2238 -0
- package/dist/dom-6YgdVqVx.mjs +2261 -0
- package/dist/dom-7pG7cJDy.cjs +2347 -0
- package/dist/dom-9lUhACXM.cjs +2317 -0
- package/dist/dom-9zZ-K98e.cjs +2312 -0
- package/dist/dom-AD7oYp9m.mjs +2303 -0
- package/dist/dom-B-4_zbnA.mjs +2230 -0
- package/dist/dom-B5jGlf3K.cjs +2342 -0
- package/dist/dom-B8_C8Zgt.cjs +2457 -0
- package/dist/dom-BDshlKCm.cjs +2356 -0
- package/dist/dom-BGykCROC.mjs +2243 -0
- package/dist/dom-BOnuFgsJ.mjs +2299 -0
- package/dist/dom-BP_x1As_.cjs +2355 -0
- package/dist/dom-BRAdwIlJ.mjs +2276 -0
- package/dist/dom-BSO3J6OC.cjs +2374 -0
- package/dist/dom-BT-7j2kS.cjs +2332 -0
- package/dist/dom-BU_Y8m8u.cjs +2309 -0
- package/dist/dom-BUxDnVe5.cjs +2367 -0
- package/dist/dom-BXwr0u7X.cjs +2288 -0
- package/dist/dom-Bh48t3QH.cjs +2309 -0
- package/dist/dom-Bmbaxzo_.cjs +2331 -0
- package/dist/dom-BmdtFcEf.mjs +2285 -0
- package/dist/dom-Bo-IMQNt.cjs +2359 -0
- package/dist/dom-Bp4gUVKV.mjs +2284 -0
- package/dist/dom-BqbxwcCE.mjs +2384 -0
- package/dist/dom-BrW5ZKRm.mjs +2296 -0
- package/dist/dom-BsQSkMUT.mjs +2241 -0
- package/dist/dom-BtAWK9CQ.cjs +2314 -0
- package/dist/dom-ByjUuSm7.cjs +2309 -0
- package/dist/dom-C05Iz3K_.mjs +2271 -0
- package/dist/dom-C3u_0LRS.cjs +2356 -0
- package/dist/dom-CHzqKlVb.cjs +2347 -0
- package/dist/dom-CIAP2yxp.cjs +2350 -0
- package/dist/dom-CJWcejn4.mjs +2227 -0
- package/dist/dom-CJqcx0rv.mjs +2276 -0
- package/dist/dom-CTXFJwuW.mjs +2286 -0
- package/dist/dom-CUwrt5_J.mjs +2284 -0
- package/dist/dom-CZyptOLC.mjs +2296 -0
- package/dist/dom-CdS2V9wu.mjs +2238 -0
- package/dist/dom-CkEIX4mM.cjs +2367 -0
- package/dist/dom-CuTpS0kA.cjs +2309 -0
- package/dist/dom-CvzGuzAC.cjs +2347 -0
- package/dist/dom-Cx8vHFDE.cjs +2343 -0
- package/dist/dom-D3sySzqG.mjs +2245 -0
- package/dist/dom-D6OYO4pb.cjs +2367 -0
- package/dist/dom-D7AVeDYS.mjs +2276 -0
- package/dist/dom-DACMA4Zp.cjs +2288 -0
- package/dist/dom-DDd2Si3u.mjs +2217 -0
- package/dist/dom-DFgP6_af.mjs +2272 -0
- package/dist/dom-DI3dNQ39.mjs +2238 -0
- package/dist/dom-DIBaBmQC.mjs +2288 -0
- package/dist/dom-DIVVES7h.cjs +2352 -0
- package/dist/dom-DIaxwYzA.cjs +2363 -0
- package/dist/dom-DLZArbMr.mjs +2260 -0
- package/dist/dom-DMiXsqWa.mjs +2279 -0
- package/dist/dom-DOOPplZf.mjs +2260 -0
- package/dist/dom-DOWy6g_i.cjs +2357 -0
- package/dist/dom-DQIwyWo8.cjs +2366 -0
- package/dist/dom-DQWG51CL.mjs +2285 -0
- package/dist/dom-DR_GEiK5.cjs +2347 -0
- package/dist/dom-DZe29ga7.mjs +2241 -0
- package/dist/dom-DcMm72jr.mjs +2238 -0
- package/dist/dom-DcYozBmi.mjs +2288 -0
- package/dist/dom-Dcg0bo5M.mjs +2296 -0
- package/dist/dom-DeM7GGlK.cjs +2301 -0
- package/dist/dom-DfzkM556.cjs +2314 -0
- package/dist/dom-DivSqSuY.cjs +2370 -0
- package/dist/dom-Dlt3PH50.mjs +2243 -0
- package/dist/dom-DnXPnikT.mjs +2295 -0
- package/dist/dom-Dw877wQE.cjs +2359 -0
- package/dist/dom-GTXWUcT3.mjs +2217 -0
- package/dist/dom-R2Xa7ZUY.mjs +2276 -0
- package/dist/dom-WXYEYY9U.mjs +2281 -0
- package/dist/dom-_Xml1fXl.mjs +2246 -0
- package/dist/dom-amn9ncb9.cjs +2355 -0
- package/dist/dom-cmQS4_Dy.mjs +2292 -0
- package/dist/dom-dUhxcEjV.cjs +2312 -0
- package/dist/dom-f_pwvPe_.cjs +2331 -0
- package/dist/dom-kryigijL.cjs +2298 -0
- package/dist/dom-l204VwKS.cjs +2316 -0
- package/dist/index-BtN0qNFA.d.ts +1485 -0
- package/dist/index-D1d54FRw.d.ts +1489 -0
- package/dist/index-DFJW04ow.d.ts +1486 -0
- package/dist/index-Djj-C9eX.d.ts +1486 -0
- package/dist/index.cjs +3 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +4 -2
- package/dist/render/client.cjs +1 -1
- package/dist/render/client.d.cts +2 -2
- package/dist/render/client.d.ts +2 -2
- package/dist/render/client.mjs +2 -2
- package/dist/render/dev/index.cjs +1 -1
- package/dist/render/dev/index.d.cts +1 -1
- package/dist/render/dev/index.d.ts +1 -1
- package/dist/render/dev/index.mjs +1 -1
- package/dist/render/index.cjs +1 -1
- package/dist/render/index.d.cts +1 -1
- package/dist/render/index.d.ts +1 -1
- package/dist/render/index.mjs +1 -1
- package/dist/render/server.cjs +1 -1
- package/dist/render/server.d.cts +2 -2
- package/dist/render/server.d.ts +2 -2
- package/dist/render/server.mjs +2 -2
- package/package.json +3 -3
|
@@ -0,0 +1,1489 @@
|
|
|
1
|
+
import * as CSS from 'csstype';
|
|
2
|
+
|
|
3
|
+
type MemoryProviderOptions = {};
|
|
4
|
+
interface MemoryStorage<T> extends PersistenceProviderImpl<T> {
|
|
5
|
+
backendApi: Omit<Omit<Storage, "key">, "length">;
|
|
6
|
+
}
|
|
7
|
+
interface WebStorage<T> extends PersistenceProviderImpl<T> {
|
|
8
|
+
backendApi: Storage;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
type MiddlewareFn<T> = (key: string, value: T) => T;
|
|
12
|
+
/** a simple key/value persistence interface */
|
|
13
|
+
interface PersistenceProviderImpl<T> {
|
|
14
|
+
get: (key: string, defaultValue: T, middlewareFn?: MiddlewareFn<T>) => T;
|
|
15
|
+
set: (key: string, value: T, middlewareFn?: MiddlewareFn<T>) => void;
|
|
16
|
+
remove: (key: string) => void;
|
|
17
|
+
removeAll: () => void;
|
|
18
|
+
backendApi: any;
|
|
19
|
+
}
|
|
20
|
+
type PersistenceProviderType = "session" | "local" | "memory";
|
|
21
|
+
type PersistenceProviderOptions = MemoryProviderOptions;
|
|
22
|
+
|
|
23
|
+
type TransitionType = "fade" | "slide-left" | "slide-right" | "shake" | "none";
|
|
24
|
+
interface TransitionStyles {
|
|
25
|
+
enter: Record<string, string>;
|
|
26
|
+
enterActive: Record<string, string>;
|
|
27
|
+
exit: Record<string, string>;
|
|
28
|
+
exitActive: Record<string, string>;
|
|
29
|
+
}
|
|
30
|
+
type TransitionsEasing = "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out" | "step-start" | "step-end";
|
|
31
|
+
interface TransitionConfig {
|
|
32
|
+
type?: TransitionType;
|
|
33
|
+
styles?: TransitionStyles;
|
|
34
|
+
duration?: number;
|
|
35
|
+
easing?: TransitionsEasing | string;
|
|
36
|
+
delay?: number;
|
|
37
|
+
target?: "parent" | "self";
|
|
38
|
+
}
|
|
39
|
+
declare const getTransitionStyles: (type: TransitionType, duration: number, easing?: string) => TransitionStyles;
|
|
40
|
+
declare const applyStyles: (el: HTMLElement, styles: Record<string, string | number>) => void;
|
|
41
|
+
declare const DEFAULT_TRANSITION_CONFIG: TransitionConfig;
|
|
42
|
+
declare const performTransition: (element: HTMLElement, updateCallback: () => Promise<void>, config?: TransitionConfig) => Promise<void>;
|
|
43
|
+
|
|
44
|
+
type FormFieldValue = string | boolean;
|
|
45
|
+
interface FormKeyValues {
|
|
46
|
+
[keyOrPath: string]: FormFieldValue | FormFieldValue[];
|
|
47
|
+
}
|
|
48
|
+
interface Dimensions {
|
|
49
|
+
width: number;
|
|
50
|
+
height: number;
|
|
51
|
+
outerWidth?: number;
|
|
52
|
+
outerHeight?: number;
|
|
53
|
+
}
|
|
54
|
+
interface Position {
|
|
55
|
+
top: number;
|
|
56
|
+
left: number;
|
|
57
|
+
}
|
|
58
|
+
type DOMPropValue = string | number | boolean | null;
|
|
59
|
+
declare global {
|
|
60
|
+
interface HTMLElement {
|
|
61
|
+
_dequeryEvents?: Map<string, Set<EventListener>>;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
interface DequeryOptions<NT = DequerySyncMethodReturnType> {
|
|
65
|
+
timeout?: number;
|
|
66
|
+
autoStart?: boolean;
|
|
67
|
+
autoStartDelay?: number;
|
|
68
|
+
resultStack?: NT[];
|
|
69
|
+
globals?: Partial<Globals>;
|
|
70
|
+
}
|
|
71
|
+
type ElementCreationOptions = JSX.HTMLAttributesLowerCase & JSX.HTMLAttributesLowerCase & {
|
|
72
|
+
html?: string;
|
|
73
|
+
text?: string;
|
|
74
|
+
};
|
|
75
|
+
type DequerySyncMethodReturnType = Array<NodeType> | NodeType | string | boolean | null;
|
|
76
|
+
|
|
77
|
+
declare class Call<NT> {
|
|
78
|
+
name: string;
|
|
79
|
+
fn: (...args: any[]) => Promise<NT>;
|
|
80
|
+
args: any[];
|
|
81
|
+
constructor(name: string, fn: (...args: any[]) => Promise<NT>, ...args: any[]);
|
|
82
|
+
}
|
|
83
|
+
declare function addNonChainedReturnCallNames(callNames: string[]): void;
|
|
84
|
+
declare function getNonChainedReturnCallNames(): string[];
|
|
85
|
+
declare function isNonChainedReturnCall(callName: string): boolean;
|
|
86
|
+
declare const emptyImpl: <T>(nodes: Array<T>) => T[];
|
|
87
|
+
declare class CallChainImpl<NT = DequerySyncMethodReturnType, ET extends Dequery<NT> = Dequery<NT>> {
|
|
88
|
+
[index: number]: NT;
|
|
89
|
+
isResolved: boolean;
|
|
90
|
+
options: DequeryOptions<NT>;
|
|
91
|
+
elementCreationOptions: ElementCreationOptions;
|
|
92
|
+
callStack: Call<NT>[];
|
|
93
|
+
resultStack: NT[][];
|
|
94
|
+
stackPointer: number;
|
|
95
|
+
lastResolvedStackPointer: number;
|
|
96
|
+
stoppedWithError: Error | null;
|
|
97
|
+
lastResult: NT[] | CallChainImpl<NT, ET> | CallChainImplThenable<NT, ET>;
|
|
98
|
+
length: number;
|
|
99
|
+
chainStartTime: number;
|
|
100
|
+
chainAsyncStartTime: number;
|
|
101
|
+
chainAsyncFinishTime: number;
|
|
102
|
+
document: Document;
|
|
103
|
+
window: Window;
|
|
104
|
+
performance: Performance;
|
|
105
|
+
Parser: typeof DOMParser;
|
|
106
|
+
constructor(options?: DequeryOptions<NT>);
|
|
107
|
+
get globals(): Globals;
|
|
108
|
+
get nodes(): NodeType[];
|
|
109
|
+
[Symbol.iterator](): IterableIterator<NT>;
|
|
110
|
+
getFirstElement(): PromiseLike<NT>;
|
|
111
|
+
debug(cb: (chain: CallChainImpl<NT, ET>) => void): ET;
|
|
112
|
+
ref(ref: Ref<any, NodeType>): CallChainImpl<NT, ET> | CallChainImplThenable<NT, ET>;
|
|
113
|
+
query(selector: string): CallChainImpl<NT, ET> | CallChainImplThenable<NT, ET>;
|
|
114
|
+
next(): Dequery<NT>;
|
|
115
|
+
prev(): Dequery<NT>;
|
|
116
|
+
find(selector: string): CallChainImplThenable<NT, ET> | CallChainImpl<NT, ET>;
|
|
117
|
+
parent(): Dequery<NT>;
|
|
118
|
+
children(): Dequery<NT>;
|
|
119
|
+
closest(selector: string): Dequery<NT>;
|
|
120
|
+
first(): CallChainImpl<NT, ET> | CallChainImplThenable<NT, ET>;
|
|
121
|
+
last(): CallChainImpl<NT, ET> | CallChainImplThenable<NT, ET>;
|
|
122
|
+
attr(name: string, value: string): PromiseLike<ET>;
|
|
123
|
+
attr(name: string): PromiseLike<string | null>;
|
|
124
|
+
prop<K extends keyof AllHTMLElements>(name: K, value: DOMPropValue): PromiseLike<ET>;
|
|
125
|
+
prop<K extends keyof AllHTMLElements>(name: K): PromiseLike<string>;
|
|
126
|
+
private static resultCache;
|
|
127
|
+
css(prop: CSSProperties): PromiseLike<ET>;
|
|
128
|
+
css(prop: string, value: string): PromiseLike<ET>;
|
|
129
|
+
css(prop: string): PromiseLike<string>;
|
|
130
|
+
addClass(name: string | Array<string>): ET;
|
|
131
|
+
removeClass(name: string | Array<string>): ET;
|
|
132
|
+
hasClass(name: string): PromiseLike<boolean>;
|
|
133
|
+
toggleClass(name: string): ET;
|
|
134
|
+
animateClass(name: string, duration: number): ET;
|
|
135
|
+
empty(): ET;
|
|
136
|
+
html(): PromiseLike<string>;
|
|
137
|
+
html(html: string): PromiseLike<ET>;
|
|
138
|
+
jsx(vdom: RenderInput): ET;
|
|
139
|
+
text(text?: string): PromiseLike<string>;
|
|
140
|
+
remove(): ET;
|
|
141
|
+
replaceWith(content: string | RenderInput | NodeType | Ref<any, NodeType> | CallChainImpl<NT, ET> | CallChainImplThenable<NT, ET>): ET;
|
|
142
|
+
append<T = NT>(content: string | RenderInput | NodeType | Ref<any, NodeType> | CallChainImpl<T> | CallChainImplThenable<T>): ET;
|
|
143
|
+
appendTo<T = NT>(target: string | NodeType | Ref<any, NodeType> | CallChainImpl<T> | CallChainImplThenable<T>): ET;
|
|
144
|
+
update(input: string | RenderInput | Ref<any, NodeType> | NodeType | CallChainImpl<NT> | CallChainImplThenable<NT>, transitionConfig?: TransitionConfig): ET;
|
|
145
|
+
on(event: string, handler: EventListener): ET;
|
|
146
|
+
off(event: string, handler?: EventListener): ET;
|
|
147
|
+
clearEvents(): ET;
|
|
148
|
+
trigger(eventType: string): ET;
|
|
149
|
+
position(): PromiseLike<Position>;
|
|
150
|
+
offset(): PromiseLike<Position>;
|
|
151
|
+
data(name: string, value?: string): PromiseLike<string | undefined>;
|
|
152
|
+
val(val?: string | boolean): PromiseLike<string | boolean>;
|
|
153
|
+
serialize(format?: "querystring" | "json"): PromiseLike<string>;
|
|
154
|
+
form<T = FormKeyValues>(formData?: Record<string, string | boolean>): PromiseLike<T>;
|
|
155
|
+
dimension(includeMarginOrPadding?: boolean, includePaddingIfMarginTrue?: boolean): PromiseLike<Dimensions>;
|
|
156
|
+
isVisible(): PromiseLike<boolean>;
|
|
157
|
+
isHidden(): PromiseLike<boolean>;
|
|
158
|
+
scrollTo(xOrOptions: number | ScrollToOptions, y?: number): ET;
|
|
159
|
+
scrollBy(xOrOptions: number | ScrollToOptions, y?: number): ET;
|
|
160
|
+
scrollIntoView(options?: boolean | ScrollIntoViewOptions): ET;
|
|
161
|
+
map<T>(cb: (el: NT, idx: number) => T): PromiseLike<T[]>;
|
|
162
|
+
toArray(): PromiseLike<NT[]>;
|
|
163
|
+
filter(selector: string): ET;
|
|
164
|
+
/** memory cleanup (chain becomes useless after calling this method) */
|
|
165
|
+
dispose(): PromiseLike<void>;
|
|
166
|
+
ready(callback?: () => void): ET;
|
|
167
|
+
}
|
|
168
|
+
declare class CallChainImplThenable<NT = DequerySyncMethodReturnType, ET extends Dequery<NT> = Dequery<NT>> extends CallChainImpl<NT, ET> {
|
|
169
|
+
constructor(options?: DequeryOptions<NT>, isResolved?: boolean);
|
|
170
|
+
then(onfulfilled?: (value: CallChainImpl<NT, ET>) => CallChainImpl<NT, ET>, onrejected?: (reason: any) => any | PromiseLike<any>): Promise<any>;
|
|
171
|
+
catch<TResult = never>(onrejected?: (reason: any) => TResult | PromiseLike<TResult>): Promise<any | TResult>;
|
|
172
|
+
finally(onfinally?: () => void): Promise<any>;
|
|
173
|
+
}
|
|
174
|
+
declare function scrollHelper<T = NodeType>(methodName: "scrollTo" | "scrollBy", elements: T[], xOrOptions: number | ScrollToOptions, y?: number): T[];
|
|
175
|
+
declare function getAllFormValues(chain: CallChainImpl<any, any>): FormKeyValues;
|
|
176
|
+
declare function delayedAutoStart<NT = DequerySyncMethodReturnType, ET extends Dequery<NT> = Dequery<NT>>(chain: CallChainImplThenable<NT, ET> | CallChainImpl<NT, ET>): CallChainImplThenable<NT, ET> | CallChainImpl<NT, ET>;
|
|
177
|
+
interface Dequery<NT> extends CallChainImplThenable<NT>, CallChainImpl<NT> {
|
|
178
|
+
}
|
|
179
|
+
declare function dequery<NT = DequerySyncMethodReturnType, ET extends Dequery<NT> = Dequery<NT>>(selectorRefOrEl: string | NodeType | Ref<any, NodeType> | RenderInput | Function, options?: DequeryOptions<NT> & ElementCreationOptions): ET;
|
|
180
|
+
declare namespace dequery {
|
|
181
|
+
var extend: <TExtendedClass extends new (...args: any[]) => any>(ExtensionClass: TExtendedClass, nonChainedReturnCalls?: string[]) => <NT = DequerySyncMethodReturnType>(selectorRefOrEl: string | NodeType | Ref<any, NodeType> | RenderInput | Function, options?: DequeryOptions<NT> & ElementCreationOptions) => InstanceType<TExtendedClass>;
|
|
182
|
+
}
|
|
183
|
+
declare const $: typeof dequery & {
|
|
184
|
+
extend: <TExtendedClass extends new (...args: any[]) => any>(ExtensionClass: TExtendedClass) => <NT = DequerySyncMethodReturnType>(selectorRefOrEl: string | NodeType | Ref<any, NodeType> | RenderInput | Function, options?: DequeryOptions<NT> & ElementCreationOptions) => InstanceType<TExtendedClass>;
|
|
185
|
+
};
|
|
186
|
+
declare function isDequery(obj: unknown): obj is CallChainImplThenable | CallChainImpl;
|
|
187
|
+
declare function isDequeryOptionsObject(o: object): boolean;
|
|
188
|
+
declare function getDefaultDequeryOptions<NT>(): DequeryOptions<NT>;
|
|
189
|
+
declare function mapArrayIndexAccess<NT = DequerySyncMethodReturnType, ET extends Dequery<NT> = Dequery<NT>>(source: CallChainImpl<NT, ET>, target: CallChainImpl<NT, ET>): void;
|
|
190
|
+
declare function createCall<NT, ET extends Dequery<NT>>(chain: CallChainImpl<NT, ET>, methodName: string, handler: () => Promise<NT>): CallChainImplThenable<NT, ET> | CallChainImpl<NT, ET>;
|
|
191
|
+
declare function createGetterSetterCall<NT, ET extends Dequery<NT>, T, V>(chain: CallChainImpl<NT, ET>, methodName: string, value: V | undefined, getter: () => T, setter: (value: V) => void): CallChainImplThenable<NT, ET> | CallChainImpl<NT, ET>;
|
|
192
|
+
declare function createSubChain<NT = DequerySyncMethodReturnType, ET extends Dequery<NT> = Dequery<NT>>(source: CallChainImpl<NT, ET>, Constructor?: typeof CallChainImpl | typeof CallChainImplThenable, isResolved?: boolean): CallChainImpl<NT, ET> | CallChainImplThenable<NT, ET>;
|
|
193
|
+
declare function subChainForNextAwait<NT, ET extends Dequery<NT>>(source: CallChainImpl<NT, ET>): CallChainImplThenable<NT, ET> | CallChainImpl<NT, ET>;
|
|
194
|
+
declare function runWithTimeGuard<NT>(timeout: number, fn: Function, args: any[], onError: (ms: number, call: Call<NT>) => void): Promise<any>;
|
|
195
|
+
declare function renderNode<T = DequerySyncMethodReturnType>(input: string | RenderInput | NodeType | Dequery<T> | Ref<any, NodeType> | CallChainImpl<T> | CallChainImplThenable<T> | null | undefined, chain: CallChainImpl<any> | CallChainImplThenable<any>): Promise<NodeType | null>;
|
|
196
|
+
declare function resolveNodes<T = DequerySyncMethodReturnType>(input: string | NodeType | Ref<any, NodeType> | CallChainImpl<T> | CallChainImplThenable<T>, timeout: number, document?: Document): Promise<NodeType[]>;
|
|
197
|
+
declare function traverse<NT, R = NT, ET extends Dequery<R> = Dequery<R>>(chain: CallChainImpl<NT, any>, methodName: string, selector: (el: Element) => Element | Element[] | null | undefined): ET;
|
|
198
|
+
declare function waitForRefCancellable<T>(ref: {
|
|
199
|
+
current: T | null;
|
|
200
|
+
}, timeout: number, isCancelled: () => boolean): Promise<T>;
|
|
201
|
+
declare function waitForWithPollingCancellable<T>(check: () => T | null | undefined, timeout: number, interval: number, isCancelled: () => boolean): Promise<T>;
|
|
202
|
+
|
|
203
|
+
type Listener<T> = (newValue: T, oldValue?: T, changedKey?: string) => void;
|
|
204
|
+
interface Store<T> {
|
|
205
|
+
value: T;
|
|
206
|
+
get: <D = T>(path?: string) => D;
|
|
207
|
+
set: <D = T>(pathOrValue: string | D, value?: D) => void;
|
|
208
|
+
subscribe: (listener: Listener<T>) => () => void;
|
|
209
|
+
persist: (key: string, provider?: PersistenceProviderType) => void;
|
|
210
|
+
restore: (key: string, provider?: PersistenceProviderType) => void;
|
|
211
|
+
}
|
|
212
|
+
declare const createStore: <T>(initialValue: T) => Store<T>;
|
|
213
|
+
|
|
214
|
+
type Globals = Performance & Window & typeof globalThis;
|
|
215
|
+
declare global {
|
|
216
|
+
interface HTMLElement {
|
|
217
|
+
_defussRef?: Ref;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
type NodeType = Node | Text | Element | Document | DocumentFragment | HTMLElement | SVGElement | null;
|
|
221
|
+
interface CSSProperties extends CSS.Properties<string | number> {
|
|
222
|
+
}
|
|
223
|
+
interface FontFaceProperties {
|
|
224
|
+
MozFontFeatureSettings?: CSS.Property.FontFeatureSettings;
|
|
225
|
+
fontDisplay?: "auto" | "block" | "fallback" | "optional" | "swap" | (string & {});
|
|
226
|
+
fontFamily?: CSS.Property.FontFamily;
|
|
227
|
+
fontFeatureSettings?: CSS.Property.FontFeatureSettings;
|
|
228
|
+
fontStretch?: CSS.Property.FontStretch;
|
|
229
|
+
fontStyle?: CSS.Property.FontStyle;
|
|
230
|
+
fontVariant?: CSS.Property.FontVariant;
|
|
231
|
+
fontVariationSettings?: CSS.Property.FontVariationSettings;
|
|
232
|
+
fontWeight?: CSS.Property.FontWeight;
|
|
233
|
+
src?: string;
|
|
234
|
+
unicodeRange?: string;
|
|
235
|
+
}
|
|
236
|
+
interface KeyFrameProperties {
|
|
237
|
+
from?: Partial<CSSProperties>;
|
|
238
|
+
to?: Partial<CSSProperties>;
|
|
239
|
+
"0%"?: Partial<CSSProperties>;
|
|
240
|
+
"1%"?: Partial<CSSProperties>;
|
|
241
|
+
"2%"?: Partial<CSSProperties>;
|
|
242
|
+
"3%"?: Partial<CSSProperties>;
|
|
243
|
+
"4%"?: Partial<CSSProperties>;
|
|
244
|
+
"5%"?: Partial<CSSProperties>;
|
|
245
|
+
"6%"?: Partial<CSSProperties>;
|
|
246
|
+
"7%"?: Partial<CSSProperties>;
|
|
247
|
+
"8%"?: Partial<CSSProperties>;
|
|
248
|
+
"9%"?: Partial<CSSProperties>;
|
|
249
|
+
"10%"?: Partial<CSSProperties>;
|
|
250
|
+
"11%"?: Partial<CSSProperties>;
|
|
251
|
+
"12%"?: Partial<CSSProperties>;
|
|
252
|
+
"13%"?: Partial<CSSProperties>;
|
|
253
|
+
"14%"?: Partial<CSSProperties>;
|
|
254
|
+
"15%"?: Partial<CSSProperties>;
|
|
255
|
+
"16%"?: Partial<CSSProperties>;
|
|
256
|
+
"17%"?: Partial<CSSProperties>;
|
|
257
|
+
"18%"?: Partial<CSSProperties>;
|
|
258
|
+
"19%"?: Partial<CSSProperties>;
|
|
259
|
+
"20%"?: Partial<CSSProperties>;
|
|
260
|
+
"21%"?: Partial<CSSProperties>;
|
|
261
|
+
"22%"?: Partial<CSSProperties>;
|
|
262
|
+
"23%"?: Partial<CSSProperties>;
|
|
263
|
+
"24%"?: Partial<CSSProperties>;
|
|
264
|
+
"25%"?: Partial<CSSProperties>;
|
|
265
|
+
"26%"?: Partial<CSSProperties>;
|
|
266
|
+
"27%"?: Partial<CSSProperties>;
|
|
267
|
+
"28%"?: Partial<CSSProperties>;
|
|
268
|
+
"29%"?: Partial<CSSProperties>;
|
|
269
|
+
"30%"?: Partial<CSSProperties>;
|
|
270
|
+
"31%"?: Partial<CSSProperties>;
|
|
271
|
+
"32%"?: Partial<CSSProperties>;
|
|
272
|
+
"33%"?: Partial<CSSProperties>;
|
|
273
|
+
"34%"?: Partial<CSSProperties>;
|
|
274
|
+
"35%"?: Partial<CSSProperties>;
|
|
275
|
+
"36%"?: Partial<CSSProperties>;
|
|
276
|
+
"37%"?: Partial<CSSProperties>;
|
|
277
|
+
"38%"?: Partial<CSSProperties>;
|
|
278
|
+
"39%"?: Partial<CSSProperties>;
|
|
279
|
+
"40%"?: Partial<CSSProperties>;
|
|
280
|
+
"41%"?: Partial<CSSProperties>;
|
|
281
|
+
"42%"?: Partial<CSSProperties>;
|
|
282
|
+
"43%"?: Partial<CSSProperties>;
|
|
283
|
+
"44%"?: Partial<CSSProperties>;
|
|
284
|
+
"45%"?: Partial<CSSProperties>;
|
|
285
|
+
"46%"?: Partial<CSSProperties>;
|
|
286
|
+
"47%"?: Partial<CSSProperties>;
|
|
287
|
+
"48%"?: Partial<CSSProperties>;
|
|
288
|
+
"49%"?: Partial<CSSProperties>;
|
|
289
|
+
"50%"?: Partial<CSSProperties>;
|
|
290
|
+
"51%"?: Partial<CSSProperties>;
|
|
291
|
+
"52%"?: Partial<CSSProperties>;
|
|
292
|
+
"53%"?: Partial<CSSProperties>;
|
|
293
|
+
"54%"?: Partial<CSSProperties>;
|
|
294
|
+
"55%"?: Partial<CSSProperties>;
|
|
295
|
+
"56%"?: Partial<CSSProperties>;
|
|
296
|
+
"57%"?: Partial<CSSProperties>;
|
|
297
|
+
"58%"?: Partial<CSSProperties>;
|
|
298
|
+
"59%"?: Partial<CSSProperties>;
|
|
299
|
+
"60%"?: Partial<CSSProperties>;
|
|
300
|
+
"61%"?: Partial<CSSProperties>;
|
|
301
|
+
"62%"?: Partial<CSSProperties>;
|
|
302
|
+
"63%"?: Partial<CSSProperties>;
|
|
303
|
+
"64%"?: Partial<CSSProperties>;
|
|
304
|
+
"65%"?: Partial<CSSProperties>;
|
|
305
|
+
"66%"?: Partial<CSSProperties>;
|
|
306
|
+
"67%"?: Partial<CSSProperties>;
|
|
307
|
+
"68%"?: Partial<CSSProperties>;
|
|
308
|
+
"69%"?: Partial<CSSProperties>;
|
|
309
|
+
"70%"?: Partial<CSSProperties>;
|
|
310
|
+
"71%"?: Partial<CSSProperties>;
|
|
311
|
+
"72%"?: Partial<CSSProperties>;
|
|
312
|
+
"73%"?: Partial<CSSProperties>;
|
|
313
|
+
"74%"?: Partial<CSSProperties>;
|
|
314
|
+
"75%"?: Partial<CSSProperties>;
|
|
315
|
+
"76%"?: Partial<CSSProperties>;
|
|
316
|
+
"77%"?: Partial<CSSProperties>;
|
|
317
|
+
"78%"?: Partial<CSSProperties>;
|
|
318
|
+
"79%"?: Partial<CSSProperties>;
|
|
319
|
+
"80%"?: Partial<CSSProperties>;
|
|
320
|
+
"81%"?: Partial<CSSProperties>;
|
|
321
|
+
"82%"?: Partial<CSSProperties>;
|
|
322
|
+
"83%"?: Partial<CSSProperties>;
|
|
323
|
+
"84%"?: Partial<CSSProperties>;
|
|
324
|
+
"85%"?: Partial<CSSProperties>;
|
|
325
|
+
"86%"?: Partial<CSSProperties>;
|
|
326
|
+
"87%"?: Partial<CSSProperties>;
|
|
327
|
+
"88%"?: Partial<CSSProperties>;
|
|
328
|
+
"89%"?: Partial<CSSProperties>;
|
|
329
|
+
"90%"?: Partial<CSSProperties>;
|
|
330
|
+
"91%"?: Partial<CSSProperties>;
|
|
331
|
+
"92%"?: Partial<CSSProperties>;
|
|
332
|
+
"93%"?: Partial<CSSProperties>;
|
|
333
|
+
"94%"?: Partial<CSSProperties>;
|
|
334
|
+
"95%"?: Partial<CSSProperties>;
|
|
335
|
+
"96%"?: Partial<CSSProperties>;
|
|
336
|
+
"97%"?: Partial<CSSProperties>;
|
|
337
|
+
"98%"?: Partial<CSSProperties>;
|
|
338
|
+
"99%"?: Partial<CSSProperties>;
|
|
339
|
+
"100%"?: Partial<CSSProperties>;
|
|
340
|
+
}
|
|
341
|
+
type RefUpdateRenderFnInput = string | RenderInput | NodeType | Dequery<NodeType>;
|
|
342
|
+
type RefUpdateFn<ST> = (state: ST) => void;
|
|
343
|
+
type RefUpdateRenderFn = (input: RefUpdateRenderFnInput) => Promise<CallChainImpl<NodeType>>;
|
|
344
|
+
interface Ref<ST = any, NT = null | Node | Element | Text> {
|
|
345
|
+
current: NT;
|
|
346
|
+
store?: Store<ST>;
|
|
347
|
+
state?: ST;
|
|
348
|
+
update: RefUpdateRenderFn;
|
|
349
|
+
updateState: RefUpdateFn<ST>;
|
|
350
|
+
subscribe: (refUpdateFn: RefUpdateFn<ST>) => () => void;
|
|
351
|
+
persist: (key: string, provider?: PersistenceProviderType) => void;
|
|
352
|
+
restore: (key: string, provider?: PersistenceProviderType) => void;
|
|
353
|
+
}
|
|
354
|
+
interface VAttributes {
|
|
355
|
+
ref?: Ref;
|
|
356
|
+
key?: string;
|
|
357
|
+
}
|
|
358
|
+
interface VNodeAttributes extends VAttributes {
|
|
359
|
+
[attributeName: string]: any;
|
|
360
|
+
key?: string;
|
|
361
|
+
}
|
|
362
|
+
interface JsxSourceInfo {
|
|
363
|
+
fileName: string;
|
|
364
|
+
lineNumber: number;
|
|
365
|
+
columnNumber: number;
|
|
366
|
+
exportName?: string;
|
|
367
|
+
allChildrenAreStatic?: boolean;
|
|
368
|
+
selfReference?: boolean;
|
|
369
|
+
}
|
|
370
|
+
interface VNode<A = VNodeAttributes> {
|
|
371
|
+
type?: VNodeType;
|
|
372
|
+
attributes?: A;
|
|
373
|
+
children?: VNodeChildren;
|
|
374
|
+
sourceInfo?: JsxSourceInfo;
|
|
375
|
+
}
|
|
376
|
+
type VNodeType = string | Function | any;
|
|
377
|
+
type VNodeKey = string | number | any;
|
|
378
|
+
type VNodeRefObject<T> = {
|
|
379
|
+
current?: T | null;
|
|
380
|
+
};
|
|
381
|
+
type VNodeRefCallback<T> = (instance: T | null) => void;
|
|
382
|
+
type VNodeRef<T> = VNodeRefObject<T> | VNodeRefCallback<T>;
|
|
383
|
+
type VNodeChild = VNode<any> | object | string | number | boolean | null | undefined;
|
|
384
|
+
type VNodeChildren = VNodeChild[];
|
|
385
|
+
type Children = VNodeChildren;
|
|
386
|
+
interface DomAbstractionImpl {
|
|
387
|
+
hasElNamespace(domElement: Element): boolean;
|
|
388
|
+
hasSvgNamespace(parentElement: Element, type: string): boolean;
|
|
389
|
+
createElementOrElements(virtualNode: VNode | undefined | Array<VNode | undefined | string>, parentDomElement?: Element | Document): Array<Element | Text | undefined> | Element | Text | undefined;
|
|
390
|
+
createElement(virtualNode: VNode | undefined, parentDomElement?: Element | Document): Element | undefined;
|
|
391
|
+
createTextNode(text: string, parentDomElement?: Element | Document): Text;
|
|
392
|
+
createChildElements(virtualChildren: VNodeChildren, parentDomElement?: Element): Array<Element | Text | undefined>;
|
|
393
|
+
setAttribute(name: string, value: any, parentDomElement: Element, attributes: VNodeAttributes): void;
|
|
394
|
+
setAttributes(attributes: VNode<VNodeAttributes>, parentDomElement: Element): void;
|
|
395
|
+
}
|
|
396
|
+
declare global {
|
|
397
|
+
namespace JSX {
|
|
398
|
+
interface ElementAttributesProperty {
|
|
399
|
+
attrs: {};
|
|
400
|
+
}
|
|
401
|
+
interface SVGAttributes extends HTMLAttributes {
|
|
402
|
+
accentHeight?: number | string;
|
|
403
|
+
accumulate?: "none" | "sum";
|
|
404
|
+
additive?: "replace" | "sum";
|
|
405
|
+
alignmentBaseline?: "auto" | "baseline" | "before-edge" | "text-before-edge" | "middle" | "central" | "after-edge" | "text-after-edge" | "ideographic" | "alphabetic" | "hanging" | "mathematical" | "inherit";
|
|
406
|
+
allowReorder?: "no" | "yes";
|
|
407
|
+
alphabetic?: number | string;
|
|
408
|
+
amplitude?: number | string;
|
|
409
|
+
arabicForm?: "initial" | "medial" | "terminal" | "isolated";
|
|
410
|
+
ascent?: number | string;
|
|
411
|
+
attributeName?: string;
|
|
412
|
+
attributeType?: string;
|
|
413
|
+
autoReverse?: number | string;
|
|
414
|
+
azimuth?: number | string;
|
|
415
|
+
baseFrequency?: number | string;
|
|
416
|
+
baselineShift?: number | string;
|
|
417
|
+
baseProfile?: number | string;
|
|
418
|
+
bbox?: number | string;
|
|
419
|
+
begin?: number | string;
|
|
420
|
+
bias?: number | string;
|
|
421
|
+
by?: number | string;
|
|
422
|
+
calcMode?: number | string;
|
|
423
|
+
capHeight?: number | string;
|
|
424
|
+
clip?: number | string;
|
|
425
|
+
clipPath?: string;
|
|
426
|
+
clipPathUnits?: number | string;
|
|
427
|
+
clipRule?: number | string;
|
|
428
|
+
colorInterpolation?: number | string;
|
|
429
|
+
colorInterpolationFilters?: "auto" | "sRGB" | "linearRGB" | "inherit";
|
|
430
|
+
colorProfile?: number | string;
|
|
431
|
+
colorRendering?: number | string;
|
|
432
|
+
contentScriptType?: number | string;
|
|
433
|
+
contentStyleType?: number | string;
|
|
434
|
+
cursor?: number | string;
|
|
435
|
+
cx?: number | string;
|
|
436
|
+
cy?: number | string;
|
|
437
|
+
d?: string;
|
|
438
|
+
decelerate?: number | string;
|
|
439
|
+
descent?: number | string;
|
|
440
|
+
diffuseConstant?: number | string;
|
|
441
|
+
direction?: number | string;
|
|
442
|
+
display?: number | string;
|
|
443
|
+
divisor?: number | string;
|
|
444
|
+
dominantBaseline?: number | string;
|
|
445
|
+
dur?: number | string;
|
|
446
|
+
dx?: number | string;
|
|
447
|
+
dy?: number | string;
|
|
448
|
+
edgeMode?: number | string;
|
|
449
|
+
elevation?: number | string;
|
|
450
|
+
enableBackground?: number | string;
|
|
451
|
+
end?: number | string;
|
|
452
|
+
exponent?: number | string;
|
|
453
|
+
externalResourcesRequired?: number | string;
|
|
454
|
+
fill?: string;
|
|
455
|
+
fillOpacity?: number | string;
|
|
456
|
+
fillRule?: "nonzero" | "evenodd" | "inherit";
|
|
457
|
+
filter?: string;
|
|
458
|
+
filterRes?: number | string;
|
|
459
|
+
filterUnits?: number | string;
|
|
460
|
+
floodColor?: number | string;
|
|
461
|
+
floodOpacity?: number | string;
|
|
462
|
+
focusable?: number | string;
|
|
463
|
+
fontFamily?: string;
|
|
464
|
+
fontSize?: number | string;
|
|
465
|
+
fontSizeAdjust?: number | string;
|
|
466
|
+
fontStretch?: number | string;
|
|
467
|
+
fontStyle?: number | string;
|
|
468
|
+
fontVariant?: number | string;
|
|
469
|
+
fontWeight?: number | string;
|
|
470
|
+
format?: number | string;
|
|
471
|
+
from?: number | string;
|
|
472
|
+
fx?: number | string;
|
|
473
|
+
fy?: number | string;
|
|
474
|
+
g1?: number | string;
|
|
475
|
+
g2?: number | string;
|
|
476
|
+
glyphName?: number | string;
|
|
477
|
+
glyphOrientationHorizontal?: number | string;
|
|
478
|
+
glyphOrientationVertical?: number | string;
|
|
479
|
+
glyphRef?: number | string;
|
|
480
|
+
gradientTransform?: string;
|
|
481
|
+
gradientUnits?: string;
|
|
482
|
+
hanging?: number | string;
|
|
483
|
+
horizAdvX?: number | string;
|
|
484
|
+
horizOriginX?: number | string;
|
|
485
|
+
ideographic?: number | string;
|
|
486
|
+
imageRendering?: number | string;
|
|
487
|
+
in2?: number | string;
|
|
488
|
+
in?: string;
|
|
489
|
+
intercept?: number | string;
|
|
490
|
+
k1?: number | string;
|
|
491
|
+
k2?: number | string;
|
|
492
|
+
k3?: number | string;
|
|
493
|
+
k4?: number | string;
|
|
494
|
+
k?: number | string;
|
|
495
|
+
kernelMatrix?: number | string;
|
|
496
|
+
kernelUnitLength?: number | string;
|
|
497
|
+
kerning?: number | string;
|
|
498
|
+
keyPoints?: number | string;
|
|
499
|
+
keySplines?: number | string;
|
|
500
|
+
keyTimes?: number | string;
|
|
501
|
+
lengthAdjust?: number | string;
|
|
502
|
+
letterSpacing?: number | string;
|
|
503
|
+
lightingColor?: number | string;
|
|
504
|
+
limitingConeAngle?: number | string;
|
|
505
|
+
local?: number | string;
|
|
506
|
+
markerEnd?: string;
|
|
507
|
+
markerHeight?: number | string;
|
|
508
|
+
markerMid?: string;
|
|
509
|
+
markerStart?: string;
|
|
510
|
+
markerUnits?: number | string;
|
|
511
|
+
markerWidth?: number | string;
|
|
512
|
+
mask?: string;
|
|
513
|
+
maskContentUnits?: number | string;
|
|
514
|
+
maskUnits?: number | string;
|
|
515
|
+
mathematical?: number | string;
|
|
516
|
+
mode?: number | string;
|
|
517
|
+
numOctaves?: number | string;
|
|
518
|
+
offset?: number | string;
|
|
519
|
+
opacity?: number | string;
|
|
520
|
+
operator?: number | string;
|
|
521
|
+
order?: number | string;
|
|
522
|
+
orient?: number | string;
|
|
523
|
+
orientation?: number | string;
|
|
524
|
+
origin?: number | string;
|
|
525
|
+
overflow?: number | string;
|
|
526
|
+
overlinePosition?: number | string;
|
|
527
|
+
overlineThickness?: number | string;
|
|
528
|
+
paintOrder?: number | string;
|
|
529
|
+
panose1?: number | string;
|
|
530
|
+
pathLength?: number | string;
|
|
531
|
+
patternContentUnits?: string;
|
|
532
|
+
patternTransform?: number | string;
|
|
533
|
+
patternUnits?: string;
|
|
534
|
+
pointerEvents?: number | string;
|
|
535
|
+
points?: string;
|
|
536
|
+
pointsAtX?: number | string;
|
|
537
|
+
pointsAtY?: number | string;
|
|
538
|
+
pointsAtZ?: number | string;
|
|
539
|
+
preserveAlpha?: number | string;
|
|
540
|
+
preserveAspectRatio?: string;
|
|
541
|
+
primitiveUnits?: number | string;
|
|
542
|
+
r?: number | string;
|
|
543
|
+
radius?: number | string;
|
|
544
|
+
refX?: number | string;
|
|
545
|
+
refY?: number | string;
|
|
546
|
+
renderingIntent?: number | string;
|
|
547
|
+
repeatCount?: number | string;
|
|
548
|
+
repeatDur?: number | string;
|
|
549
|
+
requiredExtensions?: number | string;
|
|
550
|
+
requiredFeatures?: number | string;
|
|
551
|
+
restart?: number | string;
|
|
552
|
+
result?: string;
|
|
553
|
+
rotate?: number | string;
|
|
554
|
+
rx?: number | string;
|
|
555
|
+
ry?: number | string;
|
|
556
|
+
scale?: number | string;
|
|
557
|
+
seed?: number | string;
|
|
558
|
+
shapeRendering?: number | string;
|
|
559
|
+
slope?: number | string;
|
|
560
|
+
spacing?: number | string;
|
|
561
|
+
specularConstant?: number | string;
|
|
562
|
+
specularExponent?: number | string;
|
|
563
|
+
speed?: number | string;
|
|
564
|
+
spreadMethod?: string;
|
|
565
|
+
startOffset?: number | string;
|
|
566
|
+
stdDeviation?: number | string;
|
|
567
|
+
stemh?: number | string;
|
|
568
|
+
stemv?: number | string;
|
|
569
|
+
stitchTiles?: number | string;
|
|
570
|
+
stopColor?: string;
|
|
571
|
+
stopOpacity?: number | string;
|
|
572
|
+
strikethroughPosition?: number | string;
|
|
573
|
+
strikethroughThickness?: number | string;
|
|
574
|
+
string?: number | string;
|
|
575
|
+
stroke?: string;
|
|
576
|
+
strokeDasharray?: string | number;
|
|
577
|
+
strokeDashoffset?: string | number;
|
|
578
|
+
strokeLinecap?: "butt" | "round" | "square" | "inherit";
|
|
579
|
+
strokeLinejoin?: "miter" | "round" | "bevel" | "inherit";
|
|
580
|
+
strokeMiterlimit?: string;
|
|
581
|
+
strokeOpacity?: number | string;
|
|
582
|
+
strokeWidth?: number | string;
|
|
583
|
+
surfaceScale?: number | string;
|
|
584
|
+
systemLanguage?: number | string;
|
|
585
|
+
tableValues?: number | string;
|
|
586
|
+
targetX?: number | string;
|
|
587
|
+
targetY?: number | string;
|
|
588
|
+
textAnchor?: string;
|
|
589
|
+
textDecoration?: number | string;
|
|
590
|
+
textLength?: number | string;
|
|
591
|
+
textRendering?: number | string;
|
|
592
|
+
to?: number | string;
|
|
593
|
+
transform?: string;
|
|
594
|
+
u1?: number | string;
|
|
595
|
+
u2?: number | string;
|
|
596
|
+
underlinePosition?: number | string;
|
|
597
|
+
underlineThickness?: number | string;
|
|
598
|
+
unicode?: number | string;
|
|
599
|
+
unicodeBidi?: number | string;
|
|
600
|
+
unicodeRange?: number | string;
|
|
601
|
+
unitsPerEm?: number | string;
|
|
602
|
+
vAlphabetic?: number | string;
|
|
603
|
+
values?: string;
|
|
604
|
+
vectorEffect?: number | string;
|
|
605
|
+
version?: string;
|
|
606
|
+
vertAdvY?: number | string;
|
|
607
|
+
vertOriginX?: number | string;
|
|
608
|
+
vertOriginY?: number | string;
|
|
609
|
+
vHanging?: number | string;
|
|
610
|
+
vIdeographic?: number | string;
|
|
611
|
+
viewBox?: string;
|
|
612
|
+
viewTarget?: number | string;
|
|
613
|
+
visibility?: number | string;
|
|
614
|
+
vMathematical?: number | string;
|
|
615
|
+
widths?: number | string;
|
|
616
|
+
wordSpacing?: number | string;
|
|
617
|
+
writingMode?: number | string;
|
|
618
|
+
x1?: number | string;
|
|
619
|
+
x2?: number | string;
|
|
620
|
+
x?: number | string;
|
|
621
|
+
xChannelSelector?: string;
|
|
622
|
+
xHeight?: number | string;
|
|
623
|
+
xlinkActuate?: string;
|
|
624
|
+
xlinkArcrole?: string;
|
|
625
|
+
xlinkHref?: string;
|
|
626
|
+
xlinkRole?: string;
|
|
627
|
+
xlinkShow?: string;
|
|
628
|
+
xlinkTitle?: string;
|
|
629
|
+
xlinkType?: string;
|
|
630
|
+
xmlBase?: string;
|
|
631
|
+
xmlLang?: string;
|
|
632
|
+
xmlns?: string;
|
|
633
|
+
xmlnsXlink?: string;
|
|
634
|
+
xmlSpace?: string;
|
|
635
|
+
y1?: number | string;
|
|
636
|
+
y2?: number | string;
|
|
637
|
+
y?: number | string;
|
|
638
|
+
yChannelSelector?: string;
|
|
639
|
+
z?: number | string;
|
|
640
|
+
zoomAndPan?: string;
|
|
641
|
+
}
|
|
642
|
+
interface PathAttributes {
|
|
643
|
+
d: string;
|
|
644
|
+
}
|
|
645
|
+
type EventHandler<E extends Event> = (event: E) => void;
|
|
646
|
+
type ClipboardEventHandler = EventHandler<ClipboardEvent>;
|
|
647
|
+
type CompositionEventHandler = EventHandler<CompositionEvent>;
|
|
648
|
+
type DragEventHandler = EventHandler<DragEvent>;
|
|
649
|
+
type FocusEventHandler = EventHandler<FocusEvent>;
|
|
650
|
+
type KeyboardEventHandler = EventHandler<KeyboardEvent>;
|
|
651
|
+
type MouseEventHandler = EventHandler<MouseEvent>;
|
|
652
|
+
type TouchEventHandler = EventHandler<TouchEvent>;
|
|
653
|
+
type UIEventHandler = EventHandler<UIEvent>;
|
|
654
|
+
type WheelEventHandler = EventHandler<WheelEvent>;
|
|
655
|
+
type AnimationEventHandler = EventHandler<AnimationEvent>;
|
|
656
|
+
type TransitionEventHandler = EventHandler<TransitionEvent>;
|
|
657
|
+
type ProgressEventHandler = EventHandler<ProgressEvent>;
|
|
658
|
+
type GenericEventHandler = EventHandler<Event>;
|
|
659
|
+
type PointerEventHandler = EventHandler<PointerEvent>;
|
|
660
|
+
interface DOMAttributeEventHandlersLowerCase {
|
|
661
|
+
onmount?: Function;
|
|
662
|
+
onunmount?: Function;
|
|
663
|
+
onload?: GenericEventHandler;
|
|
664
|
+
onloadcapture?: GenericEventHandler;
|
|
665
|
+
onerror?: GenericEventHandler;
|
|
666
|
+
onerrorcapture?: GenericEventHandler;
|
|
667
|
+
oncopy?: ClipboardEventHandler;
|
|
668
|
+
oncopycapture?: ClipboardEventHandler;
|
|
669
|
+
oncut?: ClipboardEventHandler;
|
|
670
|
+
oncutcapture?: ClipboardEventHandler;
|
|
671
|
+
onpaste?: ClipboardEventHandler;
|
|
672
|
+
onpastecapture?: ClipboardEventHandler;
|
|
673
|
+
oncompositionend?: CompositionEventHandler;
|
|
674
|
+
oncompositionendcapture?: CompositionEventHandler;
|
|
675
|
+
oncompositionstart?: CompositionEventHandler;
|
|
676
|
+
oncompositionstartcapture?: CompositionEventHandler;
|
|
677
|
+
oncompositionupdate?: CompositionEventHandler;
|
|
678
|
+
oncompositionupdatecapture?: CompositionEventHandler;
|
|
679
|
+
onfocus?: FocusEventHandler;
|
|
680
|
+
onfocuscapture?: FocusEventHandler;
|
|
681
|
+
onblur?: FocusEventHandler;
|
|
682
|
+
onblurcapture?: FocusEventHandler;
|
|
683
|
+
onchange?: GenericEventHandler;
|
|
684
|
+
onchangecapture?: GenericEventHandler;
|
|
685
|
+
oninput?: GenericEventHandler;
|
|
686
|
+
oninputcapture?: GenericEventHandler;
|
|
687
|
+
onsearch?: GenericEventHandler;
|
|
688
|
+
onsearchcapture?: GenericEventHandler;
|
|
689
|
+
onsubmit?: GenericEventHandler;
|
|
690
|
+
onsubmitcapture?: GenericEventHandler;
|
|
691
|
+
oninvalid?: GenericEventHandler;
|
|
692
|
+
oninvalidcapture?: GenericEventHandler;
|
|
693
|
+
onkeydown?: KeyboardEventHandler;
|
|
694
|
+
onkeydowncapture?: KeyboardEventHandler;
|
|
695
|
+
onkeypress?: KeyboardEventHandler;
|
|
696
|
+
onkeypresscapture?: KeyboardEventHandler;
|
|
697
|
+
onkeyup?: KeyboardEventHandler;
|
|
698
|
+
onkeyupcapture?: KeyboardEventHandler;
|
|
699
|
+
onabort?: GenericEventHandler;
|
|
700
|
+
onabortcapture?: GenericEventHandler;
|
|
701
|
+
oncanplay?: GenericEventHandler;
|
|
702
|
+
oncanplaycapture?: GenericEventHandler;
|
|
703
|
+
oncanplaythrough?: GenericEventHandler;
|
|
704
|
+
oncanplaythroughcapture?: GenericEventHandler;
|
|
705
|
+
ondurationchange?: GenericEventHandler;
|
|
706
|
+
ondurationchangecapture?: GenericEventHandler;
|
|
707
|
+
onemptied?: GenericEventHandler;
|
|
708
|
+
onemptiedcapture?: GenericEventHandler;
|
|
709
|
+
onencrypted?: GenericEventHandler;
|
|
710
|
+
onencryptedcapture?: GenericEventHandler;
|
|
711
|
+
onended?: GenericEventHandler;
|
|
712
|
+
onendedcapture?: GenericEventHandler;
|
|
713
|
+
onloadeddata?: GenericEventHandler;
|
|
714
|
+
onloadeddatacapture?: GenericEventHandler;
|
|
715
|
+
onloadedmetadata?: GenericEventHandler;
|
|
716
|
+
onloadedmetadatacapture?: GenericEventHandler;
|
|
717
|
+
onloadstart?: GenericEventHandler;
|
|
718
|
+
onloadstartcapture?: GenericEventHandler;
|
|
719
|
+
onpause?: GenericEventHandler;
|
|
720
|
+
onpausecapture?: GenericEventHandler;
|
|
721
|
+
onplay?: GenericEventHandler;
|
|
722
|
+
onplaycapture?: GenericEventHandler;
|
|
723
|
+
onplaying?: GenericEventHandler;
|
|
724
|
+
onplayingcapture?: GenericEventHandler;
|
|
725
|
+
onprogress?: ProgressEventHandler;
|
|
726
|
+
onprogresscapture?: ProgressEventHandler;
|
|
727
|
+
onratechange?: GenericEventHandler;
|
|
728
|
+
onratechangecapture?: GenericEventHandler;
|
|
729
|
+
onseeked?: GenericEventHandler;
|
|
730
|
+
onseekedcapture?: GenericEventHandler;
|
|
731
|
+
onseeking?: GenericEventHandler;
|
|
732
|
+
onseekingcapture?: GenericEventHandler;
|
|
733
|
+
onstalled?: GenericEventHandler;
|
|
734
|
+
onstalledcapture?: GenericEventHandler;
|
|
735
|
+
onsuspend?: GenericEventHandler;
|
|
736
|
+
onsuspendcapture?: GenericEventHandler;
|
|
737
|
+
ontimeupdate?: GenericEventHandler;
|
|
738
|
+
ontimeupdatecapture?: GenericEventHandler;
|
|
739
|
+
onvolumechange?: GenericEventHandler;
|
|
740
|
+
onvolumechangecapture?: GenericEventHandler;
|
|
741
|
+
onwaiting?: GenericEventHandler;
|
|
742
|
+
onwaitingcapture?: GenericEventHandler;
|
|
743
|
+
onclick?: MouseEventHandler;
|
|
744
|
+
onclickcapture?: MouseEventHandler;
|
|
745
|
+
oncontextmenu?: MouseEventHandler;
|
|
746
|
+
oncontextmenucapture?: MouseEventHandler;
|
|
747
|
+
ondblclick?: MouseEventHandler;
|
|
748
|
+
ondblclickcapture?: MouseEventHandler;
|
|
749
|
+
ondrag?: DragEventHandler;
|
|
750
|
+
ondragcapture?: DragEventHandler;
|
|
751
|
+
ondragend?: DragEventHandler;
|
|
752
|
+
ondragendcapture?: DragEventHandler;
|
|
753
|
+
ondragenter?: DragEventHandler;
|
|
754
|
+
ondragentercapture?: DragEventHandler;
|
|
755
|
+
ondragexit?: DragEventHandler;
|
|
756
|
+
ondragexitcapture?: DragEventHandler;
|
|
757
|
+
ondragleave?: DragEventHandler;
|
|
758
|
+
ondragleavecapture?: DragEventHandler;
|
|
759
|
+
ondragover?: DragEventHandler;
|
|
760
|
+
ondragovercapture?: DragEventHandler;
|
|
761
|
+
ondragstart?: DragEventHandler;
|
|
762
|
+
ondragstartcapture?: DragEventHandler;
|
|
763
|
+
ondrop?: DragEventHandler;
|
|
764
|
+
ondropcapture?: DragEventHandler;
|
|
765
|
+
onmousedown?: MouseEventHandler;
|
|
766
|
+
onmousedowncapture?: MouseEventHandler;
|
|
767
|
+
onmouseenter?: MouseEventHandler;
|
|
768
|
+
onmouseentercapture?: MouseEventHandler;
|
|
769
|
+
onmouseleave?: MouseEventHandler;
|
|
770
|
+
onmouseleavecapture?: MouseEventHandler;
|
|
771
|
+
onmousemove?: MouseEventHandler;
|
|
772
|
+
onmousemovecapture?: MouseEventHandler;
|
|
773
|
+
onmouseout?: MouseEventHandler;
|
|
774
|
+
onmouseoutcapture?: MouseEventHandler;
|
|
775
|
+
onmouseover?: MouseEventHandler;
|
|
776
|
+
onmouseovercapture?: MouseEventHandler;
|
|
777
|
+
onmouseup?: MouseEventHandler;
|
|
778
|
+
onmouseupcapture?: MouseEventHandler;
|
|
779
|
+
onselect?: GenericEventHandler;
|
|
780
|
+
onselectcapture?: GenericEventHandler;
|
|
781
|
+
ontouchcancel?: TouchEventHandler;
|
|
782
|
+
ontouchcancelcapture?: TouchEventHandler;
|
|
783
|
+
ontouchend?: TouchEventHandler;
|
|
784
|
+
ontouchendcapture?: TouchEventHandler;
|
|
785
|
+
ontouchmove?: TouchEventHandler;
|
|
786
|
+
ontouchmovecapture?: TouchEventHandler;
|
|
787
|
+
ontouchstart?: TouchEventHandler;
|
|
788
|
+
ontouchstartcapture?: TouchEventHandler;
|
|
789
|
+
onpointerover?: PointerEventHandler;
|
|
790
|
+
onpointerovercapture?: PointerEventHandler;
|
|
791
|
+
onpointerenter?: PointerEventHandler;
|
|
792
|
+
onpointerentercapture?: PointerEventHandler;
|
|
793
|
+
onpointerdown?: PointerEventHandler;
|
|
794
|
+
onpointerdowncapture?: PointerEventHandler;
|
|
795
|
+
onpointermove?: PointerEventHandler;
|
|
796
|
+
onpointermovecapture?: PointerEventHandler;
|
|
797
|
+
onpointerup?: PointerEventHandler;
|
|
798
|
+
onpointerupcapture?: PointerEventHandler;
|
|
799
|
+
onpointercancel?: PointerEventHandler;
|
|
800
|
+
onpointercancelcapture?: PointerEventHandler;
|
|
801
|
+
onpointerout?: PointerEventHandler;
|
|
802
|
+
onpointeroutcapture?: PointerEventHandler;
|
|
803
|
+
onpointerleave?: PointerEventHandler;
|
|
804
|
+
onpointerleavecapture?: PointerEventHandler;
|
|
805
|
+
ongotpointercapture?: PointerEventHandler;
|
|
806
|
+
ongotpointercapturecapture?: PointerEventHandler;
|
|
807
|
+
onlostpointercapture?: PointerEventHandler;
|
|
808
|
+
onlostpointercapturecapture?: PointerEventHandler;
|
|
809
|
+
onscroll?: UIEventHandler;
|
|
810
|
+
onscrollcapture?: UIEventHandler;
|
|
811
|
+
onwheel?: WheelEventHandler;
|
|
812
|
+
onwheelcapture?: WheelEventHandler;
|
|
813
|
+
onanimationstart?: AnimationEventHandler;
|
|
814
|
+
onanimationstartcapture?: AnimationEventHandler;
|
|
815
|
+
onanimationend?: AnimationEventHandler;
|
|
816
|
+
onanimationendcapture?: AnimationEventHandler;
|
|
817
|
+
onanimationiteration?: AnimationEventHandler;
|
|
818
|
+
onanimationiterationcapture?: AnimationEventHandler;
|
|
819
|
+
ontransitionend?: TransitionEventHandler;
|
|
820
|
+
ontransitionendcapture?: TransitionEventHandler;
|
|
821
|
+
}
|
|
822
|
+
interface DOMAttributes extends VAttributes, DOMAttributeEventHandlersLowerCase {
|
|
823
|
+
ref?: Ref;
|
|
824
|
+
onMount?: Function;
|
|
825
|
+
onUnmount?: Function;
|
|
826
|
+
onLoad?: GenericEventHandler;
|
|
827
|
+
onLoadCapture?: GenericEventHandler;
|
|
828
|
+
onError?: GenericEventHandler;
|
|
829
|
+
onErrorCapture?: GenericEventHandler;
|
|
830
|
+
onCopy?: ClipboardEventHandler;
|
|
831
|
+
onCopyCapture?: ClipboardEventHandler;
|
|
832
|
+
onCut?: ClipboardEventHandler;
|
|
833
|
+
onCutCapture?: ClipboardEventHandler;
|
|
834
|
+
onPaste?: ClipboardEventHandler;
|
|
835
|
+
onPasteCapture?: ClipboardEventHandler;
|
|
836
|
+
onCompositionEnd?: CompositionEventHandler;
|
|
837
|
+
onCompositionEndCapture?: CompositionEventHandler;
|
|
838
|
+
onCompositionStart?: CompositionEventHandler;
|
|
839
|
+
onCompositionStartCapture?: CompositionEventHandler;
|
|
840
|
+
onCompositionUpdate?: CompositionEventHandler;
|
|
841
|
+
onCompositionUpdateCapture?: CompositionEventHandler;
|
|
842
|
+
onFocus?: FocusEventHandler;
|
|
843
|
+
onFocusCapture?: FocusEventHandler;
|
|
844
|
+
onBlur?: FocusEventHandler;
|
|
845
|
+
onBlurCapture?: FocusEventHandler;
|
|
846
|
+
onChange?: GenericEventHandler;
|
|
847
|
+
onChangeCapture?: GenericEventHandler;
|
|
848
|
+
onInput?: GenericEventHandler;
|
|
849
|
+
onInputCapture?: GenericEventHandler;
|
|
850
|
+
onSearch?: GenericEventHandler;
|
|
851
|
+
onSearchCapture?: GenericEventHandler;
|
|
852
|
+
onSubmit?: GenericEventHandler;
|
|
853
|
+
onSubmitCapture?: GenericEventHandler;
|
|
854
|
+
onInvalid?: GenericEventHandler;
|
|
855
|
+
onInvalidCapture?: GenericEventHandler;
|
|
856
|
+
onKeyDown?: KeyboardEventHandler;
|
|
857
|
+
onKeyDownCapture?: KeyboardEventHandler;
|
|
858
|
+
onKeyPress?: KeyboardEventHandler;
|
|
859
|
+
onKeyPressCapture?: KeyboardEventHandler;
|
|
860
|
+
onKeyUp?: KeyboardEventHandler;
|
|
861
|
+
onKeyUpCapture?: KeyboardEventHandler;
|
|
862
|
+
onAbort?: GenericEventHandler;
|
|
863
|
+
onAbortCapture?: GenericEventHandler;
|
|
864
|
+
onCanPlay?: GenericEventHandler;
|
|
865
|
+
onCanPlayCapture?: GenericEventHandler;
|
|
866
|
+
onCanPlayThrough?: GenericEventHandler;
|
|
867
|
+
onCanPlayThroughCapture?: GenericEventHandler;
|
|
868
|
+
onDurationChange?: GenericEventHandler;
|
|
869
|
+
onDurationChangeCapture?: GenericEventHandler;
|
|
870
|
+
onEmptied?: GenericEventHandler;
|
|
871
|
+
onEmptiedCapture?: GenericEventHandler;
|
|
872
|
+
onEncrypted?: GenericEventHandler;
|
|
873
|
+
onEncryptedCapture?: GenericEventHandler;
|
|
874
|
+
onEnded?: GenericEventHandler;
|
|
875
|
+
onEndedCapture?: GenericEventHandler;
|
|
876
|
+
onLoadedData?: GenericEventHandler;
|
|
877
|
+
onLoadedDataCapture?: GenericEventHandler;
|
|
878
|
+
onLoadedMetadata?: GenericEventHandler;
|
|
879
|
+
onLoadedMetadataCapture?: GenericEventHandler;
|
|
880
|
+
onLoadStart?: GenericEventHandler;
|
|
881
|
+
onLoadStartCapture?: GenericEventHandler;
|
|
882
|
+
onPause?: GenericEventHandler;
|
|
883
|
+
onPauseCapture?: GenericEventHandler;
|
|
884
|
+
onPlay?: GenericEventHandler;
|
|
885
|
+
onPlayCapture?: GenericEventHandler;
|
|
886
|
+
onPlaying?: GenericEventHandler;
|
|
887
|
+
onPlayingCapture?: GenericEventHandler;
|
|
888
|
+
onProgress?: GenericEventHandler;
|
|
889
|
+
onProgressCapture?: GenericEventHandler;
|
|
890
|
+
onRateChange?: GenericEventHandler;
|
|
891
|
+
onRateChangeCapture?: GenericEventHandler;
|
|
892
|
+
onSeeked?: GenericEventHandler;
|
|
893
|
+
onSeekedCapture?: GenericEventHandler;
|
|
894
|
+
onSeeking?: GenericEventHandler;
|
|
895
|
+
onSeekingCapture?: GenericEventHandler;
|
|
896
|
+
onStalled?: GenericEventHandler;
|
|
897
|
+
onStalledCapture?: GenericEventHandler;
|
|
898
|
+
onSuspend?: GenericEventHandler;
|
|
899
|
+
onSuspendCapture?: GenericEventHandler;
|
|
900
|
+
onTimeUpdate?: GenericEventHandler;
|
|
901
|
+
onTimeUpdateCapture?: GenericEventHandler;
|
|
902
|
+
onVolumeChange?: GenericEventHandler;
|
|
903
|
+
onVolumeChangeCapture?: GenericEventHandler;
|
|
904
|
+
onWaiting?: GenericEventHandler;
|
|
905
|
+
onWaitingCapture?: GenericEventHandler;
|
|
906
|
+
onClick?: MouseEventHandler;
|
|
907
|
+
onClickCapture?: MouseEventHandler;
|
|
908
|
+
onContextMenu?: MouseEventHandler;
|
|
909
|
+
onContextMenuCapture?: MouseEventHandler;
|
|
910
|
+
onDblClick?: MouseEventHandler;
|
|
911
|
+
onDblClickCapture?: MouseEventHandler;
|
|
912
|
+
onDrag?: DragEventHandler;
|
|
913
|
+
onDragCapture?: DragEventHandler;
|
|
914
|
+
onDragEnd?: DragEventHandler;
|
|
915
|
+
onDragEndCapture?: DragEventHandler;
|
|
916
|
+
onDragEnter?: DragEventHandler;
|
|
917
|
+
onDragEnterCapture?: DragEventHandler;
|
|
918
|
+
onDragExit?: DragEventHandler;
|
|
919
|
+
onDragExitCapture?: DragEventHandler;
|
|
920
|
+
onDragLeave?: DragEventHandler;
|
|
921
|
+
onDragLeaveCapture?: DragEventHandler;
|
|
922
|
+
onDragOver?: DragEventHandler;
|
|
923
|
+
onDragOverCapture?: DragEventHandler;
|
|
924
|
+
onDragStart?: DragEventHandler;
|
|
925
|
+
onDragStartCapture?: DragEventHandler;
|
|
926
|
+
onDrop?: DragEventHandler;
|
|
927
|
+
onDropCapture?: DragEventHandler;
|
|
928
|
+
onMouseDown?: MouseEventHandler;
|
|
929
|
+
onMouseDownCapture?: MouseEventHandler;
|
|
930
|
+
onMouseEnter?: MouseEventHandler;
|
|
931
|
+
onMouseEnterCapture?: MouseEventHandler;
|
|
932
|
+
onMouseLeave?: MouseEventHandler;
|
|
933
|
+
onMouseLeaveCapture?: MouseEventHandler;
|
|
934
|
+
onMouseMove?: MouseEventHandler;
|
|
935
|
+
onMouseMoveCapture?: MouseEventHandler;
|
|
936
|
+
onMouseOut?: MouseEventHandler;
|
|
937
|
+
onMouseOutCapture?: MouseEventHandler;
|
|
938
|
+
onMouseOver?: MouseEventHandler;
|
|
939
|
+
onMouseOverCapture?: MouseEventHandler;
|
|
940
|
+
onMouseUp?: MouseEventHandler;
|
|
941
|
+
onMouseUpCapture?: MouseEventHandler;
|
|
942
|
+
onSelect?: GenericEventHandler;
|
|
943
|
+
onSelectCapture?: GenericEventHandler;
|
|
944
|
+
onTouchCancel?: TouchEventHandler;
|
|
945
|
+
onTouchCancelCapture?: TouchEventHandler;
|
|
946
|
+
onTouchEnd?: TouchEventHandler;
|
|
947
|
+
onTouchEndCapture?: TouchEventHandler;
|
|
948
|
+
onTouchMove?: TouchEventHandler;
|
|
949
|
+
onTouchMoveCapture?: TouchEventHandler;
|
|
950
|
+
onTouchStart?: TouchEventHandler;
|
|
951
|
+
onTouchStartCapture?: TouchEventHandler;
|
|
952
|
+
onPointerOver?: PointerEventHandler;
|
|
953
|
+
onPointerOverCapture?: PointerEventHandler;
|
|
954
|
+
onPointerEnter?: PointerEventHandler;
|
|
955
|
+
onPointerEnterCapture?: PointerEventHandler;
|
|
956
|
+
onPointerDown?: PointerEventHandler;
|
|
957
|
+
onPointerDownCapture?: PointerEventHandler;
|
|
958
|
+
onPointerMove?: PointerEventHandler;
|
|
959
|
+
onPointerMoveCapture?: PointerEventHandler;
|
|
960
|
+
onPointerUp?: PointerEventHandler;
|
|
961
|
+
onPointerUpCapture?: PointerEventHandler;
|
|
962
|
+
onPointerCancel?: PointerEventHandler;
|
|
963
|
+
onPointerCancelCapture?: PointerEventHandler;
|
|
964
|
+
onPointerOut?: PointerEventHandler;
|
|
965
|
+
onPointerOutCapture?: PointerEventHandler;
|
|
966
|
+
onPointerLeave?: PointerEventHandler;
|
|
967
|
+
onPointerLeaveCapture?: PointerEventHandler;
|
|
968
|
+
onGotPointerCapture?: PointerEventHandler;
|
|
969
|
+
onGotPointerCaptureCapture?: PointerEventHandler;
|
|
970
|
+
onLostPointerCapture?: PointerEventHandler;
|
|
971
|
+
onLostPointerCaptureCapture?: PointerEventHandler;
|
|
972
|
+
onScroll?: UIEventHandler;
|
|
973
|
+
onScrollCapture?: UIEventHandler;
|
|
974
|
+
onWheel?: WheelEventHandler;
|
|
975
|
+
onWheelCapture?: WheelEventHandler;
|
|
976
|
+
onAnimationStart?: AnimationEventHandler;
|
|
977
|
+
onAnimationStartCapture?: AnimationEventHandler;
|
|
978
|
+
onAnimationEnd?: AnimationEventHandler;
|
|
979
|
+
onAnimationEndCapture?: AnimationEventHandler;
|
|
980
|
+
onAnimationIteration?: AnimationEventHandler;
|
|
981
|
+
onAnimationIterationCapture?: AnimationEventHandler;
|
|
982
|
+
onTransitionEnd?: TransitionEventHandler;
|
|
983
|
+
onTransitionEndCapture?: TransitionEventHandler;
|
|
984
|
+
}
|
|
985
|
+
interface HTMLAttributesLowerCase {
|
|
986
|
+
ref?: Ref;
|
|
987
|
+
dangerouslysetinnerhtml?: {
|
|
988
|
+
__html: string;
|
|
989
|
+
};
|
|
990
|
+
accept?: string;
|
|
991
|
+
acceptcharset?: string;
|
|
992
|
+
accesskey?: string;
|
|
993
|
+
action?: string;
|
|
994
|
+
allowfullscreen?: boolean;
|
|
995
|
+
allowtransparency?: boolean;
|
|
996
|
+
alt?: string;
|
|
997
|
+
async?: boolean;
|
|
998
|
+
autocomplete?: string;
|
|
999
|
+
autocorrect?: string;
|
|
1000
|
+
autofocus?: boolean | string;
|
|
1001
|
+
autoplay?: boolean;
|
|
1002
|
+
capture?: boolean;
|
|
1003
|
+
cellpadding?: number | string;
|
|
1004
|
+
cellspacing?: number | string;
|
|
1005
|
+
charset?: string;
|
|
1006
|
+
challenge?: string;
|
|
1007
|
+
checked?: boolean | string;
|
|
1008
|
+
class?: string | Array<string>;
|
|
1009
|
+
classname?: string | Array<string>;
|
|
1010
|
+
cols?: number;
|
|
1011
|
+
children?: any;
|
|
1012
|
+
colspan?: number;
|
|
1013
|
+
content?: string;
|
|
1014
|
+
contenteditable?: boolean;
|
|
1015
|
+
contextmenu?: string;
|
|
1016
|
+
controls?: boolean;
|
|
1017
|
+
controlslist?: string;
|
|
1018
|
+
coords?: string;
|
|
1019
|
+
crossorigin?: string;
|
|
1020
|
+
data?: string;
|
|
1021
|
+
datetime?: string;
|
|
1022
|
+
default?: boolean;
|
|
1023
|
+
defer?: boolean;
|
|
1024
|
+
dir?: string;
|
|
1025
|
+
disabled?: boolean;
|
|
1026
|
+
download?: any;
|
|
1027
|
+
draggable?: boolean;
|
|
1028
|
+
enctype?: string;
|
|
1029
|
+
form?: string;
|
|
1030
|
+
formaction?: string;
|
|
1031
|
+
formenctype?: string;
|
|
1032
|
+
formmethod?: string;
|
|
1033
|
+
novalidate?: boolean | string;
|
|
1034
|
+
formnovalidate?: boolean;
|
|
1035
|
+
formtarget?: string;
|
|
1036
|
+
frameborder?: number | string;
|
|
1037
|
+
headers?: string;
|
|
1038
|
+
height?: number | string;
|
|
1039
|
+
hidden?: boolean;
|
|
1040
|
+
high?: number;
|
|
1041
|
+
href?: string;
|
|
1042
|
+
hreflang?: string;
|
|
1043
|
+
for?: string;
|
|
1044
|
+
htmlfor?: string;
|
|
1045
|
+
httpequiv?: string;
|
|
1046
|
+
icon?: string;
|
|
1047
|
+
id?: string;
|
|
1048
|
+
inputmode?: string;
|
|
1049
|
+
integrity?: string;
|
|
1050
|
+
is?: string;
|
|
1051
|
+
keyparams?: string;
|
|
1052
|
+
keytype?: string;
|
|
1053
|
+
kind?: string;
|
|
1054
|
+
label?: string;
|
|
1055
|
+
lang?: string;
|
|
1056
|
+
list?: string;
|
|
1057
|
+
loop?: boolean;
|
|
1058
|
+
low?: number;
|
|
1059
|
+
manifest?: string;
|
|
1060
|
+
marginheight?: number;
|
|
1061
|
+
marginwidth?: number;
|
|
1062
|
+
max?: number | string;
|
|
1063
|
+
maxlength?: number;
|
|
1064
|
+
media?: string;
|
|
1065
|
+
mediagroup?: string;
|
|
1066
|
+
method?: string;
|
|
1067
|
+
min?: number | string;
|
|
1068
|
+
minlength?: number;
|
|
1069
|
+
multiple?: boolean;
|
|
1070
|
+
muted?: boolean;
|
|
1071
|
+
name?: string;
|
|
1072
|
+
open?: boolean;
|
|
1073
|
+
optimum?: number;
|
|
1074
|
+
pattern?: string;
|
|
1075
|
+
placeholder?: string;
|
|
1076
|
+
playsinline?: boolean;
|
|
1077
|
+
poster?: string;
|
|
1078
|
+
preload?: string;
|
|
1079
|
+
radiogroup?: string;
|
|
1080
|
+
readonly?: boolean;
|
|
1081
|
+
rel?: string;
|
|
1082
|
+
required?: boolean | string;
|
|
1083
|
+
role?: string;
|
|
1084
|
+
rows?: number;
|
|
1085
|
+
rowspan?: number;
|
|
1086
|
+
sandbox?: string;
|
|
1087
|
+
scope?: string;
|
|
1088
|
+
scoped?: boolean;
|
|
1089
|
+
scrolling?: string;
|
|
1090
|
+
seamless?: boolean;
|
|
1091
|
+
selected?: boolean;
|
|
1092
|
+
shape?: string;
|
|
1093
|
+
size?: number;
|
|
1094
|
+
sizes?: string;
|
|
1095
|
+
slot?: string;
|
|
1096
|
+
span?: number;
|
|
1097
|
+
spellcheck?: boolean;
|
|
1098
|
+
src?: string;
|
|
1099
|
+
srcset?: string;
|
|
1100
|
+
srcdoc?: string;
|
|
1101
|
+
srclang?: string;
|
|
1102
|
+
start?: number;
|
|
1103
|
+
step?: number | string;
|
|
1104
|
+
style?: string | Partial<CSSProperties>;
|
|
1105
|
+
summary?: string;
|
|
1106
|
+
tabindex?: number | string;
|
|
1107
|
+
target?: string;
|
|
1108
|
+
title?: string;
|
|
1109
|
+
type?: string;
|
|
1110
|
+
usemap?: string;
|
|
1111
|
+
value?: string | string[] | number;
|
|
1112
|
+
width?: number | string;
|
|
1113
|
+
wmode?: string;
|
|
1114
|
+
wrap?: string;
|
|
1115
|
+
about?: string;
|
|
1116
|
+
datatype?: string;
|
|
1117
|
+
inlist?: any;
|
|
1118
|
+
prefix?: string;
|
|
1119
|
+
property?: string;
|
|
1120
|
+
resource?: string;
|
|
1121
|
+
typeof?: string;
|
|
1122
|
+
vocab?: string;
|
|
1123
|
+
itemprop?: string;
|
|
1124
|
+
itemscope?: boolean;
|
|
1125
|
+
itemtype?: string;
|
|
1126
|
+
itemid?: string;
|
|
1127
|
+
itemref?: string;
|
|
1128
|
+
}
|
|
1129
|
+
interface HTMLAttributes extends HTMLAttributesLowerCase, DOMAttributes {
|
|
1130
|
+
ref?: Ref;
|
|
1131
|
+
dangerouslySetInnerHTML?: {
|
|
1132
|
+
__html: string;
|
|
1133
|
+
};
|
|
1134
|
+
accept?: string;
|
|
1135
|
+
acceptCharset?: string;
|
|
1136
|
+
accessKey?: string;
|
|
1137
|
+
action?: string;
|
|
1138
|
+
allowFullScreen?: boolean;
|
|
1139
|
+
allowTransparency?: boolean;
|
|
1140
|
+
alt?: string;
|
|
1141
|
+
async?: boolean;
|
|
1142
|
+
autoComplete?: string;
|
|
1143
|
+
autoCorrect?: string;
|
|
1144
|
+
autofocus?: boolean | string;
|
|
1145
|
+
autoFocus?: boolean;
|
|
1146
|
+
autoPlay?: boolean;
|
|
1147
|
+
capture?: boolean;
|
|
1148
|
+
cellPadding?: number | string;
|
|
1149
|
+
cellSpacing?: number | string;
|
|
1150
|
+
charSet?: string;
|
|
1151
|
+
challenge?: string;
|
|
1152
|
+
checked?: boolean | string;
|
|
1153
|
+
class?: string | Array<string>;
|
|
1154
|
+
className?: string | Array<string>;
|
|
1155
|
+
cols?: number;
|
|
1156
|
+
children?: any;
|
|
1157
|
+
colSpan?: number;
|
|
1158
|
+
content?: string;
|
|
1159
|
+
contentEditable?: boolean;
|
|
1160
|
+
contextMenu?: string;
|
|
1161
|
+
controls?: boolean;
|
|
1162
|
+
controlsList?: string;
|
|
1163
|
+
coords?: string;
|
|
1164
|
+
crossOrigin?: string;
|
|
1165
|
+
data?: string;
|
|
1166
|
+
dateTime?: string;
|
|
1167
|
+
default?: boolean;
|
|
1168
|
+
defer?: boolean;
|
|
1169
|
+
dir?: string;
|
|
1170
|
+
disabled?: boolean;
|
|
1171
|
+
download?: any;
|
|
1172
|
+
draggable?: boolean;
|
|
1173
|
+
encType?: string;
|
|
1174
|
+
form?: string;
|
|
1175
|
+
formAction?: string;
|
|
1176
|
+
formEncType?: string;
|
|
1177
|
+
formMethod?: string;
|
|
1178
|
+
formNoValidate?: boolean;
|
|
1179
|
+
formTarget?: string;
|
|
1180
|
+
frameBorder?: number | string;
|
|
1181
|
+
headers?: string;
|
|
1182
|
+
height?: number | string;
|
|
1183
|
+
hidden?: boolean;
|
|
1184
|
+
high?: number;
|
|
1185
|
+
href?: string;
|
|
1186
|
+
hrefLang?: string;
|
|
1187
|
+
for?: string;
|
|
1188
|
+
htmlFor?: string;
|
|
1189
|
+
httpEquiv?: string;
|
|
1190
|
+
icon?: string;
|
|
1191
|
+
id?: string;
|
|
1192
|
+
inputMode?: string;
|
|
1193
|
+
integrity?: string;
|
|
1194
|
+
is?: string;
|
|
1195
|
+
keyParams?: string;
|
|
1196
|
+
keyType?: string;
|
|
1197
|
+
kind?: string;
|
|
1198
|
+
label?: string;
|
|
1199
|
+
lang?: string;
|
|
1200
|
+
list?: string;
|
|
1201
|
+
loop?: boolean;
|
|
1202
|
+
low?: number;
|
|
1203
|
+
manifest?: string;
|
|
1204
|
+
marginHeight?: number;
|
|
1205
|
+
marginWidth?: number;
|
|
1206
|
+
max?: number | string;
|
|
1207
|
+
maxLength?: number;
|
|
1208
|
+
media?: string;
|
|
1209
|
+
mediaGroup?: string;
|
|
1210
|
+
method?: string;
|
|
1211
|
+
min?: number | string;
|
|
1212
|
+
minLength?: number;
|
|
1213
|
+
multiple?: boolean;
|
|
1214
|
+
muted?: boolean;
|
|
1215
|
+
name?: string;
|
|
1216
|
+
open?: boolean;
|
|
1217
|
+
optimum?: number;
|
|
1218
|
+
pattern?: string;
|
|
1219
|
+
placeholder?: string;
|
|
1220
|
+
playsInline?: boolean;
|
|
1221
|
+
poster?: string;
|
|
1222
|
+
preload?: string;
|
|
1223
|
+
radioGroup?: string;
|
|
1224
|
+
readOnly?: boolean;
|
|
1225
|
+
rel?: string;
|
|
1226
|
+
required?: boolean | string;
|
|
1227
|
+
role?: string;
|
|
1228
|
+
rows?: number;
|
|
1229
|
+
rowSpan?: number;
|
|
1230
|
+
sandbox?: string;
|
|
1231
|
+
scope?: string;
|
|
1232
|
+
scoped?: boolean;
|
|
1233
|
+
scrolling?: string;
|
|
1234
|
+
seamless?: boolean;
|
|
1235
|
+
selected?: boolean;
|
|
1236
|
+
shape?: string;
|
|
1237
|
+
size?: number;
|
|
1238
|
+
sizes?: string;
|
|
1239
|
+
slot?: string;
|
|
1240
|
+
span?: number;
|
|
1241
|
+
spellcheck?: boolean;
|
|
1242
|
+
src?: string;
|
|
1243
|
+
srcDoc?: string;
|
|
1244
|
+
srcLang?: string;
|
|
1245
|
+
srcSet?: string;
|
|
1246
|
+
start?: number;
|
|
1247
|
+
step?: number | string;
|
|
1248
|
+
style?: string | Partial<CSSProperties>;
|
|
1249
|
+
summary?: string;
|
|
1250
|
+
tabIndex?: number | string;
|
|
1251
|
+
target?: string;
|
|
1252
|
+
title?: string;
|
|
1253
|
+
type?: string;
|
|
1254
|
+
useMap?: string;
|
|
1255
|
+
value?: string | string[] | number;
|
|
1256
|
+
width?: number | string;
|
|
1257
|
+
wmode?: string;
|
|
1258
|
+
wrap?: string;
|
|
1259
|
+
about?: string;
|
|
1260
|
+
datatype?: string;
|
|
1261
|
+
inlist?: any;
|
|
1262
|
+
prefix?: string;
|
|
1263
|
+
property?: string;
|
|
1264
|
+
resource?: string;
|
|
1265
|
+
typeof?: string;
|
|
1266
|
+
vocab?: string;
|
|
1267
|
+
itemProp?: string;
|
|
1268
|
+
itemScope?: boolean;
|
|
1269
|
+
itemType?: string;
|
|
1270
|
+
itemID?: string;
|
|
1271
|
+
itemRef?: string;
|
|
1272
|
+
}
|
|
1273
|
+
interface IVirtualIntrinsicElements {
|
|
1274
|
+
}
|
|
1275
|
+
interface IntrinsicElements extends IVirtualIntrinsicElements {
|
|
1276
|
+
a: HTMLAttributes;
|
|
1277
|
+
abbr: HTMLAttributes;
|
|
1278
|
+
address: HTMLAttributes;
|
|
1279
|
+
area: HTMLAttributes;
|
|
1280
|
+
article: HTMLAttributes;
|
|
1281
|
+
aside: HTMLAttributes;
|
|
1282
|
+
audio: HTMLAttributes;
|
|
1283
|
+
b: HTMLAttributes;
|
|
1284
|
+
base: HTMLAttributes;
|
|
1285
|
+
bdi: HTMLAttributes;
|
|
1286
|
+
bdo: HTMLAttributes;
|
|
1287
|
+
big: HTMLAttributes;
|
|
1288
|
+
blockquote: HTMLAttributes;
|
|
1289
|
+
body: HTMLAttributes;
|
|
1290
|
+
br: HTMLAttributes;
|
|
1291
|
+
button: HTMLAttributes;
|
|
1292
|
+
canvas: HTMLAttributes;
|
|
1293
|
+
caption: HTMLAttributes;
|
|
1294
|
+
cite: HTMLAttributes;
|
|
1295
|
+
code: HTMLAttributes;
|
|
1296
|
+
col: HTMLAttributes;
|
|
1297
|
+
colgroup: HTMLAttributes;
|
|
1298
|
+
data: HTMLAttributes;
|
|
1299
|
+
datalist: HTMLAttributes;
|
|
1300
|
+
dd: HTMLAttributes;
|
|
1301
|
+
del: HTMLAttributes;
|
|
1302
|
+
details: HTMLAttributes;
|
|
1303
|
+
dfn: HTMLAttributes;
|
|
1304
|
+
dialog: HTMLAttributes;
|
|
1305
|
+
div: HTMLAttributes;
|
|
1306
|
+
dl: HTMLAttributes;
|
|
1307
|
+
dt: HTMLAttributes;
|
|
1308
|
+
em: HTMLAttributes;
|
|
1309
|
+
embed: HTMLAttributes;
|
|
1310
|
+
fieldset: HTMLAttributes;
|
|
1311
|
+
figcaption: HTMLAttributes;
|
|
1312
|
+
figure: HTMLAttributes;
|
|
1313
|
+
footer: HTMLAttributes;
|
|
1314
|
+
form: HTMLAttributes;
|
|
1315
|
+
h1: HTMLAttributes;
|
|
1316
|
+
h2: HTMLAttributes;
|
|
1317
|
+
h3: HTMLAttributes;
|
|
1318
|
+
h4: HTMLAttributes;
|
|
1319
|
+
h5: HTMLAttributes;
|
|
1320
|
+
h6: HTMLAttributes;
|
|
1321
|
+
head: HTMLAttributes;
|
|
1322
|
+
header: HTMLAttributes;
|
|
1323
|
+
hgroup: HTMLAttributes;
|
|
1324
|
+
hr: HTMLAttributes;
|
|
1325
|
+
html: HTMLAttributes;
|
|
1326
|
+
i: HTMLAttributes;
|
|
1327
|
+
iframe: HTMLAttributes;
|
|
1328
|
+
img: HTMLAttributes;
|
|
1329
|
+
input: HTMLAttributes;
|
|
1330
|
+
ins: HTMLAttributes;
|
|
1331
|
+
kbd: HTMLAttributes;
|
|
1332
|
+
keygen: HTMLAttributes;
|
|
1333
|
+
label: HTMLAttributes;
|
|
1334
|
+
legend: HTMLAttributes;
|
|
1335
|
+
li: HTMLAttributes;
|
|
1336
|
+
link: HTMLAttributes;
|
|
1337
|
+
main: HTMLAttributes;
|
|
1338
|
+
map: HTMLAttributes;
|
|
1339
|
+
mark: HTMLAttributes;
|
|
1340
|
+
menu: HTMLAttributes;
|
|
1341
|
+
menuitem: HTMLAttributes;
|
|
1342
|
+
meta: HTMLAttributes;
|
|
1343
|
+
meter: HTMLAttributes;
|
|
1344
|
+
nav: HTMLAttributes;
|
|
1345
|
+
noscript: HTMLAttributes;
|
|
1346
|
+
object: HTMLAttributes;
|
|
1347
|
+
ol: HTMLAttributes;
|
|
1348
|
+
optgroup: HTMLAttributes;
|
|
1349
|
+
option: HTMLAttributes;
|
|
1350
|
+
output: HTMLAttributes;
|
|
1351
|
+
p: HTMLAttributes;
|
|
1352
|
+
param: HTMLAttributes;
|
|
1353
|
+
picture: HTMLAttributes;
|
|
1354
|
+
pre: HTMLAttributes;
|
|
1355
|
+
progress: HTMLAttributes;
|
|
1356
|
+
q: HTMLAttributes;
|
|
1357
|
+
rp: HTMLAttributes;
|
|
1358
|
+
rt: HTMLAttributes;
|
|
1359
|
+
ruby: HTMLAttributes;
|
|
1360
|
+
s: HTMLAttributes;
|
|
1361
|
+
samp: HTMLAttributes;
|
|
1362
|
+
script: HTMLAttributes;
|
|
1363
|
+
section: HTMLAttributes;
|
|
1364
|
+
select: HTMLAttributes;
|
|
1365
|
+
slot: HTMLAttributes;
|
|
1366
|
+
small: HTMLAttributes;
|
|
1367
|
+
source: HTMLAttributes;
|
|
1368
|
+
span: HTMLAttributes;
|
|
1369
|
+
strong: HTMLAttributes;
|
|
1370
|
+
style: HTMLAttributes;
|
|
1371
|
+
sub: HTMLAttributes;
|
|
1372
|
+
summary: HTMLAttributes;
|
|
1373
|
+
sup: HTMLAttributes;
|
|
1374
|
+
table: HTMLAttributes;
|
|
1375
|
+
tbody: HTMLAttributes;
|
|
1376
|
+
td: HTMLAttributes;
|
|
1377
|
+
textarea: HTMLAttributes;
|
|
1378
|
+
tfoot: HTMLAttributes;
|
|
1379
|
+
th: HTMLAttributes;
|
|
1380
|
+
thead: HTMLAttributes;
|
|
1381
|
+
time: HTMLAttributes;
|
|
1382
|
+
title: HTMLAttributes;
|
|
1383
|
+
tr: HTMLAttributes;
|
|
1384
|
+
track: HTMLAttributes;
|
|
1385
|
+
u: HTMLAttributes;
|
|
1386
|
+
ul: HTMLAttributes;
|
|
1387
|
+
var: HTMLAttributes;
|
|
1388
|
+
video: HTMLAttributes & Partial<{
|
|
1389
|
+
autoplay: boolean;
|
|
1390
|
+
}>;
|
|
1391
|
+
wbr: HTMLAttributes;
|
|
1392
|
+
svg: SVGAttributes;
|
|
1393
|
+
animate: SVGAttributes;
|
|
1394
|
+
circle: SVGAttributes;
|
|
1395
|
+
clipPath: SVGAttributes;
|
|
1396
|
+
defs: SVGAttributes;
|
|
1397
|
+
desc: SVGAttributes;
|
|
1398
|
+
ellipse: SVGAttributes;
|
|
1399
|
+
feBlend: SVGAttributes;
|
|
1400
|
+
feColorMatrix: SVGAttributes;
|
|
1401
|
+
feComponentTransfer: SVGAttributes;
|
|
1402
|
+
feComposite: SVGAttributes;
|
|
1403
|
+
feConvolveMatrix: SVGAttributes;
|
|
1404
|
+
feDiffuseLighting: SVGAttributes;
|
|
1405
|
+
feDisplacementMap: SVGAttributes;
|
|
1406
|
+
feFlood: SVGAttributes;
|
|
1407
|
+
feGaussianBlur: SVGAttributes;
|
|
1408
|
+
feImage: SVGAttributes;
|
|
1409
|
+
feMerge: SVGAttributes;
|
|
1410
|
+
feMergeNode: SVGAttributes;
|
|
1411
|
+
feMorphology: SVGAttributes;
|
|
1412
|
+
feOffset: SVGAttributes;
|
|
1413
|
+
feSpecularLighting: SVGAttributes;
|
|
1414
|
+
feTile: SVGAttributes;
|
|
1415
|
+
feTurbulence: SVGAttributes;
|
|
1416
|
+
filter: SVGAttributes;
|
|
1417
|
+
foreignObject: SVGAttributes;
|
|
1418
|
+
g: SVGAttributes;
|
|
1419
|
+
image: SVGAttributes;
|
|
1420
|
+
line: SVGAttributes;
|
|
1421
|
+
linearGradient: SVGAttributes;
|
|
1422
|
+
marker: SVGAttributes;
|
|
1423
|
+
mask: SVGAttributes;
|
|
1424
|
+
path: SVGAttributes;
|
|
1425
|
+
pattern: SVGAttributes;
|
|
1426
|
+
polygon: SVGAttributes;
|
|
1427
|
+
polyline: SVGAttributes;
|
|
1428
|
+
radialGradient: SVGAttributes;
|
|
1429
|
+
rect: SVGAttributes;
|
|
1430
|
+
stop: SVGAttributes;
|
|
1431
|
+
symbol: SVGAttributes;
|
|
1432
|
+
text: SVGAttributes;
|
|
1433
|
+
tspan: SVGAttributes;
|
|
1434
|
+
use: SVGAttributes;
|
|
1435
|
+
}
|
|
1436
|
+
interface IntrinsicElements {
|
|
1437
|
+
fragment: {};
|
|
1438
|
+
}
|
|
1439
|
+
}
|
|
1440
|
+
}
|
|
1441
|
+
type RenderNodeInput = VNode | string | undefined;
|
|
1442
|
+
type RenderInput = RenderNodeInput | Array<RenderNodeInput>;
|
|
1443
|
+
type RenderResultNode = Element | Text | undefined;
|
|
1444
|
+
interface Props {
|
|
1445
|
+
children?: VNodeChild | VNodeChildren;
|
|
1446
|
+
ref?: Ref;
|
|
1447
|
+
key?: string;
|
|
1448
|
+
onError?: (error: unknown) => void;
|
|
1449
|
+
}
|
|
1450
|
+
type RenderResult<T = RenderInput> = T extends Array<RenderNodeInput> ? Array<RenderResultNode> : RenderResultNode;
|
|
1451
|
+
type AllHTMLElements = HTMLElement & HTMLAnchorElement & HTMLAreaElement & HTMLAudioElement & HTMLBaseElement & HTMLBodyElement & HTMLBRElement & HTMLButtonElement & HTMLCanvasElement & HTMLDataElement & HTMLDataListElement & HTMLDetailsElement & HTMLDialogElement & HTMLDivElement & HTMLDListElement & HTMLEmbedElement & HTMLFieldSetElement & HTMLFormElement & HTMLHeadingElement & HTMLHeadElement & HTMLHtmlElement & HTMLHRElement & HTMLIFrameElement & HTMLImageElement & HTMLInputElement & HTMLLabelElement & HTMLLegendElement & HTMLLIElement & HTMLLinkElement & HTMLMapElement & HTMLMenuElement & HTMLMetaElement & HTMLMeterElement & HTMLModElement & HTMLOListElement & HTMLObjectElement & HTMLOptGroupElement & HTMLOptionElement & HTMLOutputElement & HTMLParagraphElement & HTMLPictureElement & HTMLPreElement & HTMLProgressElement & HTMLQuoteElement & HTMLScriptElement & HTMLSelectElement & HTMLSlotElement & HTMLSourceElement & HTMLSpanElement & HTMLStyleElement & HTMLTableCaptionElement & HTMLTableCellElement & HTMLTableColElement & HTMLTableElement & HTMLTableRowElement & HTMLTableSectionElement & HTMLTemplateElement & HTMLTextAreaElement & HTMLTimeElement & HTMLTitleElement & HTMLTrackElement & HTMLUListElement & HTMLUnknownElement & HTMLVideoElement & HTMLParamElement & HTMLFontElement & HTMLMarqueeElement & HTMLTableDataCellElement & HTMLTableHeaderCellElement;
|
|
1452
|
+
|
|
1453
|
+
declare const CLASS_ATTRIBUTE_NAME = "class";
|
|
1454
|
+
declare const XLINK_ATTRIBUTE_NAME = "xlink";
|
|
1455
|
+
declare const XMLNS_ATTRIBUTE_NAME = "xmlns";
|
|
1456
|
+
declare const REF_ATTRIBUTE_NAME = "ref";
|
|
1457
|
+
declare const DANGEROUSLY_SET_INNER_HTML_ATTRIBUTE = "dangerouslySetInnerHTML";
|
|
1458
|
+
declare global {
|
|
1459
|
+
var __defuss_document: Document;
|
|
1460
|
+
var __defuss_window: Window;
|
|
1461
|
+
}
|
|
1462
|
+
declare const createInPlaceErrorMessageVNode: (error: unknown) => {
|
|
1463
|
+
type: string;
|
|
1464
|
+
attributes: {};
|
|
1465
|
+
children: string[];
|
|
1466
|
+
};
|
|
1467
|
+
type JsxRuntimeHookFn = (type: VNodeType | Function | any, attributes: (JSX.HTMLAttributes & JSX.SVGAttributes & Record<string, any>) | null, key?: string, sourceInfo?: JsxSourceInfo) => void;
|
|
1468
|
+
declare const jsx: (type: VNodeType | Function | any, attributes: (JSX.HTMLAttributes & JSX.SVGAttributes & Record<string, any>) | null, key?: string, sourceInfo?: JsxSourceInfo) => Array<VNode> | VNode;
|
|
1469
|
+
declare const observeUnmount: (domNode: Node, onUnmount: () => void) => void;
|
|
1470
|
+
/** lifecycle event attachment has been implemented separately, because it is also required to run when partially updating the DOM */
|
|
1471
|
+
declare const handleLifecycleEventsForOnMount: (newEl: HTMLElement) => void;
|
|
1472
|
+
declare const getRenderer: (document: Document) => DomAbstractionImpl;
|
|
1473
|
+
type SyncRenderInput = VNode | undefined | string | Array<VNode | undefined | string>;
|
|
1474
|
+
type ParentElementInput = Element | Document | Dequery<NodeType> | undefined;
|
|
1475
|
+
type SyncRenderResult = Array<Element | Text | undefined> | Element | Text | undefined;
|
|
1476
|
+
declare const renderIsomorphicSync: (virtualNode: SyncRenderInput, parentDomElement: ParentElementInput, globals: Globals) => SyncRenderResult;
|
|
1477
|
+
type ParentElementInputAsync = ParentElementInput | Dequery<NodeType> | Promise<ParentElementInput | Dequery<NodeType>>;
|
|
1478
|
+
declare const renderIsomorphicAsync: (virtualNode: SyncRenderInput | Promise<SyncRenderInput>, parentDomElement: ParentElementInputAsync, globals: Globals) => Promise<SyncRenderResult>;
|
|
1479
|
+
declare const globalScopeDomApis: (window: Window, document: Document) => void;
|
|
1480
|
+
declare const isJSX: (o: any) => boolean;
|
|
1481
|
+
declare const Fragment: (props: VNode) => VNodeChildren | undefined;
|
|
1482
|
+
declare const jsxs: (type: VNodeType | Function | any, attributes: (JSX.HTMLAttributes & JSX.SVGAttributes & Record<string, any>) | null, key?: string, sourceInfo?: JsxSourceInfo) => Array<VNode> | VNode;
|
|
1483
|
+
declare const jsxDEV: (type: VNodeType | Function | any, attributes: (JSX.HTMLAttributes & JSX.SVGAttributes & Record<string, any>) | null, key?: string, allChildrenAreStatic?: boolean, sourceInfo?: JsxSourceInfo, selfReference?: any) => Array<VNode> | VNode;
|
|
1484
|
+
declare function updateDom<NT>(input: string | RenderInput | Ref<NodeType> | NodeType | CallChainImpl<NT> | CallChainImplThenable<NT>, nodes: readonly NodeType[], timeout: number, Parser: typeof globalThis.DOMParser, transitionConfig?: TransitionConfig): Promise<readonly NodeType[]>;
|
|
1485
|
+
|
|
1486
|
+
declare const isRef: <ST = any, NT extends Node | Element | Text | null = HTMLElement>(obj: any) => obj is Ref<ST, NT>;
|
|
1487
|
+
declare function createRef<ST = any, NT extends Node | Element | Text | null = HTMLElement>(refUpdateFn?: RefUpdateFn<ST>, defaultState?: ST): Ref<ST, NT>;
|
|
1488
|
+
|
|
1489
|
+
export { type TransitionType as $, type AllHTMLElements as A, observeUnmount as B, type CSSProperties as C, type DomAbstractionImpl as D, handleLifecycleEventsForOnMount as E, type FontFaceProperties as F, type Globals as G, getRenderer as H, type SyncRenderResult as I, type JsxSourceInfo as J, type KeyFrameProperties as K, renderIsomorphicSync as L, renderIsomorphicAsync as M, type NodeType as N, globalScopeDomApis as O, type ParentElementInput as P, isJSX as Q, type RenderInput as R, type SyncRenderInput as S, Fragment as T, jsxs as U, type VAttributes as V, jsxDEV as W, XLINK_ATTRIBUTE_NAME as X, updateDom as Y, isRef as Z, createRef as _, type RenderResult as a, type TransitionStyles as a0, type TransitionsEasing as a1, type TransitionConfig as a2, getTransitionStyles as a3, applyStyles as a4, DEFAULT_TRANSITION_CONFIG as a5, performTransition as a6, type PersistenceProviderType as a7, type PersistenceProviderOptions as a8, type PersistenceProviderImpl as a9, waitForWithPollingCancellable as aA, type FormFieldValue as aB, type FormKeyValues as aC, type Dimensions as aD, type Position as aE, type DOMPropValue as aF, type DequeryOptions as aG, type ElementCreationOptions as aH, type DequerySyncMethodReturnType as aI, type MiddlewareFn as aJ, type MemoryStorage as aK, type WebStorage as aL, type Listener as aM, type Store as aN, createStore as aO, Call as aa, addNonChainedReturnCallNames as ab, getNonChainedReturnCallNames as ac, isNonChainedReturnCall as ad, emptyImpl as ae, CallChainImpl as af, CallChainImplThenable as ag, scrollHelper as ah, getAllFormValues as ai, delayedAutoStart as aj, type Dequery as ak, dequery as al, $ as am, isDequery as an, isDequeryOptionsObject as ao, getDefaultDequeryOptions as ap, mapArrayIndexAccess as aq, createCall as ar, createGetterSetterCall as as, createSubChain as at, subChainForNextAwait as au, runWithTimeGuard as av, renderNode as aw, resolveNodes as ax, traverse as ay, waitForRefCancellable as az, type ParentElementInputAsync as b, type RefUpdateRenderFnInput as c, type RefUpdateFn as d, type RefUpdateRenderFn as e, type Ref as f, type VNodeAttributes as g, type VNode as h, type VNodeType as i, type VNodeKey as j, type VNodeRefObject as k, type VNodeRefCallback as l, type VNodeRef as m, type VNodeChild as n, type VNodeChildren as o, type Children as p, type RenderNodeInput as q, type RenderResultNode as r, type Props as s, CLASS_ATTRIBUTE_NAME as t, XMLNS_ATTRIBUTE_NAME as u, REF_ATTRIBUTE_NAME as v, DANGEROUSLY_SET_INNER_HTML_ATTRIBUTE as w, createInPlaceErrorMessageVNode as x, type JsxRuntimeHookFn as y, jsx as z };
|