foldkit 0.133.0 → 0.135.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/README.md +13 -17
  2. package/dist/canvas/view.d.ts +18 -11
  3. package/dist/canvas/view.d.ts.map +1 -1
  4. package/dist/canvas/view.js +18 -11
  5. package/dist/customElement/index.d.ts +12 -6
  6. package/dist/customElement/index.d.ts.map +1 -1
  7. package/dist/customElement/index.js +17 -4
  8. package/dist/html/index.d.ts +625 -1601
  9. package/dist/html/index.d.ts.map +1 -1
  10. package/dist/html/index.js +52 -15
  11. package/dist/html/public.d.ts +2 -2
  12. package/dist/html/public.d.ts.map +1 -1
  13. package/dist/html/public.js +1 -1
  14. package/dist/html/runtimeSingleton.d.ts +1 -1
  15. package/dist/html/runtimeSingleton.d.ts.map +1 -1
  16. package/dist/html/runtimeSingleton.js +1 -1
  17. package/dist/html/submodel.d.ts +51 -19
  18. package/dist/html/submodel.d.ts.map +1 -1
  19. package/dist/html/submodel.js +37 -13
  20. package/dist/managedResource/managedResource.d.ts +21 -10
  21. package/dist/managedResource/managedResource.d.ts.map +1 -1
  22. package/dist/managedResource/managedResource.js +6 -1
  23. package/dist/runtime/crashUI.d.ts.map +1 -1
  24. package/dist/runtime/crashUI.js +29 -30
  25. package/dist/runtime/runtime.d.ts +9 -6
  26. package/dist/runtime/runtime.d.ts.map +1 -1
  27. package/dist/runtime/runtime.js +9 -8
  28. package/dist/test/apps/attributes.d.ts +2 -2
  29. package/dist/test/apps/attributes.d.ts.map +1 -1
  30. package/dist/test/apps/attributes.js +1 -3
  31. package/dist/test/apps/bubbling.d.ts +2 -2
  32. package/dist/test/apps/bubbling.d.ts.map +1 -1
  33. package/dist/test/apps/bubbling.js +1 -3
  34. package/dist/test/apps/colorPicker.d.ts +28 -0
  35. package/dist/test/apps/colorPicker.d.ts.map +1 -0
  36. package/dist/test/apps/colorPicker.js +43 -0
  37. package/dist/test/apps/counter.d.ts +5 -3
  38. package/dist/test/apps/counter.d.ts.map +1 -1
  39. package/dist/test/apps/counter.js +12 -7
  40. package/dist/test/apps/crashOnRender.d.ts +2 -2
  41. package/dist/test/apps/crashOnRender.d.ts.map +1 -1
  42. package/dist/test/apps/crashOnRender.js +1 -3
  43. package/dist/test/apps/drafts.d.ts +2 -2
  44. package/dist/test/apps/drafts.d.ts.map +1 -1
  45. package/dist/test/apps/drafts.js +1 -3
  46. package/dist/test/apps/feedSocket.d.ts +74 -0
  47. package/dist/test/apps/feedSocket.d.ts.map +1 -0
  48. package/dist/test/apps/feedSocket.js +69 -0
  49. package/dist/test/apps/fileUpload.d.ts +2 -2
  50. package/dist/test/apps/fileUpload.d.ts.map +1 -1
  51. package/dist/test/apps/fileUpload.js +1 -3
  52. package/dist/test/apps/interactions.d.ts +2 -2
  53. package/dist/test/apps/interactions.d.ts.map +1 -1
  54. package/dist/test/apps/interactions.js +1 -3
  55. package/dist/test/apps/keypress.d.ts +2 -2
  56. package/dist/test/apps/keypress.d.ts.map +1 -1
  57. package/dist/test/apps/keypress.js +1 -3
  58. package/dist/test/apps/login.d.ts +2 -2
  59. package/dist/test/apps/login.d.ts.map +1 -1
  60. package/dist/test/apps/login.js +1 -3
  61. package/dist/test/apps/logoutButton.d.ts +2 -2
  62. package/dist/test/apps/logoutButton.d.ts.map +1 -1
  63. package/dist/test/apps/logoutButton.js +1 -3
  64. package/dist/test/apps/mountPanel.d.ts +4 -4
  65. package/dist/test/apps/mountPanel.d.ts.map +1 -1
  66. package/dist/test/apps/mountPanel.js +3 -7
  67. package/dist/test/apps/multiRole.d.ts +2 -2
  68. package/dist/test/apps/multiRole.d.ts.map +1 -1
  69. package/dist/test/apps/multiRole.js +1 -3
  70. package/dist/test/apps/pointer.d.ts +2 -2
  71. package/dist/test/apps/pointer.d.ts.map +1 -1
  72. package/dist/test/apps/pointer.js +1 -3
  73. package/dist/test/apps/resumeUpload.d.ts +2 -2
  74. package/dist/test/apps/resumeUpload.d.ts.map +1 -1
  75. package/dist/test/apps/resumeUpload.js +3 -6
  76. package/dist/test/apps/scorePanel.d.ts +32 -0
  77. package/dist/test/apps/scorePanel.d.ts.map +1 -0
  78. package/dist/test/apps/scorePanel.js +19 -0
  79. package/dist/test/apps/uploads.d.ts +2 -2
  80. package/dist/test/apps/uploads.d.ts.map +1 -1
  81. package/dist/test/apps/uploads.js +1 -3
  82. package/dist/test/scene.d.ts +81 -9
  83. package/dist/test/scene.d.ts.map +1 -1
  84. package/dist/test/scene.js +206 -26
  85. package/dist/test/story.d.ts +4 -5
  86. package/dist/test/story.d.ts.map +1 -1
  87. package/dist/test/story.js +1 -2
  88. package/package.json +1 -1
@@ -1,16 +1,17 @@
1
- import { Context, Data, Option, Schema as S, Stream } from 'effect';
1
+ import { Context, Data, Option, Schema as S } from 'effect';
2
2
  import type { File } from '../file/index.js';
3
3
  import type { MountAction } from '../mount/index.js';
4
4
  import { VNode } from '../vdom.js';
5
5
  import { type ChildAttribute } from './childAttribute.js';
6
6
  import { type DispatchSync } from './runtimeSingleton.js';
7
+ import { type AnySubmodelView, type SubmodelConfig } from './submodel.js';
7
8
  export { createKeyedLazy, createLazy } from './lazy.js';
8
9
  export { beginRender as __beginRender, createBoundaryRegistry as __createBoundaryRegistry, } from './boundary.js';
9
10
  export type { BoundaryRegistry } from './boundary.js';
10
11
  export { childAttributes } from './childAttribute.js';
11
12
  export type { ChildAttribute } from './childAttribute.js';
12
- export { defineView, submodel } from './submodel.js';
13
- export type { SubmodelConfig, SubmodelView } from './submodel.js';
13
+ export { defineView } from './submodel.js';
14
+ export type { AnySubmodelView, SubmodelConfig, SubmodelView, } from './submodel.js';
14
15
  /** Pushes a dispatch and runtime context frame for the duration of a render.
15
16
  * The runtime calls this immediately before invoking a user `view` and
16
17
  * matches it with {@link __clearRuntime} in a `finally` so an exception
@@ -1083,2516 +1084,1539 @@ export { Prop, OnCustomEvent };
1083
1084
  export declare const customElement: <Message>() => (tagName: string) => (attributes?: ReadonlyArray<Attribute<Message> | ChildAttribute>, children?: ReadonlyArray<Child>) => Html;
1084
1085
  type ElementFunction<Message> = (attributes: ReadonlyArray<Attribute<Message> | ChildAttribute>, children: ReadonlyArray<Child>) => Html;
1085
1086
  type VoidElementFunction<Message> = (attributes: ReadonlyArray<Attribute<Message> | ChildAttribute>) => Html;
1086
- declare const buildHtmlFactory: <Message>() => {
1087
- empty: null;
1088
- keyed: (tagName: TagName) => (key: PropertyKey, attributes?: readonly (Readonly<{
1089
- readonly attribute: unknown;
1090
- readonly dispatch: DispatchSync;
1091
- readonly resolveUnmount: (message: unknown) => () => void;
1092
- readonly boundaryMappers: ReadonlyArray<(message: unknown) => unknown>;
1093
- readonly __childAttribute: true;
1094
- }> | {
1095
- readonly _tag: "Type";
1096
- readonly value: string;
1097
- } | {
1098
- readonly _tag: "Filter";
1099
- readonly value: string;
1100
- } | {
1101
- readonly _tag: "Loading";
1102
- readonly value: string;
1103
- } | {
1104
- readonly _tag: "Start";
1105
- readonly value: number;
1106
- } | {
1107
- readonly _tag: "OnFileChange";
1108
- readonly f: (files: ReadonlyArray<File>) => Message;
1109
- } | {
1110
- readonly _tag: "OnDropFiles";
1111
- readonly f: (files: ReadonlyArray<File>) => Message;
1112
- } | {
1113
- readonly _tag: "Key";
1114
- readonly value: string;
1115
- } | {
1116
- readonly _tag: "Class";
1117
- readonly value: string;
1118
- } | {
1119
- readonly _tag: "Id";
1120
- readonly value: string;
1121
- } | {
1122
- readonly _tag: "Title";
1123
- readonly value: string;
1124
- } | {
1125
- readonly _tag: "Lang";
1126
- readonly value: string;
1127
- } | {
1128
- readonly _tag: "Dir";
1129
- readonly value: string;
1130
- } | {
1131
- readonly _tag: "Tabindex";
1132
- readonly value: number;
1133
- } | {
1134
- readonly _tag: "Hidden";
1135
- readonly value: boolean;
1136
- } | {
1137
- readonly _tag: "Contenteditable";
1138
- readonly value: string;
1139
- } | {
1140
- readonly _tag: "Draggable";
1141
- readonly value: boolean;
1142
- } | {
1143
- readonly _tag: "Accesskey";
1144
- readonly value: string;
1145
- } | {
1146
- readonly _tag: "Translate";
1147
- readonly value: string;
1148
- } | {
1149
- readonly _tag: "Inert";
1150
- readonly value: boolean;
1151
- } | {
1152
- readonly _tag: "Popover";
1153
- readonly value: string;
1154
- } | {
1155
- readonly _tag: "Popovertarget";
1156
- readonly value: string;
1157
- } | {
1158
- readonly _tag: "Popovertargetaction";
1159
- readonly value: string;
1160
- } | {
1161
- readonly _tag: "OnClick";
1162
- readonly message: Message;
1163
- } | {
1164
- readonly _tag: "OnClickFocus";
1165
- readonly focusSelector: string;
1166
- readonly message: Message;
1167
- } | {
1168
- readonly _tag: "OnDoubleClick";
1169
- readonly message: Message;
1170
- } | {
1171
- readonly _tag: "OnMouseDown";
1172
- readonly message: Message;
1173
- } | {
1174
- readonly _tag: "OnMouseUp";
1175
- readonly message: Message;
1176
- } | {
1177
- readonly _tag: "OnMouseEnter";
1178
- readonly message: Message;
1179
- } | {
1180
- readonly _tag: "OnMouseLeave";
1181
- readonly message: Message;
1182
- } | {
1183
- readonly _tag: "OnMouseOver";
1184
- readonly message: Message;
1185
- } | {
1186
- readonly _tag: "OnMouseOut";
1187
- readonly message: Message;
1188
- } | {
1189
- readonly _tag: "OnMouseMove";
1190
- readonly message: Message;
1191
- } | {
1192
- readonly _tag: "OnPointerMove";
1193
- readonly f: (screenX: number, screenY: number, pointerType: string) => Option.Option<Message>;
1194
- } | {
1195
- readonly _tag: "OnPointerLeave";
1196
- readonly f: (pointerType: string) => Option.Option<Message>;
1197
- } | {
1198
- readonly _tag: "OnPointerDown";
1199
- readonly f: (pointerType: string, button: number, screenX: number, screenY: number, timeStamp: number, clientX: number, clientY: number) => Option.Option<Message>;
1200
- } | {
1201
- readonly _tag: "OnPointerUp";
1202
- readonly f: (screenX: number, screenY: number, pointerType: string, timeStamp: number) => Option.Option<Message>;
1203
- } | {
1204
- readonly _tag: "OnKeyDown";
1205
- readonly f: (key: string, modifiers: Readonly<{
1206
- shiftKey: boolean;
1207
- ctrlKey: boolean;
1208
- altKey: boolean;
1209
- metaKey: boolean;
1210
- }>) => Message;
1211
- } | {
1212
- readonly _tag: "OnKeyDownPreventDefault";
1213
- readonly f: (key: string, modifiers: Readonly<{
1214
- shiftKey: boolean;
1215
- ctrlKey: boolean;
1216
- altKey: boolean;
1217
- metaKey: boolean;
1218
- }>) => Option.Option<Message>;
1219
- } | {
1220
- readonly _tag: "OnKeyDownFocus";
1221
- readonly f: (key: string, modifiers: Readonly<{
1222
- shiftKey: boolean;
1223
- ctrlKey: boolean;
1224
- altKey: boolean;
1225
- metaKey: boolean;
1226
- }>) => Option.Option<Readonly<{
1227
- focusSelector: string;
1228
- message: Message;
1229
- }>>;
1230
- } | {
1231
- readonly _tag: "OnKeyUp";
1232
- readonly f: (key: string, modifiers: Readonly<{
1233
- shiftKey: boolean;
1234
- ctrlKey: boolean;
1235
- altKey: boolean;
1236
- metaKey: boolean;
1237
- }>) => Message;
1238
- } | {
1239
- readonly _tag: "OnKeyUpPreventDefault";
1240
- readonly f: (key: string, modifiers: Readonly<{
1241
- shiftKey: boolean;
1242
- ctrlKey: boolean;
1243
- altKey: boolean;
1244
- metaKey: boolean;
1245
- }>) => Option.Option<Message>;
1246
- } | {
1247
- readonly _tag: "OnKeyPress";
1248
- readonly f: (key: string, modifiers: Readonly<{
1249
- shiftKey: boolean;
1250
- ctrlKey: boolean;
1251
- altKey: boolean;
1252
- metaKey: boolean;
1253
- }>) => Message;
1254
- } | {
1255
- readonly _tag: "OnFocus";
1256
- readonly message: Message;
1257
- } | {
1258
- readonly _tag: "OnBlur";
1259
- readonly message: Message;
1260
- } | {
1261
- readonly _tag: "OnInput";
1262
- readonly f: (value: string) => Message;
1263
- } | {
1264
- readonly _tag: "OnChange";
1265
- readonly f: (value: string) => Message;
1266
- } | {
1267
- readonly _tag: "OnSubmit";
1268
- readonly message: Message;
1269
- } | {
1270
- readonly _tag: "OnReset";
1271
- readonly message: Message;
1272
- } | {
1273
- readonly _tag: "OnScroll";
1274
- readonly f: (scrollTop: number) => Message;
1275
- } | {
1276
- readonly _tag: "OnWheel";
1277
- readonly message: Message;
1278
- } | {
1279
- readonly _tag: "OnCopy";
1280
- readonly message: Message;
1281
- } | {
1282
- readonly _tag: "OnCut";
1283
- readonly message: Message;
1284
- } | {
1285
- readonly _tag: "OnPaste";
1286
- readonly message: Message;
1287
- } | {
1288
- readonly _tag: "OnPastePreventDefault";
1289
- readonly f: (text: string) => Option.Option<Message>;
1290
- } | {
1291
- readonly _tag: "OnCopyText";
1292
- readonly text: string;
1293
- } | {
1294
- readonly _tag: "OnCutText";
1295
- readonly text: string;
1296
- readonly message: Message;
1297
- } | {
1298
- readonly _tag: "OnCancel";
1299
- readonly message: Message;
1300
- } | {
1301
- readonly _tag: "OnToggle";
1302
- readonly f: (isOpen: boolean) => Message;
1303
- } | {
1304
- readonly _tag: "OnContextMenu";
1305
- readonly message: Message;
1306
- } | {
1307
- readonly _tag: "OnDragStart";
1308
- readonly message: Message;
1309
- } | {
1310
- readonly _tag: "OnDrag";
1311
- readonly message: Message;
1312
- } | {
1313
- readonly _tag: "OnDragEnd";
1314
- readonly message: Message;
1315
- } | {
1316
- readonly _tag: "OnDragEnter";
1317
- readonly message: Message;
1318
- } | {
1319
- readonly _tag: "OnDragLeave";
1320
- readonly message: Message;
1321
- } | {
1322
- readonly _tag: "OnDragOver";
1323
- readonly message: Message;
1324
- } | {
1325
- readonly _tag: "AllowDrop";
1326
- } | {
1327
- readonly _tag: "OnDrop";
1328
- readonly message: Message;
1329
- } | {
1330
- readonly _tag: "OnTouchStart";
1331
- readonly message: Message;
1332
- } | {
1333
- readonly _tag: "OnTouchEnd";
1334
- readonly message: Message;
1335
- } | {
1336
- readonly _tag: "OnTouchMove";
1337
- readonly message: Message;
1338
- } | {
1339
- readonly _tag: "OnTouchCancel";
1340
- readonly message: Message;
1341
- } | {
1342
- readonly _tag: "OnAnimationStart";
1343
- readonly message: Message;
1344
- } | {
1345
- readonly _tag: "OnAnimationEnd";
1346
- readonly message: Message;
1347
- } | {
1348
- readonly _tag: "OnAnimationIteration";
1349
- readonly message: Message;
1350
- } | {
1351
- readonly _tag: "OnTransitionEnd";
1352
- readonly message: Message;
1353
- } | {
1354
- readonly _tag: "OnLoad";
1355
- readonly message: Message;
1356
- } | {
1357
- readonly _tag: "OnError";
1358
- readonly message: Message;
1359
- } | {
1360
- readonly _tag: "OnPlay";
1361
- readonly message: Message;
1362
- } | {
1363
- readonly _tag: "OnPause";
1364
- readonly message: Message;
1365
- } | {
1366
- readonly _tag: "OnEnded";
1367
- readonly message: Message;
1368
- } | {
1369
- readonly _tag: "OnTimeUpdate";
1370
- readonly message: Message;
1371
- } | {
1372
- readonly _tag: "OnVolumeChange";
1373
- readonly message: Message;
1374
- } | {
1375
- readonly _tag: "OnSelect";
1376
- readonly message: Message;
1377
- } | {
1378
- readonly _tag: "Value";
1379
- readonly value: string;
1380
- } | {
1381
- readonly _tag: "Checked";
1382
- readonly value: boolean;
1383
- } | {
1384
- readonly _tag: "Selected";
1385
- readonly value: boolean;
1386
- } | {
1387
- readonly _tag: "Open";
1388
- readonly value: boolean;
1389
- } | {
1390
- readonly _tag: "Placeholder";
1391
- readonly value: string;
1392
- } | {
1393
- readonly _tag: "Name";
1394
- readonly value: string;
1395
- } | {
1396
- readonly _tag: "Disabled";
1397
- readonly value: boolean;
1398
- } | {
1399
- readonly _tag: "Readonly";
1400
- readonly value: boolean;
1401
- } | {
1402
- readonly _tag: "Required";
1403
- readonly value: boolean;
1404
- } | {
1405
- readonly _tag: "Autofocus";
1406
- readonly value: boolean;
1407
- } | {
1408
- readonly _tag: "Spellcheck";
1409
- readonly value: boolean;
1410
- } | {
1411
- readonly _tag: "Autocorrect";
1412
- readonly value: string;
1413
- } | {
1414
- readonly _tag: "Autocapitalize";
1415
- readonly value: string;
1416
- } | {
1417
- readonly _tag: "InputMode";
1418
- readonly value: string;
1419
- } | {
1420
- readonly _tag: "EnterKeyHint";
1421
- readonly value: string;
1422
- } | {
1423
- readonly _tag: "Multiple";
1424
- readonly value: boolean;
1425
- } | {
1426
- readonly _tag: "Accept";
1427
- readonly value: string;
1428
- } | {
1429
- readonly _tag: "Autocomplete";
1430
- readonly value: string;
1431
- } | {
1432
- readonly _tag: "Pattern";
1433
- readonly value: string;
1434
- } | {
1435
- readonly _tag: "Maxlength";
1436
- readonly value: number;
1437
- } | {
1438
- readonly _tag: "Minlength";
1439
- readonly value: number;
1440
- } | {
1441
- readonly _tag: "Size";
1442
- readonly value: number;
1443
- } | {
1444
- readonly _tag: "Cols";
1445
- readonly value: number;
1446
- } | {
1447
- readonly _tag: "Rows";
1448
- readonly value: number;
1449
- } | {
1450
- readonly _tag: "Max";
1451
- readonly value: string;
1452
- } | {
1453
- readonly _tag: "Min";
1454
- readonly value: string;
1455
- } | {
1456
- readonly _tag: "Step";
1457
- readonly value: string;
1458
- } | {
1459
- readonly _tag: "For";
1460
- readonly value: string;
1461
- } | {
1462
- readonly _tag: "Href";
1463
- readonly value: string;
1464
- } | {
1465
- readonly _tag: "Src";
1466
- readonly value: string;
1467
- } | {
1468
- readonly _tag: "Alt";
1469
- readonly value: string;
1470
- } | {
1471
- readonly _tag: "Target";
1472
- readonly value: string;
1473
- } | {
1474
- readonly _tag: "Rel";
1475
- readonly value: string;
1476
- } | {
1477
- readonly _tag: "Download";
1478
- readonly value: string;
1479
- } | {
1480
- readonly _tag: "Action";
1481
- readonly value: string;
1482
- } | {
1483
- readonly _tag: "Method";
1484
- readonly value: string;
1485
- } | {
1486
- readonly _tag: "Enctype";
1487
- readonly value: string;
1488
- } | {
1489
- readonly _tag: "Novalidate";
1490
- readonly value: boolean;
1491
- } | {
1492
- readonly _tag: "Formaction";
1493
- readonly value: string;
1494
- } | {
1495
- readonly _tag: "Formmethod";
1496
- readonly value: string;
1497
- } | {
1498
- readonly _tag: "Formnovalidate";
1499
- readonly value: boolean;
1500
- } | {
1501
- readonly _tag: "Formtarget";
1502
- readonly value: string;
1503
- } | {
1504
- readonly _tag: "Formenctype";
1505
- readonly value: string;
1506
- } | {
1507
- readonly _tag: "Colspan";
1508
- readonly value: number;
1509
- } | {
1510
- readonly _tag: "Rowspan";
1511
- readonly value: number;
1512
- } | {
1513
- readonly _tag: "Scope";
1514
- readonly value: string;
1515
- } | {
1516
- readonly _tag: "Headers";
1517
- readonly value: string;
1518
- } | {
1519
- readonly _tag: "Span";
1520
- readonly value: number;
1521
- } | {
1522
- readonly _tag: "Reversed";
1523
- readonly value: boolean;
1524
- } | {
1525
- readonly _tag: "CiteAttr";
1526
- readonly value: string;
1527
- } | {
1528
- readonly _tag: "Datetime";
1529
- readonly value: string;
1530
- } | {
1531
- readonly _tag: "Wrap";
1532
- readonly value: string;
1533
- } | {
1534
- readonly _tag: "List";
1535
- readonly value: string;
1536
- } | {
1537
- readonly _tag: "FormAttr";
1538
- readonly value: string;
1539
- } | {
1540
- readonly _tag: "LabelAttr";
1541
- readonly value: string;
1542
- } | {
1543
- readonly _tag: "ContentAttr";
1544
- readonly value: string;
1545
- } | {
1546
- readonly _tag: "Charset";
1547
- readonly value: string;
1548
- } | {
1549
- readonly _tag: "HttpEquiv";
1550
- readonly value: string;
1551
- } | {
1552
- readonly _tag: "Srcset";
1553
- readonly value: string;
1554
- } | {
1555
- readonly _tag: "Sizes";
1556
- readonly value: string;
1557
- } | {
1558
- readonly _tag: "Decoding";
1559
- readonly value: string;
1560
- } | {
1561
- readonly _tag: "Fetchpriority";
1562
- readonly value: string;
1563
- } | {
1564
- readonly _tag: "Crossorigin";
1565
- readonly value: string;
1566
- } | {
1567
- readonly _tag: "Referrerpolicy";
1568
- readonly value: string;
1569
- } | {
1570
- readonly _tag: "Integrity";
1571
- readonly value: string;
1572
- } | {
1573
- readonly _tag: "Hreflang";
1574
- readonly value: string;
1575
- } | {
1576
- readonly _tag: "Ping";
1577
- readonly value: string;
1578
- } | {
1579
- readonly _tag: "Sandbox";
1580
- readonly value: string;
1581
- } | {
1582
- readonly _tag: "Allow";
1583
- readonly value: string;
1584
- } | {
1585
- readonly _tag: "Srcdoc";
1586
- readonly value: string;
1587
- } | {
1588
- readonly _tag: "Autoplay";
1589
- readonly value: boolean;
1590
- } | {
1591
- readonly _tag: "Controls";
1592
- readonly value: boolean;
1593
- } | {
1594
- readonly _tag: "Loop";
1595
- readonly value: boolean;
1596
- } | {
1597
- readonly _tag: "Muted";
1598
- readonly value: boolean;
1599
- } | {
1600
- readonly _tag: "Poster";
1601
- readonly value: string;
1602
- } | {
1603
- readonly _tag: "Preload";
1604
- readonly value: string;
1605
- } | {
1606
- readonly _tag: "Playsinline";
1607
- readonly value: boolean;
1608
- } | {
1609
- readonly _tag: "High";
1610
- readonly value: number;
1611
- } | {
1612
- readonly _tag: "Low";
1613
- readonly value: number;
1614
- } | {
1615
- readonly _tag: "Optimum";
1616
- readonly value: number;
1617
- } | {
1618
- readonly _tag: "Usemap";
1619
- readonly value: string;
1620
- } | {
1621
- readonly _tag: "Ismap";
1622
- readonly value: boolean;
1623
- } | {
1624
- readonly _tag: "Role";
1625
- readonly value: string;
1626
- } | {
1627
- readonly _tag: "AriaLabel";
1628
- readonly value: string;
1629
- } | {
1630
- readonly _tag: "AriaLabelledBy";
1631
- readonly value: string;
1632
- } | {
1633
- readonly _tag: "AriaDescribedBy";
1634
- readonly value: string;
1635
- } | {
1636
- readonly _tag: "AriaHidden";
1637
- readonly value: boolean;
1638
- } | {
1639
- readonly _tag: "AriaExpanded";
1640
- readonly value: boolean;
1641
- } | {
1642
- readonly _tag: "AriaSelected";
1643
- readonly value: boolean;
1644
- } | {
1645
- readonly _tag: "AriaChecked";
1646
- readonly value: boolean | "mixed";
1647
- } | {
1648
- readonly _tag: "AriaDisabled";
1649
- readonly value: boolean;
1650
- } | {
1651
- readonly _tag: "AriaRequired";
1652
- readonly value: boolean;
1653
- } | {
1654
- readonly _tag: "AriaInvalid";
1655
- readonly value: boolean;
1656
- } | {
1657
- readonly _tag: "AriaLive";
1658
- readonly value: string;
1659
- } | {
1660
- readonly _tag: "AriaControls";
1661
- readonly value: string;
1662
- } | {
1663
- readonly _tag: "AriaCurrent";
1664
- readonly value: string;
1665
- } | {
1666
- readonly _tag: "AriaOrientation";
1667
- readonly value: string;
1668
- } | {
1669
- readonly _tag: "AriaPressed";
1670
- readonly value: string;
1671
- } | {
1672
- readonly _tag: "AriaHasPopup";
1673
- readonly value: string;
1674
- } | {
1675
- readonly _tag: "AriaActiveDescendant";
1676
- readonly value: string;
1677
- } | {
1678
- readonly _tag: "AriaSort";
1679
- readonly value: string;
1680
- } | {
1681
- readonly _tag: "AriaMultiSelectable";
1682
- readonly value: boolean;
1683
- } | {
1684
- readonly _tag: "AriaModal";
1685
- readonly value: boolean;
1686
- } | {
1687
- readonly _tag: "AriaBusy";
1688
- readonly value: boolean;
1689
- } | {
1690
- readonly _tag: "AriaErrorMessage";
1691
- readonly value: string;
1692
- } | {
1693
- readonly _tag: "AriaRoleDescription";
1694
- readonly value: string;
1695
- } | {
1696
- readonly _tag: "AriaAtomic";
1697
- readonly value: boolean;
1698
- } | {
1699
- readonly _tag: "AriaAutocomplete";
1700
- readonly value: string;
1701
- } | {
1702
- readonly _tag: "AriaColcount";
1703
- readonly value: number;
1704
- } | {
1705
- readonly _tag: "AriaColindex";
1706
- readonly value: number;
1707
- } | {
1708
- readonly _tag: "AriaColspan";
1709
- readonly value: number;
1710
- } | {
1711
- readonly _tag: "AriaDescription";
1712
- readonly value: string;
1713
- } | {
1714
- readonly _tag: "AriaDetails";
1715
- readonly value: string;
1716
- } | {
1717
- readonly _tag: "AriaFlowto";
1718
- readonly value: string;
1719
- } | {
1720
- readonly _tag: "AriaKeyshortcuts";
1721
- readonly value: string;
1722
- } | {
1723
- readonly _tag: "AriaLevel";
1724
- readonly value: number;
1725
- } | {
1726
- readonly _tag: "AriaOwns";
1727
- readonly value: string;
1728
- } | {
1729
- readonly _tag: "AriaPlaceholder";
1730
- readonly value: string;
1731
- } | {
1732
- readonly _tag: "AriaPosinset";
1733
- readonly value: number;
1734
- } | {
1735
- readonly _tag: "AriaReadonly";
1736
- readonly value: boolean;
1737
- } | {
1738
- readonly _tag: "AriaRelevant";
1739
- readonly value: string;
1740
- } | {
1741
- readonly _tag: "AriaRowcount";
1742
- readonly value: number;
1743
- } | {
1744
- readonly _tag: "AriaRowindex";
1745
- readonly value: number;
1746
- } | {
1747
- readonly _tag: "AriaRowspan";
1748
- readonly value: number;
1749
- } | {
1750
- readonly _tag: "AriaSetsize";
1751
- readonly value: number;
1752
- } | {
1753
- readonly _tag: "AriaValuemax";
1754
- readonly value: number;
1755
- } | {
1756
- readonly _tag: "AriaValuemin";
1757
- readonly value: number;
1758
- } | {
1759
- readonly _tag: "AriaValuenow";
1760
- readonly value: number;
1761
- } | {
1762
- readonly _tag: "AriaValuetext";
1763
- readonly value: string;
1764
- } | {
1765
- readonly _tag: "Attribute";
1766
- readonly key: string;
1767
- readonly value: string;
1768
- } | {
1769
- readonly _tag: "DataAttribute";
1770
- readonly key: string;
1771
- readonly value: string;
1772
- } | {
1773
- readonly _tag: "Style";
1774
- readonly value: Record<string, string>;
1775
- } | {
1776
- readonly _tag: "InnerHTML";
1777
- readonly value: string;
1778
- } | {
1779
- readonly _tag: "ViewBox";
1780
- readonly value: string;
1781
- } | {
1782
- readonly _tag: "Xmlns";
1783
- readonly value: string;
1784
- } | {
1785
- readonly _tag: "Fill";
1786
- readonly value: string;
1787
- } | {
1788
- readonly _tag: "FillRule";
1789
- readonly value: string;
1790
- } | {
1791
- readonly _tag: "ClipRule";
1792
- readonly value: string;
1793
- } | {
1794
- readonly _tag: "Stroke";
1795
- readonly value: string;
1796
- } | {
1797
- readonly _tag: "StrokeWidth";
1798
- readonly value: string;
1799
- } | {
1800
- readonly _tag: "StrokeLinecap";
1801
- readonly value: string;
1802
- } | {
1803
- readonly _tag: "StrokeLinejoin";
1804
- readonly value: string;
1805
- } | {
1806
- readonly _tag: "D";
1807
- readonly value: string;
1808
- } | {
1809
- readonly _tag: "Cx";
1810
- readonly value: string;
1811
- } | {
1812
- readonly _tag: "Cy";
1813
- readonly value: string;
1814
- } | {
1815
- readonly _tag: "R";
1816
- readonly value: string;
1817
- } | {
1818
- readonly _tag: "X";
1819
- readonly value: string;
1820
- } | {
1821
- readonly _tag: "Y";
1822
- readonly value: string;
1823
- } | {
1824
- readonly _tag: "Width";
1825
- readonly value: string;
1826
- } | {
1827
- readonly _tag: "Height";
1828
- readonly value: string;
1829
- } | {
1830
- readonly _tag: "X1";
1831
- readonly value: string;
1832
- } | {
1833
- readonly _tag: "Y1";
1834
- readonly value: string;
1835
- } | {
1836
- readonly _tag: "X2";
1837
- readonly value: string;
1838
- } | {
1839
- readonly _tag: "Y2";
1840
- readonly value: string;
1841
- } | {
1842
- readonly _tag: "Points";
1843
- readonly value: string;
1844
- } | {
1845
- readonly _tag: "Transform";
1846
- readonly value: string;
1847
- } | {
1848
- readonly _tag: "Opacity";
1849
- readonly value: string;
1850
- } | {
1851
- readonly _tag: "StrokeDasharray";
1852
- readonly value: string;
1853
- } | {
1854
- readonly _tag: "StrokeDashoffset";
1855
- readonly value: string;
1856
- } | {
1857
- readonly _tag: "Dx";
1858
- readonly value: string;
1859
- } | {
1860
- readonly _tag: "Dy";
1861
- readonly value: string;
1862
- } | {
1863
- readonly _tag: "Rotate";
1864
- readonly value: string;
1865
- } | {
1866
- readonly _tag: "TextAnchor";
1867
- readonly value: string;
1868
- } | {
1869
- readonly _tag: "DominantBaseline";
1870
- readonly value: string;
1871
- } | {
1872
- readonly _tag: "AlignmentBaseline";
1873
- readonly value: string;
1874
- } | {
1875
- readonly _tag: "BaselineShift";
1876
- readonly value: string;
1877
- } | {
1878
- readonly _tag: "TextLength";
1879
- readonly value: string;
1880
- } | {
1881
- readonly _tag: "LengthAdjust";
1882
- readonly value: string;
1883
- } | {
1884
- readonly _tag: "FontFamily";
1885
- readonly value: string;
1886
- } | {
1887
- readonly _tag: "FontSize";
1888
- readonly value: string;
1889
- } | {
1890
- readonly _tag: "FontWeight";
1891
- readonly value: string;
1892
- } | {
1893
- readonly _tag: "FontStyle";
1894
- readonly value: string;
1895
- } | {
1896
- readonly _tag: "LetterSpacing";
1897
- readonly value: string;
1898
- } | {
1899
- readonly _tag: "WordSpacing";
1900
- readonly value: string;
1901
- } | {
1902
- readonly _tag: "TextDecoration";
1903
- readonly value: string;
1904
- } | {
1905
- readonly _tag: "WritingMode";
1906
- readonly value: string;
1907
- } | {
1908
- readonly _tag: "Rx";
1909
- readonly value: string;
1910
- } | {
1911
- readonly _tag: "Ry";
1912
- readonly value: string;
1913
- } | {
1914
- readonly _tag: "PathLength";
1915
- readonly value: string;
1916
- } | {
1917
- readonly _tag: "FillOpacity";
1918
- readonly value: string;
1919
- } | {
1920
- readonly _tag: "StrokeOpacity";
1921
- readonly value: string;
1922
- } | {
1923
- readonly _tag: "StrokeMiterlimit";
1924
- readonly value: string;
1925
- } | {
1926
- readonly _tag: "PaintOrder";
1927
- readonly value: string;
1928
- } | {
1929
- readonly _tag: "VectorEffect";
1930
- readonly value: string;
1931
- } | {
1932
- readonly _tag: "Color";
1933
- readonly value: string;
1934
- } | {
1935
- readonly _tag: "Visibility";
1936
- readonly value: string;
1937
- } | {
1938
- readonly _tag: "Display";
1939
- readonly value: string;
1940
- } | {
1941
- readonly _tag: "Overflow";
1942
- readonly value: string;
1943
- } | {
1944
- readonly _tag: "PointerEvents";
1945
- readonly value: string;
1946
- } | {
1947
- readonly _tag: "Cursor";
1948
- readonly value: string;
1949
- } | {
1950
- readonly _tag: "ShapeRendering";
1951
- readonly value: string;
1952
- } | {
1953
- readonly _tag: "TextRendering";
1954
- readonly value: string;
1955
- } | {
1956
- readonly _tag: "ImageRendering";
1957
- readonly value: string;
1958
- } | {
1959
- readonly _tag: "ClipPath";
1960
- readonly value: string;
1961
- } | {
1962
- readonly _tag: "Mask";
1963
- readonly value: string;
1964
- } | {
1965
- readonly _tag: "ClipPathUnits";
1966
- readonly value: string;
1967
- } | {
1968
- readonly _tag: "MaskUnits";
1969
- readonly value: string;
1970
- } | {
1971
- readonly _tag: "MaskContentUnits";
1972
- readonly value: string;
1973
- } | {
1974
- readonly _tag: "FilterUnits";
1975
- readonly value: string;
1976
- } | {
1977
- readonly _tag: "PrimitiveUnits";
1978
- readonly value: string;
1979
- } | {
1980
- readonly _tag: "Offset";
1981
- readonly value: string;
1982
- } | {
1983
- readonly _tag: "StopColor";
1984
- readonly value: string;
1985
- } | {
1986
- readonly _tag: "StopOpacity";
1987
- readonly value: string;
1988
- } | {
1989
- readonly _tag: "GradientUnits";
1990
- readonly value: string;
1991
- } | {
1992
- readonly _tag: "GradientTransform";
1993
- readonly value: string;
1994
- } | {
1995
- readonly _tag: "SpreadMethod";
1996
- readonly value: string;
1997
- } | {
1998
- readonly _tag: "Fx";
1999
- readonly value: string;
2000
- } | {
2001
- readonly _tag: "Fy";
2002
- readonly value: string;
2003
- } | {
2004
- readonly _tag: "Fr";
2005
- readonly value: string;
2006
- } | {
2007
- readonly _tag: "PatternUnits";
2008
- readonly value: string;
2009
- } | {
2010
- readonly _tag: "PatternContentUnits";
2011
- readonly value: string;
2012
- } | {
2013
- readonly _tag: "PatternTransform";
2014
- readonly value: string;
2015
- } | {
2016
- readonly _tag: "MarkerStart";
2017
- readonly value: string;
2018
- } | {
2019
- readonly _tag: "MarkerMid";
2020
- readonly value: string;
2021
- } | {
2022
- readonly _tag: "MarkerEnd";
2023
- readonly value: string;
2024
- } | {
2025
- readonly _tag: "MarkerWidth";
2026
- readonly value: string;
2027
- } | {
2028
- readonly _tag: "MarkerHeight";
2029
- readonly value: string;
2030
- } | {
2031
- readonly _tag: "MarkerUnits";
2032
- readonly value: string;
2033
- } | {
2034
- readonly _tag: "RefX";
2035
- readonly value: string;
2036
- } | {
2037
- readonly _tag: "RefY";
2038
- readonly value: string;
2039
- } | {
2040
- readonly _tag: "Orient";
2041
- readonly value: string;
2042
- } | {
2043
- readonly _tag: "PreserveAspectRatio";
2044
- readonly value: string;
2045
- } | {
2046
- readonly _tag: "Prop";
2047
- readonly key: string;
2048
- readonly value: unknown;
2049
- } | {
2050
- readonly _tag: "OnCustomEvent";
2051
- readonly name: string;
2052
- readonly f: (event: CustomEvent<any>) => Message;
2053
- } | {
2054
- readonly _tag: "OnMount";
2055
- readonly action: Readonly<{
2056
- name: string;
2057
- args?: Record<string, unknown>;
2058
- f: (element: Element) => Stream.Stream<Message, any, never>;
2059
- }>;
2060
- } | {
2061
- readonly _tag: "OnUnmount";
2062
- readonly message: Message;
2063
- })[], children?: ReadonlyArray<Child>) => Html;
2064
- submodel: <View extends ((...args: ReadonlyArray<any>) => VNode | null) & {
2065
- readonly __submodelMessage: unknown;
2066
- }>(config: import("./submodel.js").SubmodelConfig<View>) => VNode | null;
1087
+ type HtmlElements<Message> = {
1088
+ a: ElementFunction<Message>;
1089
+ abbr: ElementFunction<Message>;
1090
+ address: ElementFunction<Message>;
1091
+ area: VoidElementFunction<Message>;
1092
+ article: ElementFunction<Message>;
1093
+ aside: ElementFunction<Message>;
1094
+ audio: ElementFunction<Message>;
1095
+ b: ElementFunction<Message>;
1096
+ base: VoidElementFunction<Message>;
1097
+ bdi: ElementFunction<Message>;
1098
+ bdo: ElementFunction<Message>;
1099
+ blockquote: ElementFunction<Message>;
1100
+ body: ElementFunction<Message>;
1101
+ br: VoidElementFunction<Message>;
1102
+ button: ElementFunction<Message>;
1103
+ canvas: ElementFunction<Message>;
1104
+ caption: ElementFunction<Message>;
1105
+ cite: ElementFunction<Message>;
1106
+ code: ElementFunction<Message>;
1107
+ col: VoidElementFunction<Message>;
1108
+ colgroup: ElementFunction<Message>;
1109
+ data: ElementFunction<Message>;
1110
+ datalist: ElementFunction<Message>;
1111
+ dd: ElementFunction<Message>;
1112
+ del: ElementFunction<Message>;
1113
+ details: ElementFunction<Message>;
1114
+ dfn: ElementFunction<Message>;
1115
+ dialog: ElementFunction<Message>;
1116
+ div: ElementFunction<Message>;
1117
+ dl: ElementFunction<Message>;
1118
+ dt: ElementFunction<Message>;
1119
+ em: ElementFunction<Message>;
1120
+ embed: VoidElementFunction<Message>;
1121
+ fieldset: ElementFunction<Message>;
1122
+ figcaption: ElementFunction<Message>;
1123
+ figure: ElementFunction<Message>;
1124
+ footer: ElementFunction<Message>;
1125
+ form: ElementFunction<Message>;
1126
+ h1: ElementFunction<Message>;
1127
+ h2: ElementFunction<Message>;
1128
+ h3: ElementFunction<Message>;
1129
+ h4: ElementFunction<Message>;
1130
+ h5: ElementFunction<Message>;
1131
+ h6: ElementFunction<Message>;
1132
+ head: ElementFunction<Message>;
1133
+ header: ElementFunction<Message>;
1134
+ hgroup: ElementFunction<Message>;
1135
+ hr: VoidElementFunction<Message>;
1136
+ html: ElementFunction<Message>;
1137
+ i: ElementFunction<Message>;
1138
+ iframe: ElementFunction<Message>;
1139
+ img: VoidElementFunction<Message>;
1140
+ input: VoidElementFunction<Message>;
1141
+ ins: ElementFunction<Message>;
1142
+ kbd: ElementFunction<Message>;
1143
+ label: ElementFunction<Message>;
1144
+ legend: ElementFunction<Message>;
1145
+ li: ElementFunction<Message>;
1146
+ link: VoidElementFunction<Message>;
1147
+ main: ElementFunction<Message>;
1148
+ map: ElementFunction<Message>;
1149
+ mark: ElementFunction<Message>;
1150
+ menu: ElementFunction<Message>;
1151
+ meta: VoidElementFunction<Message>;
1152
+ meter: ElementFunction<Message>;
1153
+ nav: ElementFunction<Message>;
1154
+ noscript: ElementFunction<Message>;
1155
+ object: ElementFunction<Message>;
1156
+ ol: ElementFunction<Message>;
1157
+ optgroup: ElementFunction<Message>;
1158
+ option: ElementFunction<Message>;
1159
+ output: ElementFunction<Message>;
1160
+ p: ElementFunction<Message>;
1161
+ picture: ElementFunction<Message>;
1162
+ portal: ElementFunction<Message>;
1163
+ pre: ElementFunction<Message>;
1164
+ progress: ElementFunction<Message>;
1165
+ q: ElementFunction<Message>;
1166
+ rp: ElementFunction<Message>;
1167
+ rt: ElementFunction<Message>;
1168
+ ruby: ElementFunction<Message>;
1169
+ s: ElementFunction<Message>;
1170
+ samp: ElementFunction<Message>;
1171
+ script: ElementFunction<Message>;
1172
+ search: ElementFunction<Message>;
1173
+ section: ElementFunction<Message>;
1174
+ select: ElementFunction<Message>;
1175
+ slot: ElementFunction<Message>;
1176
+ small: ElementFunction<Message>;
1177
+ source: VoidElementFunction<Message>;
1178
+ span: ElementFunction<Message>;
1179
+ strong: ElementFunction<Message>;
1180
+ style: ElementFunction<Message>;
1181
+ sub: ElementFunction<Message>;
1182
+ summary: ElementFunction<Message>;
1183
+ sup: ElementFunction<Message>;
1184
+ table: ElementFunction<Message>;
1185
+ tbody: ElementFunction<Message>;
1186
+ td: ElementFunction<Message>;
1187
+ template: ElementFunction<Message>;
1188
+ textarea: ElementFunction<Message>;
1189
+ tfoot: ElementFunction<Message>;
1190
+ th: ElementFunction<Message>;
1191
+ thead: ElementFunction<Message>;
1192
+ time: ElementFunction<Message>;
1193
+ title: ElementFunction<Message>;
1194
+ tr: ElementFunction<Message>;
1195
+ track: VoidElementFunction<Message>;
1196
+ u: ElementFunction<Message>;
1197
+ ul: ElementFunction<Message>;
1198
+ var: ElementFunction<Message>;
1199
+ video: ElementFunction<Message>;
1200
+ wbr: VoidElementFunction<Message>;
1201
+ svg: ElementFunction<Message>;
1202
+ animate: ElementFunction<Message>;
1203
+ animateMotion: ElementFunction<Message>;
1204
+ animateTransform: ElementFunction<Message>;
1205
+ circle: ElementFunction<Message>;
1206
+ clipPath: ElementFunction<Message>;
1207
+ defs: ElementFunction<Message>;
1208
+ desc: ElementFunction<Message>;
1209
+ ellipse: ElementFunction<Message>;
1210
+ feBlend: ElementFunction<Message>;
1211
+ feColorMatrix: ElementFunction<Message>;
1212
+ feComponentTransfer: ElementFunction<Message>;
1213
+ feComposite: ElementFunction<Message>;
1214
+ feConvolveMatrix: ElementFunction<Message>;
1215
+ feDiffuseLighting: ElementFunction<Message>;
1216
+ feDisplacementMap: ElementFunction<Message>;
1217
+ feDistantLight: ElementFunction<Message>;
1218
+ feDropShadow: ElementFunction<Message>;
1219
+ feFlood: ElementFunction<Message>;
1220
+ feFuncA: ElementFunction<Message>;
1221
+ feFuncB: ElementFunction<Message>;
1222
+ feFuncG: ElementFunction<Message>;
1223
+ feFuncR: ElementFunction<Message>;
1224
+ feGaussianBlur: ElementFunction<Message>;
1225
+ feImage: ElementFunction<Message>;
1226
+ feMerge: ElementFunction<Message>;
1227
+ feMergeNode: ElementFunction<Message>;
1228
+ feMorphology: ElementFunction<Message>;
1229
+ feOffset: ElementFunction<Message>;
1230
+ fePointLight: ElementFunction<Message>;
1231
+ feSpecularLighting: ElementFunction<Message>;
1232
+ feSpotLight: ElementFunction<Message>;
1233
+ feTile: ElementFunction<Message>;
1234
+ feTurbulence: ElementFunction<Message>;
1235
+ filter: ElementFunction<Message>;
1236
+ foreignObject: ElementFunction<Message>;
1237
+ g: ElementFunction<Message>;
1238
+ image: ElementFunction<Message>;
1239
+ line: ElementFunction<Message>;
1240
+ linearGradient: ElementFunction<Message>;
1241
+ marker: ElementFunction<Message>;
1242
+ mask: ElementFunction<Message>;
1243
+ metadata: ElementFunction<Message>;
1244
+ mpath: ElementFunction<Message>;
1245
+ path: ElementFunction<Message>;
1246
+ pattern: ElementFunction<Message>;
1247
+ polygon: ElementFunction<Message>;
1248
+ polyline: ElementFunction<Message>;
1249
+ radialGradient: ElementFunction<Message>;
1250
+ rect: ElementFunction<Message>;
1251
+ set: ElementFunction<Message>;
1252
+ stop: ElementFunction<Message>;
1253
+ switch: ElementFunction<Message>;
1254
+ symbol: ElementFunction<Message>;
1255
+ text: ElementFunction<Message>;
1256
+ textPath: ElementFunction<Message>;
1257
+ tspan: ElementFunction<Message>;
1258
+ use: ElementFunction<Message>;
1259
+ view: ElementFunction<Message>;
1260
+ math: ElementFunction<Message>;
1261
+ annotation: ElementFunction<Message>;
1262
+ 'annotation-xml': ElementFunction<Message>;
1263
+ maction: ElementFunction<Message>;
1264
+ menclose: ElementFunction<Message>;
1265
+ merror: ElementFunction<Message>;
1266
+ mfenced: ElementFunction<Message>;
1267
+ mfrac: ElementFunction<Message>;
1268
+ mglyph: ElementFunction<Message>;
1269
+ mi: ElementFunction<Message>;
1270
+ mlabeledtr: ElementFunction<Message>;
1271
+ mlongdiv: ElementFunction<Message>;
1272
+ mmultiscripts: ElementFunction<Message>;
1273
+ mn: ElementFunction<Message>;
1274
+ mo: ElementFunction<Message>;
1275
+ mover: ElementFunction<Message>;
1276
+ mpadded: ElementFunction<Message>;
1277
+ mphantom: ElementFunction<Message>;
1278
+ mprescripts: ElementFunction<Message>;
1279
+ mroot: ElementFunction<Message>;
1280
+ mrow: ElementFunction<Message>;
1281
+ ms: ElementFunction<Message>;
1282
+ mscarries: ElementFunction<Message>;
1283
+ mscarry: ElementFunction<Message>;
1284
+ msgroup: ElementFunction<Message>;
1285
+ msline: ElementFunction<Message>;
1286
+ mspace: ElementFunction<Message>;
1287
+ msqrt: ElementFunction<Message>;
1288
+ msrow: ElementFunction<Message>;
1289
+ mstack: ElementFunction<Message>;
1290
+ mstyle: ElementFunction<Message>;
1291
+ msub: ElementFunction<Message>;
1292
+ msubsup: ElementFunction<Message>;
1293
+ msup: ElementFunction<Message>;
1294
+ mtable: ElementFunction<Message>;
1295
+ mtd: ElementFunction<Message>;
1296
+ mtext: ElementFunction<Message>;
1297
+ mtr: ElementFunction<Message>;
1298
+ munder: ElementFunction<Message>;
1299
+ munderover: ElementFunction<Message>;
1300
+ semantics: ElementFunction<Message>;
1301
+ };
1302
+ type HtmlAttributes<Message> = {
2067
1303
  Key: (value: string) => {
2068
- readonly _tag: "Key";
1304
+ readonly _tag: 'Key';
2069
1305
  readonly value: string;
2070
1306
  };
2071
1307
  Class: (value: string) => {
2072
- readonly _tag: "Class";
1308
+ readonly _tag: 'Class';
2073
1309
  readonly value: string;
2074
1310
  };
2075
1311
  Id: (value: string) => {
2076
- readonly _tag: "Id";
1312
+ readonly _tag: 'Id';
2077
1313
  readonly value: string;
2078
1314
  };
2079
1315
  Title: (value: string) => {
2080
- readonly _tag: "Title";
1316
+ readonly _tag: 'Title';
2081
1317
  readonly value: string;
2082
1318
  };
2083
1319
  Lang: (value: string) => {
2084
- readonly _tag: "Lang";
1320
+ readonly _tag: 'Lang';
2085
1321
  readonly value: string;
2086
1322
  };
2087
1323
  Dir: (value: string) => {
2088
- readonly _tag: "Dir";
1324
+ readonly _tag: 'Dir';
2089
1325
  readonly value: string;
2090
1326
  };
2091
1327
  Tabindex: (value: number) => {
2092
- readonly _tag: "Tabindex";
1328
+ readonly _tag: 'Tabindex';
2093
1329
  readonly value: number;
2094
1330
  };
2095
1331
  Hidden: (value: boolean) => {
2096
- readonly _tag: "Hidden";
1332
+ readonly _tag: 'Hidden';
2097
1333
  readonly value: boolean;
2098
1334
  };
2099
1335
  Contenteditable: (value: string) => {
2100
- readonly _tag: "Contenteditable";
1336
+ readonly _tag: 'Contenteditable';
2101
1337
  readonly value: string;
2102
1338
  };
2103
1339
  Draggable: (value: boolean) => {
2104
- readonly _tag: "Draggable";
1340
+ readonly _tag: 'Draggable';
2105
1341
  readonly value: boolean;
2106
1342
  };
2107
1343
  Accesskey: (value: string) => {
2108
- readonly _tag: "Accesskey";
1344
+ readonly _tag: 'Accesskey';
2109
1345
  readonly value: string;
2110
1346
  };
2111
1347
  Translate: (value: string) => {
2112
- readonly _tag: "Translate";
1348
+ readonly _tag: 'Translate';
2113
1349
  readonly value: string;
2114
1350
  };
2115
1351
  Inert: (value: boolean) => {
2116
- readonly _tag: "Inert";
1352
+ readonly _tag: 'Inert';
2117
1353
  readonly value: boolean;
2118
1354
  };
2119
1355
  Popover: (value: string) => {
2120
- readonly _tag: "Popover";
1356
+ readonly _tag: 'Popover';
2121
1357
  readonly value: string;
2122
1358
  };
2123
1359
  Popovertarget: (value: string) => {
2124
- readonly _tag: "Popovertarget";
1360
+ readonly _tag: 'Popovertarget';
2125
1361
  readonly value: string;
2126
1362
  };
2127
1363
  Popovertargetaction: (value: string) => {
2128
- readonly _tag: "Popovertargetaction";
1364
+ readonly _tag: 'Popovertargetaction';
2129
1365
  readonly value: string;
2130
1366
  };
2131
1367
  OnClick: (message: Message) => {
2132
- readonly _tag: "OnClick";
1368
+ readonly _tag: 'OnClick';
2133
1369
  readonly message: Message;
2134
1370
  };
2135
1371
  OnClickFocus: (focusSelector: string, message: Message) => {
2136
- readonly _tag: "OnClickFocus";
1372
+ readonly _tag: 'OnClickFocus';
2137
1373
  readonly focusSelector: string;
2138
1374
  readonly message: Message;
2139
1375
  };
2140
1376
  OnDoubleClick: (message: Message) => {
2141
- readonly _tag: "OnDoubleClick";
1377
+ readonly _tag: 'OnDoubleClick';
2142
1378
  readonly message: Message;
2143
1379
  };
2144
1380
  OnMouseDown: (message: Message) => {
2145
- readonly _tag: "OnMouseDown";
1381
+ readonly _tag: 'OnMouseDown';
2146
1382
  readonly message: Message;
2147
1383
  };
2148
1384
  OnMouseUp: (message: Message) => {
2149
- readonly _tag: "OnMouseUp";
1385
+ readonly _tag: 'OnMouseUp';
2150
1386
  readonly message: Message;
2151
1387
  };
2152
1388
  OnMouseEnter: (message: Message) => {
2153
- readonly _tag: "OnMouseEnter";
1389
+ readonly _tag: 'OnMouseEnter';
2154
1390
  readonly message: Message;
2155
1391
  };
2156
1392
  OnMouseLeave: (message: Message) => {
2157
- readonly _tag: "OnMouseLeave";
1393
+ readonly _tag: 'OnMouseLeave';
2158
1394
  readonly message: Message;
2159
1395
  };
2160
1396
  OnMouseOver: (message: Message) => {
2161
- readonly _tag: "OnMouseOver";
1397
+ readonly _tag: 'OnMouseOver';
2162
1398
  readonly message: Message;
2163
1399
  };
2164
1400
  OnMouseOut: (message: Message) => {
2165
- readonly _tag: "OnMouseOut";
1401
+ readonly _tag: 'OnMouseOut';
2166
1402
  readonly message: Message;
2167
1403
  };
2168
1404
  OnMouseMove: (message: Message) => {
2169
- readonly _tag: "OnMouseMove";
1405
+ readonly _tag: 'OnMouseMove';
2170
1406
  readonly message: Message;
2171
1407
  };
2172
1408
  OnPointerMove: (toMaybeMessage: (screenX: number, screenY: number, pointerType: string) => Option.Option<Message>) => {
2173
- readonly _tag: "OnPointerMove";
1409
+ readonly _tag: 'OnPointerMove';
2174
1410
  readonly f: (screenX: number, screenY: number, pointerType: string) => Option.Option<Message>;
2175
1411
  };
2176
1412
  OnPointerLeave: (toMaybeMessage: (pointerType: string) => Option.Option<Message>) => {
2177
- readonly _tag: "OnPointerLeave";
1413
+ readonly _tag: 'OnPointerLeave';
2178
1414
  readonly f: (pointerType: string) => Option.Option<Message>;
2179
1415
  };
2180
1416
  OnPointerDown: (toMaybeMessage: (pointerType: string, button: number, screenX: number, screenY: number, timeStamp: number, clientX: number, clientY: number) => Option.Option<Message>) => {
2181
- readonly _tag: "OnPointerDown";
1417
+ readonly _tag: 'OnPointerDown';
2182
1418
  readonly f: (pointerType: string, button: number, screenX: number, screenY: number, timeStamp: number, clientX: number, clientY: number) => Option.Option<Message>;
2183
1419
  };
2184
1420
  OnPointerUp: (toMaybeMessage: (screenX: number, screenY: number, pointerType: string, timeStamp: number) => Option.Option<Message>) => {
2185
- readonly _tag: "OnPointerUp";
1421
+ readonly _tag: 'OnPointerUp';
2186
1422
  readonly f: (screenX: number, screenY: number, pointerType: string, timeStamp: number) => Option.Option<Message>;
2187
1423
  };
2188
- OnKeyDown: (toMessage: (key: string, modifiers: Readonly<{
2189
- shiftKey: boolean;
2190
- ctrlKey: boolean;
2191
- altKey: boolean;
2192
- metaKey: boolean;
2193
- }>) => Message) => {
2194
- readonly _tag: "OnKeyDown";
2195
- readonly f: (key: string, modifiers: Readonly<{
2196
- shiftKey: boolean;
2197
- ctrlKey: boolean;
2198
- altKey: boolean;
2199
- metaKey: boolean;
2200
- }>) => Message;
2201
- };
2202
- OnKeyDownFocus: (toMaybeFocusAndMessage: (key: string, modifiers: Readonly<{
2203
- shiftKey: boolean;
2204
- ctrlKey: boolean;
2205
- altKey: boolean;
2206
- metaKey: boolean;
2207
- }>) => Option.Option<Readonly<{
1424
+ OnKeyDown: (toMessage: (key: string, modifiers: KeyboardModifiers) => Message) => {
1425
+ readonly _tag: 'OnKeyDown';
1426
+ readonly f: (key: string, modifiers: KeyboardModifiers) => Message;
1427
+ };
1428
+ OnKeyDownFocus: (toMaybeFocusAndMessage: (key: string, modifiers: KeyboardModifiers) => Option.Option<Readonly<{
2208
1429
  focusSelector: string;
2209
1430
  message: Message;
2210
1431
  }>>) => {
2211
- readonly _tag: "OnKeyDownFocus";
2212
- readonly f: (key: string, modifiers: Readonly<{
2213
- shiftKey: boolean;
2214
- ctrlKey: boolean;
2215
- altKey: boolean;
2216
- metaKey: boolean;
2217
- }>) => Option.Option<Readonly<{
1432
+ readonly _tag: 'OnKeyDownFocus';
1433
+ readonly f: (key: string, modifiers: KeyboardModifiers) => Option.Option<Readonly<{
2218
1434
  focusSelector: string;
2219
1435
  message: Message;
2220
1436
  }>>;
2221
1437
  };
2222
- OnKeyDownPreventDefault: (toMaybeMessage: (key: string, modifiers: Readonly<{
2223
- shiftKey: boolean;
2224
- ctrlKey: boolean;
2225
- altKey: boolean;
2226
- metaKey: boolean;
2227
- }>) => Option.Option<Message>) => {
2228
- readonly _tag: "OnKeyDownPreventDefault";
2229
- readonly f: (key: string, modifiers: Readonly<{
2230
- shiftKey: boolean;
2231
- ctrlKey: boolean;
2232
- altKey: boolean;
2233
- metaKey: boolean;
2234
- }>) => Option.Option<Message>;
2235
- };
2236
- OnKeyUp: (toMessage: (key: string, modifiers: Readonly<{
2237
- shiftKey: boolean;
2238
- ctrlKey: boolean;
2239
- altKey: boolean;
2240
- metaKey: boolean;
2241
- }>) => Message) => {
2242
- readonly _tag: "OnKeyUp";
2243
- readonly f: (key: string, modifiers: Readonly<{
2244
- shiftKey: boolean;
2245
- ctrlKey: boolean;
2246
- altKey: boolean;
2247
- metaKey: boolean;
2248
- }>) => Message;
2249
- };
2250
- OnKeyUpPreventDefault: (toMaybeMessage: (key: string, modifiers: Readonly<{
2251
- shiftKey: boolean;
2252
- ctrlKey: boolean;
2253
- altKey: boolean;
2254
- metaKey: boolean;
2255
- }>) => Option.Option<Message>) => {
2256
- readonly _tag: "OnKeyUpPreventDefault";
2257
- readonly f: (key: string, modifiers: Readonly<{
2258
- shiftKey: boolean;
2259
- ctrlKey: boolean;
2260
- altKey: boolean;
2261
- metaKey: boolean;
2262
- }>) => Option.Option<Message>;
2263
- };
2264
- OnKeyPress: (toMessage: (key: string, modifiers: Readonly<{
2265
- shiftKey: boolean;
2266
- ctrlKey: boolean;
2267
- altKey: boolean;
2268
- metaKey: boolean;
2269
- }>) => Message) => {
2270
- readonly _tag: "OnKeyPress";
2271
- readonly f: (key: string, modifiers: Readonly<{
2272
- shiftKey: boolean;
2273
- ctrlKey: boolean;
2274
- altKey: boolean;
2275
- metaKey: boolean;
2276
- }>) => Message;
1438
+ OnKeyDownPreventDefault: (toMaybeMessage: (key: string, modifiers: KeyboardModifiers) => Option.Option<Message>) => {
1439
+ readonly _tag: 'OnKeyDownPreventDefault';
1440
+ readonly f: (key: string, modifiers: KeyboardModifiers) => Option.Option<Message>;
1441
+ };
1442
+ OnKeyUp: (toMessage: (key: string, modifiers: KeyboardModifiers) => Message) => {
1443
+ readonly _tag: 'OnKeyUp';
1444
+ readonly f: (key: string, modifiers: KeyboardModifiers) => Message;
1445
+ };
1446
+ OnKeyUpPreventDefault: (toMaybeMessage: (key: string, modifiers: KeyboardModifiers) => Option.Option<Message>) => {
1447
+ readonly _tag: 'OnKeyUpPreventDefault';
1448
+ readonly f: (key: string, modifiers: KeyboardModifiers) => Option.Option<Message>;
1449
+ };
1450
+ OnKeyPress: (toMessage: (key: string, modifiers: KeyboardModifiers) => Message) => {
1451
+ readonly _tag: 'OnKeyPress';
1452
+ readonly f: (key: string, modifiers: KeyboardModifiers) => Message;
2277
1453
  };
2278
1454
  OnFocus: (message: Message) => {
2279
- readonly _tag: "OnFocus";
1455
+ readonly _tag: 'OnFocus';
2280
1456
  readonly message: Message;
2281
1457
  };
2282
1458
  OnBlur: (message: Message) => {
2283
- readonly _tag: "OnBlur";
1459
+ readonly _tag: 'OnBlur';
2284
1460
  readonly message: Message;
2285
1461
  };
2286
1462
  OnInput: (toMessage: (value: string) => Message) => {
2287
- readonly _tag: "OnInput";
1463
+ readonly _tag: 'OnInput';
2288
1464
  readonly f: (value: string) => Message;
2289
1465
  };
2290
1466
  OnChange: (toMessage: (value: string) => Message) => {
2291
- readonly _tag: "OnChange";
1467
+ readonly _tag: 'OnChange';
2292
1468
  readonly f: (value: string) => Message;
2293
1469
  };
2294
1470
  OnFileChange: (toMessage: (files: ReadonlyArray<File>) => Message) => {
2295
- readonly _tag: "OnFileChange";
1471
+ readonly _tag: 'OnFileChange';
2296
1472
  readonly f: (files: ReadonlyArray<File>) => Message;
2297
1473
  };
2298
1474
  OnSubmit: (message: Message) => {
2299
- readonly _tag: "OnSubmit";
1475
+ readonly _tag: 'OnSubmit';
2300
1476
  readonly message: Message;
2301
1477
  };
2302
1478
  OnReset: (message: Message) => {
2303
- readonly _tag: "OnReset";
1479
+ readonly _tag: 'OnReset';
2304
1480
  readonly message: Message;
2305
1481
  };
2306
1482
  OnScroll: (toMessage: (scrollTop: number) => Message) => {
2307
- readonly _tag: "OnScroll";
1483
+ readonly _tag: 'OnScroll';
2308
1484
  readonly f: (scrollTop: number) => Message;
2309
1485
  };
2310
1486
  OnWheel: (message: Message) => {
2311
- readonly _tag: "OnWheel";
1487
+ readonly _tag: 'OnWheel';
2312
1488
  readonly message: Message;
2313
1489
  };
2314
1490
  OnCopy: (message: Message) => {
2315
- readonly _tag: "OnCopy";
1491
+ readonly _tag: 'OnCopy';
2316
1492
  readonly message: Message;
2317
1493
  };
2318
1494
  OnCut: (message: Message) => {
2319
- readonly _tag: "OnCut";
1495
+ readonly _tag: 'OnCut';
2320
1496
  readonly message: Message;
2321
1497
  };
2322
1498
  OnPaste: (message: Message) => {
2323
- readonly _tag: "OnPaste";
1499
+ readonly _tag: 'OnPaste';
2324
1500
  readonly message: Message;
2325
1501
  };
2326
1502
  OnPastePreventDefault: (toMaybeMessage: (text: string) => Option.Option<Message>) => {
2327
- readonly _tag: "OnPastePreventDefault";
1503
+ readonly _tag: 'OnPastePreventDefault';
2328
1504
  readonly f: (text: string) => Option.Option<Message>;
2329
1505
  };
2330
1506
  OnCopyText: (text: string) => {
2331
- readonly _tag: "OnCopyText";
1507
+ readonly _tag: 'OnCopyText';
2332
1508
  readonly text: string;
2333
1509
  };
2334
1510
  OnCutText: (text: string, message: Message) => {
2335
- readonly _tag: "OnCutText";
1511
+ readonly _tag: 'OnCutText';
2336
1512
  readonly text: string;
2337
1513
  readonly message: Message;
2338
1514
  };
2339
1515
  OnCancel: (message: Message) => {
2340
- readonly _tag: "OnCancel";
1516
+ readonly _tag: 'OnCancel';
2341
1517
  readonly message: Message;
2342
1518
  };
2343
1519
  OnToggle: (toMessage: (isOpen: boolean) => Message) => {
2344
- readonly _tag: "OnToggle";
1520
+ readonly _tag: 'OnToggle';
2345
1521
  readonly f: (isOpen: boolean) => Message;
2346
1522
  };
2347
1523
  OnContextMenu: (message: Message) => {
2348
- readonly _tag: "OnContextMenu";
1524
+ readonly _tag: 'OnContextMenu';
2349
1525
  readonly message: Message;
2350
1526
  };
2351
1527
  OnDragStart: (message: Message) => {
2352
- readonly _tag: "OnDragStart";
1528
+ readonly _tag: 'OnDragStart';
2353
1529
  readonly message: Message;
2354
1530
  };
2355
1531
  OnDrag: (message: Message) => {
2356
- readonly _tag: "OnDrag";
1532
+ readonly _tag: 'OnDrag';
2357
1533
  readonly message: Message;
2358
1534
  };
2359
1535
  OnDragEnd: (message: Message) => {
2360
- readonly _tag: "OnDragEnd";
1536
+ readonly _tag: 'OnDragEnd';
2361
1537
  readonly message: Message;
2362
1538
  };
2363
1539
  OnDragEnter: (message: Message) => {
2364
- readonly _tag: "OnDragEnter";
1540
+ readonly _tag: 'OnDragEnter';
2365
1541
  readonly message: Message;
2366
1542
  };
2367
1543
  OnDragLeave: (message: Message) => {
2368
- readonly _tag: "OnDragLeave";
1544
+ readonly _tag: 'OnDragLeave';
2369
1545
  readonly message: Message;
2370
1546
  };
2371
1547
  OnDragOver: (message: Message) => {
2372
- readonly _tag: "OnDragOver";
1548
+ readonly _tag: 'OnDragOver';
2373
1549
  readonly message: Message;
2374
1550
  };
2375
1551
  AllowDrop: () => {
2376
- readonly _tag: "AllowDrop";
1552
+ readonly _tag: 'AllowDrop';
2377
1553
  };
2378
1554
  OnDrop: (message: Message) => {
2379
- readonly _tag: "OnDrop";
1555
+ readonly _tag: 'OnDrop';
2380
1556
  readonly message: Message;
2381
1557
  };
2382
1558
  OnDropFiles: (toMessage: (files: ReadonlyArray<File>) => Message) => {
2383
- readonly _tag: "OnDropFiles";
1559
+ readonly _tag: 'OnDropFiles';
2384
1560
  readonly f: (files: ReadonlyArray<File>) => Message;
2385
1561
  };
2386
1562
  OnTouchStart: (message: Message) => {
2387
- readonly _tag: "OnTouchStart";
1563
+ readonly _tag: 'OnTouchStart';
2388
1564
  readonly message: Message;
2389
1565
  };
2390
1566
  OnTouchEnd: (message: Message) => {
2391
- readonly _tag: "OnTouchEnd";
1567
+ readonly _tag: 'OnTouchEnd';
2392
1568
  readonly message: Message;
2393
1569
  };
2394
1570
  OnTouchMove: (message: Message) => {
2395
- readonly _tag: "OnTouchMove";
1571
+ readonly _tag: 'OnTouchMove';
2396
1572
  readonly message: Message;
2397
1573
  };
2398
1574
  OnTouchCancel: (message: Message) => {
2399
- readonly _tag: "OnTouchCancel";
1575
+ readonly _tag: 'OnTouchCancel';
2400
1576
  readonly message: Message;
2401
1577
  };
2402
1578
  OnAnimationStart: (message: Message) => {
2403
- readonly _tag: "OnAnimationStart";
1579
+ readonly _tag: 'OnAnimationStart';
2404
1580
  readonly message: Message;
2405
1581
  };
2406
1582
  OnAnimationEnd: (message: Message) => {
2407
- readonly _tag: "OnAnimationEnd";
1583
+ readonly _tag: 'OnAnimationEnd';
2408
1584
  readonly message: Message;
2409
1585
  };
2410
1586
  OnAnimationIteration: (message: Message) => {
2411
- readonly _tag: "OnAnimationIteration";
1587
+ readonly _tag: 'OnAnimationIteration';
2412
1588
  readonly message: Message;
2413
1589
  };
2414
1590
  OnTransitionEnd: (message: Message) => {
2415
- readonly _tag: "OnTransitionEnd";
1591
+ readonly _tag: 'OnTransitionEnd';
2416
1592
  readonly message: Message;
2417
1593
  };
2418
1594
  OnLoad: (message: Message) => {
2419
- readonly _tag: "OnLoad";
1595
+ readonly _tag: 'OnLoad';
2420
1596
  readonly message: Message;
2421
1597
  };
2422
1598
  OnError: (message: Message) => {
2423
- readonly _tag: "OnError";
1599
+ readonly _tag: 'OnError';
2424
1600
  readonly message: Message;
2425
1601
  };
2426
1602
  OnPlay: (message: Message) => {
2427
- readonly _tag: "OnPlay";
1603
+ readonly _tag: 'OnPlay';
2428
1604
  readonly message: Message;
2429
1605
  };
2430
1606
  OnPause: (message: Message) => {
2431
- readonly _tag: "OnPause";
1607
+ readonly _tag: 'OnPause';
2432
1608
  readonly message: Message;
2433
1609
  };
2434
1610
  OnEnded: (message: Message) => {
2435
- readonly _tag: "OnEnded";
1611
+ readonly _tag: 'OnEnded';
2436
1612
  readonly message: Message;
2437
1613
  };
2438
1614
  OnTimeUpdate: (message: Message) => {
2439
- readonly _tag: "OnTimeUpdate";
1615
+ readonly _tag: 'OnTimeUpdate';
2440
1616
  readonly message: Message;
2441
1617
  };
2442
1618
  OnVolumeChange: (message: Message) => {
2443
- readonly _tag: "OnVolumeChange";
1619
+ readonly _tag: 'OnVolumeChange';
2444
1620
  readonly message: Message;
2445
1621
  };
2446
1622
  OnSelect: (message: Message) => {
2447
- readonly _tag: "OnSelect";
1623
+ readonly _tag: 'OnSelect';
2448
1624
  readonly message: Message;
2449
1625
  };
2450
1626
  Value: (value: string) => {
2451
- readonly _tag: "Value";
1627
+ readonly _tag: 'Value';
2452
1628
  readonly value: string;
2453
1629
  };
2454
1630
  Checked: (value: boolean) => {
2455
- readonly _tag: "Checked";
1631
+ readonly _tag: 'Checked';
2456
1632
  readonly value: boolean;
2457
1633
  };
2458
1634
  Selected: (value: boolean) => {
2459
- readonly _tag: "Selected";
1635
+ readonly _tag: 'Selected';
2460
1636
  readonly value: boolean;
2461
1637
  };
2462
1638
  Open: (value: boolean) => {
2463
- readonly _tag: "Open";
1639
+ readonly _tag: 'Open';
2464
1640
  readonly value: boolean;
2465
1641
  };
2466
1642
  Placeholder: (value: string) => {
2467
- readonly _tag: "Placeholder";
1643
+ readonly _tag: 'Placeholder';
2468
1644
  readonly value: string;
2469
1645
  };
2470
1646
  Name: (value: string) => {
2471
- readonly _tag: "Name";
1647
+ readonly _tag: 'Name';
2472
1648
  readonly value: string;
2473
1649
  };
2474
1650
  Disabled: (value: boolean) => {
2475
- readonly _tag: "Disabled";
1651
+ readonly _tag: 'Disabled';
2476
1652
  readonly value: boolean;
2477
1653
  };
2478
1654
  Readonly: (value: boolean) => {
2479
- readonly _tag: "Readonly";
1655
+ readonly _tag: 'Readonly';
2480
1656
  readonly value: boolean;
2481
1657
  };
2482
1658
  Required: (value: boolean) => {
2483
- readonly _tag: "Required";
1659
+ readonly _tag: 'Required';
2484
1660
  readonly value: boolean;
2485
1661
  };
2486
1662
  Autofocus: (value: boolean) => {
2487
- readonly _tag: "Autofocus";
1663
+ readonly _tag: 'Autofocus';
2488
1664
  readonly value: boolean;
2489
1665
  };
2490
1666
  Spellcheck: (value: boolean) => {
2491
- readonly _tag: "Spellcheck";
1667
+ readonly _tag: 'Spellcheck';
2492
1668
  readonly value: boolean;
2493
1669
  };
2494
1670
  Autocorrect: (value: string) => {
2495
- readonly _tag: "Autocorrect";
1671
+ readonly _tag: 'Autocorrect';
2496
1672
  readonly value: string;
2497
1673
  };
2498
1674
  Autocapitalize: (value: string) => {
2499
- readonly _tag: "Autocapitalize";
1675
+ readonly _tag: 'Autocapitalize';
2500
1676
  readonly value: string;
2501
1677
  };
2502
1678
  InputMode: (value: string) => {
2503
- readonly _tag: "InputMode";
1679
+ readonly _tag: 'InputMode';
2504
1680
  readonly value: string;
2505
1681
  };
2506
1682
  EnterKeyHint: (value: string) => {
2507
- readonly _tag: "EnterKeyHint";
1683
+ readonly _tag: 'EnterKeyHint';
2508
1684
  readonly value: string;
2509
1685
  };
2510
1686
  Multiple: (value: boolean) => {
2511
- readonly _tag: "Multiple";
1687
+ readonly _tag: 'Multiple';
2512
1688
  readonly value: boolean;
2513
1689
  };
2514
1690
  Type: (value: string) => {
2515
- readonly _tag: "Type";
1691
+ readonly _tag: 'Type';
2516
1692
  readonly value: string;
2517
1693
  };
2518
1694
  Accept: (value: string) => {
2519
- readonly _tag: "Accept";
1695
+ readonly _tag: 'Accept';
2520
1696
  readonly value: string;
2521
1697
  };
2522
1698
  Autocomplete: (value: string) => {
2523
- readonly _tag: "Autocomplete";
1699
+ readonly _tag: 'Autocomplete';
2524
1700
  readonly value: string;
2525
1701
  };
2526
1702
  Pattern: (value: string) => {
2527
- readonly _tag: "Pattern";
1703
+ readonly _tag: 'Pattern';
2528
1704
  readonly value: string;
2529
1705
  };
2530
1706
  Maxlength: (value: number) => {
2531
- readonly _tag: "Maxlength";
1707
+ readonly _tag: 'Maxlength';
2532
1708
  readonly value: number;
2533
1709
  };
2534
1710
  Minlength: (value: number) => {
2535
- readonly _tag: "Minlength";
1711
+ readonly _tag: 'Minlength';
2536
1712
  readonly value: number;
2537
1713
  };
2538
1714
  Size: (value: number) => {
2539
- readonly _tag: "Size";
1715
+ readonly _tag: 'Size';
2540
1716
  readonly value: number;
2541
1717
  };
2542
1718
  Cols: (value: number) => {
2543
- readonly _tag: "Cols";
1719
+ readonly _tag: 'Cols';
2544
1720
  readonly value: number;
2545
1721
  };
2546
1722
  Rows: (value: number) => {
2547
- readonly _tag: "Rows";
1723
+ readonly _tag: 'Rows';
2548
1724
  readonly value: number;
2549
1725
  };
2550
1726
  Max: (value: string) => {
2551
- readonly _tag: "Max";
1727
+ readonly _tag: 'Max';
2552
1728
  readonly value: string;
2553
1729
  };
2554
1730
  Min: (value: string) => {
2555
- readonly _tag: "Min";
1731
+ readonly _tag: 'Min';
2556
1732
  readonly value: string;
2557
1733
  };
2558
1734
  Step: (value: string) => {
2559
- readonly _tag: "Step";
1735
+ readonly _tag: 'Step';
2560
1736
  readonly value: string;
2561
1737
  };
2562
1738
  For: (value: string) => {
2563
- readonly _tag: "For";
1739
+ readonly _tag: 'For';
2564
1740
  readonly value: string;
2565
1741
  };
2566
1742
  Href: (value: string) => {
2567
- readonly _tag: "Href";
1743
+ readonly _tag: 'Href';
2568
1744
  readonly value: string;
2569
1745
  };
2570
1746
  Src: (value: string) => {
2571
- readonly _tag: "Src";
1747
+ readonly _tag: 'Src';
2572
1748
  readonly value: string;
2573
1749
  };
2574
1750
  Alt: (value: string) => {
2575
- readonly _tag: "Alt";
1751
+ readonly _tag: 'Alt';
2576
1752
  readonly value: string;
2577
1753
  };
2578
1754
  Target: (value: string) => {
2579
- readonly _tag: "Target";
1755
+ readonly _tag: 'Target';
2580
1756
  readonly value: string;
2581
1757
  };
2582
1758
  Rel: (value: string) => {
2583
- readonly _tag: "Rel";
1759
+ readonly _tag: 'Rel';
2584
1760
  readonly value: string;
2585
1761
  };
2586
1762
  Download: (value: string) => {
2587
- readonly _tag: "Download";
1763
+ readonly _tag: 'Download';
2588
1764
  readonly value: string;
2589
1765
  };
2590
1766
  Action: (value: string) => {
2591
- readonly _tag: "Action";
1767
+ readonly _tag: 'Action';
2592
1768
  readonly value: string;
2593
1769
  };
2594
1770
  Method: (value: string) => {
2595
- readonly _tag: "Method";
1771
+ readonly _tag: 'Method';
2596
1772
  readonly value: string;
2597
1773
  };
2598
1774
  Enctype: (value: string) => {
2599
- readonly _tag: "Enctype";
1775
+ readonly _tag: 'Enctype';
2600
1776
  readonly value: string;
2601
1777
  };
2602
1778
  Novalidate: (value: boolean) => {
2603
- readonly _tag: "Novalidate";
1779
+ readonly _tag: 'Novalidate';
2604
1780
  readonly value: boolean;
2605
1781
  };
2606
1782
  Formaction: (value: string) => {
2607
- readonly _tag: "Formaction";
1783
+ readonly _tag: 'Formaction';
2608
1784
  readonly value: string;
2609
1785
  };
2610
1786
  Formmethod: (value: string) => {
2611
- readonly _tag: "Formmethod";
1787
+ readonly _tag: 'Formmethod';
2612
1788
  readonly value: string;
2613
1789
  };
2614
1790
  Formnovalidate: (value: boolean) => {
2615
- readonly _tag: "Formnovalidate";
1791
+ readonly _tag: 'Formnovalidate';
2616
1792
  readonly value: boolean;
2617
1793
  };
2618
1794
  Formtarget: (value: string) => {
2619
- readonly _tag: "Formtarget";
1795
+ readonly _tag: 'Formtarget';
2620
1796
  readonly value: string;
2621
1797
  };
2622
1798
  Formenctype: (value: string) => {
2623
- readonly _tag: "Formenctype";
1799
+ readonly _tag: 'Formenctype';
2624
1800
  readonly value: string;
2625
1801
  };
2626
1802
  Colspan: (value: number) => {
2627
- readonly _tag: "Colspan";
1803
+ readonly _tag: 'Colspan';
2628
1804
  readonly value: number;
2629
1805
  };
2630
1806
  Rowspan: (value: number) => {
2631
- readonly _tag: "Rowspan";
1807
+ readonly _tag: 'Rowspan';
2632
1808
  readonly value: number;
2633
1809
  };
2634
1810
  Scope: (value: string) => {
2635
- readonly _tag: "Scope";
1811
+ readonly _tag: 'Scope';
2636
1812
  readonly value: string;
2637
1813
  };
2638
1814
  Headers: (value: string) => {
2639
- readonly _tag: "Headers";
1815
+ readonly _tag: 'Headers';
2640
1816
  readonly value: string;
2641
1817
  };
2642
1818
  Span: (value: number) => {
2643
- readonly _tag: "Span";
1819
+ readonly _tag: 'Span';
2644
1820
  readonly value: number;
2645
1821
  };
2646
1822
  Start: (value: number) => {
2647
- readonly _tag: "Start";
1823
+ readonly _tag: 'Start';
2648
1824
  readonly value: number;
2649
1825
  };
2650
1826
  Reversed: (value: boolean) => {
2651
- readonly _tag: "Reversed";
1827
+ readonly _tag: 'Reversed';
2652
1828
  readonly value: boolean;
2653
1829
  };
2654
1830
  CiteAttr: (value: string) => {
2655
- readonly _tag: "CiteAttr";
1831
+ readonly _tag: 'CiteAttr';
2656
1832
  readonly value: string;
2657
1833
  };
2658
1834
  Datetime: (value: string) => {
2659
- readonly _tag: "Datetime";
1835
+ readonly _tag: 'Datetime';
2660
1836
  readonly value: string;
2661
1837
  };
2662
1838
  Wrap: (value: string) => {
2663
- readonly _tag: "Wrap";
1839
+ readonly _tag: 'Wrap';
2664
1840
  readonly value: string;
2665
1841
  };
2666
1842
  List: (value: string) => {
2667
- readonly _tag: "List";
1843
+ readonly _tag: 'List';
2668
1844
  readonly value: string;
2669
1845
  };
2670
1846
  FormAttr: (value: string) => {
2671
- readonly _tag: "FormAttr";
1847
+ readonly _tag: 'FormAttr';
2672
1848
  readonly value: string;
2673
1849
  };
2674
1850
  LabelAttr: (value: string) => {
2675
- readonly _tag: "LabelAttr";
1851
+ readonly _tag: 'LabelAttr';
2676
1852
  readonly value: string;
2677
1853
  };
2678
1854
  ContentAttr: (value: string) => {
2679
- readonly _tag: "ContentAttr";
1855
+ readonly _tag: 'ContentAttr';
2680
1856
  readonly value: string;
2681
1857
  };
2682
1858
  Charset: (value: string) => {
2683
- readonly _tag: "Charset";
1859
+ readonly _tag: 'Charset';
2684
1860
  readonly value: string;
2685
1861
  };
2686
1862
  HttpEquiv: (value: string) => {
2687
- readonly _tag: "HttpEquiv";
1863
+ readonly _tag: 'HttpEquiv';
2688
1864
  readonly value: string;
2689
1865
  };
2690
1866
  Srcset: (value: string) => {
2691
- readonly _tag: "Srcset";
1867
+ readonly _tag: 'Srcset';
2692
1868
  readonly value: string;
2693
1869
  };
2694
1870
  Sizes: (value: string) => {
2695
- readonly _tag: "Sizes";
1871
+ readonly _tag: 'Sizes';
2696
1872
  readonly value: string;
2697
1873
  };
2698
1874
  Loading: (value: string) => {
2699
- readonly _tag: "Loading";
1875
+ readonly _tag: 'Loading';
2700
1876
  readonly value: string;
2701
1877
  };
2702
1878
  Decoding: (value: string) => {
2703
- readonly _tag: "Decoding";
1879
+ readonly _tag: 'Decoding';
2704
1880
  readonly value: string;
2705
1881
  };
2706
1882
  Fetchpriority: (value: string) => {
2707
- readonly _tag: "Fetchpriority";
1883
+ readonly _tag: 'Fetchpriority';
2708
1884
  readonly value: string;
2709
1885
  };
2710
1886
  Crossorigin: (value: string) => {
2711
- readonly _tag: "Crossorigin";
1887
+ readonly _tag: 'Crossorigin';
2712
1888
  readonly value: string;
2713
1889
  };
2714
1890
  Referrerpolicy: (value: string) => {
2715
- readonly _tag: "Referrerpolicy";
1891
+ readonly _tag: 'Referrerpolicy';
2716
1892
  readonly value: string;
2717
1893
  };
2718
1894
  Integrity: (value: string) => {
2719
- readonly _tag: "Integrity";
1895
+ readonly _tag: 'Integrity';
2720
1896
  readonly value: string;
2721
1897
  };
2722
1898
  Hreflang: (value: string) => {
2723
- readonly _tag: "Hreflang";
1899
+ readonly _tag: 'Hreflang';
2724
1900
  readonly value: string;
2725
1901
  };
2726
1902
  Ping: (value: string) => {
2727
- readonly _tag: "Ping";
1903
+ readonly _tag: 'Ping';
2728
1904
  readonly value: string;
2729
1905
  };
2730
1906
  Sandbox: (value: string) => {
2731
- readonly _tag: "Sandbox";
1907
+ readonly _tag: 'Sandbox';
2732
1908
  readonly value: string;
2733
1909
  };
2734
1910
  Allow: (value: string) => {
2735
- readonly _tag: "Allow";
1911
+ readonly _tag: 'Allow';
2736
1912
  readonly value: string;
2737
1913
  };
2738
1914
  Srcdoc: (value: string) => {
2739
- readonly _tag: "Srcdoc";
1915
+ readonly _tag: 'Srcdoc';
2740
1916
  readonly value: string;
2741
1917
  };
2742
1918
  Autoplay: (value: boolean) => {
2743
- readonly _tag: "Autoplay";
1919
+ readonly _tag: 'Autoplay';
2744
1920
  readonly value: boolean;
2745
1921
  };
2746
1922
  Controls: (value: boolean) => {
2747
- readonly _tag: "Controls";
1923
+ readonly _tag: 'Controls';
2748
1924
  readonly value: boolean;
2749
1925
  };
2750
1926
  Loop: (value: boolean) => {
2751
- readonly _tag: "Loop";
1927
+ readonly _tag: 'Loop';
2752
1928
  readonly value: boolean;
2753
1929
  };
2754
1930
  Muted: (value: boolean) => {
2755
- readonly _tag: "Muted";
1931
+ readonly _tag: 'Muted';
2756
1932
  readonly value: boolean;
2757
1933
  };
2758
1934
  Poster: (value: string) => {
2759
- readonly _tag: "Poster";
1935
+ readonly _tag: 'Poster';
2760
1936
  readonly value: string;
2761
1937
  };
2762
1938
  Preload: (value: string) => {
2763
- readonly _tag: "Preload";
1939
+ readonly _tag: 'Preload';
2764
1940
  readonly value: string;
2765
1941
  };
2766
1942
  Playsinline: (value: boolean) => {
2767
- readonly _tag: "Playsinline";
1943
+ readonly _tag: 'Playsinline';
2768
1944
  readonly value: boolean;
2769
1945
  };
2770
1946
  High: (value: number) => {
2771
- readonly _tag: "High";
1947
+ readonly _tag: 'High';
2772
1948
  readonly value: number;
2773
1949
  };
2774
1950
  Low: (value: number) => {
2775
- readonly _tag: "Low";
1951
+ readonly _tag: 'Low';
2776
1952
  readonly value: number;
2777
1953
  };
2778
1954
  Optimum: (value: number) => {
2779
- readonly _tag: "Optimum";
1955
+ readonly _tag: 'Optimum';
2780
1956
  readonly value: number;
2781
1957
  };
2782
1958
  Usemap: (value: string) => {
2783
- readonly _tag: "Usemap";
1959
+ readonly _tag: 'Usemap';
2784
1960
  readonly value: string;
2785
1961
  };
2786
1962
  Ismap: (value: boolean) => {
2787
- readonly _tag: "Ismap";
1963
+ readonly _tag: 'Ismap';
2788
1964
  readonly value: boolean;
2789
1965
  };
2790
1966
  Role: (value: string) => {
2791
- readonly _tag: "Role";
1967
+ readonly _tag: 'Role';
2792
1968
  readonly value: string;
2793
1969
  };
2794
1970
  AriaLabel: (value: string) => {
2795
- readonly _tag: "AriaLabel";
1971
+ readonly _tag: 'AriaLabel';
2796
1972
  readonly value: string;
2797
1973
  };
2798
1974
  AriaLabelledBy: (value: string) => {
2799
- readonly _tag: "AriaLabelledBy";
1975
+ readonly _tag: 'AriaLabelledBy';
2800
1976
  readonly value: string;
2801
1977
  };
2802
1978
  AriaDescribedBy: (value: string) => {
2803
- readonly _tag: "AriaDescribedBy";
1979
+ readonly _tag: 'AriaDescribedBy';
2804
1980
  readonly value: string;
2805
1981
  };
2806
1982
  AriaHidden: (value: boolean) => {
2807
- readonly _tag: "AriaHidden";
1983
+ readonly _tag: 'AriaHidden';
2808
1984
  readonly value: boolean;
2809
1985
  };
2810
1986
  AriaExpanded: (value: boolean) => {
2811
- readonly _tag: "AriaExpanded";
1987
+ readonly _tag: 'AriaExpanded';
2812
1988
  readonly value: boolean;
2813
1989
  };
2814
1990
  AriaSelected: (value: boolean) => {
2815
- readonly _tag: "AriaSelected";
1991
+ readonly _tag: 'AriaSelected';
2816
1992
  readonly value: boolean;
2817
1993
  };
2818
- AriaChecked: (value: boolean | "mixed") => {
2819
- readonly _tag: "AriaChecked";
2820
- readonly value: boolean | "mixed";
1994
+ AriaChecked: (value: boolean | 'mixed') => {
1995
+ readonly _tag: 'AriaChecked';
1996
+ readonly value: boolean | 'mixed';
2821
1997
  };
2822
1998
  AriaDisabled: (value: boolean) => {
2823
- readonly _tag: "AriaDisabled";
1999
+ readonly _tag: 'AriaDisabled';
2824
2000
  readonly value: boolean;
2825
2001
  };
2826
2002
  AriaRequired: (value: boolean) => {
2827
- readonly _tag: "AriaRequired";
2003
+ readonly _tag: 'AriaRequired';
2828
2004
  readonly value: boolean;
2829
2005
  };
2830
2006
  AriaInvalid: (value: boolean) => {
2831
- readonly _tag: "AriaInvalid";
2007
+ readonly _tag: 'AriaInvalid';
2832
2008
  readonly value: boolean;
2833
2009
  };
2834
2010
  AriaLive: (value: string) => {
2835
- readonly _tag: "AriaLive";
2011
+ readonly _tag: 'AriaLive';
2836
2012
  readonly value: string;
2837
2013
  };
2838
2014
  AriaControls: (value: string) => {
2839
- readonly _tag: "AriaControls";
2015
+ readonly _tag: 'AriaControls';
2840
2016
  readonly value: string;
2841
2017
  };
2842
2018
  AriaCurrent: (value: string) => {
2843
- readonly _tag: "AriaCurrent";
2019
+ readonly _tag: 'AriaCurrent';
2844
2020
  readonly value: string;
2845
2021
  };
2846
2022
  AriaOrientation: (value: string) => {
2847
- readonly _tag: "AriaOrientation";
2023
+ readonly _tag: 'AriaOrientation';
2848
2024
  readonly value: string;
2849
2025
  };
2850
2026
  AriaPressed: (value: string) => {
2851
- readonly _tag: "AriaPressed";
2027
+ readonly _tag: 'AriaPressed';
2852
2028
  readonly value: string;
2853
2029
  };
2854
2030
  AriaHasPopup: (value: string) => {
2855
- readonly _tag: "AriaHasPopup";
2031
+ readonly _tag: 'AriaHasPopup';
2856
2032
  readonly value: string;
2857
2033
  };
2858
2034
  AriaActiveDescendant: (value: string) => {
2859
- readonly _tag: "AriaActiveDescendant";
2035
+ readonly _tag: 'AriaActiveDescendant';
2860
2036
  readonly value: string;
2861
2037
  };
2862
2038
  AriaSort: (value: string) => {
2863
- readonly _tag: "AriaSort";
2039
+ readonly _tag: 'AriaSort';
2864
2040
  readonly value: string;
2865
2041
  };
2866
2042
  AriaMultiSelectable: (value: boolean) => {
2867
- readonly _tag: "AriaMultiSelectable";
2043
+ readonly _tag: 'AriaMultiSelectable';
2868
2044
  readonly value: boolean;
2869
2045
  };
2870
2046
  AriaModal: (value: boolean) => {
2871
- readonly _tag: "AriaModal";
2047
+ readonly _tag: 'AriaModal';
2872
2048
  readonly value: boolean;
2873
2049
  };
2874
2050
  AriaBusy: (value: boolean) => {
2875
- readonly _tag: "AriaBusy";
2051
+ readonly _tag: 'AriaBusy';
2876
2052
  readonly value: boolean;
2877
2053
  };
2878
2054
  AriaErrorMessage: (value: string) => {
2879
- readonly _tag: "AriaErrorMessage";
2055
+ readonly _tag: 'AriaErrorMessage';
2880
2056
  readonly value: string;
2881
2057
  };
2882
2058
  AriaRoleDescription: (value: string) => {
2883
- readonly _tag: "AriaRoleDescription";
2059
+ readonly _tag: 'AriaRoleDescription';
2884
2060
  readonly value: string;
2885
2061
  };
2886
2062
  AriaAtomic: (value: boolean) => {
2887
- readonly _tag: "AriaAtomic";
2063
+ readonly _tag: 'AriaAtomic';
2888
2064
  readonly value: boolean;
2889
2065
  };
2890
2066
  AriaAutocomplete: (value: string) => {
2891
- readonly _tag: "AriaAutocomplete";
2067
+ readonly _tag: 'AriaAutocomplete';
2892
2068
  readonly value: string;
2893
2069
  };
2894
2070
  AriaColcount: (value: number) => {
2895
- readonly _tag: "AriaColcount";
2071
+ readonly _tag: 'AriaColcount';
2896
2072
  readonly value: number;
2897
2073
  };
2898
2074
  AriaColindex: (value: number) => {
2899
- readonly _tag: "AriaColindex";
2075
+ readonly _tag: 'AriaColindex';
2900
2076
  readonly value: number;
2901
2077
  };
2902
2078
  AriaColspan: (value: number) => {
2903
- readonly _tag: "AriaColspan";
2079
+ readonly _tag: 'AriaColspan';
2904
2080
  readonly value: number;
2905
2081
  };
2906
2082
  AriaDescription: (value: string) => {
2907
- readonly _tag: "AriaDescription";
2083
+ readonly _tag: 'AriaDescription';
2908
2084
  readonly value: string;
2909
2085
  };
2910
2086
  AriaDetails: (value: string) => {
2911
- readonly _tag: "AriaDetails";
2087
+ readonly _tag: 'AriaDetails';
2912
2088
  readonly value: string;
2913
2089
  };
2914
2090
  AriaFlowto: (value: string) => {
2915
- readonly _tag: "AriaFlowto";
2091
+ readonly _tag: 'AriaFlowto';
2916
2092
  readonly value: string;
2917
2093
  };
2918
2094
  AriaKeyshortcuts: (value: string) => {
2919
- readonly _tag: "AriaKeyshortcuts";
2095
+ readonly _tag: 'AriaKeyshortcuts';
2920
2096
  readonly value: string;
2921
2097
  };
2922
2098
  AriaLevel: (value: number) => {
2923
- readonly _tag: "AriaLevel";
2099
+ readonly _tag: 'AriaLevel';
2924
2100
  readonly value: number;
2925
2101
  };
2926
2102
  AriaOwns: (value: string) => {
2927
- readonly _tag: "AriaOwns";
2103
+ readonly _tag: 'AriaOwns';
2928
2104
  readonly value: string;
2929
2105
  };
2930
2106
  AriaPlaceholder: (value: string) => {
2931
- readonly _tag: "AriaPlaceholder";
2107
+ readonly _tag: 'AriaPlaceholder';
2932
2108
  readonly value: string;
2933
2109
  };
2934
2110
  AriaPosinset: (value: number) => {
2935
- readonly _tag: "AriaPosinset";
2111
+ readonly _tag: 'AriaPosinset';
2936
2112
  readonly value: number;
2937
2113
  };
2938
2114
  AriaReadonly: (value: boolean) => {
2939
- readonly _tag: "AriaReadonly";
2115
+ readonly _tag: 'AriaReadonly';
2940
2116
  readonly value: boolean;
2941
2117
  };
2942
2118
  AriaRelevant: (value: string) => {
2943
- readonly _tag: "AriaRelevant";
2119
+ readonly _tag: 'AriaRelevant';
2944
2120
  readonly value: string;
2945
2121
  };
2946
2122
  AriaRowcount: (value: number) => {
2947
- readonly _tag: "AriaRowcount";
2123
+ readonly _tag: 'AriaRowcount';
2948
2124
  readonly value: number;
2949
2125
  };
2950
2126
  AriaRowindex: (value: number) => {
2951
- readonly _tag: "AriaRowindex";
2127
+ readonly _tag: 'AriaRowindex';
2952
2128
  readonly value: number;
2953
2129
  };
2954
2130
  AriaRowspan: (value: number) => {
2955
- readonly _tag: "AriaRowspan";
2131
+ readonly _tag: 'AriaRowspan';
2956
2132
  readonly value: number;
2957
2133
  };
2958
2134
  AriaSetsize: (value: number) => {
2959
- readonly _tag: "AriaSetsize";
2135
+ readonly _tag: 'AriaSetsize';
2960
2136
  readonly value: number;
2961
2137
  };
2962
2138
  AriaValuemax: (value: number) => {
2963
- readonly _tag: "AriaValuemax";
2139
+ readonly _tag: 'AriaValuemax';
2964
2140
  readonly value: number;
2965
2141
  };
2966
2142
  AriaValuemin: (value: number) => {
2967
- readonly _tag: "AriaValuemin";
2143
+ readonly _tag: 'AriaValuemin';
2968
2144
  readonly value: number;
2969
2145
  };
2970
2146
  AriaValuenow: (value: number) => {
2971
- readonly _tag: "AriaValuenow";
2147
+ readonly _tag: 'AriaValuenow';
2972
2148
  readonly value: number;
2973
2149
  };
2974
2150
  AriaValuetext: (value: string) => {
2975
- readonly _tag: "AriaValuetext";
2151
+ readonly _tag: 'AriaValuetext';
2976
2152
  readonly value: string;
2977
2153
  };
2978
2154
  Attribute: (key: string, value: string) => {
2979
- readonly _tag: "Attribute";
2155
+ readonly _tag: 'Attribute';
2980
2156
  readonly key: string;
2981
2157
  readonly value: string;
2982
2158
  };
2983
2159
  DataAttribute: (key: string, value: string) => {
2984
- readonly _tag: "DataAttribute";
2160
+ readonly _tag: 'DataAttribute';
2985
2161
  readonly key: string;
2986
2162
  readonly value: string;
2987
2163
  };
2988
2164
  Style: (value: Record<string, string>) => {
2989
- readonly _tag: "Style";
2165
+ readonly _tag: 'Style';
2990
2166
  readonly value: Record<string, string>;
2991
2167
  };
2992
2168
  InnerHTML: (value: string) => {
2993
- readonly _tag: "InnerHTML";
2169
+ readonly _tag: 'InnerHTML';
2994
2170
  readonly value: string;
2995
2171
  };
2996
2172
  ViewBox: (value: string) => {
2997
- readonly _tag: "ViewBox";
2173
+ readonly _tag: 'ViewBox';
2998
2174
  readonly value: string;
2999
2175
  };
3000
2176
  Xmlns: (value: string) => {
3001
- readonly _tag: "Xmlns";
2177
+ readonly _tag: 'Xmlns';
3002
2178
  readonly value: string;
3003
2179
  };
3004
2180
  Fill: (value: string) => {
3005
- readonly _tag: "Fill";
2181
+ readonly _tag: 'Fill';
3006
2182
  readonly value: string;
3007
2183
  };
3008
2184
  FillRule: (value: string) => {
3009
- readonly _tag: "FillRule";
2185
+ readonly _tag: 'FillRule';
3010
2186
  readonly value: string;
3011
2187
  };
3012
2188
  ClipRule: (value: string) => {
3013
- readonly _tag: "ClipRule";
2189
+ readonly _tag: 'ClipRule';
3014
2190
  readonly value: string;
3015
2191
  };
3016
2192
  Stroke: (value: string) => {
3017
- readonly _tag: "Stroke";
2193
+ readonly _tag: 'Stroke';
3018
2194
  readonly value: string;
3019
2195
  };
3020
2196
  StrokeWidth: (value: string) => {
3021
- readonly _tag: "StrokeWidth";
2197
+ readonly _tag: 'StrokeWidth';
3022
2198
  readonly value: string;
3023
2199
  };
3024
2200
  StrokeLinecap: (value: string) => {
3025
- readonly _tag: "StrokeLinecap";
2201
+ readonly _tag: 'StrokeLinecap';
3026
2202
  readonly value: string;
3027
2203
  };
3028
2204
  StrokeLinejoin: (value: string) => {
3029
- readonly _tag: "StrokeLinejoin";
2205
+ readonly _tag: 'StrokeLinejoin';
3030
2206
  readonly value: string;
3031
2207
  };
3032
2208
  D: (value: string) => {
3033
- readonly _tag: "D";
2209
+ readonly _tag: 'D';
3034
2210
  readonly value: string;
3035
2211
  };
3036
2212
  Cx: (value: string) => {
3037
- readonly _tag: "Cx";
2213
+ readonly _tag: 'Cx';
3038
2214
  readonly value: string;
3039
2215
  };
3040
2216
  Cy: (value: string) => {
3041
- readonly _tag: "Cy";
2217
+ readonly _tag: 'Cy';
3042
2218
  readonly value: string;
3043
2219
  };
3044
2220
  R: (value: string) => {
3045
- readonly _tag: "R";
2221
+ readonly _tag: 'R';
3046
2222
  readonly value: string;
3047
2223
  };
3048
2224
  X: (value: string) => {
3049
- readonly _tag: "X";
2225
+ readonly _tag: 'X';
3050
2226
  readonly value: string;
3051
2227
  };
3052
2228
  Y: (value: string) => {
3053
- readonly _tag: "Y";
2229
+ readonly _tag: 'Y';
3054
2230
  readonly value: string;
3055
2231
  };
3056
2232
  Width: (value: string) => {
3057
- readonly _tag: "Width";
2233
+ readonly _tag: 'Width';
3058
2234
  readonly value: string;
3059
2235
  };
3060
2236
  Height: (value: string) => {
3061
- readonly _tag: "Height";
2237
+ readonly _tag: 'Height';
3062
2238
  readonly value: string;
3063
2239
  };
3064
2240
  X1: (value: string) => {
3065
- readonly _tag: "X1";
2241
+ readonly _tag: 'X1';
3066
2242
  readonly value: string;
3067
2243
  };
3068
2244
  Y1: (value: string) => {
3069
- readonly _tag: "Y1";
2245
+ readonly _tag: 'Y1';
3070
2246
  readonly value: string;
3071
2247
  };
3072
2248
  X2: (value: string) => {
3073
- readonly _tag: "X2";
2249
+ readonly _tag: 'X2';
3074
2250
  readonly value: string;
3075
2251
  };
3076
2252
  Y2: (value: string) => {
3077
- readonly _tag: "Y2";
2253
+ readonly _tag: 'Y2';
3078
2254
  readonly value: string;
3079
2255
  };
3080
2256
  Points: (value: string) => {
3081
- readonly _tag: "Points";
2257
+ readonly _tag: 'Points';
3082
2258
  readonly value: string;
3083
2259
  };
3084
2260
  Transform: (value: string) => {
3085
- readonly _tag: "Transform";
2261
+ readonly _tag: 'Transform';
3086
2262
  readonly value: string;
3087
2263
  };
3088
2264
  Opacity: (value: string) => {
3089
- readonly _tag: "Opacity";
2265
+ readonly _tag: 'Opacity';
3090
2266
  readonly value: string;
3091
2267
  };
3092
2268
  StrokeDasharray: (value: string) => {
3093
- readonly _tag: "StrokeDasharray";
2269
+ readonly _tag: 'StrokeDasharray';
3094
2270
  readonly value: string;
3095
2271
  };
3096
2272
  StrokeDashoffset: (value: string) => {
3097
- readonly _tag: "StrokeDashoffset";
2273
+ readonly _tag: 'StrokeDashoffset';
3098
2274
  readonly value: string;
3099
2275
  };
3100
2276
  Dx: (value: string) => {
3101
- readonly _tag: "Dx";
2277
+ readonly _tag: 'Dx';
3102
2278
  readonly value: string;
3103
2279
  };
3104
2280
  Dy: (value: string) => {
3105
- readonly _tag: "Dy";
2281
+ readonly _tag: 'Dy';
3106
2282
  readonly value: string;
3107
2283
  };
3108
2284
  Rotate: (value: string) => {
3109
- readonly _tag: "Rotate";
2285
+ readonly _tag: 'Rotate';
3110
2286
  readonly value: string;
3111
2287
  };
3112
2288
  TextAnchor: (value: string) => {
3113
- readonly _tag: "TextAnchor";
2289
+ readonly _tag: 'TextAnchor';
3114
2290
  readonly value: string;
3115
2291
  };
3116
2292
  DominantBaseline: (value: string) => {
3117
- readonly _tag: "DominantBaseline";
2293
+ readonly _tag: 'DominantBaseline';
3118
2294
  readonly value: string;
3119
2295
  };
3120
2296
  AlignmentBaseline: (value: string) => {
3121
- readonly _tag: "AlignmentBaseline";
2297
+ readonly _tag: 'AlignmentBaseline';
3122
2298
  readonly value: string;
3123
2299
  };
3124
2300
  BaselineShift: (value: string) => {
3125
- readonly _tag: "BaselineShift";
2301
+ readonly _tag: 'BaselineShift';
3126
2302
  readonly value: string;
3127
2303
  };
3128
2304
  TextLength: (value: string) => {
3129
- readonly _tag: "TextLength";
2305
+ readonly _tag: 'TextLength';
3130
2306
  readonly value: string;
3131
2307
  };
3132
2308
  LengthAdjust: (value: string) => {
3133
- readonly _tag: "LengthAdjust";
2309
+ readonly _tag: 'LengthAdjust';
3134
2310
  readonly value: string;
3135
2311
  };
3136
2312
  FontFamily: (value: string) => {
3137
- readonly _tag: "FontFamily";
2313
+ readonly _tag: 'FontFamily';
3138
2314
  readonly value: string;
3139
2315
  };
3140
2316
  FontSize: (value: string) => {
3141
- readonly _tag: "FontSize";
2317
+ readonly _tag: 'FontSize';
3142
2318
  readonly value: string;
3143
2319
  };
3144
2320
  FontWeight: (value: string) => {
3145
- readonly _tag: "FontWeight";
2321
+ readonly _tag: 'FontWeight';
3146
2322
  readonly value: string;
3147
2323
  };
3148
2324
  FontStyle: (value: string) => {
3149
- readonly _tag: "FontStyle";
2325
+ readonly _tag: 'FontStyle';
3150
2326
  readonly value: string;
3151
2327
  };
3152
2328
  LetterSpacing: (value: string) => {
3153
- readonly _tag: "LetterSpacing";
2329
+ readonly _tag: 'LetterSpacing';
3154
2330
  readonly value: string;
3155
2331
  };
3156
2332
  WordSpacing: (value: string) => {
3157
- readonly _tag: "WordSpacing";
2333
+ readonly _tag: 'WordSpacing';
3158
2334
  readonly value: string;
3159
2335
  };
3160
2336
  TextDecoration: (value: string) => {
3161
- readonly _tag: "TextDecoration";
2337
+ readonly _tag: 'TextDecoration';
3162
2338
  readonly value: string;
3163
2339
  };
3164
2340
  WritingMode: (value: string) => {
3165
- readonly _tag: "WritingMode";
2341
+ readonly _tag: 'WritingMode';
3166
2342
  readonly value: string;
3167
2343
  };
3168
2344
  Rx: (value: string) => {
3169
- readonly _tag: "Rx";
2345
+ readonly _tag: 'Rx';
3170
2346
  readonly value: string;
3171
2347
  };
3172
2348
  Ry: (value: string) => {
3173
- readonly _tag: "Ry";
2349
+ readonly _tag: 'Ry';
3174
2350
  readonly value: string;
3175
2351
  };
3176
2352
  PathLength: (value: string) => {
3177
- readonly _tag: "PathLength";
2353
+ readonly _tag: 'PathLength';
3178
2354
  readonly value: string;
3179
2355
  };
3180
2356
  FillOpacity: (value: string) => {
3181
- readonly _tag: "FillOpacity";
2357
+ readonly _tag: 'FillOpacity';
3182
2358
  readonly value: string;
3183
2359
  };
3184
2360
  StrokeOpacity: (value: string) => {
3185
- readonly _tag: "StrokeOpacity";
2361
+ readonly _tag: 'StrokeOpacity';
3186
2362
  readonly value: string;
3187
2363
  };
3188
2364
  StrokeMiterlimit: (value: string) => {
3189
- readonly _tag: "StrokeMiterlimit";
2365
+ readonly _tag: 'StrokeMiterlimit';
3190
2366
  readonly value: string;
3191
2367
  };
3192
2368
  PaintOrder: (value: string) => {
3193
- readonly _tag: "PaintOrder";
2369
+ readonly _tag: 'PaintOrder';
3194
2370
  readonly value: string;
3195
2371
  };
3196
2372
  VectorEffect: (value: string) => {
3197
- readonly _tag: "VectorEffect";
2373
+ readonly _tag: 'VectorEffect';
3198
2374
  readonly value: string;
3199
2375
  };
3200
2376
  Color: (value: string) => {
3201
- readonly _tag: "Color";
2377
+ readonly _tag: 'Color';
3202
2378
  readonly value: string;
3203
2379
  };
3204
2380
  Visibility: (value: string) => {
3205
- readonly _tag: "Visibility";
2381
+ readonly _tag: 'Visibility';
3206
2382
  readonly value: string;
3207
2383
  };
3208
2384
  Display: (value: string) => {
3209
- readonly _tag: "Display";
2385
+ readonly _tag: 'Display';
3210
2386
  readonly value: string;
3211
2387
  };
3212
2388
  Overflow: (value: string) => {
3213
- readonly _tag: "Overflow";
2389
+ readonly _tag: 'Overflow';
3214
2390
  readonly value: string;
3215
2391
  };
3216
2392
  PointerEvents: (value: string) => {
3217
- readonly _tag: "PointerEvents";
2393
+ readonly _tag: 'PointerEvents';
3218
2394
  readonly value: string;
3219
2395
  };
3220
2396
  Cursor: (value: string) => {
3221
- readonly _tag: "Cursor";
2397
+ readonly _tag: 'Cursor';
3222
2398
  readonly value: string;
3223
2399
  };
3224
2400
  ShapeRendering: (value: string) => {
3225
- readonly _tag: "ShapeRendering";
2401
+ readonly _tag: 'ShapeRendering';
3226
2402
  readonly value: string;
3227
2403
  };
3228
2404
  TextRendering: (value: string) => {
3229
- readonly _tag: "TextRendering";
2405
+ readonly _tag: 'TextRendering';
3230
2406
  readonly value: string;
3231
2407
  };
3232
2408
  ImageRendering: (value: string) => {
3233
- readonly _tag: "ImageRendering";
2409
+ readonly _tag: 'ImageRendering';
3234
2410
  readonly value: string;
3235
2411
  };
3236
2412
  ClipPath: (value: string) => {
3237
- readonly _tag: "ClipPath";
2413
+ readonly _tag: 'ClipPath';
3238
2414
  readonly value: string;
3239
2415
  };
3240
2416
  Mask: (value: string) => {
3241
- readonly _tag: "Mask";
2417
+ readonly _tag: 'Mask';
3242
2418
  readonly value: string;
3243
2419
  };
3244
2420
  Filter: (value: string) => {
3245
- readonly _tag: "Filter";
2421
+ readonly _tag: 'Filter';
3246
2422
  readonly value: string;
3247
2423
  };
3248
2424
  ClipPathUnits: (value: string) => {
3249
- readonly _tag: "ClipPathUnits";
2425
+ readonly _tag: 'ClipPathUnits';
3250
2426
  readonly value: string;
3251
2427
  };
3252
2428
  MaskUnits: (value: string) => {
3253
- readonly _tag: "MaskUnits";
2429
+ readonly _tag: 'MaskUnits';
3254
2430
  readonly value: string;
3255
2431
  };
3256
2432
  MaskContentUnits: (value: string) => {
3257
- readonly _tag: "MaskContentUnits";
2433
+ readonly _tag: 'MaskContentUnits';
3258
2434
  readonly value: string;
3259
2435
  };
3260
2436
  FilterUnits: (value: string) => {
3261
- readonly _tag: "FilterUnits";
2437
+ readonly _tag: 'FilterUnits';
3262
2438
  readonly value: string;
3263
2439
  };
3264
2440
  PrimitiveUnits: (value: string) => {
3265
- readonly _tag: "PrimitiveUnits";
2441
+ readonly _tag: 'PrimitiveUnits';
3266
2442
  readonly value: string;
3267
2443
  };
3268
2444
  Offset: (value: string) => {
3269
- readonly _tag: "Offset";
2445
+ readonly _tag: 'Offset';
3270
2446
  readonly value: string;
3271
2447
  };
3272
2448
  StopColor: (value: string) => {
3273
- readonly _tag: "StopColor";
2449
+ readonly _tag: 'StopColor';
3274
2450
  readonly value: string;
3275
2451
  };
3276
2452
  StopOpacity: (value: string) => {
3277
- readonly _tag: "StopOpacity";
2453
+ readonly _tag: 'StopOpacity';
3278
2454
  readonly value: string;
3279
2455
  };
3280
2456
  GradientUnits: (value: string) => {
3281
- readonly _tag: "GradientUnits";
2457
+ readonly _tag: 'GradientUnits';
3282
2458
  readonly value: string;
3283
2459
  };
3284
2460
  GradientTransform: (value: string) => {
3285
- readonly _tag: "GradientTransform";
2461
+ readonly _tag: 'GradientTransform';
3286
2462
  readonly value: string;
3287
2463
  };
3288
2464
  SpreadMethod: (value: string) => {
3289
- readonly _tag: "SpreadMethod";
2465
+ readonly _tag: 'SpreadMethod';
3290
2466
  readonly value: string;
3291
2467
  };
3292
2468
  Fx: (value: string) => {
3293
- readonly _tag: "Fx";
2469
+ readonly _tag: 'Fx';
3294
2470
  readonly value: string;
3295
2471
  };
3296
2472
  Fy: (value: string) => {
3297
- readonly _tag: "Fy";
2473
+ readonly _tag: 'Fy';
3298
2474
  readonly value: string;
3299
2475
  };
3300
2476
  Fr: (value: string) => {
3301
- readonly _tag: "Fr";
2477
+ readonly _tag: 'Fr';
3302
2478
  readonly value: string;
3303
2479
  };
3304
2480
  PatternUnits: (value: string) => {
3305
- readonly _tag: "PatternUnits";
2481
+ readonly _tag: 'PatternUnits';
3306
2482
  readonly value: string;
3307
2483
  };
3308
2484
  PatternContentUnits: (value: string) => {
3309
- readonly _tag: "PatternContentUnits";
2485
+ readonly _tag: 'PatternContentUnits';
3310
2486
  readonly value: string;
3311
2487
  };
3312
2488
  PatternTransform: (value: string) => {
3313
- readonly _tag: "PatternTransform";
2489
+ readonly _tag: 'PatternTransform';
3314
2490
  readonly value: string;
3315
2491
  };
3316
2492
  MarkerStart: (value: string) => {
3317
- readonly _tag: "MarkerStart";
2493
+ readonly _tag: 'MarkerStart';
3318
2494
  readonly value: string;
3319
2495
  };
3320
2496
  MarkerMid: (value: string) => {
3321
- readonly _tag: "MarkerMid";
2497
+ readonly _tag: 'MarkerMid';
3322
2498
  readonly value: string;
3323
2499
  };
3324
2500
  MarkerEnd: (value: string) => {
3325
- readonly _tag: "MarkerEnd";
2501
+ readonly _tag: 'MarkerEnd';
3326
2502
  readonly value: string;
3327
2503
  };
3328
2504
  MarkerWidth: (value: string) => {
3329
- readonly _tag: "MarkerWidth";
2505
+ readonly _tag: 'MarkerWidth';
3330
2506
  readonly value: string;
3331
2507
  };
3332
2508
  MarkerHeight: (value: string) => {
3333
- readonly _tag: "MarkerHeight";
2509
+ readonly _tag: 'MarkerHeight';
3334
2510
  readonly value: string;
3335
2511
  };
3336
2512
  MarkerUnits: (value: string) => {
3337
- readonly _tag: "MarkerUnits";
2513
+ readonly _tag: 'MarkerUnits';
3338
2514
  readonly value: string;
3339
2515
  };
3340
2516
  RefX: (value: string) => {
3341
- readonly _tag: "RefX";
2517
+ readonly _tag: 'RefX';
3342
2518
  readonly value: string;
3343
2519
  };
3344
2520
  RefY: (value: string) => {
3345
- readonly _tag: "RefY";
2521
+ readonly _tag: 'RefY';
3346
2522
  readonly value: string;
3347
2523
  };
3348
2524
  Orient: (value: string) => {
3349
- readonly _tag: "Orient";
2525
+ readonly _tag: 'Orient';
3350
2526
  readonly value: string;
3351
2527
  };
3352
2528
  PreserveAspectRatio: (value: string) => {
3353
- readonly _tag: "PreserveAspectRatio";
2529
+ readonly _tag: 'PreserveAspectRatio';
3354
2530
  readonly value: string;
3355
2531
  };
3356
- OnMount: (action: Readonly<{
3357
- name: string;
3358
- args?: Record<string, unknown>;
3359
- f: (element: Element) => Stream.Stream<Message, any, never>;
3360
- }>) => {
3361
- readonly _tag: "OnMount";
3362
- readonly action: Readonly<{
3363
- name: string;
3364
- args?: Record<string, unknown>;
3365
- f: (element: Element) => Stream.Stream<Message, any, never>;
3366
- }>;
2532
+ OnMount: (action: MountAction<Message, any>) => {
2533
+ readonly _tag: 'OnMount';
2534
+ readonly action: MountAction<Message, any>;
3367
2535
  };
3368
2536
  OnUnmount: (message: Message) => {
3369
- readonly _tag: "OnUnmount";
2537
+ readonly _tag: 'OnUnmount';
3370
2538
  readonly message: Message;
3371
2539
  };
3372
- a: ElementFunction<Message>;
3373
- abbr: ElementFunction<Message>;
3374
- address: ElementFunction<Message>;
3375
- area: VoidElementFunction<Message>;
3376
- article: ElementFunction<Message>;
3377
- aside: ElementFunction<Message>;
3378
- audio: ElementFunction<Message>;
3379
- b: ElementFunction<Message>;
3380
- base: VoidElementFunction<Message>;
3381
- bdi: ElementFunction<Message>;
3382
- bdo: ElementFunction<Message>;
3383
- blockquote: ElementFunction<Message>;
3384
- body: ElementFunction<Message>;
3385
- br: VoidElementFunction<Message>;
3386
- button: ElementFunction<Message>;
3387
- canvas: ElementFunction<Message>;
3388
- caption: ElementFunction<Message>;
3389
- cite: ElementFunction<Message>;
3390
- code: ElementFunction<Message>;
3391
- col: VoidElementFunction<Message>;
3392
- colgroup: ElementFunction<Message>;
3393
- data: ElementFunction<Message>;
3394
- datalist: ElementFunction<Message>;
3395
- dd: ElementFunction<Message>;
3396
- del: ElementFunction<Message>;
3397
- details: ElementFunction<Message>;
3398
- dfn: ElementFunction<Message>;
3399
- dialog: ElementFunction<Message>;
3400
- div: ElementFunction<Message>;
3401
- dl: ElementFunction<Message>;
3402
- dt: ElementFunction<Message>;
3403
- em: ElementFunction<Message>;
3404
- embed: VoidElementFunction<Message>;
3405
- fieldset: ElementFunction<Message>;
3406
- figcaption: ElementFunction<Message>;
3407
- figure: ElementFunction<Message>;
3408
- footer: ElementFunction<Message>;
3409
- form: ElementFunction<Message>;
3410
- h1: ElementFunction<Message>;
3411
- h2: ElementFunction<Message>;
3412
- h3: ElementFunction<Message>;
3413
- h4: ElementFunction<Message>;
3414
- h5: ElementFunction<Message>;
3415
- h6: ElementFunction<Message>;
3416
- head: ElementFunction<Message>;
3417
- header: ElementFunction<Message>;
3418
- hgroup: ElementFunction<Message>;
3419
- hr: VoidElementFunction<Message>;
3420
- html: ElementFunction<Message>;
3421
- i: ElementFunction<Message>;
3422
- iframe: ElementFunction<Message>;
3423
- img: VoidElementFunction<Message>;
3424
- input: VoidElementFunction<Message>;
3425
- ins: ElementFunction<Message>;
3426
- kbd: ElementFunction<Message>;
3427
- label: ElementFunction<Message>;
3428
- legend: ElementFunction<Message>;
3429
- li: ElementFunction<Message>;
3430
- link: VoidElementFunction<Message>;
3431
- main: ElementFunction<Message>;
3432
- map: ElementFunction<Message>;
3433
- mark: ElementFunction<Message>;
3434
- menu: ElementFunction<Message>;
3435
- meta: VoidElementFunction<Message>;
3436
- meter: ElementFunction<Message>;
3437
- nav: ElementFunction<Message>;
3438
- noscript: ElementFunction<Message>;
3439
- object: ElementFunction<Message>;
3440
- ol: ElementFunction<Message>;
3441
- optgroup: ElementFunction<Message>;
3442
- option: ElementFunction<Message>;
3443
- output: ElementFunction<Message>;
3444
- p: ElementFunction<Message>;
3445
- picture: ElementFunction<Message>;
3446
- portal: ElementFunction<Message>;
3447
- pre: ElementFunction<Message>;
3448
- progress: ElementFunction<Message>;
3449
- q: ElementFunction<Message>;
3450
- rp: ElementFunction<Message>;
3451
- rt: ElementFunction<Message>;
3452
- ruby: ElementFunction<Message>;
3453
- s: ElementFunction<Message>;
3454
- samp: ElementFunction<Message>;
3455
- script: ElementFunction<Message>;
3456
- search: ElementFunction<Message>;
3457
- section: ElementFunction<Message>;
3458
- select: ElementFunction<Message>;
3459
- slot: ElementFunction<Message>;
3460
- small: ElementFunction<Message>;
3461
- source: VoidElementFunction<Message>;
3462
- span: ElementFunction<Message>;
3463
- strong: ElementFunction<Message>;
3464
- style: ElementFunction<Message>;
3465
- sub: ElementFunction<Message>;
3466
- summary: ElementFunction<Message>;
3467
- sup: ElementFunction<Message>;
3468
- table: ElementFunction<Message>;
3469
- tbody: ElementFunction<Message>;
3470
- td: ElementFunction<Message>;
3471
- template: ElementFunction<Message>;
3472
- textarea: ElementFunction<Message>;
3473
- tfoot: ElementFunction<Message>;
3474
- th: ElementFunction<Message>;
3475
- thead: ElementFunction<Message>;
3476
- time: ElementFunction<Message>;
3477
- title: ElementFunction<Message>;
3478
- tr: ElementFunction<Message>;
3479
- track: VoidElementFunction<Message>;
3480
- u: ElementFunction<Message>;
3481
- ul: ElementFunction<Message>;
3482
- var: ElementFunction<Message>;
3483
- video: ElementFunction<Message>;
3484
- wbr: VoidElementFunction<Message>;
3485
- svg: ElementFunction<Message>;
3486
- animate: ElementFunction<Message>;
3487
- animateMotion: ElementFunction<Message>;
3488
- animateTransform: ElementFunction<Message>;
3489
- circle: ElementFunction<Message>;
3490
- clipPath: ElementFunction<Message>;
3491
- defs: ElementFunction<Message>;
3492
- desc: ElementFunction<Message>;
3493
- ellipse: ElementFunction<Message>;
3494
- feBlend: ElementFunction<Message>;
3495
- feColorMatrix: ElementFunction<Message>;
3496
- feComponentTransfer: ElementFunction<Message>;
3497
- feComposite: ElementFunction<Message>;
3498
- feConvolveMatrix: ElementFunction<Message>;
3499
- feDiffuseLighting: ElementFunction<Message>;
3500
- feDisplacementMap: ElementFunction<Message>;
3501
- feDistantLight: ElementFunction<Message>;
3502
- feDropShadow: ElementFunction<Message>;
3503
- feFlood: ElementFunction<Message>;
3504
- feFuncA: ElementFunction<Message>;
3505
- feFuncB: ElementFunction<Message>;
3506
- feFuncG: ElementFunction<Message>;
3507
- feFuncR: ElementFunction<Message>;
3508
- feGaussianBlur: ElementFunction<Message>;
3509
- feImage: ElementFunction<Message>;
3510
- feMerge: ElementFunction<Message>;
3511
- feMergeNode: ElementFunction<Message>;
3512
- feMorphology: ElementFunction<Message>;
3513
- feOffset: ElementFunction<Message>;
3514
- fePointLight: ElementFunction<Message>;
3515
- feSpecularLighting: ElementFunction<Message>;
3516
- feSpotLight: ElementFunction<Message>;
3517
- feTile: ElementFunction<Message>;
3518
- feTurbulence: ElementFunction<Message>;
3519
- filter: ElementFunction<Message>;
3520
- foreignObject: ElementFunction<Message>;
3521
- g: ElementFunction<Message>;
3522
- image: ElementFunction<Message>;
3523
- line: ElementFunction<Message>;
3524
- linearGradient: ElementFunction<Message>;
3525
- marker: ElementFunction<Message>;
3526
- mask: ElementFunction<Message>;
3527
- metadata: ElementFunction<Message>;
3528
- mpath: ElementFunction<Message>;
3529
- path: ElementFunction<Message>;
3530
- pattern: ElementFunction<Message>;
3531
- polygon: ElementFunction<Message>;
3532
- polyline: ElementFunction<Message>;
3533
- radialGradient: ElementFunction<Message>;
3534
- rect: ElementFunction<Message>;
3535
- set: ElementFunction<Message>;
3536
- stop: ElementFunction<Message>;
3537
- switch: ElementFunction<Message>;
3538
- symbol: ElementFunction<Message>;
3539
- text: ElementFunction<Message>;
3540
- textPath: ElementFunction<Message>;
3541
- tspan: ElementFunction<Message>;
3542
- use: ElementFunction<Message>;
3543
- view: ElementFunction<Message>;
3544
- math: ElementFunction<Message>;
3545
- annotation: ElementFunction<Message>;
3546
- 'annotation-xml': ElementFunction<Message>;
3547
- maction: ElementFunction<Message>;
3548
- menclose: ElementFunction<Message>;
3549
- merror: ElementFunction<Message>;
3550
- mfenced: ElementFunction<Message>;
3551
- mfrac: ElementFunction<Message>;
3552
- mglyph: ElementFunction<Message>;
3553
- mi: ElementFunction<Message>;
3554
- mlabeledtr: ElementFunction<Message>;
3555
- mlongdiv: ElementFunction<Message>;
3556
- mmultiscripts: ElementFunction<Message>;
3557
- mn: ElementFunction<Message>;
3558
- mo: ElementFunction<Message>;
3559
- mover: ElementFunction<Message>;
3560
- mpadded: ElementFunction<Message>;
3561
- mphantom: ElementFunction<Message>;
3562
- mprescripts: ElementFunction<Message>;
3563
- mroot: ElementFunction<Message>;
3564
- mrow: ElementFunction<Message>;
3565
- ms: ElementFunction<Message>;
3566
- mscarries: ElementFunction<Message>;
3567
- mscarry: ElementFunction<Message>;
3568
- msgroup: ElementFunction<Message>;
3569
- msline: ElementFunction<Message>;
3570
- mspace: ElementFunction<Message>;
3571
- msqrt: ElementFunction<Message>;
3572
- msrow: ElementFunction<Message>;
3573
- mstack: ElementFunction<Message>;
3574
- mstyle: ElementFunction<Message>;
3575
- msub: ElementFunction<Message>;
3576
- msubsup: ElementFunction<Message>;
3577
- msup: ElementFunction<Message>;
3578
- mtable: ElementFunction<Message>;
3579
- mtd: ElementFunction<Message>;
3580
- mtext: ElementFunction<Message>;
3581
- mtr: ElementFunction<Message>;
3582
- munder: ElementFunction<Message>;
3583
- munderover: ElementFunction<Message>;
3584
- semantics: ElementFunction<Message>;
3585
2540
  };
2541
+ declare const messageUniverse: unique symbol;
2542
+ /**
2543
+ * Phantom marker carrying the builder's Message universe invariantly, so a
2544
+ * builder from the wrong frame is rejected on this property rather than deep
2545
+ * inside the structural comparison of every element constructor. It exists only
2546
+ * to keep the diagnostic short and pointed at the cause.
2547
+ */
2548
+ type MessageUniverse<Message> = Readonly<{
2549
+ [messageUniverse]: (message: Message) => Message;
2550
+ }>;
2551
+ /**
2552
+ * The typed Html builder a view builds DOM with: all HTML, SVG, and MathML
2553
+ * element constructors, attribute constructors, a `keyed` helper for keyed
2554
+ * elements, `empty` for rendering nothing, and `submodel` for embedding a
2555
+ * child Submodel.
2556
+ *
2557
+ * A builder cannot be constructed by application code. The runtime supplies
2558
+ * it to each view alongside the model, typed by the Message universe of the
2559
+ * frame that view renders in: the app's Message for the root view, the
2560
+ * Submodel's own Message inside a `Submodel.defineView`. Used in the frame
2561
+ * that supplied it, a handler built with it carries exactly the Messages that
2562
+ * frame's dispatcher can route, so a Message from another universe (the
2563
+ * classic case: a shared helper building an app-level Message inside a
2564
+ * Submodel) is a compile error at the handler call site.
2565
+ *
2566
+ * The type scopes where a builder is obtained, not where it is used. Carrying
2567
+ * one into another frame, by storing it or handing the builder itself to a
2568
+ * child through `viewInputs`, still compiles and still builds handlers that
2569
+ * frame cannot route. Thread `h` as a parameter; never store it.
2570
+ *
2571
+ * Pass `h` along as an ordinary parameter when extracting view helpers; a
2572
+ * memoized helper receives it through the `createLazy` args array. When a
2573
+ * child must render markup that belongs to an ancestor, the ancestor passes a
2574
+ * renderer that already closed over its own builder, not the builder, so the
2575
+ * handlers resolve in the ancestor's boundary. Where no builder is in scope
2576
+ * at all, typically module scope, use {@link inertHtml}.
2577
+ */
2578
+ export type HtmlBuilder<Message> = MessageUniverse<Message> & HtmlElements<Message> & HtmlAttributes<Message> & Readonly<{
2579
+ empty: null;
2580
+ keyed: (tagName: TagName) => (key: PropertyKey, attributes?: ReadonlyArray<Attribute<Message> | ChildAttribute>, children?: ReadonlyArray<Child>) => Html;
2581
+ submodel: <View extends AnySubmodelView>(config: SubmodelConfig<View, Message>) => Html;
2582
+ }>;
2583
+ /** @internal Returns the process-wide builder singleton retyped to a frame's
2584
+ * Message. Only the runtime, the Scene test harness, and the framework's own
2585
+ * tests call this, each immediately before invoking a view under the frame
2586
+ * that Message belongs to. `h.submodel` does not: it receives the singleton
2587
+ * as a parameter, which is what keeps `index.ts` and `submodel.ts` free of a
2588
+ * runtime import cycle. Application code receives builders exclusively as
2589
+ * view parameters. */
2590
+ export declare const __htmlBuilder: <Message>() => HtmlBuilder<Message>;
3586
2591
  /**
3587
- * Returns all HTML, SVG, and MathML element constructors, attribute
3588
- * constructors, a `keyed` helper for keyed elements, and `empty` for
3589
- * rendering nothing.
2592
+ * Builder whose Message universe is empty. Its Message type is `never`, so
2593
+ * every event-handler constructor is uncallable and nothing built with it can
2594
+ * dispatch a Message. Elements, attributes, and keying behave exactly as they
2595
+ * do on any other builder, and the markup itself is free to vary with runtime
2596
+ * data. Inert describes what the result can do, not how it is computed.
2597
+ *
2598
+ * Inert to Foldkit's dispatch, not to the browser. A raw DOM attribute still
2599
+ * does whatever the browser makes of it, which is exactly how the default
2600
+ * crash view gets a working reload button:
2601
+ * `h.Attribute('onclick', 'location.reload()')`. What `never` rules out is a
2602
+ * Message reaching `update`, not every possible behavior.
2603
+ *
2604
+ * Use it where no builder is in scope, which in practice means module scope
2605
+ * and the frameless renders the framework performs itself:
2606
+ *
2607
+ * ```ts
2608
+ * import { inertHtml as ih } from 'foldkit/html'
2609
+ *
2610
+ * const PagefindBody = ih.DataAttribute('pagefind-body', '')
2611
+ * ```
2612
+ *
2613
+ * Attributes it produces are `Attribute<never>`, so they flow into any
2614
+ * Message universe by covariance. That makes it the right builder for
2615
+ * library code emitting handler-free attribute bundles for arbitrary apps.
3590
2616
  *
3591
- * The returned object is a process-wide singleton. The `Message` type
3592
- * parameter is erased at runtime, and the element and attribute constructors
3593
- * carry no per-program state (dispatch is read from the runtime singleton at
3594
- * call time), so calling `html()` repeatedly from inside view functions does
3595
- * not allocate a fresh object.
2617
+ * Inside a view, use the view's own `h` parameter. A view already holds a
2618
+ * builder, and reaching past it for this one is the habit that made a
2619
+ * caller-chosen Message type possible in the first place.
3596
2620
  */
3597
- export declare const html: <Message = never>() => ReturnType<typeof buildHtmlFactory<Message>>;
2621
+ export declare const inertHtml: HtmlBuilder<never>;
3598
2622
  //# sourceMappingURL=index.d.ts.map