@alma/widgets 3.3.5 → 3.3.7
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 +34 -30
- package/dist/raw/widgets.js.map +1 -1
- package/dist/raw/widgets.m.js +34 -30
- package/dist/raw/widgets.m.js.map +1 -1
- package/dist/raw/widgets.modern.js +34 -30
- package/dist/raw/widgets.modern.js.map +1 -1
- package/dist/raw/widgets.umd.js +34 -30
- 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
|
@@ -1896,7 +1896,7 @@ var messagesDE = {
|
|
|
1896
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
|
-
"eligibility-modal.title-pay-now": "Bezahlen Sie mit Alma
|
|
1899
|
+
"eligibility-modal.title-pay-now": "Bezahlen Sie auf einmal mit Alma per Kreditkarte.",
|
|
1900
1900
|
"installments.today": "Heute",
|
|
1901
1901
|
"installments.total-amount": "Gesamtsumme",
|
|
1902
1902
|
"installments.total-fees": "Davon Kosten",
|
|
@@ -1909,7 +1909,7 @@ var messagesDE = {
|
|
|
1909
1909
|
"payment-plan-strings.multiple-installments": "{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} dann {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} dann {numberOfRemainingInstallments} x {othersInstallmentAmount}}}",
|
|
1910
1910
|
"payment-plan-strings.multiple-installments-same-amount": "{installmentsCount} x {totalAmount}",
|
|
1911
1911
|
"payment-plan-strings.no-fee": "(0% Finanzierung)",
|
|
1912
|
-
"payment-plan-strings.pay-now": "
|
|
1912
|
+
"payment-plan-strings.pay-now": "Zahlen Sie jetzt {totalAmount}",
|
|
1913
1913
|
"payment-plan-strings.pay.now.button": "Jetzt bezahlen"
|
|
1914
1914
|
};
|
|
1915
1915
|
|
|
@@ -1948,15 +1948,15 @@ var messagesES = {
|
|
|
1948
1948
|
"credit-features.information": "Un préstamo te compromete y debe ser devuelto. Comprueba tu capacidad financiera antes de comprometerte.",
|
|
1949
1949
|
"credit-features.total-credit-cost": "Coste de crédito (incl. en el total)",
|
|
1950
1950
|
"eligibility-modal.bullet-1": "Elige <strong>Alma</strong> como método de pago.",
|
|
1951
|
-
"eligibility-modal.bullet-2": "
|
|
1952
|
-
"eligibility-modal.bullet-3": "<strong>
|
|
1951
|
+
"eligibility-modal.bullet-2": "Déjate guiar y válida tu pago en <strong>2 minutos.</strong>",
|
|
1952
|
+
"eligibility-modal.bullet-3": "<strong>Mantén el control</strong> adelantando o retrasando los plazos a su propio ritmo.",
|
|
1953
1953
|
"eligibility-modal.no-eligibility": "Uy, parece que la simulación no ha funcionado.",
|
|
1954
|
-
"eligibility-modal.p1x-bullet-1": "
|
|
1955
|
-
"eligibility-modal.p1x-bullet-2": "Introduzca los datos de
|
|
1956
|
-
"eligibility-modal.p1x-bullet-3": "<strong>¡La validación </strong> de
|
|
1954
|
+
"eligibility-modal.p1x-bullet-1": "Elije <strong>Alma - Pagar ahora</strong> al momento de la compra.",
|
|
1955
|
+
"eligibility-modal.p1x-bullet-2": "Introduzca los datos de tu tarjeta bancaria en <strong>.</strong>",
|
|
1956
|
+
"eligibility-modal.p1x-bullet-3": "<strong>¡La validación </strong> de tu pago es instantánea!",
|
|
1957
1957
|
"eligibility-modal.title-deferred-plan": "Paga a plazos o posteriormente con tarjeta bancaria con Alma.",
|
|
1958
1958
|
"eligibility-modal.title-normal": "Pagar a plazos con tarjeta bancaria con Alma.",
|
|
1959
|
-
"eligibility-modal.title-pay-now": "
|
|
1959
|
+
"eligibility-modal.title-pay-now": "Paga de contado con tu tarjeta bancaria a través de alma.",
|
|
1960
1960
|
"installments.today": "Hoy",
|
|
1961
1961
|
"installments.total-amount": "Total",
|
|
1962
1962
|
"installments.total-fees": "De los cuales, costes (IVA incluido)",
|
|
@@ -2016,7 +2016,7 @@ var messagesIT = {
|
|
|
2016
2016
|
"eligibility-modal.p1x-bullet-3": "Ricevi la conferma di pagamento <strong>istantaneamente!</strong>",
|
|
2017
2017
|
"eligibility-modal.title-deferred-plan": "Paga a rate con Alma, senza registrazione.",
|
|
2018
2018
|
"eligibility-modal.title-normal": "Paga a rate con Alma, senza registrazione.",
|
|
2019
|
-
"eligibility-modal.title-pay-now": "
|
|
2019
|
+
"eligibility-modal.title-pay-now": "Paga ora con carta tramite Alma.",
|
|
2020
2020
|
"installments.today": "Oggi",
|
|
2021
2021
|
"installments.total-amount": "Totale",
|
|
2022
2022
|
"installments.total-fees": "Di cui commissioni",
|
|
@@ -2037,24 +2037,24 @@ var messagesNL = {
|
|
|
2037
2037
|
"credit-features.credit-cost-display": "{creditCost} (gemiddeld rente percentage {taegPercentage})",
|
|
2038
2038
|
"credit-features.information": "Een lening is bindend en moet worden terugbetaald. Ga na of je het kunt terugbetalen voordat je jezelf vastlegt.",
|
|
2039
2039
|
"credit-features.total-credit-cost": "Waarvan kredietkosten",
|
|
2040
|
-
"eligibility-modal.bullet-1": "Kies <strong>Alma</strong> bij het afrekenen.",
|
|
2041
|
-
"eligibility-modal.bullet-2": "Laat ons je begeleiden
|
|
2042
|
-
"eligibility-modal.bullet-3": "<strong>Behoudt de controle</strong>
|
|
2040
|
+
"eligibility-modal.bullet-1": "Kies <strong>Alma</strong> bij het afrekenen om de eerste termijn te voldoen via iDeal, Bancontact of een gewenste creditcard.",
|
|
2041
|
+
"eligibility-modal.bullet-2": "Laat ons je begeleiden om de betaling binnen <strong>1 minuut </strong> te valideren zonder dat je een account hoeft aan te maken.",
|
|
2042
|
+
"eligibility-modal.bullet-3": "<strong>Behoudt de controle </strong> en bepaal je eigen tempo. Bij Alma schuif je de deadlines gemakkelijk vooruit of achteruit. Zonder BKR / CKP registratie of bijkomende kosten.",
|
|
2043
2043
|
"eligibility-modal.no-eligibility": "Oeps, het lijkt erop dat de simulatie niet werkte.",
|
|
2044
|
-
"eligibility-modal.p1x-bullet-1": "Kies <strong>Alma - Betaal nu</strong> bij het afrekenen.",
|
|
2045
|
-
"eligibility-modal.p1x-bullet-2": "Vul jouw <strong>
|
|
2044
|
+
"eligibility-modal.p1x-bullet-1": "Kies <strong>Alma - Betaal nu</strong> bij het afrekenen om de eerste termijn te voldoen via iDeal, Bancontact of een gewenste creditcard.",
|
|
2045
|
+
"eligibility-modal.p1x-bullet-2": "Vul jouw <strong>gegevens </strong> in",
|
|
2046
2046
|
"eligibility-modal.p1x-bullet-3": "<strong>De bevestiging </strong> van jouw betaling is onmiddellijk!",
|
|
2047
|
-
"eligibility-modal.title-deferred-plan": "Betaal in
|
|
2048
|
-
"eligibility-modal.title-normal": "Betaal in
|
|
2049
|
-
"eligibility-modal.title-pay-now": "Betaal
|
|
2050
|
-
"installments.today": "
|
|
2047
|
+
"eligibility-modal.title-deferred-plan": "Betaal in 2, 3 of 4 rentevrije termijnen bij Alma - zonder BKR of CKP registratie.",
|
|
2048
|
+
"eligibility-modal.title-normal": "Betaal in 2, 3 of 4 rentevrije termijnen bij Alma - zonder BKR of CKP registratie.",
|
|
2049
|
+
"eligibility-modal.title-pay-now": "Betaal met iDEAL of per creditcard bij Alma.",
|
|
2050
|
+
"installments.today": "Vandaag",
|
|
2051
2051
|
"installments.total-amount": "Totaal",
|
|
2052
2052
|
"installments.total-fees": "Waarvan kosten (incl. BTW)",
|
|
2053
2053
|
"payment-plan-strings.day-abbreviation": "D{deferredDays}",
|
|
2054
|
-
"payment-plan-strings.default-message": "Betaal in termijnen
|
|
2054
|
+
"payment-plan-strings.default-message": "Betaal in 2, 3 of 4 rentevrije termijnen bij Alma - zonder BKR of CKP registratie",
|
|
2055
2055
|
"payment-plan-strings.deferred": "{totalAmount} te betalen op {dueDate}",
|
|
2056
2056
|
"payment-plan-strings.ineligible-greater-than-max": "Tot {maxAmount}",
|
|
2057
|
-
"payment-plan-strings.ineligible-lower-than-min": "
|
|
2057
|
+
"payment-plan-strings.ineligible-lower-than-min": "Vanaf {minAmount}",
|
|
2058
2058
|
"payment-plan-strings.month-abbreviation": "M{deferredMonths}",
|
|
2059
2059
|
"payment-plan-strings.multiple-installments": "{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} dan {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} dan {numberOfRemainingInstallments} x {othersInstallmentAmount}}}",
|
|
2060
2060
|
"payment-plan-strings.multiple-installments-same-amount": "{installmentsCount} x {totalAmount}",
|
|
@@ -2066,22 +2066,22 @@ var messagesNL = {
|
|
|
2066
2066
|
var messagesPT = {
|
|
2067
2067
|
"credit-features.credit-cost-display": "{creditCost} (TAEG {taegPercentage})",
|
|
2068
2068
|
"credit-features.information": "Um crédito é um compromisso e deve ser reembolsado. Verifique a sua capacidade de pagar antes de se comprometer.",
|
|
2069
|
-
"credit-features.total-credit-cost": "Incluindo
|
|
2070
|
-
"eligibility-modal.bullet-1": "
|
|
2071
|
-
"eligibility-modal.bullet-2": "
|
|
2072
|
-
"eligibility-modal.bullet-3": "<strong>Mantenha o controlo</strong>
|
|
2069
|
+
"credit-features.total-credit-cost": "Incluindo comissões de crédito",
|
|
2070
|
+
"eligibility-modal.bullet-1": "Seleccionar <strong>Alma - Pay Now</strong> no final da compra.",
|
|
2071
|
+
"eligibility-modal.bullet-2": "Siga as instruções e valide o seu pagamento em <strong>2 minutos.</strong>",
|
|
2072
|
+
"eligibility-modal.bullet-3": "<strong>Mantenha o controlo</strong> adiando as datas de pagamento ao seu próprio ritmo.",
|
|
2073
2073
|
"eligibility-modal.no-eligibility": "Ups, parece que a simulação não funcionou.",
|
|
2074
2074
|
"eligibility-modal.p1x-bullet-1": "Escolha <strong>Alma - Pague agora</strong> no checkout.",
|
|
2075
|
-
"eligibility-modal.p1x-bullet-2": "Preencha
|
|
2075
|
+
"eligibility-modal.p1x-bullet-2": "Preencha os dados do seu <strong>cartão de bancário.</strong>",
|
|
2076
2076
|
"eligibility-modal.p1x-bullet-3": "<strong>A validação </strong> do seu pagamento é instantânea!",
|
|
2077
2077
|
"eligibility-modal.title-deferred-plan": "Pagar em prestações ou mais tarde por cartão de crédito com Alma.",
|
|
2078
|
-
"eligibility-modal.title-normal": "Pagar em prestações por cartão
|
|
2079
|
-
"eligibility-modal.title-pay-now": "
|
|
2078
|
+
"eligibility-modal.title-normal": "Pagar em prestações por cartão bancário com a Alma.",
|
|
2079
|
+
"eligibility-modal.title-pay-now": "Pague na integralidade com a Alma por cartão bancário.",
|
|
2080
2080
|
"installments.today": "Hoje",
|
|
2081
2081
|
"installments.total-amount": "Total",
|
|
2082
|
-
"installments.total-fees": "
|
|
2082
|
+
"installments.total-fees": "Das quais comissões (incl. IVA)",
|
|
2083
2083
|
"payment-plan-strings.day-abbreviation": "D{deferredDays}",
|
|
2084
|
-
"payment-plan-strings.default-message": "
|
|
2084
|
+
"payment-plan-strings.default-message": "Pagamento em prestações com a Alma",
|
|
2085
2085
|
"payment-plan-strings.deferred": "{totalAmount} a pagar em {dueDate}",
|
|
2086
2086
|
"payment-plan-strings.ineligible-greater-than-max": "Até {maxAmount}",
|
|
2087
2087
|
"payment-plan-strings.ineligible-lower-than-min": "A partir de {minAmount}",
|
|
@@ -2275,7 +2275,7 @@ var useFetchEligibility = function useFetchEligibility(purchaseAmount, _ref, pla
|
|
|
2275
2275
|
shipping_address: shipping_address
|
|
2276
2276
|
}, {
|
|
2277
2277
|
Authorization: "Alma-Merchant-Auth " + merchantId,
|
|
2278
|
-
'X-Alma-Agent': "Alma Widget/" + "v3.3.
|
|
2278
|
+
'X-Alma-Agent': "Alma Widget/" + "v3.3.7"
|
|
2279
2279
|
}).then(function (res) {
|
|
2280
2280
|
setEligibility(res);
|
|
2281
2281
|
setStatus(apiStatus.SUCCESS);
|
|
@@ -3137,6 +3137,10 @@ var useButtonAnimation = function useButtonAnimation(iterateValues, transitionDe
|
|
|
3137
3137
|
var timeout;
|
|
3138
3138
|
var isMounted = true;
|
|
3139
3139
|
|
|
3140
|
+
if (transitionDelay === -1) {
|
|
3141
|
+
return;
|
|
3142
|
+
}
|
|
3143
|
+
|
|
3140
3144
|
if (iterateValues.length !== 0) {
|
|
3141
3145
|
if (!iterateValues.includes(current) && update) setCurrent(iterateValues[0]);
|
|
3142
3146
|
timeout = setTimeout(function () {
|