@torpor/view 0.1.6 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/compile.cjs +4 -8
- package/dist/compile.cjs.map +1 -1
- package/dist/compile.js +4 -8
- package/dist/compile.js.map +1 -1
- package/dist/index.cjs +1 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -4
- package/dist/index.js.map +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/package.json +1 -1
- package/src/compile/build/client/buildFragment.ts +2 -8
- package/src/compile/build/server/buildServerComponentNode.ts +12 -1
- package/src/render/nodeAnchor.ts +1 -11
- package/test/await/components/output/Await-client.ts +2 -2
- package/test/await/components/temp/{Await-client-5d753441145fbac078393af24cccadb208453d69.ts → Await-client-9c30564ea39457e614e60c0cc0a71c431e8a1e76.ts} +2 -2
- package/test/bind/components/output/BindComponent-client.ts +2 -2
- package/test/bind/components/output/BindComponent-server.ts +2 -2
- package/test/bind/components/temp/{BindComponent-client-aaeb489ce72b664c6372f8764f7e665994a751a7.ts → BindComponent-client-6f650efb818a185ef33e1b071cfd77415a803dd3.ts} +2 -2
- package/test/bind/components/temp/{BindComponent-server-c630dee0bee6cea49d5eb8bea04979a737bb8f5e.ts → BindComponent-server-2e6caf0cbbb2831eb4bfbd7dcd6cf4d5c422d047.ts} +2 -2
- package/test/child-component/components/output/ParentChild-client.ts +1 -1
- package/test/child-component/components/output/ParentChild-server.ts +2 -2
- package/test/child-component/components/temp/{ParentChild-client-6cf4d156ea46338815270faf67f56472f1a4ccd4.ts → ParentChild-client-50ca7e499599209c9d674f2561413ca14a282c22.ts} +1 -1
- package/test/child-component/components/temp/{ParentChild-server-a34a8b5acf1c00d1990f8ab7433599506265a45a.ts → ParentChild-server-5e4a7fa5f4cd1c7dbe6866819025d2c03bfc62cb.ts} +2 -2
- package/test/class/components/output/Class-client.ts +1 -1
- package/test/class/components/output/Class-server.ts +2 -2
- package/test/class/components/temp/{Class-client-0405eff591f854c04e5728df0479014ef91efc61.ts → Class-client-de2491c550647203bea08727fa8c88f30654db0a.ts} +1 -1
- package/test/class/components/temp/{Class-server-daf30ffb1bacf9877e3385dc9a3eede61c972329.ts → Class-server-c24c01d0d3a98169172aba453c183c4152705be9.ts} +2 -2
- package/test/component/components/output/Component-client.ts +2 -2
- package/test/component/components/output/Component-server.ts +2 -2
- package/test/component/components/temp/{Component-client-355b42e5f7411c399e2f50fba3580f4f7c3fa943.ts → Component-client-350d20784712c710929cc3ab34c6828b0ea338d8.ts} +2 -2
- package/test/component/components/temp/{Component-server-81012827b18e82d787d194a0a1a9d4e07311a336.ts → Component-server-57f59c74599572da6322a67cb97848cfbfcf6968.ts} +2 -2
- package/test/effects/components/output/For-client.ts +1 -1
- package/test/effects/components/output/If-client.ts +1 -1
- package/test/effects/components/output/NestedIf-client.ts +3 -3
- package/test/effects/components/temp/{For-client-fbe876286c0f99b8391ff0c06c92b58bf580218f.ts → For-client-35bf9bea43f53d6c0cf807f9e31500765fa0b455.ts} +1 -1
- package/test/effects/components/temp/{If-client-420a093f13de6ce07d2d4bc94705901809096cd9.ts → If-client-efb994796596d9d08f59a0ab5ffdacc74bd04545.ts} +1 -1
- package/test/effects/components/temp/{NestedIf-client-af88ec303b1a4184263bb370ef5b1f1e8aca8efc.ts → NestedIf-client-845b3789b8a938439bff758bc9b3731d769c8ff6.ts} +3 -3
- package/test/for/components/output/For-client.ts +1 -1
- package/test/for/components/output/ForEscape-client.ts +1 -1
- package/test/for/components/output/ForIn-client.ts +1 -1
- package/test/for/components/output/ForOf-client.ts +1 -1
- package/test/for/components/temp/{For-client-421f2a6ca501d135c0aef9d1aaea25de0e1c00e4.ts → For-client-8ecb11a2f34c81f837bffdb88598da06d8c19158.ts} +1 -1
- package/test/for/components/temp/{ForEscape-client-72879c80f7544c2edfc224095740bdea20e1e12d.ts → ForEscape-client-14e7648415d967cdc57bf03d176eb6b6dddf0fb2.ts} +1 -1
- package/test/for/components/temp/{ForIn-client-e12c45d7f53e50ea3ed456110138dfb95f6930e0.ts → ForIn-client-25cd67f246a50fc6d926a8c66aa5e106f19578a8.ts} +1 -1
- package/test/for/components/temp/{ForOf-client-422d67d6c046f1d1de655719d061ea29f67d23f7.ts → ForOf-client-8f6598ccd9dc7b79aff6167b90ccea94f3029c84.ts} +1 -1
- package/test/html/components/output/Html-client.ts +1 -1
- package/test/html/components/temp/{Html-client-2f309b06c3304a952d249057dec058a514d52874.ts → Html-client-93b0d666142c64cd651dc37f14f12884b2f30612.ts} +1 -1
- package/test/if/components/output/IfAfterIf-client.ts +3 -3
- package/test/if/components/output/IfElse-client.ts +2 -2
- package/test/if/components/output/IfElseIf-client.ts +2 -2
- package/test/if/components/output/IfFalse-client.ts +2 -2
- package/test/if/components/output/IfNested-client.ts +4 -4
- package/test/if/components/temp/{IfAfterIf-client-5ddfc6dc62ffbc9a518220458403008e88e69e6c.ts → IfAfterIf-client-6b4833209a01cdad18d453839e9c8b5dad2a8510.ts} +3 -3
- package/test/if/components/temp/{IfElse-client-815057ffb2d9a1861bb316d445321947ddedbb65.ts → IfElse-client-f7eb8e5fe5e62975a2442c4b0ff3344fa44cef69.ts} +2 -2
- package/test/if/components/temp/{IfElseIf-client-a7b16a8af24fdd3caa7b9e8e56d4bdb6ad3ab855.ts → IfElseIf-client-734f1b2d9133294573770c1ffc2b589273498532.ts} +2 -2
- package/test/if/components/temp/{IfFalse-client-6507ff8abd4842b78da27d8a9d4964abc1d9b727.ts → IfFalse-client-8a388cb48b4a5879d491f57d1f2551834de1e72e.ts} +2 -2
- package/test/if/components/temp/{IfNested-client-e09f8af625b4e0b3e9eb210440f8edda720f0d53.ts → IfNested-client-f3045daba052e459add6e7f84e8d21ba7b0d81e4.ts} +4 -4
- package/test/party/components/output/AnswerButtonApp-client.ts +2 -2
- package/test/party/components/output/AnswerButtonApp-server.ts +2 -2
- package/test/party/components/output/ColorSelect-client.ts +1 -1
- package/test/party/components/output/Colors-client.ts +1 -1
- package/test/party/components/output/FunnyButton-client.ts +1 -1
- package/test/party/components/output/FunnyButtonApp-client.ts +2 -2
- package/test/party/components/output/FunnyButtonApp-server.ts +3 -3
- package/test/party/components/output/TrafficLight-client.ts +1 -1
- package/test/party/components/output/UserProfileApp-client.ts +2 -2
- package/test/party/components/output/UserProfileApp-server.ts +2 -2
- package/test/party/components/output/UserProfileContextApp-client.ts +1 -1
- package/test/party/components/output/UserProfileContextApp-server.ts +2 -2
- package/test/party/components/temp/{AnswerButtonApp-client-a2b16c738467742436b1a2ddaf2d767795a4d625.ts → AnswerButtonApp-client-5661f07868550612bcdeee268b82c473af6a2613.ts} +2 -2
- package/test/party/components/temp/{AnswerButtonApp-server-16161f2c9062dd11b8b6b8c898f9f1249ae2400d.ts → AnswerButtonApp-server-e4ea88e0f4d65508950594437e5e34424bd28897.ts} +2 -2
- package/test/party/components/temp/{ColorSelect-client-4e848c296047911f4c0e3bc1447e5562ce06087c.ts → ColorSelect-client-70bf59d6399d63c0eed421b9d370a1e5c97a89ca.ts} +1 -1
- package/test/party/components/temp/{Colors-client-dde7bf60e2b16383ec981b08f8414b1ebeb349a5.ts → Colors-client-806316cc5e01e8235c0b025cad34b1068addf5a5.ts} +1 -1
- package/test/party/components/temp/{FunnyButton-client-61a1699da08e210375edff33f7b27d3cc0e99cc3.ts → FunnyButton-client-6d5662018a5a5529fd52ee82f7c88975b5c3355a.ts} +1 -1
- package/test/party/components/temp/{FunnyButtonApp-client-cbce6a591bae38ab8b312551f8741d50ae6294bf.ts → FunnyButtonApp-client-daa929c6d64f67e4a1a387b884317a4bb615b5d4.ts} +2 -2
- package/test/party/components/temp/{FunnyButtonApp-server-48d37de0c755843a2be34d7c7cb5c730689dcc2f.ts → FunnyButtonApp-server-80d85ede7da558154a5aa17cd602d6724bf1c9cb.ts} +3 -3
- package/test/party/components/temp/{TrafficLight-client-4010f51fde4c8c21e6c232eff974c86820dbad4f.ts → TrafficLight-client-4a90675ca6157ed7701aefa0d9141575960a1d47.ts} +1 -1
- package/test/party/components/temp/{UserProfileApp-client-32b5cc129b32af5cdd94f39c6fb09a2e4806b04e.ts → UserProfileApp-client-e0bfaa4ffed336c8be4b23dd81800501980c9938.ts} +2 -2
- package/test/party/components/temp/{UserProfileApp-server-97397c42aaac0ee3902218d02c0ce6884434cc5b.ts → UserProfileApp-server-86c204098fd0ffbeded50372354488768b255156.ts} +2 -2
- package/test/party/components/temp/{UserProfileContextApp-client-c4b64ccf44069bcbf18acb585afa62ac9127aeb9.ts → UserProfileContextApp-client-05ce216919de6ffde56d1c2c39299173d9b611b3.ts} +1 -1
- package/test/party/components/temp/{UserProfileContextApp-server-95a4b12d30cef621db55d5de102a906ac7286fb2.ts → UserProfileContextApp-server-c970abaa8326db9a5efc3a5c64741743ae0dd1ca.ts} +2 -2
- package/test/props/components/output/Reactive-client.ts +1 -1
- package/test/props/components/output/Reactive-server.ts +2 -2
- package/test/props/components/temp/{Reactive-client-249382840865c9911857b89085bc85ff901b8e8f.ts → Reactive-client-cf6e602b2f74fce8e9451b6c41c6f8ff8eab63a3.ts} +1 -1
- package/test/props/components/temp/{Reactive-server-770cd3df7c877c0c99e156b2ba6d1f8b35914027.ts → Reactive-server-206bcc8984bad12c5712661b77d000216cdfe66d.ts} +2 -2
- package/test/replace/components/output/Replace-client.ts +1 -1
- package/test/replace/components/temp/{Replace-client-ef66f06bc0cfa91e800b185dbccbca6a98693c21.ts → Replace-client-2a9ee3430708b469fa31bbc6989eed5b2f22984d.ts} +1 -1
- package/test/slots/components/output/Article-client.ts +3 -3
- package/test/slots/components/output/Basic-client.ts +2 -2
- package/test/slots/components/output/Basic-server.ts +2 -2
- package/test/slots/components/output/Header-client.ts +1 -1
- package/test/slots/components/output/Let-client.ts +2 -2
- package/test/slots/components/output/Let-server.ts +2 -2
- package/test/slots/components/output/List-client.ts +2 -2
- package/test/slots/components/output/Named-client.ts +2 -2
- package/test/slots/components/output/Named-server.ts +2 -2
- package/test/slots/components/output/Unused-client.ts +2 -2
- package/test/slots/components/output/Unused-server.ts +2 -2
- package/test/slots/components/temp/{Article-client-f7676836f5ded94222b11ef81e41dd675d1af04b.ts → Article-client-3f2da4b399f94ae8c329489e1ba0ba98196df9c5.ts} +3 -3
- package/test/slots/components/temp/{Basic-client-e7650b8be5f6e50fa0f2f343a145f86edfe14ff4.ts → Basic-client-a2c4bf685d4b75d0395da427b7754c2a58374dd7.ts} +2 -2
- package/test/slots/components/temp/{Basic-server-aed46a5b459cce50e7ddb311c42a76b9e91c2dae.ts → Basic-server-6b37594c9bf74e0c86a05b20213f69651e2cc937.ts} +2 -2
- package/test/slots/components/temp/{Header-client-127c27e6bfcd5b37cc871164cd665b740418dc82.ts → Header-client-d7418b71df5db36d58a73e909233863a6c03678b.ts} +1 -1
- package/test/slots/components/temp/{Let-client-c107eb0fe42f125996d2c9a83ab7b3c1916ca26d.ts → Let-client-913f9dede92b68a3f4a13d1f56f99b3e08e01efe.ts} +2 -2
- package/test/slots/components/temp/{Let-server-62727e5e2db3df405cdbe7a2d339a99113fc7f4a.ts → Let-server-8cad3b1199bec801bc3a1f2f3dbc20f2ef1e9741.ts} +2 -2
- package/test/slots/components/temp/{List-client-ca1d8f9a9cc8b513323de7c5531a4ec03898d920.ts → List-client-6bc2d267a8b2028a14b12b2c70feb7c6a47d6d64.ts} +2 -2
- package/test/slots/components/temp/{Named-client-636b6a18c25a27099f883cb9eeb04e182e248941.ts → Named-client-f6e7a984759ce8f50bc52dcf56f6f06cab925a80.ts} +2 -2
- package/test/slots/components/temp/{Named-server-829daa82c94fd7142a721cabac1b3402cca8fce6.ts → Named-server-2aac48bb8c7300d1a8858917fe81edc17c6372fa.ts} +2 -2
- package/test/slots/components/temp/{Unused-client-0aefcc79e9ae050358fa049a35b7e8e0a6bc2d66.ts → Unused-client-ea0a096aa7a1c958f3bf807f35340b96f8a025ee.ts} +2 -2
- package/test/slots/components/temp/{Unused-server-379b45ff313e82f8b2949385f50d8ea482094520.ts → Unused-server-6e832928d7db6c43c556e7bda8af34ac37c0d4c1.ts} +2 -2
- package/test/special-component/components/output/BigTitle-client.ts +1 -1
- package/test/special-component/components/output/Component-client.ts +3 -3
- package/test/special-component/components/output/Component-server.ts +2 -1
- package/test/special-component/components/output/SmallTitle-client.ts +1 -1
- package/test/special-component/components/temp/{BigTitle-client-04ca3c7b6aaf76b81baa5a3d3720fbd2a1760550.ts → BigTitle-client-c4bd66406d55ce83ab4491c4114d563055e1c275.ts} +1 -1
- package/test/special-component/components/temp/{Component-client-24cd39596c4281ee2709e6aa482818d071825b4f.ts → Component-client-c39c66cf5274445bb863fd759e0ef223613a9f3a.ts} +3 -3
- package/test/special-component/components/temp/{Component-server-3564dfcef8d015cab4944a3c75cc6cf329f3fad6.ts → Component-server-14cd9beb57d6e833f75ab8c6624eb9841444ef63.ts} +2 -1
- package/test/special-component/components/temp/{SmallTitle-client-213b422377a30fe0b12f7256e654bf0313ac9cf9.ts → SmallTitle-client-e4b3e51243ca4f1efca21ac0f957b81e8bc93167.ts} +1 -1
- package/test/special-self/components/output/Self-client.ts +3 -3
- package/test/special-self/components/output/Self-server.ts +2 -2
- package/test/special-self/components/temp/{Self-client-99b34229c85a477881299311f56f48686352c3b3.ts → Self-client-43a0a90fac58867c88bf32221883e8da342a0295.ts} +3 -3
- package/test/special-self/components/temp/{Self-server-ee440757ca9772d7b4111451a9ee05a157302e7c.ts → Self-server-b857c30c279a16dd81ad29567fb8abb9b2a0c239.ts} +2 -2
- package/test/svg/components/output/Shape-client.ts +1 -1
- package/test/svg/components/temp/{Shape-client-368789c592401c3e4c99ddcdb8fe6dded45eb34a.ts → Shape-client-052ea7838de07222602834de58968a3f89e6ea56.ts} +1 -1
- package/test/switch/components/output/Switch-client.ts +1 -1
- package/test/switch/components/temp/{Switch-client-5ef1937202adac7fd5aae866357d95beb4b5805f.ts → Switch-client-30113fadf131c72e7c24160fa62068b651716896.ts} +1 -1
- package/test/watch-array/components/output/Array-client.ts +1 -1
- package/test/watch-array/components/output/ArrayEntries-client.ts +1 -1
- package/test/watch-array/components/output/ArrayIndexes-client.ts +1 -1
- package/test/watch-array/components/output/ArrayUnkeyed-client.ts +1 -1
- package/test/watch-array/components/temp/{Array-client-24ccac431fa237432ec4875234773f36a9a5b120.ts → Array-client-d048f5c224a3f2e2729878dbb069ce15ca913e12.ts} +1 -1
- package/test/watch-array/components/temp/{ArrayEntries-client-ebfb391a78325be4411f24a1ecfdc45ca3a6a621.ts → ArrayEntries-client-741607b276718f5deb520e3b657dbf6abbb8081c.ts} +1 -1
- package/test/watch-array/components/temp/{ArrayIndexes-client-0a4b3226862bb1de13fdbc7a14f689d9f7ade2a1.ts → ArrayIndexes-client-8ab14b254ef67dafad5228c9ec1906eb3b3babef.ts} +1 -1
- package/test/watch-array/components/temp/{ArrayUnkeyed-client-0966fa5ed460f4c627d8d619e493601098d6a33e.ts → ArrayUnkeyed-client-9684aba82757748815b94c04bf3f8d1f98332535.ts} +1 -1
|
@@ -24,7 +24,7 @@ export default function Basic(
|
|
|
24
24
|
const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
27
|
-
|
|
27
|
+
let t_comp_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
|
|
28
28
|
|
|
29
29
|
/* @component */
|
|
30
30
|
const t_slots_1: Record<string, SlotRender> = {};
|
|
@@ -45,7 +45,7 @@ export default function Basic(
|
|
|
45
45
|
Header(t_fragment_0, t_comp_anchor_1, undefined, $context, t_slots_1);
|
|
46
46
|
|
|
47
47
|
// @ts-ignore
|
|
48
|
-
const t_text_2 = t_next(
|
|
48
|
+
const t_text_2 = t_next(t_comp_anchor_1, true);
|
|
49
49
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_2);
|
|
50
50
|
t_next(t_text_2);
|
|
51
51
|
|
|
@@ -13,7 +13,7 @@ export default function Basic(
|
|
|
13
13
|
|
|
14
14
|
/* User interface */
|
|
15
15
|
let $output = "";
|
|
16
|
-
$output += `
|
|
16
|
+
$output += ` <![>`;
|
|
17
17
|
const t_slots_1: Record<string, ServerSlotRender> = {};
|
|
18
18
|
t_slots_1["_"] = (
|
|
19
19
|
// @ts-ignore
|
|
@@ -27,7 +27,7 @@ export default function Basic(
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
$output += Header(undefined, $context, t_slots_1)
|
|
30
|
-
$output +=
|
|
30
|
+
$output += `<!]><!> `;
|
|
31
31
|
|
|
32
32
|
return $output;
|
|
33
33
|
}
|
|
@@ -23,7 +23,7 @@ export default function Header(
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
25
25
|
const t_slot_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
26
|
-
|
|
26
|
+
let t_slot_anchor_1 = t_anchor(t_next(t_child(t_slot_parent_1))) as HTMLElement;
|
|
27
27
|
if ($slots && $slots["_"]) {
|
|
28
28
|
$slots["_"](t_slot_parent_1, t_slot_anchor_1, undefined, $context)
|
|
29
29
|
} else {
|
|
@@ -27,7 +27,7 @@ export default function Let(
|
|
|
27
27
|
const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
|
|
28
28
|
// @ts-ignore
|
|
29
29
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
30
|
-
|
|
30
|
+
let t_comp_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
|
|
31
31
|
|
|
32
32
|
/* @component */
|
|
33
33
|
const t_props_1: any = $watch({});
|
|
@@ -55,7 +55,7 @@ export default function Let(
|
|
|
55
55
|
List(t_fragment_0, t_comp_anchor_1, t_props_1, $context, t_slots_1);
|
|
56
56
|
|
|
57
57
|
// @ts-ignore
|
|
58
|
-
const t_text_2 = t_next(
|
|
58
|
+
const t_text_2 = t_next(t_comp_anchor_1, true);
|
|
59
59
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_2);
|
|
60
60
|
t_next(t_text_2);
|
|
61
61
|
|
|
@@ -14,7 +14,7 @@ export default function Let(
|
|
|
14
14
|
|
|
15
15
|
/* User interface */
|
|
16
16
|
let $output = "";
|
|
17
|
-
$output += `
|
|
17
|
+
$output += ` <![>`;
|
|
18
18
|
const t_props_1: any = {};
|
|
19
19
|
t_props_1["items"] = $props.items;
|
|
20
20
|
const t_slots_1: Record<string, ServerSlotRender> = {};
|
|
@@ -30,7 +30,7 @@ export default function Let(
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
$output += List(t_props_1, $context, t_slots_1)
|
|
33
|
-
$output +=
|
|
33
|
+
$output += `<!]><!> `;
|
|
34
34
|
|
|
35
35
|
return $output;
|
|
36
36
|
}
|
|
@@ -31,7 +31,7 @@ export default function List(
|
|
|
31
31
|
// @ts-ignore
|
|
32
32
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
33
33
|
const t_for_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
34
|
-
|
|
34
|
+
let t_for_anchor_1 = t_anchor(t_next(t_child(t_for_parent_1))) as HTMLElement;
|
|
35
35
|
|
|
36
36
|
/* @for */
|
|
37
37
|
let t_for_range_1 = t_range();
|
|
@@ -55,7 +55,7 @@ export default function List(
|
|
|
55
55
|
// @ts-ignore
|
|
56
56
|
const t_root_1 = t_root(t_fragment_1, true);
|
|
57
57
|
const t_slot_parent_1 = t_next(t_root_1) as HTMLElement;
|
|
58
|
-
|
|
58
|
+
let t_slot_anchor_1 = t_anchor(t_next(t_child(t_slot_parent_1))) as HTMLElement;
|
|
59
59
|
const t_sprops_1 = $watch({});
|
|
60
60
|
$run(function setProp() {
|
|
61
61
|
t_sprops_1["item"] = t_item.data.item;
|
|
@@ -24,7 +24,7 @@ export default function Named(
|
|
|
24
24
|
const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
27
|
-
|
|
27
|
+
let t_comp_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
|
|
28
28
|
|
|
29
29
|
/* @component */
|
|
30
30
|
const t_slots_1: Record<string, SlotRender> = {};
|
|
@@ -61,7 +61,7 @@ export default function Named(
|
|
|
61
61
|
Article(t_fragment_0, t_comp_anchor_1, undefined, $context, t_slots_1);
|
|
62
62
|
|
|
63
63
|
// @ts-ignore
|
|
64
|
-
const t_text_3 = t_next(
|
|
64
|
+
const t_text_3 = t_next(t_comp_anchor_1, true);
|
|
65
65
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_3);
|
|
66
66
|
t_next(t_text_3);
|
|
67
67
|
|
|
@@ -13,7 +13,7 @@ export default function Named(
|
|
|
13
13
|
|
|
14
14
|
/* User interface */
|
|
15
15
|
let $output = "";
|
|
16
|
-
$output += `
|
|
16
|
+
$output += ` <![>`;
|
|
17
17
|
const t_slots_1: Record<string, ServerSlotRender> = {};
|
|
18
18
|
t_slots_1["_"] = (
|
|
19
19
|
// @ts-ignore
|
|
@@ -37,7 +37,7 @@ export default function Named(
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
$output += Article(undefined, $context, t_slots_1)
|
|
40
|
-
$output +=
|
|
40
|
+
$output += `<!]><!> `;
|
|
41
41
|
|
|
42
42
|
return $output;
|
|
43
43
|
}
|
|
@@ -24,13 +24,13 @@ export default function Unused(
|
|
|
24
24
|
const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
27
|
-
|
|
27
|
+
let t_comp_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
|
|
28
28
|
|
|
29
29
|
/* @component */
|
|
30
30
|
Header(t_fragment_0, t_comp_anchor_1, undefined, $context);
|
|
31
31
|
|
|
32
32
|
// @ts-ignore
|
|
33
|
-
const t_text_1 = t_next(
|
|
33
|
+
const t_text_1 = t_next(t_comp_anchor_1, true);
|
|
34
34
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_1);
|
|
35
35
|
t_next(t_text_1);
|
|
36
36
|
|
|
@@ -23,17 +23,17 @@ export default function Article(
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
25
25
|
const t_slot_parent_1 = t_next(t_child(t_next(t_root_0))) as HTMLElement;
|
|
26
|
-
|
|
26
|
+
let t_slot_anchor_1 = t_anchor(t_next(t_child(t_slot_parent_1))) as HTMLElement;
|
|
27
27
|
if ($slots && $slots["header"]) {
|
|
28
28
|
$slots["header"](t_slot_parent_1, t_slot_anchor_1, undefined, $context)
|
|
29
29
|
}
|
|
30
30
|
const t_slot_parent_2 = t_next(t_root_0) as HTMLElement;
|
|
31
|
-
|
|
31
|
+
let t_slot_anchor_2 = t_anchor(t_next(t_next(t_slot_parent_1, true))) as HTMLElement;
|
|
32
32
|
if ($slots && $slots["_"]) {
|
|
33
33
|
$slots["_"](t_slot_parent_2, t_slot_anchor_2, undefined, $context)
|
|
34
34
|
}
|
|
35
35
|
const t_slot_parent_3 = t_slot_parent_2 as HTMLElement;
|
|
36
|
-
|
|
36
|
+
let t_slot_anchor_3 = t_anchor(t_next(t_next(t_slot_anchor_2, true))) as HTMLElement;
|
|
37
37
|
if ($slots && $slots["footer"]) {
|
|
38
38
|
$slots["footer"](t_slot_parent_3, t_slot_anchor_3, undefined, $context)
|
|
39
39
|
}
|
|
@@ -24,7 +24,7 @@ export default function Basic(
|
|
|
24
24
|
const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
27
|
-
|
|
27
|
+
let t_comp_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
|
|
28
28
|
|
|
29
29
|
/* @component */
|
|
30
30
|
const t_slots_1: Record<string, SlotRender> = {};
|
|
@@ -45,7 +45,7 @@ export default function Basic(
|
|
|
45
45
|
Header(t_fragment_0, t_comp_anchor_1, undefined, $context, t_slots_1);
|
|
46
46
|
|
|
47
47
|
// @ts-ignore
|
|
48
|
-
const t_text_2 = t_next(
|
|
48
|
+
const t_text_2 = t_next(t_comp_anchor_1, true);
|
|
49
49
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_2);
|
|
50
50
|
t_next(t_text_2);
|
|
51
51
|
|
|
@@ -13,7 +13,7 @@ export default function Basic(
|
|
|
13
13
|
|
|
14
14
|
/* User interface */
|
|
15
15
|
let $output = "";
|
|
16
|
-
$output += `
|
|
16
|
+
$output += ` <![>`;
|
|
17
17
|
const t_slots_1: Record<string, ServerSlotRender> = {};
|
|
18
18
|
t_slots_1["_"] = (
|
|
19
19
|
// @ts-ignore
|
|
@@ -27,7 +27,7 @@ export default function Basic(
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
$output += Header(undefined, $context, t_slots_1)
|
|
30
|
-
$output +=
|
|
30
|
+
$output += `<!]><!> `;
|
|
31
31
|
|
|
32
32
|
return $output;
|
|
33
33
|
}
|
|
@@ -23,7 +23,7 @@ export default function Header(
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
25
25
|
const t_slot_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
26
|
-
|
|
26
|
+
let t_slot_anchor_1 = t_anchor(t_next(t_child(t_slot_parent_1))) as HTMLElement;
|
|
27
27
|
if ($slots && $slots["_"]) {
|
|
28
28
|
$slots["_"](t_slot_parent_1, t_slot_anchor_1, undefined, $context)
|
|
29
29
|
} else {
|
|
@@ -27,7 +27,7 @@ export default function Let(
|
|
|
27
27
|
const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
|
|
28
28
|
// @ts-ignore
|
|
29
29
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
30
|
-
|
|
30
|
+
let t_comp_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
|
|
31
31
|
|
|
32
32
|
/* @component */
|
|
33
33
|
const t_props_1: any = $watch({});
|
|
@@ -55,7 +55,7 @@ export default function Let(
|
|
|
55
55
|
List(t_fragment_0, t_comp_anchor_1, t_props_1, $context, t_slots_1);
|
|
56
56
|
|
|
57
57
|
// @ts-ignore
|
|
58
|
-
const t_text_2 = t_next(
|
|
58
|
+
const t_text_2 = t_next(t_comp_anchor_1, true);
|
|
59
59
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_2);
|
|
60
60
|
t_next(t_text_2);
|
|
61
61
|
|
|
@@ -14,7 +14,7 @@ export default function Let(
|
|
|
14
14
|
|
|
15
15
|
/* User interface */
|
|
16
16
|
let $output = "";
|
|
17
|
-
$output += `
|
|
17
|
+
$output += ` <![>`;
|
|
18
18
|
const t_props_1: any = {};
|
|
19
19
|
t_props_1["items"] = $props.items;
|
|
20
20
|
const t_slots_1: Record<string, ServerSlotRender> = {};
|
|
@@ -30,7 +30,7 @@ export default function Let(
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
$output += List(t_props_1, $context, t_slots_1)
|
|
33
|
-
$output +=
|
|
33
|
+
$output += `<!]><!> `;
|
|
34
34
|
|
|
35
35
|
return $output;
|
|
36
36
|
}
|
|
@@ -31,7 +31,7 @@ export default function List(
|
|
|
31
31
|
// @ts-ignore
|
|
32
32
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
33
33
|
const t_for_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
34
|
-
|
|
34
|
+
let t_for_anchor_1 = t_anchor(t_next(t_child(t_for_parent_1))) as HTMLElement;
|
|
35
35
|
|
|
36
36
|
/* @for */
|
|
37
37
|
let t_for_range_1 = t_range();
|
|
@@ -55,7 +55,7 @@ export default function List(
|
|
|
55
55
|
// @ts-ignore
|
|
56
56
|
const t_root_1 = t_root(t_fragment_1, true);
|
|
57
57
|
const t_slot_parent_1 = t_next(t_root_1) as HTMLElement;
|
|
58
|
-
|
|
58
|
+
let t_slot_anchor_1 = t_anchor(t_next(t_child(t_slot_parent_1))) as HTMLElement;
|
|
59
59
|
const t_sprops_1 = $watch({});
|
|
60
60
|
$run(function setProp() {
|
|
61
61
|
t_sprops_1["item"] = t_item.data.item;
|
|
@@ -24,7 +24,7 @@ export default function Named(
|
|
|
24
24
|
const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
27
|
-
|
|
27
|
+
let t_comp_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
|
|
28
28
|
|
|
29
29
|
/* @component */
|
|
30
30
|
const t_slots_1: Record<string, SlotRender> = {};
|
|
@@ -61,7 +61,7 @@ export default function Named(
|
|
|
61
61
|
Article(t_fragment_0, t_comp_anchor_1, undefined, $context, t_slots_1);
|
|
62
62
|
|
|
63
63
|
// @ts-ignore
|
|
64
|
-
const t_text_3 = t_next(
|
|
64
|
+
const t_text_3 = t_next(t_comp_anchor_1, true);
|
|
65
65
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_3);
|
|
66
66
|
t_next(t_text_3);
|
|
67
67
|
|
|
@@ -13,7 +13,7 @@ export default function Named(
|
|
|
13
13
|
|
|
14
14
|
/* User interface */
|
|
15
15
|
let $output = "";
|
|
16
|
-
$output += `
|
|
16
|
+
$output += ` <![>`;
|
|
17
17
|
const t_slots_1: Record<string, ServerSlotRender> = {};
|
|
18
18
|
t_slots_1["_"] = (
|
|
19
19
|
// @ts-ignore
|
|
@@ -37,7 +37,7 @@ export default function Named(
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
$output += Article(undefined, $context, t_slots_1)
|
|
40
|
-
$output +=
|
|
40
|
+
$output += `<!]><!> `;
|
|
41
41
|
|
|
42
42
|
return $output;
|
|
43
43
|
}
|
|
@@ -24,13 +24,13 @@ export default function Unused(
|
|
|
24
24
|
const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
27
|
-
|
|
27
|
+
let t_comp_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
|
|
28
28
|
|
|
29
29
|
/* @component */
|
|
30
30
|
Header(t_fragment_0, t_comp_anchor_1, undefined, $context);
|
|
31
31
|
|
|
32
32
|
// @ts-ignore
|
|
33
|
-
const t_text_1 = t_next(
|
|
33
|
+
const t_text_1 = t_next(t_comp_anchor_1, true);
|
|
34
34
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_1);
|
|
35
35
|
t_next(t_text_1);
|
|
36
36
|
|
|
@@ -23,7 +23,7 @@ export default function BigTitle(
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
25
25
|
const t_slot_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
26
|
-
|
|
26
|
+
let t_slot_anchor_1 = t_anchor(t_next(t_child(t_slot_parent_1))) as HTMLElement;
|
|
27
27
|
if ($slots && $slots["_"]) {
|
|
28
28
|
$slots["_"](t_slot_parent_1, t_slot_anchor_1, undefined, $context)
|
|
29
29
|
}
|
|
@@ -34,7 +34,7 @@ export default function Component(
|
|
|
34
34
|
const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
|
|
35
35
|
// @ts-ignore
|
|
36
36
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
37
|
-
|
|
37
|
+
let t_replace_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
|
|
38
38
|
|
|
39
39
|
/* @replace */
|
|
40
40
|
const t_replace_range_1 = t_range();
|
|
@@ -44,7 +44,7 @@ export default function Component(
|
|
|
44
44
|
const t_fragment_1 = t_fragment($parent.ownerDocument!, t_fragments, 1, `<!>`);
|
|
45
45
|
// @ts-ignore
|
|
46
46
|
const t_root_1 = t_root(t_fragment_1);
|
|
47
|
-
|
|
47
|
+
let t_comp_anchor_1 = t_anchor(t_root_1) as HTMLElement;
|
|
48
48
|
|
|
49
49
|
/* @component */
|
|
50
50
|
const t_props_1: any = $watch({});
|
|
@@ -70,7 +70,7 @@ export default function Component(
|
|
|
70
70
|
});
|
|
71
71
|
|
|
72
72
|
// @ts-ignore
|
|
73
|
-
const t_text_2 = t_next(
|
|
73
|
+
const t_text_2 = t_next(t_replace_anchor_1, true);
|
|
74
74
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_2);
|
|
75
75
|
t_next(t_text_2);
|
|
76
76
|
|
|
@@ -20,6 +20,7 @@ export default function Component(
|
|
|
20
20
|
let $output = "";
|
|
21
21
|
$output += ` <![>`;
|
|
22
22
|
components[$props.self];
|
|
23
|
+
$output += `<![>`;
|
|
23
24
|
const t_props_1: any = {};
|
|
24
25
|
t_props_1["self"] = components[$props.self];
|
|
25
26
|
const t_slots_1: Record<string, ServerSlotRender> = {};
|
|
@@ -35,7 +36,7 @@ export default function Component(
|
|
|
35
36
|
}
|
|
36
37
|
|
|
37
38
|
$output += components[$props.self](t_props_1, $context, t_slots_1)
|
|
38
|
-
$output +=
|
|
39
|
+
$output += `<!]><!>`;
|
|
39
40
|
$output += `<!]><!> `;
|
|
40
41
|
|
|
41
42
|
return $output;
|
|
@@ -23,7 +23,7 @@ export default function SmallTitle(
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
25
25
|
const t_slot_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
26
|
-
|
|
26
|
+
let t_slot_anchor_1 = t_anchor(t_next(t_child(t_slot_parent_1))) as HTMLElement;
|
|
27
27
|
if ($slots && $slots["_"]) {
|
|
28
28
|
$slots["_"](t_slot_parent_1, t_slot_anchor_1, undefined, $context)
|
|
29
29
|
}
|
|
@@ -23,7 +23,7 @@ export default function BigTitle(
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
25
25
|
const t_slot_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
26
|
-
|
|
26
|
+
let t_slot_anchor_1 = t_anchor(t_next(t_child(t_slot_parent_1))) as HTMLElement;
|
|
27
27
|
if ($slots && $slots["_"]) {
|
|
28
28
|
$slots["_"](t_slot_parent_1, t_slot_anchor_1, undefined, $context)
|
|
29
29
|
}
|
|
@@ -34,7 +34,7 @@ export default function Component(
|
|
|
34
34
|
const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
|
|
35
35
|
// @ts-ignore
|
|
36
36
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
37
|
-
|
|
37
|
+
let t_replace_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
|
|
38
38
|
|
|
39
39
|
/* @replace */
|
|
40
40
|
const t_replace_range_1 = t_range();
|
|
@@ -44,7 +44,7 @@ export default function Component(
|
|
|
44
44
|
const t_fragment_1 = t_fragment($parent.ownerDocument!, t_fragments, 1, `<!>`);
|
|
45
45
|
// @ts-ignore
|
|
46
46
|
const t_root_1 = t_root(t_fragment_1);
|
|
47
|
-
|
|
47
|
+
let t_comp_anchor_1 = t_anchor(t_root_1) as HTMLElement;
|
|
48
48
|
|
|
49
49
|
/* @component */
|
|
50
50
|
const t_props_1: any = $watch({});
|
|
@@ -70,7 +70,7 @@ export default function Component(
|
|
|
70
70
|
});
|
|
71
71
|
|
|
72
72
|
// @ts-ignore
|
|
73
|
-
const t_text_2 = t_next(
|
|
73
|
+
const t_text_2 = t_next(t_replace_anchor_1, true);
|
|
74
74
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_2);
|
|
75
75
|
t_next(t_text_2);
|
|
76
76
|
|
|
@@ -20,6 +20,7 @@ export default function Component(
|
|
|
20
20
|
let $output = "";
|
|
21
21
|
$output += ` <![>`;
|
|
22
22
|
components[$props.self];
|
|
23
|
+
$output += `<![>`;
|
|
23
24
|
const t_props_1: any = {};
|
|
24
25
|
t_props_1["self"] = components[$props.self];
|
|
25
26
|
const t_slots_1: Record<string, ServerSlotRender> = {};
|
|
@@ -35,7 +36,7 @@ export default function Component(
|
|
|
35
36
|
}
|
|
36
37
|
|
|
37
38
|
$output += components[$props.self](t_props_1, $context, t_slots_1)
|
|
38
|
-
$output +=
|
|
39
|
+
$output += `<!]><!>`;
|
|
39
40
|
$output += `<!]><!> `;
|
|
40
41
|
|
|
41
42
|
return $output;
|
|
@@ -23,7 +23,7 @@ export default function SmallTitle(
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
25
25
|
const t_slot_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
26
|
-
|
|
26
|
+
let t_slot_anchor_1 = t_anchor(t_next(t_child(t_slot_parent_1))) as HTMLElement;
|
|
27
27
|
if ($slots && $slots["_"]) {
|
|
28
28
|
$slots["_"](t_slot_parent_1, t_slot_anchor_1, undefined, $context)
|
|
29
29
|
}
|
|
@@ -31,7 +31,7 @@ export default function Self(
|
|
|
31
31
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
32
32
|
const t_text_1 = t_child(t_next(t_root_0));
|
|
33
33
|
const t_if_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
34
|
-
|
|
34
|
+
let t_if_anchor_1 = t_anchor(t_next(t_text_1)) as HTMLElement;
|
|
35
35
|
|
|
36
36
|
/* @if */
|
|
37
37
|
const t_if_range_1 = t_range();
|
|
@@ -41,7 +41,7 @@ export default function Self(
|
|
|
41
41
|
const t_fragment_1 = t_fragment($parent.ownerDocument!, t_fragments, 1, ` <!> `);
|
|
42
42
|
// @ts-ignore
|
|
43
43
|
const t_root_1 = t_root(t_fragment_1, true);
|
|
44
|
-
|
|
44
|
+
let t_comp_anchor_1 = t_anchor(t_next(t_root_1)) as HTMLElement;
|
|
45
45
|
|
|
46
46
|
/* @component */
|
|
47
47
|
const t_props_1: any = $watch({});
|
|
@@ -51,7 +51,7 @@ export default function Self(
|
|
|
51
51
|
Self(t_fragment_1, t_comp_anchor_1, t_props_1, $context);
|
|
52
52
|
|
|
53
53
|
// @ts-ignore
|
|
54
|
-
const t_text_2 = t_next(
|
|
54
|
+
const t_text_2 = t_next(t_comp_anchor_1, true);
|
|
55
55
|
t_add_fragment(t_fragment_1, t_if_parent_1, t_before, t_text_2);
|
|
56
56
|
t_next(t_text_2);
|
|
57
57
|
});
|
|
@@ -14,12 +14,12 @@ export default function Self(
|
|
|
14
14
|
let $output = "";
|
|
15
15
|
$output += ` <div> Level ${t_fmt($props.level)} <![>`;
|
|
16
16
|
if ($props.level < 3) {
|
|
17
|
-
$output += `<!^>
|
|
17
|
+
$output += `<!^> <![>`;
|
|
18
18
|
const t_props_1: any = {};
|
|
19
19
|
t_props_1["level"] = $props.level + 1;
|
|
20
20
|
|
|
21
21
|
$output += Self(t_props_1, $context)
|
|
22
|
-
$output +=
|
|
22
|
+
$output += `<!]><!> `;
|
|
23
23
|
}
|
|
24
24
|
$output += `<!]><!> </div> `;
|
|
25
25
|
|
|
@@ -31,7 +31,7 @@ export default function Self(
|
|
|
31
31
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
32
32
|
const t_text_1 = t_child(t_next(t_root_0));
|
|
33
33
|
const t_if_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
34
|
-
|
|
34
|
+
let t_if_anchor_1 = t_anchor(t_next(t_text_1)) as HTMLElement;
|
|
35
35
|
|
|
36
36
|
/* @if */
|
|
37
37
|
const t_if_range_1 = t_range();
|
|
@@ -41,7 +41,7 @@ export default function Self(
|
|
|
41
41
|
const t_fragment_1 = t_fragment($parent.ownerDocument!, t_fragments, 1, ` <!> `);
|
|
42
42
|
// @ts-ignore
|
|
43
43
|
const t_root_1 = t_root(t_fragment_1, true);
|
|
44
|
-
|
|
44
|
+
let t_comp_anchor_1 = t_anchor(t_next(t_root_1)) as HTMLElement;
|
|
45
45
|
|
|
46
46
|
/* @component */
|
|
47
47
|
const t_props_1: any = $watch({});
|
|
@@ -51,7 +51,7 @@ export default function Self(
|
|
|
51
51
|
Self(t_fragment_1, t_comp_anchor_1, t_props_1, $context);
|
|
52
52
|
|
|
53
53
|
// @ts-ignore
|
|
54
|
-
const t_text_2 = t_next(
|
|
54
|
+
const t_text_2 = t_next(t_comp_anchor_1, true);
|
|
55
55
|
t_add_fragment(t_fragment_1, t_if_parent_1, t_before, t_text_2);
|
|
56
56
|
t_next(t_text_2);
|
|
57
57
|
});
|
|
@@ -14,12 +14,12 @@ export default function Self(
|
|
|
14
14
|
let $output = "";
|
|
15
15
|
$output += ` <div> Level ${t_fmt($props.level)} <![>`;
|
|
16
16
|
if ($props.level < 3) {
|
|
17
|
-
$output += `<!^>
|
|
17
|
+
$output += `<!^> <![>`;
|
|
18
18
|
const t_props_1: any = {};
|
|
19
19
|
t_props_1["level"] = $props.level + 1;
|
|
20
20
|
|
|
21
21
|
$output += Self(t_props_1, $context)
|
|
22
|
-
$output +=
|
|
22
|
+
$output += `<!]><!> `;
|
|
23
23
|
}
|
|
24
24
|
$output += `<!]><!> </div> `;
|
|
25
25
|
|
|
@@ -28,7 +28,7 @@ export default function Shape(
|
|
|
28
28
|
// @ts-ignore
|
|
29
29
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
30
30
|
const t_if_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
31
|
-
|
|
31
|
+
let t_if_anchor_1 = t_anchor(t_next(t_child(t_if_parent_1))) as HTMLElement;
|
|
32
32
|
|
|
33
33
|
/* @if */
|
|
34
34
|
const t_if_range_1 = t_range();
|
|
@@ -28,7 +28,7 @@ export default function Shape(
|
|
|
28
28
|
// @ts-ignore
|
|
29
29
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
30
30
|
const t_if_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
31
|
-
|
|
31
|
+
let t_if_anchor_1 = t_anchor(t_next(t_child(t_if_parent_1))) as HTMLElement;
|
|
32
32
|
|
|
33
33
|
/* @if */
|
|
34
34
|
const t_if_range_1 = t_range();
|
|
@@ -34,7 +34,7 @@ export default function Switch(
|
|
|
34
34
|
// @ts-ignore
|
|
35
35
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
36
36
|
const t_switch_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
37
|
-
|
|
37
|
+
let t_switch_anchor_1 = t_anchor(t_next(t_child(t_switch_parent_1))) as HTMLElement;
|
|
38
38
|
|
|
39
39
|
/* @switch */
|
|
40
40
|
const t_switch_range_1 = t_range();
|
|
@@ -34,7 +34,7 @@ export default function Switch(
|
|
|
34
34
|
// @ts-ignore
|
|
35
35
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
36
36
|
const t_switch_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
37
|
-
|
|
37
|
+
let t_switch_anchor_1 = t_anchor(t_next(t_child(t_switch_parent_1))) as HTMLElement;
|
|
38
38
|
|
|
39
39
|
/* @switch */
|
|
40
40
|
const t_switch_range_1 = t_range();
|
|
@@ -33,7 +33,7 @@ export default function Array(
|
|
|
33
33
|
// @ts-ignore
|
|
34
34
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
35
35
|
const t_for_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
36
|
-
|
|
36
|
+
let t_for_anchor_1 = t_anchor(t_next(t_next(t_next(t_child(t_for_parent_1)), true))) as HTMLElement;
|
|
37
37
|
|
|
38
38
|
/* @for */
|
|
39
39
|
let t_for_range_1 = t_range();
|
|
@@ -33,7 +33,7 @@ export default function ArrayEntries(
|
|
|
33
33
|
// @ts-ignore
|
|
34
34
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
35
35
|
const t_for_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
36
|
-
|
|
36
|
+
let t_for_anchor_1 = t_anchor(t_next(t_next(t_next(t_child(t_for_parent_1)), true))) as HTMLElement;
|
|
37
37
|
|
|
38
38
|
/* @for */
|
|
39
39
|
let t_for_range_1 = t_range();
|