ui.shipaid.com 0.3.111 → 0.3.112
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/{de-BXmG-9Lh.js → de-Hl6MZZwy.js} +2 -2
- package/dist/{es-XGxFNddW.js → es-CyUdPj5j.js} +2 -2
- package/dist/{fr-DWwt47KA.js → fr-zmg-TdOL.js} +2 -2
- package/dist/{it-BSQTe6oj.js → it-Cj0YJ_7D.js} +2 -2
- package/dist/{nl-9yJFc7Nt.js → nl-vrNg5xbm.js} +2 -2
- package/dist/{pt-C_e9kHAY.js → pt-op_G0LF2.js} +2 -2
- package/dist/widget.es.js +21 -16
- package/dist/widget.iife.js +14 -9
- package/dist/widget.umd.js +14 -9
- package/package.json +1 -1
|
@@ -36,14 +36,14 @@ const de = {
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"checkout-plus": {
|
|
39
|
-
title: "
|
|
39
|
+
title: "Liefergarantie",
|
|
40
40
|
checkout: "KASSE",
|
|
41
41
|
"checkout-title": "Kasse",
|
|
42
42
|
"continue": "Ohne Liefergarantie fortfahren"
|
|
43
43
|
},
|
|
44
44
|
"green-protection": {
|
|
45
45
|
title: "Liefergarantie + 1 Baum pflanzen",
|
|
46
|
-
"title-checkout-plus": "
|
|
46
|
+
"title-checkout-plus": "Garantie + 1 Baum pflanzen",
|
|
47
47
|
description: "Schütze dich vor Bestellverlust, Diebstahl, Schäden + Abholzung"
|
|
48
48
|
}
|
|
49
49
|
};
|
|
@@ -35,14 +35,14 @@ const es = {
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
"checkout-plus": {
|
|
38
|
-
title: "
|
|
38
|
+
title: "Garantía de entrega",
|
|
39
39
|
checkout: "PAGAR",
|
|
40
40
|
"checkout-title": "Pagar",
|
|
41
41
|
"continue": "Continuar sin garantía de entrega"
|
|
42
42
|
},
|
|
43
43
|
"green-protection": {
|
|
44
44
|
title: "Garantía de Entrega + Planta 1 Árbol",
|
|
45
|
-
"title-checkout-plus": "
|
|
45
|
+
"title-checkout-plus": "Garantía + Plantar 1 árbol",
|
|
46
46
|
description: "Protege contra pérdida del pedido, robo, daños + deforestación"
|
|
47
47
|
}
|
|
48
48
|
};
|
|
@@ -36,14 +36,14 @@ const fr = {
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"checkout-plus": {
|
|
39
|
-
title: "
|
|
39
|
+
title: "Garantie de livraison",
|
|
40
40
|
checkout: "FINALISER LA COMMANDE",
|
|
41
41
|
"checkout-title": "Checkout",
|
|
42
42
|
"continue": "Continuer sans garantie de livraison"
|
|
43
43
|
},
|
|
44
44
|
"green-protection": {
|
|
45
45
|
title: "Garantie de Livraison + Planter 1 Arbre",
|
|
46
|
-
"title-checkout-plus": "
|
|
46
|
+
"title-checkout-plus": "Garantie + Planter 1 arbre",
|
|
47
47
|
description: "Protégez contre la perte de commande, le vol, les dommages + la déforestation"
|
|
48
48
|
}
|
|
49
49
|
};
|
|
@@ -36,14 +36,14 @@ const it = {
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"checkout-plus": {
|
|
39
|
-
title: "
|
|
39
|
+
title: "Garanzia di consegna",
|
|
40
40
|
checkout: "CONCLUDI L'ORDINE",
|
|
41
41
|
"checkout-title": "Checkout",
|
|
42
42
|
"continue": "Continua senza garanzia di consegna"
|
|
43
43
|
},
|
|
44
44
|
"green-protection": {
|
|
45
45
|
title: "Garanzia di Consegna + Pianta 1 Albero",
|
|
46
|
-
"title-checkout-plus": "
|
|
46
|
+
"title-checkout-plus": "Garanzia + Pianta 1 albero",
|
|
47
47
|
description: "Proteggi contro la perdita dell'ordine, il furto, i danni + la deforestazione"
|
|
48
48
|
}
|
|
49
49
|
};
|
|
@@ -35,14 +35,14 @@ const nl = {
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
"checkout-plus": {
|
|
38
|
-
title: "
|
|
38
|
+
title: "Leveringsgarantie",
|
|
39
39
|
checkout: "AFREKENEN",
|
|
40
40
|
"checkout-title": "Afrekenen",
|
|
41
41
|
"continue": "Doorgaan zonder bezorggarantie"
|
|
42
42
|
},
|
|
43
43
|
"green-protection": {
|
|
44
44
|
title: "Leveringsgarantie + Plant 1 Boom",
|
|
45
|
-
"title-checkout-plus": "
|
|
45
|
+
"title-checkout-plus": "Garantie + 1 boom planten",
|
|
46
46
|
description: "Bescherm tegen verlies van bestelling, diefstal, schade + ontbossing"
|
|
47
47
|
}
|
|
48
48
|
};
|
|
@@ -36,14 +36,14 @@ const pt = {
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"checkout-plus": {
|
|
39
|
-
title: "
|
|
39
|
+
title: "Garantia de entrega",
|
|
40
40
|
checkout: "FINALIZAR COMPRA",
|
|
41
41
|
"checkout-title": "Checkout",
|
|
42
42
|
"continue": "Continue without delivery guarantee"
|
|
43
43
|
},
|
|
44
44
|
"green-protection": {
|
|
45
45
|
title: "Garantia de Entrega + Plante 1 Árvore",
|
|
46
|
-
"title-checkout-plus": "
|
|
46
|
+
"title-checkout-plus": "Garantia + Plantar 1 árvore",
|
|
47
47
|
description: "Proteja contra perda do pedido, roubo, danos + desmatamento"
|
|
48
48
|
}
|
|
49
49
|
};
|
package/dist/widget.es.js
CHANGED
|
@@ -2388,14 +2388,14 @@ const defaultLangFile = {
|
|
|
2388
2388
|
}
|
|
2389
2389
|
},
|
|
2390
2390
|
"checkout-plus": {
|
|
2391
|
-
title: "
|
|
2391
|
+
title: "Delivery Guarantee",
|
|
2392
2392
|
checkout: "CHECKOUT",
|
|
2393
2393
|
"checkout-title": "Checkout",
|
|
2394
2394
|
"continue": "Continue without delivery guarantee"
|
|
2395
2395
|
},
|
|
2396
2396
|
"green-protection": {
|
|
2397
2397
|
title: "Delivery Guarantee + Plant 1 Tree",
|
|
2398
|
-
"title-checkout-plus": "
|
|
2398
|
+
"title-checkout-plus": "Guarantee + Plant 1 Tree",
|
|
2399
2399
|
description: "Protect against order loss, theft, damage + deforestation "
|
|
2400
2400
|
}
|
|
2401
2401
|
};
|
|
@@ -2820,13 +2820,13 @@ const SellinPlanGroupFromVariant = `query SellingPlanFromVariant($store: String!
|
|
|
2820
2820
|
sellingPlanFromVariant(input: {store: $store, variantId: $variantId })
|
|
2821
2821
|
}`;
|
|
2822
2822
|
const langFiles = /* @__PURE__ */ Object.assign({
|
|
2823
|
-
"./lang/de.json": () => import("./de-
|
|
2823
|
+
"./lang/de.json": () => import("./de-Hl6MZZwy.js").then((m2) => m2["default"]),
|
|
2824
2824
|
"./lang/en.json": () => Promise.resolve().then(() => en).then((m2) => m2["default"]),
|
|
2825
|
-
"./lang/es.json": () => import("./es-
|
|
2826
|
-
"./lang/fr.json": () => import("./fr-
|
|
2827
|
-
"./lang/it.json": () => import("./it-
|
|
2828
|
-
"./lang/nl.json": () => import("./nl-
|
|
2829
|
-
"./lang/pt.json": () => import("./pt-
|
|
2825
|
+
"./lang/es.json": () => import("./es-CyUdPj5j.js").then((m2) => m2["default"]),
|
|
2826
|
+
"./lang/fr.json": () => import("./fr-zmg-TdOL.js").then((m2) => m2["default"]),
|
|
2827
|
+
"./lang/it.json": () => import("./it-Cj0YJ_7D.js").then((m2) => m2["default"]),
|
|
2828
|
+
"./lang/nl.json": () => import("./nl-vrNg5xbm.js").then((m2) => m2["default"]),
|
|
2829
|
+
"./lang/pt.json": () => import("./pt-op_G0LF2.js").then((m2) => m2["default"])
|
|
2830
2830
|
});
|
|
2831
2831
|
registerTranslateConfig({
|
|
2832
2832
|
loader: async (lang) => {
|
|
@@ -3418,7 +3418,7 @@ const _ShipAidWidget = class _ShipAidWidget extends s$1 {
|
|
|
3418
3418
|
const carousel = document.querySelector("shipaid-learn-more-carousel");
|
|
3419
3419
|
if (carousel) return;
|
|
3420
3420
|
return x`
|
|
3421
|
-
|
|
3421
|
+
<shipaid-learn-more-carousel
|
|
3422
3422
|
carousel-state=${this._popup === "learn-more" ? "open" : "close"}
|
|
3423
3423
|
carousel-type=${((_a = this._store) == null ? void 0 : _a.greenProtection.enabled) ? "green-protection" : "standard-protection"}
|
|
3424
3424
|
>
|
|
@@ -3541,6 +3541,7 @@ const _ShipAidWidget = class _ShipAidWidget extends s$1 {
|
|
|
3541
3541
|
display: flex;
|
|
3542
3542
|
align-items: center;
|
|
3543
3543
|
gap: 0.5rem;
|
|
3544
|
+
white-space: nowrap;
|
|
3544
3545
|
}
|
|
3545
3546
|
.protection-text p {
|
|
3546
3547
|
margin: 0px;
|
|
@@ -3770,6 +3771,7 @@ const _ShipAidWidget = class _ShipAidWidget extends s$1 {
|
|
|
3770
3771
|
display: flex;
|
|
3771
3772
|
align-items: center;
|
|
3772
3773
|
gap: 0.5rem;
|
|
3774
|
+
white-space: nowrap;
|
|
3773
3775
|
font-size: clamp(0.8rem, 1vw + 0.6rem, 1.2rem);
|
|
3774
3776
|
}
|
|
3775
3777
|
|
|
@@ -3831,7 +3833,10 @@ const _ShipAidWidget = class _ShipAidWidget extends s$1 {
|
|
|
3831
3833
|
<div class="shipaid-container">
|
|
3832
3834
|
<div class="protection-info">
|
|
3833
3835
|
<div class="protection-text">
|
|
3834
|
-
<img
|
|
3836
|
+
<img
|
|
3837
|
+
src="${isGreenProtectionEnabled ? ShipAidBlueGreenIcon : ShipAidBlueIcon}"
|
|
3838
|
+
style="width: 20px;"
|
|
3839
|
+
/>
|
|
3835
3840
|
${n(
|
|
3836
3841
|
!this.widgetTitle,
|
|
3837
3842
|
() => x`<strong
|
|
@@ -3839,15 +3844,15 @@ const _ShipAidWidget = class _ShipAidWidget extends s$1 {
|
|
|
3839
3844
|
>`
|
|
3840
3845
|
)}
|
|
3841
3846
|
<div class="protection-value">
|
|
3842
|
-
<
|
|
3843
|
-
|
|
3847
|
+
<slot name="checkout-plus-heading">
|
|
3848
|
+
${n(
|
|
3844
3849
|
this.widgetTitle,
|
|
3845
3850
|
() => o$4(this.widgetTitle),
|
|
3846
3851
|
() => translate(
|
|
3847
3852
|
isGreenProtectionEnabled ? "green-protection.title-checkout-plus" : "checkout-plus.title"
|
|
3848
3853
|
)
|
|
3849
|
-
)}
|
|
3850
|
-
>
|
|
3854
|
+
)}
|
|
3855
|
+
</slot>
|
|
3851
3856
|
-
|
|
3852
3857
|
${protectionPrice ? this._currencyFormat(protectionPrice) : loading2}
|
|
3853
3858
|
</div>
|
|
@@ -4482,11 +4487,11 @@ const _ShipAidWidget = class _ShipAidWidget extends s$1 {
|
|
|
4482
4487
|
display: flex;
|
|
4483
4488
|
align-items: start;
|
|
4484
4489
|
justify-content: center;
|
|
4485
|
-
gap:
|
|
4490
|
+
gap: 0;
|
|
4486
4491
|
}
|
|
4487
4492
|
.prompt-product-details-icons > svg {
|
|
4488
4493
|
width: 15px;
|
|
4489
|
-
margin-top:
|
|
4494
|
+
margin-top: 0;
|
|
4490
4495
|
}
|
|
4491
4496
|
|
|
4492
4497
|
.shipaid-prompt
|