@alma/widgets 3.3.1 → 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.
@@ -6722,11 +6722,12 @@
6722
6722
  "eligibility-modal.bullet-2": "Lassen Sie sich führen und bestätigen Sie Ihre Zahlung in <strong>2 Minuten.</strong>",
6723
6723
  "eligibility-modal.bullet-3": "<strong>Verlieren Sie nicht die Kontrolle,</strong> indem Sie Ihre Fälligkeitstermine nach Ihrem eigenen Tempo vor- oder zurückverlegen.",
6724
6724
  "eligibility-modal.no-eligibility": "Ups, die Prüfung hat anscheinend nicht funktioniert.",
6725
- "eligibility-modal.p1x-bullet-1": "Wählen Sie <strong>Alma - 1X</strong> beim Check-out.",
6725
+ "eligibility-modal.p1x-bullet-1": "Wählen Sie <strong>Alma - Jetzt bezahlen</strong> zum Zeitpunkt der Zahlung.",
6726
6726
  "eligibility-modal.p1x-bullet-2": "Tragen Sie Ihre <strong>Kreditkarteninformationen ein.</strong>",
6727
6727
  "eligibility-modal.p1x-bullet-3": "<strong> Ihre Zahlung wird sofort bestätigt! </strong>",
6728
6728
  "eligibility-modal.title-deferred-plan": "Zahlen Sie mit Alma in Raten oder später.",
6729
6729
  "eligibility-modal.title-normal": "Zahlen Sie mit Alma in mehreren Raten.",
6730
+ "eligibility-modal.title-pay-now": "Bezahlen Sie mit Alma in einem Mal per Kreditkarte.",
6730
6731
  "installments.today": "Heute",
6731
6732
  "installments.total-amount": "Gesamtsumme",
6732
6733
  "installments.total-fees": "Davon Kosten",
@@ -6739,7 +6740,8 @@
6739
6740
  "payment-plan-strings.multiple-installments": "{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} dann {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} dann {numberOfRemainingInstallments} x {othersInstallmentAmount}}}",
6740
6741
  "payment-plan-strings.multiple-installments-same-amount": "{installmentsCount} x {totalAmount}",
6741
6742
  "payment-plan-strings.no-fee": "(0% Finanzierung)",
6742
- "payment-plan-strings.pay-now": "Zahlen Sie jetzt {totalAmount}"
6743
+ "payment-plan-strings.pay-now": "Zahlen Sie jetzt {totalAmount}",
6744
+ "payment-plan-strings.pay.now.button": "Jetzt bezahlen"
6743
6745
  };
6744
6746
 
6745
6747
  var messagesEN = {
@@ -6750,11 +6752,12 @@
6750
6752
  "eligibility-modal.bullet-2": "Let us guide you and validate your payment in <strong>2 minutes.</strong>",
6751
6753
  "eligibility-modal.bullet-3": "<strong>Stay in control</strong> by moving your deadlines forward or backward at your own pace.",
6752
6754
  "eligibility-modal.no-eligibility": "Oops, looks like the simulation didn't work.",
6753
- "eligibility-modal.p1x-bullet-1": "Choose <strong>Alma - 1X</strong> at checkout.",
6755
+ "eligibility-modal.p1x-bullet-1": "Choose <strong>Alma - Pay Now</strong> at checkout.",
6754
6756
  "eligibility-modal.p1x-bullet-2": "Fill in your <strong>credit card information.</strong>",
6755
6757
  "eligibility-modal.p1x-bullet-3": "<strong>The validation </strong> of your payment is instantaneous!",
6756
6758
  "eligibility-modal.title-deferred-plan": "Pay in installments or later by credit card with Alma.",
6757
6759
  "eligibility-modal.title-normal": "Pay in installments by credit card with Alma.",
6760
+ "eligibility-modal.title-pay-now": "Pay in one go by credit card with Alma.",
6758
6761
  "installments.today": "Today",
6759
6762
  "installments.total-amount": "Total",
6760
6763
  "installments.total-fees": "Of which costs (incl. VAT)",
@@ -6767,7 +6770,8 @@
6767
6770
  "payment-plan-strings.multiple-installments": "{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} then {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} then {numberOfRemainingInstallments} x {othersInstallmentAmount}}}",
6768
6771
  "payment-plan-strings.multiple-installments-same-amount": "{installmentsCount} x {totalAmount}",
6769
6772
  "payment-plan-strings.no-fee": "(free of charge)",
6770
- "payment-plan-strings.pay-now": "Pay now {totalAmount}"
6773
+ "payment-plan-strings.pay-now": "Pay now {totalAmount}",
6774
+ "payment-plan-strings.pay.now.button": "Pay Now"
6771
6775
  };
6772
6776
 
6773
6777
  var messagesES = {
@@ -6778,11 +6782,12 @@
6778
6782
  "eligibility-modal.bullet-2": "Déjese guiar y valide su pago en <strong>2 minutos.</strong>",
6779
6783
  "eligibility-modal.bullet-3": "<strong>Mantenga el control</strong> adelantando o retrasando los plazos a su propio ritmo.",
6780
6784
  "eligibility-modal.no-eligibility": "Uy, parece que la simulación no ha funcionado.",
6781
- "eligibility-modal.p1x-bullet-1": "Elija <strong>Alma - 1X</strong> en la caja.",
6785
+ "eligibility-modal.p1x-bullet-1": "Elija <strong>Alma - Pagar ahora</strong> en la caja.",
6782
6786
  "eligibility-modal.p1x-bullet-2": "Introduzca los datos de su tarjeta de crédito en <strong>.</strong>",
6783
6787
  "eligibility-modal.p1x-bullet-3": "<strong>¡La validación </strong> de su pago es instantánea!",
6784
6788
  "eligibility-modal.title-deferred-plan": "Paga a plazos o posteriormente con tarjeta bancaria con Alma.",
6785
6789
  "eligibility-modal.title-normal": "Pagar a plazos con tarjeta bancaria con Alma.",
6790
+ "eligibility-modal.title-pay-now": "Pague de una sola vez con tarjeta de crédito con Alma.",
6786
6791
  "installments.today": "Hoy",
6787
6792
  "installments.total-amount": "Total",
6788
6793
  "installments.total-fees": "De los cuales, costes (IVA incluido)",
@@ -6795,7 +6800,8 @@
6795
6800
  "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}}}",
6796
6801
  "payment-plan-strings.multiple-installments-same-amount": "{installmentsCount} plazos de {totalAmount}",
6797
6802
  "payment-plan-strings.no-fee": "(sin intereses)",
6798
- "payment-plan-strings.pay-now": "Pague ahora {totalAmount}"
6803
+ "payment-plan-strings.pay-now": "Pague ahora {totalAmount}",
6804
+ "payment-plan-strings.pay.now.button": "Pagar ahora"
6799
6805
  };
6800
6806
 
6801
6807
  var messagesFR = {
@@ -6806,11 +6812,12 @@
6806
6812
  "eligibility-modal.bullet-2": "Laissez-vous guider et validez votre paiement en <strong>2 minutes.</strong>",
6807
6813
  "eligibility-modal.bullet-3": "<strong>Gardez le contrôle</strong> en avançant ou reculant vos échéances à votre rythme.",
6808
6814
  "eligibility-modal.no-eligibility": "Oups, il semblerait que la simulation n'ait pas fonctionné.",
6809
- "eligibility-modal.p1x-bullet-1": "Choisissez <strong>Alma - 1X</strong> au moment du paiement.",
6815
+ "eligibility-modal.p1x-bullet-1": "Choisissez <strong>Alma - Payez maintenant</strong> au moment du paiement.",
6810
6816
  "eligibility-modal.p1x-bullet-2": "Renseignez les informations de votre <strong>carte bancaire.</strong>",
6811
6817
  "eligibility-modal.p1x-bullet-3": "<strong>La validation </strong> de votre paiement est instantanée !",
6812
6818
  "eligibility-modal.title-deferred-plan": "Payez en plusieurs fois ou plus tard par carte bancaire avec Alma.",
6813
6819
  "eligibility-modal.title-normal": "Payez en plusieurs fois par carte bancaire avec Alma.",
6820
+ "eligibility-modal.title-pay-now": "Payez en une fois par carte bancaire avec Alma.",
6814
6821
  "installments.today": "Aujourd'hui",
6815
6822
  "installments.total-amount": "Total",
6816
6823
  "installments.total-fees": "Dont frais (TTC)",
@@ -6823,7 +6830,8 @@
6823
6830
  "payment-plan-strings.multiple-installments": "{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}}}",
6824
6831
  "payment-plan-strings.multiple-installments-same-amount": "{installmentsCount} x {totalAmount}",
6825
6832
  "payment-plan-strings.no-fee": "(sans frais)",
6826
- "payment-plan-strings.pay-now": "Payez maintenant {totalAmount}"
6833
+ "payment-plan-strings.pay-now": "Payez maintenant {totalAmount}",
6834
+ "payment-plan-strings.pay.now.button": "Payez maintenant"
6827
6835
  };
6828
6836
 
6829
6837
  var messagesIT = {
@@ -6834,11 +6842,12 @@
6834
6842
  "eligibility-modal.bullet-2": "Segui le istruzioni e completa l'acquisto <strong>in meno di 2 minuti.</strong>",
6835
6843
  "eligibility-modal.bullet-3": "<strong>Gestisci il tuo piano di pagamento</strong> e modifica le scadenze secondo le tue esigenze.",
6836
6844
  "eligibility-modal.no-eligibility": "Ops, sembra che qualcosa non abbia funzionato.",
6837
- "eligibility-modal.p1x-bullet-1": "Scegli <strong>Alma - 1X</strong> alla cassa.",
6845
+ "eligibility-modal.p1x-bullet-1": "Scegliete <strong>Alma - Paga ora</strong> al momento del checkout.",
6838
6846
  "eligibility-modal.p1x-bullet-2": "Inserisci i dati della tua <strong>carta bancaria.</strong>",
6839
6847
  "eligibility-modal.p1x-bullet-3": "Ricevi la conferma di pagamento <strong>istantaneamente!</strong>",
6840
6848
  "eligibility-modal.title-deferred-plan": "Paga a rate con Alma, senza registrazione.",
6841
6849
  "eligibility-modal.title-normal": "Paga a rate con Alma, senza registrazione.",
6850
+ "eligibility-modal.title-pay-now": "Pagate in un'unica soluzione con carta di credito con Alma.",
6842
6851
  "installments.today": "Oggi",
6843
6852
  "installments.total-amount": "Totale",
6844
6853
  "installments.total-fees": "Di cui commissioni",
@@ -6851,7 +6860,8 @@
6851
6860
  "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}}}",
6852
6861
  "payment-plan-strings.multiple-installments-same-amount": "In {installmentsCount} rate mensili di {totalAmount}",
6853
6862
  "payment-plan-strings.no-fee": "(senza interessi)",
6854
- "payment-plan-strings.pay-now": "Paga ora {totalAmount}"
6863
+ "payment-plan-strings.pay-now": "Paga ora {totalAmount}",
6864
+ "payment-plan-strings.pay.now.button": "Paga ora"
6855
6865
  };
6856
6866
 
6857
6867
  var messagesNL = {
@@ -6862,11 +6872,12 @@
6862
6872
  "eligibility-modal.bullet-2": "Laat ons je begeleiden en jouw betaling valideren in <strong>2 minuten.</strong>",
6863
6873
  "eligibility-modal.bullet-3": "<strong>Behoudt de controle</strong> door jouw deadlines op je eigen tempo vooruit of achteruit te schuiven.",
6864
6874
  "eligibility-modal.no-eligibility": "Oeps, het lijkt erop dat de simulatie niet werkte.",
6865
- "eligibility-modal.p1x-bullet-1": "Kies <strong>Alma - 1X</strong> bij het afrekenen.",
6875
+ "eligibility-modal.p1x-bullet-1": "Kies <strong>Alma - Betaal nu</strong> bij het afrekenen.",
6866
6876
  "eligibility-modal.p1x-bullet-2": "Vul jouw <strong>creditcardgegevens </strong> in.",
6867
6877
  "eligibility-modal.p1x-bullet-3": "<strong>De bevestiging </strong> van jouw betaling is onmiddellijk!",
6868
6878
  "eligibility-modal.title-deferred-plan": "Betaal in termijnen of later via iDEAL of per creditcard met Alma.",
6869
6879
  "eligibility-modal.title-normal": "Betaal in termijnen met iDEAL of creditcard bij Alma.",
6880
+ "eligibility-modal.title-pay-now": "Betaal in één keer met Alma.",
6870
6881
  "installments.today": "Tegenwoordig",
6871
6882
  "installments.total-amount": "Totaal",
6872
6883
  "installments.total-fees": "Waarvan kosten (incl. BTW)",
@@ -6879,7 +6890,8 @@
6879
6890
  "payment-plan-strings.multiple-installments": "{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} dan {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} dan {numberOfRemainingInstallments} x {othersInstallmentAmount}}}",
6880
6891
  "payment-plan-strings.multiple-installments-same-amount": "{installmentsCount} x {totalAmount}",
6881
6892
  "payment-plan-strings.no-fee": "(zonder kosten)",
6882
- "payment-plan-strings.pay-now": "Betaal nu {totalAmount}"
6893
+ "payment-plan-strings.pay-now": "Betaal nu {totalAmount}",
6894
+ "payment-plan-strings.pay.now.button": "Betaal nu"
6883
6895
  };
6884
6896
 
6885
6897
  var messagesPT = {
@@ -6890,11 +6902,12 @@
6890
6902
  "eligibility-modal.bullet-2": "Deixe-nos guiá-lo e validar o seu pagamento em <strong>2 minutos.</strong>",
6891
6903
  "eligibility-modal.bullet-3": "<strong>Mantenha o controlo</strong> avançando ou recuando os seus prazos ao seu próprio ritmo.",
6892
6904
  "eligibility-modal.no-eligibility": "Ups, parece que a simulação não funcionou.",
6893
- "eligibility-modal.p1x-bullet-1": "Seleccionar <strong>Alma - 1X</strong> no final da compra.",
6905
+ "eligibility-modal.p1x-bullet-1": "Seleccionar <strong>Alma - Pagar agora</strong> no final da compra.",
6894
6906
  "eligibility-modal.p1x-bullet-2": "Preencha as informações do seu <strong>cartão de crédito.</strong>",
6895
6907
  "eligibility-modal.p1x-bullet-3": "<strong>A validação </strong> do seu pagamento é instantânea!",
6896
6908
  "eligibility-modal.title-deferred-plan": "Pagar em prestações ou mais tarde por cartão de crédito com Alma.",
6897
6909
  "eligibility-modal.title-normal": "Pagar em prestações por cartão de crédito com Alma.",
6910
+ "eligibility-modal.title-pay-now": "Pagar de uma só vez com cartão de crédito com a Alma.",
6898
6911
  "installments.today": "Hoje",
6899
6912
  "installments.total-amount": "Total",
6900
6913
  "installments.total-fees": "Dos quais custos (incl. IVA)",
@@ -6907,7 +6920,8 @@
6907
6920
  "payment-plan-strings.multiple-installments": "{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} depois {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} depois {numberOfRemainingInstallments} x {othersInstallmentAmount}}}",
6908
6921
  "payment-plan-strings.multiple-installments-same-amount": "{installmentsCount} x {totalAmount}",
6909
6922
  "payment-plan-strings.no-fee": "(sem encargos)",
6910
- "payment-plan-strings.pay-now": "Pague agora {totalAmount}"
6923
+ "payment-plan-strings.pay-now": "Pague agora {totalAmount}",
6924
+ "payment-plan-strings.pay.now.button": "Pagar agora"
6911
6925
  };
6912
6926
 
6913
6927
  var getTranslationsByLocale = function getTranslationsByLocale(locale) {
@@ -19848,6 +19862,13 @@
19848
19862
  deferred_months = payment.deferred_months,
19849
19863
  installmentsCount = payment.installments_count;
19850
19864
 
19865
+ if (installmentsCount === 1 && !deferred_days && !deferred_months) {
19866
+ return /*#__PURE__*/react.createElement(MemoizedFormattedMessage, {
19867
+ id: "payment-plan-strings.pay.now.button",
19868
+ defaultMessage: "Payez maintenant"
19869
+ });
19870
+ }
19871
+
19851
19872
  if (installmentsCount === 1 && deferred_days) {
19852
19873
  return /*#__PURE__*/react.createElement(MemoizedFormattedMessage, {
19853
19874
  id: "payment-plan-strings.day-abbreviation",
@@ -20002,7 +20023,7 @@
20002
20023
  });
20003
20024
  };
20004
20025
 
20005
- var s$3 = {"buttons":"_1l2Oa","active":"_3rue7"};
20026
+ var s$3 = {"buttons":"_1l2Oa","active":"_3rue7","textButton":"_2T78a"};
20006
20027
 
20007
20028
  var EligibilityPlansButtons = function EligibilityPlansButtons(_ref) {
20008
20029
  var eligibilityPlans = _ref.eligibilityPlans,
@@ -20019,7 +20040,9 @@
20019
20040
  onClick: function onClick() {
20020
20041
  return setCurrentPlanIndex(index);
20021
20042
  }
20022
- }, paymentPlanShorthandName(eligibilityPlan));
20043
+ }, /*#__PURE__*/react.createElement("span", {
20044
+ className: s$3.textButton
20045
+ }, paymentPlanShorthandName(eligibilityPlan)));
20023
20046
  }));
20024
20047
  };
20025
20048
 
@@ -20284,7 +20307,7 @@
20284
20307
  className: STATIC_CUSTOMISATION_CLASSES.infoMessage
20285
20308
  }, isCurrentPlanP1X ? /*#__PURE__*/react.createElement(MemoizedFormattedMessage, {
20286
20309
  id: "eligibility-modal.p1x-bullet-1",
20287
- defaultMessage: "Choisissez <strong>Alma - 1X</strong> au moment du paiement.",
20310
+ defaultMessage: "Choisissez <strong>Alma - Payez maintenant</strong> au moment du paiement.",
20288
20311
  values: {
20289
20312
  strong: function strong() {
20290
20313
  return /*#__PURE__*/react.createElement("strong", null, [].slice.call(arguments));
@@ -20349,13 +20372,17 @@
20349
20372
  var s$8 = {"title":"_3ERx-"};
20350
20373
 
20351
20374
  var Title = function Title(_ref) {
20352
- var isSomePlanDeferred = _ref.isSomePlanDeferred;
20375
+ var isSomePlanDeferred = _ref.isSomePlanDeferred,
20376
+ isCurrentPlanP1X = _ref.isCurrentPlanP1X;
20353
20377
  return /*#__PURE__*/react.createElement("div", {
20354
20378
  className: classnames(s$8.title, STATIC_CUSTOMISATION_CLASSES.title),
20355
20379
  "data-testid": "modal-title-element"
20356
20380
  }, isSomePlanDeferred ? /*#__PURE__*/react.createElement(MemoizedFormattedMessage, {
20357
20381
  id: "eligibility-modal.title-deferred-plan",
20358
20382
  defaultMessage: "Payez en plusieurs fois ou plus tard par carte bancaire avec Alma."
20383
+ }) : isCurrentPlanP1X ? /*#__PURE__*/react.createElement(MemoizedFormattedMessage, {
20384
+ id: "eligibility-modal.title-pay-now",
20385
+ defaultMessage: "Payez en une fois par carte bancaire avec Alma."
20359
20386
  }) : /*#__PURE__*/react.createElement(MemoizedFormattedMessage, {
20360
20387
  id: "eligibility-modal.title-normal",
20361
20388
  defaultMessage: "Payez en plusieurs fois par carte bancaire avec Alma."
@@ -20375,7 +20402,8 @@
20375
20402
  }, /*#__PURE__*/react.createElement("aside", {
20376
20403
  className: classnames([s$9.block, s$9.left, STATIC_CUSTOMISATION_CLASSES.leftSide])
20377
20404
  }, /*#__PURE__*/react.createElement(Title, {
20378
- isSomePlanDeferred: isSomePlanDeferred
20405
+ isSomePlanDeferred: isSomePlanDeferred,
20406
+ isCurrentPlanP1X: isCurrentPlanP1X
20379
20407
  }), /*#__PURE__*/react.createElement(Info, {
20380
20408
  isCurrentPlanP1X: isCurrentPlanP1X
20381
20409
  }), cards && /*#__PURE__*/react.createElement(Cards, {
@@ -20401,7 +20429,8 @@
20401
20429
  className: classnames(s$b.container, STATIC_CUSTOMISATION_CLASSES.mobileModal),
20402
20430
  "data-testid": "modal-container"
20403
20431
  }, /*#__PURE__*/react.createElement(Title, {
20404
- isSomePlanDeferred: isSomePlanDeferred
20432
+ isSomePlanDeferred: isSomePlanDeferred,
20433
+ isCurrentPlanP1X: isCurrentPlanP1X
20405
20434
  }), children, /*#__PURE__*/react.createElement(Info, {
20406
20435
  isCurrentPlanP1X: isCurrentPlanP1X
20407
20436
  }), cards && /*#__PURE__*/react.createElement(Cards, {