@torpor/view 0.4.5 → 0.4.7

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 (145) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/compile.cjs +89 -56
  3. package/dist/compile.cjs.map +1 -1
  4. package/dist/compile.js +89 -56
  5. package/dist/compile.js.map +1 -1
  6. package/dist/index.cjs +2 -2
  7. package/dist/index.cjs.map +1 -1
  8. package/dist/index.d.cts +2 -2
  9. package/dist/index.d.cts.map +1 -1
  10. package/dist/index.d.ts +2 -2
  11. package/dist/index.d.ts.map +1 -1
  12. package/dist/index.js +2 -2
  13. package/dist/index.js.map +1 -1
  14. package/package.json +7 -7
  15. package/src/compile/build/client/buildAwaitNode.ts +3 -2
  16. package/src/compile/build/client/buildCode.ts +14 -11
  17. package/src/compile/build/client/buildComponentNode.ts +15 -13
  18. package/src/compile/build/client/buildElementNode.ts +5 -4
  19. package/src/compile/build/client/buildForNode.ts +22 -12
  20. package/src/compile/build/client/buildFragment.ts +9 -0
  21. package/src/compile/build/client/buildHtmlNode.ts +14 -2
  22. package/src/compile/build/client/buildIfNode.ts +3 -2
  23. package/src/compile/build/client/buildSwitchNode.ts +3 -2
  24. package/src/compile/parse/parseCode.ts +5 -2
  25. package/src/compile/parse/parseTag.ts +4 -0
  26. package/src/render/addEvent.ts +4 -2
  27. package/src/render/runControl.ts +1 -1
  28. package/test/await/components/output/Await-client.ts +1 -1
  29. package/test/await/components/temp/{Await-client-8ad3f252c4550020753eea3c04cde0da435c6aae.ts → Await-client-1587441666890e0beae15f28451bcd04b90cc597.ts} +1 -1
  30. package/test/bind/components/output/BindComponent-client.ts +3 -1
  31. package/test/bind/components/output/BindText-client.ts +1 -1
  32. package/test/bind/components/temp/{BindComponent-client-9da323149e29bbb0d7eaf5a86ed541357f1219f8.ts → BindComponent-client-59dbb5565268702ed2935e7e8cc7609b0f956bdc.ts} +3 -1
  33. package/test/bind/components/temp/{BindText-client-eebe53ed8c48b5bbd046621efa6d9b5d3d753f6f.ts → BindText-client-c56c86c514eed2bcbe3f9c1bf23507a98d7d14b1.ts} +1 -1
  34. package/test/child-component/components/output/ChildComponent-client.ts +3 -1
  35. package/test/child-component/components/temp/{ChildComponent-client-6033ce1f59fe1ce3f3dfb3d7845807e7f047b18d.ts → ChildComponent-client-a0ac41e8516d1584b2318770b6a5fc791e07b53b.ts} +3 -1
  36. package/test/class/components/output/Class-client.ts +4 -2
  37. package/test/class/components/temp/{Class-client-a5e3f4dd7b0272d69b856f3ef4aa43b83bc2d849.ts → Class-client-d0f120c1171030cbe2862a26bc11965cacdd2b18.ts} +4 -2
  38. package/test/component/components/output/Component-client.ts +3 -1
  39. package/test/component/components/temp/{Component-client-ff200ee2a7a5f08d0473fddffa1f3ba5eb641d2a.ts → Component-client-475c9724b22ebc18149075860326ffd395c4caa0.ts} +3 -1
  40. package/test/effects/components/output/ForEffect-client.ts +3 -1
  41. package/test/effects/components/temp/{ForEffect-client-b1cff64d6b44a881a4bcf4b1a3dee3fa64c9ec7b.ts → ForEffect-client-841255d13e0691d88345d9ea89c5fb021ca4db02.ts} +3 -1
  42. package/test/events/components/output/Events-client.ts +2 -2
  43. package/test/events/components/temp/{Events-client-af611081aa6cb1567461367daf3068df86c6ff23.ts → Events-client-8708dd031fb42b980e47799e6f6c0de7a35ef7ae.ts} +2 -2
  44. package/test/for/components/output/For-client.ts +3 -1
  45. package/test/for/components/output/ForAfterFor-client.ts +6 -2
  46. package/test/for/components/output/ForContainingFor-client.ts +6 -2
  47. package/test/for/components/output/ForContainingFunction-client.ts +4 -2
  48. package/test/for/components/output/ForContainingIf-client.ts +3 -1
  49. package/test/for/components/output/ForEscape-client.ts +3 -1
  50. package/test/for/components/output/ForIn-client.ts +3 -1
  51. package/test/for/components/output/ForOf-client.ts +3 -1
  52. package/test/for/components/temp/{For-client-8fd92bf0c26cb8e97006a302104ebb2fdcd2e818.ts → For-client-69c16449ab9b63fd8ace8cb1364105a80e6e1c40.ts} +3 -1
  53. package/test/for/components/temp/{ForAfterFor-client-509955ddc13396ede05c9986a6dcc8bbebd00cf3.ts → ForAfterFor-client-b57ee13c70d8504456dbb5f75efd9defecab8cd1.ts} +6 -2
  54. package/test/for/components/temp/{ForContainingFor-client-4f600c73a6583c84d981a82fae42332f983f0b36.ts → ForContainingFor-client-bc5cc8b51b248bebc28fdba5e69d56af4148a66a.ts} +6 -2
  55. package/test/for/components/temp/{ForContainingFunction-client-9bacc4a7214f2385d98b358d29443363f8b9e78d.ts → ForContainingFunction-client-77ccaeea93b0a489c97113bd6bc522e62b7c914a.ts} +4 -2
  56. package/test/for/components/temp/{ForContainingIf-client-92b3c13b0fbe3d7900c05dd2e833d8e51d1bc66c.ts → ForContainingIf-client-da96adc2e61301142e0728b55665ef241c19f9a4.ts} +3 -1
  57. package/test/for/components/temp/{ForEscape-client-29cdd1ae0528a32f5737295287489e9bbd42889d.ts → ForEscape-client-f2b7590f8e93981bc0cd0c0845ad22df1dc050b6.ts} +3 -1
  58. package/test/for/components/temp/{ForIn-client-fffaa596adb40e4067931af81cc13fc971dd1813.ts → ForIn-client-8754824447479fba5ba3676b5c1dcb1e3591575f.ts} +3 -1
  59. package/test/for/components/temp/{ForOf-client-e6d0948fbd00bfbcbc7099f84331bc3d493abc28.ts → ForOf-client-852d13b24329f89bd864313bc376f73174b9965e.ts} +3 -1
  60. package/test/function/components/output/Function-client.ts +1 -1
  61. package/test/function/components/temp/{Function-client-8ae7f26bcaee6b57251659efc2abcdfd9c0d30e1.ts → Function-client-5173bdb6a5e2eb86060579eb23f70fec20e9b612.ts} +1 -1
  62. package/test/html/components/output/Html-client.ts +1 -1
  63. package/test/html/components/temp/{Html-client-14bf031fae1c40ea86913ca71aee00b947d88b4d.ts → Html-client-2e1b6cfd24f6114f3e9b0fb0adc0022841c2196b.ts} +1 -1
  64. package/test/if/components/output/IfContainingFor-client.ts +3 -1
  65. package/test/if/components/output/IfContainingFunction-client.ts +1 -1
  66. package/test/if/components/temp/{IfContainingFor-client-a1246616d908018a77caa27aca6f9fa63e325960.ts → IfContainingFor-client-dc70bb4ae31c2320b4e22f4f26d87d5650667713.ts} +3 -1
  67. package/test/if/components/temp/{IfContainingFunction-client-1d8f1ce12f4098b425be18149d9c58ea9c4e8de6.ts → IfContainingFunction-client-56c90b091921645a91d5398739cec4e6d56aa0ed.ts} +1 -1
  68. package/test/party/components/output/Conditional-client.ts +1 -1
  69. package/test/party/components/output/Context-client.ts +1 -1
  70. package/test/party/components/output/EmitToParent-client.ts +6 -3
  71. package/test/party/components/output/EventClick-client.ts +1 -1
  72. package/test/party/components/output/InputSelect-client.ts +5 -3
  73. package/test/party/components/output/Loop-client.ts +4 -1
  74. package/test/party/components/output/Props-client.ts +6 -1
  75. package/test/party/components/temp/{Conditional-client-ed1ba6a97d722503560ffbb3dece1d9af5fbadd2.ts → Conditional-client-96ff11fe28ab46048761ff885b8224635244cd38.ts} +1 -1
  76. package/test/party/components/temp/{Context-client-fd121c4a2766ee5b41caf79f485f5f11142e43e0.ts → Context-client-73383a2149cb9198a5dfebf1e891987d261f399f.ts} +1 -1
  77. package/test/party/components/temp/{EmitToParent-client-02c78412e4cacc27cbc857d68d5a064474ccc882.ts → EmitToParent-client-1292c44777f86076cd7c4060deb2016b9fb7e4cd.ts} +6 -3
  78. package/test/party/components/temp/{EventClick-client-4344b8012e6f6310b25c6b43d9f5991dc93037e8.ts → EventClick-client-932a2a4a797aca3cb6b869daa0ba314b46505a73.ts} +1 -1
  79. package/test/party/components/temp/{InputSelect-client-49f9978ab5f32d13ada9d1c3d7522cbafa4c3cc7.ts → InputSelect-client-fa6d6680ce239722a0c29b754a2adc26dd2b4ab0.ts} +5 -3
  80. package/test/party/components/temp/{Loop-client-d8be7f7caf99d17b048d915d2dbe1db97c44aecf.ts → Loop-client-79bc3b13d7f6a733694cb5f3ee4b91667ea5c5b5.ts} +4 -1
  81. package/test/party/components/temp/{Props-client-c126fe2030c202b8371f72d8395d0a210a0d67c2.ts → Props-client-7dbf4a9aecc5b1890492db1d30904341bfd0e9eb.ts} +6 -1
  82. package/test/props/components/output/Reactive-client.ts +4 -2
  83. package/test/props/components/temp/{Reactive-client-626575b72eeb6e7eafe7352f0acda1502b0c3d37.ts → Reactive-client-8601769debe846fc809ca960f0ca4b71762912db.ts} +4 -2
  84. package/test/slots/components/output/LetSlot-client.ts +6 -2
  85. package/test/slots/components/temp/{LetSlot-client-2cd77fd4f84810a55926f0265a9b780516982d5b.ts → LetSlot-client-328fd8a9fcfc6b68c0380f99d3f09ede33babc2f.ts} +6 -2
  86. package/test/special-component/components/output/SpecialComponent-client.ts +2 -1
  87. package/test/special-component/components/temp/{SpecialComponent-client-1955ef6a59b67e29ea076ed28758625922ff7d7b.ts → SpecialComponent-client-4a9face6c61d943cd94c995b174877f08a6af9f4.ts} +2 -1
  88. package/test/special-self/components/output/SpecialSelf-client.ts +3 -1
  89. package/test/special-self/components/temp/{SpecialSelf-client-126d3318d9aee9b2e6309c0ae5b91b2e56e9e647.ts → SpecialSelf-client-baf46bd8104e26f37e699a1a0918ea2d8f1a8e8a.ts} +3 -1
  90. package/test/watch-array/components/output/ArrayAllFunctions-client.ts +4 -1
  91. package/test/watch-array/components/output/ArrayAllFunctionsUnkeyed-client.ts +3 -1
  92. package/test/watch-array/components/output/ArrayEmpty-client.ts +4 -1
  93. package/test/watch-array/components/output/ArrayEntries-client.ts +4 -2
  94. package/test/watch-array/components/output/ArrayIndexes-client.ts +4 -1
  95. package/test/watch-array/components/output/ArrayPop-client.ts +4 -1
  96. package/test/watch-array/components/output/ArrayPush-client.ts +4 -1
  97. package/test/watch-array/components/output/ArrayReassign-client.ts +4 -1
  98. package/test/watch-array/components/output/ArrayReverse-client.ts +4 -1
  99. package/test/watch-array/components/output/ArraySetObject-client.ts +4 -1
  100. package/test/watch-array/components/output/ArraySetProperty-client.ts +4 -1
  101. package/test/watch-array/components/output/ArrayShift-client.ts +4 -1
  102. package/test/watch-array/components/output/ArraySort-client.ts +4 -1
  103. package/test/watch-array/components/output/ArraySpliceAdd-client.ts +4 -1
  104. package/test/watch-array/components/output/ArraySpliceDelete-client.ts +4 -1
  105. package/test/watch-array/components/output/ArraySpliceDeleteAll-client.ts +4 -1
  106. package/test/watch-array/components/output/ArraySpliceDeleteAndAdd-client.ts +4 -1
  107. package/test/watch-array/components/output/ArraySpliceDeleteEnd-client.ts +4 -1
  108. package/test/watch-array/components/output/ArraySwap-client.ts +4 -1
  109. package/test/watch-array/components/output/ArrayUnshift-client.ts +4 -1
  110. package/test/watch-array/components/output/ArrayUpdateAssignment-client.ts +4 -1
  111. package/test/watch-array/components/temp/{ArrayPop-client-bf2caf578a29ef32ca77f51ec2402c6034c219db.ts → ArrayAllFunctions-client-fcd44b588ebc667ff1e645ac95ea9ce6511dde04.ts} +4 -1
  112. package/test/watch-array/components/temp/{ArrayAllFunctionsUnkeyed-client-9d10d33225715295edde4c036977dfbc57e3fda9.ts → ArrayAllFunctionsUnkeyed-client-f60e58a2cf8361b50f0598aa021576b320716897.ts} +3 -1
  113. package/test/watch-array/components/temp/{ArrayAllFunctions-client-bf2caf578a29ef32ca77f51ec2402c6034c219db.ts → ArrayEmpty-client-fcd44b588ebc667ff1e645ac95ea9ce6511dde04.ts} +4 -1
  114. package/test/watch-array/components/temp/{ArrayEntries-client-ef539f1f3238595af775cdcdf0fe43608e9e9162.ts → ArrayEntries-client-2d9b2fcda6b7706ef82b8d4bb590f5fab77fdcdd.ts} +4 -2
  115. package/test/watch-array/components/temp/{ArrayIndexes-client-e57339b7f87549f78154ccbaaf1a9b35d5844a5e.ts → ArrayIndexes-client-b30b5caaf0f9a559730dce0ab966da6de84abbc9.ts} +4 -1
  116. package/test/watch-array/components/temp/{ArrayEmpty-client-bf2caf578a29ef32ca77f51ec2402c6034c219db.ts → ArrayPop-client-fcd44b588ebc667ff1e645ac95ea9ce6511dde04.ts} +4 -1
  117. package/test/watch-array/components/temp/{ArrayPush-client-bf2caf578a29ef32ca77f51ec2402c6034c219db.ts → ArrayPush-client-fcd44b588ebc667ff1e645ac95ea9ce6511dde04.ts} +4 -1
  118. package/test/watch-array/components/temp/ArrayReassign-client-fcd44b588ebc667ff1e645ac95ea9ce6511dde04.ts +83 -0
  119. package/test/watch-array/components/temp/ArrayReverse-client-fcd44b588ebc667ff1e645ac95ea9ce6511dde04.ts +83 -0
  120. package/test/watch-array/components/temp/ArraySetObject-client-fcd44b588ebc667ff1e645ac95ea9ce6511dde04.ts +83 -0
  121. package/test/watch-array/components/temp/ArraySetProperty-client-fcd44b588ebc667ff1e645ac95ea9ce6511dde04.ts +83 -0
  122. package/test/watch-array/components/temp/ArrayShift-client-fcd44b588ebc667ff1e645ac95ea9ce6511dde04.ts +83 -0
  123. package/test/watch-array/components/temp/ArraySort-client-fcd44b588ebc667ff1e645ac95ea9ce6511dde04.ts +83 -0
  124. package/test/watch-array/components/temp/ArraySpliceAdd-client-fcd44b588ebc667ff1e645ac95ea9ce6511dde04.ts +83 -0
  125. package/test/watch-array/components/temp/ArraySpliceDelete-client-fcd44b588ebc667ff1e645ac95ea9ce6511dde04.ts +83 -0
  126. package/test/watch-array/components/temp/ArraySpliceDeleteAll-client-fcd44b588ebc667ff1e645ac95ea9ce6511dde04.ts +83 -0
  127. package/test/watch-array/components/temp/ArraySpliceDeleteAndAdd-client-fcd44b588ebc667ff1e645ac95ea9ce6511dde04.ts +83 -0
  128. package/test/watch-array/components/temp/ArraySpliceDeleteEnd-client-fcd44b588ebc667ff1e645ac95ea9ce6511dde04.ts +83 -0
  129. package/test/watch-array/components/temp/ArraySwap-client-fcd44b588ebc667ff1e645ac95ea9ce6511dde04.ts +83 -0
  130. package/test/watch-array/components/temp/ArrayUnshift-client-fcd44b588ebc667ff1e645ac95ea9ce6511dde04.ts +83 -0
  131. package/test/watch-array/components/temp/ArrayUpdateAssignment-client-fcd44b588ebc667ff1e645ac95ea9ce6511dde04.ts +83 -0
  132. package/test/watch-array/components/temp/ArrayReassign-client-bf2caf578a29ef32ca77f51ec2402c6034c219db.ts +0 -80
  133. package/test/watch-array/components/temp/ArrayReverse-client-bf2caf578a29ef32ca77f51ec2402c6034c219db.ts +0 -80
  134. package/test/watch-array/components/temp/ArraySetObject-client-bf2caf578a29ef32ca77f51ec2402c6034c219db.ts +0 -80
  135. package/test/watch-array/components/temp/ArraySetProperty-client-bf2caf578a29ef32ca77f51ec2402c6034c219db.ts +0 -80
  136. package/test/watch-array/components/temp/ArrayShift-client-bf2caf578a29ef32ca77f51ec2402c6034c219db.ts +0 -80
  137. package/test/watch-array/components/temp/ArraySort-client-bf2caf578a29ef32ca77f51ec2402c6034c219db.ts +0 -80
  138. package/test/watch-array/components/temp/ArraySpliceAdd-client-bf2caf578a29ef32ca77f51ec2402c6034c219db.ts +0 -80
  139. package/test/watch-array/components/temp/ArraySpliceDelete-client-bf2caf578a29ef32ca77f51ec2402c6034c219db.ts +0 -80
  140. package/test/watch-array/components/temp/ArraySpliceDeleteAll-client-bf2caf578a29ef32ca77f51ec2402c6034c219db.ts +0 -80
  141. package/test/watch-array/components/temp/ArraySpliceDeleteAndAdd-client-bf2caf578a29ef32ca77f51ec2402c6034c219db.ts +0 -80
  142. package/test/watch-array/components/temp/ArraySpliceDeleteEnd-client-bf2caf578a29ef32ca77f51ec2402c6034c219db.ts +0 -80
  143. package/test/watch-array/components/temp/ArraySwap-client-bf2caf578a29ef32ca77f51ec2402c6034c219db.ts +0 -80
  144. package/test/watch-array/components/temp/ArrayUnshift-client-bf2caf578a29ef32ca77f51ec2402c6034c219db.ts +0 -80
  145. package/test/watch-array/components/temp/ArrayUpdateAssignment-client-bf2caf578a29ef32ca77f51ec2402c6034c219db.ts +0 -80
@@ -46,7 +46,9 @@ export default function For(
46
46
  let t_previous_item_1 = t_for_region_1;
47
47
  let t_next_item_1 = t_for_region_1.nextRegion;
48
48
  for (let i = 0; i < 5; i++) {
49
- let t_new_item_1 = t_list_item({ i }, undefined);
49
+ let t_new_item_1 = t_list_item(
50
+ { i },
51
+ );
50
52
  t_new_item_1.previousRegion = t_previous_item_1;
51
53
  t_previous_item_1.nextRegion = t_new_item_1;
52
54
  t_previous_item_1 = t_new_item_1;
@@ -46,7 +46,9 @@ export default function ForAfterFor(
46
46
  let t_previous_item_1 = t_for_region_1;
47
47
  let t_next_item_1 = t_for_region_1.nextRegion;
48
48
  for (let i = 0; i < 5; i++) {
49
- let t_new_item_1 = t_list_item({ i }, undefined);
49
+ let t_new_item_1 = t_list_item(
50
+ { i },
51
+ );
50
52
  t_new_item_1.previousRegion = t_previous_item_1;
51
53
  t_previous_item_1.nextRegion = t_new_item_1;
52
54
  t_previous_item_1 = t_new_item_1;
@@ -87,7 +89,9 @@ export default function ForAfterFor(
87
89
  let t_previous_item_2 = t_for_region_2;
88
90
  let t_next_item_2 = t_for_region_2.nextRegion;
89
91
  for (let i = 10; i > 5; i--) {
90
- let t_new_item_2 = t_list_item({ i }, undefined);
92
+ let t_new_item_2 = t_list_item(
93
+ { i },
94
+ );
91
95
  t_new_item_2.previousRegion = t_previous_item_2;
92
96
  t_previous_item_2.nextRegion = t_new_item_2;
93
97
  t_previous_item_2 = t_new_item_2;
@@ -46,7 +46,9 @@ export default function ForContainingFor(
46
46
  let t_previous_item_1 = t_for_region_1;
47
47
  let t_next_item_1 = t_for_region_1.nextRegion;
48
48
  for (let i = 0; i < 5; i++) {
49
- let t_new_item_1 = t_list_item({ i }, undefined);
49
+ let t_new_item_1 = t_list_item(
50
+ { i },
51
+ );
50
52
  t_new_item_1.previousRegion = t_previous_item_1;
51
53
  t_previous_item_1.nextRegion = t_new_item_1;
52
54
  t_previous_item_1 = t_new_item_1;
@@ -72,7 +74,9 @@ export default function ForContainingFor(
72
74
  let t_previous_item_2 = t_for_region_2;
73
75
  let t_next_item_2 = t_for_region_2.nextRegion;
74
76
  for (let j = 0; j < 2; j++) {
75
- let t_new_item_2 = t_list_item({ j }, undefined);
77
+ let t_new_item_2 = t_list_item(
78
+ { j },
79
+ );
76
80
  t_new_item_2.previousRegion = t_previous_item_2;
77
81
  t_previous_item_2.nextRegion = t_new_item_2;
78
82
  t_previous_item_2 = t_new_item_2;
@@ -47,7 +47,9 @@ export default function ForContainingIf(
47
47
  let t_previous_item_1 = t_for_region_1;
48
48
  let t_next_item_1 = t_for_region_1.nextRegion;
49
49
  for (let i = 0; i < 5; i++) {
50
- let t_new_item_1 = t_list_item({ i }, undefined);
50
+ let t_new_item_1 = t_list_item(
51
+ { i },
52
+ );
51
53
  t_new_item_1.previousRegion = t_previous_item_1;
52
54
  t_previous_item_1.nextRegion = t_new_item_1;
53
55
  t_previous_item_1 = t_new_item_1;
@@ -60,7 +62,7 @@ export default function ForContainingIf(
60
62
  let t_old_region_1 = t_push_region(t_item_1);
61
63
  const t_fragment_1 = t_fragment($parent.ownerDocument!, t_fragments, 1, ` <button>#</button> `);
62
64
  const t_root_1 = t_root(t_fragment_1, true);
63
- const t_button_1 = t_next(t_root_1) as HTMLElement;
65
+ const t_button_1 = t_next(t_root_1) as HTMLButtonElement;
64
66
  const t_text_1 = t_child(t_button_1);
65
67
  t_event(t_button_1, "click", doit);
66
68
 
@@ -49,7 +49,9 @@ export default function ForContainingIf(
49
49
  let t_previous_item_1 = t_for_region_1;
50
50
  let t_next_item_1 = t_for_region_1.nextRegion;
51
51
  for (let i = 0; i < 5; i++) {
52
- let t_new_item_1 = t_list_item({ i }, undefined);
52
+ let t_new_item_1 = t_list_item(
53
+ { i },
54
+ );
53
55
  t_new_item_1.previousRegion = t_previous_item_1;
54
56
  t_previous_item_1.nextRegion = t_new_item_1;
55
57
  t_previous_item_1 = t_new_item_1;
@@ -50,7 +50,9 @@ export default function ForEscape(
50
50
  let t_previous_item_1 = t_for_region_1;
51
51
  let t_next_item_1 = t_for_region_1.nextRegion;
52
52
  for (let i = 0; i < 5; i++) {
53
- let t_new_item_1 = t_list_item({ i }, undefined);
53
+ let t_new_item_1 = t_list_item(
54
+ { i },
55
+ );
54
56
  t_new_item_1.previousRegion = t_previous_item_1;
55
57
  t_previous_item_1.nextRegion = t_new_item_1;
56
58
  t_previous_item_1 = t_new_item_1;
@@ -45,7 +45,9 @@ export default function ForIn(
45
45
  let t_previous_item_1 = t_for_region_1;
46
46
  let t_next_item_1 = t_for_region_1.nextRegion;
47
47
  for (let key in $props.item) {
48
- let t_new_item_1 = t_list_item({ key }, undefined);
48
+ let t_new_item_1 = t_list_item(
49
+ { key },
50
+ );
49
51
  t_new_item_1.previousRegion = t_previous_item_1;
50
52
  t_previous_item_1.nextRegion = t_new_item_1;
51
53
  t_previous_item_1 = t_new_item_1;
@@ -45,7 +45,9 @@ export default function ForOf(
45
45
  let t_previous_item_1 = t_for_region_1;
46
46
  let t_next_item_1 = t_for_region_1.nextRegion;
47
47
  for (let item of $props.items) {
48
- let t_new_item_1 = t_list_item({ item }, undefined);
48
+ let t_new_item_1 = t_list_item(
49
+ { item },
50
+ );
49
51
  t_new_item_1.previousRegion = t_previous_item_1;
50
52
  t_previous_item_1.nextRegion = t_new_item_1;
51
53
  t_previous_item_1 = t_new_item_1;
@@ -29,7 +29,7 @@ export default function Function(
29
29
 
30
30
  const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <button id=increment>Increment</button> <p>#</p> `);
31
31
  const t_root_0 = t_root(t_fragment_0, true);
32
- const t_button_1 = t_next(t_root_0) as HTMLElement;
32
+ const t_button_1 = t_next(t_root_0) as HTMLButtonElement;
33
33
  const t_text_1 = t_child(t_next(t_next(t_button_1, true)));
34
34
  const t_text_2 = t_next(t_next(t_next(t_button_1, true)), true);
35
35
  t_event(t_button_1, "click", increment);
@@ -29,7 +29,7 @@ export default function Function(
29
29
 
30
30
  const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <button id=increment>Increment</button> <p>#</p> `);
31
31
  const t_root_0 = t_root(t_fragment_0, true);
32
- const t_button_1 = t_next(t_root_0) as HTMLElement;
32
+ const t_button_1 = t_next(t_root_0) as HTMLButtonElement;
33
33
  const t_text_1 = t_child(t_next(t_next(t_button_1, true)));
34
34
  const t_text_2 = t_next(t_next(t_next(t_button_1, true)), true);
35
35
  t_event(t_button_1, "click", increment);
@@ -34,7 +34,7 @@ export default function Html(
34
34
  t_run_control(t_html_region_1, t_html_anchor_1, (t_before) => {
35
35
  $props.html;
36
36
  t_run_branch(t_html_region_1, () => {
37
- const t_template_1 = document.createElement("template");
37
+ let t_template_1 = document.createElement("template");
38
38
  t_template_1.innerHTML = $props.html;
39
39
  let t_fragment_1 = t_template_1.content.cloneNode(true) as DocumentFragment;
40
40
  t_add_fragment(t_fragment_1, t_html_parent_1, t_before);
@@ -34,7 +34,7 @@ export default function Html(
34
34
  t_run_control(t_html_region_1, t_html_anchor_1, (t_before) => {
35
35
  $props.html;
36
36
  t_run_branch(t_html_region_1, () => {
37
- const t_template_1 = document.createElement("template");
37
+ let t_template_1 = document.createElement("template");
38
38
  t_template_1.innerHTML = $props.html;
39
39
  let t_fragment_1 = t_template_1.content.cloneNode(true) as DocumentFragment;
40
40
  t_add_fragment(t_fragment_1, t_html_parent_1, t_before);
@@ -58,7 +58,9 @@ export default function IfContainingIf(
58
58
  let t_previous_item_1 = t_for_region_1;
59
59
  let t_next_item_1 = t_for_region_1.nextRegion;
60
60
  for (let i = 0; i < $props.counter; i++) {
61
- let t_new_item_1 = t_list_item({ i }, undefined);
61
+ let t_new_item_1 = t_list_item(
62
+ { i },
63
+ );
62
64
  t_new_item_1.previousRegion = t_previous_item_1;
63
65
  t_previous_item_1.nextRegion = t_new_item_1;
64
66
  t_previous_item_1 = t_new_item_1;
@@ -39,7 +39,7 @@ export default function IfContainingIf(
39
39
  t_if_creators_1[0] = (t_before) => {
40
40
  const t_fragment_1 = t_fragment($parent.ownerDocument!, t_fragments, 1, ` <button>do it</button> `);
41
41
  const t_root_1 = t_root(t_fragment_1, true);
42
- const t_button_1 = t_next(t_root_1) as HTMLElement;
42
+ const t_button_1 = t_next(t_root_1) as HTMLButtonElement;
43
43
  t_event(t_button_1, "click", doit);
44
44
 
45
45
  /* @function */
@@ -58,7 +58,9 @@ export default function IfContainingIf(
58
58
  let t_previous_item_1 = t_for_region_1;
59
59
  let t_next_item_1 = t_for_region_1.nextRegion;
60
60
  for (let i = 0; i < $props.counter; i++) {
61
- let t_new_item_1 = t_list_item({ i }, undefined);
61
+ let t_new_item_1 = t_list_item(
62
+ { i },
63
+ );
62
64
  t_new_item_1.previousRegion = t_previous_item_1;
63
65
  t_previous_item_1.nextRegion = t_new_item_1;
64
66
  t_previous_item_1 = t_new_item_1;
@@ -39,7 +39,7 @@ export default function IfContainingIf(
39
39
  t_if_creators_1[0] = (t_before) => {
40
40
  const t_fragment_1 = t_fragment($parent.ownerDocument!, t_fragments, 1, ` <button>do it</button> `);
41
41
  const t_root_1 = t_root(t_fragment_1, true);
42
- const t_button_1 = t_next(t_root_1) as HTMLElement;
42
+ const t_button_1 = t_next(t_root_1) as HTMLButtonElement;
43
43
  t_event(t_button_1, "click", doit);
44
44
 
45
45
  /* @function */
@@ -43,7 +43,7 @@ export default function TrafficLight(
43
43
 
44
44
  const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <button>Next light</button> <p>#</p> <p> You must <!> </p> `);
45
45
  const t_root_0 = t_root(t_fragment_0, true);
46
- const t_button_1 = t_next(t_root_0) as HTMLElement;
46
+ const t_button_1 = t_next(t_root_0) as HTMLButtonElement;
47
47
  const t_text_1 = t_child(t_next(t_next(t_button_1, true)));
48
48
  const t_if_parent_1 = t_next(t_next(t_next(t_next(t_button_1, true)), true)) as HTMLElement;
49
49
  let t_if_anchor_1 = t_anchor(t_next(t_child(t_next(t_next(t_next(t_next(t_button_1, true)), true))))) as HTMLElement;
@@ -74,7 +74,7 @@ function UserProfileContext(
74
74
  const t_root_0 = t_root(t_fragment_0, true);
75
75
  const t_text_1 = t_child(t_next(t_next(t_next(t_root_0), true)));
76
76
  const t_text_2 = t_child(t_next(t_next(t_next(t_next(t_next(t_root_0), true)), true)));
77
- const t_button_1 = t_next(t_next(t_next(t_next(t_next(t_next(t_next(t_root_0), true)), true)), true)) as HTMLElement;
77
+ const t_button_1 = t_next(t_next(t_next(t_next(t_next(t_next(t_next(t_root_0), true)), true)), true)) as HTMLButtonElement;
78
78
  const t_text_3 = t_next(t_button_1, true);
79
79
  t_event(t_button_1, "click", () => ($context.user.username = "Jane"));
80
80
  $run(() => {
@@ -43,7 +43,10 @@ export default function AnswerButtonApp(
43
43
  let t_comp_anchor_1 = t_anchor(t_next(t_next(t_next(t_root_0), true))) as HTMLElement;
44
44
 
45
45
  /* @component */
46
- const t_props_1 = $watch({ onYes: onAnswerYes, onNo: onAnswerNo });
46
+ const t_props_1 = $watch({
47
+ onYes: onAnswerYes,
48
+ onNo: onAnswerNo,
49
+ });
47
50
  $run(() => {
48
51
  t_props_1["onYes"] = onAnswerYes;
49
52
  t_props_1["onNo"] = onAnswerNo;
@@ -77,8 +80,8 @@ function AnswerButton(
77
80
 
78
81
  const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <button>YES</button> <button>NO</button> `);
79
82
  const t_root_0 = t_root(t_fragment_0, true);
80
- const t_button_1 = t_next(t_root_0) as HTMLElement;
81
- const t_button_2 = t_next(t_next(t_button_1, true)) as HTMLElement;
83
+ const t_button_1 = t_next(t_root_0) as HTMLButtonElement;
84
+ const t_button_2 = t_next(t_next(t_button_1, true)) as HTMLButtonElement;
82
85
  const t_text_1 = t_next(t_button_2, true);
83
86
  t_event(t_button_1, "click", $props.onYes);
84
87
  t_event(t_button_2, "click", $props.onNo);
@@ -36,7 +36,7 @@ export default function Counter(
36
36
  const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <p>#</p> <button>+1</button> `);
37
37
  const t_root_0 = t_root(t_fragment_0, true);
38
38
  const t_text_1 = t_child(t_next(t_root_0));
39
- const t_button_1 = t_next(t_next(t_next(t_root_0), true)) as HTMLElement;
39
+ const t_button_1 = t_next(t_next(t_next(t_root_0), true)) as HTMLButtonElement;
40
40
  const t_text_2 = t_next(t_button_1, true);
41
41
  t_event(t_button_1, "click", incrementCount);
42
42
  $run(() => {
@@ -47,7 +47,7 @@ export default function ColorSelect(
47
47
  const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <div>#</div> <select> <!> </select> `);
48
48
  const t_root_0 = t_root(t_fragment_0, true);
49
49
  const t_text_1 = t_child(t_next(t_root_0));
50
- const t_select_1 = t_next(t_next(t_next(t_root_0), true)) as HTMLElement;
50
+ const t_select_1 = t_next(t_next(t_next(t_root_0), true)) as HTMLSelectElement;
51
51
  let t_for_anchor_1 = t_anchor(t_next(t_child(t_select_1))) as HTMLElement;
52
52
 
53
53
  /* @for */
@@ -61,7 +61,9 @@ export default function ColorSelect(
61
61
  let t_previous_item_1 = t_for_region_1;
62
62
  let t_next_item_1 = t_for_region_1.nextRegion;
63
63
  for (let color of colors) {
64
- let t_new_item_1 = t_list_item({ color }, undefined);
64
+ let t_new_item_1 = t_list_item(
65
+ { color },
66
+ );
65
67
  t_new_item_1.previousRegion = t_previous_item_1;
66
68
  t_previous_item_1.nextRegion = t_new_item_1;
67
69
  t_previous_item_1 = t_new_item_1;
@@ -74,7 +76,7 @@ export default function ColorSelect(
74
76
  let t_old_region_1 = t_push_region(t_item_1);
75
77
  const t_fragment_1 = t_fragment($parent.ownerDocument!, t_fragments, 1, ` <option>#</option> `);
76
78
  const t_root_1 = t_root(t_fragment_1, true);
77
- const t_option_1 = t_next(t_root_1) as HTMLElement;
79
+ const t_option_1 = t_next(t_root_1) as HTMLOptionElement;
78
80
  const t_text_2 = t_child(t_option_1);
79
81
  const t_text_3 = t_next(t_option_1, true);
80
82
  $run(() => {
@@ -48,7 +48,10 @@ export default function Colors(
48
48
  let t_previous_item_1 = t_for_region_1;
49
49
  let t_next_item_1 = t_for_region_1.nextRegion;
50
50
  for (let color of colors) {
51
- let t_new_item_1 = t_list_item({ color }, color);
51
+ let t_new_item_1 = t_list_item(
52
+ { color },
53
+ color,
54
+ );
52
55
  t_new_item_1.previousRegion = t_previous_item_1;
53
56
  t_previous_item_1.nextRegion = t_new_item_1;
54
57
  t_previous_item_1 = t_new_item_1;
@@ -30,7 +30,12 @@ export default function UserProfileApp(
30
30
  let t_comp_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
31
31
 
32
32
  /* @component */
33
- const t_props_1 = $watch({ name: "John", age: 20, favoriteColors: ["green", "blue", "red"], isAvailable: true });
33
+ const t_props_1 = $watch({
34
+ name: "John",
35
+ age: 20,
36
+ favoriteColors: ["green", "blue", "red"],
37
+ isAvailable: true,
38
+ });
34
39
  $run(() => {
35
40
  t_props_1["age"] = 20;
36
41
  t_props_1["favoriteColors"] = ["green", "blue", "red"];
@@ -43,7 +43,7 @@ export default function TrafficLight(
43
43
 
44
44
  const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <button>Next light</button> <p>#</p> <p> You must <!> </p> `);
45
45
  const t_root_0 = t_root(t_fragment_0, true);
46
- const t_button_1 = t_next(t_root_0) as HTMLElement;
46
+ const t_button_1 = t_next(t_root_0) as HTMLButtonElement;
47
47
  const t_text_1 = t_child(t_next(t_next(t_button_1, true)));
48
48
  const t_if_parent_1 = t_next(t_next(t_next(t_next(t_button_1, true)), true)) as HTMLElement;
49
49
  let t_if_anchor_1 = t_anchor(t_next(t_child(t_next(t_next(t_next(t_next(t_button_1, true)), true))))) as HTMLElement;
@@ -74,7 +74,7 @@ function UserProfileContext(
74
74
  const t_root_0 = t_root(t_fragment_0, true);
75
75
  const t_text_1 = t_child(t_next(t_next(t_next(t_root_0), true)));
76
76
  const t_text_2 = t_child(t_next(t_next(t_next(t_next(t_next(t_root_0), true)), true)));
77
- const t_button_1 = t_next(t_next(t_next(t_next(t_next(t_next(t_next(t_root_0), true)), true)), true)) as HTMLElement;
77
+ const t_button_1 = t_next(t_next(t_next(t_next(t_next(t_next(t_next(t_root_0), true)), true)), true)) as HTMLButtonElement;
78
78
  const t_text_3 = t_next(t_button_1, true);
79
79
  t_event(t_button_1, "click", () => ($context.user.username = "Jane"));
80
80
  $run(() => {
@@ -43,7 +43,10 @@ export default function AnswerButtonApp(
43
43
  let t_comp_anchor_1 = t_anchor(t_next(t_next(t_next(t_root_0), true))) as HTMLElement;
44
44
 
45
45
  /* @component */
46
- const t_props_1 = $watch({ onYes: onAnswerYes, onNo: onAnswerNo });
46
+ const t_props_1 = $watch({
47
+ onYes: onAnswerYes,
48
+ onNo: onAnswerNo,
49
+ });
47
50
  $run(() => {
48
51
  t_props_1["onYes"] = onAnswerYes;
49
52
  t_props_1["onNo"] = onAnswerNo;
@@ -77,8 +80,8 @@ function AnswerButton(
77
80
 
78
81
  const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <button>YES</button> <button>NO</button> `);
79
82
  const t_root_0 = t_root(t_fragment_0, true);
80
- const t_button_1 = t_next(t_root_0) as HTMLElement;
81
- const t_button_2 = t_next(t_next(t_button_1, true)) as HTMLElement;
83
+ const t_button_1 = t_next(t_root_0) as HTMLButtonElement;
84
+ const t_button_2 = t_next(t_next(t_button_1, true)) as HTMLButtonElement;
82
85
  const t_text_1 = t_next(t_button_2, true);
83
86
  t_event(t_button_1, "click", $props.onYes);
84
87
  t_event(t_button_2, "click", $props.onNo);
@@ -36,7 +36,7 @@ export default function Counter(
36
36
  const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <p>#</p> <button>+1</button> `);
37
37
  const t_root_0 = t_root(t_fragment_0, true);
38
38
  const t_text_1 = t_child(t_next(t_root_0));
39
- const t_button_1 = t_next(t_next(t_next(t_root_0), true)) as HTMLElement;
39
+ const t_button_1 = t_next(t_next(t_next(t_root_0), true)) as HTMLButtonElement;
40
40
  const t_text_2 = t_next(t_button_1, true);
41
41
  t_event(t_button_1, "click", incrementCount);
42
42
  $run(() => {
@@ -47,7 +47,7 @@ export default function ColorSelect(
47
47
  const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <div>#</div> <select> <!> </select> `);
48
48
  const t_root_0 = t_root(t_fragment_0, true);
49
49
  const t_text_1 = t_child(t_next(t_root_0));
50
- const t_select_1 = t_next(t_next(t_next(t_root_0), true)) as HTMLElement;
50
+ const t_select_1 = t_next(t_next(t_next(t_root_0), true)) as HTMLSelectElement;
51
51
  let t_for_anchor_1 = t_anchor(t_next(t_child(t_select_1))) as HTMLElement;
52
52
 
53
53
  /* @for */
@@ -61,7 +61,9 @@ export default function ColorSelect(
61
61
  let t_previous_item_1 = t_for_region_1;
62
62
  let t_next_item_1 = t_for_region_1.nextRegion;
63
63
  for (let color of colors) {
64
- let t_new_item_1 = t_list_item({ color }, undefined);
64
+ let t_new_item_1 = t_list_item(
65
+ { color },
66
+ );
65
67
  t_new_item_1.previousRegion = t_previous_item_1;
66
68
  t_previous_item_1.nextRegion = t_new_item_1;
67
69
  t_previous_item_1 = t_new_item_1;
@@ -74,7 +76,7 @@ export default function ColorSelect(
74
76
  let t_old_region_1 = t_push_region(t_item_1);
75
77
  const t_fragment_1 = t_fragment($parent.ownerDocument!, t_fragments, 1, ` <option>#</option> `);
76
78
  const t_root_1 = t_root(t_fragment_1, true);
77
- const t_option_1 = t_next(t_root_1) as HTMLElement;
79
+ const t_option_1 = t_next(t_root_1) as HTMLOptionElement;
78
80
  const t_text_2 = t_child(t_option_1);
79
81
  const t_text_3 = t_next(t_option_1, true);
80
82
  $run(() => {
@@ -48,7 +48,10 @@ export default function Colors(
48
48
  let t_previous_item_1 = t_for_region_1;
49
49
  let t_next_item_1 = t_for_region_1.nextRegion;
50
50
  for (let color of colors) {
51
- let t_new_item_1 = t_list_item({ color }, color);
51
+ let t_new_item_1 = t_list_item(
52
+ { color },
53
+ color,
54
+ );
52
55
  t_new_item_1.previousRegion = t_previous_item_1;
53
56
  t_previous_item_1.nextRegion = t_new_item_1;
54
57
  t_previous_item_1 = t_new_item_1;
@@ -30,7 +30,12 @@ export default function UserProfileApp(
30
30
  let t_comp_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
31
31
 
32
32
  /* @component */
33
- const t_props_1 = $watch({ name: "John", age: 20, favoriteColors: ["green", "blue", "red"], isAvailable: true });
33
+ const t_props_1 = $watch({
34
+ name: "John",
35
+ age: 20,
36
+ favoriteColors: ["green", "blue", "red"],
37
+ isAvailable: true,
38
+ });
34
39
  $run(() => {
35
40
  t_props_1["age"] = 20;
36
41
  t_props_1["favoriteColors"] = ["green", "blue", "red"];
@@ -29,11 +29,13 @@ export default function Reactive(
29
29
 
30
30
  const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <button>Update text</button> <!> `);
31
31
  const t_root_0 = t_root(t_fragment_0, true);
32
- const t_button_1 = t_next(t_root_0) as HTMLElement;
32
+ const t_button_1 = t_next(t_root_0) as HTMLButtonElement;
33
33
  let t_comp_anchor_1 = t_anchor(t_next(t_next(t_button_1, true))) as HTMLElement;
34
34
 
35
35
  /* @component */
36
- const t_props_1 = $watch({ text: $state.text });
36
+ const t_props_1 = $watch({
37
+ text: $state.text,
38
+ });
37
39
  $run(() => {
38
40
  t_props_1["text"] = $state.text;
39
41
  });
@@ -29,11 +29,13 @@ export default function Reactive(
29
29
 
30
30
  const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <button>Update text</button> <!> `);
31
31
  const t_root_0 = t_root(t_fragment_0, true);
32
- const t_button_1 = t_next(t_root_0) as HTMLElement;
32
+ const t_button_1 = t_next(t_root_0) as HTMLButtonElement;
33
33
  let t_comp_anchor_1 = t_anchor(t_next(t_next(t_button_1, true))) as HTMLElement;
34
34
 
35
35
  /* @component */
36
- const t_props_1 = $watch({ text: $state.text });
36
+ const t_props_1 = $watch({
37
+ text: $state.text,
38
+ });
37
39
  $run(() => {
38
40
  t_props_1["text"] = $state.text;
39
41
  });
@@ -35,7 +35,9 @@ export default function Let(
35
35
  let t_comp_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
36
36
 
37
37
  /* @component */
38
- const t_props_1 = $watch({ items: $props.items });
38
+ const t_props_1 = $watch({
39
+ items: $props.items,
40
+ });
39
41
  $run(() => {
40
42
  t_props_1["items"] = $props.items;
41
43
  });
@@ -93,7 +95,9 @@ function List(
93
95
  let t_previous_item_1 = t_for_region_1;
94
96
  let t_next_item_1 = t_for_region_1.nextRegion;
95
97
  for (let item of $props.items) {
96
- let t_new_item_1 = t_list_item({ item }, undefined);
98
+ let t_new_item_1 = t_list_item(
99
+ { item },
100
+ );
97
101
  t_new_item_1.previousRegion = t_previous_item_1;
98
102
  t_previous_item_1.nextRegion = t_new_item_1;
99
103
  t_previous_item_1 = t_new_item_1;
@@ -35,7 +35,9 @@ export default function Let(
35
35
  let t_comp_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
36
36
 
37
37
  /* @component */
38
- const t_props_1 = $watch({ items: $props.items });
38
+ const t_props_1 = $watch({
39
+ items: $props.items,
40
+ });
39
41
  $run(() => {
40
42
  t_props_1["items"] = $props.items;
41
43
  });
@@ -93,7 +95,9 @@ function List(
93
95
  let t_previous_item_1 = t_for_region_1;
94
96
  let t_next_item_1 = t_for_region_1.nextRegion;
95
97
  for (let item of $props.items) {
96
- let t_new_item_1 = t_list_item({ item }, undefined);
98
+ let t_new_item_1 = t_list_item(
99
+ { item },
100
+ );
97
101
  t_new_item_1.previousRegion = t_previous_item_1;
98
102
  t_previous_item_1.nextRegion = t_new_item_1;
99
103
  t_previous_item_1 = t_new_item_1;
@@ -44,7 +44,8 @@ export default function Component(
44
44
  let t_comp_anchor_1 = t_anchor(t_root_1) as HTMLElement;
45
45
 
46
46
  /* @component */
47
- const t_props_1 = $watch({ });
47
+ const t_props_1 = $watch({
48
+ });
48
49
  const t_slots_1: Record<string, SlotRender> = {};
49
50
  t_slots_1["_"] = (
50
51
  $sparent: ParentNode,
@@ -44,7 +44,8 @@ export default function Component(
44
44
  let t_comp_anchor_1 = t_anchor(t_root_1) as HTMLElement;
45
45
 
46
46
  /* @component */
47
- const t_props_1 = $watch({ });
47
+ const t_props_1 = $watch({
48
+ });
48
49
  const t_slots_1: Record<string, SlotRender> = {};
49
50
  t_slots_1["_"] = (
50
51
  $sparent: ParentNode,
@@ -44,7 +44,9 @@ export default function Self(
44
44
  let t_comp_anchor_1 = t_anchor(t_next(t_root_1)) as HTMLElement;
45
45
 
46
46
  /* @component */
47
- const t_props_1 = $watch({ level: $props.level + 1 });
47
+ const t_props_1 = $watch({
48
+ level: $props.level + 1,
49
+ });
48
50
  $run(() => {
49
51
  t_props_1["level"] = $props.level + 1;
50
52
  });
@@ -44,7 +44,9 @@ export default function Self(
44
44
  let t_comp_anchor_1 = t_anchor(t_next(t_root_1)) as HTMLElement;
45
45
 
46
46
  /* @component */
47
- const t_props_1 = $watch({ level: $props.level + 1 });
47
+ const t_props_1 = $watch({
48
+ level: $props.level + 1,
49
+ });
48
50
  $run(() => {
49
51
  t_props_1["level"] = $props.level + 1;
50
52
  });
@@ -45,7 +45,10 @@ export default function Array(
45
45
  let t_previous_item_1 = t_for_region_1;
46
46
  let t_next_item_1 = t_for_region_1.nextRegion;
47
47
  for (let item of $props.items) {
48
- let t_new_item_1 = t_list_item({ item }, item.id);
48
+ let t_new_item_1 = t_list_item(
49
+ { item },
50
+ item.id,
51
+ );
49
52
  t_new_item_1.previousRegion = t_previous_item_1;
50
53
  t_previous_item_1.nextRegion = t_new_item_1;
51
54
  t_previous_item_1 = t_new_item_1;
@@ -45,7 +45,9 @@ export default function ArrayUnkeyed(
45
45
  let t_previous_item_1 = t_for_region_1;
46
46
  let t_next_item_1 = t_for_region_1.nextRegion;
47
47
  for (let item of $props.items) {
48
- let t_new_item_1 = t_list_item({ item }, undefined);
48
+ let t_new_item_1 = t_list_item(
49
+ { item },
50
+ );
49
51
  t_new_item_1.previousRegion = t_previous_item_1;
50
52
  t_previous_item_1.nextRegion = t_new_item_1;
51
53
  t_previous_item_1 = t_new_item_1;
@@ -45,7 +45,10 @@ export default function Array(
45
45
  let t_previous_item_1 = t_for_region_1;
46
46
  let t_next_item_1 = t_for_region_1.nextRegion;
47
47
  for (let item of $props.items) {
48
- let t_new_item_1 = t_list_item({ item }, item.id);
48
+ let t_new_item_1 = t_list_item(
49
+ { item },
50
+ item.id,
51
+ );
49
52
  t_new_item_1.previousRegion = t_previous_item_1;
50
53
  t_previous_item_1.nextRegion = t_new_item_1;
51
54
  t_previous_item_1 = t_new_item_1;
@@ -45,8 +45,10 @@ export default function ArrayEntries(
45
45
  let t_previous_item_1 = t_for_region_1;
46
46
  let t_next_item_1 = t_for_region_1.nextRegion;
47
47
  for (let [i, item] of $props.items.entries()) {
48
- let t_new_item_1 = t_list_item({ i,
49
- item }, item.id);
48
+ let t_new_item_1 = t_list_item(
49
+ { i, item },
50
+ item.id,
51
+ );
50
52
  t_new_item_1.previousRegion = t_previous_item_1;
51
53
  t_previous_item_1.nextRegion = t_new_item_1;
52
54
  t_previous_item_1 = t_new_item_1;
@@ -45,7 +45,10 @@ export default function ArrayIndexes(
45
45
  let t_previous_item_1 = t_for_region_1;
46
46
  let t_next_item_1 = t_for_region_1.nextRegion;
47
47
  for (let i = 0; i < $props.items.length; i++) {
48
- let t_new_item_1 = t_list_item({ i }, $props.items[i].id);
48
+ let t_new_item_1 = t_list_item(
49
+ { i },
50
+ $props.items[i].id,
51
+ );
49
52
  t_new_item_1.previousRegion = t_previous_item_1;
50
53
  t_previous_item_1.nextRegion = t_new_item_1;
51
54
  t_previous_item_1 = t_new_item_1;