@shoppexio/storefront-react 0.6.1 → 0.6.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.6.2
4
+
5
+ - Product: `formatSubscriptionRenewal(subscription)` gives the line under a subscription's buy buttons, "Renews every month until you cancel.", plus "Switch plans any time in your account." only when the catalog's `plan_change_offered` says the buyer can switch (the shop allows buyer plan changes and a second plan is offered); `ProductSubscription.planChangeOffered` carries it, false when the backend does not send the field. Empty for a plan without an interval.
6
+ - Account: a failed order read says "Your order is safe. Check your connection and try again." instead of the backend's raw message (`orders.detailErrorBody`, 16 locales). A line of an expired or cancelled order shows no "Pending" chip, because it will never be delivered.
7
+ - Subscriptions: billing history rows read "Plan change · Basic to Pro" and "Oct 11, 2026 · 12 of 30 days" (16 locales). An ejected account takes `orders.tsx`, `account-subscriptions.ts` and the message catalogs from `eject/account` again.
8
+
3
9
  ## 0.6.1
4
10
 
5
11
  - Subscriptions: billing history marks each discounted payment with its code and which term payment it was ("LAUNCH20 · 2 of 3"; the code alone when the code discounts every payment), from the billing-history route's `coupon_payment` (16 locales). 0.6.0 claimed this mark but never read the field. A row whose `coupon_payment` is present but malformed fails the read like any other broken row; a backend that does not send the field yet shows no mark. An ejected account takes `subscriptions.tsx`, `account-subscriptions.ts` and the message catalogs from `eject/account` again.
package/dist/account.js CHANGED
@@ -331,6 +331,7 @@ var ar_default = {
331
331
  reviewFallbackLabel: "\u062A\u0642\u064A\u064A\u0645",
332
332
  nothingToDownload: "\u062A\u0645 \u0627\u0644\u062A\u0633\u0644\u064A\u0645 {date}. \u0633\u0644\u0651\u0645\u0643 \u0627\u0644\u0628\u0627\u0626\u0639 \u0647\u0630\u0627 \u0645\u0628\u0627\u0634\u0631\u0629\u064B\u060C \u0644\u0630\u0644\u0643 \u0644\u0627 \u064A\u0648\u062C\u062F \u0645\u0627 \u064A\u0645\u0643\u0646 \u062A\u0646\u0632\u064A\u0644\u0647.",
333
333
  detailError: "\u062A\u0639\u0630\u0651\u0631 \u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0637\u0644\u0628 {id}",
334
+ detailErrorBody: "\u0637\u0644\u0628\u0643 \u0641\u064A \u0623\u0645\u0627\u0646. \u062A\u062D\u0642\u0642 \u0645\u0646 \u0627\u062A\u0635\u0627\u0644\u0643 \u0648\u062D\u0627\u0648\u0644 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",
334
335
  noReceiptUnpaid: "\u0644\u0645 \u064A\u064F\u062F\u0641\u0639 \u0647\u0630\u0627 \u0627\u0644\u0637\u0644\u0628 \u0642\u0637\u060C \u0644\u0630\u0644\u0643 \u0644\u0627 \u064A\u0648\u062C\u062F \u0644\u0647 \u0625\u064A\u0635\u0627\u0644.",
335
336
  noReceiptVoided: "\u0623\u0644\u063A\u0649 \u0627\u0644\u0645\u062A\u062C\u0631 \u0647\u0630\u0627 \u0627\u0644\u0637\u0644\u0628\u060C \u0644\u0630\u0644\u0643 \u0644\u0627 \u064A\u0648\u062C\u062F \u0644\u0647 \u0625\u064A\u0635\u0627\u0644.",
336
337
  pdfSignedOut: "\u062A\u0645 \u062A\u0633\u062C\u064A\u0644 \u062E\u0631\u0648\u062C\u0643. \u0633\u062C\u0651\u0644 \u0627\u0644\u062F\u062E\u0648\u0644 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649 \u0644\u062A\u0646\u0632\u064A\u0644 \u0627\u0644\u0625\u064A\u0635\u0627\u0644.",
@@ -511,8 +512,8 @@ var ar_default = {
511
512
  pastDueCardBody: "\u062D\u062F\u0651\u062B \u0628\u0637\u0627\u0642\u062A\u0643 \u0644\u0644\u062D\u0641\u0627\u0638 \u0639\u0644\u0649 \u0647\u0630\u0627 \u0627\u0644\u0627\u0634\u062A\u0631\u0627\u0643. \u062A\u064F\u0641\u062A\u062D \u0635\u0641\u062D\u0629 Shoppex \u0622\u0645\u0646\u0629.",
512
513
  historyFirstOrder: "\u0627\u0644\u0637\u0644\u0628 \u0627\u0644\u0623\u0648\u0644",
513
514
  historyRenewal: "\u062A\u062C\u062F\u064A\u062F",
514
- historyPlanChange: "\u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u062E\u0637\u0629\u060C \u0645\u0646 {from} \u0625\u0644\u0649 {to}",
515
- historyDays: "\u0639\u0646 {days} \u0645\u0646 {total} \u064A\u0648\u0645\u064B\u0627",
515
+ historyPlanChange: "\u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u062E\u0637\u0629 \xB7 \u0645\u0646 {from} \u0625\u0644\u0649 {to}",
516
+ historyDays: "{days} \u0645\u0646 {total} \u064A\u0648\u0645\u064B\u0627",
516
517
  historyCouponPayment: "{code} \xB7 {payment} \u0645\u0646 {total}"
517
518
  },
518
519
  favorites: {
@@ -962,6 +963,7 @@ var de_default = {
962
963
  reviewFallbackLabel: "Bewertung",
963
964
  nothingToDownload: "Geliefert {date}. Der Verk\xE4ufer hat dir das direkt gegeben, deshalb gibt es nichts herunterzuladen.",
964
965
  detailError: "Bestellung {id} konnte nicht geladen werden",
966
+ detailErrorBody: "Deine Bestellung ist sicher. Pr\xFCfe deine Verbindung und versuche es erneut.",
965
967
  noReceiptUnpaid: "Diese Bestellung wurde nie bezahlt, deshalb gibt es keine Quittung.",
966
968
  noReceiptVoided: "Der Shop hat diese Bestellung storniert, deshalb gibt es keine Quittung.",
967
969
  pdfSignedOut: "Du wurdest abgemeldet. Melde dich erneut an, um die Quittung herunterzuladen.",
@@ -1142,8 +1144,8 @@ var de_default = {
1142
1144
  pastDueCardBody: "Aktualisiere deine Karte, damit dein Abo weiterl\xE4uft. \xD6ffnet eine sichere Shoppex-Seite.",
1143
1145
  historyFirstOrder: "Erstbestellung",
1144
1146
  historyRenewal: "Verl\xE4ngerung",
1145
- historyPlanChange: "Tarifwechsel, {from} zu {to}",
1146
- historyDays: "f\xFCr {days} von {total} Tagen",
1147
+ historyPlanChange: "Tarifwechsel \xB7 {from} zu {to}",
1148
+ historyDays: "{days} von {total} Tagen",
1147
1149
  historyCouponPayment: "{code} \xB7 {payment} von {total}"
1148
1150
  },
1149
1151
  favorites: {
@@ -1593,6 +1595,7 @@ var en_default = {
1593
1595
  reviewFallbackLabel: "Review",
1594
1596
  nothingToDownload: "Delivered {date}. The seller gave this to you directly, so there's nothing to download.",
1595
1597
  detailError: "Couldn't load order {id}",
1598
+ detailErrorBody: "Your order is safe. Check your connection and try again.",
1596
1599
  noReceiptUnpaid: "This order was never paid, so it has no receipt.",
1597
1600
  noReceiptVoided: "The shop cancelled this order, so it has no receipt.",
1598
1601
  pdfSignedOut: "You were signed out. Sign in again to download the receipt.",
@@ -1773,8 +1776,8 @@ var en_default = {
1773
1776
  pastDueCardBody: "Update your card to keep this subscription. Opens a secure Shoppex page.",
1774
1777
  historyFirstOrder: "First order",
1775
1778
  historyRenewal: "Renewal",
1776
- historyPlanChange: "Plan change, {from} to {to}",
1777
- historyDays: "for {days} of {total} days",
1779
+ historyPlanChange: "Plan change \xB7 {from} to {to}",
1780
+ historyDays: "{days} of {total} days",
1778
1781
  historyCouponPayment: "{code} \xB7 {payment} of {total}"
1779
1782
  },
1780
1783
  favorites: {
@@ -2224,6 +2227,7 @@ var es_default = {
2224
2227
  reviewFallbackLabel: "Rese\xF1a",
2225
2228
  nothingToDownload: "Entregado {date}. El vendedor te lo dio directamente, as\xED que no hay nada que descargar.",
2226
2229
  detailError: "No se pudo cargar el pedido {id}",
2230
+ detailErrorBody: "Tu pedido est\xE1 a salvo. Comprueba tu conexi\xF3n e int\xE9ntalo de nuevo.",
2227
2231
  noReceiptUnpaid: "Este pedido nunca se pag\xF3, as\xED que no tiene recibo.",
2228
2232
  noReceiptVoided: "La tienda cancel\xF3 este pedido, as\xED que no tiene recibo.",
2229
2233
  pdfSignedOut: "Se cerr\xF3 tu sesi\xF3n. Inicia sesi\xF3n de nuevo para descargar el recibo.",
@@ -2404,8 +2408,8 @@ var es_default = {
2404
2408
  pastDueCardBody: "Actualiza tu tarjeta para mantener esta suscripci\xF3n. Abre una p\xE1gina segura de Shoppex.",
2405
2409
  historyFirstOrder: "Primer pedido",
2406
2410
  historyRenewal: "Renovaci\xF3n",
2407
- historyPlanChange: "Cambio de plan, de {from} a {to}",
2408
- historyDays: "por {days} de {total} d\xEDas",
2411
+ historyPlanChange: "Cambio de plan \xB7 de {from} a {to}",
2412
+ historyDays: "{days} de {total} d\xEDas",
2409
2413
  historyCouponPayment: "{code} \xB7 {payment} de {total}"
2410
2414
  },
2411
2415
  favorites: {
@@ -2855,6 +2859,7 @@ var fi_default = {
2855
2859
  reviewFallbackLabel: "Arvostelu",
2856
2860
  nothingToDownload: "Toimitettu {date}. Myyj\xE4 antoi t\xE4m\xE4n sinulle suoraan, joten ladattavaa ei ole.",
2857
2861
  detailError: "Tilausta {id} ei voitu ladata",
2862
+ detailErrorBody: "Tilauksesi on tallessa. Tarkista yhteys ja yrit\xE4 uudelleen.",
2858
2863
  noReceiptUnpaid: "T\xE4t\xE4 tilausta ei koskaan maksettu, joten sill\xE4 ei ole kuittia.",
2859
2864
  noReceiptVoided: "Kauppa peruutti t\xE4m\xE4n tilauksen, joten sill\xE4 ei ole kuittia.",
2860
2865
  pdfSignedOut: "Sinut kirjattiin ulos. Kirjaudu uudelleen ladataksesi kuitin.",
@@ -3035,8 +3040,8 @@ var fi_default = {
3035
3040
  pastDueCardBody: "P\xE4ivit\xE4 korttisi, jotta tilaus pysyy voimassa. Avaa suojatun Shoppex-sivun.",
3036
3041
  historyFirstOrder: "Ensimm\xE4inen tilaus",
3037
3042
  historyRenewal: "Uusinta",
3038
- historyPlanChange: "Sopimuksen vaihto, {from} \u2192 {to}",
3039
- historyDays: "{days}/{total} p\xE4iv\xE4lt\xE4",
3043
+ historyPlanChange: "Sopimuksen vaihto \xB7 {from} \u2192 {to}",
3044
+ historyDays: "{days}/{total} p\xE4iv\xE4\xE4",
3040
3045
  historyCouponPayment: "{code} \xB7 {payment}/{total}"
3041
3046
  },
3042
3047
  favorites: {
@@ -3486,6 +3491,7 @@ var fr_default = {
3486
3491
  reviewFallbackLabel: "Avis",
3487
3492
  nothingToDownload: "Livr\xE9 le {date}. Le vendeur vous l'a remis directement, il n'y a donc rien \xE0 t\xE9l\xE9charger.",
3488
3493
  detailError: "Impossible de charger la commande {id}",
3494
+ detailErrorBody: "Votre commande est en s\xE9curit\xE9. V\xE9rifiez votre connexion et r\xE9essayez.",
3489
3495
  noReceiptUnpaid: "Cette commande n'a jamais \xE9t\xE9 pay\xE9e, elle n'a donc pas de re\xE7u.",
3490
3496
  noReceiptVoided: "La boutique a annul\xE9 cette commande, elle n'a donc pas de re\xE7u.",
3491
3497
  pdfSignedOut: "Vous avez \xE9t\xE9 d\xE9connect\xE9. Reconnectez-vous pour t\xE9l\xE9charger le re\xE7u.",
@@ -3666,8 +3672,8 @@ var fr_default = {
3666
3672
  pastDueCardBody: "Mettez \xE0 jour votre carte pour conserver cet abonnement. Ouvre une page Shoppex s\xE9curis\xE9e.",
3667
3673
  historyFirstOrder: "Premi\xE8re commande",
3668
3674
  historyRenewal: "Renouvellement",
3669
- historyPlanChange: "Changement de formule, de {from} \xE0 {to}",
3670
- historyDays: "pour {days} jours sur {total}",
3675
+ historyPlanChange: "Changement de formule \xB7 de {from} \xE0 {to}",
3676
+ historyDays: "{days} jours sur {total}",
3671
3677
  historyCouponPayment: "{code} \xB7 {payment} sur {total}"
3672
3678
  },
3673
3679
  favorites: {
@@ -4117,6 +4123,7 @@ var hi_default = {
4117
4123
  reviewFallbackLabel: "\u0938\u092E\u0940\u0915\u094D\u0937\u093E",
4118
4124
  nothingToDownload: "{date} \u0915\u094B \u0921\u093F\u0932\u0940\u0935\u0930 \u0939\u0941\u0906\u0964 \u0935\u093F\u0915\u094D\u0930\u0947\u0924\u093E \u0928\u0947 \u092F\u0939 \u0906\u092A\u0915\u094B \u0938\u0940\u0927\u0947 \u0926\u093F\u092F\u093E \u0939\u0948, \u0907\u0938\u0932\u093F\u090F \u0921\u093E\u0909\u0928\u0932\u094B\u0921 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u0915\u0941\u091B \u0928\u0939\u0940\u0902 \u0939\u0948\u0964",
4119
4125
  detailError: "\u0911\u0930\u094D\u0921\u0930 {id} \u0932\u094B\u0921 \u0928\u0939\u0940\u0902 \u0939\u094B \u0938\u0915\u093E",
4126
+ detailErrorBody: "\u0906\u092A\u0915\u093E \u0911\u0930\u094D\u0921\u0930 \u0938\u0941\u0930\u0915\u094D\u0937\u093F\u0924 \u0939\u0948\u0964 \u0905\u092A\u0928\u093E \u0915\u0928\u0947\u0915\u094D\u0936\u0928 \u091C\u093E\u0902\u091A\u0947\u0902 \u0914\u0930 \u092B\u093F\u0930 \u0938\u0947 \u0915\u094B\u0936\u093F\u0936 \u0915\u0930\u0947\u0902\u0964",
4120
4127
  noReceiptUnpaid: "\u0907\u0938 \u0911\u0930\u094D\u0921\u0930 \u0915\u093E \u0915\u092D\u0940 \u092D\u0941\u0917\u0924\u093E\u0928 \u0928\u0939\u0940\u0902 \u0939\u0941\u0906, \u0907\u0938\u0932\u093F\u090F \u0907\u0938\u0915\u0940 \u0915\u094B\u0908 \u0930\u0938\u0940\u0926 \u0928\u0939\u0940\u0902 \u0939\u0948\u0964",
4121
4128
  noReceiptVoided: "\u0926\u0941\u0915\u093E\u0928 \u0928\u0947 \u092F\u0939 \u0911\u0930\u094D\u0921\u0930 \u0930\u0926\u094D\u0926 \u0915\u0930 \u0926\u093F\u092F\u093E, \u0907\u0938\u0932\u093F\u090F \u0907\u0938\u0915\u0940 \u0915\u094B\u0908 \u0930\u0938\u0940\u0926 \u0928\u0939\u0940\u0902 \u0939\u0948\u0964",
4122
4129
  pdfSignedOut: "\u0906\u092A \u0938\u093E\u0907\u0928 \u0906\u0909\u091F \u0939\u094B \u0917\u090F\u0964 \u0930\u0938\u0940\u0926 \u0921\u093E\u0909\u0928\u0932\u094B\u0921 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u092B\u093F\u0930 \u0938\u0947 \u0938\u093E\u0907\u0928 \u0907\u0928 \u0915\u0930\u0947\u0902\u0964",
@@ -4297,8 +4304,8 @@ var hi_default = {
4297
4304
  pastDueCardBody: "\u092F\u0939 \u0938\u092C\u094D\u0938\u0915\u094D\u0930\u093F\u092A\u094D\u0936\u0928 \u092C\u0928\u093E\u090F \u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u0905\u092A\u0928\u093E \u0915\u093E\u0930\u094D\u0921 \u0905\u092A\u0921\u0947\u091F \u0915\u0930\u0947\u0902\u0964 \u090F\u0915 \u0938\u0941\u0930\u0915\u094D\u0937\u093F\u0924 Shoppex \u092A\u0947\u091C \u0916\u0941\u0932\u0924\u093E \u0939\u0948\u0964",
4298
4305
  historyFirstOrder: "\u092A\u0939\u0932\u093E \u0911\u0930\u094D\u0921\u0930",
4299
4306
  historyRenewal: "\u0928\u0935\u0940\u0928\u0940\u0915\u0930\u0923",
4300
- historyPlanChange: "\u092F\u094B\u091C\u0928\u093E \u092C\u0926\u0932\u093E\u0935, {from} \u0938\u0947 {to}",
4301
- historyDays: "{total} \u092E\u0947\u0902 \u0938\u0947 {days} \u0926\u093F\u0928\u094B\u0902 \u0915\u0947 \u0932\u093F\u090F",
4307
+ historyPlanChange: "\u092F\u094B\u091C\u0928\u093E \u092C\u0926\u0932\u093E\u0935 \xB7 {from} \u0938\u0947 {to}",
4308
+ historyDays: "{total} \u092E\u0947\u0902 \u0938\u0947 {days} \u0926\u093F\u0928",
4302
4309
  historyCouponPayment: "{code} \xB7 {total} \u092E\u0947\u0902 \u0938\u0947 {payment}"
4303
4310
  },
4304
4311
  favorites: {
@@ -4748,6 +4755,7 @@ var it_default = {
4748
4755
  reviewFallbackLabel: "Recensione",
4749
4756
  nothingToDownload: "Consegnato il {date}. Il venditore te l'ha dato direttamente, quindi non c'\xE8 nulla da scaricare.",
4750
4757
  detailError: "Impossibile caricare l'ordine {id}",
4758
+ detailErrorBody: "Il tuo ordine \xE8 al sicuro. Controlla la connessione e riprova.",
4751
4759
  noReceiptUnpaid: "Questo ordine non \xE8 mai stato pagato, quindi non ha una ricevuta.",
4752
4760
  noReceiptVoided: "Il negozio ha annullato questo ordine, quindi non ha una ricevuta.",
4753
4761
  pdfSignedOut: "Sei stato disconnesso. Accedi di nuovo per scaricare la ricevuta.",
@@ -4928,8 +4936,8 @@ var it_default = {
4928
4936
  pastDueCardBody: "Aggiorna la tua carta per mantenere questo abbonamento. Apre una pagina Shoppex sicura.",
4929
4937
  historyFirstOrder: "Primo ordine",
4930
4938
  historyRenewal: "Rinnovo",
4931
- historyPlanChange: "Cambio piano, da {from} a {to}",
4932
- historyDays: "per {days} giorni su {total}",
4939
+ historyPlanChange: "Cambio piano \xB7 da {from} a {to}",
4940
+ historyDays: "{days} giorni su {total}",
4933
4941
  historyCouponPayment: "{code} \xB7 {payment} di {total}"
4934
4942
  },
4935
4943
  favorites: {
@@ -5379,6 +5387,7 @@ var lt_default = {
5379
5387
  reviewFallbackLabel: "Atsiliepimas",
5380
5388
  nothingToDownload: "Pristatyta {date}. Pardav\u0117jas tai perdav\u0117 jums tiesiogiai, tod\u0117l n\u0117ra ko atsisi\u0173sti.",
5381
5389
  detailError: "Nepavyko \u012Fkelti u\u017Esakymo {id}",
5390
+ detailErrorBody: "J\u016Bs\u0173 u\u017Esakymas saugus. Patikrinkite ry\u0161\u012F ir bandykite dar kart\u0105.",
5382
5391
  noReceiptUnpaid: "\u0160is u\u017Esakymas niekada nebuvo apmok\u0117tas, tod\u0117l kvito n\u0117ra.",
5383
5392
  noReceiptVoided: "Parduotuv\u0117 at\u0161auk\u0117 \u0161\u012F u\u017Esakym\u0105, tod\u0117l kvito n\u0117ra.",
5384
5393
  pdfSignedOut: "J\u016Bs buvote atjungti. Prisijunkite dar kart\u0105, kad atsisi\u0173stum\u0117te kvit\u0105.",
@@ -5559,8 +5568,8 @@ var lt_default = {
5559
5568
  pastDueCardBody: "Atnaujinkite kortel\u0119, kad prenumerata likt\u0173 galioti. Atidaromas saugus Shoppex puslapis.",
5560
5569
  historyFirstOrder: "Pirmas u\u017Esakymas",
5561
5570
  historyRenewal: "Atnaujinimas",
5562
- historyPlanChange: "Plano keitimas, {from} \u2192 {to}",
5563
- historyDays: "u\u017E {days} i\u0161 {total} d.",
5571
+ historyPlanChange: "Plano keitimas \xB7 {from} \u2192 {to}",
5572
+ historyDays: "{days} i\u0161 {total} d.",
5564
5573
  historyCouponPayment: "{code} \xB7 {payment} i\u0161 {total}"
5565
5574
  },
5566
5575
  favorites: {
@@ -6010,6 +6019,7 @@ var nl_default = {
6010
6019
  reviewFallbackLabel: "Review",
6011
6020
  nothingToDownload: "Geleverd op {date}. De verkoper heeft dit rechtstreeks aan je gegeven, dus er is niets te downloaden.",
6012
6021
  detailError: "Bestelling {id} kon niet worden geladen",
6022
+ detailErrorBody: "Je bestelling is veilig. Controleer je verbinding en probeer het opnieuw.",
6013
6023
  noReceiptUnpaid: "Deze bestelling is nooit betaald, dus er is geen bon.",
6014
6024
  noReceiptVoided: "De winkel heeft deze bestelling geannuleerd, dus er is geen bon.",
6015
6025
  pdfSignedOut: "Je bent uitgelogd. Log opnieuw in om de bon te downloaden.",
@@ -6190,8 +6200,8 @@ var nl_default = {
6190
6200
  pastDueCardBody: "Werk je kaart bij om dit abonnement te behouden. Opent een beveiligde Shoppex-pagina.",
6191
6201
  historyFirstOrder: "Eerste bestelling",
6192
6202
  historyRenewal: "Verlenging",
6193
- historyPlanChange: "Pakketwijziging, van {from} naar {to}",
6194
- historyDays: "voor {days} van {total} dagen",
6203
+ historyPlanChange: "Pakketwijziging \xB7 van {from} naar {to}",
6204
+ historyDays: "{days} van {total} dagen",
6195
6205
  historyCouponPayment: "{code} \xB7 {payment} van {total}"
6196
6206
  },
6197
6207
  favorites: {
@@ -6641,6 +6651,7 @@ var pl_default = {
6641
6651
  reviewFallbackLabel: "Opinia",
6642
6652
  nothingToDownload: "Dostarczono {date}. Sprzedawca przekaza\u0142 Ci to bezpo\u015Brednio, wi\u0119c nie ma nic do pobrania.",
6643
6653
  detailError: "Nie uda\u0142o si\u0119 wczyta\u0107 zam\xF3wienia {id}",
6654
+ detailErrorBody: "Twoje zam\xF3wienie jest bezpieczne. Sprawd\u017A po\u0142\u0105czenie i spr\xF3buj ponownie.",
6644
6655
  noReceiptUnpaid: "To zam\xF3wienie nigdy nie zosta\u0142o op\u0142acone, wi\u0119c nie ma potwierdzenia.",
6645
6656
  noReceiptVoided: "Sklep anulowa\u0142 to zam\xF3wienie, wi\u0119c nie ma potwierdzenia.",
6646
6657
  pdfSignedOut: "Wylogowano Ci\u0119. Zaloguj si\u0119 ponownie, aby pobra\u0107 potwierdzenie.",
@@ -6821,8 +6832,8 @@ var pl_default = {
6821
6832
  pastDueCardBody: "Zaktualizuj kart\u0119, aby zachowa\u0107 t\u0119 subskrypcj\u0119. Otwiera bezpieczn\u0105 stron\u0119 Shoppex.",
6822
6833
  historyFirstOrder: "Pierwsze zam\xF3wienie",
6823
6834
  historyRenewal: "Odnowienie",
6824
- historyPlanChange: "Zmiana planu, z {from} na {to}",
6825
- historyDays: "za {days} z {total} dni",
6835
+ historyPlanChange: "Zmiana planu \xB7 z {from} na {to}",
6836
+ historyDays: "{days} z {total} dni",
6826
6837
  historyCouponPayment: "{code} \xB7 {payment} z {total}"
6827
6838
  },
6828
6839
  favorites: {
@@ -7272,6 +7283,7 @@ var pt_default = {
7272
7283
  reviewFallbackLabel: "Avalia\xE7\xE3o",
7273
7284
  nothingToDownload: "Entregue a {date}. O vendedor entregou-lhe isto diretamente, por isso n\xE3o h\xE1 nada para transferir.",
7274
7285
  detailError: "N\xE3o foi poss\xEDvel carregar a encomenda {id}",
7286
+ detailErrorBody: "A sua encomenda est\xE1 segura. Verifique a sua liga\xE7\xE3o e tente novamente.",
7275
7287
  noReceiptUnpaid: "Esta encomenda nunca foi paga, por isso n\xE3o tem recibo.",
7276
7288
  noReceiptVoided: "A loja cancelou esta encomenda, por isso n\xE3o tem recibo.",
7277
7289
  pdfSignedOut: "A sua sess\xE3o terminou. Inicie sess\xE3o novamente para transferir o recibo.",
@@ -7452,8 +7464,8 @@ var pt_default = {
7452
7464
  pastDueCardBody: "Atualize o seu cart\xE3o para manter esta subscri\xE7\xE3o. Abre uma p\xE1gina segura da Shoppex.",
7453
7465
  historyFirstOrder: "Primeiro pedido",
7454
7466
  historyRenewal: "Renova\xE7\xE3o",
7455
- historyPlanChange: "Mudan\xE7a de plano, de {from} para {to}",
7456
- historyDays: "por {days} de {total} dias",
7467
+ historyPlanChange: "Mudan\xE7a de plano \xB7 de {from} para {to}",
7468
+ historyDays: "{days} de {total} dias",
7457
7469
  historyCouponPayment: "{code} \xB7 {payment} de {total}"
7458
7470
  },
7459
7471
  favorites: {
@@ -7903,6 +7915,7 @@ var ru_default = {
7903
7915
  reviewFallbackLabel: "\u041E\u0442\u0437\u044B\u0432",
7904
7916
  nothingToDownload: "\u0414\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043E {date}. \u041F\u0440\u043E\u0434\u0430\u0432\u0435\u0446 \u043F\u0435\u0440\u0435\u0434\u0430\u043B \u044D\u0442\u043E \u0432\u0430\u043C \u043D\u0430\u043F\u0440\u044F\u043C\u0443\u044E, \u043F\u043E\u044D\u0442\u043E\u043C\u0443 \u0441\u043A\u0430\u0447\u0438\u0432\u0430\u0442\u044C \u043D\u0435\u0447\u0435\u0433\u043E.",
7905
7917
  detailError: "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0437\u0430\u043A\u0430\u0437 {id}",
7918
+ detailErrorBody: "\u0412\u0430\u0448 \u0437\u0430\u043A\u0430\u0437 \u0432 \u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u0438. \u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0438 \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0441\u043D\u043E\u0432\u0430.",
7906
7919
  noReceiptUnpaid: "\u042D\u0442\u043E\u0442 \u0437\u0430\u043A\u0430\u0437 \u0442\u0430\u043A \u0438 \u043D\u0435 \u0431\u044B\u043B \u043E\u043F\u043B\u0430\u0447\u0435\u043D, \u043F\u043E\u044D\u0442\u043E\u043C\u0443 \u0447\u0435\u043A\u0430 \u043D\u0435\u0442.",
7907
7920
  noReceiptVoided: "\u041C\u0430\u0433\u0430\u0437\u0438\u043D \u043E\u0442\u043C\u0435\u043D\u0438\u043B \u044D\u0442\u043E\u0442 \u0437\u0430\u043A\u0430\u0437, \u043F\u043E\u044D\u0442\u043E\u043C\u0443 \u0447\u0435\u043A\u0430 \u043D\u0435\u0442.",
7908
7921
  pdfSignedOut: "\u0412\u044B \u0432\u044B\u0448\u043B\u0438 \u0438\u0437 \u0430\u043A\u043A\u0430\u0443\u043D\u0442\u0430. \u0412\u043E\u0439\u0434\u0438\u0442\u0435 \u0441\u043D\u043E\u0432\u0430, \u0447\u0442\u043E\u0431\u044B \u0441\u043A\u0430\u0447\u0430\u0442\u044C \u0447\u0435\u043A.",
@@ -8083,8 +8096,8 @@ var ru_default = {
8083
8096
  pastDueCardBody: "\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u0435 \u043A\u0430\u0440\u0442\u0443, \u0447\u0442\u043E\u0431\u044B \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0443. \u041E\u0442\u043A\u0440\u043E\u0435\u0442\u0441\u044F \u0437\u0430\u0449\u0438\u0449\u0451\u043D\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430 Shoppex.",
8084
8097
  historyFirstOrder: "\u041F\u0435\u0440\u0432\u044B\u0439 \u0437\u0430\u043A\u0430\u0437",
8085
8098
  historyRenewal: "\u041F\u0440\u043E\u0434\u043B\u0435\u043D\u0438\u0435",
8086
- historyPlanChange: "\u0421\u043C\u0435\u043D\u0430 \u0442\u0430\u0440\u0438\u0444\u0430: {from} \u043D\u0430 {to}",
8087
- historyDays: "\u0437\u0430 {days} \u0438\u0437 {total} \u0434\u043D.",
8099
+ historyPlanChange: "\u0421\u043C\u0435\u043D\u0430 \u0442\u0430\u0440\u0438\u0444\u0430 \xB7 {from} \u043D\u0430 {to}",
8100
+ historyDays: "{days} \u0438\u0437 {total} \u0434\u043D.",
8088
8101
  historyCouponPayment: "{code} \xB7 {payment} \u0438\u0437 {total}"
8089
8102
  },
8090
8103
  favorites: {
@@ -8534,6 +8547,7 @@ var tr_default = {
8534
8547
  reviewFallbackLabel: "De\u011Ferlendirme",
8535
8548
  nothingToDownload: "Teslim edildi: {date}. Sat\u0131c\u0131 bunu sana do\u011Frudan verdi, bu y\xFCzden indirilecek bir \u015Fey yok.",
8536
8549
  detailError: "{id} sipari\u015Fi y\xFCklenemedi",
8550
+ detailErrorBody: "Sipari\u015Fin g\xFCvende. Ba\u011Flant\u0131n\u0131 kontrol edip tekrar dene.",
8537
8551
  noReceiptUnpaid: "Bu sipari\u015F hi\xE7 \xF6denmedi, bu y\xFCzden makbuzu yok.",
8538
8552
  noReceiptVoided: "Ma\u011Faza bu sipari\u015Fi iptal etti, bu y\xFCzden makbuzu yok.",
8539
8553
  pdfSignedOut: "Oturumun kapand\u0131. Makbuzu indirmek i\xE7in tekrar giri\u015F yap.",
@@ -8714,8 +8728,8 @@ var tr_default = {
8714
8728
  pastDueCardBody: "Bu aboneli\u011Fi korumak i\xE7in kart\u0131n\u0131z\u0131 g\xFCncelleyin. G\xFCvenli bir Shoppex sayfas\u0131 a\xE7\u0131l\u0131r.",
8715
8729
  historyFirstOrder: "\u0130lk sipari\u015F",
8716
8730
  historyRenewal: "Yenileme",
8717
- historyPlanChange: "Plan de\u011Fi\u015Fikli\u011Fi, {from} \u2192 {to}",
8718
- historyDays: "{total} g\xFCn\xFCn {days} g\xFCn\xFC i\xE7in",
8731
+ historyPlanChange: "Plan de\u011Fi\u015Fikli\u011Fi \xB7 {from} \u2192 {to}",
8732
+ historyDays: "{total} g\xFCn\xFCn {days} g\xFCn\xFC",
8719
8733
  historyCouponPayment: "{code} \xB7 {payment}/{total}"
8720
8734
  },
8721
8735
  favorites: {
@@ -9165,6 +9179,7 @@ var uk_default = {
9165
9179
  reviewFallbackLabel: "\u0412\u0456\u0434\u0433\u0443\u043A",
9166
9180
  nothingToDownload: "\u0414\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043E {date}. \u041F\u0440\u043E\u0434\u0430\u0432\u0435\u0446\u044C \u043F\u0435\u0440\u0435\u0434\u0430\u0432 \u0446\u0435 \u0432\u0430\u043C \u043D\u0430\u043F\u0440\u044F\u043C\u0443, \u0442\u043E\u0436 \u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0443\u0432\u0430\u0442\u0438 \u043D\u0456\u0447\u043E\u0433\u043E.",
9167
9181
  detailError: "\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0438\u0442\u0438 \u0437\u0430\u043C\u043E\u0432\u043B\u0435\u043D\u043D\u044F {id}",
9182
+ detailErrorBody: "\u0412\u0430\u0448\u0435 \u0437\u0430\u043C\u043E\u0432\u043B\u0435\u043D\u043D\u044F \u0432 \u0431\u0435\u0437\u043F\u0435\u0446\u0456. \u041F\u0435\u0440\u0435\u0432\u0456\u0440\u0442\u0435 \u0437\u2019\u0454\u0434\u043D\u0430\u043D\u043D\u044F \u0442\u0430 \u0441\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0449\u0435 \u0440\u0430\u0437.",
9168
9183
  noReceiptUnpaid: "\u0426\u0435 \u0437\u0430\u043C\u043E\u0432\u043B\u0435\u043D\u043D\u044F \u0442\u0430\u043A \u0456 \u043D\u0435 \u0431\u0443\u043B\u043E \u043E\u043F\u043B\u0430\u0447\u0435\u043D\u0435, \u0442\u043E\u043C\u0443 \u043A\u0432\u0438\u0442\u0430\u043D\u0446\u0456\u0457 \u043D\u0435\u043C\u0430\u0454.",
9169
9184
  noReceiptVoided: "\u041C\u0430\u0433\u0430\u0437\u0438\u043D \u0441\u043A\u0430\u0441\u0443\u0432\u0430\u0432 \u0446\u0435 \u0437\u0430\u043C\u043E\u0432\u043B\u0435\u043D\u043D\u044F, \u0442\u043E\u043C\u0443 \u043A\u0432\u0438\u0442\u0430\u043D\u0446\u0456\u0457 \u043D\u0435\u043C\u0430\u0454.",
9170
9185
  pdfSignedOut: "\u0412\u0438 \u0432\u0438\u0439\u0448\u043B\u0438 \u0437 \u0430\u043A\u0430\u0443\u043D\u0442\u0430. \u0423\u0432\u0456\u0439\u0434\u0456\u0442\u044C \u0437\u043D\u043E\u0432\u0443, \u0449\u043E\u0431 \u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0438\u0442\u0438 \u043A\u0432\u0438\u0442\u0430\u043D\u0446\u0456\u044E.",
@@ -9345,8 +9360,8 @@ var uk_default = {
9345
9360
  pastDueCardBody: "\u041E\u043D\u043E\u0432\u0456\u0442\u044C \u043A\u0430\u0440\u0442\u043A\u0443, \u0449\u043E\u0431 \u0437\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u043F\u0456\u0434\u043F\u0438\u0441\u043A\u0443. \u0412\u0456\u0434\u043A\u0440\u0438\u0454\u0442\u044C\u0441\u044F \u0437\u0430\u0445\u0438\u0449\u0435\u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430 Shoppex.",
9346
9361
  historyFirstOrder: "\u041F\u0435\u0440\u0448\u0435 \u0437\u0430\u043C\u043E\u0432\u043B\u0435\u043D\u043D\u044F",
9347
9362
  historyRenewal: "\u041F\u0440\u043E\u0434\u043E\u0432\u0436\u0435\u043D\u043D\u044F",
9348
- historyPlanChange: "\u0417\u043C\u0456\u043D\u0430 \u0442\u0430\u0440\u0438\u0444\u0443: {from} \u043D\u0430 {to}",
9349
- historyDays: "\u0437\u0430 {days} \u0437 {total} \u0434\u043D.",
9363
+ historyPlanChange: "\u0417\u043C\u0456\u043D\u0430 \u0442\u0430\u0440\u0438\u0444\u0443 \xB7 {from} \u043D\u0430 {to}",
9364
+ historyDays: "{days} \u0437 {total} \u0434\u043D.",
9350
9365
  historyCouponPayment: "{code} \xB7 {payment} \u0437 {total}"
9351
9366
  },
9352
9367
  favorites: {
@@ -9796,6 +9811,7 @@ var zh_default = {
9796
9811
  reviewFallbackLabel: "\u8BC4\u4EF7",
9797
9812
  nothingToDownload: "\u5DF2\u4EA4\u4ED8\uFF1A{date}\u3002\u5356\u5BB6\u5DF2\u76F4\u63A5\u4EA4\u7ED9\u4F60\uFF0C\u56E0\u6B64\u6CA1\u6709\u53EF\u4E0B\u8F7D\u7684\u5185\u5BB9\u3002",
9798
9813
  detailError: "\u65E0\u6CD5\u52A0\u8F7D\u8BA2\u5355 {id}",
9814
+ detailErrorBody: "\u4F60\u7684\u8BA2\u5355\u5F88\u5B89\u5168\u3002\u8BF7\u68C0\u67E5\u7F51\u7EDC\u8FDE\u63A5\u540E\u91CD\u8BD5\u3002",
9799
9815
  noReceiptUnpaid: "\u6B64\u8BA2\u5355\u4ECE\u672A\u4ED8\u6B3E\uFF0C\u56E0\u6B64\u6CA1\u6709\u6536\u636E\u3002",
9800
9816
  noReceiptVoided: "\u5546\u5BB6\u5DF2\u53D6\u6D88\u6B64\u8BA2\u5355\uFF0C\u56E0\u6B64\u6CA1\u6709\u6536\u636E\u3002",
9801
9817
  pdfSignedOut: "\u4F60\u5DF2\u9000\u51FA\u767B\u5F55\u3002\u8BF7\u91CD\u65B0\u767B\u5F55\u4EE5\u4E0B\u8F7D\u6536\u636E\u3002",
@@ -9976,7 +9992,7 @@ var zh_default = {
9976
9992
  pastDueCardBody: "\u8BF7\u66F4\u65B0\u94F6\u884C\u5361\u4EE5\u4FDD\u7559\u6B64\u8BA2\u9605\u3002\u5C06\u6253\u5F00\u4E00\u4E2A\u5B89\u5168\u7684 Shoppex \u9875\u9762\u3002",
9977
9993
  historyFirstOrder: "\u9996\u6B21\u8BA2\u5355",
9978
9994
  historyRenewal: "\u7EED\u8BA2",
9979
- historyPlanChange: "\u5957\u9910\u53D8\u66F4\uFF1A{from} \u6539\u4E3A {to}",
9995
+ historyPlanChange: "\u5957\u9910\u53D8\u66F4 \xB7 {from} \u6539\u4E3A {to}",
9980
9996
  historyDays: "{total} \u5929\u4E2D\u7684 {days} \u5929",
9981
9997
  historyCouponPayment: "{code} \xB7 \u7B2C {payment}/{total} \u6B21"
9982
9998
  },
@@ -12009,7 +12025,10 @@ function waitingStockNotice(order) {
12009
12025
  return `${t("orders.waitingStock.title")} ${body}`;
12010
12026
  }
12011
12027
  function lineDeliveryChipStatus(orderStatus, line) {
12012
- return orderStatus === "AWAITING_STOCK" && line.deliveryStatus === "PENDING" ? "WAITING" : line.deliveryStatus;
12028
+ if (line.deliveryStatus !== "PENDING") return line.deliveryStatus;
12029
+ if (orderStatus === "AWAITING_STOCK") return "WAITING";
12030
+ if (orderStatus === "EXPIRED" || orderStatus === "VOIDED") return null;
12031
+ return line.deliveryStatus;
12013
12032
  }
12014
12033
  function nothingToDownloadDate(line, deliveryWithheld) {
12015
12034
  return line.deliveredAt !== null && line.deliverySummary === null && deliveryWithheld === false ? line.deliveredAt : null;
@@ -12027,7 +12046,7 @@ function AccountOrderDetail({ orderId }) {
12027
12046
  return /* @__PURE__ */ jsxs6("div", { children: [
12028
12047
  backLink,
12029
12048
  /* @__PURE__ */ jsx7("div", { className: "sxa:mt-5", children: /* @__PURE__ */ jsx7(AccountSectionTitle, { children: t("orders.detailError", { id: orderId }) }) }),
12030
- /* @__PURE__ */ jsx7("div", { className: "sxa:mt-4", children: /* @__PURE__ */ jsx7(AccountError, { message: state.message, onRetry: reload }) })
12049
+ /* @__PURE__ */ jsx7("div", { className: "sxa:mt-4", children: /* @__PURE__ */ jsx7(AccountError, { message: t("orders.detailErrorBody"), onRetry: reload }) })
12031
12050
  ] });
12032
12051
  }
12033
12052
  const order = state.data;
@@ -12058,7 +12077,7 @@ function AccountOrderDetail({ orderId }) {
12058
12077
  ] }),
12059
12078
  /* @__PURE__ */ jsxs6("div", { className: "sxa:text-right", children: [
12060
12079
  /* @__PURE__ */ jsx7("p", { className: "sxa:text-small sxa:font-semibold sxa:tabular-nums", children: formatAccountAmount(item.total, order.currency) }),
12061
- /* @__PURE__ */ jsx7("p", { className: "sxa:mt-1.5", children: /* @__PURE__ */ jsx7(DeliveryChip, { status: lineDeliveryChipStatus(order.status, item) }) })
12080
+ /* @__PURE__ */ jsx7(LineDeliveryChip, { status: lineDeliveryChipStatus(order.status, item) })
12062
12081
  ] })
12063
12082
  ] }),
12064
12083
  item.deliverySummary ? /* @__PURE__ */ jsx7(DeliveredItems, { summary: item.deliverySummary }) : null,
@@ -12330,6 +12349,10 @@ function SummaryRow({
12330
12349
  }
12331
12350
  );
12332
12351
  }
12352
+ function LineDeliveryChip({ status }) {
12353
+ if (status === null) return null;
12354
+ return /* @__PURE__ */ jsx7("p", { className: "sxa:mt-1.5", children: /* @__PURE__ */ jsx7(DeliveryChip, { status }) });
12355
+ }
12333
12356
  function DeliveryChip({ status }) {
12334
12357
  const normalized = status.trim().toUpperCase();
12335
12358
  const tone = normalized === "DELIVERED" ? "sxa:meta-chip--in_stock" : normalized === "FAILED" ? "sxa:meta-chip--sold_out" : "sxa:meta-chip--neutral";