@scouterna/ui-webc 0.2.0 → 0.2.2

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