foldkit 0.13.0-canary.0 → 0.13.0-canary.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.
- package/README.md +62 -8
- package/dist/html.d.ts +6 -1223
- package/dist/html.d.ts.map +1 -1
- package/dist/html.js +3 -3
- package/package.json +12 -12
- package/LICENSE +0 -21
package/dist/html.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ import { Data, Effect } from 'effect';
|
|
|
2
2
|
import { Dispatch } from './runtime';
|
|
3
3
|
import { VNode } from './vdom';
|
|
4
4
|
export type Html = Effect.Effect<VNode | null, never, Dispatch>;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
type Child = Html | string;
|
|
6
|
+
type TagName = 'a' | 'abbr' | 'address' | 'area' | 'article' | 'aside' | 'audio' | 'b' | 'base' | 'bdi' | 'bdo' | 'blockquote' | 'body' | 'br' | 'button' | 'canvas' | 'caption' | 'cite' | 'code' | 'col' | 'colgroup' | 'data' | 'datalist' | 'dd' | 'del' | 'details' | 'dfn' | 'dialog' | 'div' | 'dl' | 'dt' | 'em' | 'embed' | 'fieldset' | 'figcaption' | 'figure' | 'footer' | 'form' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'head' | 'header' | 'hgroup' | 'hr' | 'html' | 'i' | 'iframe' | 'img' | 'input' | 'ins' | 'kbd' | 'label' | 'legend' | 'li' | 'link' | 'main' | 'map' | 'mark' | 'menu' | 'meta' | 'meter' | 'nav' | 'noscript' | 'object' | 'ol' | 'optgroup' | 'option' | 'output' | 'p' | 'picture' | 'portal' | 'pre' | 'progress' | 'q' | 'rp' | 'rt' | 'ruby' | 's' | 'samp' | 'script' | 'search' | 'section' | 'select' | 'slot' | 'small' | 'source' | 'span' | 'strong' | 'style' | 'sub' | 'summary' | 'sup' | 'table' | 'tbody' | 'td' | 'template' | 'textarea' | 'tfoot' | 'th' | 'thead' | 'time' | 'title' | 'tr' | 'track' | 'u' | 'ul' | 'var' | 'video' | 'wbr' | 'animate' | 'animateMotion' | 'animateTransform' | 'circle' | 'clipPath' | 'defs' | 'desc' | 'ellipse' | 'feBlend' | 'feColorMatrix' | 'feComponentTransfer' | 'feComposite' | 'feConvolveMatrix' | 'feDiffuseLighting' | 'feDisplacementMap' | 'feDistantLight' | 'feDropShadow' | 'feFlood' | 'feFuncA' | 'feFuncB' | 'feFuncG' | 'feFuncR' | 'feGaussianBlur' | 'feImage' | 'feMerge' | 'feMergeNode' | 'feMorphology' | 'feOffset' | 'fePointLight' | 'feSpecularLighting' | 'feSpotLight' | 'feTile' | 'feTurbulence' | 'filter' | 'foreignObject' | 'g' | 'image' | 'line' | 'linearGradient' | 'marker' | 'mask' | 'metadata' | 'mpath' | 'path' | 'pattern' | 'polygon' | 'polyline' | 'radialGradient' | 'rect' | 'set' | 'stop' | 'svg' | 'switch' | 'symbol' | 'text' | 'textPath' | 'tspan' | 'use' | 'view' | 'annotation' | 'annotation-xml' | 'math' | 'maction' | 'menclose' | 'merror' | 'mfenced' | 'mfrac' | 'mglyph' | 'mi' | 'mlabeledtr' | 'mlongdiv' | 'mmultiscripts' | 'mn' | 'mo' | 'mover' | 'mpadded' | 'mphantom' | 'mprescripts' | 'mroot' | 'mrow' | 'ms' | 'mscarries' | 'mscarry' | 'msgroup' | 'msline' | 'mspace' | 'msqrt' | 'msrow' | 'mstack' | 'mstyle' | 'msub' | 'msubsup' | 'msup' | 'mtable' | 'mtd' | 'mtext' | 'mtr' | 'munder' | 'munderover' | 'semantics';
|
|
7
|
+
type Attribute<Message> = Data.TaggedEnum<{
|
|
8
8
|
Key: {
|
|
9
9
|
readonly value: string;
|
|
10
10
|
};
|
|
@@ -341,1236 +341,19 @@ export type Attribute<Message> = Data.TaggedEnum<{
|
|
|
341
341
|
readonly value: string;
|
|
342
342
|
};
|
|
343
343
|
}>;
|
|
344
|
-
|
|
345
|
-
readonly value: string;
|
|
346
|
-
}) => {
|
|
347
|
-
readonly _tag: "Key";
|
|
348
|
-
readonly value: string;
|
|
349
|
-
}, Class: <A>(args: {
|
|
350
|
-
readonly value: string;
|
|
351
|
-
}) => {
|
|
352
|
-
readonly _tag: "Class";
|
|
353
|
-
readonly value: string;
|
|
354
|
-
}, Id: <A>(args: {
|
|
355
|
-
readonly value: string;
|
|
356
|
-
}) => {
|
|
357
|
-
readonly _tag: "Id";
|
|
358
|
-
readonly value: string;
|
|
359
|
-
}, Title: <A>(args: {
|
|
360
|
-
readonly value: string;
|
|
361
|
-
}) => {
|
|
362
|
-
readonly _tag: "Title";
|
|
363
|
-
readonly value: string;
|
|
364
|
-
}, Lang: <A>(args: {
|
|
365
|
-
readonly value: string;
|
|
366
|
-
}) => {
|
|
367
|
-
readonly _tag: "Lang";
|
|
368
|
-
readonly value: string;
|
|
369
|
-
}, Dir: <A>(args: {
|
|
370
|
-
readonly value: string;
|
|
371
|
-
}) => {
|
|
372
|
-
readonly _tag: "Dir";
|
|
373
|
-
readonly value: string;
|
|
374
|
-
}, Tabindex: <A>(args: {
|
|
375
|
-
readonly value: number;
|
|
376
|
-
}) => {
|
|
377
|
-
readonly _tag: "Tabindex";
|
|
378
|
-
readonly value: number;
|
|
379
|
-
}, Hidden: <A>(args: {
|
|
380
|
-
readonly value: boolean;
|
|
381
|
-
}) => {
|
|
382
|
-
readonly _tag: "Hidden";
|
|
383
|
-
readonly value: boolean;
|
|
384
|
-
}, OnClick: <A>(args: {
|
|
385
|
-
readonly message: A;
|
|
386
|
-
}) => {
|
|
387
|
-
readonly _tag: "OnClick";
|
|
388
|
-
readonly message: A;
|
|
389
|
-
}, OnDblClick: <A>(args: {
|
|
390
|
-
readonly message: A;
|
|
391
|
-
}) => {
|
|
392
|
-
readonly _tag: "OnDblClick";
|
|
393
|
-
readonly message: A;
|
|
394
|
-
}, OnMouseDown: <A>(args: {
|
|
395
|
-
readonly message: A;
|
|
396
|
-
}) => {
|
|
397
|
-
readonly _tag: "OnMouseDown";
|
|
398
|
-
readonly message: A;
|
|
399
|
-
}, OnMouseUp: <A>(args: {
|
|
400
|
-
readonly message: A;
|
|
401
|
-
}) => {
|
|
402
|
-
readonly _tag: "OnMouseUp";
|
|
403
|
-
readonly message: A;
|
|
404
|
-
}, OnMouseEnter: <A>(args: {
|
|
405
|
-
readonly message: A;
|
|
406
|
-
}) => {
|
|
407
|
-
readonly _tag: "OnMouseEnter";
|
|
408
|
-
readonly message: A;
|
|
409
|
-
}, OnMouseLeave: <A>(args: {
|
|
410
|
-
readonly message: A;
|
|
411
|
-
}) => {
|
|
412
|
-
readonly _tag: "OnMouseLeave";
|
|
413
|
-
readonly message: A;
|
|
414
|
-
}, OnMouseOver: <A>(args: {
|
|
415
|
-
readonly message: A;
|
|
416
|
-
}) => {
|
|
417
|
-
readonly _tag: "OnMouseOver";
|
|
418
|
-
readonly message: A;
|
|
419
|
-
}, OnMouseOut: <A>(args: {
|
|
420
|
-
readonly message: A;
|
|
421
|
-
}) => {
|
|
422
|
-
readonly _tag: "OnMouseOut";
|
|
423
|
-
readonly message: A;
|
|
424
|
-
}, OnMouseMove: <A>(args: {
|
|
425
|
-
readonly message: A;
|
|
426
|
-
}) => {
|
|
427
|
-
readonly _tag: "OnMouseMove";
|
|
428
|
-
readonly message: A;
|
|
429
|
-
}, OnKeyDown: <A>(args: {
|
|
430
|
-
readonly f: (key: string) => A;
|
|
431
|
-
}) => {
|
|
432
|
-
readonly _tag: "OnKeyDown";
|
|
433
|
-
readonly f: (key: string) => A;
|
|
434
|
-
}, OnKeyUp: <A>(args: {
|
|
435
|
-
readonly f: (key: string) => A;
|
|
436
|
-
}) => {
|
|
437
|
-
readonly _tag: "OnKeyUp";
|
|
438
|
-
readonly f: (key: string) => A;
|
|
439
|
-
}, OnKeyPress: <A>(args: {
|
|
440
|
-
readonly f: (key: string) => A;
|
|
441
|
-
}) => {
|
|
442
|
-
readonly _tag: "OnKeyPress";
|
|
443
|
-
readonly f: (key: string) => A;
|
|
444
|
-
}, OnFocus: <A>(args: {
|
|
445
|
-
readonly message: A;
|
|
446
|
-
}) => {
|
|
447
|
-
readonly _tag: "OnFocus";
|
|
448
|
-
readonly message: A;
|
|
449
|
-
}, OnBlur: <A>(args: {
|
|
450
|
-
readonly message: A;
|
|
451
|
-
}) => {
|
|
452
|
-
readonly _tag: "OnBlur";
|
|
453
|
-
readonly message: A;
|
|
454
|
-
}, OnInput: <A>(args: {
|
|
455
|
-
readonly f: (value: string) => A;
|
|
456
|
-
}) => {
|
|
457
|
-
readonly _tag: "OnInput";
|
|
458
|
-
readonly f: (value: string) => A;
|
|
459
|
-
}, OnChange: <A>(args: {
|
|
460
|
-
readonly f: (value: string) => A;
|
|
461
|
-
}) => {
|
|
462
|
-
readonly _tag: "OnChange";
|
|
463
|
-
readonly f: (value: string) => A;
|
|
464
|
-
}, OnSubmit: <A>(args: {
|
|
465
|
-
readonly message: A;
|
|
466
|
-
}) => {
|
|
467
|
-
readonly _tag: "OnSubmit";
|
|
468
|
-
readonly message: A;
|
|
469
|
-
}, OnReset: <A>(args: {
|
|
470
|
-
readonly message: A;
|
|
471
|
-
}) => {
|
|
472
|
-
readonly _tag: "OnReset";
|
|
473
|
-
readonly message: A;
|
|
474
|
-
}, OnScroll: <A>(args: {
|
|
475
|
-
readonly message: A;
|
|
476
|
-
}) => {
|
|
477
|
-
readonly _tag: "OnScroll";
|
|
478
|
-
readonly message: A;
|
|
479
|
-
}, OnWheel: <A>(args: {
|
|
480
|
-
readonly message: A;
|
|
481
|
-
}) => {
|
|
482
|
-
readonly _tag: "OnWheel";
|
|
483
|
-
readonly message: A;
|
|
484
|
-
}, OnCopy: <A>(args: {
|
|
485
|
-
readonly message: A;
|
|
486
|
-
}) => {
|
|
487
|
-
readonly _tag: "OnCopy";
|
|
488
|
-
readonly message: A;
|
|
489
|
-
}, OnCut: <A>(args: {
|
|
490
|
-
readonly message: A;
|
|
491
|
-
}) => {
|
|
492
|
-
readonly _tag: "OnCut";
|
|
493
|
-
readonly message: A;
|
|
494
|
-
}, OnPaste: <A>(args: {
|
|
495
|
-
readonly message: A;
|
|
496
|
-
}) => {
|
|
497
|
-
readonly _tag: "OnPaste";
|
|
498
|
-
readonly message: A;
|
|
499
|
-
}, Value: <A>(args: {
|
|
500
|
-
readonly value: string;
|
|
501
|
-
}) => {
|
|
502
|
-
readonly _tag: "Value";
|
|
503
|
-
readonly value: string;
|
|
504
|
-
}, Checked: <A>(args: {
|
|
505
|
-
readonly value: boolean;
|
|
506
|
-
}) => {
|
|
507
|
-
readonly _tag: "Checked";
|
|
508
|
-
readonly value: boolean;
|
|
509
|
-
}, Selected: <A>(args: {
|
|
510
|
-
readonly value: boolean;
|
|
511
|
-
}) => {
|
|
512
|
-
readonly _tag: "Selected";
|
|
513
|
-
readonly value: boolean;
|
|
514
|
-
}, Placeholder: <A>(args: {
|
|
515
|
-
readonly value: string;
|
|
516
|
-
}) => {
|
|
517
|
-
readonly _tag: "Placeholder";
|
|
518
|
-
readonly value: string;
|
|
519
|
-
}, Name: <A>(args: {
|
|
520
|
-
readonly value: string;
|
|
521
|
-
}) => {
|
|
522
|
-
readonly _tag: "Name";
|
|
523
|
-
readonly value: string;
|
|
524
|
-
}, Disabled: <A>(args: {
|
|
525
|
-
readonly value: boolean;
|
|
526
|
-
}) => {
|
|
527
|
-
readonly _tag: "Disabled";
|
|
528
|
-
readonly value: boolean;
|
|
529
|
-
}, Readonly: <A>(args: {
|
|
530
|
-
readonly value: boolean;
|
|
531
|
-
}) => {
|
|
532
|
-
readonly _tag: "Readonly";
|
|
533
|
-
readonly value: boolean;
|
|
534
|
-
}, Required: <A>(args: {
|
|
535
|
-
readonly value: boolean;
|
|
536
|
-
}) => {
|
|
537
|
-
readonly _tag: "Required";
|
|
538
|
-
readonly value: boolean;
|
|
539
|
-
}, Autofocus: <A>(args: {
|
|
540
|
-
readonly value: boolean;
|
|
541
|
-
}) => {
|
|
542
|
-
readonly _tag: "Autofocus";
|
|
543
|
-
readonly value: boolean;
|
|
544
|
-
}, Spellcheck: <A>(args: {
|
|
545
|
-
readonly value: boolean;
|
|
546
|
-
}) => {
|
|
547
|
-
readonly _tag: "Spellcheck";
|
|
548
|
-
readonly value: boolean;
|
|
549
|
-
}, Autocorrect: <A>(args: {
|
|
550
|
-
readonly value: string;
|
|
551
|
-
}) => {
|
|
552
|
-
readonly _tag: "Autocorrect";
|
|
553
|
-
readonly value: string;
|
|
554
|
-
}, Autocapitalize: <A>(args: {
|
|
555
|
-
readonly value: string;
|
|
556
|
-
}) => {
|
|
557
|
-
readonly _tag: "Autocapitalize";
|
|
558
|
-
readonly value: string;
|
|
559
|
-
}, InputMode: <A>(args: {
|
|
560
|
-
readonly value: string;
|
|
561
|
-
}) => {
|
|
562
|
-
readonly _tag: "InputMode";
|
|
563
|
-
readonly value: string;
|
|
564
|
-
}, EnterKeyHint: <A>(args: {
|
|
565
|
-
readonly value: string;
|
|
566
|
-
}) => {
|
|
567
|
-
readonly _tag: "EnterKeyHint";
|
|
568
|
-
readonly value: string;
|
|
569
|
-
}, Multiple: <A>(args: {
|
|
570
|
-
readonly value: boolean;
|
|
571
|
-
}) => {
|
|
572
|
-
readonly _tag: "Multiple";
|
|
573
|
-
readonly value: boolean;
|
|
574
|
-
}, Type: <A>(args: {
|
|
575
|
-
readonly value: string;
|
|
576
|
-
}) => {
|
|
577
|
-
readonly _tag: "Type";
|
|
578
|
-
readonly value: string;
|
|
579
|
-
}, Accept: <A>(args: {
|
|
580
|
-
readonly value: string;
|
|
581
|
-
}) => {
|
|
582
|
-
readonly _tag: "Accept";
|
|
583
|
-
readonly value: string;
|
|
584
|
-
}, Autocomplete: <A>(args: {
|
|
585
|
-
readonly value: string;
|
|
586
|
-
}) => {
|
|
587
|
-
readonly _tag: "Autocomplete";
|
|
588
|
-
readonly value: string;
|
|
589
|
-
}, Pattern: <A>(args: {
|
|
590
|
-
readonly value: string;
|
|
591
|
-
}) => {
|
|
592
|
-
readonly _tag: "Pattern";
|
|
593
|
-
readonly value: string;
|
|
594
|
-
}, Maxlength: <A>(args: {
|
|
595
|
-
readonly value: number;
|
|
596
|
-
}) => {
|
|
597
|
-
readonly _tag: "Maxlength";
|
|
598
|
-
readonly value: number;
|
|
599
|
-
}, Minlength: <A>(args: {
|
|
600
|
-
readonly value: number;
|
|
601
|
-
}) => {
|
|
602
|
-
readonly _tag: "Minlength";
|
|
603
|
-
readonly value: number;
|
|
604
|
-
}, Size: <A>(args: {
|
|
605
|
-
readonly value: number;
|
|
606
|
-
}) => {
|
|
607
|
-
readonly _tag: "Size";
|
|
608
|
-
readonly value: number;
|
|
609
|
-
}, Cols: <A>(args: {
|
|
610
|
-
readonly value: number;
|
|
611
|
-
}) => {
|
|
612
|
-
readonly _tag: "Cols";
|
|
613
|
-
readonly value: number;
|
|
614
|
-
}, Rows: <A>(args: {
|
|
615
|
-
readonly value: number;
|
|
616
|
-
}) => {
|
|
617
|
-
readonly _tag: "Rows";
|
|
618
|
-
readonly value: number;
|
|
619
|
-
}, Max: <A>(args: {
|
|
620
|
-
readonly value: string;
|
|
621
|
-
}) => {
|
|
622
|
-
readonly _tag: "Max";
|
|
623
|
-
readonly value: string;
|
|
624
|
-
}, Min: <A>(args: {
|
|
625
|
-
readonly value: string;
|
|
626
|
-
}) => {
|
|
627
|
-
readonly _tag: "Min";
|
|
628
|
-
readonly value: string;
|
|
629
|
-
}, Step: <A>(args: {
|
|
630
|
-
readonly value: string;
|
|
631
|
-
}) => {
|
|
632
|
-
readonly _tag: "Step";
|
|
633
|
-
readonly value: string;
|
|
634
|
-
}, For: <A>(args: {
|
|
635
|
-
readonly value: string;
|
|
636
|
-
}) => {
|
|
637
|
-
readonly _tag: "For";
|
|
638
|
-
readonly value: string;
|
|
639
|
-
}, Href: <A>(args: {
|
|
640
|
-
readonly value: string;
|
|
641
|
-
}) => {
|
|
642
|
-
readonly _tag: "Href";
|
|
643
|
-
readonly value: string;
|
|
644
|
-
}, Src: <A>(args: {
|
|
645
|
-
readonly value: string;
|
|
646
|
-
}) => {
|
|
647
|
-
readonly _tag: "Src";
|
|
648
|
-
readonly value: string;
|
|
649
|
-
}, Alt: <A>(args: {
|
|
650
|
-
readonly value: string;
|
|
651
|
-
}) => {
|
|
652
|
-
readonly _tag: "Alt";
|
|
653
|
-
readonly value: string;
|
|
654
|
-
}, Target: <A>(args: {
|
|
655
|
-
readonly value: string;
|
|
656
|
-
}) => {
|
|
657
|
-
readonly _tag: "Target";
|
|
658
|
-
readonly value: string;
|
|
659
|
-
}, Rel: <A>(args: {
|
|
660
|
-
readonly value: string;
|
|
661
|
-
}) => {
|
|
662
|
-
readonly _tag: "Rel";
|
|
663
|
-
readonly value: string;
|
|
664
|
-
}, Download: <A>(args: {
|
|
665
|
-
readonly value: string;
|
|
666
|
-
}) => {
|
|
667
|
-
readonly _tag: "Download";
|
|
668
|
-
readonly value: string;
|
|
669
|
-
}, Action: <A>(args: {
|
|
670
|
-
readonly value: string;
|
|
671
|
-
}) => {
|
|
672
|
-
readonly _tag: "Action";
|
|
673
|
-
readonly value: string;
|
|
674
|
-
}, Method: <A>(args: {
|
|
675
|
-
readonly value: string;
|
|
676
|
-
}) => {
|
|
677
|
-
readonly _tag: "Method";
|
|
678
|
-
readonly value: string;
|
|
679
|
-
}, Enctype: <A>(args: {
|
|
680
|
-
readonly value: string;
|
|
681
|
-
}) => {
|
|
682
|
-
readonly _tag: "Enctype";
|
|
683
|
-
readonly value: string;
|
|
684
|
-
}, Novalidate: <A>(args: {
|
|
685
|
-
readonly value: boolean;
|
|
686
|
-
}) => {
|
|
687
|
-
readonly _tag: "Novalidate";
|
|
688
|
-
readonly value: boolean;
|
|
689
|
-
}, Role: <A>(args: {
|
|
690
|
-
readonly value: string;
|
|
691
|
-
}) => {
|
|
692
|
-
readonly _tag: "Role";
|
|
693
|
-
readonly value: string;
|
|
694
|
-
}, AriaLabel: <A>(args: {
|
|
695
|
-
readonly value: string;
|
|
696
|
-
}) => {
|
|
697
|
-
readonly _tag: "AriaLabel";
|
|
698
|
-
readonly value: string;
|
|
699
|
-
}, AriaLabelledBy: <A>(args: {
|
|
700
|
-
readonly value: string;
|
|
701
|
-
}) => {
|
|
702
|
-
readonly _tag: "AriaLabelledBy";
|
|
703
|
-
readonly value: string;
|
|
704
|
-
}, AriaDescribedBy: <A>(args: {
|
|
705
|
-
readonly value: string;
|
|
706
|
-
}) => {
|
|
707
|
-
readonly _tag: "AriaDescribedBy";
|
|
708
|
-
readonly value: string;
|
|
709
|
-
}, AriaHidden: <A>(args: {
|
|
710
|
-
readonly value: boolean;
|
|
711
|
-
}) => {
|
|
712
|
-
readonly _tag: "AriaHidden";
|
|
713
|
-
readonly value: boolean;
|
|
714
|
-
}, AriaExpanded: <A>(args: {
|
|
715
|
-
readonly value: boolean;
|
|
716
|
-
}) => {
|
|
717
|
-
readonly _tag: "AriaExpanded";
|
|
718
|
-
readonly value: boolean;
|
|
719
|
-
}, AriaSelected: <A>(args: {
|
|
720
|
-
readonly value: boolean;
|
|
721
|
-
}) => {
|
|
722
|
-
readonly _tag: "AriaSelected";
|
|
723
|
-
readonly value: boolean;
|
|
724
|
-
}, AriaChecked: <A>(args: {
|
|
725
|
-
readonly value: boolean;
|
|
726
|
-
}) => {
|
|
727
|
-
readonly _tag: "AriaChecked";
|
|
728
|
-
readonly value: boolean;
|
|
729
|
-
}, AriaDisabled: <A>(args: {
|
|
730
|
-
readonly value: boolean;
|
|
731
|
-
}) => {
|
|
732
|
-
readonly _tag: "AriaDisabled";
|
|
733
|
-
readonly value: boolean;
|
|
734
|
-
}, AriaRequired: <A>(args: {
|
|
735
|
-
readonly value: boolean;
|
|
736
|
-
}) => {
|
|
737
|
-
readonly _tag: "AriaRequired";
|
|
738
|
-
readonly value: boolean;
|
|
739
|
-
}, AriaInvalid: <A>(args: {
|
|
740
|
-
readonly value: boolean;
|
|
741
|
-
}) => {
|
|
742
|
-
readonly _tag: "AriaInvalid";
|
|
743
|
-
readonly value: boolean;
|
|
744
|
-
}, AriaLive: <A>(args: {
|
|
745
|
-
readonly value: string;
|
|
746
|
-
}) => {
|
|
747
|
-
readonly _tag: "AriaLive";
|
|
748
|
-
readonly value: string;
|
|
749
|
-
}, Attribute: <A>(args: {
|
|
344
|
+
declare const Attribute: <A>(args: {
|
|
750
345
|
readonly key: string;
|
|
751
346
|
readonly value: string;
|
|
752
347
|
}) => {
|
|
753
348
|
readonly _tag: "Attribute";
|
|
754
349
|
readonly key: string;
|
|
755
350
|
readonly value: string;
|
|
756
|
-
}, DataAttribute: <A>(args: {
|
|
757
|
-
readonly key: string;
|
|
758
|
-
readonly value: string;
|
|
759
|
-
}) => {
|
|
760
|
-
readonly _tag: "DataAttribute";
|
|
761
|
-
readonly key: string;
|
|
762
|
-
readonly value: string;
|
|
763
|
-
}, Style: <A>(args: {
|
|
764
|
-
readonly value: Record<string, string>;
|
|
765
|
-
}) => {
|
|
766
|
-
readonly _tag: "Style";
|
|
767
|
-
readonly value: Record<string, string>;
|
|
768
|
-
}, InnerHTML: <A>(args: {
|
|
769
|
-
readonly value: string;
|
|
770
|
-
}) => {
|
|
771
|
-
readonly _tag: "InnerHTML";
|
|
772
|
-
readonly value: string;
|
|
773
|
-
}, ViewBox: <A>(args: {
|
|
774
|
-
readonly value: string;
|
|
775
|
-
}) => {
|
|
776
|
-
readonly _tag: "ViewBox";
|
|
777
|
-
readonly value: string;
|
|
778
|
-
}, Xmlns: <A>(args: {
|
|
779
|
-
readonly value: string;
|
|
780
|
-
}) => {
|
|
781
|
-
readonly _tag: "Xmlns";
|
|
782
|
-
readonly value: string;
|
|
783
|
-
}, Fill: <A>(args: {
|
|
784
|
-
readonly value: string;
|
|
785
|
-
}) => {
|
|
786
|
-
readonly _tag: "Fill";
|
|
787
|
-
readonly value: string;
|
|
788
|
-
}, FillRule: <A>(args: {
|
|
789
|
-
readonly value: string;
|
|
790
|
-
}) => {
|
|
791
|
-
readonly _tag: "FillRule";
|
|
792
|
-
readonly value: string;
|
|
793
|
-
}, ClipRule: <A>(args: {
|
|
794
|
-
readonly value: string;
|
|
795
|
-
}) => {
|
|
796
|
-
readonly _tag: "ClipRule";
|
|
797
|
-
readonly value: string;
|
|
798
|
-
}, Stroke: <A>(args: {
|
|
799
|
-
readonly value: string;
|
|
800
|
-
}) => {
|
|
801
|
-
readonly _tag: "Stroke";
|
|
802
|
-
readonly value: string;
|
|
803
|
-
}, StrokeWidth: <A>(args: {
|
|
804
|
-
readonly value: string;
|
|
805
|
-
}) => {
|
|
806
|
-
readonly _tag: "StrokeWidth";
|
|
807
|
-
readonly value: string;
|
|
808
|
-
}, StrokeLinecap: <A>(args: {
|
|
809
|
-
readonly value: string;
|
|
810
|
-
}) => {
|
|
811
|
-
readonly _tag: "StrokeLinecap";
|
|
812
|
-
readonly value: string;
|
|
813
|
-
}, StrokeLinejoin: <A>(args: {
|
|
814
|
-
readonly value: string;
|
|
815
|
-
}) => {
|
|
816
|
-
readonly _tag: "StrokeLinejoin";
|
|
817
|
-
readonly value: string;
|
|
818
|
-
}, D: <A>(args: {
|
|
819
|
-
readonly value: string;
|
|
820
|
-
}) => {
|
|
821
|
-
readonly _tag: "D";
|
|
822
|
-
readonly value: string;
|
|
823
|
-
}, Cx: <A>(args: {
|
|
824
|
-
readonly value: string;
|
|
825
|
-
}) => {
|
|
826
|
-
readonly _tag: "Cx";
|
|
827
|
-
readonly value: string;
|
|
828
|
-
}, Cy: <A>(args: {
|
|
829
|
-
readonly value: string;
|
|
830
|
-
}) => {
|
|
831
|
-
readonly _tag: "Cy";
|
|
832
|
-
readonly value: string;
|
|
833
|
-
}, R: <A>(args: {
|
|
834
|
-
readonly value: string;
|
|
835
|
-
}) => {
|
|
836
|
-
readonly _tag: "R";
|
|
837
|
-
readonly value: string;
|
|
838
|
-
}, X: <A>(args: {
|
|
839
|
-
readonly value: string;
|
|
840
|
-
}) => {
|
|
841
|
-
readonly _tag: "X";
|
|
842
|
-
readonly value: string;
|
|
843
|
-
}, Y: <A>(args: {
|
|
844
|
-
readonly value: string;
|
|
845
|
-
}) => {
|
|
846
|
-
readonly _tag: "Y";
|
|
847
|
-
readonly value: string;
|
|
848
|
-
}, Width: <A>(args: {
|
|
849
|
-
readonly value: string;
|
|
850
|
-
}) => {
|
|
851
|
-
readonly _tag: "Width";
|
|
852
|
-
readonly value: string;
|
|
853
|
-
}, Height: <A>(args: {
|
|
854
|
-
readonly value: string;
|
|
855
|
-
}) => {
|
|
856
|
-
readonly _tag: "Height";
|
|
857
|
-
readonly value: string;
|
|
858
|
-
}, X1: <A>(args: {
|
|
859
|
-
readonly value: string;
|
|
860
|
-
}) => {
|
|
861
|
-
readonly _tag: "X1";
|
|
862
|
-
readonly value: string;
|
|
863
|
-
}, Y1: <A>(args: {
|
|
864
|
-
readonly value: string;
|
|
865
|
-
}) => {
|
|
866
|
-
readonly _tag: "Y1";
|
|
867
|
-
readonly value: string;
|
|
868
|
-
}, X2: <A>(args: {
|
|
869
|
-
readonly value: string;
|
|
870
|
-
}) => {
|
|
871
|
-
readonly _tag: "X2";
|
|
872
|
-
readonly value: string;
|
|
873
|
-
}, Y2: <A>(args: {
|
|
874
|
-
readonly value: string;
|
|
875
|
-
}) => {
|
|
876
|
-
readonly _tag: "Y2";
|
|
877
|
-
readonly value: string;
|
|
878
|
-
}, Points: <A>(args: {
|
|
879
|
-
readonly value: string;
|
|
880
|
-
}) => {
|
|
881
|
-
readonly _tag: "Points";
|
|
882
|
-
readonly value: string;
|
|
883
|
-
}, Transform: <A>(args: {
|
|
884
|
-
readonly value: string;
|
|
885
|
-
}) => {
|
|
886
|
-
readonly _tag: "Transform";
|
|
887
|
-
readonly value: string;
|
|
888
|
-
}, Opacity: <A>(args: {
|
|
889
|
-
readonly value: string;
|
|
890
|
-
}) => {
|
|
891
|
-
readonly _tag: "Opacity";
|
|
892
|
-
readonly value: string;
|
|
893
|
-
}, StrokeDasharray: <A>(args: {
|
|
894
|
-
readonly value: string;
|
|
895
|
-
}) => {
|
|
896
|
-
readonly _tag: "StrokeDasharray";
|
|
897
|
-
readonly value: string;
|
|
898
|
-
}, StrokeDashoffset: <A>(args: {
|
|
899
|
-
readonly value: string;
|
|
900
|
-
}) => {
|
|
901
|
-
readonly _tag: "StrokeDashoffset";
|
|
902
|
-
readonly value: string;
|
|
903
351
|
};
|
|
904
352
|
type AttributeWithoutKey<Message> = Exclude<Attribute<Message>, {
|
|
905
353
|
_tag: 'Key';
|
|
906
354
|
}>;
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
export type HtmlElements<Message> = {
|
|
910
|
-
a: ElementFunction<Message>;
|
|
911
|
-
abbr: ElementFunction<Message>;
|
|
912
|
-
address: ElementFunction<Message>;
|
|
913
|
-
area: VoidElementFunction<Message>;
|
|
914
|
-
article: ElementFunction<Message>;
|
|
915
|
-
aside: ElementFunction<Message>;
|
|
916
|
-
audio: ElementFunction<Message>;
|
|
917
|
-
b: ElementFunction<Message>;
|
|
918
|
-
base: VoidElementFunction<Message>;
|
|
919
|
-
bdi: ElementFunction<Message>;
|
|
920
|
-
bdo: ElementFunction<Message>;
|
|
921
|
-
blockquote: ElementFunction<Message>;
|
|
922
|
-
body: ElementFunction<Message>;
|
|
923
|
-
br: VoidElementFunction<Message>;
|
|
924
|
-
button: ElementFunction<Message>;
|
|
925
|
-
canvas: ElementFunction<Message>;
|
|
926
|
-
caption: ElementFunction<Message>;
|
|
927
|
-
cite: ElementFunction<Message>;
|
|
928
|
-
code: ElementFunction<Message>;
|
|
929
|
-
col: VoidElementFunction<Message>;
|
|
930
|
-
colgroup: ElementFunction<Message>;
|
|
931
|
-
data: ElementFunction<Message>;
|
|
932
|
-
datalist: ElementFunction<Message>;
|
|
933
|
-
dd: ElementFunction<Message>;
|
|
934
|
-
del: ElementFunction<Message>;
|
|
935
|
-
details: ElementFunction<Message>;
|
|
936
|
-
dfn: ElementFunction<Message>;
|
|
937
|
-
dialog: ElementFunction<Message>;
|
|
938
|
-
div: ElementFunction<Message>;
|
|
939
|
-
dl: ElementFunction<Message>;
|
|
940
|
-
dt: ElementFunction<Message>;
|
|
941
|
-
em: ElementFunction<Message>;
|
|
942
|
-
embed: VoidElementFunction<Message>;
|
|
943
|
-
fieldset: ElementFunction<Message>;
|
|
944
|
-
figcaption: ElementFunction<Message>;
|
|
945
|
-
figure: ElementFunction<Message>;
|
|
946
|
-
footer: ElementFunction<Message>;
|
|
947
|
-
form: ElementFunction<Message>;
|
|
948
|
-
h1: ElementFunction<Message>;
|
|
949
|
-
h2: ElementFunction<Message>;
|
|
950
|
-
h3: ElementFunction<Message>;
|
|
951
|
-
h4: ElementFunction<Message>;
|
|
952
|
-
h5: ElementFunction<Message>;
|
|
953
|
-
h6: ElementFunction<Message>;
|
|
954
|
-
head: ElementFunction<Message>;
|
|
955
|
-
header: ElementFunction<Message>;
|
|
956
|
-
hgroup: ElementFunction<Message>;
|
|
957
|
-
hr: VoidElementFunction<Message>;
|
|
958
|
-
html: ElementFunction<Message>;
|
|
959
|
-
i: ElementFunction<Message>;
|
|
960
|
-
iframe: ElementFunction<Message>;
|
|
961
|
-
img: VoidElementFunction<Message>;
|
|
962
|
-
input: VoidElementFunction<Message>;
|
|
963
|
-
ins: ElementFunction<Message>;
|
|
964
|
-
kbd: ElementFunction<Message>;
|
|
965
|
-
label: ElementFunction<Message>;
|
|
966
|
-
legend: ElementFunction<Message>;
|
|
967
|
-
li: ElementFunction<Message>;
|
|
968
|
-
link: VoidElementFunction<Message>;
|
|
969
|
-
main: ElementFunction<Message>;
|
|
970
|
-
map: ElementFunction<Message>;
|
|
971
|
-
mark: ElementFunction<Message>;
|
|
972
|
-
menu: ElementFunction<Message>;
|
|
973
|
-
meta: VoidElementFunction<Message>;
|
|
974
|
-
meter: ElementFunction<Message>;
|
|
975
|
-
nav: ElementFunction<Message>;
|
|
976
|
-
noscript: ElementFunction<Message>;
|
|
977
|
-
object: ElementFunction<Message>;
|
|
978
|
-
ol: ElementFunction<Message>;
|
|
979
|
-
optgroup: ElementFunction<Message>;
|
|
980
|
-
option: ElementFunction<Message>;
|
|
981
|
-
output: ElementFunction<Message>;
|
|
982
|
-
p: ElementFunction<Message>;
|
|
983
|
-
picture: ElementFunction<Message>;
|
|
984
|
-
portal: ElementFunction<Message>;
|
|
985
|
-
pre: ElementFunction<Message>;
|
|
986
|
-
progress: ElementFunction<Message>;
|
|
987
|
-
q: ElementFunction<Message>;
|
|
988
|
-
rp: ElementFunction<Message>;
|
|
989
|
-
rt: ElementFunction<Message>;
|
|
990
|
-
ruby: ElementFunction<Message>;
|
|
991
|
-
s: ElementFunction<Message>;
|
|
992
|
-
samp: ElementFunction<Message>;
|
|
993
|
-
script: ElementFunction<Message>;
|
|
994
|
-
search: ElementFunction<Message>;
|
|
995
|
-
section: ElementFunction<Message>;
|
|
996
|
-
select: ElementFunction<Message>;
|
|
997
|
-
slot: ElementFunction<Message>;
|
|
998
|
-
small: ElementFunction<Message>;
|
|
999
|
-
source: VoidElementFunction<Message>;
|
|
1000
|
-
span: ElementFunction<Message>;
|
|
1001
|
-
strong: ElementFunction<Message>;
|
|
1002
|
-
style: ElementFunction<Message>;
|
|
1003
|
-
sub: ElementFunction<Message>;
|
|
1004
|
-
summary: ElementFunction<Message>;
|
|
1005
|
-
sup: ElementFunction<Message>;
|
|
1006
|
-
table: ElementFunction<Message>;
|
|
1007
|
-
tbody: ElementFunction<Message>;
|
|
1008
|
-
td: ElementFunction<Message>;
|
|
1009
|
-
template: ElementFunction<Message>;
|
|
1010
|
-
textarea: ElementFunction<Message>;
|
|
1011
|
-
tfoot: ElementFunction<Message>;
|
|
1012
|
-
th: ElementFunction<Message>;
|
|
1013
|
-
thead: ElementFunction<Message>;
|
|
1014
|
-
time: ElementFunction<Message>;
|
|
1015
|
-
title: ElementFunction<Message>;
|
|
1016
|
-
tr: ElementFunction<Message>;
|
|
1017
|
-
track: VoidElementFunction<Message>;
|
|
1018
|
-
u: ElementFunction<Message>;
|
|
1019
|
-
ul: ElementFunction<Message>;
|
|
1020
|
-
var: ElementFunction<Message>;
|
|
1021
|
-
video: ElementFunction<Message>;
|
|
1022
|
-
wbr: VoidElementFunction<Message>;
|
|
1023
|
-
svg: ElementFunction<Message>;
|
|
1024
|
-
animate: ElementFunction<Message>;
|
|
1025
|
-
animateMotion: ElementFunction<Message>;
|
|
1026
|
-
animateTransform: ElementFunction<Message>;
|
|
1027
|
-
circle: ElementFunction<Message>;
|
|
1028
|
-
clipPath: ElementFunction<Message>;
|
|
1029
|
-
defs: ElementFunction<Message>;
|
|
1030
|
-
desc: ElementFunction<Message>;
|
|
1031
|
-
ellipse: ElementFunction<Message>;
|
|
1032
|
-
feBlend: ElementFunction<Message>;
|
|
1033
|
-
feColorMatrix: ElementFunction<Message>;
|
|
1034
|
-
feComponentTransfer: ElementFunction<Message>;
|
|
1035
|
-
feComposite: ElementFunction<Message>;
|
|
1036
|
-
feConvolveMatrix: ElementFunction<Message>;
|
|
1037
|
-
feDiffuseLighting: ElementFunction<Message>;
|
|
1038
|
-
feDisplacementMap: ElementFunction<Message>;
|
|
1039
|
-
feDistantLight: ElementFunction<Message>;
|
|
1040
|
-
feDropShadow: ElementFunction<Message>;
|
|
1041
|
-
feFlood: ElementFunction<Message>;
|
|
1042
|
-
feFuncA: ElementFunction<Message>;
|
|
1043
|
-
feFuncB: ElementFunction<Message>;
|
|
1044
|
-
feFuncG: ElementFunction<Message>;
|
|
1045
|
-
feFuncR: ElementFunction<Message>;
|
|
1046
|
-
feGaussianBlur: ElementFunction<Message>;
|
|
1047
|
-
feImage: ElementFunction<Message>;
|
|
1048
|
-
feMerge: ElementFunction<Message>;
|
|
1049
|
-
feMergeNode: ElementFunction<Message>;
|
|
1050
|
-
feMorphology: ElementFunction<Message>;
|
|
1051
|
-
feOffset: ElementFunction<Message>;
|
|
1052
|
-
fePointLight: ElementFunction<Message>;
|
|
1053
|
-
feSpecularLighting: ElementFunction<Message>;
|
|
1054
|
-
feSpotLight: ElementFunction<Message>;
|
|
1055
|
-
feTile: ElementFunction<Message>;
|
|
1056
|
-
feTurbulence: ElementFunction<Message>;
|
|
1057
|
-
filter: ElementFunction<Message>;
|
|
1058
|
-
foreignObject: ElementFunction<Message>;
|
|
1059
|
-
g: ElementFunction<Message>;
|
|
1060
|
-
image: ElementFunction<Message>;
|
|
1061
|
-
line: ElementFunction<Message>;
|
|
1062
|
-
linearGradient: ElementFunction<Message>;
|
|
1063
|
-
marker: ElementFunction<Message>;
|
|
1064
|
-
mask: ElementFunction<Message>;
|
|
1065
|
-
metadata: ElementFunction<Message>;
|
|
1066
|
-
mpath: ElementFunction<Message>;
|
|
1067
|
-
path: ElementFunction<Message>;
|
|
1068
|
-
pattern: ElementFunction<Message>;
|
|
1069
|
-
polygon: ElementFunction<Message>;
|
|
1070
|
-
polyline: ElementFunction<Message>;
|
|
1071
|
-
radialGradient: ElementFunction<Message>;
|
|
1072
|
-
rect: ElementFunction<Message>;
|
|
1073
|
-
set: ElementFunction<Message>;
|
|
1074
|
-
stop: ElementFunction<Message>;
|
|
1075
|
-
switch: ElementFunction<Message>;
|
|
1076
|
-
symbol: ElementFunction<Message>;
|
|
1077
|
-
text: ElementFunction<Message>;
|
|
1078
|
-
textPath: ElementFunction<Message>;
|
|
1079
|
-
tspan: ElementFunction<Message>;
|
|
1080
|
-
use: ElementFunction<Message>;
|
|
1081
|
-
view: ElementFunction<Message>;
|
|
1082
|
-
math: ElementFunction<Message>;
|
|
1083
|
-
annotation: ElementFunction<Message>;
|
|
1084
|
-
'annotation-xml': ElementFunction<Message>;
|
|
1085
|
-
maction: ElementFunction<Message>;
|
|
1086
|
-
menclose: ElementFunction<Message>;
|
|
1087
|
-
merror: ElementFunction<Message>;
|
|
1088
|
-
mfenced: ElementFunction<Message>;
|
|
1089
|
-
mfrac: ElementFunction<Message>;
|
|
1090
|
-
mglyph: ElementFunction<Message>;
|
|
1091
|
-
mi: ElementFunction<Message>;
|
|
1092
|
-
mlabeledtr: ElementFunction<Message>;
|
|
1093
|
-
mlongdiv: ElementFunction<Message>;
|
|
1094
|
-
mmultiscripts: ElementFunction<Message>;
|
|
1095
|
-
mn: ElementFunction<Message>;
|
|
1096
|
-
mo: ElementFunction<Message>;
|
|
1097
|
-
mover: ElementFunction<Message>;
|
|
1098
|
-
mpadded: ElementFunction<Message>;
|
|
1099
|
-
mphantom: ElementFunction<Message>;
|
|
1100
|
-
mprescripts: ElementFunction<Message>;
|
|
1101
|
-
mroot: ElementFunction<Message>;
|
|
1102
|
-
mrow: ElementFunction<Message>;
|
|
1103
|
-
ms: ElementFunction<Message>;
|
|
1104
|
-
mscarries: ElementFunction<Message>;
|
|
1105
|
-
mscarry: ElementFunction<Message>;
|
|
1106
|
-
msgroup: ElementFunction<Message>;
|
|
1107
|
-
msline: ElementFunction<Message>;
|
|
1108
|
-
mspace: ElementFunction<Message>;
|
|
1109
|
-
msqrt: ElementFunction<Message>;
|
|
1110
|
-
msrow: ElementFunction<Message>;
|
|
1111
|
-
mstack: ElementFunction<Message>;
|
|
1112
|
-
mstyle: ElementFunction<Message>;
|
|
1113
|
-
msub: ElementFunction<Message>;
|
|
1114
|
-
msubsup: ElementFunction<Message>;
|
|
1115
|
-
msup: ElementFunction<Message>;
|
|
1116
|
-
mtable: ElementFunction<Message>;
|
|
1117
|
-
mtd: ElementFunction<Message>;
|
|
1118
|
-
mtext: ElementFunction<Message>;
|
|
1119
|
-
mtr: ElementFunction<Message>;
|
|
1120
|
-
munder: ElementFunction<Message>;
|
|
1121
|
-
munderover: ElementFunction<Message>;
|
|
1122
|
-
semantics: ElementFunction<Message>;
|
|
1123
|
-
};
|
|
1124
|
-
export declare const htmlElements: <Message>() => HtmlElements<Message>;
|
|
1125
|
-
export type HtmlAttributes<Message> = {
|
|
1126
|
-
Key: (value: string) => {
|
|
1127
|
-
readonly _tag: 'Key';
|
|
1128
|
-
readonly value: string;
|
|
1129
|
-
};
|
|
1130
|
-
Class: (value: string) => {
|
|
1131
|
-
readonly _tag: 'Class';
|
|
1132
|
-
readonly value: string;
|
|
1133
|
-
};
|
|
1134
|
-
Id: (value: string) => {
|
|
1135
|
-
readonly _tag: 'Id';
|
|
1136
|
-
readonly value: string;
|
|
1137
|
-
};
|
|
1138
|
-
Title: (value: string) => {
|
|
1139
|
-
readonly _tag: 'Title';
|
|
1140
|
-
readonly value: string;
|
|
1141
|
-
};
|
|
1142
|
-
Lang: (value: string) => {
|
|
1143
|
-
readonly _tag: 'Lang';
|
|
1144
|
-
readonly value: string;
|
|
1145
|
-
};
|
|
1146
|
-
Dir: (value: string) => {
|
|
1147
|
-
readonly _tag: 'Dir';
|
|
1148
|
-
readonly value: string;
|
|
1149
|
-
};
|
|
1150
|
-
Tabindex: (value: number) => {
|
|
1151
|
-
readonly _tag: 'Tabindex';
|
|
1152
|
-
readonly value: number;
|
|
1153
|
-
};
|
|
1154
|
-
Hidden: (value: boolean) => {
|
|
1155
|
-
readonly _tag: 'Hidden';
|
|
1156
|
-
readonly value: boolean;
|
|
1157
|
-
};
|
|
1158
|
-
OnClick: (message: Message) => {
|
|
1159
|
-
readonly _tag: 'OnClick';
|
|
1160
|
-
readonly message: Message;
|
|
1161
|
-
};
|
|
1162
|
-
OnDblClick: (message: Message) => {
|
|
1163
|
-
readonly _tag: 'OnDblClick';
|
|
1164
|
-
readonly message: Message;
|
|
1165
|
-
};
|
|
1166
|
-
OnMouseDown: (message: Message) => {
|
|
1167
|
-
readonly _tag: 'OnMouseDown';
|
|
1168
|
-
readonly message: Message;
|
|
1169
|
-
};
|
|
1170
|
-
OnMouseUp: (message: Message) => {
|
|
1171
|
-
readonly _tag: 'OnMouseUp';
|
|
1172
|
-
readonly message: Message;
|
|
1173
|
-
};
|
|
1174
|
-
OnMouseEnter: (message: Message) => {
|
|
1175
|
-
readonly _tag: 'OnMouseEnter';
|
|
1176
|
-
readonly message: Message;
|
|
1177
|
-
};
|
|
1178
|
-
OnMouseLeave: (message: Message) => {
|
|
1179
|
-
readonly _tag: 'OnMouseLeave';
|
|
1180
|
-
readonly message: Message;
|
|
1181
|
-
};
|
|
1182
|
-
OnMouseOver: (message: Message) => {
|
|
1183
|
-
readonly _tag: 'OnMouseOver';
|
|
1184
|
-
readonly message: Message;
|
|
1185
|
-
};
|
|
1186
|
-
OnMouseOut: (message: Message) => {
|
|
1187
|
-
readonly _tag: 'OnMouseOut';
|
|
1188
|
-
readonly message: Message;
|
|
1189
|
-
};
|
|
1190
|
-
OnMouseMove: (message: Message) => {
|
|
1191
|
-
readonly _tag: 'OnMouseMove';
|
|
1192
|
-
readonly message: Message;
|
|
1193
|
-
};
|
|
1194
|
-
OnKeyDown: (f: (key: string) => Message) => {
|
|
1195
|
-
readonly _tag: 'OnKeyDown';
|
|
1196
|
-
readonly f: (key: string) => Message;
|
|
1197
|
-
};
|
|
1198
|
-
OnKeyUp: (f: (key: string) => Message) => {
|
|
1199
|
-
readonly _tag: 'OnKeyUp';
|
|
1200
|
-
readonly f: (key: string) => Message;
|
|
1201
|
-
};
|
|
1202
|
-
OnKeyPress: (f: (key: string) => Message) => {
|
|
1203
|
-
readonly _tag: 'OnKeyPress';
|
|
1204
|
-
readonly f: (key: string) => Message;
|
|
1205
|
-
};
|
|
1206
|
-
OnFocus: (message: Message) => {
|
|
1207
|
-
readonly _tag: 'OnFocus';
|
|
1208
|
-
readonly message: Message;
|
|
1209
|
-
};
|
|
1210
|
-
OnBlur: (message: Message) => {
|
|
1211
|
-
readonly _tag: 'OnBlur';
|
|
1212
|
-
readonly message: Message;
|
|
1213
|
-
};
|
|
1214
|
-
OnInput: (f: (value: string) => Message) => {
|
|
1215
|
-
readonly _tag: 'OnInput';
|
|
1216
|
-
readonly f: (value: string) => Message;
|
|
1217
|
-
};
|
|
1218
|
-
OnChange: (f: (value: string) => Message) => {
|
|
1219
|
-
readonly _tag: 'OnChange';
|
|
1220
|
-
readonly f: (value: string) => Message;
|
|
1221
|
-
};
|
|
1222
|
-
OnSubmit: (message: Message) => {
|
|
1223
|
-
readonly _tag: 'OnSubmit';
|
|
1224
|
-
readonly message: Message;
|
|
1225
|
-
};
|
|
1226
|
-
OnReset: (message: Message) => {
|
|
1227
|
-
readonly _tag: 'OnReset';
|
|
1228
|
-
readonly message: Message;
|
|
1229
|
-
};
|
|
1230
|
-
OnScroll: (message: Message) => {
|
|
1231
|
-
readonly _tag: 'OnScroll';
|
|
1232
|
-
readonly message: Message;
|
|
1233
|
-
};
|
|
1234
|
-
OnWheel: (message: Message) => {
|
|
1235
|
-
readonly _tag: 'OnWheel';
|
|
1236
|
-
readonly message: Message;
|
|
1237
|
-
};
|
|
1238
|
-
OnCopy: (message: Message) => {
|
|
1239
|
-
readonly _tag: 'OnCopy';
|
|
1240
|
-
readonly message: Message;
|
|
1241
|
-
};
|
|
1242
|
-
OnCut: (message: Message) => {
|
|
1243
|
-
readonly _tag: 'OnCut';
|
|
1244
|
-
readonly message: Message;
|
|
1245
|
-
};
|
|
1246
|
-
OnPaste: (message: Message) => {
|
|
1247
|
-
readonly _tag: 'OnPaste';
|
|
1248
|
-
readonly message: Message;
|
|
1249
|
-
};
|
|
1250
|
-
Value: (value: string) => {
|
|
1251
|
-
readonly _tag: 'Value';
|
|
1252
|
-
readonly value: string;
|
|
1253
|
-
};
|
|
1254
|
-
Checked: (value: boolean) => {
|
|
1255
|
-
readonly _tag: 'Checked';
|
|
1256
|
-
readonly value: boolean;
|
|
1257
|
-
};
|
|
1258
|
-
Selected: (value: boolean) => {
|
|
1259
|
-
readonly _tag: 'Selected';
|
|
1260
|
-
readonly value: boolean;
|
|
1261
|
-
};
|
|
1262
|
-
Placeholder: (value: string) => {
|
|
1263
|
-
readonly _tag: 'Placeholder';
|
|
1264
|
-
readonly value: string;
|
|
1265
|
-
};
|
|
1266
|
-
Name: (value: string) => {
|
|
1267
|
-
readonly _tag: 'Name';
|
|
1268
|
-
readonly value: string;
|
|
1269
|
-
};
|
|
1270
|
-
Disabled: (value: boolean) => {
|
|
1271
|
-
readonly _tag: 'Disabled';
|
|
1272
|
-
readonly value: boolean;
|
|
1273
|
-
};
|
|
1274
|
-
Readonly: (value: boolean) => {
|
|
1275
|
-
readonly _tag: 'Readonly';
|
|
1276
|
-
readonly value: boolean;
|
|
1277
|
-
};
|
|
1278
|
-
Required: (value: boolean) => {
|
|
1279
|
-
readonly _tag: 'Required';
|
|
1280
|
-
readonly value: boolean;
|
|
1281
|
-
};
|
|
1282
|
-
Autofocus: (value: boolean) => {
|
|
1283
|
-
readonly _tag: 'Autofocus';
|
|
1284
|
-
readonly value: boolean;
|
|
1285
|
-
};
|
|
1286
|
-
Spellcheck: (value: boolean) => {
|
|
1287
|
-
readonly _tag: 'Spellcheck';
|
|
1288
|
-
readonly value: boolean;
|
|
1289
|
-
};
|
|
1290
|
-
Autocorrect: (value: string) => {
|
|
1291
|
-
readonly _tag: 'Autocorrect';
|
|
1292
|
-
readonly value: string;
|
|
1293
|
-
};
|
|
1294
|
-
Autocapitalize: (value: string) => {
|
|
1295
|
-
readonly _tag: 'Autocapitalize';
|
|
1296
|
-
readonly value: string;
|
|
1297
|
-
};
|
|
1298
|
-
InputMode: (value: string) => {
|
|
1299
|
-
readonly _tag: 'InputMode';
|
|
1300
|
-
readonly value: string;
|
|
1301
|
-
};
|
|
1302
|
-
EnterKeyHint: (value: string) => {
|
|
1303
|
-
readonly _tag: 'EnterKeyHint';
|
|
1304
|
-
readonly value: string;
|
|
1305
|
-
};
|
|
1306
|
-
Multiple: (value: boolean) => {
|
|
1307
|
-
readonly _tag: 'Multiple';
|
|
1308
|
-
readonly value: boolean;
|
|
1309
|
-
};
|
|
1310
|
-
Type: (value: string) => {
|
|
1311
|
-
readonly _tag: 'Type';
|
|
1312
|
-
readonly value: string;
|
|
1313
|
-
};
|
|
1314
|
-
Accept: (value: string) => {
|
|
1315
|
-
readonly _tag: 'Accept';
|
|
1316
|
-
readonly value: string;
|
|
1317
|
-
};
|
|
1318
|
-
Autocomplete: (value: string) => {
|
|
1319
|
-
readonly _tag: 'Autocomplete';
|
|
1320
|
-
readonly value: string;
|
|
1321
|
-
};
|
|
1322
|
-
Pattern: (value: string) => {
|
|
1323
|
-
readonly _tag: 'Pattern';
|
|
1324
|
-
readonly value: string;
|
|
1325
|
-
};
|
|
1326
|
-
Maxlength: (value: number) => {
|
|
1327
|
-
readonly _tag: 'Maxlength';
|
|
1328
|
-
readonly value: number;
|
|
1329
|
-
};
|
|
1330
|
-
Minlength: (value: number) => {
|
|
1331
|
-
readonly _tag: 'Minlength';
|
|
1332
|
-
readonly value: number;
|
|
1333
|
-
};
|
|
1334
|
-
Size: (value: number) => {
|
|
1335
|
-
readonly _tag: 'Size';
|
|
1336
|
-
readonly value: number;
|
|
1337
|
-
};
|
|
1338
|
-
Cols: (value: number) => {
|
|
1339
|
-
readonly _tag: 'Cols';
|
|
1340
|
-
readonly value: number;
|
|
1341
|
-
};
|
|
1342
|
-
Rows: (value: number) => {
|
|
1343
|
-
readonly _tag: 'Rows';
|
|
1344
|
-
readonly value: number;
|
|
1345
|
-
};
|
|
1346
|
-
Max: (value: string) => {
|
|
1347
|
-
readonly _tag: 'Max';
|
|
1348
|
-
readonly value: string;
|
|
1349
|
-
};
|
|
1350
|
-
Min: (value: string) => {
|
|
1351
|
-
readonly _tag: 'Min';
|
|
1352
|
-
readonly value: string;
|
|
1353
|
-
};
|
|
1354
|
-
Step: (value: string) => {
|
|
1355
|
-
readonly _tag: 'Step';
|
|
1356
|
-
readonly value: string;
|
|
1357
|
-
};
|
|
1358
|
-
For: (value: string) => {
|
|
1359
|
-
readonly _tag: 'For';
|
|
1360
|
-
readonly value: string;
|
|
1361
|
-
};
|
|
1362
|
-
Href: (value: string) => {
|
|
1363
|
-
readonly _tag: 'Href';
|
|
1364
|
-
readonly value: string;
|
|
1365
|
-
};
|
|
1366
|
-
Src: (value: string) => {
|
|
1367
|
-
readonly _tag: 'Src';
|
|
1368
|
-
readonly value: string;
|
|
1369
|
-
};
|
|
1370
|
-
Alt: (value: string) => {
|
|
1371
|
-
readonly _tag: 'Alt';
|
|
1372
|
-
readonly value: string;
|
|
1373
|
-
};
|
|
1374
|
-
Target: (value: string) => {
|
|
1375
|
-
readonly _tag: 'Target';
|
|
1376
|
-
readonly value: string;
|
|
1377
|
-
};
|
|
1378
|
-
Rel: (value: string) => {
|
|
1379
|
-
readonly _tag: 'Rel';
|
|
1380
|
-
readonly value: string;
|
|
1381
|
-
};
|
|
1382
|
-
Download: (value: string) => {
|
|
1383
|
-
readonly _tag: 'Download';
|
|
1384
|
-
readonly value: string;
|
|
1385
|
-
};
|
|
1386
|
-
Action: (value: string) => {
|
|
1387
|
-
readonly _tag: 'Action';
|
|
1388
|
-
readonly value: string;
|
|
1389
|
-
};
|
|
1390
|
-
Method: (value: string) => {
|
|
1391
|
-
readonly _tag: 'Method';
|
|
1392
|
-
readonly value: string;
|
|
1393
|
-
};
|
|
1394
|
-
Enctype: (value: string) => {
|
|
1395
|
-
readonly _tag: 'Enctype';
|
|
1396
|
-
readonly value: string;
|
|
1397
|
-
};
|
|
1398
|
-
Novalidate: (value: boolean) => {
|
|
1399
|
-
readonly _tag: 'Novalidate';
|
|
1400
|
-
readonly value: boolean;
|
|
1401
|
-
};
|
|
1402
|
-
Role: (value: string) => {
|
|
1403
|
-
readonly _tag: 'Role';
|
|
1404
|
-
readonly value: string;
|
|
1405
|
-
};
|
|
1406
|
-
AriaLabel: (value: string) => {
|
|
1407
|
-
readonly _tag: 'AriaLabel';
|
|
1408
|
-
readonly value: string;
|
|
1409
|
-
};
|
|
1410
|
-
AriaLabelledBy: (value: string) => {
|
|
1411
|
-
readonly _tag: 'AriaLabelledBy';
|
|
1412
|
-
readonly value: string;
|
|
1413
|
-
};
|
|
1414
|
-
AriaDescribedBy: (value: string) => {
|
|
1415
|
-
readonly _tag: 'AriaDescribedBy';
|
|
1416
|
-
readonly value: string;
|
|
1417
|
-
};
|
|
1418
|
-
AriaHidden: (value: boolean) => {
|
|
1419
|
-
readonly _tag: 'AriaHidden';
|
|
1420
|
-
readonly value: boolean;
|
|
1421
|
-
};
|
|
1422
|
-
AriaExpanded: (value: boolean) => {
|
|
1423
|
-
readonly _tag: 'AriaExpanded';
|
|
1424
|
-
readonly value: boolean;
|
|
1425
|
-
};
|
|
1426
|
-
AriaSelected: (value: boolean) => {
|
|
1427
|
-
readonly _tag: 'AriaSelected';
|
|
1428
|
-
readonly value: boolean;
|
|
1429
|
-
};
|
|
1430
|
-
AriaChecked: (value: boolean) => {
|
|
1431
|
-
readonly _tag: 'AriaChecked';
|
|
1432
|
-
readonly value: boolean;
|
|
1433
|
-
};
|
|
1434
|
-
AriaDisabled: (value: boolean) => {
|
|
1435
|
-
readonly _tag: 'AriaDisabled';
|
|
1436
|
-
readonly value: boolean;
|
|
1437
|
-
};
|
|
1438
|
-
AriaRequired: (value: boolean) => {
|
|
1439
|
-
readonly _tag: 'AriaRequired';
|
|
1440
|
-
readonly value: boolean;
|
|
1441
|
-
};
|
|
1442
|
-
AriaInvalid: (value: boolean) => {
|
|
1443
|
-
readonly _tag: 'AriaInvalid';
|
|
1444
|
-
readonly value: boolean;
|
|
1445
|
-
};
|
|
1446
|
-
AriaLive: (value: string) => {
|
|
1447
|
-
readonly _tag: 'AriaLive';
|
|
1448
|
-
readonly value: string;
|
|
1449
|
-
};
|
|
1450
|
-
Attribute: (key: string, value: string) => {
|
|
1451
|
-
readonly _tag: 'Attribute';
|
|
1452
|
-
readonly key: string;
|
|
1453
|
-
readonly value: string;
|
|
1454
|
-
};
|
|
1455
|
-
DataAttribute: (key: string, value: string) => {
|
|
1456
|
-
readonly _tag: 'DataAttribute';
|
|
1457
|
-
readonly key: string;
|
|
1458
|
-
readonly value: string;
|
|
1459
|
-
};
|
|
1460
|
-
Style: (value: Record<string, string>) => {
|
|
1461
|
-
readonly _tag: 'Style';
|
|
1462
|
-
readonly value: Record<string, string>;
|
|
1463
|
-
};
|
|
1464
|
-
InnerHTML: (value: string) => {
|
|
1465
|
-
readonly _tag: 'InnerHTML';
|
|
1466
|
-
readonly value: string;
|
|
1467
|
-
};
|
|
1468
|
-
ViewBox: (value: string) => {
|
|
1469
|
-
readonly _tag: 'ViewBox';
|
|
1470
|
-
readonly value: string;
|
|
1471
|
-
};
|
|
1472
|
-
Xmlns: (value: string) => {
|
|
1473
|
-
readonly _tag: 'Xmlns';
|
|
1474
|
-
readonly value: string;
|
|
1475
|
-
};
|
|
1476
|
-
Fill: (value: string) => {
|
|
1477
|
-
readonly _tag: 'Fill';
|
|
1478
|
-
readonly value: string;
|
|
1479
|
-
};
|
|
1480
|
-
FillRule: (value: string) => {
|
|
1481
|
-
readonly _tag: 'FillRule';
|
|
1482
|
-
readonly value: string;
|
|
1483
|
-
};
|
|
1484
|
-
ClipRule: (value: string) => {
|
|
1485
|
-
readonly _tag: 'ClipRule';
|
|
1486
|
-
readonly value: string;
|
|
1487
|
-
};
|
|
1488
|
-
Stroke: (value: string) => {
|
|
1489
|
-
readonly _tag: 'Stroke';
|
|
1490
|
-
readonly value: string;
|
|
1491
|
-
};
|
|
1492
|
-
StrokeWidth: (value: string) => {
|
|
1493
|
-
readonly _tag: 'StrokeWidth';
|
|
1494
|
-
readonly value: string;
|
|
1495
|
-
};
|
|
1496
|
-
StrokeLinecap: (value: string) => {
|
|
1497
|
-
readonly _tag: 'StrokeLinecap';
|
|
1498
|
-
readonly value: string;
|
|
1499
|
-
};
|
|
1500
|
-
StrokeLinejoin: (value: string) => {
|
|
1501
|
-
readonly _tag: 'StrokeLinejoin';
|
|
1502
|
-
readonly value: string;
|
|
1503
|
-
};
|
|
1504
|
-
D: (value: string) => {
|
|
1505
|
-
readonly _tag: 'D';
|
|
1506
|
-
readonly value: string;
|
|
1507
|
-
};
|
|
1508
|
-
Cx: (value: string) => {
|
|
1509
|
-
readonly _tag: 'Cx';
|
|
1510
|
-
readonly value: string;
|
|
1511
|
-
};
|
|
1512
|
-
Cy: (value: string) => {
|
|
1513
|
-
readonly _tag: 'Cy';
|
|
1514
|
-
readonly value: string;
|
|
1515
|
-
};
|
|
1516
|
-
R: (value: string) => {
|
|
1517
|
-
readonly _tag: 'R';
|
|
1518
|
-
readonly value: string;
|
|
1519
|
-
};
|
|
1520
|
-
X: (value: string) => {
|
|
1521
|
-
readonly _tag: 'X';
|
|
1522
|
-
readonly value: string;
|
|
1523
|
-
};
|
|
1524
|
-
Y: (value: string) => {
|
|
1525
|
-
readonly _tag: 'Y';
|
|
1526
|
-
readonly value: string;
|
|
1527
|
-
};
|
|
1528
|
-
Width: (value: string) => {
|
|
1529
|
-
readonly _tag: 'Width';
|
|
1530
|
-
readonly value: string;
|
|
1531
|
-
};
|
|
1532
|
-
Height: (value: string) => {
|
|
1533
|
-
readonly _tag: 'Height';
|
|
1534
|
-
readonly value: string;
|
|
1535
|
-
};
|
|
1536
|
-
X1: (value: string) => {
|
|
1537
|
-
readonly _tag: 'X1';
|
|
1538
|
-
readonly value: string;
|
|
1539
|
-
};
|
|
1540
|
-
Y1: (value: string) => {
|
|
1541
|
-
readonly _tag: 'Y1';
|
|
1542
|
-
readonly value: string;
|
|
1543
|
-
};
|
|
1544
|
-
X2: (value: string) => {
|
|
1545
|
-
readonly _tag: 'X2';
|
|
1546
|
-
readonly value: string;
|
|
1547
|
-
};
|
|
1548
|
-
Y2: (value: string) => {
|
|
1549
|
-
readonly _tag: 'Y2';
|
|
1550
|
-
readonly value: string;
|
|
1551
|
-
};
|
|
1552
|
-
Points: (value: string) => {
|
|
1553
|
-
readonly _tag: 'Points';
|
|
1554
|
-
readonly value: string;
|
|
1555
|
-
};
|
|
1556
|
-
Transform: (value: string) => {
|
|
1557
|
-
readonly _tag: 'Transform';
|
|
1558
|
-
readonly value: string;
|
|
1559
|
-
};
|
|
1560
|
-
Opacity: (value: string) => {
|
|
1561
|
-
readonly _tag: 'Opacity';
|
|
1562
|
-
readonly value: string;
|
|
1563
|
-
};
|
|
1564
|
-
StrokeDasharray: (value: string) => {
|
|
1565
|
-
readonly _tag: 'StrokeDasharray';
|
|
1566
|
-
readonly value: string;
|
|
1567
|
-
};
|
|
1568
|
-
StrokeDashoffset: (value: string) => {
|
|
1569
|
-
readonly _tag: 'StrokeDashoffset';
|
|
1570
|
-
readonly value: string;
|
|
1571
|
-
};
|
|
1572
|
-
};
|
|
1573
|
-
export declare const htmlAttributes: <Message>() => HtmlAttributes<Message>;
|
|
355
|
+
type ElementFunction<Message> = (attributes: ReadonlyArray<Attribute<Message>>, children: ReadonlyArray<Child>) => Html;
|
|
356
|
+
type VoidElementFunction<Message> = (attributes: ReadonlyArray<Attribute<Message>>) => Html;
|
|
1574
357
|
export declare const html: <Message>() => {
|
|
1575
358
|
empty: Effect.Effect<null, never, never>;
|
|
1576
359
|
keyed: (tagName: TagName) => (key: string, attributes?: readonly AttributeWithoutKey<Message>[], children?: ReadonlyArray<Child>) => Html;
|