0 | module Web.Internal.HtmlTypes
   1 |
   2 | import JS
   3 |
   4 | %default total
   5 |
   6 |
   7 | --------------------------------------------------------------------------------
   8 | --          Enums
   9 | --------------------------------------------------------------------------------
  10 |
  11 | namespace DOMParserSupportedType
  12 |
  13 |   public export
  14 |   data DOMParserSupportedType =
  15 |       TextHtml
  16 |     | TextXml
  17 |     | ApplicationXml
  18 |     | ApplicationXhtmlXml
  19 |     | ImageSvgXml
  20 |
  21 |   public export
  22 |   Show DOMParserSupportedType where
  23 |     show TextHtml = "text/html"
  24 |     show TextXml = "text/xml"
  25 |     show ApplicationXml = "application/xml"
  26 |     show ApplicationXhtmlXml = "application/xhtml+xml"
  27 |     show ImageSvgXml = "image/svg+xml"
  28 |
  29 |   public export
  30 |   Eq DOMParserSupportedType where
  31 |     (==) = (==) `on` show
  32 |
  33 |   public export
  34 |   Ord DOMParserSupportedType where
  35 |     compare = compare `on` show
  36 |
  37 |   public export
  38 |   read : String -> Maybe DOMParserSupportedType
  39 |   read "text/html" = Just TextHtml
  40 |   read "text/xml" = Just TextXml
  41 |   read "application/xml" = Just ApplicationXml
  42 |   read "application/xhtml+xml" = Just ApplicationXhtmlXml
  43 |   read "image/svg+xml" = Just ImageSvgXml
  44 |   read _ = Nothing
  45 |
  46 |   export
  47 |   ToFFI DOMParserSupportedType String where
  48 |     toFFI = show
  49 |
  50 |   export
  51 |   FromFFI DOMParserSupportedType String where
  52 |     fromFFI = read
  53 |
  54 |
  55 | namespace DocumentReadyState
  56 |
  57 |   public export
  58 |   data DocumentReadyState = Loading | Interactive | Complete
  59 |
  60 |   public export
  61 |   Show DocumentReadyState where
  62 |     show Loading = "loading"
  63 |     show Interactive = "interactive"
  64 |     show Complete = "complete"
  65 |
  66 |   public export
  67 |   Eq DocumentReadyState where
  68 |     (==) = (==) `on` show
  69 |
  70 |   public export
  71 |   Ord DocumentReadyState where
  72 |     compare = compare `on` show
  73 |
  74 |   public export
  75 |   read : String -> Maybe DocumentReadyState
  76 |   read "loading" = Just Loading
  77 |   read "interactive" = Just Interactive
  78 |   read "complete" = Just Complete
  79 |   read _ = Nothing
  80 |
  81 |   export
  82 |   ToFFI DocumentReadyState String where
  83 |     toFFI = show
  84 |
  85 |   export
  86 |   FromFFI DocumentReadyState String where
  87 |     fromFFI = read
  88 |
  89 |
  90 | namespace CanPlayTypeResult
  91 |
  92 |   public export
  93 |   data CanPlayTypeResult = Empty | Maybe | Probably
  94 |
  95 |   public export
  96 |   Show CanPlayTypeResult where
  97 |     show Empty = ""
  98 |     show Maybe = "maybe"
  99 |     show Probably = "probably"
 100 |
 101 |   public export
 102 |   Eq CanPlayTypeResult where
 103 |     (==) = (==) `on` show
 104 |
 105 |   public export
 106 |   Ord CanPlayTypeResult where
 107 |     compare = compare `on` show
 108 |
 109 |   public export
 110 |   read : String -> Maybe CanPlayTypeResult
 111 |   read "" = Just Empty
 112 |   read "maybe" = Just Maybe
 113 |   read "probably" = Just Probably
 114 |   read _ = Nothing
 115 |
 116 |   export
 117 |   ToFFI CanPlayTypeResult String where
 118 |     toFFI = show
 119 |
 120 |   export
 121 |   FromFFI CanPlayTypeResult String where
 122 |     fromFFI = read
 123 |
 124 |
 125 | namespace ScrollRestoration
 126 |
 127 |   public export
 128 |   data ScrollRestoration = Auto | Manual
 129 |
 130 |   public export
 131 |   Show ScrollRestoration where
 132 |     show Auto = "auto"
 133 |     show Manual = "manual"
 134 |
 135 |   public export
 136 |   Eq ScrollRestoration where
 137 |     (==) = (==) `on` show
 138 |
 139 |   public export
 140 |   Ord ScrollRestoration where
 141 |     compare = compare `on` show
 142 |
 143 |   public export
 144 |   read : String -> Maybe ScrollRestoration
 145 |   read "auto" = Just Auto
 146 |   read "manual" = Just Manual
 147 |   read _ = Nothing
 148 |
 149 |   export
 150 |   ToFFI ScrollRestoration String where
 151 |     toFFI = show
 152 |
 153 |   export
 154 |   FromFFI ScrollRestoration String where
 155 |     fromFFI = read
 156 |
 157 |
 158 | namespace ImageOrientation
 159 |
 160 |   public export
 161 |   data ImageOrientation = None | FlipY
 162 |
 163 |   public export
 164 |   Show ImageOrientation where
 165 |     show None = "none"
 166 |     show FlipY = "flipY"
 167 |
 168 |   public export
 169 |   Eq ImageOrientation where
 170 |     (==) = (==) `on` show
 171 |
 172 |   public export
 173 |   Ord ImageOrientation where
 174 |     compare = compare `on` show
 175 |
 176 |   public export
 177 |   read : String -> Maybe ImageOrientation
 178 |   read "none" = Just None
 179 |   read "flipY" = Just FlipY
 180 |   read _ = Nothing
 181 |
 182 |   export
 183 |   ToFFI ImageOrientation String where
 184 |     toFFI = show
 185 |
 186 |   export
 187 |   FromFFI ImageOrientation String where
 188 |     fromFFI = read
 189 |
 190 |
 191 | namespace PremultiplyAlpha
 192 |
 193 |   public export
 194 |   data PremultiplyAlpha = None | Premultiply | Default
 195 |
 196 |   public export
 197 |   Show PremultiplyAlpha where
 198 |     show None = "none"
 199 |     show Premultiply = "premultiply"
 200 |     show Default = "default"
 201 |
 202 |   public export
 203 |   Eq PremultiplyAlpha where
 204 |     (==) = (==) `on` show
 205 |
 206 |   public export
 207 |   Ord PremultiplyAlpha where
 208 |     compare = compare `on` show
 209 |
 210 |   public export
 211 |   read : String -> Maybe PremultiplyAlpha
 212 |   read "none" = Just None
 213 |   read "premultiply" = Just Premultiply
 214 |   read "default" = Just Default
 215 |   read _ = Nothing
 216 |
 217 |   export
 218 |   ToFFI PremultiplyAlpha String where
 219 |     toFFI = show
 220 |
 221 |   export
 222 |   FromFFI PremultiplyAlpha String where
 223 |     fromFFI = read
 224 |
 225 |
 226 | namespace ColorSpaceConversion
 227 |
 228 |   public export
 229 |   data ColorSpaceConversion = None | Default
 230 |
 231 |   public export
 232 |   Show ColorSpaceConversion where
 233 |     show None = "none"
 234 |     show Default = "default"
 235 |
 236 |   public export
 237 |   Eq ColorSpaceConversion where
 238 |     (==) = (==) `on` show
 239 |
 240 |   public export
 241 |   Ord ColorSpaceConversion where
 242 |     compare = compare `on` show
 243 |
 244 |   public export
 245 |   read : String -> Maybe ColorSpaceConversion
 246 |   read "none" = Just None
 247 |   read "default" = Just Default
 248 |   read _ = Nothing
 249 |
 250 |   export
 251 |   ToFFI ColorSpaceConversion String where
 252 |     toFFI = show
 253 |
 254 |   export
 255 |   FromFFI ColorSpaceConversion String where
 256 |     fromFFI = read
 257 |
 258 |
 259 | namespace ResizeQuality
 260 |
 261 |   public export
 262 |   data ResizeQuality = Pixelated | Low | Medium | High
 263 |
 264 |   public export
 265 |   Show ResizeQuality where
 266 |     show Pixelated = "pixelated"
 267 |     show Low = "low"
 268 |     show Medium = "medium"
 269 |     show High = "high"
 270 |
 271 |   public export
 272 |   Eq ResizeQuality where
 273 |     (==) = (==) `on` show
 274 |
 275 |   public export
 276 |   Ord ResizeQuality where
 277 |     compare = compare `on` show
 278 |
 279 |   public export
 280 |   read : String -> Maybe ResizeQuality
 281 |   read "pixelated" = Just Pixelated
 282 |   read "low" = Just Low
 283 |   read "medium" = Just Medium
 284 |   read "high" = Just High
 285 |   read _ = Nothing
 286 |
 287 |   export
 288 |   ToFFI ResizeQuality String where
 289 |     toFFI = show
 290 |
 291 |   export
 292 |   FromFFI ResizeQuality String where
 293 |     fromFFI = read
 294 |
 295 |
 296 | namespace CanvasFillRule
 297 |
 298 |   public export
 299 |   data CanvasFillRule = Nonzero | Evenodd
 300 |
 301 |   public export
 302 |   Show CanvasFillRule where
 303 |     show Nonzero = "nonzero"
 304 |     show Evenodd = "evenodd"
 305 |
 306 |   public export
 307 |   Eq CanvasFillRule where
 308 |     (==) = (==) `on` show
 309 |
 310 |   public export
 311 |   Ord CanvasFillRule where
 312 |     compare = compare `on` show
 313 |
 314 |   public export
 315 |   read : String -> Maybe CanvasFillRule
 316 |   read "nonzero" = Just Nonzero
 317 |   read "evenodd" = Just Evenodd
 318 |   read _ = Nothing
 319 |
 320 |   export
 321 |   ToFFI CanvasFillRule String where
 322 |     toFFI = show
 323 |
 324 |   export
 325 |   FromFFI CanvasFillRule String where
 326 |     fromFFI = read
 327 |
 328 |
 329 | namespace ImageSmoothingQuality
 330 |
 331 |   public export
 332 |   data ImageSmoothingQuality = Low | Medium | High
 333 |
 334 |   public export
 335 |   Show ImageSmoothingQuality where
 336 |     show Low = "low"
 337 |     show Medium = "medium"
 338 |     show High = "high"
 339 |
 340 |   public export
 341 |   Eq ImageSmoothingQuality where
 342 |     (==) = (==) `on` show
 343 |
 344 |   public export
 345 |   Ord ImageSmoothingQuality where
 346 |     compare = compare `on` show
 347 |
 348 |   public export
 349 |   read : String -> Maybe ImageSmoothingQuality
 350 |   read "low" = Just Low
 351 |   read "medium" = Just Medium
 352 |   read "high" = Just High
 353 |   read _ = Nothing
 354 |
 355 |   export
 356 |   ToFFI ImageSmoothingQuality String where
 357 |     toFFI = show
 358 |
 359 |   export
 360 |   FromFFI ImageSmoothingQuality String where
 361 |     fromFFI = read
 362 |
 363 |
 364 | namespace CanvasLineCap
 365 |
 366 |   public export
 367 |   data CanvasLineCap = Butt | Round | Square
 368 |
 369 |   public export
 370 |   Show CanvasLineCap where
 371 |     show Butt = "butt"
 372 |     show Round = "round"
 373 |     show Square = "square"
 374 |
 375 |   public export
 376 |   Eq CanvasLineCap where
 377 |     (==) = (==) `on` show
 378 |
 379 |   public export
 380 |   Ord CanvasLineCap where
 381 |     compare = compare `on` show
 382 |
 383 |   public export
 384 |   read : String -> Maybe CanvasLineCap
 385 |   read "butt" = Just Butt
 386 |   read "round" = Just Round
 387 |   read "square" = Just Square
 388 |   read _ = Nothing
 389 |
 390 |   export
 391 |   ToFFI CanvasLineCap String where
 392 |     toFFI = show
 393 |
 394 |   export
 395 |   FromFFI CanvasLineCap String where
 396 |     fromFFI = read
 397 |
 398 |
 399 | namespace CanvasLineJoin
 400 |
 401 |   public export
 402 |   data CanvasLineJoin = Round | Bevel | Miter
 403 |
 404 |   public export
 405 |   Show CanvasLineJoin where
 406 |     show Round = "round"
 407 |     show Bevel = "bevel"
 408 |     show Miter = "miter"
 409 |
 410 |   public export
 411 |   Eq CanvasLineJoin where
 412 |     (==) = (==) `on` show
 413 |
 414 |   public export
 415 |   Ord CanvasLineJoin where
 416 |     compare = compare `on` show
 417 |
 418 |   public export
 419 |   read : String -> Maybe CanvasLineJoin
 420 |   read "round" = Just Round
 421 |   read "bevel" = Just Bevel
 422 |   read "miter" = Just Miter
 423 |   read _ = Nothing
 424 |
 425 |   export
 426 |   ToFFI CanvasLineJoin String where
 427 |     toFFI = show
 428 |
 429 |   export
 430 |   FromFFI CanvasLineJoin String where
 431 |     fromFFI = read
 432 |
 433 |
 434 | namespace CanvasTextAlign
 435 |
 436 |   public export
 437 |   data CanvasTextAlign = Start | End | Left | Right | Center
 438 |
 439 |   public export
 440 |   Show CanvasTextAlign where
 441 |     show Start = "start"
 442 |     show End = "end"
 443 |     show Left = "left"
 444 |     show Right = "right"
 445 |     show Center = "center"
 446 |
 447 |   public export
 448 |   Eq CanvasTextAlign where
 449 |     (==) = (==) `on` show
 450 |
 451 |   public export
 452 |   Ord CanvasTextAlign where
 453 |     compare = compare `on` show
 454 |
 455 |   public export
 456 |   read : String -> Maybe CanvasTextAlign
 457 |   read "start" = Just Start
 458 |   read "end" = Just End
 459 |   read "left" = Just Left
 460 |   read "right" = Just Right
 461 |   read "center" = Just Center
 462 |   read _ = Nothing
 463 |
 464 |   export
 465 |   ToFFI CanvasTextAlign String where
 466 |     toFFI = show
 467 |
 468 |   export
 469 |   FromFFI CanvasTextAlign String where
 470 |     fromFFI = read
 471 |
 472 |
 473 | namespace CanvasTextBaseline
 474 |
 475 |   public export
 476 |   data CanvasTextBaseline =
 477 |       Top
 478 |     | Hanging
 479 |     | Middle
 480 |     | Alphabetic
 481 |     | Ideographic
 482 |     | Bottom
 483 |
 484 |   public export
 485 |   Show CanvasTextBaseline where
 486 |     show Top = "top"
 487 |     show Hanging = "hanging"
 488 |     show Middle = "middle"
 489 |     show Alphabetic = "alphabetic"
 490 |     show Ideographic = "ideographic"
 491 |     show Bottom = "bottom"
 492 |
 493 |   public export
 494 |   Eq CanvasTextBaseline where
 495 |     (==) = (==) `on` show
 496 |
 497 |   public export
 498 |   Ord CanvasTextBaseline where
 499 |     compare = compare `on` show
 500 |
 501 |   public export
 502 |   read : String -> Maybe CanvasTextBaseline
 503 |   read "top" = Just Top
 504 |   read "hanging" = Just Hanging
 505 |   read "middle" = Just Middle
 506 |   read "alphabetic" = Just Alphabetic
 507 |   read "ideographic" = Just Ideographic
 508 |   read "bottom" = Just Bottom
 509 |   read _ = Nothing
 510 |
 511 |   export
 512 |   ToFFI CanvasTextBaseline String where
 513 |     toFFI = show
 514 |
 515 |   export
 516 |   FromFFI CanvasTextBaseline String where
 517 |     fromFFI = read
 518 |
 519 |
 520 | namespace CanvasDirection
 521 |
 522 |   public export
 523 |   data CanvasDirection = Ltr | Rtl | Inherit
 524 |
 525 |   public export
 526 |   Show CanvasDirection where
 527 |     show Ltr = "ltr"
 528 |     show Rtl = "rtl"
 529 |     show Inherit = "inherit"
 530 |
 531 |   public export
 532 |   Eq CanvasDirection where
 533 |     (==) = (==) `on` show
 534 |
 535 |   public export
 536 |   Ord CanvasDirection where
 537 |     compare = compare `on` show
 538 |
 539 |   public export
 540 |   read : String -> Maybe CanvasDirection
 541 |   read "ltr" = Just Ltr
 542 |   read "rtl" = Just Rtl
 543 |   read "inherit" = Just Inherit
 544 |   read _ = Nothing
 545 |
 546 |   export
 547 |   ToFFI CanvasDirection String where
 548 |     toFFI = show
 549 |
 550 |   export
 551 |   FromFFI CanvasDirection String where
 552 |     fromFFI = read
 553 |
 554 |
 555 | namespace OffscreenRenderingContextId
 556 |
 557 |   public export
 558 |   data OffscreenRenderingContextId = TwoD | Bitmaprenderer | Webgl | Webgl2
 559 |
 560 |   public export
 561 |   Show OffscreenRenderingContextId where
 562 |     show TwoD = "2d"
 563 |     show Bitmaprenderer = "bitmaprenderer"
 564 |     show Webgl = "webgl"
 565 |     show Webgl2 = "webgl2"
 566 |
 567 |   public export
 568 |   Eq OffscreenRenderingContextId where
 569 |     (==) = (==) `on` show
 570 |
 571 |   public export
 572 |   Ord OffscreenRenderingContextId where
 573 |     compare = compare `on` show
 574 |
 575 |   public export
 576 |   read : String -> Maybe OffscreenRenderingContextId
 577 |   read "2d" = Just TwoD
 578 |   read "bitmaprenderer" = Just Bitmaprenderer
 579 |   read "webgl" = Just Webgl
 580 |   read "webgl2" = Just Webgl2
 581 |   read _ = Nothing
 582 |
 583 |   export
 584 |   ToFFI OffscreenRenderingContextId String where
 585 |     toFFI = show
 586 |
 587 |   export
 588 |   FromFFI OffscreenRenderingContextId String where
 589 |     fromFFI = read
 590 |
 591 |
 592 | namespace TextTrackMode
 593 |
 594 |   public export
 595 |   data TextTrackMode = Disabled | Hidden | Showing
 596 |
 597 |   public export
 598 |   Show TextTrackMode where
 599 |     show Disabled = "disabled"
 600 |     show Hidden = "hidden"
 601 |     show Showing = "showing"
 602 |
 603 |   public export
 604 |   Eq TextTrackMode where
 605 |     (==) = (==) `on` show
 606 |
 607 |   public export
 608 |   Ord TextTrackMode where
 609 |     compare = compare `on` show
 610 |
 611 |   public export
 612 |   read : String -> Maybe TextTrackMode
 613 |   read "disabled" = Just Disabled
 614 |   read "hidden" = Just Hidden
 615 |   read "showing" = Just Showing
 616 |   read _ = Nothing
 617 |
 618 |   export
 619 |   ToFFI TextTrackMode String where
 620 |     toFFI = show
 621 |
 622 |   export
 623 |   FromFFI TextTrackMode String where
 624 |     fromFFI = read
 625 |
 626 |
 627 | namespace TextTrackKind
 628 |
 629 |   public export
 630 |   data TextTrackKind = Subtitles | Captions | Descriptions | Chapters | Metadata
 631 |
 632 |   public export
 633 |   Show TextTrackKind where
 634 |     show Subtitles = "subtitles"
 635 |     show Captions = "captions"
 636 |     show Descriptions = "descriptions"
 637 |     show Chapters = "chapters"
 638 |     show Metadata = "metadata"
 639 |
 640 |   public export
 641 |   Eq TextTrackKind where
 642 |     (==) = (==) `on` show
 643 |
 644 |   public export
 645 |   Ord TextTrackKind where
 646 |     compare = compare `on` show
 647 |
 648 |   public export
 649 |   read : String -> Maybe TextTrackKind
 650 |   read "subtitles" = Just Subtitles
 651 |   read "captions" = Just Captions
 652 |   read "descriptions" = Just Descriptions
 653 |   read "chapters" = Just Chapters
 654 |   read "metadata" = Just Metadata
 655 |   read _ = Nothing
 656 |
 657 |   export
 658 |   ToFFI TextTrackKind String where
 659 |     toFFI = show
 660 |
 661 |   export
 662 |   FromFFI TextTrackKind String where
 663 |     fromFFI = read
 664 |
 665 |
 666 | namespace BinaryType
 667 |
 668 |   public export
 669 |   data BinaryType = Blob | Arraybuffer
 670 |
 671 |   public export
 672 |   Show BinaryType where
 673 |     show Blob = "blob"
 674 |     show Arraybuffer = "arraybuffer"
 675 |
 676 |   public export
 677 |   Eq BinaryType where
 678 |     (==) = (==) `on` show
 679 |
 680 |   public export
 681 |   Ord BinaryType where
 682 |     compare = compare `on` show
 683 |
 684 |   public export
 685 |   read : String -> Maybe BinaryType
 686 |   read "blob" = Just Blob
 687 |   read "arraybuffer" = Just Arraybuffer
 688 |   read _ = Nothing
 689 |
 690 |   export
 691 |   ToFFI BinaryType String where
 692 |     toFFI = show
 693 |
 694 |   export
 695 |   FromFFI BinaryType String where
 696 |     fromFFI = read
 697 |
 698 |
 699 | namespace WorkerType
 700 |
 701 |   public export
 702 |   data WorkerType = Classic | Module
 703 |
 704 |   public export
 705 |   Show WorkerType where
 706 |     show Classic = "classic"
 707 |     show Module = "module"
 708 |
 709 |   public export
 710 |   Eq WorkerType where
 711 |     (==) = (==) `on` show
 712 |
 713 |   public export
 714 |   Ord WorkerType where
 715 |     compare = compare `on` show
 716 |
 717 |   public export
 718 |   read : String -> Maybe WorkerType
 719 |   read "classic" = Just Classic
 720 |   read "module" = Just Module
 721 |   read _ = Nothing
 722 |
 723 |   export
 724 |   ToFFI WorkerType String where
 725 |     toFFI = show
 726 |
 727 |   export
 728 |   FromFFI WorkerType String where
 729 |     fromFFI = read
 730 |
 731 |
 732 | namespace SelectionMode
 733 |
 734 |   public export
 735 |   data SelectionMode = Select | Start | End | Preserve
 736 |
 737 |   public export
 738 |   Show SelectionMode where
 739 |     show Select = "select"
 740 |     show Start = "start"
 741 |     show End = "end"
 742 |     show Preserve = "preserve"
 743 |
 744 |   public export
 745 |   Eq SelectionMode where
 746 |     (==) = (==) `on` show
 747 |
 748 |   public export
 749 |   Ord SelectionMode where
 750 |     compare = compare `on` show
 751 |
 752 |   public export
 753 |   read : String -> Maybe SelectionMode
 754 |   read "select" = Just Select
 755 |   read "start" = Just Start
 756 |   read "end" = Just End
 757 |   read "preserve" = Just Preserve
 758 |   read _ = Nothing
 759 |
 760 |   export
 761 |   ToFFI SelectionMode String where
 762 |     toFFI = show
 763 |
 764 |   export
 765 |   FromFFI SelectionMode String where
 766 |     fromFFI = read
 767 |
 768 |
 769 |
 770 | --------------------------------------------------------------------------------
 771 | --          Interfaces
 772 | --------------------------------------------------------------------------------
 773 |
 774 | export data AudioTrack : Type where [external]
 775 |
 776 | export
 777 | ToFFI AudioTrack AudioTrack where toFFI = id
 778 |
 779 | export
 780 | FromFFI AudioTrack AudioTrack where fromFFI = Just
 781 |
 782 | export
 783 | SafeCast AudioTrack where
 784 |   safeCast = unsafeCastOnPrototypeName "AudioTrack"
 785 |
 786 | export data AudioTrackList : Type where [external]
 787 |
 788 | export
 789 | ToFFI AudioTrackList AudioTrackList where toFFI = id
 790 |
 791 | export
 792 | FromFFI AudioTrackList AudioTrackList where fromFFI = Just
 793 |
 794 | export
 795 | SafeCast AudioTrackList where
 796 |   safeCast = unsafeCastOnPrototypeName "AudioTrackList"
 797 |
 798 | export data BarProp : Type where [external]
 799 |
 800 | export
 801 | ToFFI BarProp BarProp where toFFI = id
 802 |
 803 | export
 804 | FromFFI BarProp BarProp where fromFFI = Just
 805 |
 806 | export
 807 | SafeCast BarProp where
 808 |   safeCast = unsafeCastOnPrototypeName "BarProp"
 809 |
 810 | export data BeforeUnloadEvent : Type where [external]
 811 |
 812 | export
 813 | ToFFI BeforeUnloadEvent BeforeUnloadEvent where toFFI = id
 814 |
 815 | export
 816 | FromFFI BeforeUnloadEvent BeforeUnloadEvent where fromFFI = Just
 817 |
 818 | export
 819 | SafeCast BeforeUnloadEvent where
 820 |   safeCast = unsafeCastOnPrototypeName "BeforeUnloadEvent"
 821 |
 822 | export data BroadcastChannel : Type where [external]
 823 |
 824 | export
 825 | ToFFI BroadcastChannel BroadcastChannel where toFFI = id
 826 |
 827 | export
 828 | FromFFI BroadcastChannel BroadcastChannel where fromFFI = Just
 829 |
 830 | export
 831 | SafeCast BroadcastChannel where
 832 |   safeCast = unsafeCastOnPrototypeName "BroadcastChannel"
 833 |
 834 | export data CanvasGradient : Type where [external]
 835 |
 836 | export
 837 | ToFFI CanvasGradient CanvasGradient where toFFI = id
 838 |
 839 | export
 840 | FromFFI CanvasGradient CanvasGradient where fromFFI = Just
 841 |
 842 | export
 843 | SafeCast CanvasGradient where
 844 |   safeCast = unsafeCastOnPrototypeName "CanvasGradient"
 845 |
 846 | export data CanvasPattern : Type where [external]
 847 |
 848 | export
 849 | ToFFI CanvasPattern CanvasPattern where toFFI = id
 850 |
 851 | export
 852 | FromFFI CanvasPattern CanvasPattern where fromFFI = Just
 853 |
 854 | export
 855 | SafeCast CanvasPattern where
 856 |   safeCast = unsafeCastOnPrototypeName "CanvasPattern"
 857 |
 858 | export data CanvasRenderingContext2D : Type where [external]
 859 |
 860 | export
 861 | ToFFI CanvasRenderingContext2D CanvasRenderingContext2D where toFFI = id
 862 |
 863 | export
 864 | FromFFI CanvasRenderingContext2D CanvasRenderingContext2D where fromFFI = Just
 865 |
 866 | export
 867 | SafeCast CanvasRenderingContext2D where
 868 |   safeCast = unsafeCastOnPrototypeName "CanvasRenderingContext2D"
 869 |
 870 | export data CloseEvent : Type where [external]
 871 |
 872 | export
 873 | ToFFI CloseEvent CloseEvent where toFFI = id
 874 |
 875 | export
 876 | FromFFI CloseEvent CloseEvent where fromFFI = Just
 877 |
 878 | export
 879 | SafeCast CloseEvent where
 880 |   safeCast = unsafeCastOnPrototypeName "CloseEvent"
 881 |
 882 | export data CustomElementRegistry : Type where [external]
 883 |
 884 | export
 885 | ToFFI CustomElementRegistry CustomElementRegistry where toFFI = id
 886 |
 887 | export
 888 | FromFFI CustomElementRegistry CustomElementRegistry where fromFFI = Just
 889 |
 890 | export
 891 | SafeCast CustomElementRegistry where
 892 |   safeCast = unsafeCastOnPrototypeName "CustomElementRegistry"
 893 |
 894 | export data DOMParser : Type where [external]
 895 |
 896 | export
 897 | ToFFI DOMParser DOMParser where toFFI = id
 898 |
 899 | export
 900 | FromFFI DOMParser DOMParser where fromFFI = Just
 901 |
 902 | export
 903 | SafeCast DOMParser where
 904 |   safeCast = unsafeCastOnPrototypeName "DOMParser"
 905 |
 906 | export data DOMStringList : Type where [external]
 907 |
 908 | export
 909 | ToFFI DOMStringList DOMStringList where toFFI = id
 910 |
 911 | export
 912 | FromFFI DOMStringList DOMStringList where fromFFI = Just
 913 |
 914 | export
 915 | SafeCast DOMStringList where
 916 |   safeCast = unsafeCastOnPrototypeName "DOMStringList"
 917 |
 918 | export data DOMStringMap : Type where [external]
 919 |
 920 | export
 921 | ToFFI DOMStringMap DOMStringMap where toFFI = id
 922 |
 923 | export
 924 | FromFFI DOMStringMap DOMStringMap where fromFFI = Just
 925 |
 926 | export
 927 | SafeCast DOMStringMap where
 928 |   safeCast = unsafeCastOnPrototypeName "DOMStringMap"
 929 |
 930 | export data DataTransfer : Type where [external]
 931 |
 932 | export
 933 | ToFFI DataTransfer DataTransfer where toFFI = id
 934 |
 935 | export
 936 | FromFFI DataTransfer DataTransfer where fromFFI = Just
 937 |
 938 | export
 939 | SafeCast DataTransfer where
 940 |   safeCast = unsafeCastOnPrototypeName "DataTransfer"
 941 |
 942 | export data DataTransferItem : Type where [external]
 943 |
 944 | export
 945 | ToFFI DataTransferItem DataTransferItem where toFFI = id
 946 |
 947 | export
 948 | FromFFI DataTransferItem DataTransferItem where fromFFI = Just
 949 |
 950 | export
 951 | SafeCast DataTransferItem where
 952 |   safeCast = unsafeCastOnPrototypeName "DataTransferItem"
 953 |
 954 | export data DataTransferItemList : Type where [external]
 955 |
 956 | export
 957 | ToFFI DataTransferItemList DataTransferItemList where toFFI = id
 958 |
 959 | export
 960 | FromFFI DataTransferItemList DataTransferItemList where fromFFI = Just
 961 |
 962 | export
 963 | SafeCast DataTransferItemList where
 964 |   safeCast = unsafeCastOnPrototypeName "DataTransferItemList"
 965 |
 966 | export data DedicatedWorkerGlobalScope : Type where [external]
 967 |
 968 | export
 969 | ToFFI DedicatedWorkerGlobalScope DedicatedWorkerGlobalScope where toFFI = id
 970 |
 971 | export
 972 | FromFFI DedicatedWorkerGlobalScope DedicatedWorkerGlobalScope where fromFFI = Just
 973 |
 974 | export
 975 | SafeCast DedicatedWorkerGlobalScope where
 976 |   safeCast = unsafeCastOnPrototypeName "DedicatedWorkerGlobalScope"
 977 |
 978 | export data DragEvent : Type where [external]
 979 |
 980 | export
 981 | ToFFI DragEvent DragEvent where toFFI = id
 982 |
 983 | export
 984 | FromFFI DragEvent DragEvent where fromFFI = Just
 985 |
 986 | export
 987 | SafeCast DragEvent where
 988 |   safeCast = unsafeCastOnPrototypeName "DragEvent"
 989 |
 990 | export data ElementInternals : Type where [external]
 991 |
 992 | export
 993 | ToFFI ElementInternals ElementInternals where toFFI = id
 994 |
 995 | export
 996 | FromFFI ElementInternals ElementInternals where fromFFI = Just
 997 |
 998 | export
 999 | SafeCast ElementInternals where
1000 |   safeCast = unsafeCastOnPrototypeName "ElementInternals"
1001 |
1002 | export data ErrorEvent : Type where [external]
1003 |
1004 | export
1005 | ToFFI ErrorEvent ErrorEvent where toFFI = id
1006 |
1007 | export
1008 | FromFFI ErrorEvent ErrorEvent where fromFFI = Just
1009 |
1010 | export
1011 | SafeCast ErrorEvent where
1012 |   safeCast = unsafeCastOnPrototypeName "ErrorEvent"
1013 |
1014 | export data EventSource : Type where [external]
1015 |
1016 | export
1017 | ToFFI EventSource EventSource where toFFI = id
1018 |
1019 | export
1020 | FromFFI EventSource EventSource where fromFFI = Just
1021 |
1022 | export
1023 | SafeCast EventSource where
1024 |   safeCast = unsafeCastOnPrototypeName "EventSource"
1025 |
1026 | export data External : Type where [external]
1027 |
1028 | export
1029 | ToFFI External External where toFFI = id
1030 |
1031 | export
1032 | FromFFI External External where fromFFI = Just
1033 |
1034 | export
1035 | SafeCast External where
1036 |   safeCast = unsafeCastOnPrototypeName "External"
1037 |
1038 | export data FormDataEvent : Type where [external]
1039 |
1040 | export
1041 | ToFFI FormDataEvent FormDataEvent where toFFI = id
1042 |
1043 | export
1044 | FromFFI FormDataEvent FormDataEvent where fromFFI = Just
1045 |
1046 | export
1047 | SafeCast FormDataEvent where
1048 |   safeCast = unsafeCastOnPrototypeName "FormDataEvent"
1049 |
1050 | export data HTMLAllCollection : Type where [external]
1051 |
1052 | export
1053 | ToFFI HTMLAllCollection HTMLAllCollection where toFFI = id
1054 |
1055 | export
1056 | FromFFI HTMLAllCollection HTMLAllCollection where fromFFI = Just
1057 |
1058 | export
1059 | SafeCast HTMLAllCollection where
1060 |   safeCast = unsafeCastOnPrototypeName "HTMLAllCollection"
1061 |
1062 | export data HTMLAnchorElement : Type where [external]
1063 |
1064 | export
1065 | ToFFI HTMLAnchorElement HTMLAnchorElement where toFFI = id
1066 |
1067 | export
1068 | FromFFI HTMLAnchorElement HTMLAnchorElement where fromFFI = Just
1069 |
1070 | export
1071 | SafeCast HTMLAnchorElement where
1072 |   safeCast = unsafeCastOnPrototypeName "HTMLAnchorElement"
1073 |
1074 | export data HTMLAreaElement : Type where [external]
1075 |
1076 | export
1077 | ToFFI HTMLAreaElement HTMLAreaElement where toFFI = id
1078 |
1079 | export
1080 | FromFFI HTMLAreaElement HTMLAreaElement where fromFFI = Just
1081 |
1082 | export
1083 | SafeCast HTMLAreaElement where
1084 |   safeCast = unsafeCastOnPrototypeName "HTMLAreaElement"
1085 |
1086 | export data HTMLAudioElement : Type where [external]
1087 |
1088 | export
1089 | ToFFI HTMLAudioElement HTMLAudioElement where toFFI = id
1090 |
1091 | export
1092 | FromFFI HTMLAudioElement HTMLAudioElement where fromFFI = Just
1093 |
1094 | export
1095 | SafeCast HTMLAudioElement where
1096 |   safeCast = unsafeCastOnPrototypeName "HTMLAudioElement"
1097 |
1098 | export data HTMLBRElement : Type where [external]
1099 |
1100 | export
1101 | ToFFI HTMLBRElement HTMLBRElement where toFFI = id
1102 |
1103 | export
1104 | FromFFI HTMLBRElement HTMLBRElement where fromFFI = Just
1105 |
1106 | export
1107 | SafeCast HTMLBRElement where
1108 |   safeCast = unsafeCastOnPrototypeName "HTMLBRElement"
1109 |
1110 | export data HTMLBaseElement : Type where [external]
1111 |
1112 | export
1113 | ToFFI HTMLBaseElement HTMLBaseElement where toFFI = id
1114 |
1115 | export
1116 | FromFFI HTMLBaseElement HTMLBaseElement where fromFFI = Just
1117 |
1118 | export
1119 | SafeCast HTMLBaseElement where
1120 |   safeCast = unsafeCastOnPrototypeName "HTMLBaseElement"
1121 |
1122 | export data HTMLBodyElement : Type where [external]
1123 |
1124 | export
1125 | ToFFI HTMLBodyElement HTMLBodyElement where toFFI = id
1126 |
1127 | export
1128 | FromFFI HTMLBodyElement HTMLBodyElement where fromFFI = Just
1129 |
1130 | export
1131 | SafeCast HTMLBodyElement where
1132 |   safeCast = unsafeCastOnPrototypeName "HTMLBodyElement"
1133 |
1134 | export data HTMLButtonElement : Type where [external]
1135 |
1136 | export
1137 | ToFFI HTMLButtonElement HTMLButtonElement where toFFI = id
1138 |
1139 | export
1140 | FromFFI HTMLButtonElement HTMLButtonElement where fromFFI = Just
1141 |
1142 | export
1143 | SafeCast HTMLButtonElement where
1144 |   safeCast = unsafeCastOnPrototypeName "HTMLButtonElement"
1145 |
1146 | export data HTMLCanvasElement : Type where [external]
1147 |
1148 | export
1149 | ToFFI HTMLCanvasElement HTMLCanvasElement where toFFI = id
1150 |
1151 | export
1152 | FromFFI HTMLCanvasElement HTMLCanvasElement where fromFFI = Just
1153 |
1154 | export
1155 | SafeCast HTMLCanvasElement where
1156 |   safeCast = unsafeCastOnPrototypeName "HTMLCanvasElement"
1157 |
1158 | export data HTMLDListElement : Type where [external]
1159 |
1160 | export
1161 | ToFFI HTMLDListElement HTMLDListElement where toFFI = id
1162 |
1163 | export
1164 | FromFFI HTMLDListElement HTMLDListElement where fromFFI = Just
1165 |
1166 | export
1167 | SafeCast HTMLDListElement where
1168 |   safeCast = unsafeCastOnPrototypeName "HTMLDListElement"
1169 |
1170 | export data HTMLDataElement : Type where [external]
1171 |
1172 | export
1173 | ToFFI HTMLDataElement HTMLDataElement where toFFI = id
1174 |
1175 | export
1176 | FromFFI HTMLDataElement HTMLDataElement where fromFFI = Just
1177 |
1178 | export
1179 | SafeCast HTMLDataElement where
1180 |   safeCast = unsafeCastOnPrototypeName "HTMLDataElement"
1181 |
1182 | export data HTMLDataListElement : Type where [external]
1183 |
1184 | export
1185 | ToFFI HTMLDataListElement HTMLDataListElement where toFFI = id
1186 |
1187 | export
1188 | FromFFI HTMLDataListElement HTMLDataListElement where fromFFI = Just
1189 |
1190 | export
1191 | SafeCast HTMLDataListElement where
1192 |   safeCast = unsafeCastOnPrototypeName "HTMLDataListElement"
1193 |
1194 | export data HTMLDetailsElement : Type where [external]
1195 |
1196 | export
1197 | ToFFI HTMLDetailsElement HTMLDetailsElement where toFFI = id
1198 |
1199 | export
1200 | FromFFI HTMLDetailsElement HTMLDetailsElement where fromFFI = Just
1201 |
1202 | export
1203 | SafeCast HTMLDetailsElement where
1204 |   safeCast = unsafeCastOnPrototypeName "HTMLDetailsElement"
1205 |
1206 | export data HTMLDialogElement : Type where [external]
1207 |
1208 | export
1209 | ToFFI HTMLDialogElement HTMLDialogElement where toFFI = id
1210 |
1211 | export
1212 | FromFFI HTMLDialogElement HTMLDialogElement where fromFFI = Just
1213 |
1214 | export
1215 | SafeCast HTMLDialogElement where
1216 |   safeCast = unsafeCastOnPrototypeName "HTMLDialogElement"
1217 |
1218 | export data HTMLDirectoryElement : Type where [external]
1219 |
1220 | export
1221 | ToFFI HTMLDirectoryElement HTMLDirectoryElement where toFFI = id
1222 |
1223 | export
1224 | FromFFI HTMLDirectoryElement HTMLDirectoryElement where fromFFI = Just
1225 |
1226 | export
1227 | SafeCast HTMLDirectoryElement where
1228 |   safeCast = unsafeCastOnPrototypeName "HTMLDirectoryElement"
1229 |
1230 | export data HTMLDivElement : Type where [external]
1231 |
1232 | export
1233 | ToFFI HTMLDivElement HTMLDivElement where toFFI = id
1234 |
1235 | export
1236 | FromFFI HTMLDivElement HTMLDivElement where fromFFI = Just
1237 |
1238 | export
1239 | SafeCast HTMLDivElement where
1240 |   safeCast = unsafeCastOnPrototypeName "HTMLDivElement"
1241 |
1242 | export data HTMLElement : Type where [external]
1243 |
1244 | export
1245 | ToFFI HTMLElement HTMLElement where toFFI = id
1246 |
1247 | export
1248 | FromFFI HTMLElement HTMLElement where fromFFI = Just
1249 |
1250 | export
1251 | SafeCast HTMLElement where
1252 |   safeCast = unsafeCastOnPrototypeName "HTMLElement"
1253 |
1254 | export data HTMLEmbedElement : Type where [external]
1255 |
1256 | export
1257 | ToFFI HTMLEmbedElement HTMLEmbedElement where toFFI = id
1258 |
1259 | export
1260 | FromFFI HTMLEmbedElement HTMLEmbedElement where fromFFI = Just
1261 |
1262 | export
1263 | SafeCast HTMLEmbedElement where
1264 |   safeCast = unsafeCastOnPrototypeName "HTMLEmbedElement"
1265 |
1266 | export data HTMLFieldSetElement : Type where [external]
1267 |
1268 | export
1269 | ToFFI HTMLFieldSetElement HTMLFieldSetElement where toFFI = id
1270 |
1271 | export
1272 | FromFFI HTMLFieldSetElement HTMLFieldSetElement where fromFFI = Just
1273 |
1274 | export
1275 | SafeCast HTMLFieldSetElement where
1276 |   safeCast = unsafeCastOnPrototypeName "HTMLFieldSetElement"
1277 |
1278 | export data HTMLFontElement : Type where [external]
1279 |
1280 | export
1281 | ToFFI HTMLFontElement HTMLFontElement where toFFI = id
1282 |
1283 | export
1284 | FromFFI HTMLFontElement HTMLFontElement where fromFFI = Just
1285 |
1286 | export
1287 | SafeCast HTMLFontElement where
1288 |   safeCast = unsafeCastOnPrototypeName "HTMLFontElement"
1289 |
1290 | export data HTMLFormControlsCollection : Type where [external]
1291 |
1292 | export
1293 | ToFFI HTMLFormControlsCollection HTMLFormControlsCollection where toFFI = id
1294 |
1295 | export
1296 | FromFFI HTMLFormControlsCollection HTMLFormControlsCollection where fromFFI = Just
1297 |
1298 | export
1299 | SafeCast HTMLFormControlsCollection where
1300 |   safeCast = unsafeCastOnPrototypeName "HTMLFormControlsCollection"
1301 |
1302 | export data HTMLFormElement : Type where [external]
1303 |
1304 | export
1305 | ToFFI HTMLFormElement HTMLFormElement where toFFI = id
1306 |
1307 | export
1308 | FromFFI HTMLFormElement HTMLFormElement where fromFFI = Just
1309 |
1310 | export
1311 | SafeCast HTMLFormElement where
1312 |   safeCast = unsafeCastOnPrototypeName "HTMLFormElement"
1313 |
1314 | export data HTMLFrameElement : Type where [external]
1315 |
1316 | export
1317 | ToFFI HTMLFrameElement HTMLFrameElement where toFFI = id
1318 |
1319 | export
1320 | FromFFI HTMLFrameElement HTMLFrameElement where fromFFI = Just
1321 |
1322 | export
1323 | SafeCast HTMLFrameElement where
1324 |   safeCast = unsafeCastOnPrototypeName "HTMLFrameElement"
1325 |
1326 | export data HTMLFrameSetElement : Type where [external]
1327 |
1328 | export
1329 | ToFFI HTMLFrameSetElement HTMLFrameSetElement where toFFI = id
1330 |
1331 | export
1332 | FromFFI HTMLFrameSetElement HTMLFrameSetElement where fromFFI = Just
1333 |
1334 | export
1335 | SafeCast HTMLFrameSetElement where
1336 |   safeCast = unsafeCastOnPrototypeName "HTMLFrameSetElement"
1337 |
1338 | export data HTMLHRElement : Type where [external]
1339 |
1340 | export
1341 | ToFFI HTMLHRElement HTMLHRElement where toFFI = id
1342 |
1343 | export
1344 | FromFFI HTMLHRElement HTMLHRElement where fromFFI = Just
1345 |
1346 | export
1347 | SafeCast HTMLHRElement where
1348 |   safeCast = unsafeCastOnPrototypeName "HTMLHRElement"
1349 |
1350 | export data HTMLHeadElement : Type where [external]
1351 |
1352 | export
1353 | ToFFI HTMLHeadElement HTMLHeadElement where toFFI = id
1354 |
1355 | export
1356 | FromFFI HTMLHeadElement HTMLHeadElement where fromFFI = Just
1357 |
1358 | export
1359 | SafeCast HTMLHeadElement where
1360 |   safeCast = unsafeCastOnPrototypeName "HTMLHeadElement"
1361 |
1362 | export data HTMLHeadingElement : Type where [external]
1363 |
1364 | export
1365 | ToFFI HTMLHeadingElement HTMLHeadingElement where toFFI = id
1366 |
1367 | export
1368 | FromFFI HTMLHeadingElement HTMLHeadingElement where fromFFI = Just
1369 |
1370 | export
1371 | SafeCast HTMLHeadingElement where
1372 |   safeCast = unsafeCastOnPrototypeName "HTMLHeadingElement"
1373 |
1374 | export data HTMLHtmlElement : Type where [external]
1375 |
1376 | export
1377 | ToFFI HTMLHtmlElement HTMLHtmlElement where toFFI = id
1378 |
1379 | export
1380 | FromFFI HTMLHtmlElement HTMLHtmlElement where fromFFI = Just
1381 |
1382 | export
1383 | SafeCast HTMLHtmlElement where
1384 |   safeCast = unsafeCastOnPrototypeName "HTMLHtmlElement"
1385 |
1386 | export data HTMLIFrameElement : Type where [external]
1387 |
1388 | export
1389 | ToFFI HTMLIFrameElement HTMLIFrameElement where toFFI = id
1390 |
1391 | export
1392 | FromFFI HTMLIFrameElement HTMLIFrameElement where fromFFI = Just
1393 |
1394 | export
1395 | SafeCast HTMLIFrameElement where
1396 |   safeCast = unsafeCastOnPrototypeName "HTMLIFrameElement"
1397 |
1398 | export data HTMLImageElement : Type where [external]
1399 |
1400 | export
1401 | ToFFI HTMLImageElement HTMLImageElement where toFFI = id
1402 |
1403 | export
1404 | FromFFI HTMLImageElement HTMLImageElement where fromFFI = Just
1405 |
1406 | export
1407 | SafeCast HTMLImageElement where
1408 |   safeCast = unsafeCastOnPrototypeName "HTMLImageElement"
1409 |
1410 | export data HTMLInputElement : Type where [external]
1411 |
1412 | export
1413 | ToFFI HTMLInputElement HTMLInputElement where toFFI = id
1414 |
1415 | export
1416 | FromFFI HTMLInputElement HTMLInputElement where fromFFI = Just
1417 |
1418 | export
1419 | SafeCast HTMLInputElement where
1420 |   safeCast = unsafeCastOnPrototypeName "HTMLInputElement"
1421 |
1422 | export data HTMLLIElement : Type where [external]
1423 |
1424 | export
1425 | ToFFI HTMLLIElement HTMLLIElement where toFFI = id
1426 |
1427 | export
1428 | FromFFI HTMLLIElement HTMLLIElement where fromFFI = Just
1429 |
1430 | export
1431 | SafeCast HTMLLIElement where
1432 |   safeCast = unsafeCastOnPrototypeName "HTMLLIElement"
1433 |
1434 | export data HTMLLabelElement : Type where [external]
1435 |
1436 | export
1437 | ToFFI HTMLLabelElement HTMLLabelElement where toFFI = id
1438 |
1439 | export
1440 | FromFFI HTMLLabelElement HTMLLabelElement where fromFFI = Just
1441 |
1442 | export
1443 | SafeCast HTMLLabelElement where
1444 |   safeCast = unsafeCastOnPrototypeName "HTMLLabelElement"
1445 |
1446 | export data HTMLLegendElement : Type where [external]
1447 |
1448 | export
1449 | ToFFI HTMLLegendElement HTMLLegendElement where toFFI = id
1450 |
1451 | export
1452 | FromFFI HTMLLegendElement HTMLLegendElement where fromFFI = Just
1453 |
1454 | export
1455 | SafeCast HTMLLegendElement where
1456 |   safeCast = unsafeCastOnPrototypeName "HTMLLegendElement"
1457 |
1458 | export data HTMLLinkElement : Type where [external]
1459 |
1460 | export
1461 | ToFFI HTMLLinkElement HTMLLinkElement where toFFI = id
1462 |
1463 | export
1464 | FromFFI HTMLLinkElement HTMLLinkElement where fromFFI = Just
1465 |
1466 | export
1467 | SafeCast HTMLLinkElement where
1468 |   safeCast = unsafeCastOnPrototypeName "HTMLLinkElement"
1469 |
1470 | export data HTMLMapElement : Type where [external]
1471 |
1472 | export
1473 | ToFFI HTMLMapElement HTMLMapElement where toFFI = id
1474 |
1475 | export
1476 | FromFFI HTMLMapElement HTMLMapElement where fromFFI = Just
1477 |
1478 | export
1479 | SafeCast HTMLMapElement where
1480 |   safeCast = unsafeCastOnPrototypeName "HTMLMapElement"
1481 |
1482 | export data HTMLMarqueeElement : Type where [external]
1483 |
1484 | export
1485 | ToFFI HTMLMarqueeElement HTMLMarqueeElement where toFFI = id
1486 |
1487 | export
1488 | FromFFI HTMLMarqueeElement HTMLMarqueeElement where fromFFI = Just
1489 |
1490 | export
1491 | SafeCast HTMLMarqueeElement where
1492 |   safeCast = unsafeCastOnPrototypeName "HTMLMarqueeElement"
1493 |
1494 | export data HTMLMediaElement : Type where [external]
1495 |
1496 | export
1497 | ToFFI HTMLMediaElement HTMLMediaElement where toFFI = id
1498 |
1499 | export
1500 | FromFFI HTMLMediaElement HTMLMediaElement where fromFFI = Just
1501 |
1502 | export
1503 | SafeCast HTMLMediaElement where
1504 |   safeCast = unsafeCastOnPrototypeName "HTMLMediaElement"
1505 |
1506 | export data HTMLMenuElement : Type where [external]
1507 |
1508 | export
1509 | ToFFI HTMLMenuElement HTMLMenuElement where toFFI = id
1510 |
1511 | export
1512 | FromFFI HTMLMenuElement HTMLMenuElement where fromFFI = Just
1513 |
1514 | export
1515 | SafeCast HTMLMenuElement where
1516 |   safeCast = unsafeCastOnPrototypeName "HTMLMenuElement"
1517 |
1518 | export data HTMLMetaElement : Type where [external]
1519 |
1520 | export
1521 | ToFFI HTMLMetaElement HTMLMetaElement where toFFI = id
1522 |
1523 | export
1524 | FromFFI HTMLMetaElement HTMLMetaElement where fromFFI = Just
1525 |
1526 | export
1527 | SafeCast HTMLMetaElement where
1528 |   safeCast = unsafeCastOnPrototypeName "HTMLMetaElement"
1529 |
1530 | export data HTMLMeterElement : Type where [external]
1531 |
1532 | export
1533 | ToFFI HTMLMeterElement HTMLMeterElement where toFFI = id
1534 |
1535 | export
1536 | FromFFI HTMLMeterElement HTMLMeterElement where fromFFI = Just
1537 |
1538 | export
1539 | SafeCast HTMLMeterElement where
1540 |   safeCast = unsafeCastOnPrototypeName "HTMLMeterElement"
1541 |
1542 | export data HTMLModElement : Type where [external]
1543 |
1544 | export
1545 | ToFFI HTMLModElement HTMLModElement where toFFI = id
1546 |
1547 | export
1548 | FromFFI HTMLModElement HTMLModElement where fromFFI = Just
1549 |
1550 | export
1551 | SafeCast HTMLModElement where
1552 |   safeCast = unsafeCastOnPrototypeName "HTMLModElement"
1553 |
1554 | export data HTMLOListElement : Type where [external]
1555 |
1556 | export
1557 | ToFFI HTMLOListElement HTMLOListElement where toFFI = id
1558 |
1559 | export
1560 | FromFFI HTMLOListElement HTMLOListElement where fromFFI = Just
1561 |
1562 | export
1563 | SafeCast HTMLOListElement where
1564 |   safeCast = unsafeCastOnPrototypeName "HTMLOListElement"
1565 |
1566 | export data HTMLObjectElement : Type where [external]
1567 |
1568 | export
1569 | ToFFI HTMLObjectElement HTMLObjectElement where toFFI = id
1570 |
1571 | export
1572 | FromFFI HTMLObjectElement HTMLObjectElement where fromFFI = Just
1573 |
1574 | export
1575 | SafeCast HTMLObjectElement where
1576 |   safeCast = unsafeCastOnPrototypeName "HTMLObjectElement"
1577 |
1578 | export data HTMLOptGroupElement : Type where [external]
1579 |
1580 | export
1581 | ToFFI HTMLOptGroupElement HTMLOptGroupElement where toFFI = id
1582 |
1583 | export
1584 | FromFFI HTMLOptGroupElement HTMLOptGroupElement where fromFFI = Just
1585 |
1586 | export
1587 | SafeCast HTMLOptGroupElement where
1588 |   safeCast = unsafeCastOnPrototypeName "HTMLOptGroupElement"
1589 |
1590 | export data HTMLOptionElement : Type where [external]
1591 |
1592 | export
1593 | ToFFI HTMLOptionElement HTMLOptionElement where toFFI = id
1594 |
1595 | export
1596 | FromFFI HTMLOptionElement HTMLOptionElement where fromFFI = Just
1597 |
1598 | export
1599 | SafeCast HTMLOptionElement where
1600 |   safeCast = unsafeCastOnPrototypeName "HTMLOptionElement"
1601 |
1602 | export data HTMLOptionsCollection : Type where [external]
1603 |
1604 | export
1605 | ToFFI HTMLOptionsCollection HTMLOptionsCollection where toFFI = id
1606 |
1607 | export
1608 | FromFFI HTMLOptionsCollection HTMLOptionsCollection where fromFFI = Just
1609 |
1610 | export
1611 | SafeCast HTMLOptionsCollection where
1612 |   safeCast = unsafeCastOnPrototypeName "HTMLOptionsCollection"
1613 |
1614 | export data HTMLOutputElement : Type where [external]
1615 |
1616 | export
1617 | ToFFI HTMLOutputElement HTMLOutputElement where toFFI = id
1618 |
1619 | export
1620 | FromFFI HTMLOutputElement HTMLOutputElement where fromFFI = Just
1621 |
1622 | export
1623 | SafeCast HTMLOutputElement where
1624 |   safeCast = unsafeCastOnPrototypeName "HTMLOutputElement"
1625 |
1626 | export data HTMLParagraphElement : Type where [external]
1627 |
1628 | export
1629 | ToFFI HTMLParagraphElement HTMLParagraphElement where toFFI = id
1630 |
1631 | export
1632 | FromFFI HTMLParagraphElement HTMLParagraphElement where fromFFI = Just
1633 |
1634 | export
1635 | SafeCast HTMLParagraphElement where
1636 |   safeCast = unsafeCastOnPrototypeName "HTMLParagraphElement"
1637 |
1638 | export data HTMLParamElement : Type where [external]
1639 |
1640 | export
1641 | ToFFI HTMLParamElement HTMLParamElement where toFFI = id
1642 |
1643 | export
1644 | FromFFI HTMLParamElement HTMLParamElement where fromFFI = Just
1645 |
1646 | export
1647 | SafeCast HTMLParamElement where
1648 |   safeCast = unsafeCastOnPrototypeName "HTMLParamElement"
1649 |
1650 | export data HTMLPictureElement : Type where [external]
1651 |
1652 | export
1653 | ToFFI HTMLPictureElement HTMLPictureElement where toFFI = id
1654 |
1655 | export
1656 | FromFFI HTMLPictureElement HTMLPictureElement where fromFFI = Just
1657 |
1658 | export
1659 | SafeCast HTMLPictureElement where
1660 |   safeCast = unsafeCastOnPrototypeName "HTMLPictureElement"
1661 |
1662 | export data HTMLPreElement : Type where [external]
1663 |
1664 | export
1665 | ToFFI HTMLPreElement HTMLPreElement where toFFI = id
1666 |
1667 | export
1668 | FromFFI HTMLPreElement HTMLPreElement where fromFFI = Just
1669 |
1670 | export
1671 | SafeCast HTMLPreElement where
1672 |   safeCast = unsafeCastOnPrototypeName "HTMLPreElement"
1673 |
1674 | export data HTMLProgressElement : Type where [external]
1675 |
1676 | export
1677 | ToFFI HTMLProgressElement HTMLProgressElement where toFFI = id
1678 |
1679 | export
1680 | FromFFI HTMLProgressElement HTMLProgressElement where fromFFI = Just
1681 |
1682 | export
1683 | SafeCast HTMLProgressElement where
1684 |   safeCast = unsafeCastOnPrototypeName "HTMLProgressElement"
1685 |
1686 | export data HTMLQuoteElement : Type where [external]
1687 |
1688 | export
1689 | ToFFI HTMLQuoteElement HTMLQuoteElement where toFFI = id
1690 |
1691 | export
1692 | FromFFI HTMLQuoteElement HTMLQuoteElement where fromFFI = Just
1693 |
1694 | export
1695 | SafeCast HTMLQuoteElement where
1696 |   safeCast = unsafeCastOnPrototypeName "HTMLQuoteElement"
1697 |
1698 | export data HTMLScriptElement : Type where [external]
1699 |
1700 | export
1701 | ToFFI HTMLScriptElement HTMLScriptElement where toFFI = id
1702 |
1703 | export
1704 | FromFFI HTMLScriptElement HTMLScriptElement where fromFFI = Just
1705 |
1706 | export
1707 | SafeCast HTMLScriptElement where
1708 |   safeCast = unsafeCastOnPrototypeName "HTMLScriptElement"
1709 |
1710 | export data HTMLSelectElement : Type where [external]
1711 |
1712 | export
1713 | ToFFI HTMLSelectElement HTMLSelectElement where toFFI = id
1714 |
1715 | export
1716 | FromFFI HTMLSelectElement HTMLSelectElement where fromFFI = Just
1717 |
1718 | export
1719 | SafeCast HTMLSelectElement where
1720 |   safeCast = unsafeCastOnPrototypeName "HTMLSelectElement"
1721 |
1722 | export data HTMLSlotElement : Type where [external]
1723 |
1724 | export
1725 | ToFFI HTMLSlotElement HTMLSlotElement where toFFI = id
1726 |
1727 | export
1728 | FromFFI HTMLSlotElement HTMLSlotElement where fromFFI = Just
1729 |
1730 | export
1731 | SafeCast HTMLSlotElement where
1732 |   safeCast = unsafeCastOnPrototypeName "HTMLSlotElement"
1733 |
1734 | export data HTMLSourceElement : Type where [external]
1735 |
1736 | export
1737 | ToFFI HTMLSourceElement HTMLSourceElement where toFFI = id
1738 |
1739 | export
1740 | FromFFI HTMLSourceElement HTMLSourceElement where fromFFI = Just
1741 |
1742 | export
1743 | SafeCast HTMLSourceElement where
1744 |   safeCast = unsafeCastOnPrototypeName "HTMLSourceElement"
1745 |
1746 | export data HTMLSpanElement : Type where [external]
1747 |
1748 | export
1749 | ToFFI HTMLSpanElement HTMLSpanElement where toFFI = id
1750 |
1751 | export
1752 | FromFFI HTMLSpanElement HTMLSpanElement where fromFFI = Just
1753 |
1754 | export
1755 | SafeCast HTMLSpanElement where
1756 |   safeCast = unsafeCastOnPrototypeName "HTMLSpanElement"
1757 |
1758 | export data HTMLStyleElement : Type where [external]
1759 |
1760 | export
1761 | ToFFI HTMLStyleElement HTMLStyleElement where toFFI = id
1762 |
1763 | export
1764 | FromFFI HTMLStyleElement HTMLStyleElement where fromFFI = Just
1765 |
1766 | export
1767 | SafeCast HTMLStyleElement where
1768 |   safeCast = unsafeCastOnPrototypeName "HTMLStyleElement"
1769 |
1770 | export data HTMLTableCaptionElement : Type where [external]
1771 |
1772 | export
1773 | ToFFI HTMLTableCaptionElement HTMLTableCaptionElement where toFFI = id
1774 |
1775 | export
1776 | FromFFI HTMLTableCaptionElement HTMLTableCaptionElement where fromFFI = Just
1777 |
1778 | export
1779 | SafeCast HTMLTableCaptionElement where
1780 |   safeCast = unsafeCastOnPrototypeName "HTMLTableCaptionElement"
1781 |
1782 | export data HTMLTableCellElement : Type where [external]
1783 |
1784 | export
1785 | ToFFI HTMLTableCellElement HTMLTableCellElement where toFFI = id
1786 |
1787 | export
1788 | FromFFI HTMLTableCellElement HTMLTableCellElement where fromFFI = Just
1789 |
1790 | export
1791 | SafeCast HTMLTableCellElement where
1792 |   safeCast = unsafeCastOnPrototypeName "HTMLTableCellElement"
1793 |
1794 | export data HTMLTableColElement : Type where [external]
1795 |
1796 | export
1797 | ToFFI HTMLTableColElement HTMLTableColElement where toFFI = id
1798 |
1799 | export
1800 | FromFFI HTMLTableColElement HTMLTableColElement where fromFFI = Just
1801 |
1802 | export
1803 | SafeCast HTMLTableColElement where
1804 |   safeCast = unsafeCastOnPrototypeName "HTMLTableColElement"
1805 |
1806 | export data HTMLTableElement : Type where [external]
1807 |
1808 | export
1809 | ToFFI HTMLTableElement HTMLTableElement where toFFI = id
1810 |
1811 | export
1812 | FromFFI HTMLTableElement HTMLTableElement where fromFFI = Just
1813 |
1814 | export
1815 | SafeCast HTMLTableElement where
1816 |   safeCast = unsafeCastOnPrototypeName "HTMLTableElement"
1817 |
1818 | export data HTMLTableRowElement : Type where [external]
1819 |
1820 | export
1821 | ToFFI HTMLTableRowElement HTMLTableRowElement where toFFI = id
1822 |
1823 | export
1824 | FromFFI HTMLTableRowElement HTMLTableRowElement where fromFFI = Just
1825 |
1826 | export
1827 | SafeCast HTMLTableRowElement where
1828 |   safeCast = unsafeCastOnPrototypeName "HTMLTableRowElement"
1829 |
1830 | export data HTMLTableSectionElement : Type where [external]
1831 |
1832 | export
1833 | ToFFI HTMLTableSectionElement HTMLTableSectionElement where toFFI = id
1834 |
1835 | export
1836 | FromFFI HTMLTableSectionElement HTMLTableSectionElement where fromFFI = Just
1837 |
1838 | export
1839 | SafeCast HTMLTableSectionElement where
1840 |   safeCast = unsafeCastOnPrototypeName "HTMLTableSectionElement"
1841 |
1842 | export data HTMLTemplateElement : Type where [external]
1843 |
1844 | export
1845 | ToFFI HTMLTemplateElement HTMLTemplateElement where toFFI = id
1846 |
1847 | export
1848 | FromFFI HTMLTemplateElement HTMLTemplateElement where fromFFI = Just
1849 |
1850 | export
1851 | SafeCast HTMLTemplateElement where
1852 |   safeCast = unsafeCastOnPrototypeName "HTMLTemplateElement"
1853 |
1854 | export data HTMLTextAreaElement : Type where [external]
1855 |
1856 | export
1857 | ToFFI HTMLTextAreaElement HTMLTextAreaElement where toFFI = id
1858 |
1859 | export
1860 | FromFFI HTMLTextAreaElement HTMLTextAreaElement where fromFFI = Just
1861 |
1862 | export
1863 | SafeCast HTMLTextAreaElement where
1864 |   safeCast = unsafeCastOnPrototypeName "HTMLTextAreaElement"
1865 |
1866 | export data HTMLTimeElement : Type where [external]
1867 |
1868 | export
1869 | ToFFI HTMLTimeElement HTMLTimeElement where toFFI = id
1870 |
1871 | export
1872 | FromFFI HTMLTimeElement HTMLTimeElement where fromFFI = Just
1873 |
1874 | export
1875 | SafeCast HTMLTimeElement where
1876 |   safeCast = unsafeCastOnPrototypeName "HTMLTimeElement"
1877 |
1878 | export data HTMLTitleElement : Type where [external]
1879 |
1880 | export
1881 | ToFFI HTMLTitleElement HTMLTitleElement where toFFI = id
1882 |
1883 | export
1884 | FromFFI HTMLTitleElement HTMLTitleElement where fromFFI = Just
1885 |
1886 | export
1887 | SafeCast HTMLTitleElement where
1888 |   safeCast = unsafeCastOnPrototypeName "HTMLTitleElement"
1889 |
1890 | export data HTMLTrackElement : Type where [external]
1891 |
1892 | export
1893 | ToFFI HTMLTrackElement HTMLTrackElement where toFFI = id
1894 |
1895 | export
1896 | FromFFI HTMLTrackElement HTMLTrackElement where fromFFI = Just
1897 |
1898 | export
1899 | SafeCast HTMLTrackElement where
1900 |   safeCast = unsafeCastOnPrototypeName "HTMLTrackElement"
1901 |
1902 | export data HTMLUListElement : Type where [external]
1903 |
1904 | export
1905 | ToFFI HTMLUListElement HTMLUListElement where toFFI = id
1906 |
1907 | export
1908 | FromFFI HTMLUListElement HTMLUListElement where fromFFI = Just
1909 |
1910 | export
1911 | SafeCast HTMLUListElement where
1912 |   safeCast = unsafeCastOnPrototypeName "HTMLUListElement"
1913 |
1914 | export data HTMLUnknownElement : Type where [external]
1915 |
1916 | export
1917 | ToFFI HTMLUnknownElement HTMLUnknownElement where toFFI = id
1918 |
1919 | export
1920 | FromFFI HTMLUnknownElement HTMLUnknownElement where fromFFI = Just
1921 |
1922 | export
1923 | SafeCast HTMLUnknownElement where
1924 |   safeCast = unsafeCastOnPrototypeName "HTMLUnknownElement"
1925 |
1926 | export data HTMLVideoElement : Type where [external]
1927 |
1928 | export
1929 | ToFFI HTMLVideoElement HTMLVideoElement where toFFI = id
1930 |
1931 | export
1932 | FromFFI HTMLVideoElement HTMLVideoElement where fromFFI = Just
1933 |
1934 | export
1935 | SafeCast HTMLVideoElement where
1936 |   safeCast = unsafeCastOnPrototypeName "HTMLVideoElement"
1937 |
1938 | export data HashChangeEvent : Type where [external]
1939 |
1940 | export
1941 | ToFFI HashChangeEvent HashChangeEvent where toFFI = id
1942 |
1943 | export
1944 | FromFFI HashChangeEvent HashChangeEvent where fromFFI = Just
1945 |
1946 | export
1947 | SafeCast HashChangeEvent where
1948 |   safeCast = unsafeCastOnPrototypeName "HashChangeEvent"
1949 |
1950 | export data History : Type where [external]
1951 |
1952 | export
1953 | ToFFI History History where toFFI = id
1954 |
1955 | export
1956 | FromFFI History History where fromFFI = Just
1957 |
1958 | export
1959 | SafeCast History where
1960 |   safeCast = unsafeCastOnPrototypeName "History"
1961 |
1962 | export data ImageBitmap : Type where [external]
1963 |
1964 | export
1965 | ToFFI ImageBitmap ImageBitmap where toFFI = id
1966 |
1967 | export
1968 | FromFFI ImageBitmap ImageBitmap where fromFFI = Just
1969 |
1970 | export
1971 | SafeCast ImageBitmap where
1972 |   safeCast = unsafeCastOnPrototypeName "ImageBitmap"
1973 |
1974 | export data ImageBitmapRenderingContext : Type where [external]
1975 |
1976 | export
1977 | ToFFI ImageBitmapRenderingContext ImageBitmapRenderingContext where toFFI = id
1978 |
1979 | export
1980 | FromFFI ImageBitmapRenderingContext ImageBitmapRenderingContext where fromFFI = Just
1981 |
1982 | export
1983 | SafeCast ImageBitmapRenderingContext where
1984 |   safeCast = unsafeCastOnPrototypeName "ImageBitmapRenderingContext"
1985 |
1986 | export data ImageData : Type where [external]
1987 |
1988 | export
1989 | ToFFI ImageData ImageData where toFFI = id
1990 |
1991 | export
1992 | FromFFI ImageData ImageData where fromFFI = Just
1993 |
1994 | export
1995 | SafeCast ImageData where
1996 |   safeCast = unsafeCastOnPrototypeName "ImageData"
1997 |
1998 | export data Location : Type where [external]
1999 |
2000 | export
2001 | ToFFI Location Location where toFFI = id
2002 |
2003 | export
2004 | FromFFI Location Location where fromFFI = Just
2005 |
2006 | export
2007 | SafeCast Location where
2008 |   safeCast = unsafeCastOnPrototypeName "Location"
2009 |
2010 | export data MediaError : Type where [external]
2011 |
2012 | export
2013 | ToFFI MediaError MediaError where toFFI = id
2014 |
2015 | export
2016 | FromFFI MediaError MediaError where fromFFI = Just
2017 |
2018 | export
2019 | SafeCast MediaError where
2020 |   safeCast = unsafeCastOnPrototypeName "MediaError"
2021 |
2022 | export data MessageChannel : Type where [external]
2023 |
2024 | export
2025 | ToFFI MessageChannel MessageChannel where toFFI = id
2026 |
2027 | export
2028 | FromFFI MessageChannel MessageChannel where fromFFI = Just
2029 |
2030 | export
2031 | SafeCast MessageChannel where
2032 |   safeCast = unsafeCastOnPrototypeName "MessageChannel"
2033 |
2034 | export data MessageEvent : Type where [external]
2035 |
2036 | export
2037 | ToFFI MessageEvent MessageEvent where toFFI = id
2038 |
2039 | export
2040 | FromFFI MessageEvent MessageEvent where fromFFI = Just
2041 |
2042 | export
2043 | SafeCast MessageEvent where
2044 |   safeCast = unsafeCastOnPrototypeName "MessageEvent"
2045 |
2046 | export data MessagePort : Type where [external]
2047 |
2048 | export
2049 | ToFFI MessagePort MessagePort where toFFI = id
2050 |
2051 | export
2052 | FromFFI MessagePort MessagePort where fromFFI = Just
2053 |
2054 | export
2055 | SafeCast MessagePort where
2056 |   safeCast = unsafeCastOnPrototypeName "MessagePort"
2057 |
2058 | export data MimeType : Type where [external]
2059 |
2060 | export
2061 | ToFFI MimeType MimeType where toFFI = id
2062 |
2063 | export
2064 | FromFFI MimeType MimeType where fromFFI = Just
2065 |
2066 | export
2067 | SafeCast MimeType where
2068 |   safeCast = unsafeCastOnPrototypeName "MimeType"
2069 |
2070 | export data MimeTypeArray : Type where [external]
2071 |
2072 | export
2073 | ToFFI MimeTypeArray MimeTypeArray where toFFI = id
2074 |
2075 | export
2076 | FromFFI MimeTypeArray MimeTypeArray where fromFFI = Just
2077 |
2078 | export
2079 | SafeCast MimeTypeArray where
2080 |   safeCast = unsafeCastOnPrototypeName "MimeTypeArray"
2081 |
2082 | export data Navigator : Type where [external]
2083 |
2084 | export
2085 | ToFFI Navigator Navigator where toFFI = id
2086 |
2087 | export
2088 | FromFFI Navigator Navigator where fromFFI = Just
2089 |
2090 | export
2091 | SafeCast Navigator where
2092 |   safeCast = unsafeCastOnPrototypeName "Navigator"
2093 |
2094 | export data OffscreenCanvas : Type where [external]
2095 |
2096 | export
2097 | ToFFI OffscreenCanvas OffscreenCanvas where toFFI = id
2098 |
2099 | export
2100 | FromFFI OffscreenCanvas OffscreenCanvas where fromFFI = Just
2101 |
2102 | export
2103 | SafeCast OffscreenCanvas where
2104 |   safeCast = unsafeCastOnPrototypeName "OffscreenCanvas"
2105 |
2106 | export data OffscreenCanvasRenderingContext2D : Type where [external]
2107 |
2108 | export
2109 | ToFFI OffscreenCanvasRenderingContext2D OffscreenCanvasRenderingContext2D where toFFI = id
2110 |
2111 | export
2112 | FromFFI OffscreenCanvasRenderingContext2D OffscreenCanvasRenderingContext2D where fromFFI = Just
2113 |
2114 | export
2115 | SafeCast OffscreenCanvasRenderingContext2D where
2116 |   safeCast = unsafeCastOnPrototypeName "OffscreenCanvasRenderingContext2D"
2117 |
2118 | export data PageTransitionEvent : Type where [external]
2119 |
2120 | export
2121 | ToFFI PageTransitionEvent PageTransitionEvent where toFFI = id
2122 |
2123 | export
2124 | FromFFI PageTransitionEvent PageTransitionEvent where fromFFI = Just
2125 |
2126 | export
2127 | SafeCast PageTransitionEvent where
2128 |   safeCast = unsafeCastOnPrototypeName "PageTransitionEvent"
2129 |
2130 | export data Path2D : Type where [external]
2131 |
2132 | export
2133 | ToFFI Path2D Path2D where toFFI = id
2134 |
2135 | export
2136 | FromFFI Path2D Path2D where fromFFI = Just
2137 |
2138 | export
2139 | SafeCast Path2D where
2140 |   safeCast = unsafeCastOnPrototypeName "Path2D"
2141 |
2142 | export data Plugin : Type where [external]
2143 |
2144 | export
2145 | ToFFI Plugin Plugin where toFFI = id
2146 |
2147 | export
2148 | FromFFI Plugin Plugin where fromFFI = Just
2149 |
2150 | export
2151 | SafeCast Plugin where
2152 |   safeCast = unsafeCastOnPrototypeName "Plugin"
2153 |
2154 | export data PluginArray : Type where [external]
2155 |
2156 | export
2157 | ToFFI PluginArray PluginArray where toFFI = id
2158 |
2159 | export
2160 | FromFFI PluginArray PluginArray where fromFFI = Just
2161 |
2162 | export
2163 | SafeCast PluginArray where
2164 |   safeCast = unsafeCastOnPrototypeName "PluginArray"
2165 |
2166 | export data PopStateEvent : Type where [external]
2167 |
2168 | export
2169 | ToFFI PopStateEvent PopStateEvent where toFFI = id
2170 |
2171 | export
2172 | FromFFI PopStateEvent PopStateEvent where fromFFI = Just
2173 |
2174 | export
2175 | SafeCast PopStateEvent where
2176 |   safeCast = unsafeCastOnPrototypeName "PopStateEvent"
2177 |
2178 | export data PromiseRejectionEvent : Type where [external]
2179 |
2180 | export
2181 | ToFFI PromiseRejectionEvent PromiseRejectionEvent where toFFI = id
2182 |
2183 | export
2184 | FromFFI PromiseRejectionEvent PromiseRejectionEvent where fromFFI = Just
2185 |
2186 | export
2187 | SafeCast PromiseRejectionEvent where
2188 |   safeCast = unsafeCastOnPrototypeName "PromiseRejectionEvent"
2189 |
2190 | export data RadioNodeList : Type where [external]
2191 |
2192 | export
2193 | ToFFI RadioNodeList RadioNodeList where toFFI = id
2194 |
2195 | export
2196 | FromFFI RadioNodeList RadioNodeList where fromFFI = Just
2197 |
2198 | export
2199 | SafeCast RadioNodeList where
2200 |   safeCast = unsafeCastOnPrototypeName "RadioNodeList"
2201 |
2202 | export data SharedWorker : Type where [external]
2203 |
2204 | export
2205 | ToFFI SharedWorker SharedWorker where toFFI = id
2206 |
2207 | export
2208 | FromFFI SharedWorker SharedWorker where fromFFI = Just
2209 |
2210 | export
2211 | SafeCast SharedWorker where
2212 |   safeCast = unsafeCastOnPrototypeName "SharedWorker"
2213 |
2214 | export data SharedWorkerGlobalScope : Type where [external]
2215 |
2216 | export
2217 | ToFFI SharedWorkerGlobalScope SharedWorkerGlobalScope where toFFI = id
2218 |
2219 | export
2220 | FromFFI SharedWorkerGlobalScope SharedWorkerGlobalScope where fromFFI = Just
2221 |
2222 | export
2223 | SafeCast SharedWorkerGlobalScope where
2224 |   safeCast = unsafeCastOnPrototypeName "SharedWorkerGlobalScope"
2225 |
2226 | export data Storage : Type where [external]
2227 |
2228 | export
2229 | ToFFI Storage Storage where toFFI = id
2230 |
2231 | export
2232 | FromFFI Storage Storage where fromFFI = Just
2233 |
2234 | export
2235 | SafeCast Storage where
2236 |   safeCast = unsafeCastOnPrototypeName "Storage"
2237 |
2238 | export data StorageEvent : Type where [external]
2239 |
2240 | export
2241 | ToFFI StorageEvent StorageEvent where toFFI = id
2242 |
2243 | export
2244 | FromFFI StorageEvent StorageEvent where fromFFI = Just
2245 |
2246 | export
2247 | SafeCast StorageEvent where
2248 |   safeCast = unsafeCastOnPrototypeName "StorageEvent"
2249 |
2250 | export data SubmitEvent : Type where [external]
2251 |
2252 | export
2253 | ToFFI SubmitEvent SubmitEvent where toFFI = id
2254 |
2255 | export
2256 | FromFFI SubmitEvent SubmitEvent where fromFFI = Just
2257 |
2258 | export
2259 | SafeCast SubmitEvent where
2260 |   safeCast = unsafeCastOnPrototypeName "SubmitEvent"
2261 |
2262 | export data TextMetrics : Type where [external]
2263 |
2264 | export
2265 | ToFFI TextMetrics TextMetrics where toFFI = id
2266 |
2267 | export
2268 | FromFFI TextMetrics TextMetrics where fromFFI = Just
2269 |
2270 | export
2271 | SafeCast TextMetrics where
2272 |   safeCast = unsafeCastOnPrototypeName "TextMetrics"
2273 |
2274 | export data TextTrack : Type where [external]
2275 |
2276 | export
2277 | ToFFI TextTrack TextTrack where toFFI = id
2278 |
2279 | export
2280 | FromFFI TextTrack TextTrack where fromFFI = Just
2281 |
2282 | export
2283 | SafeCast TextTrack where
2284 |   safeCast = unsafeCastOnPrototypeName "TextTrack"
2285 |
2286 | export data TextTrackCue : Type where [external]
2287 |
2288 | export
2289 | ToFFI TextTrackCue TextTrackCue where toFFI = id
2290 |
2291 | export
2292 | FromFFI TextTrackCue TextTrackCue where fromFFI = Just
2293 |
2294 | export
2295 | SafeCast TextTrackCue where
2296 |   safeCast = unsafeCastOnPrototypeName "TextTrackCue"
2297 |
2298 | export data TextTrackCueList : Type where [external]
2299 |
2300 | export
2301 | ToFFI TextTrackCueList TextTrackCueList where toFFI = id
2302 |
2303 | export
2304 | FromFFI TextTrackCueList TextTrackCueList where fromFFI = Just
2305 |
2306 | export
2307 | SafeCast TextTrackCueList where
2308 |   safeCast = unsafeCastOnPrototypeName "TextTrackCueList"
2309 |
2310 | export data TextTrackList : Type where [external]
2311 |
2312 | export
2313 | ToFFI TextTrackList TextTrackList where toFFI = id
2314 |
2315 | export
2316 | FromFFI TextTrackList TextTrackList where fromFFI = Just
2317 |
2318 | export
2319 | SafeCast TextTrackList where
2320 |   safeCast = unsafeCastOnPrototypeName "TextTrackList"
2321 |
2322 | export data TimeRanges : Type where [external]
2323 |
2324 | export
2325 | ToFFI TimeRanges TimeRanges where toFFI = id
2326 |
2327 | export
2328 | FromFFI TimeRanges TimeRanges where fromFFI = Just
2329 |
2330 | export
2331 | SafeCast TimeRanges where
2332 |   safeCast = unsafeCastOnPrototypeName "TimeRanges"
2333 |
2334 | export data TrackEvent : Type where [external]
2335 |
2336 | export
2337 | ToFFI TrackEvent TrackEvent where toFFI = id
2338 |
2339 | export
2340 | FromFFI TrackEvent TrackEvent where fromFFI = Just
2341 |
2342 | export
2343 | SafeCast TrackEvent where
2344 |   safeCast = unsafeCastOnPrototypeName "TrackEvent"
2345 |
2346 | export data ValidityState : Type where [external]
2347 |
2348 | export
2349 | ToFFI ValidityState ValidityState where toFFI = id
2350 |
2351 | export
2352 | FromFFI ValidityState ValidityState where fromFFI = Just
2353 |
2354 | export
2355 | SafeCast ValidityState where
2356 |   safeCast = unsafeCastOnPrototypeName "ValidityState"
2357 |
2358 | export data VideoTrack : Type where [external]
2359 |
2360 | export
2361 | ToFFI VideoTrack VideoTrack where toFFI = id
2362 |
2363 | export
2364 | FromFFI VideoTrack VideoTrack where fromFFI = Just
2365 |
2366 | export
2367 | SafeCast VideoTrack where
2368 |   safeCast = unsafeCastOnPrototypeName "VideoTrack"
2369 |
2370 | export data VideoTrackList : Type where [external]
2371 |
2372 | export
2373 | ToFFI VideoTrackList VideoTrackList where toFFI = id
2374 |
2375 | export
2376 | FromFFI VideoTrackList VideoTrackList where fromFFI = Just
2377 |
2378 | export
2379 | SafeCast VideoTrackList where
2380 |   safeCast = unsafeCastOnPrototypeName "VideoTrackList"
2381 |
2382 | export data WebSocket : Type where [external]
2383 |
2384 | export
2385 | ToFFI WebSocket WebSocket where toFFI = id
2386 |
2387 | export
2388 | FromFFI WebSocket WebSocket where fromFFI = Just
2389 |
2390 | export
2391 | SafeCast WebSocket where
2392 |   safeCast = unsafeCastOnPrototypeName "WebSocket"
2393 |
2394 | export data Window : Type where [external]
2395 |
2396 | export
2397 | ToFFI Window Window where toFFI = id
2398 |
2399 | export
2400 | FromFFI Window Window where fromFFI = Just
2401 |
2402 | export
2403 | SafeCast Window where
2404 |   safeCast = unsafeCastOnPrototypeName "Window"
2405 |
2406 | export data Worker : Type where [external]
2407 |
2408 | export
2409 | ToFFI Worker Worker where toFFI = id
2410 |
2411 | export
2412 | FromFFI Worker Worker where fromFFI = Just
2413 |
2414 | export
2415 | SafeCast Worker where
2416 |   safeCast = unsafeCastOnPrototypeName "Worker"
2417 |
2418 | export data WorkerGlobalScope : Type where [external]
2419 |
2420 | export
2421 | ToFFI WorkerGlobalScope WorkerGlobalScope where toFFI = id
2422 |
2423 | export
2424 | FromFFI WorkerGlobalScope WorkerGlobalScope where fromFFI = Just
2425 |
2426 | export
2427 | SafeCast WorkerGlobalScope where
2428 |   safeCast = unsafeCastOnPrototypeName "WorkerGlobalScope"
2429 |
2430 | export data WorkerLocation : Type where [external]
2431 |
2432 | export
2433 | ToFFI WorkerLocation WorkerLocation where toFFI = id
2434 |
2435 | export
2436 | FromFFI WorkerLocation WorkerLocation where fromFFI = Just
2437 |
2438 | export
2439 | SafeCast WorkerLocation where
2440 |   safeCast = unsafeCastOnPrototypeName "WorkerLocation"
2441 |
2442 | export data WorkerNavigator : Type where [external]
2443 |
2444 | export
2445 | ToFFI WorkerNavigator WorkerNavigator where toFFI = id
2446 |
2447 | export
2448 | FromFFI WorkerNavigator WorkerNavigator where fromFFI = Just
2449 |
2450 | export
2451 | SafeCast WorkerNavigator where
2452 |   safeCast = unsafeCastOnPrototypeName "WorkerNavigator"
2453 |
2454 | export data Worklet : Type where [external]
2455 |
2456 | export
2457 | ToFFI Worklet Worklet where toFFI = id
2458 |
2459 | export
2460 | FromFFI Worklet Worklet where fromFFI = Just
2461 |
2462 | export
2463 | SafeCast Worklet where
2464 |   safeCast = unsafeCastOnPrototypeName "Worklet"
2465 |
2466 | export data WorkletGlobalScope : Type where [external]
2467 |
2468 | export
2469 | ToFFI WorkletGlobalScope WorkletGlobalScope where toFFI = id
2470 |
2471 | export
2472 | FromFFI WorkletGlobalScope WorkletGlobalScope where fromFFI = Just
2473 |
2474 | export
2475 | SafeCast WorkletGlobalScope where
2476 |   safeCast = unsafeCastOnPrototypeName "WorkletGlobalScope"
2477 |
2478 |
2479 | --------------------------------------------------------------------------------
2480 | --          Dictionaries
2481 | --------------------------------------------------------------------------------
2482 |
2483 | export data AssignedNodesOptions : Type where [external]
2484 |
2485 | export
2486 | ToFFI AssignedNodesOptions AssignedNodesOptions where toFFI = id
2487 |
2488 | export
2489 | FromFFI AssignedNodesOptions AssignedNodesOptions where fromFFI = Just
2490 |
2491 | export data CanvasRenderingContext2DSettings : Type where [external]
2492 |
2493 | export
2494 | ToFFI CanvasRenderingContext2DSettings CanvasRenderingContext2DSettings where toFFI = id
2495 |
2496 | export
2497 | FromFFI CanvasRenderingContext2DSettings CanvasRenderingContext2DSettings where fromFFI = Just
2498 |
2499 | export data CloseEventInit : Type where [external]
2500 |
2501 | export
2502 | ToFFI CloseEventInit CloseEventInit where toFFI = id
2503 |
2504 | export
2505 | FromFFI CloseEventInit CloseEventInit where fromFFI = Just
2506 |
2507 | export data DragEventInit : Type where [external]
2508 |
2509 | export
2510 | ToFFI DragEventInit DragEventInit where toFFI = id
2511 |
2512 | export
2513 | FromFFI DragEventInit DragEventInit where fromFFI = Just
2514 |
2515 | export data ElementDefinitionOptions : Type where [external]
2516 |
2517 | export
2518 | ToFFI ElementDefinitionOptions ElementDefinitionOptions where toFFI = id
2519 |
2520 | export
2521 | FromFFI ElementDefinitionOptions ElementDefinitionOptions where fromFFI = Just
2522 |
2523 | export data ErrorEventInit : Type where [external]
2524 |
2525 | export
2526 | ToFFI ErrorEventInit ErrorEventInit where toFFI = id
2527 |
2528 | export
2529 | FromFFI ErrorEventInit ErrorEventInit where fromFFI = Just
2530 |
2531 | export data EventSourceInit : Type where [external]
2532 |
2533 | export
2534 | ToFFI EventSourceInit EventSourceInit where toFFI = id
2535 |
2536 | export
2537 | FromFFI EventSourceInit EventSourceInit where fromFFI = Just
2538 |
2539 | export data FocusOptions : Type where [external]
2540 |
2541 | export
2542 | ToFFI FocusOptions FocusOptions where toFFI = id
2543 |
2544 | export
2545 | FromFFI FocusOptions FocusOptions where fromFFI = Just
2546 |
2547 | export data FormDataEventInit : Type where [external]
2548 |
2549 | export
2550 | ToFFI FormDataEventInit FormDataEventInit where toFFI = id
2551 |
2552 | export
2553 | FromFFI FormDataEventInit FormDataEventInit where fromFFI = Just
2554 |
2555 | export data HashChangeEventInit : Type where [external]
2556 |
2557 | export
2558 | ToFFI HashChangeEventInit HashChangeEventInit where toFFI = id
2559 |
2560 | export
2561 | FromFFI HashChangeEventInit HashChangeEventInit where fromFFI = Just
2562 |
2563 | export data ImageBitmapOptions : Type where [external]
2564 |
2565 | export
2566 | ToFFI ImageBitmapOptions ImageBitmapOptions where toFFI = id
2567 |
2568 | export
2569 | FromFFI ImageBitmapOptions ImageBitmapOptions where fromFFI = Just
2570 |
2571 | export data ImageBitmapRenderingContextSettings : Type where [external]
2572 |
2573 | export
2574 | ToFFI ImageBitmapRenderingContextSettings ImageBitmapRenderingContextSettings where toFFI = id
2575 |
2576 | export
2577 | FromFFI ImageBitmapRenderingContextSettings ImageBitmapRenderingContextSettings where fromFFI = Just
2578 |
2579 | export data ImageEncodeOptions : Type where [external]
2580 |
2581 | export
2582 | ToFFI ImageEncodeOptions ImageEncodeOptions where toFFI = id
2583 |
2584 | export
2585 | FromFFI ImageEncodeOptions ImageEncodeOptions where fromFFI = Just
2586 |
2587 | export data MessageEventInit : Type where [external]
2588 |
2589 | export
2590 | ToFFI MessageEventInit MessageEventInit where toFFI = id
2591 |
2592 | export
2593 | FromFFI MessageEventInit MessageEventInit where fromFFI = Just
2594 |
2595 | export data PageTransitionEventInit : Type where [external]
2596 |
2597 | export
2598 | ToFFI PageTransitionEventInit PageTransitionEventInit where toFFI = id
2599 |
2600 | export
2601 | FromFFI PageTransitionEventInit PageTransitionEventInit where fromFFI = Just
2602 |
2603 | export data PopStateEventInit : Type where [external]
2604 |
2605 | export
2606 | ToFFI PopStateEventInit PopStateEventInit where toFFI = id
2607 |
2608 | export
2609 | FromFFI PopStateEventInit PopStateEventInit where fromFFI = Just
2610 |
2611 | export data PostMessageOptions : Type where [external]
2612 |
2613 | export
2614 | ToFFI PostMessageOptions PostMessageOptions where toFFI = id
2615 |
2616 | export
2617 | FromFFI PostMessageOptions PostMessageOptions where fromFFI = Just
2618 |
2619 | export data PromiseRejectionEventInit : Type where [external]
2620 |
2621 | export
2622 | ToFFI PromiseRejectionEventInit PromiseRejectionEventInit where toFFI = id
2623 |
2624 | export
2625 | FromFFI PromiseRejectionEventInit PromiseRejectionEventInit where fromFFI = Just
2626 |
2627 | export data StorageEventInit : Type where [external]
2628 |
2629 | export
2630 | ToFFI StorageEventInit StorageEventInit where toFFI = id
2631 |
2632 | export
2633 | FromFFI StorageEventInit StorageEventInit where fromFFI = Just
2634 |
2635 | export data StructuredSerializeOptions : Type where [external]
2636 |
2637 | export
2638 | ToFFI StructuredSerializeOptions StructuredSerializeOptions where toFFI = id
2639 |
2640 | export
2641 | FromFFI StructuredSerializeOptions StructuredSerializeOptions where fromFFI = Just
2642 |
2643 | export data SubmitEventInit : Type where [external]
2644 |
2645 | export
2646 | ToFFI SubmitEventInit SubmitEventInit where toFFI = id
2647 |
2648 | export
2649 | FromFFI SubmitEventInit SubmitEventInit where fromFFI = Just
2650 |
2651 | export data TrackEventInit : Type where [external]
2652 |
2653 | export
2654 | ToFFI TrackEventInit TrackEventInit where toFFI = id
2655 |
2656 | export
2657 | FromFFI TrackEventInit TrackEventInit where fromFFI = Just
2658 |
2659 | export data ValidityStateFlags : Type where [external]
2660 |
2661 | export
2662 | ToFFI ValidityStateFlags ValidityStateFlags where toFFI = id
2663 |
2664 | export
2665 | FromFFI ValidityStateFlags ValidityStateFlags where fromFFI = Just
2666 |
2667 | export data WindowPostMessageOptions : Type where [external]
2668 |
2669 | export
2670 | ToFFI WindowPostMessageOptions WindowPostMessageOptions where toFFI = id
2671 |
2672 | export
2673 | FromFFI WindowPostMessageOptions WindowPostMessageOptions where fromFFI = Just
2674 |
2675 | export data WorkerOptions : Type where [external]
2676 |
2677 | export
2678 | ToFFI WorkerOptions WorkerOptions where toFFI = id
2679 |
2680 | export
2681 | FromFFI WorkerOptions WorkerOptions where fromFFI = Just
2682 |
2683 | export data WorkletOptions : Type where [external]
2684 |
2685 | export
2686 | ToFFI WorkletOptions WorkletOptions where toFFI = id
2687 |
2688 | export
2689 | FromFFI WorkletOptions WorkletOptions where fromFFI = Just
2690 |
2691 |
2692 | --------------------------------------------------------------------------------
2693 | --          Mixins
2694 | --------------------------------------------------------------------------------
2695 |
2696 | export data ARIAMixin : Type where [external]
2697 |
2698 | export
2699 | ToFFI ARIAMixin ARIAMixin where toFFI = id
2700 |
2701 | export
2702 | FromFFI ARIAMixin ARIAMixin where fromFFI = Just
2703 |
2704 | export data AbstractWorker : Type where [external]
2705 |
2706 | export
2707 | ToFFI AbstractWorker AbstractWorker where toFFI = id
2708 |
2709 | export
2710 | FromFFI AbstractWorker AbstractWorker where fromFFI = Just
2711 |
2712 | export data CanvasCompositing : Type where [external]
2713 |
2714 | export
2715 | ToFFI CanvasCompositing CanvasCompositing where toFFI = id
2716 |
2717 | export
2718 | FromFFI CanvasCompositing CanvasCompositing where fromFFI = Just
2719 |
2720 | export data CanvasDrawImage : Type where [external]
2721 |
2722 | export
2723 | ToFFI CanvasDrawImage CanvasDrawImage where toFFI = id
2724 |
2725 | export
2726 | FromFFI CanvasDrawImage CanvasDrawImage where fromFFI = Just
2727 |
2728 | export data CanvasDrawPath : Type where [external]
2729 |
2730 | export
2731 | ToFFI CanvasDrawPath CanvasDrawPath where toFFI = id
2732 |
2733 | export
2734 | FromFFI CanvasDrawPath CanvasDrawPath where fromFFI = Just
2735 |
2736 | export data CanvasFillStrokeStyles : Type where [external]
2737 |
2738 | export
2739 | ToFFI CanvasFillStrokeStyles CanvasFillStrokeStyles where toFFI = id
2740 |
2741 | export
2742 | FromFFI CanvasFillStrokeStyles CanvasFillStrokeStyles where fromFFI = Just
2743 |
2744 | export data CanvasFilters : Type where [external]
2745 |
2746 | export
2747 | ToFFI CanvasFilters CanvasFilters where toFFI = id
2748 |
2749 | export
2750 | FromFFI CanvasFilters CanvasFilters where fromFFI = Just
2751 |
2752 | export data CanvasImageData : Type where [external]
2753 |
2754 | export
2755 | ToFFI CanvasImageData CanvasImageData where toFFI = id
2756 |
2757 | export
2758 | FromFFI CanvasImageData CanvasImageData where fromFFI = Just
2759 |
2760 | export data CanvasImageSmoothing : Type where [external]
2761 |
2762 | export
2763 | ToFFI CanvasImageSmoothing CanvasImageSmoothing where toFFI = id
2764 |
2765 | export
2766 | FromFFI CanvasImageSmoothing CanvasImageSmoothing where fromFFI = Just
2767 |
2768 | export data CanvasPath : Type where [external]
2769 |
2770 | export
2771 | ToFFI CanvasPath CanvasPath where toFFI = id
2772 |
2773 | export
2774 | FromFFI CanvasPath CanvasPath where fromFFI = Just
2775 |
2776 | export data CanvasPathDrawingStyles : Type where [external]
2777 |
2778 | export
2779 | ToFFI CanvasPathDrawingStyles CanvasPathDrawingStyles where toFFI = id
2780 |
2781 | export
2782 | FromFFI CanvasPathDrawingStyles CanvasPathDrawingStyles where fromFFI = Just
2783 |
2784 | export data CanvasRect : Type where [external]
2785 |
2786 | export
2787 | ToFFI CanvasRect CanvasRect where toFFI = id
2788 |
2789 | export
2790 | FromFFI CanvasRect CanvasRect where fromFFI = Just
2791 |
2792 | export data CanvasShadowStyles : Type where [external]
2793 |
2794 | export
2795 | ToFFI CanvasShadowStyles CanvasShadowStyles where toFFI = id
2796 |
2797 | export
2798 | FromFFI CanvasShadowStyles CanvasShadowStyles where fromFFI = Just
2799 |
2800 | export data CanvasState : Type where [external]
2801 |
2802 | export
2803 | ToFFI CanvasState CanvasState where toFFI = id
2804 |
2805 | export
2806 | FromFFI CanvasState CanvasState where fromFFI = Just
2807 |
2808 | export data CanvasText : Type where [external]
2809 |
2810 | export
2811 | ToFFI CanvasText CanvasText where toFFI = id
2812 |
2813 | export
2814 | FromFFI CanvasText CanvasText where fromFFI = Just
2815 |
2816 | export data CanvasTextDrawingStyles : Type where [external]
2817 |
2818 | export
2819 | ToFFI CanvasTextDrawingStyles CanvasTextDrawingStyles where toFFI = id
2820 |
2821 | export
2822 | FromFFI CanvasTextDrawingStyles CanvasTextDrawingStyles where fromFFI = Just
2823 |
2824 | export data CanvasTransform : Type where [external]
2825 |
2826 | export
2827 | ToFFI CanvasTransform CanvasTransform where toFFI = id
2828 |
2829 | export
2830 | FromFFI CanvasTransform CanvasTransform where fromFFI = Just
2831 |
2832 | export data CanvasUserInterface : Type where [external]
2833 |
2834 | export
2835 | ToFFI CanvasUserInterface CanvasUserInterface where toFFI = id
2836 |
2837 | export
2838 | FromFFI CanvasUserInterface CanvasUserInterface where fromFFI = Just
2839 |
2840 | export data DocumentAndElementEventHandlers : Type where [external]
2841 |
2842 | export
2843 | ToFFI DocumentAndElementEventHandlers DocumentAndElementEventHandlers where toFFI = id
2844 |
2845 | export
2846 | FromFFI DocumentAndElementEventHandlers DocumentAndElementEventHandlers where fromFFI = Just
2847 |
2848 | export data ElementContentEditable : Type where [external]
2849 |
2850 | export
2851 | ToFFI ElementContentEditable ElementContentEditable where toFFI = id
2852 |
2853 | export
2854 | FromFFI ElementContentEditable ElementContentEditable where fromFFI = Just
2855 |
2856 | export data GlobalEventHandlers : Type where [external]
2857 |
2858 | export
2859 | ToFFI GlobalEventHandlers GlobalEventHandlers where toFFI = id
2860 |
2861 | export
2862 | FromFFI GlobalEventHandlers GlobalEventHandlers where fromFFI = Just
2863 |
2864 | export data HTMLHyperlinkElementUtils : Type where [external]
2865 |
2866 | export
2867 | ToFFI HTMLHyperlinkElementUtils HTMLHyperlinkElementUtils where toFFI = id
2868 |
2869 | export
2870 | FromFFI HTMLHyperlinkElementUtils HTMLHyperlinkElementUtils where fromFFI = Just
2871 |
2872 | export data HTMLOrSVGElement : Type where [external]
2873 |
2874 | export
2875 | ToFFI HTMLOrSVGElement HTMLOrSVGElement where toFFI = id
2876 |
2877 | export
2878 | FromFFI HTMLOrSVGElement HTMLOrSVGElement where fromFFI = Just
2879 |
2880 | export data NavigatorConcurrentHardware : Type where [external]
2881 |
2882 | export
2883 | ToFFI NavigatorConcurrentHardware NavigatorConcurrentHardware where toFFI = id
2884 |
2885 | export
2886 | FromFFI NavigatorConcurrentHardware NavigatorConcurrentHardware where fromFFI = Just
2887 |
2888 | export data NavigatorContentUtils : Type where [external]
2889 |
2890 | export
2891 | ToFFI NavigatorContentUtils NavigatorContentUtils where toFFI = id
2892 |
2893 | export
2894 | FromFFI NavigatorContentUtils NavigatorContentUtils where fromFFI = Just
2895 |
2896 | export data NavigatorCookies : Type where [external]
2897 |
2898 | export
2899 | ToFFI NavigatorCookies NavigatorCookies where toFFI = id
2900 |
2901 | export
2902 | FromFFI NavigatorCookies NavigatorCookies where fromFFI = Just
2903 |
2904 | export data NavigatorID : Type where [external]
2905 |
2906 | export
2907 | ToFFI NavigatorID NavigatorID where toFFI = id
2908 |
2909 | export
2910 | FromFFI NavigatorID NavigatorID where fromFFI = Just
2911 |
2912 | export data NavigatorLanguage : Type where [external]
2913 |
2914 | export
2915 | ToFFI NavigatorLanguage NavigatorLanguage where toFFI = id
2916 |
2917 | export
2918 | FromFFI NavigatorLanguage NavigatorLanguage where fromFFI = Just
2919 |
2920 | export data NavigatorOnLine : Type where [external]
2921 |
2922 | export
2923 | ToFFI NavigatorOnLine NavigatorOnLine where toFFI = id
2924 |
2925 | export
2926 | FromFFI NavigatorOnLine NavigatorOnLine where fromFFI = Just
2927 |
2928 | export data NavigatorPlugins : Type where [external]
2929 |
2930 | export
2931 | ToFFI NavigatorPlugins NavigatorPlugins where toFFI = id
2932 |
2933 | export
2934 | FromFFI NavigatorPlugins NavigatorPlugins where fromFFI = Just
2935 |
2936 | export data WindowEventHandlers : Type where [external]
2937 |
2938 | export
2939 | ToFFI WindowEventHandlers WindowEventHandlers where toFFI = id
2940 |
2941 | export
2942 | FromFFI WindowEventHandlers WindowEventHandlers where fromFFI = Just
2943 |
2944 | export data WindowLocalStorage : Type where [external]
2945 |
2946 | export
2947 | ToFFI WindowLocalStorage WindowLocalStorage where toFFI = id
2948 |
2949 | export
2950 | FromFFI WindowLocalStorage WindowLocalStorage where fromFFI = Just
2951 |
2952 | export data WindowOrWorkerGlobalScope : Type where [external]
2953 |
2954 | export
2955 | ToFFI WindowOrWorkerGlobalScope WindowOrWorkerGlobalScope where toFFI = id
2956 |
2957 | export
2958 | FromFFI WindowOrWorkerGlobalScope WindowOrWorkerGlobalScope where fromFFI = Just
2959 |
2960 |
2961 | --------------------------------------------------------------------------------
2962 | --          Callbacks
2963 | --------------------------------------------------------------------------------
2964 |
2965 | export data BlobCallback : Type where [external]
2966 |
2967 | export
2968 | ToFFI BlobCallback BlobCallback where toFFI = id
2969 |
2970 | export
2971 | FromFFI BlobCallback BlobCallback where fromFFI = Just
2972 |
2973 | export data CompositionEventHandler : Type where [external]
2974 |
2975 | export
2976 | ToFFI CompositionEventHandler CompositionEventHandler where toFFI = id
2977 |
2978 | export
2979 | FromFFI CompositionEventHandler CompositionEventHandler where fromFFI = Just
2980 |
2981 | export data CustomElementConstructor : Type where [external]
2982 |
2983 | export
2984 | ToFFI CustomElementConstructor CustomElementConstructor where toFFI = id
2985 |
2986 | export
2987 | FromFFI CustomElementConstructor CustomElementConstructor where fromFFI = Just
2988 |
2989 | export data EventHandlerNonNull : Type where [external]
2990 |
2991 | export
2992 | ToFFI EventHandlerNonNull EventHandlerNonNull where toFFI = id
2993 |
2994 | export
2995 | FromFFI EventHandlerNonNull EventHandlerNonNull where fromFFI = Just
2996 |
2997 | export data FocusEventHandler : Type where [external]
2998 |
2999 | export
3000 | ToFFI FocusEventHandler FocusEventHandler where toFFI = id
3001 |
3002 | export
3003 | FromFFI FocusEventHandler FocusEventHandler where fromFFI = Just
3004 |
3005 | export data FunctionStringCallback : Type where [external]
3006 |
3007 | export
3008 | ToFFI FunctionStringCallback FunctionStringCallback where toFFI = id
3009 |
3010 | export
3011 | FromFFI FunctionStringCallback FunctionStringCallback where fromFFI = Just
3012 |
3013 | export data InputEventHandler : Type where [external]
3014 |
3015 | export
3016 | ToFFI InputEventHandler InputEventHandler where toFFI = id
3017 |
3018 | export
3019 | FromFFI InputEventHandler InputEventHandler where fromFFI = Just
3020 |
3021 | export data KeyboardEventHandler : Type where [external]
3022 |
3023 | export
3024 | ToFFI KeyboardEventHandler KeyboardEventHandler where toFFI = id
3025 |
3026 | export
3027 | FromFFI KeyboardEventHandler KeyboardEventHandler where fromFFI = Just
3028 |
3029 | export data MouseEventHandler : Type where [external]
3030 |
3031 | export
3032 | ToFFI MouseEventHandler MouseEventHandler where toFFI = id
3033 |
3034 | export
3035 | FromFFI MouseEventHandler MouseEventHandler where fromFFI = Just
3036 |
3037 | export data OnBeforeUnloadEventHandlerNonNull : Type where [external]
3038 |
3039 | export
3040 | ToFFI OnBeforeUnloadEventHandlerNonNull OnBeforeUnloadEventHandlerNonNull where toFFI = id
3041 |
3042 | export
3043 | FromFFI OnBeforeUnloadEventHandlerNonNull OnBeforeUnloadEventHandlerNonNull where fromFFI = Just
3044 |
3045 | export data OnErrorEventHandlerNonNull : Type where [external]
3046 |
3047 | export
3048 | ToFFI OnErrorEventHandlerNonNull OnErrorEventHandlerNonNull where toFFI = id
3049 |
3050 | export
3051 | FromFFI OnErrorEventHandlerNonNull OnErrorEventHandlerNonNull where fromFFI = Just
3052 |
3053 | export data UIEventHandler : Type where [external]
3054 |
3055 | export
3056 | ToFFI UIEventHandler UIEventHandler where toFFI = id
3057 |
3058 | export
3059 | FromFFI UIEventHandler UIEventHandler where fromFFI = Just
3060 |
3061 | export data WheelEventHandler : Type where [external]
3062 |
3063 | export
3064 | ToFFI WheelEventHandler WheelEventHandler where toFFI = id
3065 |
3066 | export
3067 | FromFFI WheelEventHandler WheelEventHandler where fromFFI = Just
3068 |