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