@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
|
@@ -13,6 +13,7 @@ import t_next from "../../../../src/render/nodeNext";
|
|
|
13
13
|
import t_pop_range from "../../../../src/render/popRange";
|
|
14
14
|
import t_push_range from "../../../../src/render/pushRange";
|
|
15
15
|
import t_range from "../../../../src/render/newRange";
|
|
16
|
+
import t_reanchor from "../../../../src/render/nodeReanchor";
|
|
16
17
|
import t_root from "../../../../src/render/nodeRoot";
|
|
17
18
|
import t_run_list from "../../../../src/render/runList";
|
|
18
19
|
|
|
@@ -36,7 +37,7 @@ export default function ForEscape(
|
|
|
36
37
|
// @ts-ignore
|
|
37
38
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
38
39
|
const t_for_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
39
|
-
|
|
40
|
+
let t_for_anchor_1 = t_anchor(t_next(t_child(t_for_parent_1))) as HTMLElement;
|
|
40
41
|
|
|
41
42
|
/* @for */
|
|
42
43
|
let t_for_range_1 = t_range();
|
|
@@ -100,6 +101,8 @@ export default function ForEscape(
|
|
|
100
101
|
}
|
|
101
102
|
);
|
|
102
103
|
|
|
104
|
+
t_for_anchor_1 = t_reanchor(t_for_anchor_1) as HTMLElement;
|
|
105
|
+
|
|
103
106
|
// @ts-ignore
|
|
104
107
|
const t_text_3 = t_next(t_for_parent_1, true);
|
|
105
108
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_3);
|
|
@@ -12,6 +12,7 @@ import t_next from "../../../../src/render/nodeNext";
|
|
|
12
12
|
import t_pop_range from "../../../../src/render/popRange";
|
|
13
13
|
import t_push_range from "../../../../src/render/pushRange";
|
|
14
14
|
import t_range from "../../../../src/render/newRange";
|
|
15
|
+
import t_reanchor from "../../../../src/render/nodeReanchor";
|
|
15
16
|
import t_root from "../../../../src/render/nodeRoot";
|
|
16
17
|
import t_run_list from "../../../../src/render/runList";
|
|
17
18
|
|
|
@@ -33,7 +34,7 @@ export default function ForIn(
|
|
|
33
34
|
// @ts-ignore
|
|
34
35
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
35
36
|
const t_for_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
36
|
-
|
|
37
|
+
let t_for_anchor_1 = t_anchor(t_next(t_child(t_for_parent_1))) as HTMLElement;
|
|
37
38
|
|
|
38
39
|
/* @for */
|
|
39
40
|
let t_for_range_1 = t_range();
|
|
@@ -68,6 +69,8 @@ export default function ForIn(
|
|
|
68
69
|
}
|
|
69
70
|
);
|
|
70
71
|
|
|
72
|
+
t_for_anchor_1 = t_reanchor(t_for_anchor_1) as HTMLElement;
|
|
73
|
+
|
|
71
74
|
// @ts-ignore
|
|
72
75
|
const t_text_3 = t_next(t_for_parent_1, true);
|
|
73
76
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_3);
|
|
@@ -12,6 +12,7 @@ import t_next from "../../../../src/render/nodeNext";
|
|
|
12
12
|
import t_pop_range from "../../../../src/render/popRange";
|
|
13
13
|
import t_push_range from "../../../../src/render/pushRange";
|
|
14
14
|
import t_range from "../../../../src/render/newRange";
|
|
15
|
+
import t_reanchor from "../../../../src/render/nodeReanchor";
|
|
15
16
|
import t_root from "../../../../src/render/nodeRoot";
|
|
16
17
|
import t_run_list from "../../../../src/render/runList";
|
|
17
18
|
|
|
@@ -33,7 +34,7 @@ export default function ForOf(
|
|
|
33
34
|
// @ts-ignore
|
|
34
35
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
35
36
|
const t_for_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
36
|
-
|
|
37
|
+
let t_for_anchor_1 = t_anchor(t_next(t_child(t_for_parent_1))) as HTMLElement;
|
|
37
38
|
|
|
38
39
|
/* @for */
|
|
39
40
|
let t_for_range_1 = t_range();
|
|
@@ -68,6 +69,8 @@ export default function ForOf(
|
|
|
68
69
|
}
|
|
69
70
|
);
|
|
70
71
|
|
|
72
|
+
t_for_anchor_1 = t_reanchor(t_for_anchor_1) as HTMLElement;
|
|
73
|
+
|
|
71
74
|
// @ts-ignore
|
|
72
75
|
const t_text_3 = t_next(t_for_parent_1, true);
|
|
73
76
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_3);
|
|
@@ -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
|
|
|
@@ -32,7 +33,7 @@ export default function For(
|
|
|
32
33
|
// @ts-ignore
|
|
33
34
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
34
35
|
const t_for_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
35
|
-
|
|
36
|
+
let t_for_anchor_1 = t_anchor(t_next(t_child(t_for_parent_1))) as HTMLElement;
|
|
36
37
|
|
|
37
38
|
/* @for */
|
|
38
39
|
let t_for_range_1 = t_range();
|
|
@@ -67,6 +68,8 @@ export default function For(
|
|
|
67
68
|
}
|
|
68
69
|
);
|
|
69
70
|
|
|
71
|
+
t_for_anchor_1 = t_reanchor(t_for_anchor_1) as HTMLElement;
|
|
72
|
+
|
|
70
73
|
// @ts-ignore
|
|
71
74
|
const t_text_3 = t_next(t_for_parent_1, true);
|
|
72
75
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_3);
|
|
@@ -13,6 +13,7 @@ import t_next from "../../../../src/render/nodeNext";
|
|
|
13
13
|
import t_pop_range from "../../../../src/render/popRange";
|
|
14
14
|
import t_push_range from "../../../../src/render/pushRange";
|
|
15
15
|
import t_range from "../../../../src/render/newRange";
|
|
16
|
+
import t_reanchor from "../../../../src/render/nodeReanchor";
|
|
16
17
|
import t_root from "../../../../src/render/nodeRoot";
|
|
17
18
|
import t_run_list from "../../../../src/render/runList";
|
|
18
19
|
|
|
@@ -36,7 +37,7 @@ export default function ForEscape(
|
|
|
36
37
|
// @ts-ignore
|
|
37
38
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
38
39
|
const t_for_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
39
|
-
|
|
40
|
+
let t_for_anchor_1 = t_anchor(t_next(t_child(t_for_parent_1))) as HTMLElement;
|
|
40
41
|
|
|
41
42
|
/* @for */
|
|
42
43
|
let t_for_range_1 = t_range();
|
|
@@ -100,6 +101,8 @@ export default function ForEscape(
|
|
|
100
101
|
}
|
|
101
102
|
);
|
|
102
103
|
|
|
104
|
+
t_for_anchor_1 = t_reanchor(t_for_anchor_1) as HTMLElement;
|
|
105
|
+
|
|
103
106
|
// @ts-ignore
|
|
104
107
|
const t_text_3 = t_next(t_for_parent_1, true);
|
|
105
108
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_3);
|
|
@@ -12,6 +12,7 @@ import t_next from "../../../../src/render/nodeNext";
|
|
|
12
12
|
import t_pop_range from "../../../../src/render/popRange";
|
|
13
13
|
import t_push_range from "../../../../src/render/pushRange";
|
|
14
14
|
import t_range from "../../../../src/render/newRange";
|
|
15
|
+
import t_reanchor from "../../../../src/render/nodeReanchor";
|
|
15
16
|
import t_root from "../../../../src/render/nodeRoot";
|
|
16
17
|
import t_run_list from "../../../../src/render/runList";
|
|
17
18
|
|
|
@@ -33,7 +34,7 @@ export default function ForIn(
|
|
|
33
34
|
// @ts-ignore
|
|
34
35
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
35
36
|
const t_for_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
36
|
-
|
|
37
|
+
let t_for_anchor_1 = t_anchor(t_next(t_child(t_for_parent_1))) as HTMLElement;
|
|
37
38
|
|
|
38
39
|
/* @for */
|
|
39
40
|
let t_for_range_1 = t_range();
|
|
@@ -68,6 +69,8 @@ export default function ForIn(
|
|
|
68
69
|
}
|
|
69
70
|
);
|
|
70
71
|
|
|
72
|
+
t_for_anchor_1 = t_reanchor(t_for_anchor_1) as HTMLElement;
|
|
73
|
+
|
|
71
74
|
// @ts-ignore
|
|
72
75
|
const t_text_3 = t_next(t_for_parent_1, true);
|
|
73
76
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_3);
|
|
@@ -12,6 +12,7 @@ import t_next from "../../../../src/render/nodeNext";
|
|
|
12
12
|
import t_pop_range from "../../../../src/render/popRange";
|
|
13
13
|
import t_push_range from "../../../../src/render/pushRange";
|
|
14
14
|
import t_range from "../../../../src/render/newRange";
|
|
15
|
+
import t_reanchor from "../../../../src/render/nodeReanchor";
|
|
15
16
|
import t_root from "../../../../src/render/nodeRoot";
|
|
16
17
|
import t_run_list from "../../../../src/render/runList";
|
|
17
18
|
|
|
@@ -33,7 +34,7 @@ export default function ForOf(
|
|
|
33
34
|
// @ts-ignore
|
|
34
35
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
35
36
|
const t_for_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
36
|
-
|
|
37
|
+
let t_for_anchor_1 = t_anchor(t_next(t_child(t_for_parent_1))) as HTMLElement;
|
|
37
38
|
|
|
38
39
|
/* @for */
|
|
39
40
|
let t_for_range_1 = t_range();
|
|
@@ -68,6 +69,8 @@ export default function ForOf(
|
|
|
68
69
|
}
|
|
69
70
|
);
|
|
70
71
|
|
|
72
|
+
t_for_anchor_1 = t_reanchor(t_for_anchor_1) as HTMLElement;
|
|
73
|
+
|
|
71
74
|
// @ts-ignore
|
|
72
75
|
const t_text_3 = t_next(t_for_parent_1, true);
|
|
73
76
|
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 Html(
|
|
|
28
29
|
// @ts-ignore
|
|
29
30
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
30
31
|
const t_html_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
31
|
-
|
|
32
|
+
let t_html_anchor_1 = t_anchor(t_next(t_child(t_html_parent_1))) as HTMLElement;
|
|
32
33
|
|
|
33
34
|
/* @html */
|
|
34
35
|
const t_html_range_1 = t_range();
|
|
@@ -42,6 +43,8 @@ export default function Html(
|
|
|
42
43
|
});
|
|
43
44
|
});
|
|
44
45
|
|
|
46
|
+
t_html_anchor_1 = t_reanchor(t_html_anchor_1) as HTMLElement;
|
|
47
|
+
|
|
45
48
|
// @ts-ignore
|
|
46
49
|
const t_text_1 = t_next(t_html_parent_1, true);
|
|
47
50
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_1);
|
|
@@ -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 Html(
|
|
|
28
29
|
// @ts-ignore
|
|
29
30
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
30
31
|
const t_html_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
31
|
-
|
|
32
|
+
let t_html_anchor_1 = t_anchor(t_next(t_child(t_html_parent_1))) as HTMLElement;
|
|
32
33
|
|
|
33
34
|
/* @html */
|
|
34
35
|
const t_html_range_1 = t_range();
|
|
@@ -42,6 +43,8 @@ export default function Html(
|
|
|
42
43
|
});
|
|
43
44
|
});
|
|
44
45
|
|
|
46
|
+
t_html_anchor_1 = t_reanchor(t_html_anchor_1) as HTMLElement;
|
|
47
|
+
|
|
45
48
|
// @ts-ignore
|
|
46
49
|
const t_text_1 = t_next(t_html_parent_1, true);
|
|
47
50
|
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";
|
|
@@ -26,7 +27,7 @@ export default function IfAfterIf(
|
|
|
26
27
|
const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> <!> `);
|
|
27
28
|
// @ts-ignore
|
|
28
29
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
29
|
-
|
|
30
|
+
let t_if_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
|
|
30
31
|
|
|
31
32
|
/* @if */
|
|
32
33
|
const t_if_range_1 = t_range();
|
|
@@ -48,7 +49,9 @@ export default function IfAfterIf(
|
|
|
48
49
|
}
|
|
49
50
|
});
|
|
50
51
|
|
|
51
|
-
|
|
52
|
+
t_if_anchor_1 = t_reanchor(t_if_anchor_1) as HTMLElement;
|
|
53
|
+
|
|
54
|
+
let t_if_anchor_2 = t_anchor(t_next(t_next(t_if_anchor_1, true))) as HTMLElement;
|
|
52
55
|
|
|
53
56
|
/* @if */
|
|
54
57
|
const t_if_range_2 = t_range();
|
|
@@ -70,8 +73,10 @@ export default function IfAfterIf(
|
|
|
70
73
|
}
|
|
71
74
|
});
|
|
72
75
|
|
|
76
|
+
t_if_anchor_2 = t_reanchor(t_if_anchor_2) as HTMLElement;
|
|
77
|
+
|
|
73
78
|
// @ts-ignore
|
|
74
|
-
const t_text_3 = t_next(
|
|
79
|
+
const t_text_3 = t_next(t_if_anchor_2, true);
|
|
75
80
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_3);
|
|
76
81
|
t_next(t_text_3);
|
|
77
82
|
|
|
@@ -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";
|
|
@@ -26,7 +27,7 @@ export default function IfElse(
|
|
|
26
27
|
const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
|
|
27
28
|
// @ts-ignore
|
|
28
29
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
29
|
-
|
|
30
|
+
let t_if_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
|
|
30
31
|
|
|
31
32
|
/* @if */
|
|
32
33
|
const t_if_range_1 = t_range();
|
|
@@ -55,8 +56,10 @@ export default function IfElse(
|
|
|
55
56
|
}
|
|
56
57
|
});
|
|
57
58
|
|
|
59
|
+
t_if_anchor_1 = t_reanchor(t_if_anchor_1) as HTMLElement;
|
|
60
|
+
|
|
58
61
|
// @ts-ignore
|
|
59
|
-
const t_text_3 = t_next(
|
|
62
|
+
const t_text_3 = t_next(t_if_anchor_1, true);
|
|
60
63
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_3);
|
|
61
64
|
t_next(t_text_3);
|
|
62
65
|
|
|
@@ -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";
|
|
@@ -26,7 +27,7 @@ export default function IfElseIf(
|
|
|
26
27
|
const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
|
|
27
28
|
// @ts-ignore
|
|
28
29
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
29
|
-
|
|
30
|
+
let t_if_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
|
|
30
31
|
|
|
31
32
|
/* @if */
|
|
32
33
|
const t_if_range_1 = t_range();
|
|
@@ -66,8 +67,10 @@ export default function IfElseIf(
|
|
|
66
67
|
}
|
|
67
68
|
});
|
|
68
69
|
|
|
70
|
+
t_if_anchor_1 = t_reanchor(t_if_anchor_1) as HTMLElement;
|
|
71
|
+
|
|
69
72
|
// @ts-ignore
|
|
70
|
-
const t_text_4 = t_next(
|
|
73
|
+
const t_text_4 = t_next(t_if_anchor_1, true);
|
|
71
74
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_4);
|
|
72
75
|
t_next(t_text_4);
|
|
73
76
|
|
|
@@ -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";
|
|
@@ -26,7 +27,7 @@ export default function IfFalse(
|
|
|
26
27
|
const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
|
|
27
28
|
// @ts-ignore
|
|
28
29
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
29
|
-
|
|
30
|
+
let t_if_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
|
|
30
31
|
|
|
31
32
|
/* @if */
|
|
32
33
|
const t_if_range_1 = t_range();
|
|
@@ -48,8 +49,10 @@ export default function IfFalse(
|
|
|
48
49
|
}
|
|
49
50
|
});
|
|
50
51
|
|
|
52
|
+
t_if_anchor_1 = t_reanchor(t_if_anchor_1) as HTMLElement;
|
|
53
|
+
|
|
51
54
|
// @ts-ignore
|
|
52
|
-
const t_text_2 = t_next(
|
|
55
|
+
const t_text_2 = t_next(t_if_anchor_1, true);
|
|
53
56
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_2);
|
|
54
57
|
t_next(t_text_2);
|
|
55
58
|
|
|
@@ -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";
|
|
@@ -26,7 +27,7 @@ export default function IfNested(
|
|
|
26
27
|
const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
|
|
27
28
|
// @ts-ignore
|
|
28
29
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
29
|
-
|
|
30
|
+
let t_if_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
|
|
30
31
|
|
|
31
32
|
/* @if */
|
|
32
33
|
const t_if_range_1 = t_range();
|
|
@@ -36,7 +37,7 @@ export default function IfNested(
|
|
|
36
37
|
const t_fragment_1 = t_fragment($parent.ownerDocument!, t_fragments, 1, ` <!> `);
|
|
37
38
|
// @ts-ignore
|
|
38
39
|
const t_root_1 = t_root(t_fragment_1, true);
|
|
39
|
-
|
|
40
|
+
let t_if_anchor_2 = t_anchor(t_next(t_root_1)) as HTMLElement;
|
|
40
41
|
|
|
41
42
|
/* @if */
|
|
42
43
|
const t_if_range_2 = t_range();
|
|
@@ -65,8 +66,10 @@ export default function IfNested(
|
|
|
65
66
|
}
|
|
66
67
|
});
|
|
67
68
|
|
|
69
|
+
t_if_anchor_2 = t_reanchor(t_if_anchor_2) as HTMLElement;
|
|
70
|
+
|
|
68
71
|
// @ts-ignore
|
|
69
|
-
const t_text_3 = t_next(
|
|
72
|
+
const t_text_3 = t_next(t_if_anchor_2, true);
|
|
70
73
|
t_add_fragment(t_fragment_1, t_fragment_0, t_before, t_text_3);
|
|
71
74
|
t_next(t_text_3);
|
|
72
75
|
});
|
|
@@ -84,8 +87,10 @@ export default function IfNested(
|
|
|
84
87
|
}
|
|
85
88
|
});
|
|
86
89
|
|
|
90
|
+
t_if_anchor_1 = t_reanchor(t_if_anchor_1) as HTMLElement;
|
|
91
|
+
|
|
87
92
|
// @ts-ignore
|
|
88
|
-
const t_text_5 = t_next(
|
|
93
|
+
const t_text_5 = t_next(t_if_anchor_1, true);
|
|
89
94
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_5);
|
|
90
95
|
t_next(t_text_5);
|
|
91
96
|
|
|
@@ -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";
|
|
@@ -26,7 +27,7 @@ export default function IfAfterIf(
|
|
|
26
27
|
const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> <!> `);
|
|
27
28
|
// @ts-ignore
|
|
28
29
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
29
|
-
|
|
30
|
+
let t_if_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
|
|
30
31
|
|
|
31
32
|
/* @if */
|
|
32
33
|
const t_if_range_1 = t_range();
|
|
@@ -48,7 +49,9 @@ export default function IfAfterIf(
|
|
|
48
49
|
}
|
|
49
50
|
});
|
|
50
51
|
|
|
51
|
-
|
|
52
|
+
t_if_anchor_1 = t_reanchor(t_if_anchor_1) as HTMLElement;
|
|
53
|
+
|
|
54
|
+
let t_if_anchor_2 = t_anchor(t_next(t_next(t_if_anchor_1, true))) as HTMLElement;
|
|
52
55
|
|
|
53
56
|
/* @if */
|
|
54
57
|
const t_if_range_2 = t_range();
|
|
@@ -70,8 +73,10 @@ export default function IfAfterIf(
|
|
|
70
73
|
}
|
|
71
74
|
});
|
|
72
75
|
|
|
76
|
+
t_if_anchor_2 = t_reanchor(t_if_anchor_2) as HTMLElement;
|
|
77
|
+
|
|
73
78
|
// @ts-ignore
|
|
74
|
-
const t_text_3 = t_next(
|
|
79
|
+
const t_text_3 = t_next(t_if_anchor_2, true);
|
|
75
80
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_3);
|
|
76
81
|
t_next(t_text_3);
|
|
77
82
|
|
|
@@ -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";
|
|
@@ -26,7 +27,7 @@ export default function IfElse(
|
|
|
26
27
|
const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
|
|
27
28
|
// @ts-ignore
|
|
28
29
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
29
|
-
|
|
30
|
+
let t_if_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
|
|
30
31
|
|
|
31
32
|
/* @if */
|
|
32
33
|
const t_if_range_1 = t_range();
|
|
@@ -55,8 +56,10 @@ export default function IfElse(
|
|
|
55
56
|
}
|
|
56
57
|
});
|
|
57
58
|
|
|
59
|
+
t_if_anchor_1 = t_reanchor(t_if_anchor_1) as HTMLElement;
|
|
60
|
+
|
|
58
61
|
// @ts-ignore
|
|
59
|
-
const t_text_3 = t_next(
|
|
62
|
+
const t_text_3 = t_next(t_if_anchor_1, true);
|
|
60
63
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_3);
|
|
61
64
|
t_next(t_text_3);
|
|
62
65
|
|
|
@@ -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";
|
|
@@ -26,7 +27,7 @@ export default function IfElseIf(
|
|
|
26
27
|
const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
|
|
27
28
|
// @ts-ignore
|
|
28
29
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
29
|
-
|
|
30
|
+
let t_if_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
|
|
30
31
|
|
|
31
32
|
/* @if */
|
|
32
33
|
const t_if_range_1 = t_range();
|
|
@@ -66,8 +67,10 @@ export default function IfElseIf(
|
|
|
66
67
|
}
|
|
67
68
|
});
|
|
68
69
|
|
|
70
|
+
t_if_anchor_1 = t_reanchor(t_if_anchor_1) as HTMLElement;
|
|
71
|
+
|
|
69
72
|
// @ts-ignore
|
|
70
|
-
const t_text_4 = t_next(
|
|
73
|
+
const t_text_4 = t_next(t_if_anchor_1, true);
|
|
71
74
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_4);
|
|
72
75
|
t_next(t_text_4);
|
|
73
76
|
|
|
@@ -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";
|
|
@@ -26,7 +27,7 @@ export default function IfFalse(
|
|
|
26
27
|
const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
|
|
27
28
|
// @ts-ignore
|
|
28
29
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
29
|
-
|
|
30
|
+
let t_if_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
|
|
30
31
|
|
|
31
32
|
/* @if */
|
|
32
33
|
const t_if_range_1 = t_range();
|
|
@@ -48,8 +49,10 @@ export default function IfFalse(
|
|
|
48
49
|
}
|
|
49
50
|
});
|
|
50
51
|
|
|
52
|
+
t_if_anchor_1 = t_reanchor(t_if_anchor_1) as HTMLElement;
|
|
53
|
+
|
|
51
54
|
// @ts-ignore
|
|
52
|
-
const t_text_2 = t_next(
|
|
55
|
+
const t_text_2 = t_next(t_if_anchor_1, true);
|
|
53
56
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_2);
|
|
54
57
|
t_next(t_text_2);
|
|
55
58
|
|
|
@@ -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";
|
|
@@ -26,7 +27,7 @@ export default function IfNested(
|
|
|
26
27
|
const t_fragment_0 = t_fragment($parent.ownerDocument!, t_fragments, 0, ` <!> `);
|
|
27
28
|
// @ts-ignore
|
|
28
29
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
29
|
-
|
|
30
|
+
let t_if_anchor_1 = t_anchor(t_next(t_root_0)) as HTMLElement;
|
|
30
31
|
|
|
31
32
|
/* @if */
|
|
32
33
|
const t_if_range_1 = t_range();
|
|
@@ -36,7 +37,7 @@ export default function IfNested(
|
|
|
36
37
|
const t_fragment_1 = t_fragment($parent.ownerDocument!, t_fragments, 1, ` <!> `);
|
|
37
38
|
// @ts-ignore
|
|
38
39
|
const t_root_1 = t_root(t_fragment_1, true);
|
|
39
|
-
|
|
40
|
+
let t_if_anchor_2 = t_anchor(t_next(t_root_1)) as HTMLElement;
|
|
40
41
|
|
|
41
42
|
/* @if */
|
|
42
43
|
const t_if_range_2 = t_range();
|
|
@@ -65,8 +66,10 @@ export default function IfNested(
|
|
|
65
66
|
}
|
|
66
67
|
});
|
|
67
68
|
|
|
69
|
+
t_if_anchor_2 = t_reanchor(t_if_anchor_2) as HTMLElement;
|
|
70
|
+
|
|
68
71
|
// @ts-ignore
|
|
69
|
-
const t_text_3 = t_next(
|
|
72
|
+
const t_text_3 = t_next(t_if_anchor_2, true);
|
|
70
73
|
t_add_fragment(t_fragment_1, t_fragment_0, t_before, t_text_3);
|
|
71
74
|
t_next(t_text_3);
|
|
72
75
|
});
|
|
@@ -84,8 +87,10 @@ export default function IfNested(
|
|
|
84
87
|
}
|
|
85
88
|
});
|
|
86
89
|
|
|
90
|
+
t_if_anchor_1 = t_reanchor(t_if_anchor_1) as HTMLElement;
|
|
91
|
+
|
|
87
92
|
// @ts-ignore
|
|
88
|
-
const t_text_5 = t_next(
|
|
93
|
+
const t_text_5 = t_next(t_if_anchor_1, true);
|
|
89
94
|
t_add_fragment(t_fragment_0, $parent, $anchor, t_text_5);
|
|
90
95
|
t_next(t_text_5);
|
|
91
96
|
|
|
@@ -7,6 +7,7 @@ import t_child from "../../../../src/render/nodeChild";
|
|
|
7
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
|
+
import t_reanchor from "../../../../src/render/nodeReanchor";
|
|
10
11
|
import t_root from "../../../../src/render/nodeRoot";
|
|
11
12
|
|
|
12
13
|
import AnswerButton from "../output/./AnswerButton-client";
|
|
@@ -41,7 +42,7 @@ export default function AnswerButtonApp(
|
|
|
41
42
|
// @ts-ignore
|
|
42
43
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
43
44
|
const t_comp_parent_1 = t_next(t_root_0) as HTMLElement;
|
|
44
|
-
|
|
45
|
+
let t_comp_anchor_1 = t_anchor(t_next(t_next(t_next(t_child(t_comp_parent_1)), true))) as HTMLElement;
|
|
45
46
|
|
|
46
47
|
/* @component */
|
|
47
48
|
const t_props_1: any = $watch({});
|
|
@@ -53,7 +54,9 @@ export default function AnswerButtonApp(
|
|
|
53
54
|
});
|
|
54
55
|
AnswerButton(t_comp_parent_1, t_comp_anchor_1, t_props_1, $context);
|
|
55
56
|
|
|
56
|
-
|
|
57
|
+
t_comp_anchor_1 = t_reanchor(t_comp_anchor_1) as HTMLElement;
|
|
58
|
+
|
|
59
|
+
const t_text_1 = t_child(t_next(t_next(t_comp_anchor_1, true)));
|
|
57
60
|
// @ts-ignore
|
|
58
61
|
const t_text_2 = t_next(t_comp_parent_1, true);
|
|
59
62
|
$run(function setTextContent() {
|
|
@@ -14,6 +14,7 @@ import t_next from "../../../../src/render/nodeNext";
|
|
|
14
14
|
import t_pop_range from "../../../../src/render/popRange";
|
|
15
15
|
import t_push_range from "../../../../src/render/pushRange";
|
|
16
16
|
import t_range from "../../../../src/render/newRange";
|
|
17
|
+
import t_reanchor from "../../../../src/render/nodeReanchor";
|
|
17
18
|
import t_root from "../../../../src/render/nodeRoot";
|
|
18
19
|
import t_run_list from "../../../../src/render/runList";
|
|
19
20
|
|
|
@@ -47,7 +48,7 @@ export default function ColorSelect(
|
|
|
47
48
|
const t_root_0 = t_root(t_fragment_0, true);
|
|
48
49
|
const t_text_1 = t_child(t_next(t_child(t_next(t_root_0))));
|
|
49
50
|
const t_select_1 = t_next(t_next(t_next(t_child(t_next(t_root_0))), true)) as HTMLElement;
|
|
50
|
-
|
|
51
|
+
let t_for_anchor_1 = t_anchor(t_next(t_child(t_select_1))) as HTMLElement;
|
|
51
52
|
|
|
52
53
|
/* @for */
|
|
53
54
|
let t_for_range_1 = t_range();
|
|
@@ -89,6 +90,8 @@ export default function ColorSelect(
|
|
|
89
90
|
}
|
|
90
91
|
);
|
|
91
92
|
|
|
93
|
+
t_for_anchor_1 = t_reanchor(t_for_anchor_1) as HTMLElement;
|
|
94
|
+
|
|
92
95
|
// @ts-ignore
|
|
93
96
|
const t_text_4 = t_next(t_next(t_root_0), true);
|
|
94
97
|
$run(function setTextContent() {
|