@siemens/ix-icons 1.0.3 → 1.1.0-beta.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. package/README.md +39 -0
  2. package/dist/cjs/icon-f99c8bde.js +99 -0
  3. package/dist/cjs/icon-f99c8bde.js.map +1 -0
  4. package/dist/cjs/index-22d7f5a7.js +1481 -0
  5. package/dist/cjs/index-22d7f5a7.js.map +1 -0
  6. package/dist/cjs/index.cjs.js +12 -0
  7. package/dist/cjs/index.cjs.js.map +1 -0
  8. package/dist/cjs/ix-icon.cjs.entry.js +12 -0
  9. package/dist/cjs/ix-icon.cjs.entry.js.map +1 -0
  10. package/dist/cjs/ix-icons.cjs.js +28 -0
  11. package/dist/cjs/ix-icons.cjs.js.map +1 -0
  12. package/dist/cjs/loader.cjs.js +24 -0
  13. package/dist/cjs/loader.cjs.js.map +1 -0
  14. package/dist/collection/collection-manifest.json +12 -0
  15. package/dist/collection/components/icon/icon.css +2519 -0
  16. package/dist/collection/components/icon/icon.js +158 -0
  17. package/dist/collection/components/icon/icon.js.map +1 -0
  18. package/dist/collection/components/icon/resolveIcon.js +37 -0
  19. package/dist/collection/components/icon/resolveIcon.js.map +1 -0
  20. package/dist/collection/components/icon/test/rocker-example.js +5 -0
  21. package/dist/collection/components/icon/test/rocker-example.js.map +1 -0
  22. package/dist/collection/index.js +2 -0
  23. package/dist/collection/index.js.map +1 -0
  24. package/dist/components/icon.js +118 -0
  25. package/dist/components/icon.js.map +1 -0
  26. package/dist/components/index.d.ts +27 -0
  27. package/dist/components/index.js +4 -0
  28. package/dist/components/index.js.map +1 -0
  29. package/dist/components/ix-icon.d.ts +11 -0
  30. package/dist/components/ix-icon.js +8 -0
  31. package/dist/components/ix-icon.js.map +1 -0
  32. package/dist/css/ix-icons.css +546 -520
  33. package/dist/esm/icon-f67da1e1.js +97 -0
  34. package/dist/esm/icon-f67da1e1.js.map +1 -0
  35. package/dist/esm/index-460e19e2.js +1454 -0
  36. package/dist/esm/index-460e19e2.js.map +1 -0
  37. package/dist/esm/index.js +4 -0
  38. package/dist/esm/index.js.map +1 -0
  39. package/dist/esm/ix-icon.entry.js +4 -0
  40. package/dist/esm/ix-icon.entry.js.map +1 -0
  41. package/dist/esm/ix-icons.js +23 -0
  42. package/dist/esm/ix-icons.js.map +1 -0
  43. package/dist/esm/loader.js +20 -0
  44. package/dist/esm/loader.js.map +1 -0
  45. package/dist/esm/polyfills/core-js.js +11 -0
  46. package/dist/esm/polyfills/css-shim.js +1 -0
  47. package/dist/esm/polyfills/dom.js +79 -0
  48. package/dist/esm/polyfills/es5-html-element.js +1 -0
  49. package/dist/esm/polyfills/index.js +34 -0
  50. package/dist/esm/polyfills/system.js +6 -0
  51. package/dist/fonts/ix-icons.eot +0 -0
  52. package/dist/fonts/ix-icons.svg +601 -523
  53. package/dist/fonts/ix-icons.ttf +0 -0
  54. package/dist/fonts/ix-icons.woff +0 -0
  55. package/dist/fonts/ix-icons.woff2 +0 -0
  56. package/dist/index.cjs.js +1 -0
  57. package/dist/index.js +1 -0
  58. package/dist/ix-icons/index.esm.js +2 -0
  59. package/dist/ix-icons/index.esm.js.map +1 -0
  60. package/dist/ix-icons/ix-icons.esm.js +2 -0
  61. package/dist/ix-icons/ix-icons.esm.js.map +1 -0
  62. package/dist/ix-icons/p-11a7e554.js +2 -0
  63. package/dist/ix-icons/p-11a7e554.js.map +1 -0
  64. package/dist/ix-icons/p-625c25c8.js +3 -0
  65. package/dist/ix-icons/p-625c25c8.js.map +1 -0
  66. package/dist/ix-icons/p-fcaa76de.entry.js +2 -0
  67. package/dist/ix-icons/p-fcaa76de.entry.js.map +1 -0
  68. package/dist/sample.html +1001 -559
  69. package/dist/sample.json +52 -0
  70. package/dist/svg/app-menu.svg +1 -9
  71. package/dist/svg/bezier-curve.svg +1 -0
  72. package/dist/svg/ellipse-arc.svg +1 -0
  73. package/dist/svg/ellipse-filled.svg +1 -0
  74. package/dist/svg/ellipse.svg +1 -0
  75. package/dist/svg/folder-new-filled.svg +1 -9
  76. package/dist/svg/folder-new.svg +1 -9
  77. package/dist/svg/hexagon-vertical-bars-database-filled.svg +1 -0
  78. package/dist/svg/hexagon-vertical-bars-database.svg +1 -0
  79. package/dist/svg/hexagon-vertical-bars-filled.svg +1 -0
  80. package/dist/svg/hexagon-vertical-bars.svg +1 -0
  81. package/dist/svg/line-diagonal.svg +1 -0
  82. package/dist/svg/moon-filled.svg +1 -0
  83. package/dist/svg/moon.svg +1 -0
  84. package/dist/svg/plus-minus-times-divide.svg +1 -0
  85. package/dist/svg/polygon-filled.svg +1 -0
  86. package/dist/svg/polygon-line.svg +1 -0
  87. package/dist/svg/polygon.svg +1 -0
  88. package/dist/svg/rectangle-filled.svg +1 -0
  89. package/dist/svg/rectangle.svg +1 -0
  90. package/dist/svg/simit-component.svg +1 -0
  91. package/dist/svg/simit-macro-component-editor.svg +1 -0
  92. package/dist/svg/simit-macro.svg +1 -0
  93. package/dist/svg/switch-slider.svg +1 -0
  94. package/dist/svg/tag-plus-filled.svg +1 -0
  95. package/dist/svg/tag-plus.svg +1 -0
  96. package/dist/svg/text-circle-rectangle-filled.svg +1 -0
  97. package/dist/svg/text-circle-rectangle.svg +1 -0
  98. package/dist/svg/text.svg +1 -0
  99. package/dist/types/components/icon/icon.d.ts +24 -0
  100. package/dist/types/components/icon/resolveIcon.d.ts +3 -0
  101. package/dist/types/components/icon/test/rocker-example.d.ts +1 -0
  102. package/dist/types/components.d.ts +65 -0
  103. package/dist/types/index.d.ts +2 -0
  104. package/dist/types/stencil-public-runtime.d.ts +1638 -0
  105. package/icons/index.d.ts +595 -0
  106. package/icons/index.js +595 -0
  107. package/icons/index.mjs +595 -0
  108. package/icons/package.json +8 -0
  109. package/loader/cdn.js +3 -0
  110. package/loader/index.cjs.js +3 -0
  111. package/loader/index.d.ts +21 -0
  112. package/loader/index.es2017.js +3 -0
  113. package/loader/index.js +4 -0
  114. package/loader/package.json +11 -0
  115. package/package.json +37 -15
  116. package/dist/scss/ix-icons.scss +0 -613
@@ -0,0 +1,1638 @@
1
+ declare type CustomMethodDecorator<T> = (target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;
2
+ export interface ComponentDecorator {
3
+ (opts?: ComponentOptions): ClassDecorator;
4
+ }
5
+ export interface ComponentOptions {
6
+ /**
7
+ * Tag name of the web component. Ideally, the tag name must be globally unique,
8
+ * so it's recommended to choose an unique prefix for all your components within the same collection.
9
+ *
10
+ * In addition, tag name must contain a '-'
11
+ */
12
+ tag: string;
13
+ /**
14
+ * If `true`, the component will use scoped stylesheets. Similar to shadow-dom,
15
+ * but without native isolation. Defaults to `false`.
16
+ */
17
+ scoped?: boolean;
18
+ /**
19
+ * If `true`, the component will use native shadow-dom encapsulation, it will fallback to
20
+ * `scoped` if the browser does not support shadow-dom natively. Defaults to `false`.
21
+ * Additionally, `shadow` can also be given options when attaching the shadow root.
22
+ */
23
+ shadow?: boolean | ShadowRootOptions;
24
+ /**
25
+ * Relative URL to some external stylesheet file. It should be a `.css` file unless some
26
+ * external plugin is installed like `@stencil/sass`.
27
+ */
28
+ styleUrl?: string;
29
+ /**
30
+ * Similar as `styleUrl` but allows to specify different stylesheets for different modes.
31
+ */
32
+ styleUrls?: string[] | ModeStyles;
33
+ /**
34
+ * String that contains inlined CSS instead of using an external stylesheet.
35
+ * The performance characteristics of this feature are the same as using an external stylesheet.
36
+ *
37
+ * Notice, you can't use sass, or less, only `css` is allowed using `styles`, use `styleUrl` is you need more advanced features.
38
+ */
39
+ styles?: string | {
40
+ [modeName: string]: any;
41
+ };
42
+ /**
43
+ * Array of relative links to folders of assets required by the component.
44
+ */
45
+ assetsDirs?: string[];
46
+ }
47
+ export interface ShadowRootOptions {
48
+ /**
49
+ * When set to `true`, specifies behavior that mitigates custom element issues
50
+ * around focusability. When a non-focusable part of the shadow DOM is clicked, the first
51
+ * focusable part is given focus, and the shadow host is given any available `:focus` styling.
52
+ */
53
+ delegatesFocus?: boolean;
54
+ }
55
+ export interface ModeStyles {
56
+ [modeName: string]: string | string[];
57
+ }
58
+ export interface PropDecorator {
59
+ (opts?: PropOptions): PropertyDecorator;
60
+ }
61
+ export interface PropOptions {
62
+ /**
63
+ * The name of the associated DOM attribute.
64
+ * Stencil uses different heuristics to determine the default name of the attribute,
65
+ * but using this property, you can override the default behaviour.
66
+ */
67
+ attribute?: string | null;
68
+ /**
69
+ * A Prop is _by default_ immutable from inside the component logic.
70
+ * Once a value is set by a user, the component cannot update it internally.
71
+ * However, it's possible to explicitly allow a Prop to be mutated from inside the component,
72
+ * by setting this `mutable` option to `true`.
73
+ */
74
+ mutable?: boolean;
75
+ /**
76
+ * In some cases it may be useful to keep a Prop in sync with an attribute.
77
+ * In this case you can set the `reflect` option to `true`, since it defaults to `false`:
78
+ */
79
+ reflect?: boolean;
80
+ }
81
+ export interface MethodDecorator {
82
+ (opts?: MethodOptions): CustomMethodDecorator<any>;
83
+ }
84
+ export interface MethodOptions {
85
+ }
86
+ export interface ElementDecorator {
87
+ (): PropertyDecorator;
88
+ }
89
+ export interface EventDecorator {
90
+ (opts?: EventOptions): PropertyDecorator;
91
+ }
92
+ export interface EventOptions {
93
+ /**
94
+ * A string custom event name to override the default.
95
+ */
96
+ eventName?: string;
97
+ /**
98
+ * A Boolean indicating whether the event bubbles up through the DOM or not.
99
+ */
100
+ bubbles?: boolean;
101
+ /**
102
+ * A Boolean indicating whether the event is cancelable.
103
+ */
104
+ cancelable?: boolean;
105
+ /**
106
+ * A Boolean value indicating whether or not the event can bubble across the boundary between the shadow DOM and the regular DOM.
107
+ */
108
+ composed?: boolean;
109
+ }
110
+ export interface ListenDecorator {
111
+ (eventName: string, opts?: ListenOptions): CustomMethodDecorator<any>;
112
+ }
113
+ export interface ListenOptions {
114
+ /**
115
+ * Handlers can also be registered for an event other than the host itself.
116
+ * The `target` option can be used to change where the event listener is attached,
117
+ * this is useful for listening to application-wide events.
118
+ */
119
+ target?: ListenTargetOptions;
120
+ /**
121
+ * Event listener attached with `@Listen` does not "capture" by default,
122
+ * When a event listener is set to "capture", means the event will be dispatched
123
+ * during the "capture phase". Please see
124
+ * https://www.quirksmode.org/js/events_order.html for further information.
125
+ */
126
+ capture?: boolean;
127
+ /**
128
+ * By default, Stencil uses several heuristics to determine if
129
+ * it must attach a `passive` event listener or not.
130
+ *
131
+ * Using the `passive` option can be used to change the default behaviour.
132
+ * Please see https://developers.google.com/web/updates/2016/06/passive-event-listeners for further information.
133
+ */
134
+ passive?: boolean;
135
+ }
136
+ export type ListenTargetOptions = 'body' | 'document' | 'window';
137
+ export interface StateDecorator {
138
+ (): PropertyDecorator;
139
+ }
140
+ export interface WatchDecorator {
141
+ (propName: string): CustomMethodDecorator<any>;
142
+ }
143
+ export interface UserBuildConditionals {
144
+ isDev: boolean;
145
+ isBrowser: boolean;
146
+ isServer: boolean;
147
+ isTesting: boolean;
148
+ }
149
+ /**
150
+ * The `Build` object provides many build conditionals that can be used to
151
+ * include or exclude code depending on the build.
152
+ */
153
+ export declare const Build: UserBuildConditionals;
154
+ /**
155
+ * The `Env` object provides access to the "env" object declared in the project's `stencil.config.ts`.
156
+ */
157
+ export declare const Env: {
158
+ [prop: string]: string | undefined;
159
+ };
160
+ /**
161
+ * The `@Component()` decorator is used to provide metadata about the component class.
162
+ * https://stenciljs.com/docs/component
163
+ */
164
+ export declare const Component: ComponentDecorator;
165
+ /**
166
+ * The `@Element()` decorator is a reference to the actual host element
167
+ * once it has rendered.
168
+ */
169
+ export declare const Element: ElementDecorator;
170
+ /**
171
+ * Components can emit data and events using the Event Emitter decorator.
172
+ * To dispatch Custom DOM events for other components to handle, use the
173
+ * `@Event()` decorator. The Event decorator also makes it easier for Stencil
174
+ * to automatically build types and documentation for the event data.
175
+ * https://stenciljs.com/docs/events
176
+ */
177
+ export declare const Event: EventDecorator;
178
+ /**
179
+ * The `Listen()` decorator is for listening DOM events, including the ones
180
+ * dispatched from `@Events()`.
181
+ * https://stenciljs.com/docs/events#listen-decorator
182
+ */
183
+ export declare const Listen: ListenDecorator;
184
+ /**
185
+ * The `@Method()` decorator is used to expose methods on the public API.
186
+ * Class methods decorated with the @Method() decorator can be called directly
187
+ * from the element, meaning they are intended to be callable from the outside.
188
+ * https://stenciljs.com/docs/methods
189
+ */
190
+ export declare const Method: MethodDecorator;
191
+ /**
192
+ * Props are custom attribute/properties exposed publicly on the element
193
+ * that developers can provide values for. Children components do not need to
194
+ * know about or reference parent components, so Props can be used to pass
195
+ * data down from the parent to the child. Components need to explicitly
196
+ * declare the Props they expect to receive using the `@Prop()` decorator.
197
+ * Any value changes to a Prop will cause a re-render.
198
+ * https://stenciljs.com/docs/properties
199
+ */
200
+ export declare const Prop: PropDecorator;
201
+ /**
202
+ * The `@State()` decorator can be used to manage internal data for a component.
203
+ * This means that a user cannot modify this data from outside the component,
204
+ * but the component can modify it however it sees fit. Any value changes to a
205
+ * `@State()` property will cause the components render function to be called again.
206
+ * https://stenciljs.com/docs/state
207
+ */
208
+ export declare const State: StateDecorator;
209
+ /**
210
+ * When a property's value has changed, a method decorated with `@Watch()` will be
211
+ * called and passed the new value of the prop along with the old value. Watch is
212
+ * useful for validating props or handling side effects. Watch decorator does not
213
+ * fire when a component initially loads.
214
+ * https://stenciljs.com/docs/reactive-data#watch-decorator
215
+ */
216
+ export declare const Watch: WatchDecorator;
217
+ export type ResolutionHandler = (elm: HTMLElement) => string | undefined | null;
218
+ export type ErrorHandler = (err: any, element?: HTMLElement) => void;
219
+ /**
220
+ * `setMode()` is used for libraries which provide multiple "modes" for styles.
221
+ */
222
+ export declare const setMode: (handler: ResolutionHandler) => void;
223
+ /**
224
+ * `getMode()` is used for libraries which provide multiple "modes" for styles.
225
+ * @param ref a reference to the node to get styles for
226
+ * @returns the current mode or undefined, if not found
227
+ */
228
+ export declare function getMode<T = string | undefined>(ref: any): T;
229
+ export declare function setPlatformHelpers(helpers: {
230
+ jmp?: (c: any) => any;
231
+ raf?: (c: any) => number;
232
+ ael?: (el: any, eventName: string, listener: any, options: any) => void;
233
+ rel?: (el: any, eventName: string, listener: any, options: any) => void;
234
+ ce?: (eventName: string, opts?: any) => any;
235
+ }): void;
236
+ /**
237
+ * Get the base path to where the assets can be found. Use `setAssetPath(path)`
238
+ * if the path needs to be customized.
239
+ * @param path the path to use in calculating the asset path. this value will be
240
+ * used in conjunction with the base asset path
241
+ * @returns the base path
242
+ */
243
+ export declare function getAssetPath(path: string): string;
244
+ /**
245
+ * Used to manually set the base path where assets can be found. For lazy-loaded
246
+ * builds the asset path is automatically set and assets copied to the correct
247
+ * build directory. However, for custom elements builds, the `setAssetPath(path)` could
248
+ * be used to customize the asset path depending on how the script file is consumed.
249
+ * If the script is used as "module", it's recommended to use "import.meta.url", such
250
+ * as `setAssetPath(import.meta.url)`. Other options include
251
+ * `setAssetPath(document.currentScript.src)`, or using a bundler's replace plugin to
252
+ * dynamically set the path at build time, such as `setAssetPath(process.env.ASSET_PATH)`.
253
+ * But do note that this configuration depends on how your script is bundled, or lack of
254
+ * bundling, and where your assets can be loaded from. Additionally custom bundling
255
+ * will have to ensure the static assets are copied to its build directory.
256
+ * @param path the asset path to set
257
+ * @returns the set path
258
+ */
259
+ export declare function setAssetPath(path: string): string;
260
+ /**
261
+ * Used to specify a nonce value that corresponds with an application's
262
+ * [Content Security Policy (CSP)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP).
263
+ * When set, the nonce will be added to all dynamically created script and style tags at runtime.
264
+ * Alternatively, the nonce value can be set on a `meta` tag in the DOM head
265
+ * (<meta name="csp-nonce" content="{ nonce value here }" />) and will result in the same behavior.
266
+ * @param nonce The value to be used for the nonce attribute.
267
+ */
268
+ export declare function setNonce(nonce: string): void;
269
+ /**
270
+ * Retrieve a Stencil element for a given reference
271
+ * @param ref the ref to get the Stencil element for
272
+ * @returns a reference to the element
273
+ */
274
+ export declare function getElement(ref: any): HTMLStencilElement;
275
+ /**
276
+ * Schedules a new render of the given instance or element even if no state changed.
277
+ *
278
+ * Notice `forceUpdate()` is not synchronous and might perform the DOM render in the next frame.
279
+ *
280
+ * @param ref the node/element to force the re-render of
281
+ */
282
+ export declare function forceUpdate(ref: any): void;
283
+ /**
284
+ * getRenderingRef
285
+ * @returns the rendering ref
286
+ */
287
+ export declare function getRenderingRef(): any;
288
+ export interface HTMLStencilElement extends HTMLElement {
289
+ componentOnReady(): Promise<this>;
290
+ }
291
+ /**
292
+ * Schedules a DOM-write task. The provided callback will be executed
293
+ * in the best moment to perform DOM mutation without causing layout thrashing.
294
+ *
295
+ * For further information: https://developers.google.com/web/fundamentals/performance/rendering/avoid-large-complex-layouts-and-layout-thrashing
296
+ *
297
+ * @param task the DOM-write to schedule
298
+ */
299
+ export declare function writeTask(task: RafCallback): void;
300
+ /**
301
+ * Schedules a DOM-read task. The provided callback will be executed
302
+ * in the best moment to perform DOM reads without causing layout thrashing.
303
+ *
304
+ * For further information: https://developers.google.com/web/fundamentals/performance/rendering/avoid-large-complex-layouts-and-layout-thrashing
305
+ *
306
+ * @param task the DOM-read to schedule
307
+ */
308
+ export declare function readTask(task: RafCallback): void;
309
+ /**
310
+ * `setErrorHandler()` can be used to inject a custom global error handler.
311
+ * Unhandled exception raised while rendering, during event handling, or lifecycles will trigger the custom event handler.
312
+ */
313
+ export declare const setErrorHandler: (handler: ErrorHandler) => void;
314
+ /**
315
+ * This file gets copied to all distributions of stencil component collections.
316
+ * - no imports
317
+ */
318
+ export interface ComponentWillLoad {
319
+ /**
320
+ * The component is about to load and it has not
321
+ * rendered yet.
322
+ *
323
+ * This is the best place to make any data updates
324
+ * before the first render.
325
+ *
326
+ * componentWillLoad will only be called once.
327
+ */
328
+ componentWillLoad(): Promise<void> | void;
329
+ }
330
+ export interface ComponentDidLoad {
331
+ /**
332
+ * The component has loaded and has already rendered.
333
+ *
334
+ * Updating data in this method will cause the
335
+ * component to re-render.
336
+ *
337
+ * componentDidLoad will only be called once.
338
+ */
339
+ componentDidLoad(): void;
340
+ }
341
+ export interface ComponentWillUpdate {
342
+ /**
343
+ * The component is about to update and re-render.
344
+ *
345
+ * Called multiple times throughout the life of
346
+ * the component as it updates.
347
+ *
348
+ * componentWillUpdate is not called on the first render.
349
+ */
350
+ componentWillUpdate(): Promise<void> | void;
351
+ }
352
+ export interface ComponentDidUpdate {
353
+ /**
354
+ * The component has just re-rendered.
355
+ *
356
+ * Called multiple times throughout the life of
357
+ * the component as it updates.
358
+ *
359
+ * componentWillUpdate is not called on the
360
+ * first render.
361
+ */
362
+ componentDidUpdate(): void;
363
+ }
364
+ export interface ComponentInterface {
365
+ connectedCallback?(): void;
366
+ disconnectedCallback?(): void;
367
+ componentWillRender?(): Promise<void> | void;
368
+ componentDidRender?(): void;
369
+ /**
370
+ * The component is about to load and it has not
371
+ * rendered yet.
372
+ *
373
+ * This is the best place to make any data updates
374
+ * before the first render.
375
+ *
376
+ * componentWillLoad will only be called once.
377
+ */
378
+ componentWillLoad?(): Promise<void> | void;
379
+ /**
380
+ * The component has loaded and has already rendered.
381
+ *
382
+ * Updating data in this method will cause the
383
+ * component to re-render.
384
+ *
385
+ * componentDidLoad will only be called once.
386
+ */
387
+ componentDidLoad?(): void;
388
+ /**
389
+ * A `@Prop` or `@State` property changed and a rerender is about to be requested.
390
+ *
391
+ * Called multiple times throughout the life of
392
+ * the component as its properties change.
393
+ *
394
+ * componentShouldUpdate is not called on the first render.
395
+ */
396
+ componentShouldUpdate?(newVal: any, oldVal: any, propName: string): boolean | void;
397
+ /**
398
+ * The component is about to update and re-render.
399
+ *
400
+ * Called multiple times throughout the life of
401
+ * the component as it updates.
402
+ *
403
+ * componentWillUpdate is not called on the first render.
404
+ */
405
+ componentWillUpdate?(): Promise<void> | void;
406
+ /**
407
+ * The component has just re-rendered.
408
+ *
409
+ * Called multiple times throughout the life of
410
+ * the component as it updates.
411
+ *
412
+ * componentWillUpdate is not called on the
413
+ * first render.
414
+ */
415
+ componentDidUpdate?(): void;
416
+ render?(): any;
417
+ [memberName: string]: any;
418
+ }
419
+ export interface EventEmitter<T = any> {
420
+ emit: (data?: T) => CustomEvent<T>;
421
+ }
422
+ export interface RafCallback {
423
+ (timeStamp: number): void;
424
+ }
425
+ export interface QueueApi {
426
+ tick: (cb: RafCallback) => void;
427
+ read: (cb: RafCallback) => void;
428
+ write: (cb: RafCallback) => void;
429
+ clear?: () => void;
430
+ flush?: (cb?: () => void) => void;
431
+ }
432
+ /**
433
+ * Host
434
+ */
435
+ interface HostAttributes {
436
+ class?: string | {
437
+ [className: string]: boolean;
438
+ };
439
+ style?: {
440
+ [key: string]: string | undefined;
441
+ };
442
+ ref?: (el: HTMLElement | null) => void;
443
+ [prop: string]: any;
444
+ }
445
+ /**
446
+ * Utilities for working with functional Stencil components. An object
447
+ * conforming to this interface is passed by the Stencil runtime as the third
448
+ * argument to a functional component, allowing component authors to work with
449
+ * features like children.
450
+ *
451
+ * The children of a functional component will be passed as the second
452
+ * argument, so a functional component which uses these utils to transform its
453
+ * children might look like the following:
454
+ *
455
+ * ```ts
456
+ * export const AddClass: FunctionalComponent = (_, children, utils) => (
457
+ * utils.map(children, child => ({
458
+ * ...child,
459
+ * vattrs: {
460
+ * ...child.vattrs,
461
+ * class: `${child.vattrs.class} add-class`
462
+ * }
463
+ * }))
464
+ * );
465
+ * ```
466
+ *
467
+ * For more see the Stencil documentation, here:
468
+ * https://stenciljs.com/docs/functional-components
469
+ */
470
+ export interface FunctionalUtilities {
471
+ /**
472
+ * Utility for reading the children of a functional component at runtime.
473
+ * Since the Stencil runtime uses a different interface for children it is
474
+ * not recommendeded to read the children directly, and is preferable to use
475
+ * this utility to, for instance, perform a side effect for each child.
476
+ */
477
+ forEach: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => void) => void;
478
+ /**
479
+ * Utility for transforming the children of a functional component. Given an
480
+ * array of children and a callback this will return a list of the results of
481
+ * passing each child to the supplied callback.
482
+ */
483
+ map: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => ChildNode) => VNode[];
484
+ }
485
+ export interface FunctionalComponent<T = {}> {
486
+ (props: T, children: VNode[], utils: FunctionalUtilities): VNode | VNode[];
487
+ }
488
+ /**
489
+ * A Child VDOM node
490
+ *
491
+ * This has most of the same properties as {@link VNode} but friendlier names
492
+ * (i.e. `vtag` instead of `$tag$`, `vchildren` instead of `$children$`) in
493
+ * order to provide a friendlier public interface for users of the
494
+ * {@link FunctionalUtilities}).
495
+ */
496
+ export interface ChildNode {
497
+ vtag?: string | number | Function;
498
+ vkey?: string | number;
499
+ vtext?: string;
500
+ vchildren?: VNode[];
501
+ vattrs?: any;
502
+ vname?: string;
503
+ }
504
+ /**
505
+ * Host is a functional component can be used at the root of the render function
506
+ * to set attributes and event listeners to the host element itself.
507
+ *
508
+ * For further information: https://stenciljs.com/docs/host-element
509
+ */
510
+ export declare const Host: FunctionalComponent<HostAttributes>;
511
+ /**
512
+ * Fragment
513
+ */
514
+ export declare const Fragment: FunctionalComponent<{}>;
515
+ /**
516
+ * The "h" namespace is used to import JSX types for elements and attributes.
517
+ * It is imported in order to avoid conflicting global JSX issues.
518
+ */
519
+ export declare namespace h {
520
+ function h(sel: any): VNode;
521
+ function h(sel: Node, data: VNodeData | null): VNode;
522
+ function h(sel: any, data: VNodeData | null): VNode;
523
+ function h(sel: any, text: string): VNode;
524
+ function h(sel: any, children: Array<VNode | undefined | null>): VNode;
525
+ function h(sel: any, data: VNodeData | null, text: string): VNode;
526
+ function h(sel: any, data: VNodeData | null, children: Array<VNode | undefined | null>): VNode;
527
+ function h(sel: any, data: VNodeData | null, children: VNode): VNode;
528
+ namespace JSX {
529
+ interface IntrinsicElements extends LocalJSX.IntrinsicElements, JSXBase.IntrinsicElements {
530
+ [tagName: string]: any;
531
+ }
532
+ }
533
+ }
534
+ export declare function h(sel: any): VNode;
535
+ export declare function h(sel: Node, data: VNodeData | null): VNode;
536
+ export declare function h(sel: any, data: VNodeData | null): VNode;
537
+ export declare function h(sel: any, text: string): VNode;
538
+ export declare function h(sel: any, children: Array<VNode | undefined | null>): VNode;
539
+ export declare function h(sel: any, data: VNodeData | null, text: string): VNode;
540
+ export declare function h(sel: any, data: VNodeData | null, children: Array<VNode | undefined | null>): VNode;
541
+ export declare function h(sel: any, data: VNodeData | null, children: VNode): VNode;
542
+ /**
543
+ * A virtual DOM node
544
+ */
545
+ export interface VNode {
546
+ $flags$: number;
547
+ $tag$: string | number | Function;
548
+ $elm$: any;
549
+ $text$: string;
550
+ $children$: VNode[];
551
+ $attrs$?: any;
552
+ $name$?: string;
553
+ $key$?: string | number;
554
+ }
555
+ export interface VNodeData {
556
+ class?: {
557
+ [className: string]: boolean;
558
+ };
559
+ style?: any;
560
+ [attrName: string]: any;
561
+ }
562
+ declare namespace LocalJSX {
563
+ interface Element {
564
+ }
565
+ interface IntrinsicElements {
566
+ }
567
+ }
568
+ export { LocalJSX as JSX };
569
+ export declare namespace JSXBase {
570
+ interface IntrinsicElements {
571
+ slot: JSXBase.SlotAttributes;
572
+ a: JSXBase.AnchorHTMLAttributes<HTMLAnchorElement>;
573
+ abbr: JSXBase.HTMLAttributes;
574
+ address: JSXBase.HTMLAttributes;
575
+ area: JSXBase.AreaHTMLAttributes<HTMLAreaElement>;
576
+ article: JSXBase.HTMLAttributes;
577
+ aside: JSXBase.HTMLAttributes;
578
+ audio: JSXBase.AudioHTMLAttributes<HTMLAudioElement>;
579
+ b: JSXBase.HTMLAttributes;
580
+ base: JSXBase.BaseHTMLAttributes<HTMLBaseElement>;
581
+ bdi: JSXBase.HTMLAttributes;
582
+ bdo: JSXBase.HTMLAttributes;
583
+ big: JSXBase.HTMLAttributes;
584
+ blockquote: JSXBase.BlockquoteHTMLAttributes<HTMLQuoteElement>;
585
+ body: JSXBase.HTMLAttributes<HTMLBodyElement>;
586
+ br: JSXBase.HTMLAttributes<HTMLBRElement>;
587
+ button: JSXBase.ButtonHTMLAttributes<HTMLButtonElement>;
588
+ canvas: JSXBase.CanvasHTMLAttributes<HTMLCanvasElement>;
589
+ caption: JSXBase.HTMLAttributes<HTMLTableCaptionElement>;
590
+ cite: JSXBase.HTMLAttributes;
591
+ code: JSXBase.HTMLAttributes;
592
+ col: JSXBase.ColHTMLAttributes<HTMLTableColElement>;
593
+ colgroup: JSXBase.ColgroupHTMLAttributes<HTMLTableColElement>;
594
+ data: JSXBase.HTMLAttributes<HTMLDataElement>;
595
+ datalist: JSXBase.HTMLAttributes<HTMLDataListElement>;
596
+ dd: JSXBase.HTMLAttributes;
597
+ del: JSXBase.DelHTMLAttributes<HTMLModElement>;
598
+ details: JSXBase.DetailsHTMLAttributes<HTMLElement>;
599
+ dfn: JSXBase.HTMLAttributes;
600
+ dialog: JSXBase.DialogHTMLAttributes<HTMLDialogElement>;
601
+ div: JSXBase.HTMLAttributes<HTMLDivElement>;
602
+ dl: JSXBase.HTMLAttributes<HTMLDListElement>;
603
+ dt: JSXBase.HTMLAttributes;
604
+ em: JSXBase.HTMLAttributes;
605
+ embed: JSXBase.EmbedHTMLAttributes<HTMLEmbedElement>;
606
+ fieldset: JSXBase.FieldsetHTMLAttributes<HTMLFieldSetElement>;
607
+ figcaption: JSXBase.HTMLAttributes;
608
+ figure: JSXBase.HTMLAttributes;
609
+ footer: JSXBase.HTMLAttributes;
610
+ form: JSXBase.FormHTMLAttributes<HTMLFormElement>;
611
+ h1: JSXBase.HTMLAttributes<HTMLHeadingElement>;
612
+ h2: JSXBase.HTMLAttributes<HTMLHeadingElement>;
613
+ h3: JSXBase.HTMLAttributes<HTMLHeadingElement>;
614
+ h4: JSXBase.HTMLAttributes<HTMLHeadingElement>;
615
+ h5: JSXBase.HTMLAttributes<HTMLHeadingElement>;
616
+ h6: JSXBase.HTMLAttributes<HTMLHeadingElement>;
617
+ head: JSXBase.HTMLAttributes<HTMLHeadElement>;
618
+ header: JSXBase.HTMLAttributes;
619
+ hgroup: JSXBase.HTMLAttributes;
620
+ hr: JSXBase.HTMLAttributes<HTMLHRElement>;
621
+ html: JSXBase.HTMLAttributes<HTMLHtmlElement>;
622
+ i: JSXBase.HTMLAttributes;
623
+ iframe: JSXBase.IframeHTMLAttributes<HTMLIFrameElement>;
624
+ img: JSXBase.ImgHTMLAttributes<HTMLImageElement>;
625
+ input: JSXBase.InputHTMLAttributes<HTMLInputElement>;
626
+ ins: JSXBase.InsHTMLAttributes<HTMLModElement>;
627
+ kbd: JSXBase.HTMLAttributes;
628
+ keygen: JSXBase.KeygenHTMLAttributes<HTMLElement>;
629
+ label: JSXBase.LabelHTMLAttributes<HTMLLabelElement>;
630
+ legend: JSXBase.HTMLAttributes<HTMLLegendElement>;
631
+ li: JSXBase.LiHTMLAttributes<HTMLLIElement>;
632
+ link: JSXBase.LinkHTMLAttributes<HTMLLinkElement>;
633
+ main: JSXBase.HTMLAttributes;
634
+ map: JSXBase.MapHTMLAttributes<HTMLMapElement>;
635
+ mark: JSXBase.HTMLAttributes;
636
+ menu: JSXBase.MenuHTMLAttributes<HTMLMenuElement>;
637
+ menuitem: JSXBase.HTMLAttributes;
638
+ meta: JSXBase.MetaHTMLAttributes<HTMLMetaElement>;
639
+ meter: JSXBase.MeterHTMLAttributes<HTMLMeterElement>;
640
+ nav: JSXBase.HTMLAttributes;
641
+ noscript: JSXBase.HTMLAttributes;
642
+ object: JSXBase.ObjectHTMLAttributes<HTMLObjectElement>;
643
+ ol: JSXBase.OlHTMLAttributes<HTMLOListElement>;
644
+ optgroup: JSXBase.OptgroupHTMLAttributes<HTMLOptGroupElement>;
645
+ option: JSXBase.OptionHTMLAttributes<HTMLOptionElement>;
646
+ output: JSXBase.OutputHTMLAttributes<HTMLOutputElement>;
647
+ p: JSXBase.HTMLAttributes<HTMLParagraphElement>;
648
+ param: JSXBase.ParamHTMLAttributes<HTMLParamElement>;
649
+ picture: JSXBase.HTMLAttributes<HTMLPictureElement>;
650
+ pre: JSXBase.HTMLAttributes<HTMLPreElement>;
651
+ progress: JSXBase.ProgressHTMLAttributes<HTMLProgressElement>;
652
+ q: JSXBase.QuoteHTMLAttributes<HTMLQuoteElement>;
653
+ rp: JSXBase.HTMLAttributes;
654
+ rt: JSXBase.HTMLAttributes;
655
+ ruby: JSXBase.HTMLAttributes;
656
+ s: JSXBase.HTMLAttributes;
657
+ samp: JSXBase.HTMLAttributes;
658
+ script: JSXBase.ScriptHTMLAttributes<HTMLScriptElement>;
659
+ section: JSXBase.HTMLAttributes;
660
+ select: JSXBase.SelectHTMLAttributes<HTMLSelectElement>;
661
+ small: JSXBase.HTMLAttributes;
662
+ source: JSXBase.SourceHTMLAttributes<HTMLSourceElement>;
663
+ span: JSXBase.HTMLAttributes<HTMLSpanElement>;
664
+ strong: JSXBase.HTMLAttributes;
665
+ style: JSXBase.StyleHTMLAttributes<HTMLStyleElement>;
666
+ sub: JSXBase.HTMLAttributes;
667
+ summary: JSXBase.HTMLAttributes;
668
+ sup: JSXBase.HTMLAttributes;
669
+ table: JSXBase.TableHTMLAttributes<HTMLTableElement>;
670
+ tbody: JSXBase.HTMLAttributes<HTMLTableSectionElement>;
671
+ td: JSXBase.TdHTMLAttributes<HTMLTableDataCellElement>;
672
+ textarea: JSXBase.TextareaHTMLAttributes<HTMLTextAreaElement>;
673
+ tfoot: JSXBase.HTMLAttributes<HTMLTableSectionElement>;
674
+ th: JSXBase.ThHTMLAttributes<HTMLTableHeaderCellElement>;
675
+ thead: JSXBase.HTMLAttributes<HTMLTableSectionElement>;
676
+ time: JSXBase.TimeHTMLAttributes<HTMLTimeElement>;
677
+ title: JSXBase.HTMLAttributes<HTMLTitleElement>;
678
+ tr: JSXBase.HTMLAttributes<HTMLTableRowElement>;
679
+ track: JSXBase.TrackHTMLAttributes<HTMLTrackElement>;
680
+ u: JSXBase.HTMLAttributes;
681
+ ul: JSXBase.HTMLAttributes<HTMLUListElement>;
682
+ var: JSXBase.HTMLAttributes;
683
+ video: JSXBase.VideoHTMLAttributes<HTMLVideoElement>;
684
+ wbr: JSXBase.HTMLAttributes;
685
+ animate: JSXBase.SVGAttributes;
686
+ circle: JSXBase.SVGAttributes;
687
+ clipPath: JSXBase.SVGAttributes;
688
+ defs: JSXBase.SVGAttributes;
689
+ desc: JSXBase.SVGAttributes;
690
+ ellipse: JSXBase.SVGAttributes;
691
+ feBlend: JSXBase.SVGAttributes;
692
+ feColorMatrix: JSXBase.SVGAttributes;
693
+ feComponentTransfer: JSXBase.SVGAttributes;
694
+ feComposite: JSXBase.SVGAttributes;
695
+ feConvolveMatrix: JSXBase.SVGAttributes;
696
+ feDiffuseLighting: JSXBase.SVGAttributes;
697
+ feDisplacementMap: JSXBase.SVGAttributes;
698
+ feDistantLight: JSXBase.SVGAttributes;
699
+ feDropShadow: JSXBase.SVGAttributes;
700
+ feFlood: JSXBase.SVGAttributes;
701
+ feFuncA: JSXBase.SVGAttributes;
702
+ feFuncB: JSXBase.SVGAttributes;
703
+ feFuncG: JSXBase.SVGAttributes;
704
+ feFuncR: JSXBase.SVGAttributes;
705
+ feGaussianBlur: JSXBase.SVGAttributes;
706
+ feImage: JSXBase.SVGAttributes;
707
+ feMerge: JSXBase.SVGAttributes;
708
+ feMergeNode: JSXBase.SVGAttributes;
709
+ feMorphology: JSXBase.SVGAttributes;
710
+ feOffset: JSXBase.SVGAttributes;
711
+ fePointLight: JSXBase.SVGAttributes;
712
+ feSpecularLighting: JSXBase.SVGAttributes;
713
+ feSpotLight: JSXBase.SVGAttributes;
714
+ feTile: JSXBase.SVGAttributes;
715
+ feTurbulence: JSXBase.SVGAttributes;
716
+ filter: JSXBase.SVGAttributes;
717
+ foreignObject: JSXBase.SVGAttributes;
718
+ g: JSXBase.SVGAttributes;
719
+ image: JSXBase.SVGAttributes;
720
+ line: JSXBase.SVGAttributes;
721
+ linearGradient: JSXBase.SVGAttributes;
722
+ marker: JSXBase.SVGAttributes;
723
+ mask: JSXBase.SVGAttributes;
724
+ metadata: JSXBase.SVGAttributes;
725
+ path: JSXBase.SVGAttributes;
726
+ pattern: JSXBase.SVGAttributes;
727
+ polygon: JSXBase.SVGAttributes;
728
+ polyline: JSXBase.SVGAttributes;
729
+ radialGradient: JSXBase.SVGAttributes;
730
+ rect: JSXBase.SVGAttributes;
731
+ stop: JSXBase.SVGAttributes;
732
+ svg: JSXBase.SVGAttributes;
733
+ switch: JSXBase.SVGAttributes;
734
+ symbol: JSXBase.SVGAttributes;
735
+ text: JSXBase.SVGAttributes;
736
+ textPath: JSXBase.SVGAttributes;
737
+ tspan: JSXBase.SVGAttributes;
738
+ use: JSXBase.SVGAttributes;
739
+ view: JSXBase.SVGAttributes;
740
+ }
741
+ interface SlotAttributes extends JSXAttributes {
742
+ name?: string;
743
+ slot?: string;
744
+ onSlotchange?: (event: Event) => void;
745
+ }
746
+ interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
747
+ download?: any;
748
+ href?: string;
749
+ hrefLang?: string;
750
+ hreflang?: string;
751
+ media?: string;
752
+ rel?: string;
753
+ target?: string;
754
+ referrerPolicy?: ReferrerPolicy;
755
+ }
756
+ interface AudioHTMLAttributes<T> extends MediaHTMLAttributes<T> {
757
+ }
758
+ interface AreaHTMLAttributes<T> extends HTMLAttributes<T> {
759
+ alt?: string;
760
+ coords?: string;
761
+ download?: any;
762
+ href?: string;
763
+ hrefLang?: string;
764
+ hreflang?: string;
765
+ media?: string;
766
+ rel?: string;
767
+ shape?: string;
768
+ target?: string;
769
+ }
770
+ interface BaseHTMLAttributes<T> extends HTMLAttributes<T> {
771
+ href?: string;
772
+ target?: string;
773
+ }
774
+ interface BlockquoteHTMLAttributes<T> extends HTMLAttributes<T> {
775
+ cite?: string;
776
+ }
777
+ interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
778
+ autoFocus?: boolean;
779
+ disabled?: boolean;
780
+ form?: string;
781
+ formAction?: string;
782
+ formaction?: string;
783
+ formEncType?: string;
784
+ formenctype?: string;
785
+ formMethod?: string;
786
+ formmethod?: string;
787
+ formNoValidate?: boolean;
788
+ formnovalidate?: boolean;
789
+ formTarget?: string;
790
+ formtarget?: string;
791
+ name?: string;
792
+ type?: string;
793
+ value?: string | string[] | number;
794
+ }
795
+ interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
796
+ height?: number | string;
797
+ width?: number | string;
798
+ }
799
+ interface ColHTMLAttributes<T> extends HTMLAttributes<T> {
800
+ span?: number;
801
+ }
802
+ interface ColgroupHTMLAttributes<T> extends HTMLAttributes<T> {
803
+ span?: number;
804
+ }
805
+ interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
806
+ open?: boolean;
807
+ onToggle?: (event: Event) => void;
808
+ }
809
+ interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
810
+ cite?: string;
811
+ dateTime?: string;
812
+ datetime?: string;
813
+ }
814
+ interface DialogHTMLAttributes<T> extends HTMLAttributes<T> {
815
+ onCancel?: (event: Event) => void;
816
+ onClose?: (event: Event) => void;
817
+ open?: boolean;
818
+ returnValue?: string;
819
+ }
820
+ interface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {
821
+ height?: number | string;
822
+ src?: string;
823
+ type?: string;
824
+ width?: number | string;
825
+ }
826
+ interface FieldsetHTMLAttributes<T> extends HTMLAttributes<T> {
827
+ disabled?: boolean;
828
+ form?: string;
829
+ name?: string;
830
+ }
831
+ interface FormHTMLAttributes<T> extends HTMLAttributes<T> {
832
+ acceptCharset?: string;
833
+ acceptcharset?: string;
834
+ action?: string;
835
+ autoComplete?: string;
836
+ autocomplete?: string;
837
+ encType?: string;
838
+ enctype?: string;
839
+ method?: string;
840
+ name?: string;
841
+ noValidate?: boolean;
842
+ novalidate?: boolean | string;
843
+ target?: string;
844
+ }
845
+ interface HtmlHTMLAttributes<T> extends HTMLAttributes<T> {
846
+ manifest?: string;
847
+ }
848
+ interface IframeHTMLAttributes<T> extends HTMLAttributes<T> {
849
+ allow?: string;
850
+ allowFullScreen?: boolean;
851
+ allowfullScreen?: string | boolean;
852
+ allowTransparency?: boolean;
853
+ allowtransparency?: string | boolean;
854
+ frameBorder?: number | string;
855
+ frameborder?: number | string;
856
+ importance?: 'low' | 'auto' | 'high';
857
+ height?: number | string;
858
+ loading?: 'lazy' | 'auto' | 'eager';
859
+ marginHeight?: number;
860
+ marginheight?: string | number;
861
+ marginWidth?: number;
862
+ marginwidth?: string | number;
863
+ name?: string;
864
+ referrerPolicy?: ReferrerPolicy;
865
+ sandbox?: string;
866
+ scrolling?: string;
867
+ seamless?: boolean;
868
+ src?: string;
869
+ srcDoc?: string;
870
+ srcdoc?: string;
871
+ width?: number | string;
872
+ }
873
+ interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
874
+ alt?: string;
875
+ decoding?: 'async' | 'auto' | 'sync';
876
+ importance?: 'low' | 'auto' | 'high';
877
+ height?: number | string;
878
+ loading?: 'lazy' | 'auto' | 'eager';
879
+ sizes?: string;
880
+ src?: string;
881
+ srcSet?: string;
882
+ srcset?: string;
883
+ useMap?: string;
884
+ usemap?: string;
885
+ width?: number | string;
886
+ }
887
+ interface InsHTMLAttributes<T> extends HTMLAttributes<T> {
888
+ cite?: string;
889
+ dateTime?: string;
890
+ datetime?: string;
891
+ }
892
+ interface InputHTMLAttributes<T> extends HTMLAttributes<T> {
893
+ accept?: string;
894
+ allowdirs?: boolean;
895
+ alt?: string;
896
+ autoCapitalize?: string;
897
+ autocapitalize?: string;
898
+ autoComplete?: string;
899
+ autocomplete?: string;
900
+ autoFocus?: boolean;
901
+ autofocus?: boolean | string;
902
+ capture?: string;
903
+ checked?: boolean;
904
+ crossOrigin?: string;
905
+ crossorigin?: string;
906
+ defaultChecked?: boolean;
907
+ defaultValue?: string;
908
+ dirName?: string;
909
+ disabled?: boolean;
910
+ files?: any;
911
+ form?: string;
912
+ formAction?: string;
913
+ formaction?: string;
914
+ formEncType?: string;
915
+ formenctype?: string;
916
+ formMethod?: string;
917
+ formmethod?: string;
918
+ formNoValidate?: boolean;
919
+ formnovalidate?: boolean;
920
+ formTarget?: string;
921
+ formtarget?: string;
922
+ height?: number | string;
923
+ indeterminate?: boolean;
924
+ list?: string;
925
+ max?: number | string;
926
+ maxLength?: number;
927
+ maxlength?: number | string;
928
+ min?: number | string;
929
+ minLength?: number;
930
+ minlength?: number | string;
931
+ multiple?: boolean;
932
+ name?: string;
933
+ pattern?: string;
934
+ placeholder?: string;
935
+ readOnly?: boolean;
936
+ readonly?: boolean | string;
937
+ required?: boolean;
938
+ selectionStart?: number | string;
939
+ selectionEnd?: number | string;
940
+ selectionDirection?: string;
941
+ size?: number;
942
+ src?: string;
943
+ step?: number | string;
944
+ type?: string;
945
+ value?: string | string[] | number;
946
+ valueAsDate?: any;
947
+ valueAsNumber?: any;
948
+ webkitdirectory?: boolean;
949
+ webkitEntries?: any;
950
+ width?: number | string;
951
+ }
952
+ interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
953
+ autoFocus?: boolean;
954
+ autofocus?: boolean | string;
955
+ challenge?: string;
956
+ disabled?: boolean;
957
+ form?: string;
958
+ keyType?: string;
959
+ keytype?: string;
960
+ keyParams?: string;
961
+ keyparams?: string;
962
+ name?: string;
963
+ }
964
+ interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
965
+ form?: string;
966
+ htmlFor?: string;
967
+ htmlfor?: string;
968
+ }
969
+ interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
970
+ value?: string | string[] | number;
971
+ }
972
+ interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
973
+ as?: string;
974
+ href?: string;
975
+ hrefLang?: string;
976
+ hreflang?: string;
977
+ importance?: 'low' | 'auto' | 'high';
978
+ integrity?: string;
979
+ media?: string;
980
+ rel?: string;
981
+ sizes?: string;
982
+ type?: string;
983
+ }
984
+ interface MapHTMLAttributes<T> extends HTMLAttributes<T> {
985
+ name?: string;
986
+ }
987
+ interface MenuHTMLAttributes<T> extends HTMLAttributes<T> {
988
+ type?: string;
989
+ }
990
+ interface MediaHTMLAttributes<T> extends HTMLAttributes<T> {
991
+ autoPlay?: boolean;
992
+ autoplay?: boolean | string;
993
+ controls?: boolean;
994
+ crossOrigin?: string;
995
+ crossorigin?: string;
996
+ loop?: boolean;
997
+ mediaGroup?: string;
998
+ mediagroup?: string;
999
+ muted?: boolean;
1000
+ preload?: string;
1001
+ src?: string;
1002
+ onAbort?: (event: Event) => void;
1003
+ onCanPlay?: (event: Event) => void;
1004
+ onCanPlayThrough?: (event: Event) => void;
1005
+ onDurationChange?: (event: Event) => void;
1006
+ onEmptied?: (event: Event) => void;
1007
+ onEnded?: (event: Event) => void;
1008
+ onError?: (event: Event) => void;
1009
+ onInterruptBegin?: (event: Event) => void;
1010
+ onInterruptEnd?: (event: Event) => void;
1011
+ onLoadedData?: (event: Event) => void;
1012
+ onLoadedMetaData?: (event: Event) => void;
1013
+ onLoadStart?: (event: Event) => void;
1014
+ onMozAudioAvailable?: (event: Event) => void;
1015
+ onPause?: (event: Event) => void;
1016
+ onPlay?: (event: Event) => void;
1017
+ onPlaying?: (event: Event) => void;
1018
+ onProgress?: (event: Event) => void;
1019
+ onRateChange?: (event: Event) => void;
1020
+ onSeeked?: (event: Event) => void;
1021
+ onSeeking?: (event: Event) => void;
1022
+ onStalled?: (event: Event) => void;
1023
+ onSuspend?: (event: Event) => void;
1024
+ onTimeUpdate?: (event: Event) => void;
1025
+ onVolumeChange?: (event: Event) => void;
1026
+ onWaiting?: (event: Event) => void;
1027
+ }
1028
+ interface MetaHTMLAttributes<T> extends HTMLAttributes<T> {
1029
+ charSet?: string;
1030
+ charset?: string;
1031
+ content?: string;
1032
+ httpEquiv?: string;
1033
+ httpequiv?: string;
1034
+ name?: string;
1035
+ }
1036
+ interface MeterHTMLAttributes<T> extends HTMLAttributes<T> {
1037
+ form?: string;
1038
+ high?: number;
1039
+ low?: number;
1040
+ max?: number | string;
1041
+ min?: number | string;
1042
+ optimum?: number;
1043
+ value?: string | string[] | number;
1044
+ }
1045
+ interface QuoteHTMLAttributes<T> extends HTMLAttributes<T> {
1046
+ cite?: string;
1047
+ }
1048
+ interface ObjectHTMLAttributes<T> extends HTMLAttributes<T> {
1049
+ classID?: string;
1050
+ classid?: string;
1051
+ data?: string;
1052
+ form?: string;
1053
+ height?: number | string;
1054
+ name?: string;
1055
+ type?: string;
1056
+ useMap?: string;
1057
+ usemap?: string;
1058
+ width?: number | string;
1059
+ wmode?: string;
1060
+ }
1061
+ interface OlHTMLAttributes<T> extends HTMLAttributes<T> {
1062
+ reversed?: boolean;
1063
+ start?: number;
1064
+ }
1065
+ interface OptgroupHTMLAttributes<T> extends HTMLAttributes<T> {
1066
+ disabled?: boolean;
1067
+ label?: string;
1068
+ }
1069
+ interface OptionHTMLAttributes<T> extends HTMLAttributes<T> {
1070
+ disabled?: boolean;
1071
+ label?: string;
1072
+ selected?: boolean;
1073
+ value?: string | string[] | number;
1074
+ }
1075
+ interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
1076
+ form?: string;
1077
+ htmlFor?: string;
1078
+ htmlfor?: string;
1079
+ name?: string;
1080
+ }
1081
+ interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
1082
+ name?: string;
1083
+ value?: string | string[] | number;
1084
+ }
1085
+ interface ProgressHTMLAttributes<T> extends HTMLAttributes<T> {
1086
+ max?: number | string;
1087
+ value?: string | string[] | number;
1088
+ }
1089
+ interface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {
1090
+ async?: boolean;
1091
+ charSet?: string;
1092
+ charset?: string;
1093
+ crossOrigin?: string;
1094
+ crossorigin?: string;
1095
+ defer?: boolean;
1096
+ importance?: 'low' | 'auto' | 'high';
1097
+ integrity?: string;
1098
+ nonce?: string;
1099
+ src?: string;
1100
+ type?: string;
1101
+ }
1102
+ interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
1103
+ autoFocus?: boolean;
1104
+ disabled?: boolean;
1105
+ form?: string;
1106
+ multiple?: boolean;
1107
+ name?: string;
1108
+ required?: boolean;
1109
+ size?: number;
1110
+ autoComplete?: string;
1111
+ autocomplete?: string;
1112
+ }
1113
+ interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
1114
+ media?: string;
1115
+ sizes?: string;
1116
+ src?: string;
1117
+ srcSet?: string;
1118
+ type?: string;
1119
+ }
1120
+ interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
1121
+ media?: string;
1122
+ nonce?: string;
1123
+ scoped?: boolean;
1124
+ type?: string;
1125
+ }
1126
+ interface TableHTMLAttributes<T> extends HTMLAttributes<T> {
1127
+ cellPadding?: number | string;
1128
+ cellpadding?: number | string;
1129
+ cellSpacing?: number | string;
1130
+ cellspacing?: number | string;
1131
+ summary?: string;
1132
+ }
1133
+ interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
1134
+ autoFocus?: boolean;
1135
+ autofocus?: boolean | string;
1136
+ cols?: number;
1137
+ disabled?: boolean;
1138
+ form?: string;
1139
+ maxLength?: number;
1140
+ maxlength?: number | string;
1141
+ minLength?: number;
1142
+ minlength?: number | string;
1143
+ name?: string;
1144
+ placeholder?: string;
1145
+ readOnly?: boolean;
1146
+ readonly?: boolean | string;
1147
+ required?: boolean;
1148
+ rows?: number;
1149
+ value?: string | string[] | number;
1150
+ wrap?: string;
1151
+ }
1152
+ interface TdHTMLAttributes<T> extends HTMLAttributes<T> {
1153
+ colSpan?: number;
1154
+ headers?: string;
1155
+ rowSpan?: number;
1156
+ }
1157
+ interface ThHTMLAttributes<T> extends HTMLAttributes<T> {
1158
+ abbr?: string;
1159
+ colSpan?: number;
1160
+ headers?: string;
1161
+ rowSpan?: number;
1162
+ rowspan?: number | string;
1163
+ scope?: string;
1164
+ }
1165
+ interface TimeHTMLAttributes<T> extends HTMLAttributes<T> {
1166
+ dateTime?: string;
1167
+ }
1168
+ interface TrackHTMLAttributes<T> extends HTMLAttributes<T> {
1169
+ default?: boolean;
1170
+ kind?: string;
1171
+ label?: string;
1172
+ src?: string;
1173
+ srcLang?: string;
1174
+ srclang?: string;
1175
+ }
1176
+ interface VideoHTMLAttributes<T> extends MediaHTMLAttributes<T> {
1177
+ height?: number | string;
1178
+ playsInline?: boolean;
1179
+ playsinline?: boolean | string;
1180
+ poster?: string;
1181
+ width?: number | string;
1182
+ }
1183
+ interface HTMLAttributes<T = HTMLElement> extends DOMAttributes<T> {
1184
+ innerHTML?: string;
1185
+ accessKey?: string;
1186
+ class?: string | {
1187
+ [className: string]: boolean;
1188
+ };
1189
+ contentEditable?: boolean | string;
1190
+ contenteditable?: boolean | string;
1191
+ contextMenu?: string;
1192
+ contextmenu?: string;
1193
+ dir?: string;
1194
+ draggable?: boolean;
1195
+ hidden?: boolean;
1196
+ id?: string;
1197
+ lang?: string;
1198
+ spellcheck?: 'true' | 'false' | any;
1199
+ style?: {
1200
+ [key: string]: string | undefined;
1201
+ };
1202
+ tabIndex?: number;
1203
+ tabindex?: number | string;
1204
+ title?: string;
1205
+ inputMode?: string;
1206
+ inputmode?: string;
1207
+ enterKeyHint?: string;
1208
+ enterkeyhint?: string;
1209
+ is?: string;
1210
+ radioGroup?: string;
1211
+ radiogroup?: string;
1212
+ role?: string;
1213
+ about?: string;
1214
+ datatype?: string;
1215
+ inlist?: any;
1216
+ prefix?: string;
1217
+ property?: string;
1218
+ resource?: string;
1219
+ typeof?: string;
1220
+ vocab?: string;
1221
+ autoCapitalize?: string;
1222
+ autocapitalize?: string;
1223
+ autoCorrect?: string;
1224
+ autocorrect?: string;
1225
+ autoSave?: string;
1226
+ autosave?: string;
1227
+ color?: string;
1228
+ itemProp?: string;
1229
+ itemprop?: string;
1230
+ itemScope?: boolean;
1231
+ itemscope?: boolean;
1232
+ itemType?: string;
1233
+ itemtype?: string;
1234
+ itemID?: string;
1235
+ itemid?: string;
1236
+ itemRef?: string;
1237
+ itemref?: string;
1238
+ results?: number;
1239
+ security?: string;
1240
+ unselectable?: boolean;
1241
+ }
1242
+ interface SVGAttributes<T = SVGElement> extends DOMAttributes<T> {
1243
+ class?: string | {
1244
+ [className: string]: boolean;
1245
+ };
1246
+ color?: string;
1247
+ height?: number | string;
1248
+ id?: string;
1249
+ lang?: string;
1250
+ max?: number | string;
1251
+ media?: string;
1252
+ method?: string;
1253
+ min?: number | string;
1254
+ name?: string;
1255
+ style?: {
1256
+ [key: string]: string | undefined;
1257
+ };
1258
+ target?: string;
1259
+ type?: string;
1260
+ width?: number | string;
1261
+ role?: string;
1262
+ tabindex?: number;
1263
+ 'accent-height'?: number | string;
1264
+ accumulate?: 'none' | 'sum';
1265
+ additive?: 'replace' | 'sum';
1266
+ 'alignment-baseline'?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit';
1267
+ allowReorder?: 'no' | 'yes';
1268
+ alphabetic?: number | string;
1269
+ amplitude?: number | string;
1270
+ 'arabic-form'?: 'initial' | 'medial' | 'terminal' | 'isolated';
1271
+ ascent?: number | string;
1272
+ attributeName?: string;
1273
+ attributeType?: string;
1274
+ autoReverse?: number | string;
1275
+ azimuth?: number | string;
1276
+ baseFrequency?: number | string;
1277
+ 'baseline-shift'?: number | string;
1278
+ baseProfile?: number | string;
1279
+ bbox?: number | string;
1280
+ begin?: number | string;
1281
+ bias?: number | string;
1282
+ by?: number | string;
1283
+ calcMode?: number | string;
1284
+ 'cap-height'?: number | string;
1285
+ clip?: number | string;
1286
+ 'clip-path'?: string;
1287
+ clipPathUnits?: number | string;
1288
+ 'clip-rule'?: number | string;
1289
+ 'color-interpolation'?: number | string;
1290
+ 'color-interpolation-filters'?: 'auto' | 's-rGB' | 'linear-rGB' | 'inherit';
1291
+ 'color-profile'?: number | string;
1292
+ 'color-rendering'?: number | string;
1293
+ contentScriptType?: number | string;
1294
+ contentStyleType?: number | string;
1295
+ cursor?: number | string;
1296
+ cx?: number | string;
1297
+ cy?: number | string;
1298
+ d?: string;
1299
+ decelerate?: number | string;
1300
+ descent?: number | string;
1301
+ diffuseConstant?: number | string;
1302
+ direction?: number | string;
1303
+ display?: number | string;
1304
+ divisor?: number | string;
1305
+ 'dominant-baseline'?: number | string;
1306
+ dur?: number | string;
1307
+ dx?: number | string;
1308
+ dy?: number | string;
1309
+ 'edge-mode'?: number | string;
1310
+ elevation?: number | string;
1311
+ 'enable-background'?: number | string;
1312
+ end?: number | string;
1313
+ exponent?: number | string;
1314
+ externalResourcesRequired?: number | string;
1315
+ fill?: string;
1316
+ 'fill-opacity'?: number | string;
1317
+ 'fill-rule'?: 'nonzero' | 'evenodd' | 'inherit';
1318
+ filter?: string;
1319
+ filterRes?: number | string;
1320
+ filterUnits?: number | string;
1321
+ 'flood-color'?: number | string;
1322
+ 'flood-opacity'?: number | string;
1323
+ focusable?: number | string;
1324
+ 'font-family'?: string;
1325
+ 'font-size'?: number | string;
1326
+ 'font-size-adjust'?: number | string;
1327
+ 'font-stretch'?: number | string;
1328
+ 'font-style'?: number | string;
1329
+ 'font-variant'?: number | string;
1330
+ 'font-weight'?: number | string;
1331
+ format?: number | string;
1332
+ from?: number | string;
1333
+ fx?: number | string;
1334
+ fy?: number | string;
1335
+ g1?: number | string;
1336
+ g2?: number | string;
1337
+ 'glyph-name'?: number | string;
1338
+ 'glyph-orientation-horizontal'?: number | string;
1339
+ 'glyph-orientation-vertical'?: number | string;
1340
+ glyphRef?: number | string;
1341
+ gradientTransform?: string;
1342
+ gradientUnits?: string;
1343
+ hanging?: number | string;
1344
+ 'horiz-adv-x'?: number | string;
1345
+ 'horiz-origin-x'?: number | string;
1346
+ href?: string;
1347
+ ideographic?: number | string;
1348
+ 'image-rendering'?: number | string;
1349
+ in2?: number | string;
1350
+ in?: string;
1351
+ intercept?: number | string;
1352
+ k1?: number | string;
1353
+ k2?: number | string;
1354
+ k3?: number | string;
1355
+ k4?: number | string;
1356
+ k?: number | string;
1357
+ kernelMatrix?: number | string;
1358
+ kernelUnitLength?: number | string;
1359
+ kerning?: number | string;
1360
+ keyPoints?: number | string;
1361
+ keySplines?: number | string;
1362
+ keyTimes?: number | string;
1363
+ lengthAdjust?: number | string;
1364
+ 'letter-spacing'?: number | string;
1365
+ 'lighting-color'?: number | string;
1366
+ limitingConeAngle?: number | string;
1367
+ local?: number | string;
1368
+ 'marker-end'?: string;
1369
+ markerHeight?: number | string;
1370
+ 'marker-mid'?: string;
1371
+ 'marker-start'?: string;
1372
+ markerUnits?: number | string;
1373
+ markerWidth?: number | string;
1374
+ mask?: string;
1375
+ maskContentUnits?: number | string;
1376
+ maskUnits?: number | string;
1377
+ mathematical?: number | string;
1378
+ mode?: number | string;
1379
+ numOctaves?: number | string;
1380
+ offset?: number | string;
1381
+ opacity?: number | string;
1382
+ operator?: number | string;
1383
+ order?: number | string;
1384
+ orient?: number | string;
1385
+ orientation?: number | string;
1386
+ origin?: number | string;
1387
+ overflow?: number | string;
1388
+ 'overline-position'?: number | string;
1389
+ 'overline-thickness'?: number | string;
1390
+ 'paint-order'?: number | string;
1391
+ panose1?: number | string;
1392
+ pathLength?: number | string;
1393
+ patternContentUnits?: string;
1394
+ patternTransform?: number | string;
1395
+ patternUnits?: string;
1396
+ 'pointer-events'?: number | string;
1397
+ points?: string;
1398
+ pointsAtX?: number | string;
1399
+ pointsAtY?: number | string;
1400
+ pointsAtZ?: number | string;
1401
+ preserveAlpha?: number | string;
1402
+ preserveAspectRatio?: string;
1403
+ primitiveUnits?: number | string;
1404
+ r?: number | string;
1405
+ radius?: number | string;
1406
+ refX?: number | string;
1407
+ refY?: number | string;
1408
+ 'rendering-intent'?: number | string;
1409
+ repeatCount?: number | string;
1410
+ repeatDur?: number | string;
1411
+ requiredextensions?: number | string;
1412
+ requiredFeatures?: number | string;
1413
+ restart?: number | string;
1414
+ result?: string;
1415
+ rotate?: number | string;
1416
+ rx?: number | string;
1417
+ ry?: number | string;
1418
+ scale?: number | string;
1419
+ seed?: number | string;
1420
+ 'shape-rendering'?: number | string;
1421
+ slope?: number | string;
1422
+ spacing?: number | string;
1423
+ specularConstant?: number | string;
1424
+ specularExponent?: number | string;
1425
+ speed?: number | string;
1426
+ spreadMethod?: string;
1427
+ startOffset?: number | string;
1428
+ stdDeviation?: number | string;
1429
+ stemh?: number | string;
1430
+ stemv?: number | string;
1431
+ stitchTiles?: number | string;
1432
+ 'stop-color'?: string;
1433
+ 'stop-opacity'?: number | string;
1434
+ 'strikethrough-position'?: number | string;
1435
+ 'strikethrough-thickness'?: number | string;
1436
+ string?: number | string;
1437
+ stroke?: string;
1438
+ 'stroke-dasharray'?: string | number;
1439
+ 'stroke-dashoffset'?: string | number;
1440
+ 'stroke-linecap'?: 'butt' | 'round' | 'square' | 'inherit';
1441
+ 'stroke-linejoin'?: 'miter' | 'round' | 'bevel' | 'inherit';
1442
+ 'stroke-miterlimit'?: string;
1443
+ 'stroke-opacity'?: number | string;
1444
+ 'stroke-width'?: number | string;
1445
+ surfaceScale?: number | string;
1446
+ systemLanguage?: number | string;
1447
+ tableValues?: number | string;
1448
+ targetX?: number | string;
1449
+ targetY?: number | string;
1450
+ 'text-anchor'?: string;
1451
+ 'text-decoration'?: number | string;
1452
+ textLength?: number | string;
1453
+ 'text-rendering'?: number | string;
1454
+ to?: number | string;
1455
+ transform?: string;
1456
+ u1?: number | string;
1457
+ u2?: number | string;
1458
+ 'underline-position'?: number | string;
1459
+ 'underline-thickness'?: number | string;
1460
+ unicode?: number | string;
1461
+ 'unicode-bidi'?: number | string;
1462
+ 'unicode-range'?: number | string;
1463
+ 'units-per-em'?: number | string;
1464
+ 'v-alphabetic'?: number | string;
1465
+ values?: string;
1466
+ 'vector-effect'?: number | string;
1467
+ version?: string;
1468
+ 'vert-adv-y'?: number | string;
1469
+ 'vert-origin-x'?: number | string;
1470
+ 'vert-origin-y'?: number | string;
1471
+ 'v-hanging'?: number | string;
1472
+ 'v-ideographic'?: number | string;
1473
+ viewBox?: string;
1474
+ viewTarget?: number | string;
1475
+ visibility?: number | string;
1476
+ 'v-mathematical'?: number | string;
1477
+ widths?: number | string;
1478
+ 'word-spacing'?: number | string;
1479
+ 'writing-mode'?: number | string;
1480
+ x1?: number | string;
1481
+ x2?: number | string;
1482
+ x?: number | string;
1483
+ 'x-channel-selector'?: string;
1484
+ 'x-height'?: number | string;
1485
+ xlinkActuate?: string;
1486
+ xlinkArcrole?: string;
1487
+ xlinkHref?: string;
1488
+ xlinkRole?: string;
1489
+ xlinkShow?: string;
1490
+ xlinkTitle?: string;
1491
+ xlinkType?: string;
1492
+ xmlBase?: string;
1493
+ xmlLang?: string;
1494
+ xmlns?: string;
1495
+ xmlSpace?: string;
1496
+ y1?: number | string;
1497
+ y2?: number | string;
1498
+ y?: number | string;
1499
+ yChannelSelector?: string;
1500
+ z?: number | string;
1501
+ zoomAndPan?: string;
1502
+ }
1503
+ interface DOMAttributes<T> extends JSXAttributes<T> {
1504
+ slot?: string;
1505
+ part?: string;
1506
+ exportparts?: string;
1507
+ onCopy?: (event: ClipboardEvent) => void;
1508
+ onCopyCapture?: (event: ClipboardEvent) => void;
1509
+ onCut?: (event: ClipboardEvent) => void;
1510
+ onCutCapture?: (event: ClipboardEvent) => void;
1511
+ onPaste?: (event: ClipboardEvent) => void;
1512
+ onPasteCapture?: (event: ClipboardEvent) => void;
1513
+ onCompositionend?: (event: CompositionEvent) => void;
1514
+ onCompositionendCapture?: (event: CompositionEvent) => void;
1515
+ onCompositionstart?: (event: CompositionEvent) => void;
1516
+ onCompositionstartCapture?: (event: CompositionEvent) => void;
1517
+ onCompositionupdate?: (event: CompositionEvent) => void;
1518
+ onCompositionupdateCapture?: (event: CompositionEvent) => void;
1519
+ onFocus?: (event: FocusEvent) => void;
1520
+ onFocusCapture?: (event: FocusEvent) => void;
1521
+ onFocusin?: (event: FocusEvent) => void;
1522
+ onFocusinCapture?: (event: FocusEvent) => void;
1523
+ onFocusout?: (event: FocusEvent) => void;
1524
+ onFocusoutCapture?: (event: FocusEvent) => void;
1525
+ onBlur?: (event: FocusEvent) => void;
1526
+ onBlurCapture?: (event: FocusEvent) => void;
1527
+ onChange?: (event: Event) => void;
1528
+ onChangeCapture?: (event: Event) => void;
1529
+ onInput?: (event: InputEvent) => void;
1530
+ onInputCapture?: (event: InputEvent) => void;
1531
+ onReset?: (event: Event) => void;
1532
+ onResetCapture?: (event: Event) => void;
1533
+ onSubmit?: (event: Event) => void;
1534
+ onSubmitCapture?: (event: Event) => void;
1535
+ onInvalid?: (event: Event) => void;
1536
+ onInvalidCapture?: (event: Event) => void;
1537
+ onLoad?: (event: Event) => void;
1538
+ onLoadCapture?: (event: Event) => void;
1539
+ onError?: (event: Event) => void;
1540
+ onErrorCapture?: (event: Event) => void;
1541
+ onKeyDown?: (event: KeyboardEvent) => void;
1542
+ onKeyDownCapture?: (event: KeyboardEvent) => void;
1543
+ onKeyPress?: (event: KeyboardEvent) => void;
1544
+ onKeyPressCapture?: (event: KeyboardEvent) => void;
1545
+ onKeyUp?: (event: KeyboardEvent) => void;
1546
+ onKeyUpCapture?: (event: KeyboardEvent) => void;
1547
+ onAuxClick?: (event: MouseEvent) => void;
1548
+ onClick?: (event: MouseEvent) => void;
1549
+ onClickCapture?: (event: MouseEvent) => void;
1550
+ onContextMenu?: (event: MouseEvent) => void;
1551
+ onContextMenuCapture?: (event: MouseEvent) => void;
1552
+ onDblClick?: (event: MouseEvent) => void;
1553
+ onDblClickCapture?: (event: MouseEvent) => void;
1554
+ onDrag?: (event: DragEvent) => void;
1555
+ onDragCapture?: (event: DragEvent) => void;
1556
+ onDragEnd?: (event: DragEvent) => void;
1557
+ onDragEndCapture?: (event: DragEvent) => void;
1558
+ onDragEnter?: (event: DragEvent) => void;
1559
+ onDragEnterCapture?: (event: DragEvent) => void;
1560
+ onDragExit?: (event: DragEvent) => void;
1561
+ onDragExitCapture?: (event: DragEvent) => void;
1562
+ onDragLeave?: (event: DragEvent) => void;
1563
+ onDragLeaveCapture?: (event: DragEvent) => void;
1564
+ onDragOver?: (event: DragEvent) => void;
1565
+ onDragOverCapture?: (event: DragEvent) => void;
1566
+ onDragStart?: (event: DragEvent) => void;
1567
+ onDragStartCapture?: (event: DragEvent) => void;
1568
+ onDrop?: (event: DragEvent) => void;
1569
+ onDropCapture?: (event: DragEvent) => void;
1570
+ onMouseDown?: (event: MouseEvent) => void;
1571
+ onMouseDownCapture?: (event: MouseEvent) => void;
1572
+ onMouseEnter?: (event: MouseEvent) => void;
1573
+ onMouseLeave?: (event: MouseEvent) => void;
1574
+ onMouseMove?: (event: MouseEvent) => void;
1575
+ onMouseMoveCapture?: (event: MouseEvent) => void;
1576
+ onMouseOut?: (event: MouseEvent) => void;
1577
+ onMouseOutCapture?: (event: MouseEvent) => void;
1578
+ onMouseOver?: (event: MouseEvent) => void;
1579
+ onMouseOverCapture?: (event: MouseEvent) => void;
1580
+ onMouseUp?: (event: MouseEvent) => void;
1581
+ onMouseUpCapture?: (event: MouseEvent) => void;
1582
+ onTouchCancel?: (event: TouchEvent) => void;
1583
+ onTouchCancelCapture?: (event: TouchEvent) => void;
1584
+ onTouchEnd?: (event: TouchEvent) => void;
1585
+ onTouchEndCapture?: (event: TouchEvent) => void;
1586
+ onTouchMove?: (event: TouchEvent) => void;
1587
+ onTouchMoveCapture?: (event: TouchEvent) => void;
1588
+ onTouchStart?: (event: TouchEvent) => void;
1589
+ onTouchStartCapture?: (event: TouchEvent) => void;
1590
+ onPointerDown?: (event: PointerEvent) => void;
1591
+ onPointerDownCapture?: (event: PointerEvent) => void;
1592
+ onPointerMove?: (event: PointerEvent) => void;
1593
+ onPointerMoveCapture?: (event: PointerEvent) => void;
1594
+ onPointerUp?: (event: PointerEvent) => void;
1595
+ onPointerUpCapture?: (event: PointerEvent) => void;
1596
+ onPointerCancel?: (event: PointerEvent) => void;
1597
+ onPointerCancelCapture?: (event: PointerEvent) => void;
1598
+ onPointerEnter?: (event: PointerEvent) => void;
1599
+ onPointerEnterCapture?: (event: PointerEvent) => void;
1600
+ onPointerLeave?: (event: PointerEvent) => void;
1601
+ onPointerLeaveCapture?: (event: PointerEvent) => void;
1602
+ onPointerOver?: (event: PointerEvent) => void;
1603
+ onPointerOverCapture?: (event: PointerEvent) => void;
1604
+ onPointerOut?: (event: PointerEvent) => void;
1605
+ onPointerOutCapture?: (event: PointerEvent) => void;
1606
+ onGotPointerCapture?: (event: PointerEvent) => void;
1607
+ onGotPointerCaptureCapture?: (event: PointerEvent) => void;
1608
+ onLostPointerCapture?: (event: PointerEvent) => void;
1609
+ onLostPointerCaptureCapture?: (event: PointerEvent) => void;
1610
+ onScroll?: (event: UIEvent) => void;
1611
+ onScrollCapture?: (event: UIEvent) => void;
1612
+ onWheel?: (event: WheelEvent) => void;
1613
+ onWheelCapture?: (event: WheelEvent) => void;
1614
+ onAnimationStart?: (event: AnimationEvent) => void;
1615
+ onAnimationStartCapture?: (event: AnimationEvent) => void;
1616
+ onAnimationEnd?: (event: AnimationEvent) => void;
1617
+ onAnimationEndCapture?: (event: AnimationEvent) => void;
1618
+ onAnimationIteration?: (event: AnimationEvent) => void;
1619
+ onAnimationIterationCapture?: (event: AnimationEvent) => void;
1620
+ onTransitionEnd?: (event: TransitionEvent) => void;
1621
+ onTransitionEndCapture?: (event: TransitionEvent) => void;
1622
+ }
1623
+ }
1624
+ export interface JSXAttributes<T = Element> {
1625
+ key?: string | number;
1626
+ ref?: (elm?: T) => void;
1627
+ }
1628
+ export interface CustomElementsDefineOptions {
1629
+ exclude?: string[];
1630
+ resourcesUrl?: string;
1631
+ syncQueue?: boolean;
1632
+ transformTagName?: (tagName: string) => string;
1633
+ jmp?: (c: Function) => any;
1634
+ raf?: (c: FrameRequestCallback) => number;
1635
+ ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
1636
+ rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
1637
+ ce?: (eventName: string, opts?: any) => CustomEvent;
1638
+ }