@alma/widgets 3.2.0 → 3.2.2
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/raw/widgets.js +17 -15
- package/dist/raw/widgets.js.map +1 -1
- package/dist/raw/widgets.m.js +17 -15
- package/dist/raw/widgets.m.js.map +1 -1
- package/dist/raw/widgets.modern.js +15 -15
- package/dist/raw/widgets.modern.js.map +1 -1
- package/dist/raw/widgets.umd.js +17 -15
- package/dist/raw/widgets.umd.js.map +1 -1
- package/dist/widgets.js +1 -1
- package/dist/widgets.js.map +1 -1
- package/dist/widgets.m.js +1 -1
- package/dist/widgets.m.js.map +1 -1
- package/dist/widgets.modern.js +1 -1
- package/dist/widgets.modern.js.map +1 -1
- package/dist/widgets.umd.js +1 -1
- package/dist/widgets.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/raw/widgets.m.js
CHANGED
|
@@ -1886,11 +1886,11 @@ var messagesDE = {
|
|
|
1886
1886
|
"credit-features.total-credit-cost": "Davon Kreditkosten",
|
|
1887
1887
|
"eligibility-modal.bullet-1": "Wählen Sie <strong>Alma</strong> beim Check-out. ",
|
|
1888
1888
|
"eligibility-modal.bullet-2": "Lassen Sie sich führen und bestätigen Sie Ihre Zahlung in <strong>2 Minuten.</strong>",
|
|
1889
|
-
"eligibility-modal.bullet-3": "
|
|
1889
|
+
"eligibility-modal.bullet-3": "</strong>Verlieren Sie nicht die Kontrolle,</strong> indem Sie Ihre Fälligkeitstermine nach Ihrem eigenen Tempo vor- oder zurückverlegen.",
|
|
1890
1890
|
"eligibility-modal.no-eligibility": "Ups, die Prüfung hat anscheinend nicht funktioniert.",
|
|
1891
|
-
"eligibility-modal.p1x-bullet-1": "Wählen Sie <strong>Alma - 1X</strong>
|
|
1892
|
-
"eligibility-modal.p1x-bullet-2": "
|
|
1893
|
-
"eligibility-modal.p1x-bullet-3": "<strong>
|
|
1891
|
+
"eligibility-modal.p1x-bullet-1": "Wählen Sie <strong>Alma - 1X</strong> beim Check-out.",
|
|
1892
|
+
"eligibility-modal.p1x-bullet-2": "Tragen Sie Ihre <strong>Kreditkarteninformationen ein.</strong>",
|
|
1893
|
+
"eligibility-modal.p1x-bullet-3": "<strong> Ihre Zahlung wird sofort bestätigt! </strong>",
|
|
1894
1894
|
"eligibility-modal.title-deferred-plan": "Zahlen Sie mit Alma in Raten oder später.",
|
|
1895
1895
|
"eligibility-modal.title-normal": "Zahlen Sie mit Alma in mehreren Raten.",
|
|
1896
1896
|
"installments.today": "Heute",
|
|
@@ -1904,7 +1904,7 @@ var messagesDE = {
|
|
|
1904
1904
|
"payment-plan-strings.multiple-installments": "{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} dann {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} dann {numberOfRemainingInstallments} x {othersInstallmentAmount}}}",
|
|
1905
1905
|
"payment-plan-strings.multiple-installments-same-amount": "{installmentsCount} x {totalAmount}",
|
|
1906
1906
|
"payment-plan-strings.no-fee": "(0% Finanzierung)",
|
|
1907
|
-
"payment-plan-strings.pay-now": "
|
|
1907
|
+
"payment-plan-strings.pay-now": "Zahlen Sie jetzt {totalAmount}"
|
|
1908
1908
|
};
|
|
1909
1909
|
|
|
1910
1910
|
var messagesEN = {
|
|
@@ -1992,20 +1992,20 @@ var messagesIT = {
|
|
|
1992
1992
|
"credit-features.credit-cost-display": "{creditCost} (TAEG {taegPercentage})",
|
|
1993
1993
|
"credit-features.information": "Un pagamento rateale ti impegna e deve essere ripagato. Verifica la tua disponibilità finanziaria prima di impegnarti.",
|
|
1994
1994
|
"credit-features.total-credit-cost": "Di cui commissioni",
|
|
1995
|
-
"eligibility-modal.bullet-1": "
|
|
1996
|
-
"eligibility-modal.bullet-2": "
|
|
1997
|
-
"eligibility-modal.bullet-3": "<strong>
|
|
1995
|
+
"eligibility-modal.bullet-1": "Seleziona <strong>Alma</strong> come metodo di pagamento.",
|
|
1996
|
+
"eligibility-modal.bullet-2": "Segui le istruzioni e completa l'acquisto <strong>in meno di 2 minuti.</strong>",
|
|
1997
|
+
"eligibility-modal.bullet-3": "<strong>Gestisci il tuo piano di pagamento</strong> e modifica le scadenze secondo le tue esigenze.",
|
|
1998
1998
|
"eligibility-modal.no-eligibility": "Ops, sembra che qualcosa non abbia funzionato.",
|
|
1999
|
-
"eligibility-modal.p1x-bullet-1": "
|
|
2000
|
-
"eligibility-modal.p1x-bullet-2": "
|
|
2001
|
-
"eligibility-modal.p1x-bullet-3": "
|
|
2002
|
-
"eligibility-modal.title-deferred-plan": "Paga a rate
|
|
1999
|
+
"eligibility-modal.p1x-bullet-1": "Scegli <strong>Alma - 1X</strong> alla cassa.",
|
|
2000
|
+
"eligibility-modal.p1x-bullet-2": "Inserisci i dati della tua <strong>carta bancaria.</strong>",
|
|
2001
|
+
"eligibility-modal.p1x-bullet-3": "Ricevi la conferma di pagamento <strong>istantaneamente!</strong>",
|
|
2002
|
+
"eligibility-modal.title-deferred-plan": "Paga a rate con Alma, senza registrazione.",
|
|
2003
2003
|
"eligibility-modal.title-normal": "Paga a rate con Alma, senza registrazione.",
|
|
2004
2004
|
"installments.today": "Oggi",
|
|
2005
2005
|
"installments.total-amount": "Totale",
|
|
2006
2006
|
"installments.total-fees": "Di cui commissioni",
|
|
2007
2007
|
"payment-plan-strings.day-abbreviation": "G{numberOfDeferredDays}",
|
|
2008
|
-
"payment-plan-strings.default-message": "Paga a rate con Alma",
|
|
2008
|
+
"payment-plan-strings.default-message": "Paga a rate con Alma, senza registrazione.",
|
|
2009
2009
|
"payment-plan-strings.deferred": "{totalAmount} da pagare il {dueDate}",
|
|
2010
2010
|
"payment-plan-strings.ineligible-greater-than-max": "Disponibile fino a {maxAmount}",
|
|
2011
2011
|
"payment-plan-strings.ineligible-lower-than-min": "Pagamento rateale disponibile a partire da {minAmount}",
|
|
@@ -2186,9 +2186,11 @@ var getPaymentPlanBoundaries = function getPaymentPlanBoundaries(plan, configPla
|
|
|
2186
2186
|
};
|
|
2187
2187
|
|
|
2188
2188
|
var filterELigibility = function filterELigibility(eligibilities, configPlans) {
|
|
2189
|
-
//
|
|
2189
|
+
// Remove P1X if no configuration is provided
|
|
2190
2190
|
if (!configPlans) {
|
|
2191
|
-
return eligibilities
|
|
2191
|
+
return eligibilities.filter(function (plan) {
|
|
2192
|
+
return !(plan.installments_count === 1 && plan.deferred_days === 0 && plan.deferred_months === 0);
|
|
2193
|
+
});
|
|
2192
2194
|
} // Else check if the plan is eligible regarding the related configPlan
|
|
2193
2195
|
|
|
2194
2196
|
|