@wise/dynamic-flow-client 3.25.1 → 3.26.0

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/build/main.mjs CHANGED
@@ -138,12 +138,12 @@ var init_clsx = __esm({
138
138
  }
139
139
  });
140
140
 
141
- // ../../node_modules/.pnpm/@wise+art@2.16.3_@transferwise+neptune-css@14.19.1_@types+react@18.3.11_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wise/art/dist/index-a91e5689.esm.js
141
+ // ../../node_modules/.pnpm/@wise+art@2.16.3_@transferwise+neptune-css@14.19.1_@types+react@18.3.12_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wise/art/dist/index-a91e5689.esm.js
142
142
  import { useState as useState2, useEffect as useEffect2, forwardRef, Suspense, lazy } from "react";
143
143
  import { jsx as jsx17, jsxs as jsxs4, Fragment as Fragment3 } from "react/jsx-runtime";
144
144
  var unknownFlagName, Flag, Sizes, ImageSizes, imageSizes, Assets, RenderMode;
145
145
  var init_index_a91e5689_esm = __esm({
146
- "../../node_modules/.pnpm/@wise+art@2.16.3_@transferwise+neptune-css@14.19.1_@types+react@18.3.11_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wise/art/dist/index-a91e5689.esm.js"() {
146
+ "../../node_modules/.pnpm/@wise+art@2.16.3_@transferwise+neptune-css@14.19.1_@types+react@18.3.12_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wise/art/dist/index-a91e5689.esm.js"() {
147
147
  "use strict";
148
148
  init_clsx();
149
149
  unknownFlagName = "wise";
@@ -493,6 +493,8 @@ var de_default = {
493
493
  "dynamicFlows.ExternalConfirmation.description": "Bitte best\xE4tige, dass du **{origin}** in einem neuen Browser-Tab \xF6ffnen m\xF6chtest.",
494
494
  "dynamicFlows.ExternalConfirmation.open": "In neuem Tab \xF6ffnen",
495
495
  "dynamicFlows.ExternalConfirmation.title": "Bitte best\xE4tigen",
496
+ "dynamicFlows.FileUploadSchema.maxFileSizeError": "Diese Datei ist leider zu gro\xDF. Bitte lade eine kleinere Datei hoch.",
497
+ "dynamicFlows.FileUploadSchema.wrongFileTypeError": "Sorry, that file format is not supported. Please upload a different file.",
496
498
  "dynamicFlows.Help.ariaLabel": "Klicke hier f\xFCr mehr Informationen.",
497
499
  "dynamicFlows.MultiSelect.summary": "{first} und {count} weitere",
498
500
  "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Diese Datei ist leider zu gro\xDF. Bitte lade eine kleinere Datei hoch.",
@@ -544,6 +546,8 @@ var en_default = {
544
546
  "dynamicFlows.ExternalConfirmation.description": "Please confirm you want to open **{origin}** in a new browser tab.",
545
547
  "dynamicFlows.ExternalConfirmation.open": "Open in new tab",
546
548
  "dynamicFlows.ExternalConfirmation.title": "Please confirm",
549
+ "dynamicFlows.FileUploadSchema.maxFileSizeError": "Sorry, that file is too big. Please upload a smaller file.",
550
+ "dynamicFlows.FileUploadSchema.wrongFileTypeError": "Sorry, that file format is not supported. Please upload a different file.",
547
551
  "dynamicFlows.Help.ariaLabel": "Click here for more info.",
548
552
  "dynamicFlows.MultiSelect.summary": "{first} and {count} more",
549
553
  "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Sorry, that file is too big. Please upload a smaller file.",
@@ -595,6 +599,8 @@ var es_default = {
595
599
  "dynamicFlows.ExternalConfirmation.description": "Confirma que quieres abrir **{origin}** en una nueva pesta\xF1a del navegador.",
596
600
  "dynamicFlows.ExternalConfirmation.open": "Abrir en nueva pesta\xF1a",
597
601
  "dynamicFlows.ExternalConfirmation.title": "Por favor, confirma",
602
+ "dynamicFlows.FileUploadSchema.maxFileSizeError": "Lo sentimos, el archivo pesa demasiado. Sube uno m\xE1s peque\xF1o.",
603
+ "dynamicFlows.FileUploadSchema.wrongFileTypeError": "Sorry, that file format is not supported. Please upload a different file.",
598
604
  "dynamicFlows.Help.ariaLabel": "Haz clic aqu\xED para obtener m\xE1s informaci\xF3n.",
599
605
  "dynamicFlows.MultiSelect.summary": "{first} y {count} m\xE1s",
600
606
  "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Lo sentimos, el archivo pesa demasiado. Sube uno m\xE1s peque\xF1o.",
@@ -646,6 +652,8 @@ var fr_default = {
646
652
  "dynamicFlows.ExternalConfirmation.description": "Veuillez confirmer que vous souhaitez ouvrir **{origin}** dans un nouvel onglet.",
647
653
  "dynamicFlows.ExternalConfirmation.open": "Ouvrir dans un nouvel onglet",
648
654
  "dynamicFlows.ExternalConfirmation.title": "Veuillez confirmer",
655
+ "dynamicFlows.FileUploadSchema.maxFileSizeError": "Nous sommes d\xE9sol\xE9s, ce fichier est trop volumineux. Veuillez t\xE9l\xE9charger un fichier plus petit.",
656
+ "dynamicFlows.FileUploadSchema.wrongFileTypeError": "Sorry, that file format is not supported. Please upload a different file.",
649
657
  "dynamicFlows.Help.ariaLabel": "Cliquez ici pour plus d'informations.",
650
658
  "dynamicFlows.MultiSelect.summary": "{first} et {count} de plus",
651
659
  "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Nous sommes d\xE9sol\xE9s, ce fichier est trop volumineux. Veuillez t\xE9l\xE9charger un fichier plus petit.",
@@ -697,6 +705,8 @@ var hu_default = {
697
705
  "dynamicFlows.ExternalConfirmation.description": "K\xE9r\xFCnk, er\u0151s\xEDtsd meg, hogy a(z) **{origin}** alkalmaz\xE1st egy \xFAj b\xF6ng\xE9sz\u0151lapon szeretn\xE9d megnyitni.",
698
706
  "dynamicFlows.ExternalConfirmation.open": "Megnyit\xE1s \xFAj lapon",
699
707
  "dynamicFlows.ExternalConfirmation.title": "Meger\u0151s\xEDt\xE9s",
708
+ "dynamicFlows.FileUploadSchema.maxFileSizeError": "Sajnos ez a f\xE1jl t\xFAl nagy. K\xE9r\xFCnk, t\xF6lts fel egy kisebb f\xE1jlt.",
709
+ "dynamicFlows.FileUploadSchema.wrongFileTypeError": "Sorry, that file format is not supported. Please upload a different file.",
700
710
  "dynamicFlows.Help.ariaLabel": "Kattints ide tov\xE1bbi inform\xE1ci\xF3\xE9rt.",
701
711
  "dynamicFlows.MultiSelect.summary": "{first} \xE9s tov\xE1bbi {count}",
702
712
  "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Sajnos ez a f\xE1jl t\xFAl nagy. K\xE9r\xFCnk, t\xF6lts fel egy kisebb f\xE1jlt.",
@@ -748,6 +758,8 @@ var id_default = {
748
758
  "dynamicFlows.ExternalConfirmation.description": "Harap konfirmasikan bahwa Anda ingin membuka **{origin}** di tab browser baru.",
749
759
  "dynamicFlows.ExternalConfirmation.open": "Buka di tab baru",
750
760
  "dynamicFlows.ExternalConfirmation.title": "Harap konfirmasi",
761
+ "dynamicFlows.FileUploadSchema.maxFileSizeError": "Maaf, file Anda terlalu besar. Silakan unggah file yang lebih kecil.",
762
+ "dynamicFlows.FileUploadSchema.wrongFileTypeError": "Sorry, that file format is not supported. Please upload a different file.",
751
763
  "dynamicFlows.Help.ariaLabel": "Klik di sini untuk info selengkapnya.",
752
764
  "dynamicFlows.MultiSelect.summary": "{first} dan {count} lagi",
753
765
  "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Maaf, file Anda terlalu besar. Silakan unggah file yang lebih kecil.",
@@ -799,6 +811,8 @@ var it_default = {
799
811
  "dynamicFlows.ExternalConfirmation.description": "Conferma di voler aprire **{origin}** in una nuova scheda del browser.",
800
812
  "dynamicFlows.ExternalConfirmation.open": "Apri in una nuova scheda",
801
813
  "dynamicFlows.ExternalConfirmation.title": "Conferma",
814
+ "dynamicFlows.FileUploadSchema.maxFileSizeError": "Spiacenti, il file \xE8 troppo grande. Carica un file di dimensioni inferiori.",
815
+ "dynamicFlows.FileUploadSchema.wrongFileTypeError": "Sorry, that file format is not supported. Please upload a different file.",
802
816
  "dynamicFlows.Help.ariaLabel": "Clicca qui per maggiori informazioni.",
803
817
  "dynamicFlows.MultiSelect.summary": "{first} e altri {count}",
804
818
  "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Spiacenti, il file \xE8 troppo grande. Carica un file di dimensioni inferiori.",
@@ -850,6 +864,8 @@ var ja_default = {
850
864
  "dynamicFlows.ExternalConfirmation.description": "\u65B0\u3057\u3044\u30D6\u30E9\u30A6\u30B6\u30BF\u30D6\u3067**{origin}**\u3092\u958B\u304F\u3053\u3068\u3092\u627F\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
851
865
  "dynamicFlows.ExternalConfirmation.open": "\u65B0\u3057\u3044\u30BF\u30D6\u3067\u958B\u304F",
852
866
  "dynamicFlows.ExternalConfirmation.title": "\u627F\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044",
867
+ "dynamicFlows.FileUploadSchema.maxFileSizeError": "\u5927\u5909\u7533\u3057\u8A33\u3054\u3056\u3044\u307E\u305B\u3093\u304C\u3001\u30D5\u30A1\u30A4\u30EB\u304C\u5927\u304D\u3059\u304E\u307E\u3059\u3002\u3053\u308C\u3088\u308A\u5C0F\u3055\u3044\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
868
+ "dynamicFlows.FileUploadSchema.wrongFileTypeError": "Sorry, that file format is not supported. Please upload a different file.",
853
869
  "dynamicFlows.Help.ariaLabel": "\u8A73\u7D30\u306F\u3053\u3061\u3089\u3092\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
854
870
  "dynamicFlows.MultiSelect.summary": "{first}\u3068\u305D\u306E\u4ED6{count}",
855
871
  "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\u5927\u5909\u7533\u3057\u8A33\u3054\u3056\u3044\u307E\u305B\u3093\u304C\u3001\u30D5\u30A1\u30A4\u30EB\u304C\u5927\u304D\u3059\u304E\u307E\u3059\u3002\u3053\u308C\u3088\u308A\u5C0F\u3055\u3044\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
@@ -901,6 +917,8 @@ var pl_default = {
901
917
  "dynamicFlows.ExternalConfirmation.description": "Prosimy potwierdzi\u0107, \u017Ce chcesz otworzy\u0107 **{origin}** w nowej zak\u0142adce przegl\u0105darki.",
902
918
  "dynamicFlows.ExternalConfirmation.open": "Otw\xF3rz w nowej zak\u0142adce",
903
919
  "dynamicFlows.ExternalConfirmation.title": "Potwierd\u017A",
920
+ "dynamicFlows.FileUploadSchema.maxFileSizeError": "Przepraszamy, ten plik jest zbyt du\u017Cy. Prze\u015Blij mniejszy plik.",
921
+ "dynamicFlows.FileUploadSchema.wrongFileTypeError": "Sorry, that file format is not supported. Please upload a different file.",
904
922
  "dynamicFlows.Help.ariaLabel": "Kliknij tutaj, \u017Ceby uzyska\u0107 wi\u0119cej informacji.",
905
923
  "dynamicFlows.MultiSelect.summary": "{first} oraz {count} wi\u0119cej",
906
924
  "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Przepraszamy, ten plik jest zbyt du\u017Cy. Prze\u015Blij mniejszy plik.",
@@ -952,6 +970,8 @@ var pt_default = {
952
970
  "dynamicFlows.ExternalConfirmation.description": "Por favor, confirme que deseja abrir * *{origin}* * em uma nova aba do navegador.",
953
971
  "dynamicFlows.ExternalConfirmation.open": "Abrir em uma nova aba",
954
972
  "dynamicFlows.ExternalConfirmation.title": "Por favor, confirme",
973
+ "dynamicFlows.FileUploadSchema.maxFileSizeError": "Este arquivo \xE9 muito grande. Por favor, envie um arquivo menor.",
974
+ "dynamicFlows.FileUploadSchema.wrongFileTypeError": "Sorry, that file format is not supported. Please upload a different file.",
955
975
  "dynamicFlows.Help.ariaLabel": "Clique aqui para mais informa\xE7\xF5es.",
956
976
  "dynamicFlows.MultiSelect.summary": "{first} e mais {count} ",
957
977
  "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Este arquivo \xE9 muito grande. Por favor, envie um arquivo menor.",
@@ -1003,6 +1023,8 @@ var ro_default = {
1003
1023
  "dynamicFlows.ExternalConfirmation.description": "Te rug\u0103m s\u0103 confirmi c\u0103 vrei s\u0103 deschizi **{origin}** \xEEntr-o nou\u0103 fil\u0103 a browserului.",
1004
1024
  "dynamicFlows.ExternalConfirmation.open": "Deschide \xEEntr-o fil\u0103 nou\u0103",
1005
1025
  "dynamicFlows.ExternalConfirmation.title": "Te rug\u0103m s\u0103 confirmi",
1026
+ "dynamicFlows.FileUploadSchema.maxFileSizeError": "Ne pare r\u0103u, acel fi\u0219ier este prea mare. Te rug\u0103m s\u0103 \xEEncarci un fi\u0219ier mai mic.",
1027
+ "dynamicFlows.FileUploadSchema.wrongFileTypeError": "Sorry, that file format is not supported. Please upload a different file.",
1006
1028
  "dynamicFlows.Help.ariaLabel": "D\u0103 click aici pentru mai multe informa\u021Bii.",
1007
1029
  "dynamicFlows.MultiSelect.summary": "{first} \u0219i \xEEnc\u0103 {count}",
1008
1030
  "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Ne pare r\u0103u, acel fi\u0219ier este prea mare. Te rug\u0103m s\u0103 \xEEncarci un fi\u0219ier mai mic.",
@@ -1054,6 +1076,8 @@ var ru_default = {
1054
1076
  "dynamicFlows.ExternalConfirmation.description": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435, \u0447\u0442\u043E \u0432\u044B \u0445\u043E\u0442\u0438\u0442\u0435 \u043E\u0442\u043A\u0440\u044B\u0442\u044C **{origin}** \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.",
1055
1077
  "dynamicFlows.ExternalConfirmation.open": "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435",
1056
1078
  "dynamicFlows.ExternalConfirmation.title": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435",
1079
+ "dynamicFlows.FileUploadSchema.maxFileSizeError": "\u0418\u0437\u0432\u0438\u043D\u0438\u0442\u0435, \u0444\u0430\u0439\u043B \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0439. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0444\u0430\u0439\u043B \u043C\u0435\u043D\u044C\u0448\u0435\u0433\u043E \u0440\u0430\u0437\u043C\u0435\u0440\u0430.",
1080
+ "dynamicFlows.FileUploadSchema.wrongFileTypeError": "Sorry, that file format is not supported. Please upload a different file.",
1057
1081
  "dynamicFlows.Help.ariaLabel": "\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044C \u0434\u043B\u044F \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438.",
1058
1082
  "dynamicFlows.MultiSelect.summary": "{first} \u0438 \u0435\u0449\u0435 {count} \u0434\u0440\u0443\u0433\u0438\u0445",
1059
1083
  "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\u0418\u0437\u0432\u0438\u043D\u0438\u0442\u0435, \u0444\u0430\u0439\u043B \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0439. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0444\u0430\u0439\u043B \u043C\u0435\u043D\u044C\u0448\u0435\u0433\u043E \u0440\u0430\u0437\u043C\u0435\u0440\u0430.",
@@ -1105,6 +1129,8 @@ var th_default = {
1105
1129
  "dynamicFlows.ExternalConfirmation.description": "\u0E42\u0E1B\u0E23\u0E14\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19\u0E27\u0E48\u0E32\u0E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E40\u0E1B\u0E34\u0E14 **{origin}** \u0E40\u0E1B\u0E47\u0E19\u0E41\u0E17\u0E47\u0E1A\u0E43\u0E2B\u0E21\u0E48\u0E43\u0E19\u0E40\u0E1A\u0E23\u0E32\u0E27\u0E4C\u0E40\u0E0B\u0E2D\u0E23\u0E4C",
1106
1130
  "dynamicFlows.ExternalConfirmation.open": "\u0E40\u0E1B\u0E34\u0E14\u0E43\u0E19\u0E41\u0E17\u0E47\u0E1A\u0E43\u0E2B\u0E21\u0E48",
1107
1131
  "dynamicFlows.ExternalConfirmation.title": "\u0E42\u0E1B\u0E23\u0E14\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19",
1132
+ "dynamicFlows.FileUploadSchema.maxFileSizeError": "\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E44\u0E1F\u0E25\u0E4C\u0E19\u0E31\u0E49\u0E19\u0E43\u0E2B\u0E0D\u0E48\u0E40\u0E01\u0E34\u0E19\u0E44\u0E1B \u0E42\u0E1B\u0E23\u0E14\u0E2D\u0E31\u0E1B\u0E42\u0E2B\u0E25\u0E14\u0E44\u0E1F\u0E25\u0E4C\u0E17\u0E35\u0E48\u0E21\u0E35\u0E02\u0E19\u0E32\u0E14\u0E40\u0E25\u0E47\u0E01\u0E25\u0E07",
1133
+ "dynamicFlows.FileUploadSchema.wrongFileTypeError": "Sorry, that file format is not supported. Please upload a different file.",
1108
1134
  "dynamicFlows.Help.ariaLabel": "\u0E04\u0E25\u0E34\u0E01\u0E17\u0E35\u0E48\u0E19\u0E35\u0E48\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E14\u0E39\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21",
1109
1135
  "dynamicFlows.MultiSelect.summary": "{first} \u0E41\u0E25\u0E30\u0E2D\u0E35\u0E01 {count}",
1110
1136
  "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E44\u0E1F\u0E25\u0E4C\u0E19\u0E31\u0E49\u0E19\u0E43\u0E2B\u0E0D\u0E48\u0E40\u0E01\u0E34\u0E19\u0E44\u0E1B \u0E42\u0E1B\u0E23\u0E14\u0E2D\u0E31\u0E1B\u0E42\u0E2B\u0E25\u0E14\u0E44\u0E1F\u0E25\u0E4C\u0E17\u0E35\u0E48\u0E21\u0E35\u0E02\u0E19\u0E32\u0E14\u0E40\u0E25\u0E47\u0E01\u0E25\u0E07",
@@ -1156,6 +1182,8 @@ var tr_default = {
1156
1182
  "dynamicFlows.ExternalConfirmation.description": "L\xFCtfen yeni bir taray\u0131c\u0131 sekmesinde **{origin}** a\xE7mak istedi\u011Finizi onaylay\u0131n.",
1157
1183
  "dynamicFlows.ExternalConfirmation.open": "Yeni sekmede a\xE7",
1158
1184
  "dynamicFlows.ExternalConfirmation.title": "L\xFCtfen onaylay\u0131n",
1185
+ "dynamicFlows.FileUploadSchema.maxFileSizeError": "\xDCzg\xFCn\xFCz, bu dosya \xE7ok b\xFCy\xFCk. L\xFCtfen daha k\xFC\xE7\xFCk bir dosya y\xFCkleyin.",
1186
+ "dynamicFlows.FileUploadSchema.wrongFileTypeError": "Sorry, that file format is not supported. Please upload a different file.",
1159
1187
  "dynamicFlows.Help.ariaLabel": "Ayr\u0131nt\u0131lar i\xE7in t\u0131klay\u0131n.",
1160
1188
  "dynamicFlows.MultiSelect.summary": "{first} ve {count} daha",
1161
1189
  "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\xDCzg\xFCn\xFCz, bu dosya \xE7ok b\xFCy\xFCk. L\xFCtfen daha k\xFC\xE7\xFCk bir dosya y\xFCkleyin.",
@@ -1207,6 +1235,8 @@ var zh_CN_default = {
1207
1235
  "dynamicFlows.ExternalConfirmation.description": "\u8BF7\u786E\u8BA4\u60A8\u662F\u5426\u8981\u5728\u65B0\u6807\u7B7E\u9875\u4E2D\u6253\u5F00**{origin}**\u3002",
1208
1236
  "dynamicFlows.ExternalConfirmation.open": "\u5728\u65B0\u6807\u7B7E\u9875\u4E2D\u6253\u5F00",
1209
1237
  "dynamicFlows.ExternalConfirmation.title": "\u8BF7\u786E\u8BA4",
1238
+ "dynamicFlows.FileUploadSchema.maxFileSizeError": "\u62B1\u6B49\uFF0C\u8BE5\u6587\u4EF6\u592A\u5927\u3002\u8BF7\u4E0A\u4F20\u4E00\u4E2A\u66F4\u5C0F\u7684\u6587\u4EF6\u3002",
1239
+ "dynamicFlows.FileUploadSchema.wrongFileTypeError": "Sorry, that file format is not supported. Please upload a different file.",
1210
1240
  "dynamicFlows.Help.ariaLabel": "\u70B9\u51FB\u6B64\u5904\u83B7\u53D6\u66F4\u591A\u4FE1\u606F\u3002",
1211
1241
  "dynamicFlows.MultiSelect.summary": "{first} \u548C\u5176\u4ED6 {count} \u4E2A",
1212
1242
  "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\u62B1\u6B49\uFF0C\u8BE5\u6587\u4EF6\u592A\u5927\u3002\u8BF7\u4E0A\u4F20\u4E00\u4E2A\u66F4\u5C0F\u7684\u6587\u4EF6\u3002",
@@ -1258,6 +1288,8 @@ var zh_HK_default = {
1258
1288
  "dynamicFlows.ExternalConfirmation.description": "\u8ACB\u78BA\u8A8D\u4F60\u662F\u5426\u8981\u5728\u700F\u89BD\u5668\u7684\u65B0\u5206\u9801\u6253\u958B**{origin}**\u3002",
1259
1289
  "dynamicFlows.ExternalConfirmation.open": "\u5728\u65B0\u5206\u9801\u4E2D\u958B\u555F",
1260
1290
  "dynamicFlows.ExternalConfirmation.title": "\u8ACB\u78BA\u8A8D",
1291
+ "dynamicFlows.FileUploadSchema.maxFileSizeError": "\u62B1\u6B49\uFF0C\u8A72\u6A94\u6848\u592A\u5927\u3002\u8ACB\u4E0A\u8F09\u4E00\u500B\u8F03\u5C0F\u7684\u6A94\u6848\u3002",
1292
+ "dynamicFlows.FileUploadSchema.wrongFileTypeError": "Sorry, that file format is not supported. Please upload a different file.",
1261
1293
  "dynamicFlows.Help.ariaLabel": "\u6309\u6B64\u67E5\u770B\u8A73\u60C5\u3002",
1262
1294
  "dynamicFlows.MultiSelect.summary": "{first}\u548C\u5176\u4ED6{count}\u9805",
1263
1295
  "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\u62B1\u6B49\uFF0C\u8A72\u6A94\u6848\u592A\u5927\u3002\u8ACB\u4E0A\u8F09\u4E00\u500B\u8F03\u5C0F\u7684\u6A94\u6848\u3002",
@@ -7599,6 +7631,20 @@ var getAboveMaxFilesCheck = ({ maxItems }, messageFunctions) => (value) => {
7599
7631
  }
7600
7632
  return null;
7601
7633
  };
7634
+ var getFileSizeCheck = (schema, messageFunctions) => (value) => {
7635
+ const maxSize = "persistAsync" in schema ? schema.persistAsync.schema.maxSize : schema.maxSize;
7636
+ if (maxSize && value && value.size > maxSize) {
7637
+ return messageFunctions.maxSize();
7638
+ }
7639
+ return null;
7640
+ };
7641
+ var getFileTypeCheck = (schema, messageFunctions) => (value) => {
7642
+ const accepts = "persistAsync" in schema ? schema.persistAsync.schema.accepts : schema.accepts;
7643
+ if (accepts && value && !accepts.includes(value.type)) {
7644
+ return messageFunctions.accepts();
7645
+ }
7646
+ return null;
7647
+ };
7602
7648
  var getBelowMinItemsCheck = ({ minItems }, messageFunctions) => (value) => {
7603
7649
  if (isNumber(minItems) && isArray(value) && value.length > 0 && value.length < minItems) {
7604
7650
  return messageFunctions.minItems(minItems);
@@ -8795,18 +8841,23 @@ var createUploadInputComponent = (uploadInputProps, updateComponent) => {
8795
8841
  var stringSchemaToUploadInputComponent = (schemaMapperProps, mapperProps) => {
8796
8842
  var _a;
8797
8843
  const { schema, localValue, model, required = false } = schemaMapperProps;
8798
- const { accepts, autocompleteHint, maxSize, validationMessages } = schema;
8844
+ const { accepts, autocompleteHint, hidden, maxSize, validationMessages } = schema;
8799
8845
  const { getErrorMessageFunctions, updateComponent, onRefresh, onValueChange } = mapperProps;
8800
8846
  const errorMessageFunctions = getErrorMessageFunctions(validationMessages);
8801
8847
  const { performPersistAsync } = getPersistAsyncInitialState(schemaMapperProps, mapperProps);
8802
8848
  const persistedState = performPersistAsync ? getInitialPersistedState(null, model) : getInitialPersistedState();
8803
8849
  const validLocalValue = isFile(localValue) ? localValue : null;
8804
8850
  const value = (_a = getFileFromModel(model)) != null ? _a : validLocalValue;
8851
+ const checks = hidden ? [] : [
8852
+ getRequiredCheck(required, errorMessageFunctions),
8853
+ getFileSizeCheck(schema, errorMessageFunctions),
8854
+ getFileTypeCheck(schema, errorMessageFunctions)
8855
+ ];
8805
8856
  return createUploadInputComponent(
8806
8857
  __spreadProps(__spreadValues({}, mapCommonSchemaProps(schemaMapperProps)), {
8807
8858
  accepts,
8808
8859
  autoComplete: getAutocompleteString(autocompleteHint),
8809
- checks: schema.hidden ? [] : [getRequiredCheck(required, errorMessageFunctions)],
8860
+ checks,
8810
8861
  format: "base64",
8811
8862
  maxSize,
8812
8863
  value,
@@ -8987,15 +9038,19 @@ var getControlForLegacyFormat = (format) => {
8987
9038
  // src/revamp/domain/mappers/schema/stringSchemaToComponent/stringSchemaToComponent.ts
8988
9039
  var stringSchemaToComponent = (schemaMapperProps, mapperProps) => {
8989
9040
  const { schema } = schemaMapperProps;
9041
+ if (isStringSchemaWithBase64(schema)) {
9042
+ return stringSchemaToUploadInputComponent(__spreadProps(__spreadValues({}, schemaMapperProps), { schema }), mapperProps);
9043
+ }
8990
9044
  switch (schema.format) {
8991
9045
  case "date":
8992
9046
  return stringSchemaToDateInputComponent(schemaMapperProps, mapperProps);
8993
- case "base64url":
8994
- return stringSchemaToUploadInputComponent(schemaMapperProps, mapperProps);
8995
9047
  default:
8996
9048
  return stringSchemaToTextInputComponent(schemaMapperProps, mapperProps);
8997
9049
  }
8998
9050
  };
9051
+ var isStringSchemaWithBase64 = (schema) => {
9052
+ return schema.format === "base64url" && !("persistAsync" in schema);
9053
+ };
8999
9054
 
9000
9055
  // src/revamp/domain/components/ContainerComponent.ts
9001
9056
  var createContainerComponent = (containerProps) => __spreadProps(__spreadValues({}, containerProps), {
@@ -9329,11 +9384,16 @@ var arraySchemaToMultiUploadComponent = (schemaMapperProps, mapperProps) => {
9329
9384
  const uploadSchema = getUploadSchema(schema.items);
9330
9385
  const { accepts, maxSize } = uploadSchema;
9331
9386
  const { minItems, maxItems, title, validationMessages } = schema;
9332
- const errorMessageFunctions = getErrorMessageFunctions(validationMessages);
9387
+ const arrayErrorMessageFunctions = getErrorMessageFunctions(validationMessages);
9388
+ const fileErrorMessageFunctions = getErrorMessageFunctions(uploadSchema.validationMessages);
9333
9389
  const checks = [
9334
- getRequiredCheck(required, errorMessageFunctions),
9335
- getAboveMaxFilesCheck(schema, errorMessageFunctions),
9336
- getBelowMinFilesCheck(schema, errorMessageFunctions)
9390
+ getRequiredCheck(required, arrayErrorMessageFunctions),
9391
+ getAboveMaxFilesCheck(schema, arrayErrorMessageFunctions),
9392
+ getBelowMinFilesCheck(schema, arrayErrorMessageFunctions)
9393
+ ];
9394
+ const fileChecks = [
9395
+ getFileSizeCheck(schema.items, fileErrorMessageFunctions),
9396
+ getFileTypeCheck(schema.items, fileErrorMessageFunctions)
9337
9397
  ];
9338
9398
  const persistAsyncConfig = getPersistAsyncConfig(schema.items);
9339
9399
  const format = getFormat(schema.items);
@@ -9352,7 +9412,7 @@ var arraySchemaToMultiUploadComponent = (schemaMapperProps, mapperProps) => {
9352
9412
  accepts,
9353
9413
  autoComplete: "off",
9354
9414
  checks: schema.hidden ? [] : checks,
9355
- fileChecks: [],
9415
+ fileChecks: schema.hidden ? [] : fileChecks,
9356
9416
  format,
9357
9417
  maxSize,
9358
9418
  minItems,
@@ -10140,23 +10200,30 @@ var getReviewAction = ({ onAction, onLink, callToAction, action }) => {
10140
10200
  return void 0;
10141
10201
  }
10142
10202
  const { accessibilityDescription, action: behaviorAction, link } = behavior;
10143
- const onClick = () => {
10144
- if (behaviorAction) {
10145
- return () => {
10203
+ if (behaviorAction) {
10204
+ return {
10205
+ accessibilityDescription,
10206
+ title,
10207
+ onClick: () => {
10146
10208
  void onAction(behaviorAction);
10147
- };
10148
- }
10149
- if (link) {
10150
- return () => {
10209
+ }
10210
+ };
10211
+ }
10212
+ if (link) {
10213
+ return {
10214
+ accessibilityDescription,
10215
+ href: link.url,
10216
+ title,
10217
+ onClick: () => {
10151
10218
  onLink(link.url);
10152
- };
10153
- }
10154
- };
10219
+ }
10220
+ };
10221
+ }
10155
10222
  return {
10156
10223
  accessibilityDescription,
10157
- href: link == null ? void 0 : link.url,
10158
10224
  title,
10159
- onClick
10225
+ onClick: () => {
10226
+ }
10160
10227
  };
10161
10228
  }
10162
10229
  if (ctaAction) {
@@ -10369,28 +10436,33 @@ var getItemCallToAction = (callToAction, onAction, onLink) => {
10369
10436
  if ("type" in behavior) {
10370
10437
  return void 0;
10371
10438
  }
10372
- if (behavior.link) {
10373
- const { url } = behavior.link;
10439
+ if (behavior.action) {
10440
+ const { action } = behavior;
10374
10441
  return {
10375
10442
  accessibilityDescription,
10376
- href: url,
10377
10443
  title,
10378
10444
  onClick: () => {
10379
- void onLink(url);
10445
+ void onAction(action);
10380
10446
  }
10381
10447
  };
10382
10448
  }
10383
- if (behavior.action) {
10384
- const { action } = behavior;
10449
+ if (behavior.link) {
10450
+ const { url } = behavior.link;
10385
10451
  return {
10386
10452
  accessibilityDescription,
10453
+ href: url,
10387
10454
  title,
10388
10455
  onClick: () => {
10389
- void onAction(action);
10456
+ void onLink(url);
10390
10457
  }
10391
10458
  };
10392
10459
  }
10393
- return void 0;
10460
+ return {
10461
+ accessibilityDescription,
10462
+ title,
10463
+ onClick: () => {
10464
+ }
10465
+ };
10394
10466
  };
10395
10467
 
10396
10468
  // src/revamp/domain/mappers/layout/listLayoutToComponent.ts
@@ -10781,9 +10853,39 @@ var validation_messages_default = defineMessages2({
10781
10853
  }
10782
10854
  });
10783
10855
 
10784
- // src/common/messages/multi-file-upload.messages.ts
10856
+ // src/common/messages/validation.array.messages.ts
10785
10857
  import { defineMessages as defineMessages3 } from "react-intl";
10786
- var multi_file_upload_messages_default = defineMessages3({
10858
+ var validation_array_messages_default = defineMessages3({
10859
+ minItemsError: {
10860
+ id: "dynamicFlows.ArraySchema.minItemsError",
10861
+ defaultMessage: "Please add at least {minItems}.",
10862
+ description: "Customer inputs less than the expected number of values"
10863
+ },
10864
+ maxItemsError: {
10865
+ id: "dynamicFlows.ArraySchema.maxItemsError",
10866
+ defaultMessage: "Please add {maxItems} or fewer.",
10867
+ description: "Customer inputs more than the allowed number of values"
10868
+ }
10869
+ });
10870
+
10871
+ // src/common/messages/file-upload.messages.ts
10872
+ import { defineMessages as defineMessages4 } from "react-intl";
10873
+ var file_upload_messages_default = defineMessages4({
10874
+ maxFileSizeError: {
10875
+ id: "dynamicFlows.FileUploadSchema.maxFileSizeError",
10876
+ defaultMessage: "Sorry, that file is too big. Please upload a smaller file.",
10877
+ description: "Customer has uploaded a file that's too big. To fix: upload a smaller file."
10878
+ },
10879
+ wrongFileTypeError: {
10880
+ id: "dynamicFlows.FileUploadSchema.wrongFileTypeError",
10881
+ defaultMessage: "Sorry, that file format is not supported. Please upload a different file.",
10882
+ description: "Customer has uploaded a file that is the wrong type. To fix: upload a file of the correct type."
10883
+ }
10884
+ });
10885
+
10886
+ // src/common/messages/multi-file-upload.messages.ts
10887
+ import { defineMessages as defineMessages5 } from "react-intl";
10888
+ var multi_file_upload_messages_default = defineMessages5({
10787
10889
  minItemsError: {
10788
10890
  id: "dynamicFlows.MultipleFileUploadSchema.minItemsError",
10789
10891
  defaultMessage: "Please upload at least {minItems} file(s).",
@@ -10801,21 +10903,6 @@ var multi_file_upload_messages_default = defineMessages3({
10801
10903
  }
10802
10904
  });
10803
10905
 
10804
- // src/common/messages/validation.array.messages.ts
10805
- import { defineMessages as defineMessages4 } from "react-intl";
10806
- var validation_array_messages_default = defineMessages4({
10807
- minItemsError: {
10808
- id: "dynamicFlows.ArraySchema.minItemsError",
10809
- defaultMessage: "Please add at least {minItems}.",
10810
- description: "Customer inputs less than the expected number of values"
10811
- },
10812
- maxItemsError: {
10813
- id: "dynamicFlows.ArraySchema.maxItemsError",
10814
- defaultMessage: "Please add {maxItems} or fewer.",
10815
- description: "Customer inputs more than the allowed number of values"
10816
- }
10817
- });
10818
-
10819
10906
  // src/revamp/renderers/getSchemaErrorMessageFunction.ts
10820
10907
  function getSchemaErrorMessageFunction(formatMessage, locale) {
10821
10908
  return (validationMessages) => createErrorMessageFunctions(validationMessages != null ? validationMessages : {}, formatMessage, locale);
@@ -10881,6 +10968,14 @@ var createErrorMessageFunctions = (validationMessages, formatMessage, locale) =>
10881
10968
  maxItems
10882
10969
  });
10883
10970
  },
10971
+ maxSize() {
10972
+ var _a;
10973
+ return (_a = validationMessages.maxSize) != null ? _a : formatMessage(file_upload_messages_default.maxFileSizeError);
10974
+ },
10975
+ accepts() {
10976
+ var _a;
10977
+ return (_a = validationMessages.accepts) != null ? _a : formatMessage(file_upload_messages_default.wrongFileTypeError);
10978
+ },
10884
10979
  pattern() {
10885
10980
  var _a;
10886
10981
  return (_a = validationMessages.pattern) != null ? _a : formatMessage(validation_messages_default.pattern);
@@ -11322,8 +11417,8 @@ import { Info, Markdown } from "@transferwise/components";
11322
11417
  import { useIntl as useIntl3 } from "react-intl";
11323
11418
 
11324
11419
  // ../renderers/src/messages/help.messages.ts
11325
- import { defineMessages as defineMessages5 } from "react-intl";
11326
- var help_messages_default = defineMessages5({
11420
+ import { defineMessages as defineMessages6 } from "react-intl";
11421
+ var help_messages_default = defineMessages6({
11327
11422
  helpAria: {
11328
11423
  id: "df.wise.Help.ariaLabel",
11329
11424
  defaultMessage: "Click here for more info.",
@@ -11669,7 +11764,7 @@ var DateInputRenderer_default = DateInputRenderer;
11669
11764
  // ../renderers/src/DecisionRenderer.tsx
11670
11765
  import { NavigationOptionsList, NavigationOption, Header } from "@transferwise/components";
11671
11766
 
11672
- // ../../node_modules/.pnpm/@wise+art@2.16.3_@transferwise+neptune-css@14.19.1_@types+react@18.3.11_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wise/art/dist/index.esm.js
11767
+ // ../../node_modules/.pnpm/@wise+art@2.16.3_@transferwise+neptune-css@14.19.1_@types+react@18.3.12_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@wise/art/dist/index.esm.js
11673
11768
  init_index_a91e5689_esm();
11674
11769
  init_clsx();
11675
11770
  import "react";
@@ -12056,8 +12151,8 @@ function OptionMedia({ icon, image }) {
12056
12151
  import { useIntl as useIntl4 } from "react-intl";
12057
12152
 
12058
12153
  // ../renderers/src/messages/multi-select.messages.ts
12059
- import { defineMessages as defineMessages6 } from "react-intl";
12060
- var multi_select_messages_default = defineMessages6({
12154
+ import { defineMessages as defineMessages7 } from "react-intl";
12155
+ var multi_select_messages_default = defineMessages7({
12061
12156
  summary: {
12062
12157
  id: "df.wise.MultiSelect.summary",
12063
12158
  defaultMessage: "{first} and {count} more",
@@ -12328,8 +12423,8 @@ var import_classnames4 = __toESM(require_classnames());
12328
12423
  import { Button as Button3, Input as Input3 } from "@transferwise/components";
12329
12424
 
12330
12425
  // ../renderers/src/messages/paragraph.messages.ts
12331
- import { defineMessages as defineMessages7 } from "react-intl";
12332
- var paragraph_messages_default = defineMessages7({
12426
+ import { defineMessages as defineMessages8 } from "react-intl";
12427
+ var paragraph_messages_default = defineMessages8({
12333
12428
  copy: {
12334
12429
  id: "df.wise.DynamicParagraph.copy",
12335
12430
  defaultMessage: "Copy",
@@ -12389,8 +12484,8 @@ import { Plus } from "@transferwise/icons";
12389
12484
  import { useIntl as useIntl6 } from "react-intl";
12390
12485
 
12391
12486
  // ../renderers/src/messages/repeatable.messages.ts
12392
- import { defineMessages as defineMessages8 } from "react-intl";
12393
- var repeatable_messages_default = defineMessages8({
12487
+ import { defineMessages as defineMessages9 } from "react-intl";
12488
+ var repeatable_messages_default = defineMessages9({
12394
12489
  addItemTitle: {
12395
12490
  id: "df.wise.ArraySchema.addItemTitle",
12396
12491
  defaultMessage: "Add Item",
@@ -12522,8 +12617,8 @@ import { Input as Input4, Markdown as Markdown3, NavigationOption as NavigationO
12522
12617
  import { useIntl as useIntl7 } from "react-intl";
12523
12618
 
12524
12619
  // ../renderers/src/messages/generic-error.messages.ts
12525
- import { defineMessages as defineMessages9 } from "react-intl";
12526
- var generic_error_messages_default2 = defineMessages9({
12620
+ import { defineMessages as defineMessages10 } from "react-intl";
12621
+ var generic_error_messages_default2 = defineMessages10({
12527
12622
  genericErrorRetryHint: {
12528
12623
  id: "df.wise.PersistAsyncSchema.genericError",
12529
12624
  defaultMessage: "Something went wrong, please try again.",
@@ -12570,8 +12665,8 @@ function ErrorResult({ state }) {
12570
12665
  import { useState as useState7 } from "react";
12571
12666
 
12572
12667
  // ../renderers/src/messages/search.messages.ts
12573
- import { defineMessages as defineMessages10 } from "react-intl";
12574
- var search_messages_default = defineMessages10({
12668
+ import { defineMessages as defineMessages11 } from "react-intl";
12669
+ var search_messages_default = defineMessages11({
12575
12670
  loading: {
12576
12671
  id: "df.wise.SearchLayout.loading",
12577
12672
  defaultMessage: "Loading...",
@@ -13024,19 +13119,32 @@ var StatusListRenderer = {
13024
13119
  description,
13025
13120
  icon: icon && "name" in icon ? /* @__PURE__ */ jsx50(DynamicIcon_default, { name: icon.name }) : null,
13026
13121
  status: mapStatus(status),
13027
- action: callToAction ? {
13028
- "aria-label": callToAction.accessibilityDescription,
13029
- href: callToAction.href,
13030
- text: callToAction.title,
13031
- target: callToAction.href ? "_blank" : void 0,
13032
- onClick: callToAction.href ? void 0 : callToAction.onClick
13033
- } : void 0
13122
+ action: getSummaryAction(callToAction)
13034
13123
  },
13035
13124
  `${itemTitle}/${description || ""}`
13036
13125
  ))
13037
13126
  ] })
13038
13127
  };
13039
13128
  var StatusListRenderer_default = StatusListRenderer;
13129
+ var getSummaryAction = (callToAction) => {
13130
+ if (!callToAction) {
13131
+ return void 0;
13132
+ }
13133
+ const { accessibilityDescription, href, title, onClick } = callToAction;
13134
+ if (!href) {
13135
+ return {
13136
+ "aria-label": accessibilityDescription,
13137
+ text: title,
13138
+ onClick
13139
+ };
13140
+ }
13141
+ return {
13142
+ "aria-label": accessibilityDescription,
13143
+ href,
13144
+ target: "_blank",
13145
+ text: title
13146
+ };
13147
+ };
13040
13148
  var mapStatus = (status) => {
13041
13149
  if (status === "not-done") {
13042
13150
  return "notDone";
@@ -13329,20 +13437,21 @@ var getReviewAction2 = (callToAction) => {
13329
13437
  return void 0;
13330
13438
  }
13331
13439
  const { accessibilityDescription, href, title, onClick } = callToAction;
13332
- if (href) {
13440
+ if (!href) {
13333
13441
  return {
13334
13442
  "aria-label": accessibilityDescription,
13335
- href,
13336
- text: title
13443
+ text: title,
13444
+ onClick: (event) => {
13445
+ event.preventDefault();
13446
+ onClick();
13447
+ }
13337
13448
  };
13338
13449
  }
13339
13450
  return {
13340
13451
  "aria-label": accessibilityDescription,
13341
- text: title,
13342
- onClick: (event) => {
13343
- event.preventDefault();
13344
- onClick();
13345
- }
13452
+ href,
13453
+ target: "_blank",
13454
+ text: title
13346
13455
  };
13347
13456
  };
13348
13457
 
@@ -13353,8 +13462,8 @@ import { useMemo as useMemo3 } from "react";
13353
13462
  import { useIntl as useIntl10 } from "react-intl";
13354
13463
 
13355
13464
  // ../renderers/src/messages/external-confirmation.messages.ts
13356
- import { defineMessages as defineMessages11 } from "react-intl";
13357
- var external_confirmation_messages_default = defineMessages11({
13465
+ import { defineMessages as defineMessages12 } from "react-intl";
13466
+ var external_confirmation_messages_default = defineMessages12({
13358
13467
  title: {
13359
13468
  id: "df.wise.ExternalConfirmation.title",
13360
13469
  defaultMessage: "Please confirm",
@@ -15348,8 +15457,8 @@ import { useCallback as useCallback6, useEffect as useEffect8, useMemo as useMem
15348
15457
  import { useIntl as useIntl11 } from "react-intl";
15349
15458
 
15350
15459
  // src/legacy/layout/external/DynamicExternal.messages.ts
15351
- import { defineMessages as defineMessages12 } from "react-intl";
15352
- var DynamicExternal_messages_default = defineMessages12({
15460
+ import { defineMessages as defineMessages13 } from "react-intl";
15461
+ var DynamicExternal_messages_default = defineMessages13({
15353
15462
  retryTitle: {
15354
15463
  id: "dynamicFlows.DynamicExternal.retryTitle",
15355
15464
  defaultMessage: "Reopen window",
@@ -15553,8 +15662,8 @@ function constructUploadError(response) {
15553
15662
  import { useIntl as useIntl13 } from "react-intl";
15554
15663
 
15555
15664
  // src/legacy/common/messages.ts
15556
- import { defineMessages as defineMessages13 } from "react-intl";
15557
- var messages_default = defineMessages13({
15665
+ import { defineMessages as defineMessages14 } from "react-intl";
15666
+ var messages_default = defineMessages14({
15558
15667
  required: {
15559
15668
  id: "dynamicFlows.DefaultErrorMessages.required",
15560
15669
  defaultMessage: "Please fill out this field.",
@@ -15772,8 +15881,8 @@ var getDisabled = (disabled) => {
15772
15881
  };
15773
15882
 
15774
15883
  // src/common/messages/multi-select.messages.ts
15775
- import { defineMessages as defineMessages14 } from "react-intl";
15776
- var multi_select_messages_default2 = defineMessages14({
15884
+ import { defineMessages as defineMessages15 } from "react-intl";
15885
+ var multi_select_messages_default2 = defineMessages15({
15777
15886
  summary: {
15778
15887
  id: "dynamicFlows.MultiSelect.summary",
15779
15888
  defaultMessage: "{first} and {count} more",
@@ -15914,8 +16023,8 @@ function ItemSummaryOption2({ item, onClick }) {
15914
16023
  }
15915
16024
 
15916
16025
  // src/common/messages/repeatable.messages.ts
15917
- import { defineMessages as defineMessages15 } from "react-intl";
15918
- var repeatable_messages_default2 = defineMessages15({
16026
+ import { defineMessages as defineMessages16 } from "react-intl";
16027
+ var repeatable_messages_default2 = defineMessages16({
15919
16028
  addItemTitle: {
15920
16029
  id: "dynamicFlows.ArraySchema.addItemTitle",
15921
16030
  defaultMessage: "Add Item",
@@ -16467,8 +16576,8 @@ import { Markdown as Markdown6, Info as Info2 } from "@transferwise/components";
16467
16576
  import { useIntl as useIntl17 } from "react-intl";
16468
16577
 
16469
16578
  // src/common/messages/help.messages.ts
16470
- import { defineMessages as defineMessages16 } from "react-intl";
16471
- var help_messages_default2 = defineMessages16({
16579
+ import { defineMessages as defineMessages17 } from "react-intl";
16580
+ var help_messages_default2 = defineMessages17({
16472
16581
  helpAria: {
16473
16582
  id: "dynamicFlows.Help.ariaLabel",
16474
16583
  defaultMessage: "Click here for more info.",
@@ -17759,8 +17868,8 @@ import { DefinitionList as DefinitionList2, Layout } from "@transferwise/compone
17759
17868
  import { useIntl as useIntl20 } from "react-intl";
17760
17869
 
17761
17870
  // src/legacy/jsonSchemaForm/readOnlySchema/ReadOnlySchema.messages.ts
17762
- import { defineMessages as defineMessages17 } from "react-intl";
17763
- var ReadOnlySchema_messages_default = defineMessages17({
17871
+ import { defineMessages as defineMessages18 } from "react-intl";
17872
+ var ReadOnlySchema_messages_default = defineMessages18({
17764
17873
  yes: {
17765
17874
  id: "dynamicFlows.ReadOnlySchema.yes",
17766
17875
  defaultMessage: "Yes",
@@ -18239,12 +18348,11 @@ var DynamicStatusList = ({ component, onAction }) => {
18239
18348
  var mapListItemToSummary = (props, onAction) => {
18240
18349
  const { title, description, icon, status } = props;
18241
18350
  const summaryProps = __spreadValues(__spreadValues({
18242
- key: `${title}/${description || ""}`,
18243
18351
  title,
18244
18352
  description,
18245
18353
  action: "callToAction" in props ? callToActionToSummaryAction(props == null ? void 0 : props.callToAction, onAction) : void 0
18246
18354
  }, (icon == null ? void 0 : icon.name) ? { icon: /* @__PURE__ */ jsx108(DynamicIcon_default2, { type: icon.name }) } : {}), status ? { status: statusMap[status] } : {});
18247
- return /* @__PURE__ */ jsx108(Summary2, __spreadValues({}, summaryProps));
18355
+ return /* @__PURE__ */ jsx108(Summary2, __spreadValues({}, summaryProps), `${title}/${description || ""}`);
18248
18356
  };
18249
18357
  var callToActionToSummaryAction = (callToAction, onAction) => {
18250
18358
  if (!callToAction) {
@@ -18270,7 +18378,12 @@ var callToActionToSummaryAction = (callToAction, onAction) => {
18270
18378
  }
18271
18379
  };
18272
18380
  }
18273
- return void 0;
18381
+ return {
18382
+ text: "title",
18383
+ "aria-label": accessibilityDescription,
18384
+ onClick: () => {
18385
+ }
18386
+ };
18274
18387
  };
18275
18388
  var statusListMap = {
18276
18389
  done: "done",
@@ -18308,8 +18421,8 @@ import { Button as Button9 } from "@transferwise/components";
18308
18421
  import { useIntl as useIntl21 } from "react-intl";
18309
18422
 
18310
18423
  // src/common/messages/paragraph.messages.ts
18311
- import { defineMessages as defineMessages18 } from "react-intl";
18312
- var paragraph_messages_default2 = defineMessages18({
18424
+ import { defineMessages as defineMessages19 } from "react-intl";
18425
+ var paragraph_messages_default2 = defineMessages19({
18313
18426
  copy: {
18314
18427
  id: "dynamicFlows.DynamicParagraph.copy",
18315
18428
  defaultMessage: "Copy",
@@ -18416,16 +18529,16 @@ function DynamicReview(props) {
18416
18529
  const { title, action, behavior } = callToAction2;
18417
18530
  if (behavior) {
18418
18531
  const { action: behaviorAction, link } = behavior;
18419
- if (link) {
18532
+ if (behaviorAction) {
18420
18533
  return {
18421
18534
  text: title != null ? title : "",
18422
- href: link == null ? void 0 : link.url
18535
+ onClick: behaviorAction ? getOnClick(behaviorAction) : void 0
18423
18536
  };
18424
18537
  }
18425
- if (behaviorAction) {
18538
+ if (link) {
18426
18539
  return {
18427
18540
  text: title != null ? title : "",
18428
- onClick: behaviorAction ? getOnClick(behaviorAction) : void 0
18541
+ href: link == null ? void 0 : link.url
18429
18542
  };
18430
18543
  }
18431
18544
  }
@@ -18590,8 +18703,8 @@ import { Markdown as Markdown8, Typeahead as Typeahead2 } from "@transferwise/co
18590
18703
  import { useIntl as useIntl23 } from "react-intl";
18591
18704
 
18592
18705
  // src/common/messages/search.messages.ts
18593
- import { defineMessages as defineMessages19 } from "react-intl";
18594
- var search_messages_default2 = defineMessages19({
18706
+ import { defineMessages as defineMessages20 } from "react-intl";
18707
+ var search_messages_default2 = defineMessages20({
18595
18708
  loading: {
18596
18709
  id: "dynamicFlows.SearchLayout.loading",
18597
18710
  defaultMessage: "Loading...",
@@ -19213,8 +19326,8 @@ import { useIntl as useIntl28 } from "react-intl";
19213
19326
  import Webcam from "react-webcam";
19214
19327
 
19215
19328
  // src/common/cameraCapture/CameraCapture.messages.ts
19216
- import { defineMessages as defineMessages20 } from "react-intl";
19217
- var CameraCapture_messages_default = defineMessages20({
19329
+ import { defineMessages as defineMessages21 } from "react-intl";
19330
+ var CameraCapture_messages_default = defineMessages21({
19218
19331
  reviewSubmit: {
19219
19332
  id: "dynamicFlows.CameraCapture.reviewSubmit",
19220
19333
  defaultMessage: "Yes, submit",
@@ -19323,8 +19436,8 @@ var CaptureButton = ({ onClick }) => /* @__PURE__ */ jsx119(
19323
19436
  import { useIntl as useIntl27 } from "react-intl";
19324
19437
 
19325
19438
  // src/common/cameraCapture/components/orientationLockOverlay/OrientationLockOverlay.messages.ts
19326
- import { defineMessages as defineMessages21 } from "react-intl";
19327
- var OrientationLockOverlay_messages_default = defineMessages21({
19439
+ import { defineMessages as defineMessages22 } from "react-intl";
19440
+ var OrientationLockOverlay_messages_default = defineMessages22({
19328
19441
  text: {
19329
19442
  id: "dynamicFlows.CameraCapture.rotatePhone.text",
19330
19443
  defaultMessage: "Rotate your phone to portrait view to take a photo",
@@ -19851,8 +19964,8 @@ function getFirstAction(step) {
19851
19964
  import { useIntl as useIntl29 } from "react-intl";
19852
19965
 
19853
19966
  // src/common/messages/external-confirmation.messages.ts
19854
- import { defineMessages as defineMessages22 } from "react-intl";
19855
- var external_confirmation_messages_default2 = defineMessages22({
19967
+ import { defineMessages as defineMessages23 } from "react-intl";
19968
+ var external_confirmation_messages_default2 = defineMessages23({
19856
19969
  title: {
19857
19970
  id: "dynamicFlows.ExternalConfirmation.title",
19858
19971
  defaultMessage: "Please confirm",