defuss 2.0.2 → 2.0.4

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