@alma/widgets 3.3.0 → 3.3.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.css +5 -3
- package/dist/raw/widgets.js +50 -21
- package/dist/raw/widgets.js.map +1 -1
- package/dist/raw/widgets.m.js +50 -21
- package/dist/raw/widgets.m.js.map +1 -1
- package/dist/raw/widgets.modern.js +50 -21
- package/dist/raw/widgets.modern.js.map +1 -1
- package/dist/raw/widgets.umd.js +50 -21
- package/dist/raw/widgets.umd.js.map +1 -1
- package/dist/types/Widgets/EligibilityModal/components/Title/index.d.ts +1 -0
- package/dist/widgets.css +2 -2
- 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
|
@@ -1888,11 +1888,12 @@ var messagesDE = {
|
|
|
1888
1888
|
"eligibility-modal.bullet-2": "Lassen Sie sich führen und bestätigen Sie Ihre Zahlung in <strong>2 Minuten.</strong>",
|
|
1889
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 -
|
|
1891
|
+
"eligibility-modal.p1x-bullet-1": "Wählen Sie <strong>Alma - Jetzt bezahlen</strong> zum Zeitpunkt der Zahlung.",
|
|
1892
1892
|
"eligibility-modal.p1x-bullet-2": "Tragen Sie Ihre <strong>Kreditkarteninformationen ein.</strong>",
|
|
1893
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
|
+
"eligibility-modal.title-pay-now": "Bezahlen Sie mit Alma in einem Mal per Kreditkarte.",
|
|
1896
1897
|
"installments.today": "Heute",
|
|
1897
1898
|
"installments.total-amount": "Gesamtsumme",
|
|
1898
1899
|
"installments.total-fees": "Davon Kosten",
|
|
@@ -1905,7 +1906,8 @@ var messagesDE = {
|
|
|
1905
1906
|
"payment-plan-strings.multiple-installments": "{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} dann {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} dann {numberOfRemainingInstallments} x {othersInstallmentAmount}}}",
|
|
1906
1907
|
"payment-plan-strings.multiple-installments-same-amount": "{installmentsCount} x {totalAmount}",
|
|
1907
1908
|
"payment-plan-strings.no-fee": "(0% Finanzierung)",
|
|
1908
|
-
"payment-plan-strings.pay-now": "Zahlen Sie jetzt {totalAmount}"
|
|
1909
|
+
"payment-plan-strings.pay-now": "Zahlen Sie jetzt {totalAmount}",
|
|
1910
|
+
"payment-plan-strings.pay.now.button": "Jetzt bezahlen"
|
|
1909
1911
|
};
|
|
1910
1912
|
|
|
1911
1913
|
var messagesEN = {
|
|
@@ -1916,11 +1918,12 @@ var messagesEN = {
|
|
|
1916
1918
|
"eligibility-modal.bullet-2": "Let us guide you and validate your payment in <strong>2 minutes.</strong>",
|
|
1917
1919
|
"eligibility-modal.bullet-3": "<strong>Stay in control</strong> by moving your deadlines forward or backward at your own pace.",
|
|
1918
1920
|
"eligibility-modal.no-eligibility": "Oops, looks like the simulation didn't work.",
|
|
1919
|
-
"eligibility-modal.p1x-bullet-1": "Choose <strong>Alma -
|
|
1921
|
+
"eligibility-modal.p1x-bullet-1": "Choose <strong>Alma - Pay Now</strong> at checkout.",
|
|
1920
1922
|
"eligibility-modal.p1x-bullet-2": "Fill in your <strong>credit card information.</strong>",
|
|
1921
1923
|
"eligibility-modal.p1x-bullet-3": "<strong>The validation </strong> of your payment is instantaneous!",
|
|
1922
1924
|
"eligibility-modal.title-deferred-plan": "Pay in installments or later by credit card with Alma.",
|
|
1923
1925
|
"eligibility-modal.title-normal": "Pay in installments by credit card with Alma.",
|
|
1926
|
+
"eligibility-modal.title-pay-now": "Pay in one go by credit card with Alma.",
|
|
1924
1927
|
"installments.today": "Today",
|
|
1925
1928
|
"installments.total-amount": "Total",
|
|
1926
1929
|
"installments.total-fees": "Of which costs (incl. VAT)",
|
|
@@ -1933,7 +1936,8 @@ var messagesEN = {
|
|
|
1933
1936
|
"payment-plan-strings.multiple-installments": "{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} then {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} then {numberOfRemainingInstallments} x {othersInstallmentAmount}}}",
|
|
1934
1937
|
"payment-plan-strings.multiple-installments-same-amount": "{installmentsCount} x {totalAmount}",
|
|
1935
1938
|
"payment-plan-strings.no-fee": "(free of charge)",
|
|
1936
|
-
"payment-plan-strings.pay-now": "Pay now {totalAmount}"
|
|
1939
|
+
"payment-plan-strings.pay-now": "Pay now {totalAmount}",
|
|
1940
|
+
"payment-plan-strings.pay.now.button": "Pay Now"
|
|
1937
1941
|
};
|
|
1938
1942
|
|
|
1939
1943
|
var messagesES = {
|
|
@@ -1944,11 +1948,12 @@ var messagesES = {
|
|
|
1944
1948
|
"eligibility-modal.bullet-2": "Déjese guiar y valide su pago en <strong>2 minutos.</strong>",
|
|
1945
1949
|
"eligibility-modal.bullet-3": "<strong>Mantenga el control</strong> adelantando o retrasando los plazos a su propio ritmo.",
|
|
1946
1950
|
"eligibility-modal.no-eligibility": "Uy, parece que la simulación no ha funcionado.",
|
|
1947
|
-
"eligibility-modal.p1x-bullet-1": "Elija <strong>Alma -
|
|
1951
|
+
"eligibility-modal.p1x-bullet-1": "Elija <strong>Alma - Pagar ahora</strong> en la caja.",
|
|
1948
1952
|
"eligibility-modal.p1x-bullet-2": "Introduzca los datos de su tarjeta de crédito en <strong>.</strong>",
|
|
1949
1953
|
"eligibility-modal.p1x-bullet-3": "<strong>¡La validación </strong> de su pago es instantánea!",
|
|
1950
1954
|
"eligibility-modal.title-deferred-plan": "Paga a plazos o posteriormente con tarjeta bancaria con Alma.",
|
|
1951
1955
|
"eligibility-modal.title-normal": "Pagar a plazos con tarjeta bancaria con Alma.",
|
|
1956
|
+
"eligibility-modal.title-pay-now": "Pague de una sola vez con tarjeta de crédito con Alma.",
|
|
1952
1957
|
"installments.today": "Hoy",
|
|
1953
1958
|
"installments.total-amount": "Total",
|
|
1954
1959
|
"installments.total-fees": "De los cuales, costes (IVA incluido)",
|
|
@@ -1961,7 +1966,8 @@ var messagesES = {
|
|
|
1961
1966
|
"payment-plan-strings.multiple-installments": "{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} hoy, después {numberOfRemainingInstallments} mensualidad de {othersInstallmentAmount}} other {{firstInstallmentAmount} hoy, después {numberOfRemainingInstallments} mensualidades de {othersInstallmentAmount}}}",
|
|
1962
1967
|
"payment-plan-strings.multiple-installments-same-amount": "{installmentsCount} plazos de {totalAmount}",
|
|
1963
1968
|
"payment-plan-strings.no-fee": "(sin intereses)",
|
|
1964
|
-
"payment-plan-strings.pay-now": "Pague ahora {totalAmount}"
|
|
1969
|
+
"payment-plan-strings.pay-now": "Pague ahora {totalAmount}",
|
|
1970
|
+
"payment-plan-strings.pay.now.button": "Pagar ahora"
|
|
1965
1971
|
};
|
|
1966
1972
|
|
|
1967
1973
|
var messagesFR = {
|
|
@@ -1972,11 +1978,12 @@ var messagesFR = {
|
|
|
1972
1978
|
"eligibility-modal.bullet-2": "Laissez-vous guider et validez votre paiement en <strong>2 minutes.</strong>",
|
|
1973
1979
|
"eligibility-modal.bullet-3": "<strong>Gardez le contrôle</strong> en avançant ou reculant vos échéances à votre rythme.",
|
|
1974
1980
|
"eligibility-modal.no-eligibility": "Oups, il semblerait que la simulation n'ait pas fonctionné.",
|
|
1975
|
-
"eligibility-modal.p1x-bullet-1": "Choisissez <strong>Alma -
|
|
1981
|
+
"eligibility-modal.p1x-bullet-1": "Choisissez <strong>Alma - Payez maintenant</strong> au moment du paiement.",
|
|
1976
1982
|
"eligibility-modal.p1x-bullet-2": "Renseignez les informations de votre <strong>carte bancaire.</strong>",
|
|
1977
1983
|
"eligibility-modal.p1x-bullet-3": "<strong>La validation </strong> de votre paiement est instantanée !",
|
|
1978
1984
|
"eligibility-modal.title-deferred-plan": "Payez en plusieurs fois ou plus tard par carte bancaire avec Alma.",
|
|
1979
1985
|
"eligibility-modal.title-normal": "Payez en plusieurs fois par carte bancaire avec Alma.",
|
|
1986
|
+
"eligibility-modal.title-pay-now": "Payez en une fois par carte bancaire avec Alma.",
|
|
1980
1987
|
"installments.today": "Aujourd'hui",
|
|
1981
1988
|
"installments.total-amount": "Total",
|
|
1982
1989
|
"installments.total-fees": "Dont frais (TTC)",
|
|
@@ -1989,7 +1996,8 @@ var messagesFR = {
|
|
|
1989
1996
|
"payment-plan-strings.multiple-installments": "{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}}}",
|
|
1990
1997
|
"payment-plan-strings.multiple-installments-same-amount": "{installmentsCount} x {totalAmount}",
|
|
1991
1998
|
"payment-plan-strings.no-fee": "(sans frais)",
|
|
1992
|
-
"payment-plan-strings.pay-now": "Payez maintenant {totalAmount}"
|
|
1999
|
+
"payment-plan-strings.pay-now": "Payez maintenant {totalAmount}",
|
|
2000
|
+
"payment-plan-strings.pay.now.button": "Payez maintenant"
|
|
1993
2001
|
};
|
|
1994
2002
|
|
|
1995
2003
|
var messagesIT = {
|
|
@@ -2000,11 +2008,12 @@ var messagesIT = {
|
|
|
2000
2008
|
"eligibility-modal.bullet-2": "Segui le istruzioni e completa l'acquisto <strong>in meno di 2 minuti.</strong>",
|
|
2001
2009
|
"eligibility-modal.bullet-3": "<strong>Gestisci il tuo piano di pagamento</strong> e modifica le scadenze secondo le tue esigenze.",
|
|
2002
2010
|
"eligibility-modal.no-eligibility": "Ops, sembra che qualcosa non abbia funzionato.",
|
|
2003
|
-
"eligibility-modal.p1x-bullet-1": "
|
|
2011
|
+
"eligibility-modal.p1x-bullet-1": "Scegliete <strong>Alma - Paga ora</strong> al momento del checkout.",
|
|
2004
2012
|
"eligibility-modal.p1x-bullet-2": "Inserisci i dati della tua <strong>carta bancaria.</strong>",
|
|
2005
2013
|
"eligibility-modal.p1x-bullet-3": "Ricevi la conferma di pagamento <strong>istantaneamente!</strong>",
|
|
2006
2014
|
"eligibility-modal.title-deferred-plan": "Paga a rate con Alma, senza registrazione.",
|
|
2007
2015
|
"eligibility-modal.title-normal": "Paga a rate con Alma, senza registrazione.",
|
|
2016
|
+
"eligibility-modal.title-pay-now": "Pagate in un'unica soluzione con carta di credito con Alma.",
|
|
2008
2017
|
"installments.today": "Oggi",
|
|
2009
2018
|
"installments.total-amount": "Totale",
|
|
2010
2019
|
"installments.total-fees": "Di cui commissioni",
|
|
@@ -2017,7 +2026,8 @@ var messagesIT = {
|
|
|
2017
2026
|
"payment-plan-strings.multiple-installments": "{numberOfRemainingInstallments, plural, one {Oggi paghi {firstInstallmentAmount} poi tra {numberOfRemainingInstallments} mese {othersInstallmentAmount}} other {Oggi paghi {firstInstallmentAmount} poi {numberOfRemainingInstallments} rate mensili di {othersInstallmentAmount}}}",
|
|
2018
2027
|
"payment-plan-strings.multiple-installments-same-amount": "In {installmentsCount} rate mensili di {totalAmount}",
|
|
2019
2028
|
"payment-plan-strings.no-fee": "(senza interessi)",
|
|
2020
|
-
"payment-plan-strings.pay-now": "Paga ora {totalAmount}"
|
|
2029
|
+
"payment-plan-strings.pay-now": "Paga ora {totalAmount}",
|
|
2030
|
+
"payment-plan-strings.pay.now.button": "Paga ora"
|
|
2021
2031
|
};
|
|
2022
2032
|
|
|
2023
2033
|
var messagesNL = {
|
|
@@ -2028,11 +2038,12 @@ var messagesNL = {
|
|
|
2028
2038
|
"eligibility-modal.bullet-2": "Laat ons je begeleiden en jouw betaling valideren in <strong>2 minuten.</strong>",
|
|
2029
2039
|
"eligibility-modal.bullet-3": "<strong>Behoudt de controle</strong> door jouw deadlines op je eigen tempo vooruit of achteruit te schuiven.",
|
|
2030
2040
|
"eligibility-modal.no-eligibility": "Oeps, het lijkt erop dat de simulatie niet werkte.",
|
|
2031
|
-
"eligibility-modal.p1x-bullet-1": "Kies <strong>Alma -
|
|
2041
|
+
"eligibility-modal.p1x-bullet-1": "Kies <strong>Alma - Betaal nu</strong> bij het afrekenen.",
|
|
2032
2042
|
"eligibility-modal.p1x-bullet-2": "Vul jouw <strong>creditcardgegevens </strong> in.",
|
|
2033
2043
|
"eligibility-modal.p1x-bullet-3": "<strong>De bevestiging </strong> van jouw betaling is onmiddellijk!",
|
|
2034
2044
|
"eligibility-modal.title-deferred-plan": "Betaal in termijnen of later via iDEAL of per creditcard met Alma.",
|
|
2035
2045
|
"eligibility-modal.title-normal": "Betaal in termijnen met iDEAL of creditcard bij Alma.",
|
|
2046
|
+
"eligibility-modal.title-pay-now": "Betaal in één keer met Alma.",
|
|
2036
2047
|
"installments.today": "Tegenwoordig",
|
|
2037
2048
|
"installments.total-amount": "Totaal",
|
|
2038
2049
|
"installments.total-fees": "Waarvan kosten (incl. BTW)",
|
|
@@ -2045,7 +2056,8 @@ var messagesNL = {
|
|
|
2045
2056
|
"payment-plan-strings.multiple-installments": "{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} dan {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} dan {numberOfRemainingInstallments} x {othersInstallmentAmount}}}",
|
|
2046
2057
|
"payment-plan-strings.multiple-installments-same-amount": "{installmentsCount} x {totalAmount}",
|
|
2047
2058
|
"payment-plan-strings.no-fee": "(zonder kosten)",
|
|
2048
|
-
"payment-plan-strings.pay-now": "Betaal nu {totalAmount}"
|
|
2059
|
+
"payment-plan-strings.pay-now": "Betaal nu {totalAmount}",
|
|
2060
|
+
"payment-plan-strings.pay.now.button": "Betaal nu"
|
|
2049
2061
|
};
|
|
2050
2062
|
|
|
2051
2063
|
var messagesPT = {
|
|
@@ -2054,13 +2066,14 @@ var messagesPT = {
|
|
|
2054
2066
|
"credit-features.total-credit-cost": "Incluindo custo do crédito",
|
|
2055
2067
|
"eligibility-modal.bullet-1": "Escolha a <strong>Alma</strong> no checkout.",
|
|
2056
2068
|
"eligibility-modal.bullet-2": "Deixe-nos guiá-lo e validar o seu pagamento em <strong>2 minutos.</strong>",
|
|
2057
|
-
"eligibility-modal.bullet-3": "<strong>Mantenha
|
|
2069
|
+
"eligibility-modal.bullet-3": "<strong>Mantenha o controlo</strong> avançando ou recuando os seus prazos ao seu próprio ritmo.",
|
|
2058
2070
|
"eligibility-modal.no-eligibility": "Ups, parece que a simulação não funcionou.",
|
|
2059
|
-
"eligibility-modal.p1x-bullet-1": "
|
|
2071
|
+
"eligibility-modal.p1x-bullet-1": "Seleccionar <strong>Alma - Pagar agora</strong> no final da compra.",
|
|
2060
2072
|
"eligibility-modal.p1x-bullet-2": "Preencha as informações do seu <strong>cartão de crédito.</strong>",
|
|
2061
2073
|
"eligibility-modal.p1x-bullet-3": "<strong>A validação </strong> do seu pagamento é instantânea!",
|
|
2062
2074
|
"eligibility-modal.title-deferred-plan": "Pagar em prestações ou mais tarde por cartão de crédito com Alma.",
|
|
2063
2075
|
"eligibility-modal.title-normal": "Pagar em prestações por cartão de crédito com Alma.",
|
|
2076
|
+
"eligibility-modal.title-pay-now": "Pagar de uma só vez com cartão de crédito com a Alma.",
|
|
2064
2077
|
"installments.today": "Hoje",
|
|
2065
2078
|
"installments.total-amount": "Total",
|
|
2066
2079
|
"installments.total-fees": "Dos quais custos (incl. IVA)",
|
|
@@ -2073,7 +2086,8 @@ var messagesPT = {
|
|
|
2073
2086
|
"payment-plan-strings.multiple-installments": "{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} depois {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} depois {numberOfRemainingInstallments} x {othersInstallmentAmount}}}",
|
|
2074
2087
|
"payment-plan-strings.multiple-installments-same-amount": "{installmentsCount} x {totalAmount}",
|
|
2075
2088
|
"payment-plan-strings.no-fee": "(sem encargos)",
|
|
2076
|
-
"payment-plan-strings.pay-now": "Pague agora {totalAmount}"
|
|
2089
|
+
"payment-plan-strings.pay-now": "Pague agora {totalAmount}",
|
|
2090
|
+
"payment-plan-strings.pay.now.button": "Pagar agora"
|
|
2077
2091
|
};
|
|
2078
2092
|
|
|
2079
2093
|
var getTranslationsByLocale = function getTranslationsByLocale(locale) {
|
|
@@ -2435,6 +2449,13 @@ var paymentPlanShorthandName = function paymentPlanShorthandName(payment) {
|
|
|
2435
2449
|
deferred_months = payment.deferred_months,
|
|
2436
2450
|
installmentsCount = payment.installments_count;
|
|
2437
2451
|
|
|
2452
|
+
if (installmentsCount === 1 && !deferred_days && !deferred_months) {
|
|
2453
|
+
return /*#__PURE__*/React.createElement(FormattedMessage, {
|
|
2454
|
+
id: "payment-plan-strings.pay.now.button",
|
|
2455
|
+
defaultMessage: "Payez maintenant"
|
|
2456
|
+
});
|
|
2457
|
+
}
|
|
2458
|
+
|
|
2438
2459
|
if (installmentsCount === 1 && deferred_days) {
|
|
2439
2460
|
return /*#__PURE__*/React.createElement(FormattedMessage, {
|
|
2440
2461
|
id: "payment-plan-strings.day-abbreviation",
|
|
@@ -2589,7 +2610,7 @@ var paymentPlanInfoText = function paymentPlanInfoText(payment) {
|
|
|
2589
2610
|
});
|
|
2590
2611
|
};
|
|
2591
2612
|
|
|
2592
|
-
var s$3 = {"buttons":"_1l2Oa","active":"_3rue7"};
|
|
2613
|
+
var s$3 = {"buttons":"_1l2Oa","active":"_3rue7","textButton":"_2T78a"};
|
|
2593
2614
|
|
|
2594
2615
|
var EligibilityPlansButtons = function EligibilityPlansButtons(_ref) {
|
|
2595
2616
|
var eligibilityPlans = _ref.eligibilityPlans,
|
|
@@ -2606,7 +2627,9 @@ var EligibilityPlansButtons = function EligibilityPlansButtons(_ref) {
|
|
|
2606
2627
|
onClick: function onClick() {
|
|
2607
2628
|
return setCurrentPlanIndex(index);
|
|
2608
2629
|
}
|
|
2609
|
-
},
|
|
2630
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
2631
|
+
className: s$3.textButton
|
|
2632
|
+
}, paymentPlanShorthandName(eligibilityPlan)));
|
|
2610
2633
|
}));
|
|
2611
2634
|
};
|
|
2612
2635
|
|
|
@@ -2871,7 +2894,7 @@ var Info = function Info(_ref) {
|
|
|
2871
2894
|
className: STATIC_CUSTOMISATION_CLASSES.infoMessage
|
|
2872
2895
|
}, isCurrentPlanP1X ? /*#__PURE__*/React.createElement(FormattedMessage, {
|
|
2873
2896
|
id: "eligibility-modal.p1x-bullet-1",
|
|
2874
|
-
defaultMessage: "Choisissez <strong>Alma -
|
|
2897
|
+
defaultMessage: "Choisissez <strong>Alma - Payez maintenant</strong> au moment du paiement.",
|
|
2875
2898
|
values: {
|
|
2876
2899
|
strong: function strong() {
|
|
2877
2900
|
return /*#__PURE__*/React.createElement("strong", null, [].slice.call(arguments));
|
|
@@ -2936,13 +2959,17 @@ var Info = function Info(_ref) {
|
|
|
2936
2959
|
var s$8 = {"title":"_3ERx-"};
|
|
2937
2960
|
|
|
2938
2961
|
var Title = function Title(_ref) {
|
|
2939
|
-
var isSomePlanDeferred = _ref.isSomePlanDeferred
|
|
2962
|
+
var isSomePlanDeferred = _ref.isSomePlanDeferred,
|
|
2963
|
+
isCurrentPlanP1X = _ref.isCurrentPlanP1X;
|
|
2940
2964
|
return /*#__PURE__*/React.createElement("div", {
|
|
2941
2965
|
className: cx(s$8.title, STATIC_CUSTOMISATION_CLASSES.title),
|
|
2942
2966
|
"data-testid": "modal-title-element"
|
|
2943
2967
|
}, isSomePlanDeferred ? /*#__PURE__*/React.createElement(FormattedMessage, {
|
|
2944
2968
|
id: "eligibility-modal.title-deferred-plan",
|
|
2945
2969
|
defaultMessage: "Payez en plusieurs fois ou plus tard par carte bancaire avec Alma."
|
|
2970
|
+
}) : isCurrentPlanP1X ? /*#__PURE__*/React.createElement(FormattedMessage, {
|
|
2971
|
+
id: "eligibility-modal.title-pay-now",
|
|
2972
|
+
defaultMessage: "Payez en une fois par carte bancaire avec Alma."
|
|
2946
2973
|
}) : /*#__PURE__*/React.createElement(FormattedMessage, {
|
|
2947
2974
|
id: "eligibility-modal.title-normal",
|
|
2948
2975
|
defaultMessage: "Payez en plusieurs fois par carte bancaire avec Alma."
|
|
@@ -2962,7 +2989,8 @@ var DesktopModal = function DesktopModal(_ref) {
|
|
|
2962
2989
|
}, /*#__PURE__*/React.createElement("aside", {
|
|
2963
2990
|
className: cx([s$9.block, s$9.left, STATIC_CUSTOMISATION_CLASSES.leftSide])
|
|
2964
2991
|
}, /*#__PURE__*/React.createElement(Title, {
|
|
2965
|
-
isSomePlanDeferred: isSomePlanDeferred
|
|
2992
|
+
isSomePlanDeferred: isSomePlanDeferred,
|
|
2993
|
+
isCurrentPlanP1X: isCurrentPlanP1X
|
|
2966
2994
|
}), /*#__PURE__*/React.createElement(Info, {
|
|
2967
2995
|
isCurrentPlanP1X: isCurrentPlanP1X
|
|
2968
2996
|
}), cards && /*#__PURE__*/React.createElement(Cards, {
|
|
@@ -2988,7 +3016,8 @@ var MobileModal = function MobileModal(_ref) {
|
|
|
2988
3016
|
className: cx(s$b.container, STATIC_CUSTOMISATION_CLASSES.mobileModal),
|
|
2989
3017
|
"data-testid": "modal-container"
|
|
2990
3018
|
}, /*#__PURE__*/React.createElement(Title, {
|
|
2991
|
-
isSomePlanDeferred: isSomePlanDeferred
|
|
3019
|
+
isSomePlanDeferred: isSomePlanDeferred,
|
|
3020
|
+
isCurrentPlanP1X: isCurrentPlanP1X
|
|
2992
3021
|
}), children, /*#__PURE__*/React.createElement(Info, {
|
|
2993
3022
|
isCurrentPlanP1X: isCurrentPlanP1X
|
|
2994
3023
|
}), cards && /*#__PURE__*/React.createElement(Cards, {
|