@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
|
@@ -1864,11 +1864,11 @@ var messagesDE = {
|
|
|
1864
1864
|
"credit-features.total-credit-cost": "Davon Kreditkosten",
|
|
1865
1865
|
"eligibility-modal.bullet-1": "Wählen Sie <strong>Alma</strong> beim Check-out. ",
|
|
1866
1866
|
"eligibility-modal.bullet-2": "Lassen Sie sich führen und bestätigen Sie Ihre Zahlung in <strong>2 Minuten.</strong>",
|
|
1867
|
-
"eligibility-modal.bullet-3": "
|
|
1867
|
+
"eligibility-modal.bullet-3": "</strong>Verlieren Sie nicht die Kontrolle,</strong> indem Sie Ihre Fälligkeitstermine nach Ihrem eigenen Tempo vor- oder zurückverlegen.",
|
|
1868
1868
|
"eligibility-modal.no-eligibility": "Ups, die Prüfung hat anscheinend nicht funktioniert.",
|
|
1869
|
-
"eligibility-modal.p1x-bullet-1": "Wählen Sie <strong>Alma - 1X</strong>
|
|
1870
|
-
"eligibility-modal.p1x-bullet-2": "
|
|
1871
|
-
"eligibility-modal.p1x-bullet-3": "<strong>
|
|
1869
|
+
"eligibility-modal.p1x-bullet-1": "Wählen Sie <strong>Alma - 1X</strong> beim Check-out.",
|
|
1870
|
+
"eligibility-modal.p1x-bullet-2": "Tragen Sie Ihre <strong>Kreditkarteninformationen ein.</strong>",
|
|
1871
|
+
"eligibility-modal.p1x-bullet-3": "<strong> Ihre Zahlung wird sofort bestätigt! </strong>",
|
|
1872
1872
|
"eligibility-modal.title-deferred-plan": "Zahlen Sie mit Alma in Raten oder später.",
|
|
1873
1873
|
"eligibility-modal.title-normal": "Zahlen Sie mit Alma in mehreren Raten.",
|
|
1874
1874
|
"installments.today": "Heute",
|
|
@@ -1882,7 +1882,7 @@ var messagesDE = {
|
|
|
1882
1882
|
"payment-plan-strings.multiple-installments": "{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} dann {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} dann {numberOfRemainingInstallments} x {othersInstallmentAmount}}}",
|
|
1883
1883
|
"payment-plan-strings.multiple-installments-same-amount": "{installmentsCount} x {totalAmount}",
|
|
1884
1884
|
"payment-plan-strings.no-fee": "(0% Finanzierung)",
|
|
1885
|
-
"payment-plan-strings.pay-now": "
|
|
1885
|
+
"payment-plan-strings.pay-now": "Zahlen Sie jetzt {totalAmount}"
|
|
1886
1886
|
};
|
|
1887
1887
|
|
|
1888
1888
|
var messagesEN = {
|
|
@@ -1970,20 +1970,20 @@ var messagesIT = {
|
|
|
1970
1970
|
"credit-features.credit-cost-display": "{creditCost} (TAEG {taegPercentage})",
|
|
1971
1971
|
"credit-features.information": "Un pagamento rateale ti impegna e deve essere ripagato. Verifica la tua disponibilità finanziaria prima di impegnarti.",
|
|
1972
1972
|
"credit-features.total-credit-cost": "Di cui commissioni",
|
|
1973
|
-
"eligibility-modal.bullet-1": "
|
|
1974
|
-
"eligibility-modal.bullet-2": "
|
|
1975
|
-
"eligibility-modal.bullet-3": "<strong>
|
|
1973
|
+
"eligibility-modal.bullet-1": "Seleziona <strong>Alma</strong> come metodo di pagamento.",
|
|
1974
|
+
"eligibility-modal.bullet-2": "Segui le istruzioni e completa l'acquisto <strong>in meno di 2 minuti.</strong>",
|
|
1975
|
+
"eligibility-modal.bullet-3": "<strong>Gestisci il tuo piano di pagamento</strong> e modifica le scadenze secondo le tue esigenze.",
|
|
1976
1976
|
"eligibility-modal.no-eligibility": "Ops, sembra che qualcosa non abbia funzionato.",
|
|
1977
|
-
"eligibility-modal.p1x-bullet-1": "
|
|
1978
|
-
"eligibility-modal.p1x-bullet-2": "
|
|
1979
|
-
"eligibility-modal.p1x-bullet-3": "
|
|
1980
|
-
"eligibility-modal.title-deferred-plan": "Paga a rate
|
|
1977
|
+
"eligibility-modal.p1x-bullet-1": "Scegli <strong>Alma - 1X</strong> alla cassa.",
|
|
1978
|
+
"eligibility-modal.p1x-bullet-2": "Inserisci i dati della tua <strong>carta bancaria.</strong>",
|
|
1979
|
+
"eligibility-modal.p1x-bullet-3": "Ricevi la conferma di pagamento <strong>istantaneamente!</strong>",
|
|
1980
|
+
"eligibility-modal.title-deferred-plan": "Paga a rate con Alma, senza registrazione.",
|
|
1981
1981
|
"eligibility-modal.title-normal": "Paga a rate con Alma, senza registrazione.",
|
|
1982
1982
|
"installments.today": "Oggi",
|
|
1983
1983
|
"installments.total-amount": "Totale",
|
|
1984
1984
|
"installments.total-fees": "Di cui commissioni",
|
|
1985
1985
|
"payment-plan-strings.day-abbreviation": "G{numberOfDeferredDays}",
|
|
1986
|
-
"payment-plan-strings.default-message": "Paga a rate con Alma",
|
|
1986
|
+
"payment-plan-strings.default-message": "Paga a rate con Alma, senza registrazione.",
|
|
1987
1987
|
"payment-plan-strings.deferred": "{totalAmount} da pagare il {dueDate}",
|
|
1988
1988
|
"payment-plan-strings.ineligible-greater-than-max": "Disponibile fino a {maxAmount}",
|
|
1989
1989
|
"payment-plan-strings.ineligible-lower-than-min": "Pagamento rateale disponibile a partire da {minAmount}",
|
|
@@ -2154,9 +2154,9 @@ const getPaymentPlanBoundaries = (plan, configPlan) => {
|
|
|
2154
2154
|
};
|
|
2155
2155
|
|
|
2156
2156
|
const filterELigibility = (eligibilities, configPlans) => {
|
|
2157
|
-
//
|
|
2157
|
+
// Remove P1X if no configuration is provided
|
|
2158
2158
|
if (!configPlans) {
|
|
2159
|
-
return eligibilities;
|
|
2159
|
+
return eligibilities.filter(plan => !(plan.installments_count === 1 && plan.deferred_days === 0 && plan.deferred_months === 0));
|
|
2160
2160
|
} // Else check if the plan is eligible regarding the related configPlan
|
|
2161
2161
|
|
|
2162
2162
|
|