@torpor/view 0.1.6 → 0.1.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.
- package/CHANGELOG.md +6 -0
- package/dist/compile.cjs +9 -8
- package/dist/compile.cjs.map +1 -1
- package/dist/compile.js +9 -8
- package/dist/compile.js.map +1 -1
- package/dist/index.cjs +8 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +17 -3
- package/dist/index.d.ts +17 -3
- package/dist/index.js +7 -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/buildCode.ts +1 -0
- package/src/compile/build/client/buildFragment.ts +15 -8
- package/src/index.ts +2 -0
- package/src/render/nodeAnchor.ts +1 -11
- package/src/render/nodeReanchor.ts +18 -0
- package/test/await/components/output/Await-client.ts +5 -2
- package/test/await/components/temp/{Await-client-5d753441145fbac078393af24cccadb208453d69.ts → Await-client-e2fc91352ed24b160650d7851d82375910bd28d6.ts} +5 -2
- package/test/bind/components/output/BindComponent-client.ts +5 -2
- package/test/bind/components/temp/{BindComponent-client-aaeb489ce72b664c6372f8764f7e665994a751a7.ts → BindComponent-client-c4dbd934eda6b8f9a7afc697b9d6dd3edc3a4a48.ts} +5 -2
- package/test/buildOutputFiles.ts +2 -0
- package/test/child-component/components/output/ParentChild-client.ts +4 -1
- package/test/child-component/components/temp/{ParentChild-client-6cf4d156ea46338815270faf67f56472f1a4ccd4.ts → ParentChild-client-16042a29846dbbeec5905f163bf29b6bb48dfd42.ts} +4 -1
- package/test/class/components/output/Class-client.ts +4 -1
- package/test/class/components/temp/{Class-client-0405eff591f854c04e5728df0479014ef91efc61.ts → Class-client-71b655ee0cbda59527269a2fbf0b6d2a1176bbaa.ts} +4 -1
- package/test/component/components/output/Component-client.ts +5 -2
- package/test/component/components/temp/{Component-client-355b42e5f7411c399e2f50fba3580f4f7c3fa943.ts → Component-client-2f4734d1288dc88d1d5aa532791199969351ec1d.ts} +5 -2
- package/test/effects/components/output/For-client.ts +4 -1
- package/test/effects/components/output/If-client.ts +4 -1
- package/test/effects/components/output/NestedIf-client.ts +8 -3
- package/test/effects/components/temp/{For-client-fbe876286c0f99b8391ff0c06c92b58bf580218f.ts → For-client-56df708520a56e3461dd041d5fcf3a6d16d6c653.ts} +4 -1
- package/test/effects/components/temp/{If-client-420a093f13de6ce07d2d4bc94705901809096cd9.ts → If-client-341b189ef35481d477325e09e9b2d3479b7a6dfc.ts} +4 -1
- package/test/effects/components/temp/{NestedIf-client-af88ec303b1a4184263bb370ef5b1f1e8aca8efc.ts → NestedIf-client-4c74efc133b9817ff106e6ffcf4065603030a596.ts} +8 -3
- package/test/for/components/output/For-client.ts +4 -1
- package/test/for/components/output/ForEscape-client.ts +4 -1
- package/test/for/components/output/ForIn-client.ts +4 -1
- package/test/for/components/output/ForOf-client.ts +4 -1
- package/test/for/components/temp/{For-client-421f2a6ca501d135c0aef9d1aaea25de0e1c00e4.ts → For-client-1d8c7995d69e881e0c6e23e17feb4ee73e34f7c3.ts} +4 -1
- package/test/for/components/temp/{ForEscape-client-72879c80f7544c2edfc224095740bdea20e1e12d.ts → ForEscape-client-c4b46ddf79bcceb3d677baeb57ac85ec6bc5f565.ts} +4 -1
- package/test/for/components/temp/{ForIn-client-e12c45d7f53e50ea3ed456110138dfb95f6930e0.ts → ForIn-client-b64e5ecc592f137f08fc6ab9da800732df94976e.ts} +4 -1
- package/test/for/components/temp/{ForOf-client-422d67d6c046f1d1de655719d061ea29f67d23f7.ts → ForOf-client-4ef8193b2f0603a8edfcbe6c2d321a240211bdcd.ts} +4 -1
- package/test/html/components/output/Html-client.ts +4 -1
- package/test/html/components/temp/{Html-client-2f309b06c3304a952d249057dec058a514d52874.ts → Html-client-2c3bae5ddb348adb88e332df9bad69714a88ddd1.ts} +4 -1
- package/test/if/components/output/IfAfterIf-client.ts +8 -3
- package/test/if/components/output/IfElse-client.ts +5 -2
- package/test/if/components/output/IfElseIf-client.ts +5 -2
- package/test/if/components/output/IfFalse-client.ts +5 -2
- package/test/if/components/output/IfNested-client.ts +9 -4
- package/test/if/components/temp/{IfAfterIf-client-5ddfc6dc62ffbc9a518220458403008e88e69e6c.ts → IfAfterIf-client-e092f37a07f06c67501693a2028c3f7a809267a9.ts} +8 -3
- package/test/if/components/temp/{IfElse-client-815057ffb2d9a1861bb316d445321947ddedbb65.ts → IfElse-client-9b9b5cd2d58364c2792c6233dcf1a028c343741b.ts} +5 -2
- package/test/if/components/temp/{IfElseIf-client-a7b16a8af24fdd3caa7b9e8e56d4bdb6ad3ab855.ts → IfElseIf-client-c6e0f7e55b7d2471527f7fbc673cdb1be41a548c.ts} +5 -2
- package/test/if/components/temp/{IfFalse-client-6507ff8abd4842b78da27d8a9d4964abc1d9b727.ts → IfFalse-client-84249379a2b7b30baea5eeed2a64d4502763d002.ts} +5 -2
- package/test/if/components/temp/{IfNested-client-e09f8af625b4e0b3e9eb210440f8edda720f0d53.ts → IfNested-client-6a536c2000ef72e8c289ad789b135d4b1e170b6e.ts} +9 -4
- package/test/party/components/output/AnswerButtonApp-client.ts +5 -2
- package/test/party/components/output/ColorSelect-client.ts +4 -1
- package/test/party/components/output/Colors-client.ts +4 -1
- package/test/party/components/output/FunnyButton-client.ts +4 -1
- package/test/party/components/output/FunnyButtonApp-client.ts +7 -2
- package/test/party/components/output/TrafficLight-client.ts +4 -1
- package/test/party/components/output/UserProfileApp-client.ts +5 -2
- package/test/party/components/output/UserProfileContextApp-client.ts +4 -1
- package/test/party/components/temp/{AnswerButtonApp-client-a2b16c738467742436b1a2ddaf2d767795a4d625.ts → AnswerButtonApp-client-959a3756a3549b01c5d4c6e7b1dade9dc14ce671.ts} +5 -2
- package/test/party/components/temp/{ColorSelect-client-4e848c296047911f4c0e3bc1447e5562ce06087c.ts → ColorSelect-client-06e6ef9f285d81975b97d89c8a68a494a32a8e3b.ts} +4 -1
- package/test/party/components/temp/{Colors-client-dde7bf60e2b16383ec981b08f8414b1ebeb349a5.ts → Colors-client-2f3ab581879042904699c9d47ae5001b82edd910.ts} +4 -1
- package/test/party/components/temp/{FunnyButton-client-61a1699da08e210375edff33f7b27d3cc0e99cc3.ts → FunnyButton-client-400cff6abc7bdd6dbcd23786070eb0e198800337.ts} +4 -1
- package/test/party/components/temp/{FunnyButtonApp-client-cbce6a591bae38ab8b312551f8741d50ae6294bf.ts → FunnyButtonApp-client-42c39a8ffb7563c474e6b3ccfc9d4ee064c8fbee.ts} +7 -2
- package/test/party/components/temp/{TrafficLight-client-4010f51fde4c8c21e6c232eff974c86820dbad4f.ts → TrafficLight-client-b536f07f37c21cd9340db9cef7b95d30c53f9349.ts} +4 -1
- package/test/party/components/temp/{UserProfileApp-client-32b5cc129b32af5cdd94f39c6fb09a2e4806b04e.ts → UserProfileApp-client-deefee703fc851401cd3a4eec7606d0a228a631d.ts} +5 -2
- package/test/party/components/temp/{UserProfileContextApp-client-c4b64ccf44069bcbf18acb585afa62ac9127aeb9.ts → UserProfileContextApp-client-0f5f11a3fd62f7e0e428fec2a260b93fcff61578.ts} +4 -1
- package/test/props/components/output/Reactive-client.ts +4 -1
- package/test/props/components/temp/{Reactive-client-249382840865c9911857b89085bc85ff901b8e8f.ts → Reactive-client-524add56a858b575fda1001bfe4891e6a1d6d751.ts} +4 -1
- package/test/replace/components/output/Replace-client.ts +4 -1
- package/test/replace/components/temp/{Replace-client-ef66f06bc0cfa91e800b185dbccbca6a98693c21.ts → Replace-client-7f6ae4e645d18c4768ef9a212b2e9626c9abdeb0.ts} +4 -1
- package/test/slots/components/output/Article-client.ts +10 -3
- package/test/slots/components/output/Basic-client.ts +5 -2
- package/test/slots/components/output/Header-client.ts +4 -1
- package/test/slots/components/output/Let-client.ts +5 -2
- package/test/slots/components/output/List-client.ts +7 -2
- package/test/slots/components/output/Named-client.ts +5 -2
- package/test/slots/components/output/Unused-client.ts +5 -2
- package/test/slots/components/temp/{Article-client-f7676836f5ded94222b11ef81e41dd675d1af04b.ts → Article-client-5f243a2540a073d4018bdc93c6a8e285ba965f5c.ts} +10 -3
- package/test/slots/components/temp/{Basic-client-e7650b8be5f6e50fa0f2f343a145f86edfe14ff4.ts → Basic-client-85377d56d5d37f56ebb10a709e9ffa1a91a2dd91.ts} +5 -2
- package/test/slots/components/temp/{Header-client-127c27e6bfcd5b37cc871164cd665b740418dc82.ts → Header-client-247a12314f4fc2695e63b576731b9d0c2a73dcac.ts} +4 -1
- package/test/slots/components/temp/{Let-client-c107eb0fe42f125996d2c9a83ab7b3c1916ca26d.ts → Let-client-2625080a2799f5124b1b7083b780958f95539f15.ts} +5 -2
- package/test/slots/components/temp/{List-client-ca1d8f9a9cc8b513323de7c5531a4ec03898d920.ts → List-client-2b316860db37180e9bdfabb32f18b391c3994ac4.ts} +7 -2
- package/test/slots/components/temp/{Named-client-636b6a18c25a27099f883cb9eeb04e182e248941.ts → Named-client-64e56746d78b308fd788c9b0409d79e4c91756ff.ts} +5 -2
- package/test/slots/components/temp/{Unused-client-0aefcc79e9ae050358fa049a35b7e8e0a6bc2d66.ts → Unused-client-3436f47c322f34378aa240b8ad789048d35b4829.ts} +5 -2
- package/test/special-component/components/output/BigTitle-client.ts +4 -1
- package/test/special-component/components/output/Component-client.ts +8 -3
- package/test/special-component/components/output/SmallTitle-client.ts +4 -1
- package/test/special-component/components/temp/{BigTitle-client-04ca3c7b6aaf76b81baa5a3d3720fbd2a1760550.ts → BigTitle-client-aa7930485dfd471094922b7725ab6fd7718817e6.ts} +4 -1
- package/test/special-component/components/temp/{Component-client-24cd39596c4281ee2709e6aa482818d071825b4f.ts → Component-client-3353f5d7d697fd754f92ea30f751f62efb0635c9.ts} +8 -3
- package/test/special-component/components/temp/{SmallTitle-client-213b422377a30fe0b12f7256e654bf0313ac9cf9.ts → SmallTitle-client-419568c1936f1bb8346db193f0a17848aac61e8e.ts} +4 -1
- package/test/special-self/components/output/Self-client.ts +8 -3
- package/test/special-self/components/temp/{Self-client-99b34229c85a477881299311f56f48686352c3b3.ts → Self-client-bc1db32c01ceebd8aac04288c4d73431cffb200f.ts} +8 -3
- package/test/svg/components/output/Shape-client.ts +4 -1
- package/test/svg/components/temp/{Shape-client-368789c592401c3e4c99ddcdb8fe6dded45eb34a.ts → Shape-client-8e9515d4a360b9f4a945263a485486a557da1075.ts} +4 -1
- package/test/switch/components/output/Switch-client.ts +4 -1
- package/test/switch/components/temp/{Switch-client-5ef1937202adac7fd5aae866357d95beb4b5805f.ts → Switch-client-485db0bdd94941ecad84528054f40ec6330c5e48.ts} +4 -1
- package/test/watch-array/components/output/Array-client.ts +4 -1
- package/test/watch-array/components/output/ArrayEntries-client.ts +4 -1
- package/test/watch-array/components/output/ArrayIndexes-client.ts +4 -1
- package/test/watch-array/components/output/ArrayUnkeyed-client.ts +4 -1
- package/test/watch-array/components/temp/{Array-client-24ccac431fa237432ec4875234773f36a9a5b120.ts → Array-client-8b76b82f631c149d12466795ef6b016ebeda5568.ts} +4 -1
- package/test/watch-array/components/temp/{ArrayEntries-client-ebfb391a78325be4411f24a1ecfdc45ca3a6a621.ts → ArrayEntries-client-c7b6352485a0d8ebcdb150d3e7f49d60493fde92.ts} +4 -1
- package/test/watch-array/components/temp/{ArrayIndexes-client-0a4b3226862bb1de13fdbc7a14f689d9f7ade2a1.ts → ArrayIndexes-client-d8321be46a9572147e7b4bc71d7496985217b4f8.ts} +4 -1
- package/test/watch-array/components/temp/{ArrayUnkeyed-client-0966fa5ed460f4c627d8d619e493601098d6a33e.ts → ArrayUnkeyed-client-e37813da82c6d06de32d77348f23ed29c9c08187.ts} +4 -1
|
@@ -11,6 +11,7 @@ import t_next from "../../../../src/render/nodeNext";
|
|
|
11
11
|
import t_pop_range from "../../../../src/render/popRange";
|
|
12
12
|
import t_push_range from "../../../../src/render/pushRange";
|
|
13
13
|
import t_range from "../../../../src/render/newRange";
|
|
14
|
+
import t_reanchor from "../../../../src/render/nodeReanchor";
|
|
14
15
|
import t_root from "../../../../src/render/nodeRoot";
|
|
15
16
|
import t_run_list from "../../../../src/render/runList";
|
|
16
17
|
|
|
@@ -31,7 +32,7 @@ export default function List(
|
|
|
31
32
|
// @ts-ignore
|
|
32
33
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
33
34
|
const t_for_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
34
|
-
|
|
35
|
+
let t_for_anchor_1 = t_anchor(t_next(t_child(t_for_parent_1))) as HTMLElement;
|
|
35
36
|
|
|
36
37
|
/* @for */
|
|
37
38
|
let t_for_range_1 = t_range();
|
|
@@ -55,7 +56,7 @@ export default function List(
|
|
|
55
56
|
// @ts-ignore
|
|
56
57
|
const t_root_1 = t_root(t_fragment_1, true);
|
|
57
58
|
const t_slot_parent_1 = t_next(t_root_1) as HTMLElement;
|
|
58
|
-
|
|
59
|
+
let t_slot_anchor_1 = t_anchor(t_next(t_child(t_slot_parent_1))) as HTMLElement;
|
|
59
60
|
const t_sprops_1 = $watch({});
|
|
60
61
|
$run(function setProp() {
|
|
61
62
|
t_sprops_1["item"] = t_item.data.item;
|
|
@@ -63,6 +64,8 @@ export default function List(
|
|
|
63
64
|
if ($slots && $slots["_"]) {
|
|
64
65
|
$slots["_"](t_slot_parent_1, t_slot_anchor_1, t_sprops_1, $context)
|
|
65
66
|
}
|
|
67
|
+
t_slot_anchor_1 = t_reanchor(t_slot_anchor_1) as HTMLElement;
|
|
68
|
+
|
|
66
69
|
// @ts-ignore
|
|
67
70
|
const t_text_1 = t_next(t_slot_parent_1, true);
|
|
68
71
|
t_add_fragment(t_fragment_1, t_for_parent_1, t_before, t_text_1);
|
|
@@ -71,6 +74,8 @@ export default function List(
|
|
|
71
74
|
}
|
|
72
75
|
);
|
|
73
76
|
|
|
77
|
+
t_for_anchor_1 = t_reanchor(t_for_anchor_1) as HTMLElement;
|
|
78
|
+
|
|
74
79
|
// @ts-ignore
|
|
75
80
|
const t_text_2 = t_next(t_for_parent_1, true);
|
|
76
81
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_2);
|
|
@@ -3,6 +3,7 @@ import t_add_fragment from "../../../../src/render/addFragment";
|
|
|
3
3
|
import t_anchor from "../../../../src/render/nodeAnchor";
|
|
4
4
|
import t_fragment from "../../../../src/render/getFragment";
|
|
5
5
|
import t_next from "../../../../src/render/nodeNext";
|
|
6
|
+
import t_reanchor from "../../../../src/render/nodeReanchor";
|
|
6
7
|
import t_root from "../../../../src/render/nodeRoot";
|
|
7
8
|
|
|
8
9
|
import Article from "../output/./Article-client"
|
|
@@ -24,7 +25,7 @@ export default function Named(
|
|
|
24
25
|
const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
|
|
25
26
|
// @ts-ignore
|
|
26
27
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
27
|
-
|
|
28
|
+
let t_comp_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
|
|
28
29
|
|
|
29
30
|
/* @component */
|
|
30
31
|
const t_slots_1: Record<string, SlotRender> = {};
|
|
@@ -60,8 +61,10 @@ export default function Named(
|
|
|
60
61
|
}
|
|
61
62
|
Article(t_fragment_0, t_comp_anchor_1, undefined, $context, t_slots_1);
|
|
62
63
|
|
|
64
|
+
t_comp_anchor_1 = t_reanchor(t_comp_anchor_1) as HTMLElement;
|
|
65
|
+
|
|
63
66
|
// @ts-ignore
|
|
64
|
-
const t_text_3 = t_next(
|
|
67
|
+
const t_text_3 = t_next(t_comp_anchor_1, true);
|
|
65
68
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_3);
|
|
66
69
|
t_next(t_text_3);
|
|
67
70
|
|
|
@@ -3,6 +3,7 @@ import t_add_fragment from "../../../../src/render/addFragment";
|
|
|
3
3
|
import t_anchor from "../../../../src/render/nodeAnchor";
|
|
4
4
|
import t_fragment from "../../../../src/render/getFragment";
|
|
5
5
|
import t_next from "../../../../src/render/nodeNext";
|
|
6
|
+
import t_reanchor from "../../../../src/render/nodeReanchor";
|
|
6
7
|
import t_root from "../../../../src/render/nodeRoot";
|
|
7
8
|
|
|
8
9
|
import Header from "../output/./Header-client"
|
|
@@ -24,13 +25,15 @@ export default function Unused(
|
|
|
24
25
|
const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
|
|
25
26
|
// @ts-ignore
|
|
26
27
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
27
|
-
|
|
28
|
+
let t_comp_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
|
|
28
29
|
|
|
29
30
|
/* @component */
|
|
30
31
|
Header(t_fragment_0, t_comp_anchor_1, undefined, $context);
|
|
31
32
|
|
|
33
|
+
t_comp_anchor_1 = t_reanchor(t_comp_anchor_1) as HTMLElement;
|
|
34
|
+
|
|
32
35
|
// @ts-ignore
|
|
33
|
-
const t_text_1 = t_next(
|
|
36
|
+
const t_text_1 = t_next(t_comp_anchor_1, true);
|
|
34
37
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_1);
|
|
35
38
|
t_next(t_text_1);
|
|
36
39
|
|
|
@@ -4,6 +4,7 @@ import t_anchor from "../../../../src/render/nodeAnchor";
|
|
|
4
4
|
import t_child from "../../../../src/render/nodeChild";
|
|
5
5
|
import t_fragment from "../../../../src/render/getFragment";
|
|
6
6
|
import t_next from "../../../../src/render/nodeNext";
|
|
7
|
+
import t_reanchor from "../../../../src/render/nodeReanchor";
|
|
7
8
|
import t_root from "../../../../src/render/nodeRoot";
|
|
8
9
|
|
|
9
10
|
export default function Article(
|
|
@@ -23,20 +24,26 @@ export default function Article(
|
|
|
23
24
|
// @ts-ignore
|
|
24
25
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
25
26
|
const t_slot_parent_1 = t_next(t_child(t_next(t_root_0))) as HTMLElement;
|
|
26
|
-
|
|
27
|
+
let t_slot_anchor_1 = t_anchor(t_next(t_child(t_slot_parent_1))) as HTMLElement;
|
|
27
28
|
if ($slots && $slots["header"]) {
|
|
28
29
|
$slots["header"](t_slot_parent_1, t_slot_anchor_1, undefined, $context)
|
|
29
30
|
}
|
|
31
|
+
t_slot_anchor_1 = t_reanchor(t_slot_anchor_1) as HTMLElement;
|
|
32
|
+
|
|
30
33
|
const t_slot_parent_2 = t_next(t_root_0) as HTMLElement;
|
|
31
|
-
|
|
34
|
+
let t_slot_anchor_2 = t_anchor(t_next(t_next(t_slot_parent_1, true))) as HTMLElement;
|
|
32
35
|
if ($slots && $slots["_"]) {
|
|
33
36
|
$slots["_"](t_slot_parent_2, t_slot_anchor_2, undefined, $context)
|
|
34
37
|
}
|
|
38
|
+
t_slot_anchor_2 = t_reanchor(t_slot_anchor_2) as HTMLElement;
|
|
39
|
+
|
|
35
40
|
const t_slot_parent_3 = t_slot_parent_2 as HTMLElement;
|
|
36
|
-
|
|
41
|
+
let t_slot_anchor_3 = t_anchor(t_next(t_next(t_slot_anchor_2, true))) as HTMLElement;
|
|
37
42
|
if ($slots && $slots["footer"]) {
|
|
38
43
|
$slots["footer"](t_slot_parent_3, t_slot_anchor_3, undefined, $context)
|
|
39
44
|
}
|
|
45
|
+
t_slot_anchor_3 = t_reanchor(t_slot_anchor_3) as HTMLElement;
|
|
46
|
+
|
|
40
47
|
// @ts-ignore
|
|
41
48
|
const t_text_1 = t_next(t_slot_parent_3, true);
|
|
42
49
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_1);
|
|
@@ -3,6 +3,7 @@ import t_add_fragment from "../../../../src/render/addFragment";
|
|
|
3
3
|
import t_anchor from "../../../../src/render/nodeAnchor";
|
|
4
4
|
import t_fragment from "../../../../src/render/getFragment";
|
|
5
5
|
import t_next from "../../../../src/render/nodeNext";
|
|
6
|
+
import t_reanchor from "../../../../src/render/nodeReanchor";
|
|
6
7
|
import t_root from "../../../../src/render/nodeRoot";
|
|
7
8
|
|
|
8
9
|
import Header from "../output/./Header-client"
|
|
@@ -24,7 +25,7 @@ export default function Basic(
|
|
|
24
25
|
const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
|
|
25
26
|
// @ts-ignore
|
|
26
27
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
27
|
-
|
|
28
|
+
let t_comp_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
|
|
28
29
|
|
|
29
30
|
/* @component */
|
|
30
31
|
const t_slots_1: Record<string, SlotRender> = {};
|
|
@@ -44,8 +45,10 @@ export default function Basic(
|
|
|
44
45
|
}
|
|
45
46
|
Header(t_fragment_0, t_comp_anchor_1, undefined, $context, t_slots_1);
|
|
46
47
|
|
|
48
|
+
t_comp_anchor_1 = t_reanchor(t_comp_anchor_1) as HTMLElement;
|
|
49
|
+
|
|
47
50
|
// @ts-ignore
|
|
48
|
-
const t_text_2 = t_next(
|
|
51
|
+
const t_text_2 = t_next(t_comp_anchor_1, true);
|
|
49
52
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_2);
|
|
50
53
|
t_next(t_text_2);
|
|
51
54
|
|
|
@@ -4,6 +4,7 @@ import t_anchor from "../../../../src/render/nodeAnchor";
|
|
|
4
4
|
import t_child from "../../../../src/render/nodeChild";
|
|
5
5
|
import t_fragment from "../../../../src/render/getFragment";
|
|
6
6
|
import t_next from "../../../../src/render/nodeNext";
|
|
7
|
+
import t_reanchor from "../../../../src/render/nodeReanchor";
|
|
7
8
|
import t_root from "../../../../src/render/nodeRoot";
|
|
8
9
|
|
|
9
10
|
export default function Header(
|
|
@@ -23,7 +24,7 @@ export default function Header(
|
|
|
23
24
|
// @ts-ignore
|
|
24
25
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
25
26
|
const t_slot_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
26
|
-
|
|
27
|
+
let t_slot_anchor_1 = t_anchor(t_next(t_child(t_slot_parent_1))) as HTMLElement;
|
|
27
28
|
if ($slots && $slots["_"]) {
|
|
28
29
|
$slots["_"](t_slot_parent_1, t_slot_anchor_1, undefined, $context)
|
|
29
30
|
} else {
|
|
@@ -33,6 +34,8 @@ export default function Header(
|
|
|
33
34
|
t_add_fragment(t_fragment_1, t_slot_parent_1, t_slot_anchor_1, t_text_1);
|
|
34
35
|
t_next(t_text_1);
|
|
35
36
|
}
|
|
37
|
+
t_slot_anchor_1 = t_reanchor(t_slot_anchor_1) as HTMLElement;
|
|
38
|
+
|
|
36
39
|
// @ts-ignore
|
|
37
40
|
const t_text_2 = t_next(t_slot_parent_1, true);
|
|
38
41
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_2);
|
|
@@ -6,6 +6,7 @@ import t_anchor from "../../../../src/render/nodeAnchor";
|
|
|
6
6
|
import t_fmt from "../../../../src/render/formatText";
|
|
7
7
|
import t_fragment from "../../../../src/render/getFragment";
|
|
8
8
|
import t_next from "../../../../src/render/nodeNext";
|
|
9
|
+
import t_reanchor from "../../../../src/render/nodeReanchor";
|
|
9
10
|
import t_root from "../../../../src/render/nodeRoot";
|
|
10
11
|
|
|
11
12
|
import List from "../output/./List-client"
|
|
@@ -27,7 +28,7 @@ export default function Let(
|
|
|
27
28
|
const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
|
|
28
29
|
// @ts-ignore
|
|
29
30
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
30
|
-
|
|
31
|
+
let t_comp_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
|
|
31
32
|
|
|
32
33
|
/* @component */
|
|
33
34
|
const t_props_1: any = $watch({});
|
|
@@ -54,8 +55,10 @@ export default function Let(
|
|
|
54
55
|
}
|
|
55
56
|
List(t_fragment_0, t_comp_anchor_1, t_props_1, $context, t_slots_1);
|
|
56
57
|
|
|
58
|
+
t_comp_anchor_1 = t_reanchor(t_comp_anchor_1) as HTMLElement;
|
|
59
|
+
|
|
57
60
|
// @ts-ignore
|
|
58
|
-
const t_text_2 = t_next(
|
|
61
|
+
const t_text_2 = t_next(t_comp_anchor_1, true);
|
|
59
62
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_2);
|
|
60
63
|
t_next(t_text_2);
|
|
61
64
|
|
|
@@ -11,6 +11,7 @@ import t_next from "../../../../src/render/nodeNext";
|
|
|
11
11
|
import t_pop_range from "../../../../src/render/popRange";
|
|
12
12
|
import t_push_range from "../../../../src/render/pushRange";
|
|
13
13
|
import t_range from "../../../../src/render/newRange";
|
|
14
|
+
import t_reanchor from "../../../../src/render/nodeReanchor";
|
|
14
15
|
import t_root from "../../../../src/render/nodeRoot";
|
|
15
16
|
import t_run_list from "../../../../src/render/runList";
|
|
16
17
|
|
|
@@ -31,7 +32,7 @@ export default function List(
|
|
|
31
32
|
// @ts-ignore
|
|
32
33
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
33
34
|
const t_for_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
34
|
-
|
|
35
|
+
let t_for_anchor_1 = t_anchor(t_next(t_child(t_for_parent_1))) as HTMLElement;
|
|
35
36
|
|
|
36
37
|
/* @for */
|
|
37
38
|
let t_for_range_1 = t_range();
|
|
@@ -55,7 +56,7 @@ export default function List(
|
|
|
55
56
|
// @ts-ignore
|
|
56
57
|
const t_root_1 = t_root(t_fragment_1, true);
|
|
57
58
|
const t_slot_parent_1 = t_next(t_root_1) as HTMLElement;
|
|
58
|
-
|
|
59
|
+
let t_slot_anchor_1 = t_anchor(t_next(t_child(t_slot_parent_1))) as HTMLElement;
|
|
59
60
|
const t_sprops_1 = $watch({});
|
|
60
61
|
$run(function setProp() {
|
|
61
62
|
t_sprops_1["item"] = t_item.data.item;
|
|
@@ -63,6 +64,8 @@ export default function List(
|
|
|
63
64
|
if ($slots && $slots["_"]) {
|
|
64
65
|
$slots["_"](t_slot_parent_1, t_slot_anchor_1, t_sprops_1, $context)
|
|
65
66
|
}
|
|
67
|
+
t_slot_anchor_1 = t_reanchor(t_slot_anchor_1) as HTMLElement;
|
|
68
|
+
|
|
66
69
|
// @ts-ignore
|
|
67
70
|
const t_text_1 = t_next(t_slot_parent_1, true);
|
|
68
71
|
t_add_fragment(t_fragment_1, t_for_parent_1, t_before, t_text_1);
|
|
@@ -71,6 +74,8 @@ export default function List(
|
|
|
71
74
|
}
|
|
72
75
|
);
|
|
73
76
|
|
|
77
|
+
t_for_anchor_1 = t_reanchor(t_for_anchor_1) as HTMLElement;
|
|
78
|
+
|
|
74
79
|
// @ts-ignore
|
|
75
80
|
const t_text_2 = t_next(t_for_parent_1, true);
|
|
76
81
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_2);
|
|
@@ -3,6 +3,7 @@ import t_add_fragment from "../../../../src/render/addFragment";
|
|
|
3
3
|
import t_anchor from "../../../../src/render/nodeAnchor";
|
|
4
4
|
import t_fragment from "../../../../src/render/getFragment";
|
|
5
5
|
import t_next from "../../../../src/render/nodeNext";
|
|
6
|
+
import t_reanchor from "../../../../src/render/nodeReanchor";
|
|
6
7
|
import t_root from "../../../../src/render/nodeRoot";
|
|
7
8
|
|
|
8
9
|
import Article from "../output/./Article-client"
|
|
@@ -24,7 +25,7 @@ export default function Named(
|
|
|
24
25
|
const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
|
|
25
26
|
// @ts-ignore
|
|
26
27
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
27
|
-
|
|
28
|
+
let t_comp_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
|
|
28
29
|
|
|
29
30
|
/* @component */
|
|
30
31
|
const t_slots_1: Record<string, SlotRender> = {};
|
|
@@ -60,8 +61,10 @@ export default function Named(
|
|
|
60
61
|
}
|
|
61
62
|
Article(t_fragment_0, t_comp_anchor_1, undefined, $context, t_slots_1);
|
|
62
63
|
|
|
64
|
+
t_comp_anchor_1 = t_reanchor(t_comp_anchor_1) as HTMLElement;
|
|
65
|
+
|
|
63
66
|
// @ts-ignore
|
|
64
|
-
const t_text_3 = t_next(
|
|
67
|
+
const t_text_3 = t_next(t_comp_anchor_1, true);
|
|
65
68
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_3);
|
|
66
69
|
t_next(t_text_3);
|
|
67
70
|
|
|
@@ -3,6 +3,7 @@ import t_add_fragment from "../../../../src/render/addFragment";
|
|
|
3
3
|
import t_anchor from "../../../../src/render/nodeAnchor";
|
|
4
4
|
import t_fragment from "../../../../src/render/getFragment";
|
|
5
5
|
import t_next from "../../../../src/render/nodeNext";
|
|
6
|
+
import t_reanchor from "../../../../src/render/nodeReanchor";
|
|
6
7
|
import t_root from "../../../../src/render/nodeRoot";
|
|
7
8
|
|
|
8
9
|
import Header from "../output/./Header-client"
|
|
@@ -24,13 +25,15 @@ export default function Unused(
|
|
|
24
25
|
const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
|
|
25
26
|
// @ts-ignore
|
|
26
27
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
27
|
-
|
|
28
|
+
let t_comp_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
|
|
28
29
|
|
|
29
30
|
/* @component */
|
|
30
31
|
Header(t_fragment_0, t_comp_anchor_1, undefined, $context);
|
|
31
32
|
|
|
33
|
+
t_comp_anchor_1 = t_reanchor(t_comp_anchor_1) as HTMLElement;
|
|
34
|
+
|
|
32
35
|
// @ts-ignore
|
|
33
|
-
const t_text_1 = t_next(
|
|
36
|
+
const t_text_1 = t_next(t_comp_anchor_1, true);
|
|
34
37
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_1);
|
|
35
38
|
t_next(t_text_1);
|
|
36
39
|
|
|
@@ -4,6 +4,7 @@ import t_anchor from "../../../../src/render/nodeAnchor";
|
|
|
4
4
|
import t_child from "../../../../src/render/nodeChild";
|
|
5
5
|
import t_fragment from "../../../../src/render/getFragment";
|
|
6
6
|
import t_next from "../../../../src/render/nodeNext";
|
|
7
|
+
import t_reanchor from "../../../../src/render/nodeReanchor";
|
|
7
8
|
import t_root from "../../../../src/render/nodeRoot";
|
|
8
9
|
|
|
9
10
|
export default function BigTitle(
|
|
@@ -23,10 +24,12 @@ export default function BigTitle(
|
|
|
23
24
|
// @ts-ignore
|
|
24
25
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
25
26
|
const t_slot_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
26
|
-
|
|
27
|
+
let t_slot_anchor_1 = t_anchor(t_next(t_child(t_slot_parent_1))) as HTMLElement;
|
|
27
28
|
if ($slots && $slots["_"]) {
|
|
28
29
|
$slots["_"](t_slot_parent_1, t_slot_anchor_1, undefined, $context)
|
|
29
30
|
}
|
|
31
|
+
t_slot_anchor_1 = t_reanchor(t_slot_anchor_1) as HTMLElement;
|
|
32
|
+
|
|
30
33
|
// @ts-ignore
|
|
31
34
|
const t_text_1 = t_next(t_slot_parent_1, true);
|
|
32
35
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_1);
|
|
@@ -5,6 +5,7 @@ import t_anchor from "../../../../src/render/nodeAnchor";
|
|
|
5
5
|
import t_fragment from "../../../../src/render/getFragment";
|
|
6
6
|
import t_next from "../../../../src/render/nodeNext";
|
|
7
7
|
import t_range from "../../../../src/render/newRange";
|
|
8
|
+
import t_reanchor from "../../../../src/render/nodeReanchor";
|
|
8
9
|
import t_root from "../../../../src/render/nodeRoot";
|
|
9
10
|
import t_run_branch from "../../../../src/render/runControlBranch";
|
|
10
11
|
import t_run_control from "../../../../src/render/runControl";
|
|
@@ -34,7 +35,7 @@ export default function Component(
|
|
|
34
35
|
const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
|
|
35
36
|
// @ts-ignore
|
|
36
37
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
37
|
-
|
|
38
|
+
let t_replace_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
|
|
38
39
|
|
|
39
40
|
/* @replace */
|
|
40
41
|
const t_replace_range_1 = t_range();
|
|
@@ -44,7 +45,7 @@ export default function Component(
|
|
|
44
45
|
const t_fragment_1 = t_fragment($parent.ownerDocument!, t_fragments, 1, `<!>`);
|
|
45
46
|
// @ts-ignore
|
|
46
47
|
const t_root_1 = t_root(t_fragment_1);
|
|
47
|
-
|
|
48
|
+
let t_comp_anchor_1 = t_anchor(t_root_1) as HTMLElement;
|
|
48
49
|
|
|
49
50
|
/* @component */
|
|
50
51
|
const t_props_1: any = $watch({});
|
|
@@ -65,12 +66,16 @@ export default function Component(
|
|
|
65
66
|
}
|
|
66
67
|
components[$props.self](t_fragment_1, t_comp_anchor_1, t_props_1, $context, t_slots_1);
|
|
67
68
|
|
|
69
|
+
t_comp_anchor_1 = t_reanchor(t_comp_anchor_1) as HTMLElement;
|
|
70
|
+
|
|
68
71
|
t_add_fragment(t_fragment_1, t_fragment_0, t_before);
|
|
69
72
|
});
|
|
70
73
|
});
|
|
71
74
|
|
|
75
|
+
t_replace_anchor_1 = t_reanchor(t_replace_anchor_1) as HTMLElement;
|
|
76
|
+
|
|
72
77
|
// @ts-ignore
|
|
73
|
-
const t_text_2 = t_next(
|
|
78
|
+
const t_text_2 = t_next(t_replace_anchor_1, true);
|
|
74
79
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_2);
|
|
75
80
|
t_next(t_text_2);
|
|
76
81
|
|
|
@@ -4,6 +4,7 @@ import t_anchor from "../../../../src/render/nodeAnchor";
|
|
|
4
4
|
import t_child from "../../../../src/render/nodeChild";
|
|
5
5
|
import t_fragment from "../../../../src/render/getFragment";
|
|
6
6
|
import t_next from "../../../../src/render/nodeNext";
|
|
7
|
+
import t_reanchor from "../../../../src/render/nodeReanchor";
|
|
7
8
|
import t_root from "../../../../src/render/nodeRoot";
|
|
8
9
|
|
|
9
10
|
export default function SmallTitle(
|
|
@@ -23,10 +24,12 @@ export default function SmallTitle(
|
|
|
23
24
|
// @ts-ignore
|
|
24
25
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
25
26
|
const t_slot_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
26
|
-
|
|
27
|
+
let t_slot_anchor_1 = t_anchor(t_next(t_child(t_slot_parent_1))) as HTMLElement;
|
|
27
28
|
if ($slots && $slots["_"]) {
|
|
28
29
|
$slots["_"](t_slot_parent_1, t_slot_anchor_1, undefined, $context)
|
|
29
30
|
}
|
|
31
|
+
t_slot_anchor_1 = t_reanchor(t_slot_anchor_1) as HTMLElement;
|
|
32
|
+
|
|
30
33
|
// @ts-ignore
|
|
31
34
|
const t_text_1 = t_next(t_slot_parent_1, true);
|
|
32
35
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_1);
|
|
@@ -4,6 +4,7 @@ import t_anchor from "../../../../src/render/nodeAnchor";
|
|
|
4
4
|
import t_child from "../../../../src/render/nodeChild";
|
|
5
5
|
import t_fragment from "../../../../src/render/getFragment";
|
|
6
6
|
import t_next from "../../../../src/render/nodeNext";
|
|
7
|
+
import t_reanchor from "../../../../src/render/nodeReanchor";
|
|
7
8
|
import t_root from "../../../../src/render/nodeRoot";
|
|
8
9
|
|
|
9
10
|
export default function BigTitle(
|
|
@@ -23,10 +24,12 @@ export default function BigTitle(
|
|
|
23
24
|
// @ts-ignore
|
|
24
25
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
25
26
|
const t_slot_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
26
|
-
|
|
27
|
+
let t_slot_anchor_1 = t_anchor(t_next(t_child(t_slot_parent_1))) as HTMLElement;
|
|
27
28
|
if ($slots && $slots["_"]) {
|
|
28
29
|
$slots["_"](t_slot_parent_1, t_slot_anchor_1, undefined, $context)
|
|
29
30
|
}
|
|
31
|
+
t_slot_anchor_1 = t_reanchor(t_slot_anchor_1) as HTMLElement;
|
|
32
|
+
|
|
30
33
|
// @ts-ignore
|
|
31
34
|
const t_text_1 = t_next(t_slot_parent_1, true);
|
|
32
35
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_1);
|
|
@@ -5,6 +5,7 @@ import t_anchor from "../../../../src/render/nodeAnchor";
|
|
|
5
5
|
import t_fragment from "../../../../src/render/getFragment";
|
|
6
6
|
import t_next from "../../../../src/render/nodeNext";
|
|
7
7
|
import t_range from "../../../../src/render/newRange";
|
|
8
|
+
import t_reanchor from "../../../../src/render/nodeReanchor";
|
|
8
9
|
import t_root from "../../../../src/render/nodeRoot";
|
|
9
10
|
import t_run_branch from "../../../../src/render/runControlBranch";
|
|
10
11
|
import t_run_control from "../../../../src/render/runControl";
|
|
@@ -34,7 +35,7 @@ export default function Component(
|
|
|
34
35
|
const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
|
|
35
36
|
// @ts-ignore
|
|
36
37
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
37
|
-
|
|
38
|
+
let t_replace_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
|
|
38
39
|
|
|
39
40
|
/* @replace */
|
|
40
41
|
const t_replace_range_1 = t_range();
|
|
@@ -44,7 +45,7 @@ export default function Component(
|
|
|
44
45
|
const t_fragment_1 = t_fragment($parent.ownerDocument!, t_fragments, 1, `<!>`);
|
|
45
46
|
// @ts-ignore
|
|
46
47
|
const t_root_1 = t_root(t_fragment_1);
|
|
47
|
-
|
|
48
|
+
let t_comp_anchor_1 = t_anchor(t_root_1) as HTMLElement;
|
|
48
49
|
|
|
49
50
|
/* @component */
|
|
50
51
|
const t_props_1: any = $watch({});
|
|
@@ -65,12 +66,16 @@ export default function Component(
|
|
|
65
66
|
}
|
|
66
67
|
components[$props.self](t_fragment_1, t_comp_anchor_1, t_props_1, $context, t_slots_1);
|
|
67
68
|
|
|
69
|
+
t_comp_anchor_1 = t_reanchor(t_comp_anchor_1) as HTMLElement;
|
|
70
|
+
|
|
68
71
|
t_add_fragment(t_fragment_1, t_fragment_0, t_before);
|
|
69
72
|
});
|
|
70
73
|
});
|
|
71
74
|
|
|
75
|
+
t_replace_anchor_1 = t_reanchor(t_replace_anchor_1) as HTMLElement;
|
|
76
|
+
|
|
72
77
|
// @ts-ignore
|
|
73
|
-
const t_text_2 = t_next(
|
|
78
|
+
const t_text_2 = t_next(t_replace_anchor_1, true);
|
|
74
79
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_2);
|
|
75
80
|
t_next(t_text_2);
|
|
76
81
|
|
|
@@ -4,6 +4,7 @@ import t_anchor from "../../../../src/render/nodeAnchor";
|
|
|
4
4
|
import t_child from "../../../../src/render/nodeChild";
|
|
5
5
|
import t_fragment from "../../../../src/render/getFragment";
|
|
6
6
|
import t_next from "../../../../src/render/nodeNext";
|
|
7
|
+
import t_reanchor from "../../../../src/render/nodeReanchor";
|
|
7
8
|
import t_root from "../../../../src/render/nodeRoot";
|
|
8
9
|
|
|
9
10
|
export default function SmallTitle(
|
|
@@ -23,10 +24,12 @@ export default function SmallTitle(
|
|
|
23
24
|
// @ts-ignore
|
|
24
25
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
25
26
|
const t_slot_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
26
|
-
|
|
27
|
+
let t_slot_anchor_1 = t_anchor(t_next(t_child(t_slot_parent_1))) as HTMLElement;
|
|
27
28
|
if ($slots && $slots["_"]) {
|
|
28
29
|
$slots["_"](t_slot_parent_1, t_slot_anchor_1, undefined, $context)
|
|
29
30
|
}
|
|
31
|
+
t_slot_anchor_1 = t_reanchor(t_slot_anchor_1) as HTMLElement;
|
|
32
|
+
|
|
30
33
|
// @ts-ignore
|
|
31
34
|
const t_text_1 = t_next(t_slot_parent_1, true);
|
|
32
35
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_1);
|
|
@@ -8,6 +8,7 @@ import t_fmt from "../../../../src/render/formatText";
|
|
|
8
8
|
import t_fragment from "../../../../src/render/getFragment";
|
|
9
9
|
import t_next from "../../../../src/render/nodeNext";
|
|
10
10
|
import t_range from "../../../../src/render/newRange";
|
|
11
|
+
import t_reanchor from "../../../../src/render/nodeReanchor";
|
|
11
12
|
import t_root from "../../../../src/render/nodeRoot";
|
|
12
13
|
import t_run_branch from "../../../../src/render/runControlBranch";
|
|
13
14
|
import t_run_control from "../../../../src/render/runControl";
|
|
@@ -31,7 +32,7 @@ export default function Self(
|
|
|
31
32
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
32
33
|
const t_text_1 = t_child(t_next(t_root_0));
|
|
33
34
|
const t_if_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
34
|
-
|
|
35
|
+
let t_if_anchor_1 = t_anchor(t_next(t_text_1)) as HTMLElement;
|
|
35
36
|
|
|
36
37
|
/* @if */
|
|
37
38
|
const t_if_range_1 = t_range();
|
|
@@ -41,7 +42,7 @@ export default function Self(
|
|
|
41
42
|
const t_fragment_1 = t_fragment($parent.ownerDocument!, t_fragments, 1, ` <!> `);
|
|
42
43
|
// @ts-ignore
|
|
43
44
|
const t_root_1 = t_root(t_fragment_1, true);
|
|
44
|
-
|
|
45
|
+
let t_comp_anchor_1 = t_anchor(t_next(t_root_1)) as HTMLElement;
|
|
45
46
|
|
|
46
47
|
/* @component */
|
|
47
48
|
const t_props_1: any = $watch({});
|
|
@@ -50,8 +51,10 @@ export default function Self(
|
|
|
50
51
|
});
|
|
51
52
|
Self(t_fragment_1, t_comp_anchor_1, t_props_1, $context);
|
|
52
53
|
|
|
54
|
+
t_comp_anchor_1 = t_reanchor(t_comp_anchor_1) as HTMLElement;
|
|
55
|
+
|
|
53
56
|
// @ts-ignore
|
|
54
|
-
const t_text_2 = t_next(
|
|
57
|
+
const t_text_2 = t_next(t_comp_anchor_1, true);
|
|
55
58
|
t_add_fragment(t_fragment_1, t_if_parent_1, t_before, t_text_2);
|
|
56
59
|
t_next(t_text_2);
|
|
57
60
|
});
|
|
@@ -62,6 +65,8 @@ export default function Self(
|
|
|
62
65
|
}
|
|
63
66
|
});
|
|
64
67
|
|
|
68
|
+
t_if_anchor_1 = t_reanchor(t_if_anchor_1) as HTMLElement;
|
|
69
|
+
|
|
65
70
|
// @ts-ignore
|
|
66
71
|
const t_text_3 = t_next(t_if_parent_1, true);
|
|
67
72
|
$run(function setTextContent() {
|
|
@@ -8,6 +8,7 @@ import t_fmt from "../../../../src/render/formatText";
|
|
|
8
8
|
import t_fragment from "../../../../src/render/getFragment";
|
|
9
9
|
import t_next from "../../../../src/render/nodeNext";
|
|
10
10
|
import t_range from "../../../../src/render/newRange";
|
|
11
|
+
import t_reanchor from "../../../../src/render/nodeReanchor";
|
|
11
12
|
import t_root from "../../../../src/render/nodeRoot";
|
|
12
13
|
import t_run_branch from "../../../../src/render/runControlBranch";
|
|
13
14
|
import t_run_control from "../../../../src/render/runControl";
|
|
@@ -31,7 +32,7 @@ export default function Self(
|
|
|
31
32
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
32
33
|
const t_text_1 = t_child(t_next(t_root_0));
|
|
33
34
|
const t_if_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
34
|
-
|
|
35
|
+
let t_if_anchor_1 = t_anchor(t_next(t_text_1)) as HTMLElement;
|
|
35
36
|
|
|
36
37
|
/* @if */
|
|
37
38
|
const t_if_range_1 = t_range();
|
|
@@ -41,7 +42,7 @@ export default function Self(
|
|
|
41
42
|
const t_fragment_1 = t_fragment($parent.ownerDocument!, t_fragments, 1, ` <!> `);
|
|
42
43
|
// @ts-ignore
|
|
43
44
|
const t_root_1 = t_root(t_fragment_1, true);
|
|
44
|
-
|
|
45
|
+
let t_comp_anchor_1 = t_anchor(t_next(t_root_1)) as HTMLElement;
|
|
45
46
|
|
|
46
47
|
/* @component */
|
|
47
48
|
const t_props_1: any = $watch({});
|
|
@@ -50,8 +51,10 @@ export default function Self(
|
|
|
50
51
|
});
|
|
51
52
|
Self(t_fragment_1, t_comp_anchor_1, t_props_1, $context);
|
|
52
53
|
|
|
54
|
+
t_comp_anchor_1 = t_reanchor(t_comp_anchor_1) as HTMLElement;
|
|
55
|
+
|
|
53
56
|
// @ts-ignore
|
|
54
|
-
const t_text_2 = t_next(
|
|
57
|
+
const t_text_2 = t_next(t_comp_anchor_1, true);
|
|
55
58
|
t_add_fragment(t_fragment_1, t_if_parent_1, t_before, t_text_2);
|
|
56
59
|
t_next(t_text_2);
|
|
57
60
|
});
|
|
@@ -62,6 +65,8 @@ export default function Self(
|
|
|
62
65
|
}
|
|
63
66
|
});
|
|
64
67
|
|
|
68
|
+
t_if_anchor_1 = t_reanchor(t_if_anchor_1) as HTMLElement;
|
|
69
|
+
|
|
65
70
|
// @ts-ignore
|
|
66
71
|
const t_text_3 = t_next(t_if_parent_1, true);
|
|
67
72
|
$run(function setTextContent() {
|
|
@@ -6,6 +6,7 @@ import t_child from "../../../../src/render/nodeChild";
|
|
|
6
6
|
import t_fragment from "../../../../src/render/getFragment";
|
|
7
7
|
import t_next from "../../../../src/render/nodeNext";
|
|
8
8
|
import t_range from "../../../../src/render/newRange";
|
|
9
|
+
import t_reanchor from "../../../../src/render/nodeReanchor";
|
|
9
10
|
import t_root from "../../../../src/render/nodeRoot";
|
|
10
11
|
import t_run_branch from "../../../../src/render/runControlBranch";
|
|
11
12
|
import t_run_control from "../../../../src/render/runControl";
|
|
@@ -28,7 +29,7 @@ export default function Shape(
|
|
|
28
29
|
// @ts-ignore
|
|
29
30
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
30
31
|
const t_if_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
31
|
-
|
|
32
|
+
let t_if_anchor_1 = t_anchor(t_next(t_child(t_if_parent_1))) as HTMLElement;
|
|
32
33
|
|
|
33
34
|
/* @if */
|
|
34
35
|
const t_if_range_1 = t_range();
|
|
@@ -57,6 +58,8 @@ export default function Shape(
|
|
|
57
58
|
}
|
|
58
59
|
});
|
|
59
60
|
|
|
61
|
+
t_if_anchor_1 = t_reanchor(t_if_anchor_1) as HTMLElement;
|
|
62
|
+
|
|
60
63
|
// @ts-ignore
|
|
61
64
|
const t_text_3 = t_next(t_if_parent_1, true);
|
|
62
65
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_3);
|
|
@@ -6,6 +6,7 @@ import t_child from "../../../../src/render/nodeChild";
|
|
|
6
6
|
import t_fragment from "../../../../src/render/getFragment";
|
|
7
7
|
import t_next from "../../../../src/render/nodeNext";
|
|
8
8
|
import t_range from "../../../../src/render/newRange";
|
|
9
|
+
import t_reanchor from "../../../../src/render/nodeReanchor";
|
|
9
10
|
import t_root from "../../../../src/render/nodeRoot";
|
|
10
11
|
import t_run_branch from "../../../../src/render/runControlBranch";
|
|
11
12
|
import t_run_control from "../../../../src/render/runControl";
|
|
@@ -28,7 +29,7 @@ export default function Shape(
|
|
|
28
29
|
// @ts-ignore
|
|
29
30
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
30
31
|
const t_if_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
31
|
-
|
|
32
|
+
let t_if_anchor_1 = t_anchor(t_next(t_child(t_if_parent_1))) as HTMLElement;
|
|
32
33
|
|
|
33
34
|
/* @if */
|
|
34
35
|
const t_if_range_1 = t_range();
|
|
@@ -57,6 +58,8 @@ export default function Shape(
|
|
|
57
58
|
}
|
|
58
59
|
});
|
|
59
60
|
|
|
61
|
+
t_if_anchor_1 = t_reanchor(t_if_anchor_1) as HTMLElement;
|
|
62
|
+
|
|
60
63
|
// @ts-ignore
|
|
61
64
|
const t_text_3 = t_next(t_if_parent_1, true);
|
|
62
65
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_3);
|