@useinsider/guido 3.9.0 → 3.9.1
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/dist/config/compiler/utils/recommendationCompilerUtils.js +118 -110
- package/dist/config/migrator/itemsBlockMigrator.js +159 -114
- package/dist/config/migrator/unsubscribeMigrator.js +89 -67
- package/dist/extensions/Blocks/Items/block.js +57 -37
- package/dist/extensions/Blocks/Items/controls/name/trimming.js +17 -18
- package/dist/extensions/Blocks/Items/controls/settingsControl.js +67 -78
- package/dist/extensions/Blocks/Items/layouts/horizontal.html.js +13 -9
- package/dist/extensions/Blocks/Items/layouts/vertical.html.js +26 -14
- package/dist/extensions/Blocks/Items/template.js +245 -247
- package/dist/extensions/Blocks/Items/utils/nodeConfigUtils.js +53 -45
- package/dist/extensions/Blocks/Recommendation/templates/list/template.js +15 -15
- package/dist/package.json.js +1 -1
- package/dist/src/extensions/Blocks/Items/block.d.ts +9 -0
- package/dist/src/extensions/Blocks/Items/template.d.ts +7 -0
- package/dist/src/extensions/Blocks/Items/utils/nodeConfigUtils.d.ts +12 -0
- package/package.json +2 -2
|
@@ -3,7 +3,7 @@ const t = `{-{-TEMPLATE_FIRST_LINE-}-}
|
|
|
3
3
|
<tbody>
|
|
4
4
|
<tr>
|
|
5
5
|
<td class="es-p20b es-p10r es-p10l es-m-p20b es-p10t" width="100%" align="center">
|
|
6
|
-
<table class="ins-product-cart" width="100%" cellspacing="0" cellpadding="0">
|
|
6
|
+
<table class="ins-product-cart" width="100%" cellspacing="0" cellpadding="0" style="table-layout: fixed;">
|
|
7
7
|
<tr style="vertical-align: top">
|
|
8
8
|
<td colspan="2" width="100%" align="center" data-slot-1>
|
|
9
9
|
<table width="100%">
|
|
@@ -15,24 +15,36 @@ const t = `{-{-TEMPLATE_FIRST_LINE-}-}
|
|
|
15
15
|
</tr>
|
|
16
16
|
{-{-PRODUCT_NAME-}-}
|
|
17
17
|
<tr>
|
|
18
|
-
<td
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
</table>
|
|
24
|
-
</td>
|
|
25
|
-
<td width="50%" style=" width: 50%;display: block;float: left;"
|
|
26
|
-
class="product-original-price-class">
|
|
27
|
-
<table width="100%">
|
|
18
|
+
<td colspan="2" width="100%" align="center">
|
|
19
|
+
<!-- Nested auto-layout table so the float-based price orientation
|
|
20
|
+
(50/50 side-by-side ↔ 100% stacked) keeps working without
|
|
21
|
+
fighting the outer table-layout: fixed grid. -->
|
|
22
|
+
<table width="100%" cellspacing="0" cellpadding="0">
|
|
28
23
|
<tbody>
|
|
29
|
-
|
|
24
|
+
<tr>
|
|
25
|
+
<td width="50%" style="width: 50%;display: block;float: left;"
|
|
26
|
+
class="product-price-class">
|
|
27
|
+
<table width="100%">
|
|
28
|
+
<tbody>
|
|
29
|
+
{-{-PRODUCT_PRICE-}-}
|
|
30
|
+
</tbody>
|
|
31
|
+
</table>
|
|
32
|
+
</td>
|
|
33
|
+
<td width="50%" style="width: 50%;display: block;float: left;"
|
|
34
|
+
class="product-original-price-class">
|
|
35
|
+
<table width="100%">
|
|
36
|
+
<tbody>
|
|
37
|
+
{-{-PRODUCT_ORIGINAL_PRICE-}-}
|
|
38
|
+
</tbody>
|
|
39
|
+
</table>
|
|
40
|
+
</td>
|
|
41
|
+
</tr>
|
|
30
42
|
</tbody>
|
|
31
43
|
</table>
|
|
32
44
|
</td>
|
|
33
45
|
</tr>
|
|
34
46
|
<tr>
|
|
35
|
-
<td width="100%" class="product-quantity-class" data-slot-3>
|
|
47
|
+
<td width="100%" colspan="2" class="product-quantity-class" data-slot-3>
|
|
36
48
|
<table width="100%">
|
|
37
49
|
<tbody>
|
|
38
50
|
{-{-PRODUCT_QUANTITY-}-}
|
|
@@ -41,7 +53,7 @@ const t = `{-{-TEMPLATE_FIRST_LINE-}-}
|
|
|
41
53
|
</td>
|
|
42
54
|
</tr>
|
|
43
55
|
<tr>
|
|
44
|
-
<td width="100%" class="product-button-class" data-slot-6>
|
|
56
|
+
<td width="100%" colspan="2" class="product-button-class" data-slot-6>
|
|
45
57
|
<table width="100%">
|
|
46
58
|
<tbody>
|
|
47
59
|
{-{-PRODUCT_BUTTON-}-}
|