@alma/widgets 2.11.1 → 2.12.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/README.md +0 -15
- package/dist/raw/widgets.css +1 -1
- package/dist/raw/widgets.js +22 -19
- package/dist/raw/widgets.js.map +1 -1
- package/dist/raw/widgets.m.js +22 -19
- package/dist/raw/widgets.m.js.map +1 -1
- package/dist/raw/widgets.modern.js +22 -19
- package/dist/raw/widgets.modern.js.map +1 -1
- package/dist/raw/widgets.umd.js +22 -19
- package/dist/raw/widgets.umd.js.map +1 -1
- package/dist/types/Widgets/EligibilityModal/classNames.const.d.ts +3 -0
- package/dist/widgets.css +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
|
@@ -1855,7 +1855,7 @@ if (!''.trim) String.prototype.trim = function () {
|
|
|
1855
1855
|
var messagesDE = {
|
|
1856
1856
|
"eligibility-modal.bullet-1": "Wählen Sie an der Kasse <strong>Alma</strong> .",
|
|
1857
1857
|
"eligibility-modal.bullet-2": "Füllen Sie die <strong>angeforderten</strong> Informationen aus.",
|
|
1858
|
-
"eligibility-modal.bullet-3": "Die Bestätigung Ihrer Zahlung <strong>sofort</strong> !",
|
|
1858
|
+
"eligibility-modal.bullet-3": "Die Bestätigung Ihrer Zahlung erfolgt <strong>sofort</strong> !",
|
|
1859
1859
|
"eligibility-modal.cost": "Davon Kosten",
|
|
1860
1860
|
"eligibility-modal.credit-commitment": "Ein Kredit verpflichtet Sie und muss zurückgezahlt werden. Prüfen Sie Ihre Rückzahlungsfähigkeit, bevor Sie sich verpflichten.",
|
|
1861
1861
|
"eligibility-modal.credit-cost": "Davon Kreditkosten",
|
|
@@ -1878,7 +1878,7 @@ var messagesDE = {
|
|
|
1878
1878
|
var messagesEN = {
|
|
1879
1879
|
"eligibility-modal.bullet-1": "Choose <strong>Alma</strong> at checkout.",
|
|
1880
1880
|
"eligibility-modal.bullet-2": "Fill in the <strong>information</strong> requested.",
|
|
1881
|
-
"eligibility-modal.bullet-3": "
|
|
1881
|
+
"eligibility-modal.bullet-3": "The validation of your payment is <strong>instantaneous</strong> !",
|
|
1882
1882
|
"eligibility-modal.cost": "Of which costs",
|
|
1883
1883
|
"eligibility-modal.credit-commitment": "A loan commits you and must be repaid. Check your ability to repay before committing yourself.",
|
|
1884
1884
|
"eligibility-modal.credit-cost": "Of which cost of credit",
|
|
@@ -1888,7 +1888,7 @@ var messagesEN = {
|
|
|
1888
1888
|
"eligibility-modal.title-deferred": "<highlighted>Pay in installments</highlighted> or later by credit card with Alma.",
|
|
1889
1889
|
"eligibility-modal.total": "Total",
|
|
1890
1890
|
"installments.today": "Today",
|
|
1891
|
-
"payment-plan-strings.day-abbreviation": "
|
|
1891
|
+
"payment-plan-strings.day-abbreviation": "D{numberOfDeferredDays}",
|
|
1892
1892
|
"payment-plan-strings.default-message": "Pay in installments with Alma",
|
|
1893
1893
|
"payment-plan-strings.deferred": "{totalAmount} to be paid on {dueDate}",
|
|
1894
1894
|
"payment-plan-strings.ineligible-greater-than-max": "Until {maxAmount}",
|
|
@@ -1901,7 +1901,7 @@ var messagesEN = {
|
|
|
1901
1901
|
var messagesES = {
|
|
1902
1902
|
"eligibility-modal.bullet-1": "Elige <strong>Alma</strong> como método de pago.",
|
|
1903
1903
|
"eligibility-modal.bullet-2": "Completa la <strong>información</strong> solicitada.",
|
|
1904
|
-
"eligibility-modal.bullet-3": "¡
|
|
1904
|
+
"eligibility-modal.bullet-3": "¡La validación de tu pago es <strong>instantánea</strong> !",
|
|
1905
1905
|
"eligibility-modal.cost": "Gastos (incl. en el total)",
|
|
1906
1906
|
"eligibility-modal.credit-commitment": "Un préstamo te compromete y debe ser devuelto. Comprueba tu capacidad financiera antes de comprometerte.",
|
|
1907
1907
|
"eligibility-modal.credit-cost": "Coste de crédito (incl. en el total)",
|
|
@@ -1924,7 +1924,7 @@ var messagesES = {
|
|
|
1924
1924
|
var messagesFR = {
|
|
1925
1925
|
"eligibility-modal.bullet-1": "Choisissez <strong>Alma</strong> au moment du paiement.",
|
|
1926
1926
|
"eligibility-modal.bullet-2": "Renseignez les <strong>informations</strong> demandées.",
|
|
1927
|
-
"eligibility-modal.bullet-3": "La validation de votre paiement <strong>instantanée</strong> !",
|
|
1927
|
+
"eligibility-modal.bullet-3": "La validation de votre paiement est <strong>instantanée</strong> !",
|
|
1928
1928
|
"eligibility-modal.cost": "Dont frais",
|
|
1929
1929
|
"eligibility-modal.credit-commitment": "Un crédit vous engage et doit être remboursé. Vérifiez vos capacités de remboursement avant de vous engager.",
|
|
1930
1930
|
"eligibility-modal.credit-cost": "Dont coût du crédit",
|
|
@@ -1947,7 +1947,7 @@ var messagesFR = {
|
|
|
1947
1947
|
var messagesIT = {
|
|
1948
1948
|
"eligibility-modal.bullet-1": "Scegli <strong>Alma</strong> alla cassa.",
|
|
1949
1949
|
"eligibility-modal.bullet-2": "Compila le informazioni <strong></strong> richieste.",
|
|
1950
|
-
"eligibility-modal.bullet-3": "
|
|
1950
|
+
"eligibility-modal.bullet-3": "La convalida del pagamento è <strong>istantanea</strong> !",
|
|
1951
1951
|
"eligibility-modal.cost": "Di cui commissioni",
|
|
1952
1952
|
"eligibility-modal.credit-commitment": "Un pagamento rateale ti impegna e deve essere ripagato. Verifica la tua capacità di rimborso prima di impegnarti.",
|
|
1953
1953
|
"eligibility-modal.credit-cost": "Di cui commissioni",
|
|
@@ -1970,30 +1970,30 @@ var messagesIT = {
|
|
|
1970
1970
|
var messagesNL = {
|
|
1971
1971
|
"eligibility-modal.bullet-1": "Kies <strong>Alma</strong> bij het afrekenen.",
|
|
1972
1972
|
"eligibility-modal.bullet-2": "Vul de <strong>gevraagde informatie</strong> in.",
|
|
1973
|
-
"eligibility-modal.bullet-3": "
|
|
1973
|
+
"eligibility-modal.bullet-3": "De validatie van uw betaling is <strong>onmiddellijk</strong> !",
|
|
1974
1974
|
"eligibility-modal.cost": "Waarvan kosten",
|
|
1975
1975
|
"eligibility-modal.credit-commitment": "Een lening bindt je en moet worden terugbetaald. Ga na of u kunt terugbetalen voordat u zich vastlegt.",
|
|
1976
1976
|
"eligibility-modal.credit-cost": "Waarvan kosten van krediet",
|
|
1977
|
-
"eligibility-modal.credit-cost-amount": "{creditCost} (
|
|
1977
|
+
"eligibility-modal.credit-cost-amount": "{creditCost} (gemiddeld rente percentage {TAEG})",
|
|
1978
1978
|
"eligibility-modal.no-eligibility": "Oeps, het lijkt erop dat de simulatie niet werkte.",
|
|
1979
|
-
"eligibility-modal.title": "<highlighted>Betaal in termijnen</highlighted> met kredietkaart bij Alma.",
|
|
1980
|
-
"eligibility-modal.title-deferred": "<highlighted>Betaal in termijnen</highlighted> of later per
|
|
1979
|
+
"eligibility-modal.title": "<highlighted>Betaal in termijnen</highlighted> met bank- en kredietkaart bij Alma.",
|
|
1980
|
+
"eligibility-modal.title-deferred": "<highlighted>Betaal in termijnen</highlighted> of later per bank- en kredietkaart met Alma.",
|
|
1981
1981
|
"eligibility-modal.total": "Totaal",
|
|
1982
1982
|
"installments.today": "Tegenwoordig",
|
|
1983
|
-
"payment-plan-strings.day-abbreviation": "
|
|
1983
|
+
"payment-plan-strings.day-abbreviation": "D{numberOfDeferredDays}",
|
|
1984
1984
|
"payment-plan-strings.default-message": "Betaal in termijnen met Alma",
|
|
1985
1985
|
"payment-plan-strings.deferred": "{totalAmount} te betalen op {dueDate}",
|
|
1986
1986
|
"payment-plan-strings.ineligible-greater-than-max": "Tot {maxAmount}",
|
|
1987
1987
|
"payment-plan-strings.ineligible-lower-than-min": "Van {minAmount}",
|
|
1988
1988
|
"payment-plan-strings.multiple-installments": "{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} dan {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} dan {numberOfRemainingInstallments} x {othersInstallmentAmount}}}",
|
|
1989
1989
|
"payment-plan-strings.multiple-installments-same-amount": "{installmentsCount} x {totalAmount}",
|
|
1990
|
-
"payment-plan-strings.no-fee": "(
|
|
1990
|
+
"payment-plan-strings.no-fee": "(zonder kosten)"
|
|
1991
1991
|
};
|
|
1992
1992
|
|
|
1993
1993
|
var messagesPT = {
|
|
1994
1994
|
"eligibility-modal.bullet-1": "Escolha a <strong>Alma</strong> no checkout.",
|
|
1995
1995
|
"eligibility-modal.bullet-2": "Preencha os <strong>dados</strong> solicitados.",
|
|
1996
|
-
"eligibility-modal.bullet-3": "
|
|
1996
|
+
"eligibility-modal.bullet-3": "A validação do seu pagamento é <strong>instantaneamente</strong> !",
|
|
1997
1997
|
"eligibility-modal.cost": "Incluindo encargos",
|
|
1998
1998
|
"eligibility-modal.credit-commitment": "Um crédito é um compromisso e deve ser reembolsado. Verifique a sua capacidade de pagar antes de se comprometer.",
|
|
1999
1999
|
"eligibility-modal.credit-cost": "Incluindo custo do crédito",
|
|
@@ -2212,7 +2212,10 @@ const prefix = 'alma-eligibility-modal';
|
|
|
2212
2212
|
*/
|
|
2213
2213
|
|
|
2214
2214
|
const STATIC_CUSTOMISATION_CLASSES = {
|
|
2215
|
+
desktopModal: prefix + '-desktop-modal',
|
|
2216
|
+
mobileModal: prefix + '-mobile-modal',
|
|
2215
2217
|
leftSide: prefix + '-left-side',
|
|
2218
|
+
bullet: prefix + '-bullet',
|
|
2216
2219
|
rightSide: prefix + '-right-side',
|
|
2217
2220
|
title: prefix + '-title',
|
|
2218
2221
|
info: prefix + '-info',
|
|
@@ -2663,7 +2666,7 @@ const Info = () => /*#__PURE__*/React.createElement("div", {
|
|
|
2663
2666
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2664
2667
|
className: s$5.listItem
|
|
2665
2668
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2666
|
-
className: s$5.bullet
|
|
2669
|
+
className: cx(s$5.bullet, STATIC_CUSTOMISATION_CLASSES.bullet)
|
|
2667
2670
|
}, "1"), /*#__PURE__*/React.createElement("div", {
|
|
2668
2671
|
className: STATIC_CUSTOMISATION_CLASSES.infoMessage
|
|
2669
2672
|
}, /*#__PURE__*/React.createElement(FormattedMessage, {
|
|
@@ -2675,7 +2678,7 @@ const Info = () => /*#__PURE__*/React.createElement("div", {
|
|
|
2675
2678
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
2676
2679
|
className: s$5.listItem
|
|
2677
2680
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2678
|
-
className: s$5.bullet
|
|
2681
|
+
className: cx(s$5.bullet, STATIC_CUSTOMISATION_CLASSES.bullet)
|
|
2679
2682
|
}, "2"), /*#__PURE__*/React.createElement("div", {
|
|
2680
2683
|
className: STATIC_CUSTOMISATION_CLASSES.infoMessage
|
|
2681
2684
|
}, /*#__PURE__*/React.createElement(FormattedMessage, {
|
|
@@ -2687,12 +2690,12 @@ const Info = () => /*#__PURE__*/React.createElement("div", {
|
|
|
2687
2690
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
2688
2691
|
className: s$5.listItem
|
|
2689
2692
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2690
|
-
className: s$5.bullet
|
|
2693
|
+
className: cx(s$5.bullet, STATIC_CUSTOMISATION_CLASSES.bullet)
|
|
2691
2694
|
}, "3"), /*#__PURE__*/React.createElement("div", {
|
|
2692
2695
|
className: STATIC_CUSTOMISATION_CLASSES.infoMessage
|
|
2693
2696
|
}, /*#__PURE__*/React.createElement(FormattedMessage, {
|
|
2694
2697
|
id: "eligibility-modal.bullet-3",
|
|
2695
|
-
defaultMessage: "La validation de votre paiement <strong>instantan\u00E9e</strong> !",
|
|
2698
|
+
defaultMessage: "La validation de votre paiement est <strong>instantan\u00E9e</strong> !",
|
|
2696
2699
|
values: {
|
|
2697
2700
|
strong: (...chunks) => /*#__PURE__*/React.createElement("strong", null, chunks)
|
|
2698
2701
|
}
|
|
@@ -2775,7 +2778,7 @@ const DesktopModal = ({
|
|
|
2775
2778
|
isSomePlanDeferred,
|
|
2776
2779
|
cards
|
|
2777
2780
|
}) => /*#__PURE__*/React.createElement("div", {
|
|
2778
|
-
className: s$8.container,
|
|
2781
|
+
className: cx(s$8.container, STATIC_CUSTOMISATION_CLASSES.desktopModal),
|
|
2779
2782
|
"data-testid": "modal-container"
|
|
2780
2783
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2781
2784
|
className: cx([s$8.block, s$8.left, STATIC_CUSTOMISATION_CLASSES.leftSide])
|
|
@@ -2796,7 +2799,7 @@ const MobileModal = ({
|
|
|
2796
2799
|
isSomePlanDeferred,
|
|
2797
2800
|
cards
|
|
2798
2801
|
}) => /*#__PURE__*/React.createElement("div", {
|
|
2799
|
-
className: s$a.container,
|
|
2802
|
+
className: cx(s$a.container, STATIC_CUSTOMISATION_CLASSES.mobileModal),
|
|
2800
2803
|
"data-testid": "modal-container"
|
|
2801
2804
|
}, /*#__PURE__*/React.createElement(Title, {
|
|
2802
2805
|
isSomePlanDeferred: isSomePlanDeferred
|