@esportsplus/ui 0.23.0 → 0.24.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/components/accordion/index.d.ts +5 -1
- package/build/components/clipboard/index.d.ts +358 -2
- package/build/components/clipboard/onclick.d.ts +10 -2
- package/build/components/field/checkbox.d.ts +18 -3
- package/build/components/field/description.d.ts +5 -1
- package/build/components/field/index.d.ts +6390 -1321
- package/build/components/field/input.d.ts +42 -8
- package/build/components/field/select.d.ts +404 -2
- package/build/components/field/title.d.ts +350 -1
- package/build/components/form/action.d.ts +5 -1
- package/build/components/form/index.d.ts +380 -1
- package/build/components/frame/index.d.ts +5 -1
- package/build/components/highlight/index.d.ts +5 -1
- package/build/components/icon/index.d.ts +5 -1
- package/build/components/loader/index.d.ts +5 -1
- package/build/components/overlay/index.d.ts +5 -1
- package/build/components/scrollbar/index.d.ts +5 -1
- package/build/components/sidebar/index.d.ts +5 -1
- package/build/components/site/index.d.ts +5 -1
- package/build/components/template/index.d.ts +2 -1
- package/build/components/template/index.js +7 -1
- package/build/components/tooltip/index.d.ts +762 -21
- package/build/components/tooltip/menu.d.ts +5 -1
- package/build/components/tooltip/menu.js +23 -9
- package/build/components/tooltip/onclick.d.ts +359 -1
- package/build/components/tooltip/onhover.d.ts +5 -1
- package/build/components/typewriter/index.d.ts +5 -1
- package/package.json +1 -1
- package/src/components/template/index.ts +9 -2
- package/src/components/tooltip/menu.ts +24 -9
|
@@ -254,7 +254,386 @@ declare const _default: {
|
|
|
254
254
|
processing: boolean;
|
|
255
255
|
};
|
|
256
256
|
}>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
257
|
-
|
|
257
|
+
<T extends {
|
|
258
|
+
[key: `aria-${string}`]: string | number | boolean | undefined;
|
|
259
|
+
[key: `data-${string}`]: string | undefined;
|
|
260
|
+
class?: import("@esportsplus/template/build/types").Attribute | import("@esportsplus/template/build/types").Attribute[];
|
|
261
|
+
onconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
|
|
262
|
+
ondisconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
|
|
263
|
+
onrender?: ((element: import("@esportsplus/template").Element) => void) | undefined;
|
|
264
|
+
ontick?: ((dispose: VoidFunction, element: import("@esportsplus/template").Element) => void) | undefined;
|
|
265
|
+
style?: import("@esportsplus/template/build/types").Attribute | import("@esportsplus/template/build/types").Attribute[];
|
|
266
|
+
} & {
|
|
267
|
+
onabort?: ((this: import("@esportsplus/template").Element, event: UIEvent) => void) | undefined;
|
|
268
|
+
onanimationcancel?: ((this: import("@esportsplus/template").Element, event: AnimationEvent) => void) | undefined;
|
|
269
|
+
onanimationend?: ((this: import("@esportsplus/template").Element, event: AnimationEvent) => void) | undefined;
|
|
270
|
+
onanimationiteration?: ((this: import("@esportsplus/template").Element, event: AnimationEvent) => void) | undefined;
|
|
271
|
+
onanimationstart?: ((this: import("@esportsplus/template").Element, event: AnimationEvent) => void) | undefined;
|
|
272
|
+
onauxclick?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
273
|
+
onbeforeinput?: ((this: import("@esportsplus/template").Element, event: InputEvent) => void) | undefined;
|
|
274
|
+
onbeforetoggle?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
275
|
+
onblur?: ((this: import("@esportsplus/template").Element, event: FocusEvent) => void) | undefined;
|
|
276
|
+
oncancel?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
277
|
+
oncanplay?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
278
|
+
oncanplaythrough?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
279
|
+
onchange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
280
|
+
onclick?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
281
|
+
onclose?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
282
|
+
oncompositionend?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
|
|
283
|
+
oncompositionstart?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
|
|
284
|
+
oncompositionupdate?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
|
|
285
|
+
oncontextlost?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
286
|
+
oncontextmenu?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
287
|
+
oncontextrestored?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
288
|
+
oncopy?: ((this: import("@esportsplus/template").Element, event: ClipboardEvent) => void) | undefined;
|
|
289
|
+
oncuechange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
290
|
+
oncut?: ((this: import("@esportsplus/template").Element, event: ClipboardEvent) => void) | undefined;
|
|
291
|
+
ondblclick?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
292
|
+
ondrag?: ((this: import("@esportsplus/template").Element, event: DragEvent) => void) | undefined;
|
|
293
|
+
ondragend?: ((this: import("@esportsplus/template").Element, event: DragEvent) => void) | undefined;
|
|
294
|
+
ondragenter?: ((this: import("@esportsplus/template").Element, event: DragEvent) => void) | undefined;
|
|
295
|
+
ondragleave?: ((this: import("@esportsplus/template").Element, event: DragEvent) => void) | undefined;
|
|
296
|
+
ondragover?: ((this: import("@esportsplus/template").Element, event: DragEvent) => void) | undefined;
|
|
297
|
+
ondragstart?: ((this: import("@esportsplus/template").Element, event: DragEvent) => void) | undefined;
|
|
298
|
+
ondrop?: ((this: import("@esportsplus/template").Element, event: DragEvent) => void) | undefined;
|
|
299
|
+
ondurationchange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
300
|
+
onemptied?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
301
|
+
onended?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
302
|
+
onerror?: ((this: import("@esportsplus/template").Element, event: ErrorEvent) => void) | undefined;
|
|
303
|
+
onfocus?: ((this: import("@esportsplus/template").Element, event: FocusEvent) => void) | undefined;
|
|
304
|
+
onfocusin?: ((this: import("@esportsplus/template").Element, event: FocusEvent) => void) | undefined;
|
|
305
|
+
onfocusout?: ((this: import("@esportsplus/template").Element, event: FocusEvent) => void) | undefined;
|
|
306
|
+
onformdata?: ((this: import("@esportsplus/template").Element, event: FormDataEvent) => void) | undefined;
|
|
307
|
+
ongotpointercapture?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
308
|
+
oninput?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
309
|
+
oninvalid?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
310
|
+
onkeydown?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
|
|
311
|
+
onkeypress?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
|
|
312
|
+
onkeyup?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
|
|
313
|
+
onload?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
314
|
+
onloadeddata?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
315
|
+
onloadedmetadata?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
316
|
+
onloadstart?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
317
|
+
onlostpointercapture?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
318
|
+
onmousedown?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
319
|
+
onmouseenter?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
320
|
+
onmouseleave?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
321
|
+
onmousemove?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
322
|
+
onmouseout?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
323
|
+
onmouseover?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
324
|
+
onmouseup?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
325
|
+
onpaste?: ((this: import("@esportsplus/template").Element, event: ClipboardEvent) => void) | undefined;
|
|
326
|
+
onpause?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
327
|
+
onplay?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
328
|
+
onplaying?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
329
|
+
onpointercancel?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
330
|
+
onpointerdown?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
331
|
+
onpointerenter?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
332
|
+
onpointerleave?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
333
|
+
onpointermove?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
334
|
+
onpointerout?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
335
|
+
onpointerover?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
336
|
+
onpointerup?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
337
|
+
onprogress?: ((this: import("@esportsplus/template").Element, event: ProgressEvent<EventTarget>) => void) | undefined;
|
|
338
|
+
onratechange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
339
|
+
onreset?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
340
|
+
onresize?: ((this: import("@esportsplus/template").Element, event: UIEvent) => void) | undefined;
|
|
341
|
+
onscroll?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
342
|
+
onscrollend?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
343
|
+
onsecuritypolicyviolation?: ((this: import("@esportsplus/template").Element, event: SecurityPolicyViolationEvent) => void) | undefined;
|
|
344
|
+
onseeked?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
345
|
+
onseeking?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
346
|
+
onselect?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
347
|
+
onselectionchange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
348
|
+
onselectstart?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
349
|
+
onslotchange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
350
|
+
onstalled?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
351
|
+
onsubmit?: ((this: import("@esportsplus/template").Element, event: SubmitEvent) => void) | undefined;
|
|
352
|
+
onsuspend?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
353
|
+
ontimeupdate?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
354
|
+
ontoggle?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
355
|
+
ontouchcancel?: ((this: import("@esportsplus/template").Element, event: TouchEvent) => void) | undefined;
|
|
356
|
+
ontouchend?: ((this: import("@esportsplus/template").Element, event: TouchEvent) => void) | undefined;
|
|
357
|
+
ontouchmove?: ((this: import("@esportsplus/template").Element, event: TouchEvent) => void) | undefined;
|
|
358
|
+
ontouchstart?: ((this: import("@esportsplus/template").Element, event: TouchEvent) => void) | undefined;
|
|
359
|
+
ontransitioncancel?: ((this: import("@esportsplus/template").Element, event: TransitionEvent) => void) | undefined;
|
|
360
|
+
ontransitionend?: ((this: import("@esportsplus/template").Element, event: TransitionEvent) => void) | undefined;
|
|
361
|
+
ontransitionrun?: ((this: import("@esportsplus/template").Element, event: TransitionEvent) => void) | undefined;
|
|
362
|
+
ontransitionstart?: ((this: import("@esportsplus/template").Element, event: TransitionEvent) => void) | undefined;
|
|
363
|
+
onvolumechange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
364
|
+
onwaiting?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
365
|
+
onwebkitanimationend?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
366
|
+
onwebkitanimationiteration?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
367
|
+
onwebkitanimationstart?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
368
|
+
onwebkittransitionend?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
369
|
+
onwheel?: ((this: import("@esportsplus/template").Element, event: WheelEvent) => void) | undefined;
|
|
370
|
+
} & Record<PropertyKey, unknown> & {
|
|
371
|
+
action: (data: {
|
|
372
|
+
input: Record<string, any>;
|
|
373
|
+
response: typeof import("@esportsplus/action").default;
|
|
374
|
+
}) => Promise<{
|
|
375
|
+
errors: import("@esportsplus/action").Response<unknown>["errors"];
|
|
376
|
+
}> | {
|
|
377
|
+
errors: import("@esportsplus/action").Response<unknown>["errors"];
|
|
378
|
+
};
|
|
379
|
+
state?: {
|
|
380
|
+
processing: boolean;
|
|
381
|
+
};
|
|
382
|
+
}>(attributes: T): ReturnType<(this: {
|
|
383
|
+
attributes?: ({
|
|
384
|
+
[key: `aria-${string}`]: string | number | boolean | undefined;
|
|
385
|
+
[key: `data-${string}`]: string | undefined;
|
|
386
|
+
class?: import("@esportsplus/template/build/types").Attribute | import("@esportsplus/template/build/types").Attribute[];
|
|
387
|
+
onconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
|
|
388
|
+
ondisconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
|
|
389
|
+
onrender?: ((element: import("@esportsplus/template").Element) => void) | undefined;
|
|
390
|
+
ontick?: ((dispose: VoidFunction, element: import("@esportsplus/template").Element) => void) | undefined;
|
|
391
|
+
style?: import("@esportsplus/template/build/types").Attribute | import("@esportsplus/template/build/types").Attribute[];
|
|
392
|
+
} & {
|
|
393
|
+
onabort?: ((this: import("@esportsplus/template").Element, event: UIEvent) => void) | undefined;
|
|
394
|
+
onanimationcancel?: ((this: import("@esportsplus/template").Element, event: AnimationEvent) => void) | undefined;
|
|
395
|
+
onanimationend?: ((this: import("@esportsplus/template").Element, event: AnimationEvent) => void) | undefined;
|
|
396
|
+
onanimationiteration?: ((this: import("@esportsplus/template").Element, event: AnimationEvent) => void) | undefined;
|
|
397
|
+
onanimationstart?: ((this: import("@esportsplus/template").Element, event: AnimationEvent) => void) | undefined;
|
|
398
|
+
onauxclick?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
399
|
+
onbeforeinput?: ((this: import("@esportsplus/template").Element, event: InputEvent) => void) | undefined;
|
|
400
|
+
onbeforetoggle?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
401
|
+
onblur?: ((this: import("@esportsplus/template").Element, event: FocusEvent) => void) | undefined;
|
|
402
|
+
oncancel?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
403
|
+
oncanplay?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
404
|
+
oncanplaythrough?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
405
|
+
onchange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
406
|
+
onclick?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
407
|
+
onclose?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
408
|
+
oncompositionend?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
|
|
409
|
+
oncompositionstart?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
|
|
410
|
+
oncompositionupdate?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
|
|
411
|
+
oncontextlost?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
412
|
+
oncontextmenu?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
413
|
+
oncontextrestored?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
414
|
+
oncopy?: ((this: import("@esportsplus/template").Element, event: ClipboardEvent) => void) | undefined;
|
|
415
|
+
oncuechange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
416
|
+
oncut?: ((this: import("@esportsplus/template").Element, event: ClipboardEvent) => void) | undefined;
|
|
417
|
+
ondblclick?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
418
|
+
ondrag?: ((this: import("@esportsplus/template").Element, event: DragEvent) => void) | undefined;
|
|
419
|
+
ondragend?: ((this: import("@esportsplus/template").Element, event: DragEvent) => void) | undefined;
|
|
420
|
+
ondragenter?: ((this: import("@esportsplus/template").Element, event: DragEvent) => void) | undefined;
|
|
421
|
+
ondragleave?: ((this: import("@esportsplus/template").Element, event: DragEvent) => void) | undefined;
|
|
422
|
+
ondragover?: ((this: import("@esportsplus/template").Element, event: DragEvent) => void) | undefined;
|
|
423
|
+
ondragstart?: ((this: import("@esportsplus/template").Element, event: DragEvent) => void) | undefined;
|
|
424
|
+
ondrop?: ((this: import("@esportsplus/template").Element, event: DragEvent) => void) | undefined;
|
|
425
|
+
ondurationchange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
426
|
+
onemptied?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
427
|
+
onended?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
428
|
+
onerror?: ((this: import("@esportsplus/template").Element, event: ErrorEvent) => void) | undefined;
|
|
429
|
+
onfocus?: ((this: import("@esportsplus/template").Element, event: FocusEvent) => void) | undefined;
|
|
430
|
+
onfocusin?: ((this: import("@esportsplus/template").Element, event: FocusEvent) => void) | undefined;
|
|
431
|
+
onfocusout?: ((this: import("@esportsplus/template").Element, event: FocusEvent) => void) | undefined;
|
|
432
|
+
onformdata?: ((this: import("@esportsplus/template").Element, event: FormDataEvent) => void) | undefined;
|
|
433
|
+
ongotpointercapture?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
434
|
+
oninput?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
435
|
+
oninvalid?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
436
|
+
onkeydown?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
|
|
437
|
+
onkeypress?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
|
|
438
|
+
onkeyup?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
|
|
439
|
+
onload?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
440
|
+
onloadeddata?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
441
|
+
onloadedmetadata?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
442
|
+
onloadstart?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
443
|
+
onlostpointercapture?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
444
|
+
onmousedown?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
445
|
+
onmouseenter?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
446
|
+
onmouseleave?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
447
|
+
onmousemove?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
448
|
+
onmouseout?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
449
|
+
onmouseover?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
450
|
+
onmouseup?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
451
|
+
onpaste?: ((this: import("@esportsplus/template").Element, event: ClipboardEvent) => void) | undefined;
|
|
452
|
+
onpause?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
453
|
+
onplay?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
454
|
+
onplaying?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
455
|
+
onpointercancel?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
456
|
+
onpointerdown?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
457
|
+
onpointerenter?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
458
|
+
onpointerleave?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
459
|
+
onpointermove?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
460
|
+
onpointerout?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
461
|
+
onpointerover?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
462
|
+
onpointerup?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
463
|
+
onprogress?: ((this: import("@esportsplus/template").Element, event: ProgressEvent<EventTarget>) => void) | undefined;
|
|
464
|
+
onratechange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
465
|
+
onreset?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
466
|
+
onresize?: ((this: import("@esportsplus/template").Element, event: UIEvent) => void) | undefined;
|
|
467
|
+
onscroll?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
468
|
+
onscrollend?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
469
|
+
onsecuritypolicyviolation?: ((this: import("@esportsplus/template").Element, event: SecurityPolicyViolationEvent) => void) | undefined;
|
|
470
|
+
onseeked?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
471
|
+
onseeking?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
472
|
+
onselect?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
473
|
+
onselectionchange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
474
|
+
onselectstart?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
475
|
+
onslotchange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
476
|
+
onstalled?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
477
|
+
onsubmit?: ((this: import("@esportsplus/template").Element, event: SubmitEvent) => void) | undefined;
|
|
478
|
+
onsuspend?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
479
|
+
ontimeupdate?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
480
|
+
ontoggle?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
481
|
+
ontouchcancel?: ((this: import("@esportsplus/template").Element, event: TouchEvent) => void) | undefined;
|
|
482
|
+
ontouchend?: ((this: import("@esportsplus/template").Element, event: TouchEvent) => void) | undefined;
|
|
483
|
+
ontouchmove?: ((this: import("@esportsplus/template").Element, event: TouchEvent) => void) | undefined;
|
|
484
|
+
ontouchstart?: ((this: import("@esportsplus/template").Element, event: TouchEvent) => void) | undefined;
|
|
485
|
+
ontransitioncancel?: ((this: import("@esportsplus/template").Element, event: TransitionEvent) => void) | undefined;
|
|
486
|
+
ontransitionend?: ((this: import("@esportsplus/template").Element, event: TransitionEvent) => void) | undefined;
|
|
487
|
+
ontransitionrun?: ((this: import("@esportsplus/template").Element, event: TransitionEvent) => void) | undefined;
|
|
488
|
+
ontransitionstart?: ((this: import("@esportsplus/template").Element, event: TransitionEvent) => void) | undefined;
|
|
489
|
+
onvolumechange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
490
|
+
onwaiting?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
491
|
+
onwebkitanimationend?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
492
|
+
onwebkitanimationiteration?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
493
|
+
onwebkitanimationstart?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
494
|
+
onwebkittransitionend?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
495
|
+
onwheel?: ((this: import("@esportsplus/template").Element, event: WheelEvent) => void) | undefined;
|
|
496
|
+
} & Record<PropertyKey, unknown> & {
|
|
497
|
+
action: (data: {
|
|
498
|
+
input: Record<string, any>;
|
|
499
|
+
response: typeof import("@esportsplus/action").default;
|
|
500
|
+
}) => Promise<{
|
|
501
|
+
errors: import("@esportsplus/action").Response<unknown>["errors"];
|
|
502
|
+
}> | {
|
|
503
|
+
errors: import("@esportsplus/action").Response<unknown>["errors"];
|
|
504
|
+
};
|
|
505
|
+
state?: {
|
|
506
|
+
processing: boolean;
|
|
507
|
+
};
|
|
508
|
+
}) | undefined;
|
|
509
|
+
content?: import("@esportsplus/template").Renderable<any>;
|
|
510
|
+
}, attributes: Readonly<{
|
|
511
|
+
[key: `aria-${string}`]: string | number | boolean | undefined;
|
|
512
|
+
[key: `data-${string}`]: string | undefined;
|
|
513
|
+
class?: import("@esportsplus/template/build/types").Attribute | import("@esportsplus/template/build/types").Attribute[];
|
|
514
|
+
onconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
|
|
515
|
+
ondisconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
|
|
516
|
+
onrender?: ((element: import("@esportsplus/template").Element) => void) | undefined;
|
|
517
|
+
ontick?: ((dispose: VoidFunction, element: import("@esportsplus/template").Element) => void) | undefined;
|
|
518
|
+
style?: import("@esportsplus/template/build/types").Attribute | import("@esportsplus/template/build/types").Attribute[];
|
|
519
|
+
} & {
|
|
520
|
+
onabort?: ((this: import("@esportsplus/template").Element, event: UIEvent) => void) | undefined;
|
|
521
|
+
onanimationcancel?: ((this: import("@esportsplus/template").Element, event: AnimationEvent) => void) | undefined;
|
|
522
|
+
onanimationend?: ((this: import("@esportsplus/template").Element, event: AnimationEvent) => void) | undefined;
|
|
523
|
+
onanimationiteration?: ((this: import("@esportsplus/template").Element, event: AnimationEvent) => void) | undefined;
|
|
524
|
+
onanimationstart?: ((this: import("@esportsplus/template").Element, event: AnimationEvent) => void) | undefined;
|
|
525
|
+
onauxclick?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
526
|
+
onbeforeinput?: ((this: import("@esportsplus/template").Element, event: InputEvent) => void) | undefined;
|
|
527
|
+
onbeforetoggle?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
528
|
+
onblur?: ((this: import("@esportsplus/template").Element, event: FocusEvent) => void) | undefined;
|
|
529
|
+
oncancel?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
530
|
+
oncanplay?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
531
|
+
oncanplaythrough?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
532
|
+
onchange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
533
|
+
onclick?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
534
|
+
onclose?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
535
|
+
oncompositionend?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
|
|
536
|
+
oncompositionstart?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
|
|
537
|
+
oncompositionupdate?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
|
|
538
|
+
oncontextlost?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
539
|
+
oncontextmenu?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
540
|
+
oncontextrestored?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
541
|
+
oncopy?: ((this: import("@esportsplus/template").Element, event: ClipboardEvent) => void) | undefined;
|
|
542
|
+
oncuechange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
543
|
+
oncut?: ((this: import("@esportsplus/template").Element, event: ClipboardEvent) => void) | undefined;
|
|
544
|
+
ondblclick?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
545
|
+
ondrag?: ((this: import("@esportsplus/template").Element, event: DragEvent) => void) | undefined;
|
|
546
|
+
ondragend?: ((this: import("@esportsplus/template").Element, event: DragEvent) => void) | undefined;
|
|
547
|
+
ondragenter?: ((this: import("@esportsplus/template").Element, event: DragEvent) => void) | undefined;
|
|
548
|
+
ondragleave?: ((this: import("@esportsplus/template").Element, event: DragEvent) => void) | undefined;
|
|
549
|
+
ondragover?: ((this: import("@esportsplus/template").Element, event: DragEvent) => void) | undefined;
|
|
550
|
+
ondragstart?: ((this: import("@esportsplus/template").Element, event: DragEvent) => void) | undefined;
|
|
551
|
+
ondrop?: ((this: import("@esportsplus/template").Element, event: DragEvent) => void) | undefined;
|
|
552
|
+
ondurationchange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
553
|
+
onemptied?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
554
|
+
onended?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
555
|
+
onerror?: ((this: import("@esportsplus/template").Element, event: ErrorEvent) => void) | undefined;
|
|
556
|
+
onfocus?: ((this: import("@esportsplus/template").Element, event: FocusEvent) => void) | undefined;
|
|
557
|
+
onfocusin?: ((this: import("@esportsplus/template").Element, event: FocusEvent) => void) | undefined;
|
|
558
|
+
onfocusout?: ((this: import("@esportsplus/template").Element, event: FocusEvent) => void) | undefined;
|
|
559
|
+
onformdata?: ((this: import("@esportsplus/template").Element, event: FormDataEvent) => void) | undefined;
|
|
560
|
+
ongotpointercapture?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
561
|
+
oninput?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
562
|
+
oninvalid?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
563
|
+
onkeydown?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
|
|
564
|
+
onkeypress?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
|
|
565
|
+
onkeyup?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
|
|
566
|
+
onload?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
567
|
+
onloadeddata?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
568
|
+
onloadedmetadata?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
569
|
+
onloadstart?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
570
|
+
onlostpointercapture?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
571
|
+
onmousedown?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
572
|
+
onmouseenter?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
573
|
+
onmouseleave?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
574
|
+
onmousemove?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
575
|
+
onmouseout?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
576
|
+
onmouseover?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
577
|
+
onmouseup?: ((this: import("@esportsplus/template").Element, event: MouseEvent) => void) | undefined;
|
|
578
|
+
onpaste?: ((this: import("@esportsplus/template").Element, event: ClipboardEvent) => void) | undefined;
|
|
579
|
+
onpause?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
580
|
+
onplay?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
581
|
+
onplaying?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
582
|
+
onpointercancel?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
583
|
+
onpointerdown?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
584
|
+
onpointerenter?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
585
|
+
onpointerleave?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
586
|
+
onpointermove?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
587
|
+
onpointerout?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
588
|
+
onpointerover?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
589
|
+
onpointerup?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
|
|
590
|
+
onprogress?: ((this: import("@esportsplus/template").Element, event: ProgressEvent<EventTarget>) => void) | undefined;
|
|
591
|
+
onratechange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
592
|
+
onreset?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
593
|
+
onresize?: ((this: import("@esportsplus/template").Element, event: UIEvent) => void) | undefined;
|
|
594
|
+
onscroll?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
595
|
+
onscrollend?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
596
|
+
onsecuritypolicyviolation?: ((this: import("@esportsplus/template").Element, event: SecurityPolicyViolationEvent) => void) | undefined;
|
|
597
|
+
onseeked?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
598
|
+
onseeking?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
599
|
+
onselect?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
600
|
+
onselectionchange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
601
|
+
onselectstart?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
602
|
+
onslotchange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
603
|
+
onstalled?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
604
|
+
onsubmit?: ((this: import("@esportsplus/template").Element, event: SubmitEvent) => void) | undefined;
|
|
605
|
+
onsuspend?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
606
|
+
ontimeupdate?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
607
|
+
ontoggle?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
608
|
+
ontouchcancel?: ((this: import("@esportsplus/template").Element, event: TouchEvent) => void) | undefined;
|
|
609
|
+
ontouchend?: ((this: import("@esportsplus/template").Element, event: TouchEvent) => void) | undefined;
|
|
610
|
+
ontouchmove?: ((this: import("@esportsplus/template").Element, event: TouchEvent) => void) | undefined;
|
|
611
|
+
ontouchstart?: ((this: import("@esportsplus/template").Element, event: TouchEvent) => void) | undefined;
|
|
612
|
+
ontransitioncancel?: ((this: import("@esportsplus/template").Element, event: TransitionEvent) => void) | undefined;
|
|
613
|
+
ontransitionend?: ((this: import("@esportsplus/template").Element, event: TransitionEvent) => void) | undefined;
|
|
614
|
+
ontransitionrun?: ((this: import("@esportsplus/template").Element, event: TransitionEvent) => void) | undefined;
|
|
615
|
+
ontransitionstart?: ((this: import("@esportsplus/template").Element, event: TransitionEvent) => void) | undefined;
|
|
616
|
+
onvolumechange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
617
|
+
onwaiting?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
618
|
+
onwebkitanimationend?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
619
|
+
onwebkitanimationiteration?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
620
|
+
onwebkitanimationstart?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
621
|
+
onwebkittransitionend?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
|
|
622
|
+
onwheel?: ((this: import("@esportsplus/template").Element, event: WheelEvent) => void) | undefined;
|
|
623
|
+
} & Record<PropertyKey, unknown> & {
|
|
624
|
+
action: (data: {
|
|
625
|
+
input: Record<string, any>;
|
|
626
|
+
response: typeof import("@esportsplus/action").default;
|
|
627
|
+
}) => Promise<{
|
|
628
|
+
errors: import("@esportsplus/action").Response<unknown>["errors"];
|
|
629
|
+
}> | {
|
|
630
|
+
errors: import("@esportsplus/action").Response<unknown>["errors"];
|
|
631
|
+
};
|
|
632
|
+
state?: {
|
|
633
|
+
processing: boolean;
|
|
634
|
+
};
|
|
635
|
+
}>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
636
|
+
<T extends import("@esportsplus/template").Renderable<any>>(content: T): ReturnType<(this: {
|
|
258
637
|
attributes?: ({
|
|
259
638
|
[key: `aria-${string}`]: string | number | boolean | undefined;
|
|
260
639
|
[key: `data-${string}`]: string | undefined;
|
|
@@ -4,7 +4,11 @@ declare const _default: {
|
|
|
4
4
|
attributes?: import("../../components/scrollbar/index.js").Attributes | undefined;
|
|
5
5
|
content?: import("@esportsplus/template").Renderable<any>;
|
|
6
6
|
}, attributes: Readonly<import("../../components/scrollbar/index.js").Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
7
|
-
|
|
7
|
+
<T extends import("../../components/scrollbar/index.js").Attributes>(attributes: T): ReturnType<(this: {
|
|
8
|
+
attributes?: import("../../components/scrollbar/index.js").Attributes | undefined;
|
|
9
|
+
content?: import("@esportsplus/template").Renderable<any>;
|
|
10
|
+
}, attributes: Readonly<import("../../components/scrollbar/index.js").Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
11
|
+
<T extends import("@esportsplus/template").Renderable<any>>(content: T): ReturnType<(this: {
|
|
8
12
|
attributes?: import("../../components/scrollbar/index.js").Attributes | undefined;
|
|
9
13
|
content?: import("@esportsplus/template").Renderable<any>;
|
|
10
14
|
}, attributes: Readonly<import("../../components/scrollbar/index.js").Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
@@ -5,7 +5,11 @@ declare const _default: {
|
|
|
5
5
|
attributes?: Attributes | undefined;
|
|
6
6
|
content?: import("@esportsplus/template").Renderable<any>;
|
|
7
7
|
}, attributes: Readonly<Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
8
|
-
(
|
|
8
|
+
<T extends Attributes>(attributes: T): ReturnType<(this: {
|
|
9
|
+
attributes?: Attributes | undefined;
|
|
10
|
+
content?: import("@esportsplus/template").Renderable<any>;
|
|
11
|
+
}, attributes: Readonly<Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
12
|
+
<T extends import("@esportsplus/template").Renderable<any>>(content: T): ReturnType<(this: {
|
|
9
13
|
attributes?: Attributes | undefined;
|
|
10
14
|
content?: import("@esportsplus/template").Renderable<any>;
|
|
11
15
|
}, attributes: Readonly<Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
@@ -4,7 +4,11 @@ declare const _default: {
|
|
|
4
4
|
attributes?: import("@esportsplus/template").Attributes | undefined;
|
|
5
5
|
content?: string | undefined;
|
|
6
6
|
}, attributes: Readonly<import("@esportsplus/template").Attributes>, content: string) => import("@esportsplus/template").Renderable<any>>;
|
|
7
|
-
(
|
|
7
|
+
<T extends import("@esportsplus/template").Attributes>(attributes: T): ReturnType<(this: {
|
|
8
|
+
attributes?: import("@esportsplus/template").Attributes | undefined;
|
|
9
|
+
content?: string | undefined;
|
|
10
|
+
}, attributes: Readonly<import("@esportsplus/template").Attributes>, content: string) => import("@esportsplus/template").Renderable<any>>;
|
|
11
|
+
<T extends string>(content: T): ReturnType<(this: {
|
|
8
12
|
attributes?: import("@esportsplus/template").Attributes | undefined;
|
|
9
13
|
content?: string | undefined;
|
|
10
14
|
}, attributes: Readonly<import("@esportsplus/template").Attributes>, content: string) => import("@esportsplus/template").Renderable<any>>;
|
|
@@ -5,7 +5,11 @@ declare const _default: {
|
|
|
5
5
|
attributes?: Attributes | undefined;
|
|
6
6
|
content?: import("@esportsplus/template").Renderable<any>;
|
|
7
7
|
}, attributes: Readonly<Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
8
|
-
(
|
|
8
|
+
<T extends Attributes>(attributes: T): ReturnType<(this: {
|
|
9
|
+
attributes?: Attributes | undefined;
|
|
10
|
+
content?: import("@esportsplus/template").Renderable<any>;
|
|
11
|
+
}, attributes: Readonly<Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
12
|
+
<T extends import("@esportsplus/template").Renderable<any>>(content: T): ReturnType<(this: {
|
|
9
13
|
attributes?: Attributes | undefined;
|
|
10
14
|
content?: import("@esportsplus/template").Renderable<any>;
|
|
11
15
|
}, attributes: Readonly<Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
@@ -4,7 +4,11 @@ declare const _default: {
|
|
|
4
4
|
attributes?: import("../../components/scrollbar/index.js").Attributes | undefined;
|
|
5
5
|
content?: import("@esportsplus/template").Renderable<any>;
|
|
6
6
|
}, attributes: Readonly<import("../../components/scrollbar/index.js").Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
7
|
-
|
|
7
|
+
<T extends import("../../components/scrollbar/index.js").Attributes>(attributes: T): ReturnType<(this: {
|
|
8
|
+
attributes?: import("../../components/scrollbar/index.js").Attributes | undefined;
|
|
9
|
+
content?: import("@esportsplus/template").Renderable<any>;
|
|
10
|
+
}, attributes: Readonly<import("../../components/scrollbar/index.js").Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
11
|
+
<T extends import("@esportsplus/template").Renderable<any>>(content: T): ReturnType<(this: {
|
|
8
12
|
attributes?: import("../../components/scrollbar/index.js").Attributes | undefined;
|
|
9
13
|
content?: import("@esportsplus/template").Renderable<any>;
|
|
10
14
|
}, attributes: Readonly<import("../../components/scrollbar/index.js").Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
@@ -9,7 +9,11 @@ declare const _default: {
|
|
|
9
9
|
attributes?: A | undefined;
|
|
10
10
|
content?: import("@esportsplus/template").Renderable<any>;
|
|
11
11
|
}, attributes: Readonly<A>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
12
|
-
(
|
|
12
|
+
<T extends A>(attributes: T): ReturnType<(this: {
|
|
13
|
+
attributes?: A | undefined;
|
|
14
|
+
content?: import("@esportsplus/template").Renderable<any>;
|
|
15
|
+
}, attributes: Readonly<A>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
16
|
+
<T extends import("@esportsplus/template").Renderable<any>>(content: T): ReturnType<(this: {
|
|
13
17
|
attributes?: A | undefined;
|
|
14
18
|
content?: import("@esportsplus/template").Renderable<any>;
|
|
15
19
|
}, attributes: Readonly<A>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
@@ -4,7 +4,11 @@ declare const _default: {
|
|
|
4
4
|
attributes?: import("../../components/scrollbar/index.js").Attributes | undefined;
|
|
5
5
|
content?: import("@esportsplus/template").Renderable<any>;
|
|
6
6
|
}, attributes: Readonly<import("../../components/scrollbar/index.js").Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
7
|
-
|
|
7
|
+
<T extends import("../../components/scrollbar/index.js").Attributes>(attributes: T): ReturnType<(this: {
|
|
8
|
+
attributes?: import("../../components/scrollbar/index.js").Attributes | undefined;
|
|
9
|
+
content?: import("@esportsplus/template").Renderable<any>;
|
|
10
|
+
}, attributes: Readonly<import("../../components/scrollbar/index.js").Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
11
|
+
<T extends import("@esportsplus/template").Renderable<any>>(content: T): ReturnType<(this: {
|
|
8
12
|
attributes?: import("../../components/scrollbar/index.js").Attributes | undefined;
|
|
9
13
|
content?: import("@esportsplus/template").Renderable<any>;
|
|
10
14
|
}, attributes: Readonly<import("../../components/scrollbar/index.js").Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
@@ -4,7 +4,11 @@ declare const _default: {
|
|
|
4
4
|
attributes?: import("../../components/scrollbar/index.js").Attributes | undefined;
|
|
5
5
|
content?: import("@esportsplus/template").Renderable<any>;
|
|
6
6
|
}, attributes: Readonly<import("../../components/scrollbar/index.js").Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
7
|
-
|
|
7
|
+
<T extends import("../../components/scrollbar/index.js").Attributes>(attributes: T): ReturnType<(this: {
|
|
8
|
+
attributes?: import("../../components/scrollbar/index.js").Attributes | undefined;
|
|
9
|
+
content?: import("@esportsplus/template").Renderable<any>;
|
|
10
|
+
}, attributes: Readonly<import("../../components/scrollbar/index.js").Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
11
|
+
<T extends import("@esportsplus/template").Renderable<any>>(content: T): ReturnType<(this: {
|
|
8
12
|
attributes?: import("../../components/scrollbar/index.js").Attributes | undefined;
|
|
9
13
|
content?: import("@esportsplus/template").Renderable<any>;
|
|
10
14
|
}, attributes: Readonly<import("../../components/scrollbar/index.js").Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
|
|
@@ -5,7 +5,8 @@ declare const _default: {
|
|
|
5
5
|
content?: C;
|
|
6
6
|
}>(template: (this: Context, attributes: Readonly<A>, content: C) => Renderable<any>) => {
|
|
7
7
|
(): ReturnType<typeof template>;
|
|
8
|
-
(
|
|
8
|
+
<T extends A>(attributes: T): ReturnType<typeof template>;
|
|
9
|
+
<T extends C>(content: T): ReturnType<typeof template>;
|
|
9
10
|
(attributes: A, content: C): ReturnType<typeof template>;
|
|
10
11
|
};
|
|
11
12
|
};
|
|
@@ -2,7 +2,13 @@ const factory = (template) => {
|
|
|
2
2
|
function factory(one, two) {
|
|
3
3
|
let attributes = {}, content;
|
|
4
4
|
if (two === undefined) {
|
|
5
|
-
|
|
5
|
+
if (typeof one === 'object') {
|
|
6
|
+
attributes = one;
|
|
7
|
+
content = null;
|
|
8
|
+
}
|
|
9
|
+
else {
|
|
10
|
+
content = one;
|
|
11
|
+
}
|
|
6
12
|
}
|
|
7
13
|
else {
|
|
8
14
|
attributes = one;
|