ripple 0.3.112 → 0.3.113
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 +30 -0
- package/package.json +3 -3
- package/tests/client/basic/basic.rendering.test.tsrx +72 -0
- package/tests/client/compiler/compiler.basic.test.tsrx +36 -4
- package/tests/client/composite/composite.props.test.tsrx +46 -0
- package/tests/hydration/basic.test.js +39 -0
- package/tests/hydration/compiled/client/basic.js +133 -5
- package/tests/hydration/compiled/client/if-fragment-controlflow.js +166 -214
- package/tests/hydration/compiled/client/streaming.js +81 -105
- package/tests/hydration/compiled/server/basic.js +121 -2
- package/tests/hydration/compiled/server/events.js +61 -5
- package/tests/hydration/compiled/server/for.js +242 -26
- package/tests/hydration/compiled/server/head.js +45 -5
- package/tests/hydration/compiled/server/html.js +24 -8
- package/tests/hydration/compiled/server/if-fragment-controlflow.js +73 -18
- package/tests/hydration/compiled/server/mixed-control-flow.js +9 -1
- package/tests/hydration/compiled/server/nested-control-flow.js +9 -1
- package/tests/hydration/compiled/server/reactivity.js +43 -3
- package/tests/hydration/compiled/server/streaming.js +131 -38
- package/tests/hydration/compiled/server/track-async-serialization.js +106 -10
- package/tests/hydration/compiled/server/try.js +45 -5
- package/tests/hydration/components/basic.tsrx +43 -0
- package/tests/server/basic.test.tsrx +30 -0
- package/tests/server/compiler.test.tsrx +29 -4
- package/tests/server/composite.props.test.tsrx +26 -0
- package/tests/server/streaming-ssr.test.tsrx +9 -9
- package/tests/server/track-async-serialization.test.tsrx +4 -4
- package/tests/types/component-return.ts +48 -0
- package/tests/utils/runtime-imports.test.js +5 -1
- package/tsconfig.typecheck.json +1 -1
- package/types/index.d.ts +10 -1
|
@@ -13,7 +13,15 @@ export function StaticForLoop() {
|
|
|
13
13
|
__out += '<ul><!--[-->';
|
|
14
14
|
|
|
15
15
|
for (const item of items) {
|
|
16
|
-
__out += '<li>'
|
|
16
|
+
__out += '<li>';
|
|
17
|
+
|
|
18
|
+
{
|
|
19
|
+
_$_.output_push(__out);
|
|
20
|
+
__out = '';
|
|
21
|
+
_$_.render_expression(item);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
__out += '</li>';
|
|
17
25
|
}
|
|
18
26
|
|
|
19
27
|
__out += '<!--]--></ul>';
|
|
@@ -64,7 +72,15 @@ export function KeyedForLoop() {
|
|
|
64
72
|
__out += '<ul><!--[-->';
|
|
65
73
|
|
|
66
74
|
for (const item of items) {
|
|
67
|
-
__out += '<li>'
|
|
75
|
+
__out += '<li>';
|
|
76
|
+
|
|
77
|
+
{
|
|
78
|
+
_$_.output_push(__out);
|
|
79
|
+
__out = '';
|
|
80
|
+
_$_.render_expression(item.name);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
__out += '</li>';
|
|
68
84
|
}
|
|
69
85
|
|
|
70
86
|
__out += '<!--]--></ul>';
|
|
@@ -83,7 +99,15 @@ export function ReactiveForLoopAdd() {
|
|
|
83
99
|
__out += '<button class="add">Add</button><ul><!--[-->';
|
|
84
100
|
|
|
85
101
|
for (const item of lazy.value) {
|
|
86
|
-
__out += '<li>'
|
|
102
|
+
__out += '<li>';
|
|
103
|
+
|
|
104
|
+
{
|
|
105
|
+
_$_.output_push(__out);
|
|
106
|
+
__out = '';
|
|
107
|
+
_$_.render_expression(item);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
__out += '</li>';
|
|
87
111
|
}
|
|
88
112
|
|
|
89
113
|
__out += '<!--]--></ul>';
|
|
@@ -102,7 +126,15 @@ export function ReactiveForLoopRemove() {
|
|
|
102
126
|
__out += '<button class="remove">Remove</button><ul><!--[-->';
|
|
103
127
|
|
|
104
128
|
for (const item of lazy_1.value) {
|
|
105
|
-
__out += '<li>'
|
|
129
|
+
__out += '<li>';
|
|
130
|
+
|
|
131
|
+
{
|
|
132
|
+
_$_.output_push(__out);
|
|
133
|
+
__out = '';
|
|
134
|
+
_$_.render_expression(item);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
__out += '</li>';
|
|
106
138
|
}
|
|
107
139
|
|
|
108
140
|
__out += '<!--]--></ul>';
|
|
@@ -126,7 +158,15 @@ export function ForLoopInteractive() {
|
|
|
126
158
|
var i = 0;
|
|
127
159
|
|
|
128
160
|
for (const count of lazy_2.value) {
|
|
129
|
-
__out += '<div' + _$_.attr('class', `item-${i}`) + '><span class="value">'
|
|
161
|
+
__out += '<div' + _$_.attr('class', `item-${i}`) + '><span class="value">';
|
|
162
|
+
|
|
163
|
+
{
|
|
164
|
+
_$_.output_push(__out);
|
|
165
|
+
__out = '';
|
|
166
|
+
_$_.render_expression(count);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
__out += '</span><button class="increment">+</button></div>';
|
|
130
170
|
i++;
|
|
131
171
|
}
|
|
132
172
|
|
|
@@ -162,7 +202,15 @@ export function NestedForLoop() {
|
|
|
162
202
|
var colIndex = 0;
|
|
163
203
|
|
|
164
204
|
for (const cell of row) {
|
|
165
|
-
__out += '<span' + _$_.attr('class', `cell-${rowIndex}-${colIndex}`) + '>'
|
|
205
|
+
__out += '<span' + _$_.attr('class', `cell-${rowIndex}-${colIndex}`) + '>';
|
|
206
|
+
|
|
207
|
+
{
|
|
208
|
+
_$_.output_push(__out);
|
|
209
|
+
__out = '';
|
|
210
|
+
_$_.render_expression(cell);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
__out += '</span>';
|
|
166
214
|
colIndex++;
|
|
167
215
|
}
|
|
168
216
|
|
|
@@ -192,7 +240,15 @@ export function EmptyForLoop() {
|
|
|
192
240
|
__out += '<div class="container"><!--[-->';
|
|
193
241
|
|
|
194
242
|
for (const item of items) {
|
|
195
|
-
__out += '<span>'
|
|
243
|
+
__out += '<span>';
|
|
244
|
+
|
|
245
|
+
{
|
|
246
|
+
_$_.output_push(__out);
|
|
247
|
+
__out = '';
|
|
248
|
+
_$_.render_expression(item);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
__out += '</span>';
|
|
196
252
|
}
|
|
197
253
|
|
|
198
254
|
__out += '<!--]--></div>';
|
|
@@ -214,7 +270,23 @@ export function ForLoopComplexObjects() {
|
|
|
214
270
|
__out += '<div><!--[-->';
|
|
215
271
|
|
|
216
272
|
for (const user of users) {
|
|
217
|
-
__out += '<div' + _$_.attr('class', `user-${user.id}`) + '><span class="name">'
|
|
273
|
+
__out += '<div' + _$_.attr('class', `user-${user.id}`) + '><span class="name">';
|
|
274
|
+
|
|
275
|
+
{
|
|
276
|
+
_$_.output_push(__out);
|
|
277
|
+
__out = '';
|
|
278
|
+
_$_.render_expression(user.name);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
__out += '</span><span class="role">';
|
|
282
|
+
|
|
283
|
+
{
|
|
284
|
+
_$_.output_push(__out);
|
|
285
|
+
__out = '';
|
|
286
|
+
_$_.render_expression(user.role);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
__out += '</span></div>';
|
|
218
290
|
}
|
|
219
291
|
|
|
220
292
|
__out += '<!--]--></div>';
|
|
@@ -240,7 +312,15 @@ export function KeyedForLoopReorder() {
|
|
|
240
312
|
__out += '<button class="reorder">Reorder</button><ul><!--[-->';
|
|
241
313
|
|
|
242
314
|
for (const item of lazy_3.value) {
|
|
243
|
-
__out += '<li' + _$_.attr('class', `item-${item.id}`) + '>'
|
|
315
|
+
__out += '<li' + _$_.attr('class', `item-${item.id}`) + '>';
|
|
316
|
+
|
|
317
|
+
{
|
|
318
|
+
_$_.output_push(__out);
|
|
319
|
+
__out = '';
|
|
320
|
+
_$_.render_expression(item.name);
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
__out += '</li>';
|
|
244
324
|
}
|
|
245
325
|
|
|
246
326
|
__out += '<!--]--></ul>';
|
|
@@ -259,7 +339,15 @@ export function KeyedForLoopUpdate() {
|
|
|
259
339
|
__out += '<button class="update">Update</button><ul><!--[-->';
|
|
260
340
|
|
|
261
341
|
for (const item of lazy_4.value) {
|
|
262
|
-
__out += '<li' + _$_.attr('class', `item-${item.id}`) + '>'
|
|
342
|
+
__out += '<li' + _$_.attr('class', `item-${item.id}`) + '>';
|
|
343
|
+
|
|
344
|
+
{
|
|
345
|
+
_$_.output_push(__out);
|
|
346
|
+
__out = '';
|
|
347
|
+
_$_.render_expression(item.name);
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
__out += '</li>';
|
|
263
351
|
}
|
|
264
352
|
|
|
265
353
|
__out += '<!--]--></ul>';
|
|
@@ -278,7 +366,15 @@ export function ForLoopMixedOperations() {
|
|
|
278
366
|
__out += '<button class="shuffle">Shuffle</button><ul><!--[-->';
|
|
279
367
|
|
|
280
368
|
for (const item of lazy_5.value) {
|
|
281
|
-
__out += '<li' + _$_.attr('class', `item-${item}`) + '>'
|
|
369
|
+
__out += '<li' + _$_.attr('class', `item-${item}`) + '>';
|
|
370
|
+
|
|
371
|
+
{
|
|
372
|
+
_$_.output_push(__out);
|
|
373
|
+
__out = '';
|
|
374
|
+
_$_.render_expression(item);
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
__out += '</li>';
|
|
282
378
|
}
|
|
283
379
|
|
|
284
380
|
__out += '<!--]--></ul>';
|
|
@@ -301,7 +397,15 @@ export function ForLoopInsideIf() {
|
|
|
301
397
|
__out += '<ul class="list"><!--[-->';
|
|
302
398
|
|
|
303
399
|
for (const item of lazy_7.value) {
|
|
304
|
-
__out += '<li>'
|
|
400
|
+
__out += '<li>';
|
|
401
|
+
|
|
402
|
+
{
|
|
403
|
+
_$_.output_push(__out);
|
|
404
|
+
__out = '';
|
|
405
|
+
_$_.render_expression(item);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
__out += '</li>';
|
|
305
409
|
}
|
|
306
410
|
|
|
307
411
|
__out += '<!--]--></ul>';
|
|
@@ -323,7 +427,15 @@ export function ForLoopEmptyToPopulated() {
|
|
|
323
427
|
__out += '<button class="populate">Populate</button><ul class="list"><!--[-->';
|
|
324
428
|
|
|
325
429
|
for (const item of lazy_8.value) {
|
|
326
|
-
__out += '<li>'
|
|
430
|
+
__out += '<li>';
|
|
431
|
+
|
|
432
|
+
{
|
|
433
|
+
_$_.output_push(__out);
|
|
434
|
+
__out = '';
|
|
435
|
+
_$_.render_expression(item);
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
__out += '</li>';
|
|
327
439
|
}
|
|
328
440
|
|
|
329
441
|
__out += '<!--]--></ul>';
|
|
@@ -342,7 +454,15 @@ export function ForLoopPopulatedToEmpty() {
|
|
|
342
454
|
__out += '<button class="clear">Clear</button><ul class="list"><!--[-->';
|
|
343
455
|
|
|
344
456
|
for (const item of lazy_9.value) {
|
|
345
|
-
__out += '<li>'
|
|
457
|
+
__out += '<li>';
|
|
458
|
+
|
|
459
|
+
{
|
|
460
|
+
_$_.output_push(__out);
|
|
461
|
+
__out = '';
|
|
462
|
+
_$_.render_expression(item);
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
__out += '</li>';
|
|
346
466
|
}
|
|
347
467
|
|
|
348
468
|
__out += '<!--]--></ul>';
|
|
@@ -374,7 +494,15 @@ export function NestedForLoopReactive() {
|
|
|
374
494
|
var colIndex = 0;
|
|
375
495
|
|
|
376
496
|
for (const cell of row) {
|
|
377
|
-
__out += '<span' + _$_.attr('class', `cell-${rowIndex}-${colIndex}`) + '>'
|
|
497
|
+
__out += '<span' + _$_.attr('class', `cell-${rowIndex}-${colIndex}`) + '>';
|
|
498
|
+
|
|
499
|
+
{
|
|
500
|
+
_$_.output_push(__out);
|
|
501
|
+
__out = '';
|
|
502
|
+
_$_.render_expression(cell);
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
__out += '</span>';
|
|
378
506
|
colIndex++;
|
|
379
507
|
}
|
|
380
508
|
|
|
@@ -419,13 +547,37 @@ export function ForLoopDeeplyNested() {
|
|
|
419
547
|
__out += '<div class="org"><!--[-->';
|
|
420
548
|
|
|
421
549
|
for (const dept of departments) {
|
|
422
|
-
__out += '<div' + _$_.attr('class', `dept-${dept.id}`) + '><h2 class="dept-name">'
|
|
550
|
+
__out += '<div' + _$_.attr('class', `dept-${dept.id}`) + '><h2 class="dept-name">';
|
|
551
|
+
|
|
552
|
+
{
|
|
553
|
+
_$_.output_push(__out);
|
|
554
|
+
__out = '';
|
|
555
|
+
_$_.render_expression(dept.name);
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
__out += '</h2><!--[-->';
|
|
423
559
|
|
|
424
560
|
for (const team of dept.teams) {
|
|
425
|
-
__out += '<div' + _$_.attr('class', `team-${team.id}`) + '><h3 class="team-name">'
|
|
561
|
+
__out += '<div' + _$_.attr('class', `team-${team.id}`) + '><h3 class="team-name">';
|
|
562
|
+
|
|
563
|
+
{
|
|
564
|
+
_$_.output_push(__out);
|
|
565
|
+
__out = '';
|
|
566
|
+
_$_.render_expression(team.name);
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
__out += '</h3><ul><!--[-->';
|
|
426
570
|
|
|
427
571
|
for (const member of team.members) {
|
|
428
|
-
__out += '<li class="member">'
|
|
572
|
+
__out += '<li class="member">';
|
|
573
|
+
|
|
574
|
+
{
|
|
575
|
+
_$_.output_push(__out);
|
|
576
|
+
__out = '';
|
|
577
|
+
_$_.render_expression(member);
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
__out += '</li>';
|
|
429
581
|
}
|
|
430
582
|
|
|
431
583
|
__out += '<!--]--></ul></div>';
|
|
@@ -513,7 +665,15 @@ export function ForLoopWithSiblings() {
|
|
|
513
665
|
__out += '<div class="wrapper"><header class="before">Before</header><!--[-->';
|
|
514
666
|
|
|
515
667
|
for (const item of lazy_13.value) {
|
|
516
|
-
__out += '<div' + _$_.attr('class', `item-${item}`) + '>'
|
|
668
|
+
__out += '<div' + _$_.attr('class', `item-${item}`) + '>';
|
|
669
|
+
|
|
670
|
+
{
|
|
671
|
+
_$_.output_push(__out);
|
|
672
|
+
__out = '';
|
|
673
|
+
_$_.render_expression(item);
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
__out += '</div>';
|
|
517
677
|
}
|
|
518
678
|
|
|
519
679
|
__out += '<!--]--><footer class="after">After</footer></div><button class="add">Add</button>';
|
|
@@ -575,7 +735,15 @@ export function ForLoopSingleItem() {
|
|
|
575
735
|
__out += '<ul><!--[-->';
|
|
576
736
|
|
|
577
737
|
for (const item of items) {
|
|
578
|
-
__out += '<li class="single">'
|
|
738
|
+
__out += '<li class="single">';
|
|
739
|
+
|
|
740
|
+
{
|
|
741
|
+
_$_.output_push(__out);
|
|
742
|
+
__out = '';
|
|
743
|
+
_$_.render_expression(item);
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
__out += '</li>';
|
|
579
747
|
}
|
|
580
748
|
|
|
581
749
|
__out += '<!--]--></ul>';
|
|
@@ -594,7 +762,15 @@ export function ForLoopAddAtBeginning() {
|
|
|
594
762
|
__out += '<button class="prepend">Prepend A</button><ul><!--[-->';
|
|
595
763
|
|
|
596
764
|
for (const item of lazy_15.value) {
|
|
597
|
-
__out += '<li' + _$_.attr('class', `item-${item}`) + '>'
|
|
765
|
+
__out += '<li' + _$_.attr('class', `item-${item}`) + '>';
|
|
766
|
+
|
|
767
|
+
{
|
|
768
|
+
_$_.output_push(__out);
|
|
769
|
+
__out = '';
|
|
770
|
+
_$_.render_expression(item);
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
__out += '</li>';
|
|
598
774
|
}
|
|
599
775
|
|
|
600
776
|
__out += '<!--]--></ul>';
|
|
@@ -613,7 +789,15 @@ export function ForLoopAddInMiddle() {
|
|
|
613
789
|
__out += '<button class="insert">Insert B</button><ul><!--[-->';
|
|
614
790
|
|
|
615
791
|
for (const item of lazy_16.value) {
|
|
616
|
-
__out += '<li' + _$_.attr('class', `item-${item}`) + '>'
|
|
792
|
+
__out += '<li' + _$_.attr('class', `item-${item}`) + '>';
|
|
793
|
+
|
|
794
|
+
{
|
|
795
|
+
_$_.output_push(__out);
|
|
796
|
+
__out = '';
|
|
797
|
+
_$_.render_expression(item);
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
__out += '</li>';
|
|
617
801
|
}
|
|
618
802
|
|
|
619
803
|
__out += '<!--]--></ul>';
|
|
@@ -632,7 +816,15 @@ export function ForLoopRemoveFromMiddle() {
|
|
|
632
816
|
__out += '<button class="remove-middle">Remove B</button><ul><!--[-->';
|
|
633
817
|
|
|
634
818
|
for (const item of lazy_17.value) {
|
|
635
|
-
__out += '<li' + _$_.attr('class', `item-${item}`) + '>'
|
|
819
|
+
__out += '<li' + _$_.attr('class', `item-${item}`) + '>';
|
|
820
|
+
|
|
821
|
+
{
|
|
822
|
+
_$_.output_push(__out);
|
|
823
|
+
__out = '';
|
|
824
|
+
_$_.render_expression(item);
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
__out += '</li>';
|
|
636
828
|
}
|
|
637
829
|
|
|
638
830
|
__out += '<!--]--></ul>';
|
|
@@ -656,7 +848,15 @@ export function ForLoopLargeList() {
|
|
|
656
848
|
var i = 0;
|
|
657
849
|
|
|
658
850
|
for (const item of items) {
|
|
659
|
-
__out += '<li' + _$_.attr('class', `item-${i}`) + '>'
|
|
851
|
+
__out += '<li' + _$_.attr('class', `item-${i}`) + '>';
|
|
852
|
+
|
|
853
|
+
{
|
|
854
|
+
_$_.output_push(__out);
|
|
855
|
+
__out = '';
|
|
856
|
+
_$_.render_expression(item);
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
__out += '</li>';
|
|
660
860
|
i++;
|
|
661
861
|
}
|
|
662
862
|
|
|
@@ -679,7 +879,15 @@ export function ForLoopSwap() {
|
|
|
679
879
|
__out += '<button class="swap">Swap First and Last</button><ul><!--[-->';
|
|
680
880
|
|
|
681
881
|
for (const item of lazy_18.value) {
|
|
682
|
-
__out += '<li' + _$_.attr('class', `item-${item}`) + '>'
|
|
882
|
+
__out += '<li' + _$_.attr('class', `item-${item}`) + '>';
|
|
883
|
+
|
|
884
|
+
{
|
|
885
|
+
_$_.output_push(__out);
|
|
886
|
+
__out = '';
|
|
887
|
+
_$_.render_expression(item);
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
__out += '</li>';
|
|
683
891
|
}
|
|
684
892
|
|
|
685
893
|
__out += '<!--]--></ul>';
|
|
@@ -698,7 +906,15 @@ export function ForLoopReverse() {
|
|
|
698
906
|
__out += '<button class="reverse">Reverse</button><ul><!--[-->';
|
|
699
907
|
|
|
700
908
|
for (const item of lazy_19.value) {
|
|
701
|
-
__out += '<li' + _$_.attr('class', `item-${item}`) + '>'
|
|
909
|
+
__out += '<li' + _$_.attr('class', `item-${item}`) + '>';
|
|
910
|
+
|
|
911
|
+
{
|
|
912
|
+
_$_.output_push(__out);
|
|
913
|
+
__out = '';
|
|
914
|
+
_$_.render_expression(item);
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
__out += '</li>';
|
|
702
918
|
}
|
|
703
919
|
|
|
704
920
|
__out += '<!--]--></ul>';
|
|
@@ -28,7 +28,15 @@ export function ReactiveTitle() {
|
|
|
28
28
|
_$_.regular_block(() => {
|
|
29
29
|
let __out = '';
|
|
30
30
|
|
|
31
|
-
__out += '<div><span>'
|
|
31
|
+
__out += '<div><span>';
|
|
32
|
+
|
|
33
|
+
{
|
|
34
|
+
_$_.output_push(__out);
|
|
35
|
+
__out = '';
|
|
36
|
+
_$_.render_expression(lazy.value);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
__out += '</span></div>';
|
|
32
40
|
_$_.output_push(__out);
|
|
33
41
|
__out = '';
|
|
34
42
|
_$_.set_output_target('head');
|
|
@@ -66,7 +74,15 @@ export function ReactiveMetaTags() {
|
|
|
66
74
|
_$_.regular_block(() => {
|
|
67
75
|
let __out = '';
|
|
68
76
|
|
|
69
|
-
__out += '<div>'
|
|
77
|
+
__out += '<div>';
|
|
78
|
+
|
|
79
|
+
{
|
|
80
|
+
_$_.output_push(__out);
|
|
81
|
+
__out = '';
|
|
82
|
+
_$_.render_expression(lazy_1.value);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
__out += '</div>';
|
|
70
86
|
_$_.output_push(__out);
|
|
71
87
|
__out = '';
|
|
72
88
|
_$_.set_output_target('head');
|
|
@@ -86,7 +102,15 @@ export function TitleWithTemplate() {
|
|
|
86
102
|
_$_.regular_block(() => {
|
|
87
103
|
let __out = '';
|
|
88
104
|
|
|
89
|
-
__out += '<div>'
|
|
105
|
+
__out += '<div>';
|
|
106
|
+
|
|
107
|
+
{
|
|
108
|
+
_$_.output_push(__out);
|
|
109
|
+
__out = '';
|
|
110
|
+
_$_.render_expression(lazy_2.value);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
__out += '</div>';
|
|
90
114
|
_$_.output_push(__out);
|
|
91
115
|
__out = '';
|
|
92
116
|
_$_.set_output_target('head');
|
|
@@ -125,7 +149,15 @@ export function ConditionalTitle() {
|
|
|
125
149
|
_$_.regular_block(() => {
|
|
126
150
|
let __out = '';
|
|
127
151
|
|
|
128
|
-
__out += '<div>'
|
|
152
|
+
__out += '<div>';
|
|
153
|
+
|
|
154
|
+
{
|
|
155
|
+
_$_.output_push(__out);
|
|
156
|
+
__out = '';
|
|
157
|
+
_$_.render_expression(lazy_4.value);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
__out += '</div>';
|
|
129
161
|
_$_.output_push(__out);
|
|
130
162
|
__out = '';
|
|
131
163
|
_$_.set_output_target('head');
|
|
@@ -146,7 +178,15 @@ export function ComputedTitle() {
|
|
|
146
178
|
_$_.regular_block(() => {
|
|
147
179
|
let __out = '';
|
|
148
180
|
|
|
149
|
-
__out += '<div><span>'
|
|
181
|
+
__out += '<div><span>';
|
|
182
|
+
|
|
183
|
+
{
|
|
184
|
+
_$_.output_push(__out);
|
|
185
|
+
__out = '';
|
|
186
|
+
_$_.render_expression(lazy_5.value);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
__out += '</span></div>';
|
|
150
190
|
_$_.output_push(__out);
|
|
151
191
|
__out = '';
|
|
152
192
|
_$_.set_output_target('head');
|
|
@@ -321,7 +321,7 @@ export function DocLayout(__props) {
|
|
|
321
321
|
_$_.output_push('>');
|
|
322
322
|
|
|
323
323
|
{
|
|
324
|
-
_$_.
|
|
324
|
+
_$_.render_expression(_$_.fallback(__props.nextLink, null).text);
|
|
325
325
|
}
|
|
326
326
|
|
|
327
327
|
_$_.output_push('</a>');
|
|
@@ -367,7 +367,7 @@ export function DocLayout(__props) {
|
|
|
367
367
|
_$_.output_push('>');
|
|
368
368
|
|
|
369
369
|
{
|
|
370
|
-
_$_.
|
|
370
|
+
_$_.render_expression(item.text);
|
|
371
371
|
}
|
|
372
372
|
|
|
373
373
|
_$_.output_push('</a>');
|
|
@@ -711,7 +711,15 @@ function ForList({ items }) {
|
|
|
711
711
|
__out += '<!--[-->';
|
|
712
712
|
|
|
713
713
|
for (const item of items) {
|
|
714
|
-
__out += '<span class="for-item">'
|
|
714
|
+
__out += '<span class="for-item">';
|
|
715
|
+
|
|
716
|
+
{
|
|
717
|
+
_$_.output_push(__out);
|
|
718
|
+
__out = '';
|
|
719
|
+
_$_.render_expression(item);
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
__out += '</span>';
|
|
715
723
|
}
|
|
716
724
|
|
|
717
725
|
__out += '<!--]-->';
|
|
@@ -957,7 +965,15 @@ function NavItem(__props) {
|
|
|
957
965
|
_$_.output_push('</div>');
|
|
958
966
|
}
|
|
959
967
|
|
|
960
|
-
__out += '<!--]--><a' + _$_.attr('href', __props.href, false) + '><span>'
|
|
968
|
+
__out += '<!--]--><a' + _$_.attr('href', __props.href, false) + '><span>';
|
|
969
|
+
|
|
970
|
+
{
|
|
971
|
+
_$_.output_push(__out);
|
|
972
|
+
__out = '';
|
|
973
|
+
_$_.render_expression(__props.text);
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
__out += '</span></a></div>';
|
|
961
977
|
_$_.output_push(__out);
|
|
962
978
|
});
|
|
963
979
|
});
|
|
@@ -1482,7 +1498,7 @@ function DocsLayoutInner(__props) {
|
|
|
1482
1498
|
_$_.output_push('>');
|
|
1483
1499
|
|
|
1484
1500
|
{
|
|
1485
|
-
_$_.
|
|
1501
|
+
_$_.render_expression(_$_.fallback(__props.nextLink, null).text);
|
|
1486
1502
|
}
|
|
1487
1503
|
|
|
1488
1504
|
_$_.output_push('</a>');
|
|
@@ -1647,7 +1663,7 @@ function DocsLayoutExact(__props) {
|
|
|
1647
1663
|
_$_.output_push('>');
|
|
1648
1664
|
|
|
1649
1665
|
{
|
|
1650
|
-
_$_.
|
|
1666
|
+
_$_.render_expression(_$_.fallback(__props.prevLink, null).text);
|
|
1651
1667
|
}
|
|
1652
1668
|
|
|
1653
1669
|
_$_.output_push('</span>');
|
|
@@ -1675,7 +1691,7 @@ function DocsLayoutExact(__props) {
|
|
|
1675
1691
|
_$_.output_push('>');
|
|
1676
1692
|
|
|
1677
1693
|
{
|
|
1678
|
-
_$_.
|
|
1694
|
+
_$_.render_expression(_$_.fallback(__props.nextLink, null).text);
|
|
1679
1695
|
}
|
|
1680
1696
|
|
|
1681
1697
|
_$_.output_push('</span>');
|
|
@@ -1724,7 +1740,7 @@ function DocsLayoutExact(__props) {
|
|
|
1724
1740
|
_$_.output_push('>');
|
|
1725
1741
|
|
|
1726
1742
|
{
|
|
1727
|
-
_$_.
|
|
1743
|
+
_$_.render_expression(item.text);
|
|
1728
1744
|
}
|
|
1729
1745
|
|
|
1730
1746
|
_$_.output_push('</a>');
|