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