@wise/dynamic-flow-client-internal 4.21.0 → 4.22.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.js CHANGED
@@ -96,6 +96,12 @@ var cs_default = {
96
96
  "df.wise.ControlFeedback.type": "Nespr\xE1vn\xFD typ",
97
97
  "df.wise.CopyFeedback.copy": "Zkop\xEDrov\xE1no do schr\xE1nky",
98
98
  "df.wise.CopyFeedback.copyFailed": "Kop\xEDrov\xE1n\xED do schr\xE1nky se nezda\u0159ilo",
99
+ "df.wise.Decision.all": "V\u0161e",
100
+ "df.wise.Decision.filterPlaceholder": "Start typing to search",
101
+ "df.wise.Decision.noResults": "\u017D\xE1dn\xE9 v\xFDsledky",
102
+ "df.wise.Decision.popular": "Popul\xE1rn\xED",
103
+ "df.wise.Decision.recent": "Ned\xE1vn\xE9",
104
+ "df.wise.Decision.results": "V\xFDsledky hled\xE1n\xED",
99
105
  "df.wise.DynamicParagraph.copied": "Zkop\xEDrov\xE1no do schr\xE1nky",
100
106
  "df.wise.DynamicParagraph.copy": "Kop\xEDrovat",
101
107
  "df.wise.ErrorBoundary.errorAlert": "N\u011Bco se pokazilo.",
@@ -134,6 +140,12 @@ var de_default = {
134
140
  "df.wise.ControlFeedback.type": "Falscher Typ",
135
141
  "df.wise.CopyFeedback.copy": "In Zwischenablage kopiert",
136
142
  "df.wise.CopyFeedback.copyFailed": "Kopieren in Zwischenablage fehlgeschlagen",
143
+ "df.wise.Decision.all": "Alle",
144
+ "df.wise.Decision.filterPlaceholder": "Start typing to search",
145
+ "df.wise.Decision.noResults": "Keine Ergebnisse",
146
+ "df.wise.Decision.popular": "Beliebt",
147
+ "df.wise.Decision.recent": "Neu",
148
+ "df.wise.Decision.results": "Suchergebnisse",
137
149
  "df.wise.DynamicParagraph.copied": "In Zwischenablage kopiert",
138
150
  "df.wise.DynamicParagraph.copy": "Kopieren",
139
151
  "df.wise.ErrorBoundary.errorAlert": "Da ist etwas schiefgegangen.",
@@ -172,6 +184,12 @@ var en_default = {
172
184
  "df.wise.ControlFeedback.type": "Incorrect type",
173
185
  "df.wise.CopyFeedback.copy": "Copied to clipboard",
174
186
  "df.wise.CopyFeedback.copyFailed": "Failed to copy to clipboard",
187
+ "df.wise.Decision.all": "All",
188
+ "df.wise.Decision.filterPlaceholder": "Start typing to search",
189
+ "df.wise.Decision.noResults": "No results",
190
+ "df.wise.Decision.popular": "Popular",
191
+ "df.wise.Decision.recent": "Recent",
192
+ "df.wise.Decision.results": "Search results",
175
193
  "df.wise.DynamicParagraph.copied": "Copied to clipboard",
176
194
  "df.wise.DynamicParagraph.copy": "Copy",
177
195
  "df.wise.ErrorBoundary.errorAlert": "Something went wrong.",
@@ -210,6 +228,12 @@ var es_default = {
210
228
  "df.wise.ControlFeedback.type": "Tipo incorrecto",
211
229
  "df.wise.CopyFeedback.copy": "Copiado al portapapeles",
212
230
  "df.wise.CopyFeedback.copyFailed": "Error al copiar al portapapeles",
231
+ "df.wise.Decision.all": "Todas",
232
+ "df.wise.Decision.filterPlaceholder": "Start typing to search",
233
+ "df.wise.Decision.noResults": "No hay resultados",
234
+ "df.wise.Decision.popular": "Populares",
235
+ "df.wise.Decision.recent": "Recientes",
236
+ "df.wise.Decision.results": "Resultados de b\xFAsqueda",
213
237
  "df.wise.DynamicParagraph.copied": "Copiado al portapapeles",
214
238
  "df.wise.DynamicParagraph.copy": "Copiar",
215
239
  "df.wise.ErrorBoundary.errorAlert": "Ha habido un error.",
@@ -248,6 +272,12 @@ var fr_default = {
248
272
  "df.wise.ControlFeedback.type": "Type incorrect",
249
273
  "df.wise.CopyFeedback.copy": "Copi\xE9 dans le presse-papier",
250
274
  "df.wise.CopyFeedback.copyFailed": "Impossible de copier dans le presse-papier",
275
+ "df.wise.Decision.all": "Toutes",
276
+ "df.wise.Decision.filterPlaceholder": "Start typing to search",
277
+ "df.wise.Decision.noResults": "Aucun r\xE9sultat",
278
+ "df.wise.Decision.popular": "Populaires",
279
+ "df.wise.Decision.recent": "R\xE9cents",
280
+ "df.wise.Decision.results": "R\xE9sultats de recherche",
251
281
  "df.wise.DynamicParagraph.copied": "Copi\xE9 dans le presse-papier",
252
282
  "df.wise.DynamicParagraph.copy": "Copier",
253
283
  "df.wise.ErrorBoundary.errorAlert": "Une erreur s'est produite.",
@@ -286,6 +316,12 @@ var hu_default = {
286
316
  "df.wise.ControlFeedback.type": "Helytelen t\xEDpus",
287
317
  "df.wise.CopyFeedback.copy": "V\xE1g\xF3lapra m\xE1solva",
288
318
  "df.wise.CopyFeedback.copyFailed": "Nem siker\xFClt a v\xE1g\xF3lapra m\xE1solni",
319
+ "df.wise.Decision.all": "\xD6sszes",
320
+ "df.wise.Decision.filterPlaceholder": "Start typing to search",
321
+ "df.wise.Decision.noResults": "Nincs tal\xE1lat",
322
+ "df.wise.Decision.popular": "N\xE9pszer\u0171",
323
+ "df.wise.Decision.recent": "Legut\xF3bbi",
324
+ "df.wise.Decision.results": "Keres\xE9si eredm\xE9nyek",
289
325
  "df.wise.DynamicParagraph.copied": "V\xE1g\xF3lapra m\xE1solva",
290
326
  "df.wise.DynamicParagraph.copy": "M\xE1sol\xE1s",
291
327
  "df.wise.ErrorBoundary.errorAlert": "Valami hiba t\xF6rt\xE9nt.",
@@ -324,6 +360,12 @@ var id_default = {
324
360
  "df.wise.ControlFeedback.type": "Tipe salah",
325
361
  "df.wise.CopyFeedback.copy": "Disalin ke clipboard",
326
362
  "df.wise.CopyFeedback.copyFailed": "Gagal menyalin ke clipboard",
363
+ "df.wise.Decision.all": "Semua",
364
+ "df.wise.Decision.filterPlaceholder": "Start typing to search",
365
+ "df.wise.Decision.noResults": "Tidak ada hasil",
366
+ "df.wise.Decision.popular": "Populer",
367
+ "df.wise.Decision.recent": "Terbaru",
368
+ "df.wise.Decision.results": "Hasil pencarian",
327
369
  "df.wise.DynamicParagraph.copied": "Disalin ke clipboard",
328
370
  "df.wise.DynamicParagraph.copy": "Salin",
329
371
  "df.wise.ErrorBoundary.errorAlert": "Terjadi kesalahan.",
@@ -362,6 +404,12 @@ var it_default = {
362
404
  "df.wise.ControlFeedback.type": "Tipo errato",
363
405
  "df.wise.CopyFeedback.copy": "Copiato negli appunti",
364
406
  "df.wise.CopyFeedback.copyFailed": "Impossibile copiare negli appunti",
407
+ "df.wise.Decision.all": "Tutte",
408
+ "df.wise.Decision.filterPlaceholder": "Start typing to search",
409
+ "df.wise.Decision.noResults": "Nessun risultato",
410
+ "df.wise.Decision.popular": "Popolari",
411
+ "df.wise.Decision.recent": "Recenti",
412
+ "df.wise.Decision.results": "Risultati della ricerca",
365
413
  "df.wise.DynamicParagraph.copied": "Copiato negli appunti",
366
414
  "df.wise.DynamicParagraph.copy": "Copia",
367
415
  "df.wise.ErrorBoundary.errorAlert": "Qualcosa non ha funzionato.",
@@ -400,6 +448,12 @@ var ja_default = {
400
448
  "df.wise.ControlFeedback.type": "\u4E0D\u6B63\u306A\u30BF\u30A4\u30D7",
401
449
  "df.wise.CopyFeedback.copy": "\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u3078\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F",
402
450
  "df.wise.CopyFeedback.copyFailed": "\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F",
451
+ "df.wise.Decision.all": "\u3059\u3079\u3066",
452
+ "df.wise.Decision.filterPlaceholder": "Start typing to search",
453
+ "df.wise.Decision.noResults": "\u691C\u7D22\u7D50\u679C\u304C\u3042\u308A\u307E\u305B\u3093",
454
+ "df.wise.Decision.popular": "\u4EBA\u6C17",
455
+ "df.wise.Decision.recent": "\u6700\u8FD1",
456
+ "df.wise.Decision.results": "\u691C\u7D22\u7D50\u679C",
403
457
  "df.wise.DynamicParagraph.copied": "\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u3078\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F",
404
458
  "df.wise.DynamicParagraph.copy": "\u30B3\u30D4\u30FC\u3059\u308B",
405
459
  "df.wise.ErrorBoundary.errorAlert": "\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002",
@@ -438,6 +492,12 @@ var nl_default = {
438
492
  "df.wise.ControlFeedback.type": "Onjuist type",
439
493
  "df.wise.CopyFeedback.copy": "Naar klembord gekopieerd",
440
494
  "df.wise.CopyFeedback.copyFailed": "Naar klembord kopi\xEBren mislukt",
495
+ "df.wise.Decision.all": "Alles",
496
+ "df.wise.Decision.filterPlaceholder": "Start typing to search",
497
+ "df.wise.Decision.noResults": "Niks gevonden",
498
+ "df.wise.Decision.popular": "Populair",
499
+ "df.wise.Decision.recent": "Recent",
500
+ "df.wise.Decision.results": "Zoekresultaten",
441
501
  "df.wise.DynamicParagraph.copied": "Naar klembord gekopieerd",
442
502
  "df.wise.DynamicParagraph.copy": "Kopi\xEBren",
443
503
  "df.wise.ErrorBoundary.errorAlert": "Er is iets misgegaan.",
@@ -476,6 +536,12 @@ var pl_default = {
476
536
  "df.wise.ControlFeedback.type": "Nieprawid\u0142owy typ",
477
537
  "df.wise.CopyFeedback.copy": "Skopiowano do schowka",
478
538
  "df.wise.CopyFeedback.copyFailed": "Nie uda\u0142o si\u0119 skopiowa\u0107 do schowka",
539
+ "df.wise.Decision.all": "Wszystkie",
540
+ "df.wise.Decision.filterPlaceholder": "Start typing to search",
541
+ "df.wise.Decision.noResults": "Brak wynik\xF3w",
542
+ "df.wise.Decision.popular": "Popularne",
543
+ "df.wise.Decision.recent": "Ostatni",
544
+ "df.wise.Decision.results": "Wyniki wyszukiwania",
479
545
  "df.wise.DynamicParagraph.copied": "Skopiowano do schowka",
480
546
  "df.wise.DynamicParagraph.copy": "Kopiuj",
481
547
  "df.wise.ErrorBoundary.errorAlert": "Co\u015B posz\u0142o nie tak.",
@@ -514,6 +580,12 @@ var pt_default = {
514
580
  "df.wise.ControlFeedback.type": "Tipo incorreto",
515
581
  "df.wise.CopyFeedback.copy": "Copiado",
516
582
  "df.wise.CopyFeedback.copyFailed": "Falha ao copiar para \xE1rea de transfer\xEAncia",
583
+ "df.wise.Decision.all": "Todos",
584
+ "df.wise.Decision.filterPlaceholder": "Start typing to search",
585
+ "df.wise.Decision.noResults": "Nenhum resultado",
586
+ "df.wise.Decision.popular": "Populares",
587
+ "df.wise.Decision.recent": "Recente",
588
+ "df.wise.Decision.results": "Resultados da busca",
517
589
  "df.wise.DynamicParagraph.copied": "Copiado",
518
590
  "df.wise.DynamicParagraph.copy": "Copiar",
519
591
  "df.wise.ErrorBoundary.errorAlert": "Algo deu errado.",
@@ -552,6 +624,12 @@ var ro_default = {
552
624
  "df.wise.ControlFeedback.type": "Tip incorect",
553
625
  "df.wise.CopyFeedback.copy": "Copiat \xEEn clipboard",
554
626
  "df.wise.CopyFeedback.copyFailed": "Copierea \xEEn clipboard a e\u0219uat",
627
+ "df.wise.Decision.all": "Toate",
628
+ "df.wise.Decision.filterPlaceholder": "Start typing to search",
629
+ "df.wise.Decision.noResults": "Niciun rezultat",
630
+ "df.wise.Decision.popular": "Populare",
631
+ "df.wise.Decision.recent": "Recente",
632
+ "df.wise.Decision.results": "Rezultatele c\u0103ut\u0103rii",
555
633
  "df.wise.DynamicParagraph.copied": "Copiat \xEEn clipboard",
556
634
  "df.wise.DynamicParagraph.copy": "Copiaz\u0103",
557
635
  "df.wise.ErrorBoundary.errorAlert": "Ceva nu a mers bine.",
@@ -590,6 +668,12 @@ var ru_default = {
590
668
  "df.wise.ControlFeedback.type": "\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0442\u0438\u043F",
591
669
  "df.wise.CopyFeedback.copy": "\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",
592
670
  "df.wise.CopyFeedback.copyFailed": "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",
671
+ "df.wise.Decision.all": "\u0412\u0441\u0435",
672
+ "df.wise.Decision.filterPlaceholder": "Start typing to search",
673
+ "df.wise.Decision.noResults": "\u041D\u0435\u0442 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432",
674
+ "df.wise.Decision.popular": "\u041F\u043E\u043F\u0443\u043B\u044F\u0440\u043D\u044B\u0435",
675
+ "df.wise.Decision.recent": "\u041D\u0435\u0434\u0430\u0432\u043D\u0438\u0435",
676
+ "df.wise.Decision.results": "\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043F\u043E\u0438\u0441\u043A\u0430",
593
677
  "df.wise.DynamicParagraph.copied": "\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",
594
678
  "df.wise.DynamicParagraph.copy": "\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C",
595
679
  "df.wise.ErrorBoundary.errorAlert": "\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A.",
@@ -615,7 +699,7 @@ var th_default = {
615
699
  "df.wise.ArraySchema.maxItemsError": "\u0E42\u0E1B\u0E23\u0E14\u0E40\u0E1E\u0E34\u0E48\u0E21 {maxItems} \u0E2B\u0E23\u0E37\u0E2D\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32",
616
700
  "df.wise.ArraySchema.minItemsError": "\u0E42\u0E1B\u0E23\u0E14\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22 {minItems}",
617
701
  "df.wise.ArraySchema.removeItem": "\u0E25\u0E1A",
618
- "df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
702
+ "df.wise.ButtonLayout.buttonLoadingMessage": "\u0E2D\u0E32\u0E08\u0E43\u0E0A\u0E49\u0E40\u0E27\u0E25\u0E32\u0E2A\u0E31\u0E01\u0E2A\u0E2D\u0E07\u0E2A\u0E32\u0E21\u0E27\u0E34\u0E19\u0E32\u0E17\u0E35",
619
703
  "df.wise.ControlFeedback.maxLength": "\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19 {maxLength} \u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23\u0E2B\u0E23\u0E37\u0E2D\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E19\u0E31\u0E49\u0E19",
620
704
  "df.wise.ControlFeedback.maximum": "\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02 {maximum} \u0E2B\u0E23\u0E37\u0E2D\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32",
621
705
  "df.wise.ControlFeedback.maximumDate": "\u0E42\u0E1B\u0E23\u0E14\u0E43\u0E2A\u0E48\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E40\u0E1B\u0E47\u0E19 {maximum} \u0E2B\u0E23\u0E37\u0E2D\u0E01\u0E48\u0E2D\u0E19\u0E2B\u0E19\u0E49\u0E32\u0E19\u0E31\u0E49\u0E19",
@@ -628,6 +712,12 @@ var th_default = {
628
712
  "df.wise.ControlFeedback.type": "\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07",
629
713
  "df.wise.CopyFeedback.copy": "\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E44\u0E1B\u0E22\u0E31\u0E07\u0E04\u0E25\u0E34\u0E1B\u0E1A\u0E2D\u0E23\u0E4C\u0E14",
630
714
  "df.wise.CopyFeedback.copyFailed": "\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E44\u0E1B\u0E22\u0E31\u0E07\u0E04\u0E25\u0E34\u0E1B\u0E1A\u0E2D\u0E23\u0E4C\u0E14\u0E44\u0E21\u0E48\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08",
715
+ "df.wise.Decision.all": "\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14",
716
+ "df.wise.Decision.filterPlaceholder": "Start typing to search",
717
+ "df.wise.Decision.noResults": "\u0E44\u0E21\u0E48\u0E21\u0E35\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C",
718
+ "df.wise.Decision.popular": "\u0E2A\u0E01\u0E38\u0E25\u0E22\u0E2D\u0E14\u0E19\u0E34\u0E22\u0E21",
719
+ "df.wise.Decision.recent": "\u0E25\u0E48\u0E32\u0E2A\u0E38\u0E14",
720
+ "df.wise.Decision.results": "\u0E1C\u0E25\u0E01\u0E32\u0E23\u0E04\u0E49\u0E19\u0E2B\u0E32",
631
721
  "df.wise.DynamicParagraph.copied": "\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E44\u0E1B\u0E22\u0E31\u0E07\u0E04\u0E25\u0E34\u0E1B\u0E1A\u0E2D\u0E23\u0E4C\u0E14",
632
722
  "df.wise.DynamicParagraph.copy": "\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01",
633
723
  "df.wise.ErrorBoundary.errorAlert": "\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E1A\u0E32\u0E07\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E02\u0E36\u0E49\u0E19",
@@ -666,6 +756,12 @@ var tr_default = {
666
756
  "df.wise.ControlFeedback.type": "Ge\xE7ersiz se\xE7im",
667
757
  "df.wise.CopyFeedback.copy": "Panoya kopyaland\u0131",
668
758
  "df.wise.CopyFeedback.copyFailed": "Panoya kopyalama ba\u015Far\u0131s\u0131z oldu",
759
+ "df.wise.Decision.all": "T\xFCm\xFC",
760
+ "df.wise.Decision.filterPlaceholder": "Start typing to search",
761
+ "df.wise.Decision.noResults": "Sonu\xE7 yok",
762
+ "df.wise.Decision.popular": "Pop\xFCler",
763
+ "df.wise.Decision.recent": "Yak\u0131n zamanl\u0131",
764
+ "df.wise.Decision.results": "Arama sonu\xE7lar\u0131",
669
765
  "df.wise.DynamicParagraph.copied": "Panoya kopyaland\u0131",
670
766
  "df.wise.DynamicParagraph.copy": "Kopyala",
671
767
  "df.wise.ErrorBoundary.errorAlert": "Bir sorun olu\u015Ftu.",
@@ -704,6 +800,12 @@ var zh_CN_default = {
704
800
  "df.wise.ControlFeedback.type": "\u7C7B\u578B\u9519\u8BEF",
705
801
  "df.wise.CopyFeedback.copy": "\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F",
706
802
  "df.wise.CopyFeedback.copyFailed": "\u590D\u5236\u5230\u526A\u8D34\u677F\u5931\u8D25",
803
+ "df.wise.Decision.all": "\u5168\u90E8",
804
+ "df.wise.Decision.filterPlaceholder": "Start typing to search",
805
+ "df.wise.Decision.noResults": "\u6682\u65E0\u7ED3\u679C",
806
+ "df.wise.Decision.popular": "\u70ED\u95E8",
807
+ "df.wise.Decision.recent": "\u6700\u8FD1",
808
+ "df.wise.Decision.results": "\u641C\u7D22\u7ED3\u679C",
707
809
  "df.wise.DynamicParagraph.copied": "\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F",
708
810
  "df.wise.DynamicParagraph.copy": "\u590D\u5236",
709
811
  "df.wise.ErrorBoundary.errorAlert": "\u51FA\u9519\u4E86\u3002",
@@ -742,6 +844,12 @@ var zh_HK_default = {
742
844
  "df.wise.ControlFeedback.type": "\u932F\u8AA4\u7684\u985E\u578B",
743
845
  "df.wise.CopyFeedback.copy": "\u8907\u88FD\u5230\u526A\u8CBC\u677F",
744
846
  "df.wise.CopyFeedback.copyFailed": "\u7121\u6CD5\u8907\u88FD\u5230\u526A\u8CBC\u677F",
847
+ "df.wise.Decision.all": "\u5168\u90E8",
848
+ "df.wise.Decision.filterPlaceholder": "Start typing to search",
849
+ "df.wise.Decision.noResults": "\u6C92\u6709\u7D50\u679C",
850
+ "df.wise.Decision.popular": "\u71B1\u9580",
851
+ "df.wise.Decision.recent": "\u6700\u8FD1\u7684",
852
+ "df.wise.Decision.results": "\u641C\u5C0B\u7D50\u679C",
745
853
  "df.wise.DynamicParagraph.copied": "\u8907\u88FD\u5230\u526A\u8CBC\u677F",
746
854
  "df.wise.DynamicParagraph.copy": "\u8907\u88FD",
747
855
  "df.wise.ErrorBoundary.errorAlert": "\u51FA\u4E86\u4E9B\u554F\u984C\u3002",
@@ -791,8 +899,8 @@ var translations = languages.reduce(
791
899
  var i18n_default = translations;
792
900
 
793
901
  // src/dynamicFlow/DynamicFlow.tsx
794
- var import_react15 = require("react");
795
- var import_react_intl19 = require("react-intl");
902
+ var import_react16 = require("react");
903
+ var import_react_intl22 = require("react-intl");
796
904
  var import_dynamic_flow_client2 = require("@wise/dynamic-flow-client");
797
905
 
798
906
  // ../renderers/src/ButtonRenderer/AddressValidationButtonRenderer.tsx
@@ -1240,7 +1348,87 @@ var DateInputRenderer = {
1240
1348
  };
1241
1349
  var DateInputRenderer_default = DateInputRenderer;
1242
1350
 
1243
- // ../renderers/src/DecisionRenderer.tsx
1351
+ // ../renderers/src/DecisionRenderer/DecisionRenderer.tsx
1352
+ var import_components14 = require("@transferwise/components");
1353
+ var import_react_intl7 = require("react-intl");
1354
+
1355
+ // ../renderers/src/messages/decision.messages.ts
1356
+ var import_react_intl5 = require("react-intl");
1357
+ var decision_messages_default = (0, import_react_intl5.defineMessages)({
1358
+ all: {
1359
+ id: "df.wise.Decision.all",
1360
+ defaultMessage: "All",
1361
+ description: "Label for the group of options that encompasses all options"
1362
+ },
1363
+ popular: {
1364
+ id: "df.wise.Decision.popular",
1365
+ defaultMessage: "Popular",
1366
+ description: "Label for the group of options that are tagged as popular"
1367
+ },
1368
+ recent: {
1369
+ id: "df.wise.Decision.recent",
1370
+ defaultMessage: "Recent",
1371
+ description: "Label for the group of options that are tagged as recent"
1372
+ },
1373
+ filterPlaceholder: {
1374
+ id: "df.wise.Decision.filterPlaceholder",
1375
+ defaultMessage: "Start typing to search",
1376
+ description: "Placeholder for the filter input"
1377
+ },
1378
+ results: {
1379
+ id: "df.wise.Decision.results",
1380
+ defaultMessage: "Search results",
1381
+ description: "Label for the results section"
1382
+ },
1383
+ noResults: {
1384
+ id: "df.wise.Decision.noResults",
1385
+ defaultMessage: "No results",
1386
+ description: "Message for if there are no results"
1387
+ }
1388
+ });
1389
+
1390
+ // ../renderers/src/DecisionRenderer/DecisionRenderer.tsx
1391
+ var import_react3 = require("react");
1392
+
1393
+ // ../renderers/src/DecisionRenderer/filter-and-sort-decision-options.ts
1394
+ function filterAndSortDecisionOptions(selectOptions, query) {
1395
+ const upperQuery = query.toUpperCase().trim();
1396
+ const filteredItems = selectOptions.filter((option) => {
1397
+ var _a, _b, _c, _d;
1398
+ const searchableWords = [
1399
+ option.title,
1400
+ option.description,
1401
+ option.additionalText,
1402
+ (_a = option.supportingValues) == null ? void 0 : _a.value,
1403
+ (_b = option.supportingValues) == null ? void 0 : _b.subvalue,
1404
+ ...(_c = option.keywords) != null ? _c : []
1405
+ ];
1406
+ return (_d = searchableWords.some((word) => word == null ? void 0 : word.toUpperCase().includes(upperQuery))) != null ? _d : false;
1407
+ });
1408
+ return [...filteredItems].sort((a, b) => {
1409
+ const aTitleUpper = a.title.toUpperCase();
1410
+ const bTitleUpper = b.title.toUpperCase();
1411
+ const aTitleStarts = aTitleUpper.startsWith(upperQuery);
1412
+ const bTitleStarts = bTitleUpper.startsWith(upperQuery);
1413
+ if (aTitleStarts && !bTitleStarts) {
1414
+ return -1;
1415
+ }
1416
+ if (!aTitleStarts && bTitleStarts) {
1417
+ return 1;
1418
+ }
1419
+ const aWordStarts = aTitleUpper.split(" ").some((word) => word.startsWith(upperQuery));
1420
+ const bWordStarts = bTitleUpper.split(" ").some((word) => word.startsWith(upperQuery));
1421
+ if (aWordStarts && !bWordStarts) {
1422
+ return -1;
1423
+ }
1424
+ if (!aWordStarts && bWordStarts) {
1425
+ return 1;
1426
+ }
1427
+ return a.title.localeCompare(b.title);
1428
+ });
1429
+ }
1430
+
1431
+ // ../renderers/src/DecisionRenderer/DecisionList.tsx
1244
1432
  var import_components12 = require("@transferwise/components");
1245
1433
 
1246
1434
  // ../renderers/src/utils/UrnFlag.tsx
@@ -1490,52 +1678,131 @@ function OptionMedia(props) {
1490
1678
  var import_jsx_runtime22 = require("react/jsx-runtime");
1491
1679
  var getInlineMedia = (media) => media ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Media, { media, preferAvatar: false, size: 24 }) : null;
1492
1680
 
1493
- // ../renderers/src/DecisionRenderer.tsx
1681
+ // ../renderers/src/DecisionRenderer/DecisionList.tsx
1494
1682
  var import_jsx_runtime23 = require("react/jsx-runtime");
1683
+ var DecisionList = ({
1684
+ options,
1685
+ control,
1686
+ className
1687
+ }) => {
1688
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_components12.NavigationOptionsList, { children: options.map((option) => {
1689
+ const { description, disabled, media, title: itemTitle, tag, onClick } = option;
1690
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1691
+ import_components12.NavigationOption,
1692
+ {
1693
+ title: itemTitle,
1694
+ content: description,
1695
+ disabled,
1696
+ media: media ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1697
+ OptionMedia,
1698
+ {
1699
+ media,
1700
+ preferAvatar: control === "with-avatar" || tag === "with-avatar"
1701
+ }
1702
+ ) : null,
1703
+ showMediaCircle: false,
1704
+ showMediaAtAllSizes: true,
1705
+ onClick
1706
+ },
1707
+ JSON.stringify(option)
1708
+ );
1709
+ }) }) });
1710
+ };
1711
+ var DecisionList_default = DecisionList;
1712
+
1713
+ // ../renderers/src/DecisionRenderer/GroupedList.tsx
1714
+ var import_components13 = require("@transferwise/components");
1715
+ var import_react_intl6 = require("react-intl");
1716
+ var import_jsx_runtime24 = require("react/jsx-runtime");
1717
+ var OPTION_GROUPS = {
1718
+ popular: "popular",
1719
+ recent: "recent"
1720
+ };
1721
+ var GroupedList = ({
1722
+ options,
1723
+ control
1724
+ }) => {
1725
+ const { formatMessage } = (0, import_react_intl6.useIntl)();
1726
+ const popularOptions = options.filter((option) => option.tag === OPTION_GROUPS.popular);
1727
+ const recentOptions = options.filter((option) => option.tag === OPTION_GROUPS.recent);
1728
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_jsx_runtime24.Fragment, { children: [
1729
+ popularOptions.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_components13.Section, { children: [
1730
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_components13.Header, { as: "h2", title: formatMessage(decision_messages_default.popular) }),
1731
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(DecisionList_default, { options: popularOptions, control })
1732
+ ] }) : null,
1733
+ recentOptions.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_components13.Section, { children: [
1734
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_components13.Header, { as: "h2", title: formatMessage(decision_messages_default.recent) }),
1735
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(DecisionList_default, { options: recentOptions, control })
1736
+ ] }) : null,
1737
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_components13.Section, { children: [
1738
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_components13.Header, { as: "h2", title: formatMessage(decision_messages_default.all) }),
1739
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(DecisionList_default, { options, control })
1740
+ ] })
1741
+ ] });
1742
+ };
1743
+ var isGroupedDecision = (options) => {
1744
+ const possibleGroups = Object.values(OPTION_GROUPS);
1745
+ return options.some(({ tag }) => tag && possibleGroups.includes(tag));
1746
+ };
1747
+
1748
+ // ../renderers/src/DecisionRenderer/DecisionRenderer.tsx
1749
+ var import_jsx_runtime25 = require("react/jsx-runtime");
1495
1750
  var DecisionRenderer = {
1496
1751
  canRenderType: "decision",
1497
- render: ({ control, margin, options, title }) => /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: getMargin(margin), children: [
1498
- title && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_components12.Header, { as: "h2", title }),
1499
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_components12.NavigationOptionsList, { children: options.map((option) => {
1500
- const { description, disabled, media, title: itemTitle, tag, onClick } = option;
1501
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1502
- import_components12.NavigationOption,
1752
+ render: (props) => {
1753
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: getMargin(props.margin), children: [
1754
+ props.title && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_components14.Header, { as: "h2", title: props.title }),
1755
+ props.control === "filtered" ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(FilteredDecisionList, __spreadValues({}, props)) : /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(UnfilteredDecisionList, __spreadValues({}, props))
1756
+ ] });
1757
+ }
1758
+ };
1759
+ var UnfilteredDecisionList = ({ control, options }) => isGroupedDecision(options) ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(GroupedList, { options, control }) : /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(DecisionList_default, { options, control });
1760
+ var FilteredDecisionList = ({ options, control }) => {
1761
+ const { formatMessage } = (0, import_react_intl7.useIntl)();
1762
+ const [query, setQuery] = (0, import_react3.useState)("");
1763
+ const filteredOptions = filterAndSortDecisionOptions(options, query);
1764
+ const isGrouped = isGroupedDecision(options);
1765
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_jsx_runtime25.Fragment, { children: [
1766
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1767
+ import_components14.SearchInput,
1768
+ {
1769
+ placeholder: formatMessage(decision_messages_default.filterPlaceholder),
1770
+ value: query,
1771
+ onChange: (e) => {
1772
+ var _a;
1773
+ return setQuery((_a = e.target.value) != null ? _a : "");
1774
+ }
1775
+ }
1776
+ ),
1777
+ isGrouped && query.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(GroupedList, { options, control }) : /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_jsx_runtime25.Fragment, { children: [
1778
+ query.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_components14.Header, { as: "h2", title: formatMessage(decision_messages_default.results), className: "m-t-4" }),
1779
+ filteredOptions.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1780
+ DecisionList_default,
1503
1781
  {
1504
- title: itemTitle,
1505
- content: description,
1506
- disabled,
1507
- media: media ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1508
- OptionMedia,
1509
- {
1510
- media,
1511
- preferAvatar: control === "with-avatar" || tag === "with-avatar"
1512
- }
1513
- ) : null,
1514
- showMediaCircle: false,
1515
- showMediaAtAllSizes: true,
1516
- onClick
1517
- },
1518
- JSON.stringify(option)
1519
- );
1520
- }) })
1521
- ] })
1782
+ options: filteredOptions,
1783
+ control,
1784
+ className: query.length === 0 ? "m-t-3" : ""
1785
+ }
1786
+ ) : /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("p", { children: formatMessage(decision_messages_default.noResults) })
1787
+ ] })
1788
+ ] });
1522
1789
  };
1523
1790
  var DecisionRenderer_default = DecisionRenderer;
1524
1791
 
1525
1792
  // ../renderers/src/DividerRenderer.tsx
1526
- var import_jsx_runtime24 = require("react/jsx-runtime");
1793
+ var import_jsx_runtime26 = require("react/jsx-runtime");
1527
1794
  var DividerRenderer = {
1528
1795
  canRenderType: "divider",
1529
- render: ({ margin }) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("hr", { className: `m-t-0 ${getMargin(margin)}` })
1796
+ render: ({ margin }) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("hr", { className: `m-t-0 ${getMargin(margin)}` })
1530
1797
  };
1531
1798
  var DividerRenderer_default = DividerRenderer;
1532
1799
 
1533
1800
  // ../renderers/src/ExternalConfirmationRenderer.tsx
1534
- var import_components13 = require("@transferwise/components");
1801
+ var import_components15 = require("@transferwise/components");
1535
1802
 
1536
1803
  // ../renderers/src/messages/external-confirmation.messages.ts
1537
- var import_react_intl5 = require("react-intl");
1538
- var external_confirmation_messages_default = (0, import_react_intl5.defineMessages)({
1804
+ var import_react_intl8 = require("react-intl");
1805
+ var external_confirmation_messages_default = (0, import_react_intl8.defineMessages)({
1539
1806
  title: {
1540
1807
  id: "df.wise.ExternalConfirmation.title",
1541
1808
  defaultMessage: "Please confirm",
@@ -1559,9 +1826,9 @@ var external_confirmation_messages_default = (0, import_react_intl5.defineMessag
1559
1826
  });
1560
1827
 
1561
1828
  // ../renderers/src/ExternalConfirmationRenderer.tsx
1562
- var import_react_intl6 = require("react-intl");
1563
- var import_react3 = require("react");
1564
- var import_jsx_runtime25 = require("react/jsx-runtime");
1829
+ var import_react_intl9 = require("react-intl");
1830
+ var import_react4 = require("react");
1831
+ var import_jsx_runtime27 = require("react/jsx-runtime");
1565
1832
  var ExternalConfirmationRenderer = {
1566
1833
  canRenderType: "external-confirmation",
1567
1834
  render: ExternalConfirmationRendererComponent
@@ -1573,8 +1840,8 @@ function ExternalConfirmationRendererComponent({
1573
1840
  onFailure,
1574
1841
  onCancel
1575
1842
  }) {
1576
- const { formatMessage } = (0, import_react_intl6.useIntl)();
1577
- (0, import_react3.useEffect)(() => {
1843
+ const { formatMessage } = (0, import_react_intl9.useIntl)();
1844
+ (0, import_react4.useEffect)(() => {
1578
1845
  if (url) {
1579
1846
  const w = window.open(url, "_blank");
1580
1847
  if (w) {
@@ -1584,16 +1851,16 @@ function ExternalConfirmationRendererComponent({
1584
1851
  }
1585
1852
  }
1586
1853
  }, []);
1587
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1588
- import_components13.Modal,
1854
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1855
+ import_components15.Modal,
1589
1856
  {
1590
1857
  open: status === "failure",
1591
1858
  title: formatMessage(external_confirmation_messages_default.title),
1592
- body: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_jsx_runtime25.Fragment, { children: [
1593
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_components13.Markdown, { config: { link: { target: "_blank" } }, className: "text-xs-center m-b-5", children: formatMessage(external_confirmation_messages_default.description, { origin: getOrigin(url) }) }),
1594
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "df-box-renderer-fixed-width", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "df-box-renderer-width-lg", children: [
1595
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1596
- import_components13.Button,
1859
+ body: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_jsx_runtime27.Fragment, { children: [
1860
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_components15.Markdown, { config: { link: { target: "_blank" } }, className: "text-xs-center m-b-5", children: formatMessage(external_confirmation_messages_default.description, { origin: getOrigin(url) }) }),
1861
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "df-box-renderer-fixed-width", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "df-box-renderer-width-lg", children: [
1862
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1863
+ import_components15.Button,
1597
1864
  {
1598
1865
  block: true,
1599
1866
  className: "m-b-2",
@@ -1606,7 +1873,7 @@ function ExternalConfirmationRendererComponent({
1606
1873
  children: formatMessage(external_confirmation_messages_default.open)
1607
1874
  }
1608
1875
  ),
1609
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_components13.Button, { block: true, className: "m-b-2", priority: "tertiary", size: "md", onClick: onCancel, children: formatMessage(external_confirmation_messages_default.cancel) })
1876
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_components15.Button, { block: true, className: "m-b-2", priority: "tertiary", size: "md", onClick: onCancel, children: formatMessage(external_confirmation_messages_default.cancel) })
1610
1877
  ] }) })
1611
1878
  ] }),
1612
1879
  onClose: onCancel
@@ -1623,46 +1890,46 @@ function getOrigin(url) {
1623
1890
  var ExternalConfirmationRenderer_default = ExternalConfirmationRenderer;
1624
1891
 
1625
1892
  // ../renderers/src/FormRenderer.tsx
1626
- var import_jsx_runtime26 = require("react/jsx-runtime");
1893
+ var import_jsx_runtime28 = require("react/jsx-runtime");
1627
1894
  var FormRenderer = {
1628
1895
  canRenderType: "form",
1629
- render: ({ children, margin }) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: getMargin(margin), children })
1896
+ render: ({ children, margin }) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: getMargin(margin), children })
1630
1897
  };
1631
1898
  var FormRenderer_default = FormRenderer;
1632
1899
 
1633
1900
  // ../renderers/src/FormSectionRenderer.tsx
1634
- var import_components14 = require("@transferwise/components");
1635
- var import_jsx_runtime27 = require("react/jsx-runtime");
1901
+ var import_components16 = require("@transferwise/components");
1902
+ var import_jsx_runtime29 = require("react/jsx-runtime");
1636
1903
  var FormSectionRenderer = {
1637
1904
  canRenderType: "form-section",
1638
- render: ({ title, description, children }) => /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("fieldset", { children: [
1639
- title && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1640
- import_components14.Header,
1905
+ render: ({ title, description, children }) => /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("fieldset", { children: [
1906
+ title && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1907
+ import_components16.Header,
1641
1908
  {
1642
1909
  as: "h2",
1643
1910
  title
1644
1911
  }
1645
1912
  ),
1646
- description && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { children: description }),
1913
+ description && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("p", { children: description }),
1647
1914
  children
1648
1915
  ] })
1649
1916
  };
1650
1917
  var FormSectionRenderer_default = FormSectionRenderer;
1651
1918
 
1652
1919
  // ../renderers/src/HeadingRenderer.tsx
1653
- var import_components15 = require("@transferwise/components");
1654
- var import_jsx_runtime28 = require("react/jsx-runtime");
1920
+ var import_components17 = require("@transferwise/components");
1921
+ var import_jsx_runtime30 = require("react/jsx-runtime");
1655
1922
  var HeadingRenderer = {
1656
1923
  canRenderType: "heading",
1657
- render: (props) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Heading, __spreadValues({}, props))
1924
+ render: (props) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Heading, __spreadValues({}, props))
1658
1925
  };
1659
1926
  function Heading(props) {
1660
1927
  const { text, size, align, margin, control } = props;
1661
1928
  const className = getTextAlignmentAndMargin({ align, margin });
1662
- return control === "display" ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(DisplayHeading, { size, text, className }) : /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(StandardHeading, { size, text, className });
1929
+ return control === "display" ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(DisplayHeading, { size, text, className }) : /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(StandardHeading, { size, text, className });
1663
1930
  }
1664
1931
  function DisplayHeading({ size, text, className }) {
1665
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_components15.Display, { type: getDisplayType(size), className, children: text });
1932
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_components17.Display, { type: getDisplayType(size), className, children: text });
1666
1933
  }
1667
1934
  var getDisplayType = (size) => {
1668
1935
  switch (size) {
@@ -1678,7 +1945,7 @@ var getDisplayType = (size) => {
1678
1945
  }
1679
1946
  };
1680
1947
  function StandardHeading({ size, text, className }) {
1681
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_components15.Title, { type: getTitleTypeBySize(size), className, children: text });
1948
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_components17.Title, { type: getTitleTypeBySize(size), className, children: text });
1682
1949
  }
1683
1950
  var getTitleTypeBySize = (size) => {
1684
1951
  var _a;
@@ -1694,8 +1961,8 @@ var getTitleTypeBySize = (size) => {
1694
1961
  var HeadingRenderer_default = HeadingRenderer;
1695
1962
 
1696
1963
  // ../renderers/src/ImageRenderer/UrlImage.tsx
1697
- var import_components16 = require("@transferwise/components");
1698
- var import_react4 = require("react");
1964
+ var import_components18 = require("@transferwise/components");
1965
+ var import_react5 = require("react");
1699
1966
 
1700
1967
  // ../renderers/src/utils/api-utils.ts
1701
1968
  function isRelativePath(url = "") {
@@ -1705,7 +1972,7 @@ function isRelativePath(url = "") {
1705
1972
  }
1706
1973
 
1707
1974
  // ../renderers/src/ImageRenderer/UrlImage.tsx
1708
- var import_jsx_runtime29 = require("react/jsx-runtime");
1975
+ var import_jsx_runtime31 = require("react/jsx-runtime");
1709
1976
  function UrlImage({
1710
1977
  accessibilityDescription,
1711
1978
  align,
@@ -1714,14 +1981,14 @@ function UrlImage({
1714
1981
  uri,
1715
1982
  httpClient
1716
1983
  }) {
1717
- const [imageSource, setImageSource] = (0, import_react4.useState)("");
1718
- (0, import_react4.useEffect)(() => {
1984
+ const [imageSource, setImageSource] = (0, import_react5.useState)("");
1985
+ (0, import_react5.useEffect)(() => {
1719
1986
  if (!uri.startsWith("urn:")) {
1720
1987
  void getImageSource(httpClient, uri).then(setImageSource);
1721
1988
  }
1722
1989
  }, [uri, httpClient]);
1723
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: `df-image ${align} ${size || "md"}`, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1724
- import_components16.Image,
1990
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: `df-image ${align} ${size || "md"}`, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1991
+ import_components18.Image,
1725
1992
  {
1726
1993
  className: `img-responsive ${getMargin(margin)}`,
1727
1994
  alt: accessibilityDescription != null ? accessibilityDescription : "",
@@ -1764,7 +2031,7 @@ var getImageSource = async (httpClient, imageUrl) => {
1764
2031
  };
1765
2032
 
1766
2033
  // ../renderers/src/ImageRenderer/UrnFlagImage.tsx
1767
- var import_jsx_runtime30 = require("react/jsx-runtime");
2034
+ var import_jsx_runtime32 = require("react/jsx-runtime");
1768
2035
  var maxFlagSize = 600;
1769
2036
  function UrnFlagImage({
1770
2037
  accessibilityDescription,
@@ -1773,7 +2040,7 @@ function UrnFlagImage({
1773
2040
  size,
1774
2041
  uri
1775
2042
  }) {
1776
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: `df-image ${align} ${size || "md"} ${getMargin(margin)}`, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(UrnFlag, { size: maxFlagSize, urn: uri, accessibilityDescription }) });
2043
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: `df-image ${align} ${size || "md"} ${getMargin(margin)}`, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(UrnFlag, { size: maxFlagSize, urn: uri, accessibilityDescription }) });
1777
2044
  }
1778
2045
 
1779
2046
  // ../renderers/src/ImageRenderer/UrnIllustration.tsx
@@ -1787,7 +2054,7 @@ var isAnimated = (uri) => {
1787
2054
  };
1788
2055
 
1789
2056
  // ../renderers/src/ImageRenderer/UrnIllustration.tsx
1790
- var import_jsx_runtime31 = require("react/jsx-runtime");
2057
+ var import_jsx_runtime33 = require("react/jsx-runtime");
1791
2058
  var urnPrefix = "urn:wise:illustrations:";
1792
2059
  var isUrnIllustration = (uri) => uri.startsWith(urnPrefix);
1793
2060
  function UrnIllustration({
@@ -1801,9 +2068,9 @@ function UrnIllustration({
1801
2068
  const illustrationName = getIllustrationName(uri);
1802
2069
  const illustration3DName = getIllustration3DName(uri);
1803
2070
  if (illustration3DName && isAnimated(uri)) {
1804
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: `df-image ${align} ${getMargin(margin)}`, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_art3.Illustration3D, { name: illustration3DName, size: illustrationSize }) });
2071
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: `df-image ${align} ${getMargin(margin)}`, children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_art3.Illustration3D, { name: illustration3DName, size: illustrationSize }) });
1805
2072
  }
1806
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: `df-image ${align} ${getMargin(margin)}`, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2073
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: `df-image ${align} ${getMargin(margin)}`, children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1807
2074
  import_art3.Illustration,
1808
2075
  {
1809
2076
  className: "df-illustration",
@@ -1823,32 +2090,32 @@ var getIllustration3DName = (uri) => {
1823
2090
  };
1824
2091
 
1825
2092
  // ../renderers/src/ImageRenderer/UrnImage.tsx
1826
- var import_jsx_runtime32 = require("react/jsx-runtime");
2093
+ var import_jsx_runtime34 = require("react/jsx-runtime");
1827
2094
  var isUrnImage = (uri) => uri.startsWith("urn:");
1828
2095
  function UrnImage(props) {
1829
2096
  const { uri } = props;
1830
2097
  if (isUrnIllustration(uri)) {
1831
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(UrnIllustration, __spreadValues({}, props));
2098
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(UrnIllustration, __spreadValues({}, props));
1832
2099
  }
1833
2100
  if (isUrnFlag(uri)) {
1834
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(UrnFlagImage, __spreadValues({}, props));
2101
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(UrnFlagImage, __spreadValues({}, props));
1835
2102
  }
1836
2103
  return null;
1837
2104
  }
1838
2105
 
1839
2106
  // ../renderers/src/ImageRenderer/ImageRenderer.tsx
1840
- var import_jsx_runtime33 = require("react/jsx-runtime");
2107
+ var import_jsx_runtime35 = require("react/jsx-runtime");
1841
2108
  var ImageRenderer = {
1842
2109
  canRenderType: "image",
1843
- render: (props) => isUrnImage(props.uri) ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(UrnImage, __spreadValues({}, props)) : /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(UrlImage, __spreadValues({}, props))
2110
+ render: (props) => isUrnImage(props.uri) ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(UrnImage, __spreadValues({}, props)) : /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(UrlImage, __spreadValues({}, props))
1844
2111
  };
1845
2112
 
1846
2113
  // ../renderers/src/ImageRenderer/index.tsx
1847
2114
  var ImageRenderer_default = ImageRenderer;
1848
2115
 
1849
2116
  // ../renderers/src/InstructionsRenderer.tsx
1850
- var import_components17 = require("@transferwise/components");
1851
- var import_jsx_runtime34 = require("react/jsx-runtime");
2117
+ var import_components19 = require("@transferwise/components");
2118
+ var import_jsx_runtime36 = require("react/jsx-runtime");
1852
2119
  var doContext = ["positive", "neutral"];
1853
2120
  var dontContext = ["warning", "negative"];
1854
2121
  var InstructionsRenderer = {
@@ -1856,16 +2123,16 @@ var InstructionsRenderer = {
1856
2123
  render: ({ items, margin, title }) => {
1857
2124
  const dos = items.filter((item) => doContext.includes(item.context)).map(({ text }) => text);
1858
2125
  const donts = items.filter((item) => dontContext.includes(item.context)).map(({ text }) => text);
1859
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: getMargin(margin), children: [
1860
- title ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_components17.Header, { title }) : null,
1861
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_components17.InstructionsList, { dos, donts })
2126
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: getMargin(margin), children: [
2127
+ title ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_components19.Header, { title }) : null,
2128
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_components19.InstructionsList, { dos, donts })
1862
2129
  ] });
1863
2130
  }
1864
2131
  };
1865
2132
  var InstructionsRenderer_default = InstructionsRenderer;
1866
2133
 
1867
2134
  // ../renderers/src/IntegerInputRenderer.tsx
1868
- var import_components18 = require("@transferwise/components");
2135
+ var import_components20 = require("@transferwise/components");
1869
2136
 
1870
2137
  // ../renderers/src/utils/input-utils.ts
1871
2138
  var onWheel = (event) => {
@@ -1890,7 +2157,7 @@ function pick(obj, ...keys) {
1890
2157
  }
1891
2158
 
1892
2159
  // ../renderers/src/IntegerInputRenderer.tsx
1893
- var import_jsx_runtime35 = require("react/jsx-runtime");
2160
+ var import_jsx_runtime37 = require("react/jsx-runtime");
1894
2161
  var IntegerInputRenderer = {
1895
2162
  canRenderType: "input-integer",
1896
2163
  render: (props) => {
@@ -1905,7 +2172,7 @@ var IntegerInputRenderer = {
1905
2172
  "maximum",
1906
2173
  "minimum"
1907
2174
  );
1908
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2175
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
1909
2176
  FieldInput_default,
1910
2177
  {
1911
2178
  id,
@@ -1913,8 +2180,8 @@ var IntegerInputRenderer = {
1913
2180
  description,
1914
2181
  validation: validationState,
1915
2182
  help,
1916
- children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_components18.InputGroup, { addonStart: getInputGroupAddonStart(media), children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1917
- import_components18.Input,
2183
+ children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_components20.InputGroup, { addonStart: getInputGroupAddonStart(media), children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2184
+ import_components20.Input,
1918
2185
  __spreadValues({
1919
2186
  id,
1920
2187
  name: id,
@@ -1936,14 +2203,14 @@ var IntegerInputRenderer = {
1936
2203
  var IntegerInputRenderer_default = IntegerInputRenderer;
1937
2204
 
1938
2205
  // ../renderers/src/ListRenderer.tsx
1939
- var import_components19 = require("@transferwise/components");
2206
+ var import_components21 = require("@transferwise/components");
1940
2207
  var import_classnames3 = __toESM(require("classnames"));
1941
- var import_jsx_runtime36 = require("react/jsx-runtime");
2208
+ var import_jsx_runtime38 = require("react/jsx-runtime");
1942
2209
  var ListRenderer = {
1943
2210
  canRenderType: "list",
1944
- render: ({ callToAction, control, margin, items, title }) => /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: getMargin(margin), children: [
1945
- (title || callToAction) && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_components19.Header, { as: "h2", title: title != null ? title : "", action: getListAction(callToAction) }),
1946
- items.map((props) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(DesignSystemListItem, __spreadProps(__spreadValues({}, props), { control }), props.title))
2211
+ render: ({ callToAction, control, margin, items, title }) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: getMargin(margin), children: [
2212
+ (title || callToAction) && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_components21.Header, { as: "h2", title: title != null ? title : "", action: getListAction(callToAction) }),
2213
+ items.map((props) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(DesignSystemListItem, __spreadProps(__spreadValues({}, props), { control }), props.title))
1947
2214
  ] })
1948
2215
  };
1949
2216
  var DesignSystemListItem = ({
@@ -1955,15 +2222,15 @@ var DesignSystemListItem = ({
1955
2222
  media,
1956
2223
  control,
1957
2224
  tag
1958
- }) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2225
+ }) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
1959
2226
  "label",
1960
2227
  {
1961
2228
  className: (0, import_classnames3.default)("np-option p-a-2", {
1962
2229
  "np-option__sm-media": true,
1963
2230
  "np-option__container-aligned": true
1964
2231
  }),
1965
- children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: "media", children: [
1966
- icon || image || media ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "media-left", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2232
+ children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "media", children: [
2233
+ icon || image || media ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "media-left", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
1967
2234
  ListItemMedia,
1968
2235
  {
1969
2236
  icon,
@@ -1971,14 +2238,14 @@ var DesignSystemListItem = ({
1971
2238
  preferAvatar: control === "with-avatar" || tag === "with-avatar"
1972
2239
  }
1973
2240
  ) }) : null,
1974
- /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: "media-body", children: [
1975
- /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: "d-flex justify-content-between", children: [
1976
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("h4", { className: "np-text-body-large-bold text-primary np-option__title", children: title }),
1977
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("h4", { className: "np-text-body-large-bold text-primary np-option__title", children: supportingValues == null ? void 0 : supportingValues.value })
2241
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "media-body", children: [
2242
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "d-flex justify-content-between", children: [
2243
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("h4", { className: "np-text-body-large-bold text-primary np-option__title", children: title }),
2244
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("h4", { className: "np-text-body-large-bold text-primary np-option__title", children: supportingValues == null ? void 0 : supportingValues.value })
1978
2245
  ] }),
1979
- /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: "d-flex justify-content-between", children: [
1980
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_components19.Body, { className: "d-block np-option__body", children: description }),
1981
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_components19.Body, { className: "d-block np-option__body", children: supportingValues == null ? void 0 : supportingValues.subvalue })
2246
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "d-flex justify-content-between", children: [
2247
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_components21.Body, { className: "d-block np-option__body", children: description }),
2248
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_components21.Body, { className: "d-block np-option__body", children: supportingValues == null ? void 0 : supportingValues.subvalue })
1982
2249
  ] })
1983
2250
  ] })
1984
2251
  ] })
@@ -1991,9 +2258,9 @@ var ListItemMedia = ({
1991
2258
  preferAvatar
1992
2259
  }) => {
1993
2260
  if (icon) {
1994
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "circle circle-sm text-primary circle-inverse", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(OptionMedia, { media, preferAvatar }) });
2261
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "circle circle-sm text-primary circle-inverse", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(OptionMedia, { media, preferAvatar }) });
1995
2262
  }
1996
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "np-option__no-media-circle", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(OptionMedia, { media, preferAvatar }) });
2263
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "np-option__no-media-circle", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(OptionMedia, { media, preferAvatar }) });
1997
2264
  };
1998
2265
  var getListAction = (callToAction) => {
1999
2266
  if (callToAction) {
@@ -2008,12 +2275,12 @@ var getListAction = (callToAction) => {
2008
2275
  var ListRenderer_default = ListRenderer;
2009
2276
 
2010
2277
  // ../renderers/src/LoadingIndicatorRenderer.tsx
2011
- var import_components20 = require("@transferwise/components");
2012
- var import_jsx_runtime37 = require("react/jsx-runtime");
2278
+ var import_components22 = require("@transferwise/components");
2279
+ var import_jsx_runtime39 = require("react/jsx-runtime");
2013
2280
  var LoadingIndicatorRenderer = {
2014
2281
  canRenderType: "loading-indicator",
2015
- render: ({ margin, size }) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2016
- import_components20.Loader,
2282
+ render: ({ margin, size }) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2283
+ import_components22.Loader,
2017
2284
  {
2018
2285
  size,
2019
2286
  classNames: { "tw-loader": `tw-loader m-x-auto ${getMargin(margin)}` },
@@ -2024,30 +2291,30 @@ var LoadingIndicatorRenderer = {
2024
2291
  var LoadingIndicatorRenderer_default = LoadingIndicatorRenderer;
2025
2292
 
2026
2293
  // ../renderers/src/MarkdownRenderer.tsx
2027
- var import_components21 = require("@transferwise/components");
2028
- var import_jsx_runtime38 = require("react/jsx-runtime");
2294
+ var import_components23 = require("@transferwise/components");
2295
+ var import_jsx_runtime40 = require("react/jsx-runtime");
2029
2296
  var MarkdownRenderer = {
2030
2297
  canRenderType: "markdown",
2031
- render: ({ content, align, margin }) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: getTextAlignmentAndMargin({ align, margin }), children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_components21.Markdown, { className: "np-text-body-large", config: { link: { target: "_blank" } }, children: content }) })
2298
+ render: ({ content, align, margin }) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: getTextAlignmentAndMargin({ align, margin }), children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_components23.Markdown, { className: "np-text-body-large", config: { link: { target: "_blank" } }, children: content }) })
2032
2299
  };
2033
2300
  var MarkdownRenderer_default = MarkdownRenderer;
2034
2301
 
2035
2302
  // ../renderers/src/ModalLayoutRenderer.tsx
2036
- var import_components22 = require("@transferwise/components");
2037
- var import_react5 = require("react");
2038
- var import_jsx_runtime39 = require("react/jsx-runtime");
2303
+ var import_components24 = require("@transferwise/components");
2304
+ var import_react6 = require("react");
2305
+ var import_jsx_runtime41 = require("react/jsx-runtime");
2039
2306
  var ModalLayoutRenderer = {
2040
2307
  canRenderType: "modal-layout",
2041
- render: (props) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(DFModal, __spreadValues({}, props))
2308
+ render: (props) => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(DFModal, __spreadValues({}, props))
2042
2309
  };
2043
2310
  var ModalLayoutRenderer_default = ModalLayoutRenderer;
2044
2311
  function DFModal({ content, margin, trigger }) {
2045
- const [visible, setVisible] = (0, import_react5.useState)(false);
2312
+ const [visible, setVisible] = (0, import_react6.useState)(false);
2046
2313
  const { children, title } = content;
2047
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: getMargin(margin), children: [
2048
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_components22.Button, { priority: "tertiary", block: true, onClick: () => setVisible(true), children: trigger.title }),
2049
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2050
- import_components22.Modal,
2314
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: getMargin(margin), children: [
2315
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_components24.Button, { priority: "tertiary", block: true, onClick: () => setVisible(true), children: trigger.title }),
2316
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2317
+ import_components24.Modal,
2051
2318
  {
2052
2319
  scroll: "content",
2053
2320
  open: visible,
@@ -2061,23 +2328,23 @@ function DFModal({ content, margin, trigger }) {
2061
2328
  }
2062
2329
 
2063
2330
  // ../renderers/src/ModalRenderer.tsx
2064
- var import_components23 = require("@transferwise/components");
2065
- var import_jsx_runtime40 = require("react/jsx-runtime");
2331
+ var import_components25 = require("@transferwise/components");
2332
+ var import_jsx_runtime42 = require("react/jsx-runtime");
2066
2333
  var ModalRenderer = {
2067
2334
  canRenderType: "modal",
2068
2335
  render: ({ title, children, open, onClose }) => {
2069
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_components23.Modal, { open, title, body: children, onClose });
2336
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_components25.Modal, { open, title, body: children, onClose });
2070
2337
  }
2071
2338
  };
2072
2339
 
2073
2340
  // ../renderers/src/MultiSelectInputRenderer.tsx
2074
- var import_components24 = require("@transferwise/components");
2075
- var import_react6 = require("react");
2076
- var import_react_intl8 = require("react-intl");
2341
+ var import_components26 = require("@transferwise/components");
2342
+ var import_react7 = require("react");
2343
+ var import_react_intl11 = require("react-intl");
2077
2344
 
2078
2345
  // ../renderers/src/messages/multi-select.messages.ts
2079
- var import_react_intl7 = require("react-intl");
2080
- var multi_select_messages_default = (0, import_react_intl7.defineMessages)({
2346
+ var import_react_intl10 = require("react-intl");
2347
+ var multi_select_messages_default = (0, import_react_intl10.defineMessages)({
2081
2348
  summary: {
2082
2349
  id: "df.wise.MultiSelect.summary",
2083
2350
  defaultMessage: "{first} and {count} more",
@@ -2086,14 +2353,14 @@ var multi_select_messages_default = (0, import_react_intl7.defineMessages)({
2086
2353
  });
2087
2354
 
2088
2355
  // ../renderers/src/MultiSelectInputRenderer.tsx
2089
- var import_jsx_runtime41 = require("react/jsx-runtime");
2356
+ var import_jsx_runtime43 = require("react/jsx-runtime");
2090
2357
  var MultiSelectInputRenderer = {
2091
2358
  canRenderType: "input-multi-select",
2092
- render: (props) => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(MultiSelectInputRendererComponent, __spreadValues({}, props))
2359
+ render: (props) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(MultiSelectInputRendererComponent, __spreadValues({}, props))
2093
2360
  };
2094
2361
  function MultiSelectInputRendererComponent(props) {
2095
- const { formatMessage } = (0, import_react_intl8.useIntl)();
2096
- const [stagedIndices, setStagedIndices] = (0, import_react6.useState)();
2362
+ const { formatMessage } = (0, import_react_intl11.useIntl)();
2363
+ const [stagedIndices, setStagedIndices] = (0, import_react7.useState)();
2097
2364
  const {
2098
2365
  id,
2099
2366
  autoComplete,
@@ -2131,12 +2398,12 @@ function MultiSelectInputRendererComponent(props) {
2131
2398
  const contentProps = {
2132
2399
  title: option.title,
2133
2400
  description: option.description,
2134
- icon: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(OptionMedia, { media: option.media, preferAvatar: false })
2401
+ icon: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(OptionMedia, { media: option.media, preferAvatar: false })
2135
2402
  };
2136
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_components24.SelectInputOptionContent, __spreadValues({}, contentProps));
2403
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_components26.SelectInputOptionContent, __spreadValues({}, contentProps));
2137
2404
  };
2138
2405
  const extraProps = { autoComplete };
2139
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2406
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2140
2407
  FieldInput_default,
2141
2408
  {
2142
2409
  id,
@@ -2144,8 +2411,8 @@ function MultiSelectInputRendererComponent(props) {
2144
2411
  help,
2145
2412
  description,
2146
2413
  validation: validationState,
2147
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2148
- import_components24.SelectInput,
2414
+ children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2415
+ import_components26.SelectInput,
2149
2416
  __spreadValues({
2150
2417
  id,
2151
2418
  items: options.map((option, index) => {
@@ -2184,12 +2451,12 @@ function MultiSelectInputRendererComponent(props) {
2184
2451
  var MultiSelectInputRenderer_default = MultiSelectInputRenderer;
2185
2452
 
2186
2453
  // ../renderers/src/MultiUploadInputRenderer.tsx
2187
- var import_components26 = require("@transferwise/components");
2454
+ var import_components28 = require("@transferwise/components");
2188
2455
 
2189
2456
  // ../renderers/src/components/UploadFieldInput.tsx
2190
- var import_components25 = require("@transferwise/components");
2457
+ var import_components27 = require("@transferwise/components");
2191
2458
  var import_classnames4 = __toESM(require("classnames"));
2192
- var import_jsx_runtime42 = require("react/jsx-runtime");
2459
+ var import_jsx_runtime44 = require("react/jsx-runtime");
2193
2460
  function UploadFieldInput({
2194
2461
  id,
2195
2462
  children,
@@ -2198,18 +2465,18 @@ function UploadFieldInput({
2198
2465
  help,
2199
2466
  validation
2200
2467
  }) {
2201
- const labelContent = label && help ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(LabelContentWithHelp, { text: label, help }) : label;
2468
+ const labelContent = label && help ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(LabelContentWithHelp, { text: label, help }) : label;
2202
2469
  const descriptionId = description ? `${id}-description` : void 0;
2203
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
2470
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
2204
2471
  "div",
2205
2472
  {
2206
2473
  className: (0, import_classnames4.default)("form-group d-block", {
2207
2474
  "has-error": (validation == null ? void 0 : validation.status) === "invalid"
2208
2475
  }),
2209
2476
  children: [
2210
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("label", { htmlFor: id, className: "control-label", children: labelContent }),
2477
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("label", { htmlFor: id, className: "control-label", children: labelContent }),
2211
2478
  children,
2212
- (validation == null ? void 0 : validation.status) === "invalid" && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_components25.InlineAlert, { type: "negative", id: descriptionId, children: validation.message })
2479
+ (validation == null ? void 0 : validation.status) === "invalid" && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_components27.InlineAlert, { type: "negative", id: descriptionId, children: validation.message })
2213
2480
  ]
2214
2481
  }
2215
2482
  );
@@ -2244,7 +2511,7 @@ var getSizeLimit = (maxSize) => {
2244
2511
  };
2245
2512
 
2246
2513
  // ../renderers/src/MultiUploadInputRenderer.tsx
2247
- var import_jsx_runtime43 = require("react/jsx-runtime");
2514
+ var import_jsx_runtime45 = require("react/jsx-runtime");
2248
2515
  var MultiUploadInputRenderer = {
2249
2516
  canRenderType: "input-upload-multi",
2250
2517
  render: (props) => {
@@ -2269,7 +2536,7 @@ var MultiUploadInputRenderer = {
2269
2536
  };
2270
2537
  const onDeleteFile = async (fileId) => onRemoveFile(value.findIndex((file) => file.id === fileId));
2271
2538
  const descriptionId = description ? `${id}-description` : void 0;
2272
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2539
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2273
2540
  UploadFieldInput_default,
2274
2541
  {
2275
2542
  id,
@@ -2277,8 +2544,8 @@ var MultiUploadInputRenderer = {
2277
2544
  description,
2278
2545
  validation: validationState,
2279
2546
  help,
2280
- children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2281
- import_components26.UploadInput,
2547
+ children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2548
+ import_components28.UploadInput,
2282
2549
  {
2283
2550
  id,
2284
2551
  "aria-describedby": descriptionId,
@@ -2300,8 +2567,8 @@ var MultiUploadInputRenderer = {
2300
2567
  var MultiUploadInputRenderer_default = MultiUploadInputRenderer;
2301
2568
 
2302
2569
  // ../renderers/src/NumberInputRenderer.tsx
2303
- var import_components27 = require("@transferwise/components");
2304
- var import_jsx_runtime44 = require("react/jsx-runtime");
2570
+ var import_components29 = require("@transferwise/components");
2571
+ var import_jsx_runtime46 = require("react/jsx-runtime");
2305
2572
  var NumberInputRenderer = {
2306
2573
  canRenderType: "input-number",
2307
2574
  render: (props) => {
@@ -2315,7 +2582,7 @@ var NumberInputRenderer = {
2315
2582
  "maximum",
2316
2583
  "minimum"
2317
2584
  );
2318
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2585
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2319
2586
  FieldInput_default,
2320
2587
  {
2321
2588
  id,
@@ -2323,8 +2590,8 @@ var NumberInputRenderer = {
2323
2590
  description,
2324
2591
  validation: validationState,
2325
2592
  help,
2326
- children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_components27.InputGroup, { addonStart: getInputGroupAddonStart(media), children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2327
- import_components27.Input,
2593
+ children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_components29.InputGroup, { addonStart: getInputGroupAddonStart(media), children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2594
+ import_components29.Input,
2328
2595
  __spreadValues({
2329
2596
  id,
2330
2597
  name: id,
@@ -2344,24 +2611,24 @@ var NumberInputRenderer = {
2344
2611
  var NumberInputRenderer_default = NumberInputRenderer;
2345
2612
 
2346
2613
  // ../renderers/src/ParagraphRenderer.tsx
2347
- var import_react_intl10 = require("react-intl");
2614
+ var import_react_intl13 = require("react-intl");
2348
2615
 
2349
2616
  // ../renderers/src/hooks/useSnackBarIfAvailable.ts
2350
- var import_components28 = require("@transferwise/components");
2351
- var import_react7 = require("react");
2617
+ var import_components30 = require("@transferwise/components");
2618
+ var import_react8 = require("react");
2352
2619
  function useSnackBarIfAvailable() {
2353
- const context = (0, import_react7.useContext)(import_components28.SnackbarContext);
2620
+ const context = (0, import_react8.useContext)(import_components30.SnackbarContext);
2354
2621
  return context ? context.createSnackbar : () => {
2355
2622
  };
2356
2623
  }
2357
2624
 
2358
2625
  // ../renderers/src/ParagraphRenderer.tsx
2359
- var import_components29 = require("@transferwise/components");
2626
+ var import_components31 = require("@transferwise/components");
2360
2627
  var import_classnames5 = __toESM(require("classnames"));
2361
2628
 
2362
2629
  // ../renderers/src/messages/paragraph.messages.ts
2363
- var import_react_intl9 = require("react-intl");
2364
- var paragraph_messages_default = (0, import_react_intl9.defineMessages)({
2630
+ var import_react_intl12 = require("react-intl");
2631
+ var paragraph_messages_default = (0, import_react_intl12.defineMessages)({
2365
2632
  copy: {
2366
2633
  id: "df.wise.DynamicParagraph.copy",
2367
2634
  defaultMessage: "Copy",
@@ -2375,33 +2642,33 @@ var paragraph_messages_default = (0, import_react_intl9.defineMessages)({
2375
2642
  });
2376
2643
 
2377
2644
  // ../renderers/src/ParagraphRenderer.tsx
2378
- var import_jsx_runtime45 = require("react/jsx-runtime");
2645
+ var import_jsx_runtime47 = require("react/jsx-runtime");
2379
2646
  var ParagraphRenderer = {
2380
2647
  canRenderType: "paragraph",
2381
- render: (props) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Paragraph, __spreadValues({}, props))
2648
+ render: (props) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Paragraph, __spreadValues({}, props))
2382
2649
  };
2383
2650
  function Paragraph({ align, control, margin, text }) {
2384
2651
  const className = getTextAlignmentAndMargin({ align, margin });
2385
- return control === "copyable" ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CopyableParagraph, { className, align, text }) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(StandardParagraph, { className, text });
2652
+ return control === "copyable" ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(CopyableParagraph, { className, align, text }) : /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(StandardParagraph, { className, text });
2386
2653
  }
2387
2654
  function StandardParagraph({ text, className }) {
2388
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("p", { className: `np-text-body-large ${className}`, children: text });
2655
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: `np-text-body-large ${className}`, children: text });
2389
2656
  }
2390
2657
  function CopyableParagraph({
2391
2658
  text,
2392
2659
  align,
2393
2660
  className
2394
2661
  }) {
2395
- const { formatMessage } = (0, import_react_intl10.useIntl)();
2662
+ const { formatMessage } = (0, import_react_intl13.useIntl)();
2396
2663
  const createSnackbar = useSnackBarIfAvailable();
2397
2664
  const copy = () => {
2398
2665
  navigator.clipboard.writeText(text).then(() => createSnackbar({ text: formatMessage(paragraph_messages_default.copied) })).catch(() => {
2399
2666
  });
2400
2667
  };
2401
2668
  const inputAlignmentClasses = getTextAlignmentAndMargin({ align, margin: "sm" });
2402
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className, children: [
2403
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2404
- import_components29.Input,
2669
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className, children: [
2670
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2671
+ import_components31.Input,
2405
2672
  {
2406
2673
  type: "text",
2407
2674
  value: text,
@@ -2409,21 +2676,21 @@ function CopyableParagraph({
2409
2676
  className: (0, import_classnames5.default)("text-ellipsis", inputAlignmentClasses)
2410
2677
  }
2411
2678
  ),
2412
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_components29.Button, { block: true, onClick: copy, children: formatMessage(paragraph_messages_default.copy) })
2679
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_components31.Button, { block: true, onClick: copy, children: formatMessage(paragraph_messages_default.copy) })
2413
2680
  ] });
2414
2681
  }
2415
2682
  var ParagraphRenderer_default = ParagraphRenderer;
2416
2683
 
2417
2684
  // ../renderers/src/RepeatableRenderer.tsx
2418
- var import_components30 = require("@transferwise/components");
2685
+ var import_components32 = require("@transferwise/components");
2419
2686
  var import_icons = require("@transferwise/icons");
2420
2687
  var import_classnames6 = __toESM(require("classnames"));
2421
- var import_react8 = require("react");
2422
- var import_react_intl12 = require("react-intl");
2688
+ var import_react9 = require("react");
2689
+ var import_react_intl15 = require("react-intl");
2423
2690
 
2424
2691
  // ../renderers/src/messages/repeatable.messages.ts
2425
- var import_react_intl11 = require("react-intl");
2426
- var repeatable_messages_default = (0, import_react_intl11.defineMessages)({
2692
+ var import_react_intl14 = require("react-intl");
2693
+ var repeatable_messages_default = (0, import_react_intl14.defineMessages)({
2427
2694
  addItemTitle: {
2428
2695
  id: "df.wise.ArraySchema.addItemTitle",
2429
2696
  defaultMessage: "Add Item",
@@ -2447,10 +2714,10 @@ var repeatable_messages_default = (0, import_react_intl11.defineMessages)({
2447
2714
  });
2448
2715
 
2449
2716
  // ../renderers/src/RepeatableRenderer.tsx
2450
- var import_jsx_runtime46 = require("react/jsx-runtime");
2717
+ var import_jsx_runtime48 = require("react/jsx-runtime");
2451
2718
  var RepeatableRenderer = {
2452
2719
  canRenderType: "repeatable",
2453
- render: (props) => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Repeatable, __spreadValues({}, props))
2720
+ render: (props) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Repeatable, __spreadValues({}, props))
2454
2721
  };
2455
2722
  function Repeatable(props) {
2456
2723
  const {
@@ -2466,8 +2733,8 @@ function Repeatable(props) {
2466
2733
  onSave,
2467
2734
  onRemove
2468
2735
  } = props;
2469
- const { formatMessage } = (0, import_react_intl12.useIntl)();
2470
- const [openModalType, setOpenModalType] = (0, import_react8.useState)(null);
2736
+ const { formatMessage } = (0, import_react_intl15.useIntl)();
2737
+ const [openModalType, setOpenModalType] = (0, import_react9.useState)(null);
2471
2738
  const onAddItem = () => {
2472
2739
  onAdd();
2473
2740
  setOpenModalType("add");
@@ -2489,40 +2756,40 @@ function Repeatable(props) {
2489
2756
  const onCancelEdit = () => {
2490
2757
  setOpenModalType(null);
2491
2758
  };
2492
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_jsx_runtime46.Fragment, { children: [
2493
- title && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_components30.Header, { title }),
2494
- description && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("p", { children: description }),
2495
- /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
2759
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
2760
+ title && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_components32.Header, { title }),
2761
+ description && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("p", { children: description }),
2762
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
2496
2763
  "div",
2497
2764
  {
2498
2765
  className: (0, import_classnames6.default)("form-group", {
2499
2766
  "has-error": (validationState == null ? void 0 : validationState.status) === "invalid"
2500
2767
  }),
2501
2768
  children: [
2502
- items == null ? void 0 : items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(ItemSummaryOption, { item, onClick: () => onEditItem(index) }, item.id)),
2503
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2504
- import_components30.NavigationOption,
2769
+ items == null ? void 0 : items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ItemSummaryOption, { item, onClick: () => onEditItem(index) }, item.id)),
2770
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
2771
+ import_components32.NavigationOption,
2505
2772
  {
2506
- media: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_icons.Plus, {}),
2773
+ media: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_icons.Plus, {}),
2507
2774
  title: addItemTitle || formatMessage(repeatable_messages_default.addItemTitle),
2508
2775
  showMediaAtAllSizes: true,
2509
2776
  onClick: () => onAddItem()
2510
2777
  }
2511
2778
  ),
2512
- (validationState == null ? void 0 : validationState.status) === "invalid" && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_components30.InlineAlert, { type: "negative", children: validationState.message })
2779
+ (validationState == null ? void 0 : validationState.status) === "invalid" && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_components32.InlineAlert, { type: "negative", children: validationState.message })
2513
2780
  ]
2514
2781
  }
2515
2782
  ),
2516
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2517
- import_components30.Modal,
2783
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
2784
+ import_components32.Modal,
2518
2785
  {
2519
2786
  open: openModalType !== null,
2520
2787
  title: (openModalType === "add" ? addItemTitle : editItemTitle) || formatMessage(repeatable_messages_default.addItemTitle),
2521
- body: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_jsx_runtime46.Fragment, { children: [
2522
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "m-b-2", children: editableItem }),
2523
- /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { children: [
2524
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_components30.Button, { priority: "primary", block: true, className: "m-b-2", onClick: () => onSaveItem(), children: formatMessage(repeatable_messages_default.addItem) }),
2525
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_components30.Button, { priority: "secondary", type: "negative", block: true, onClick: () => onRemoveItem(), children: formatMessage(repeatable_messages_default.removeItem) })
2788
+ body: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
2789
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "m-b-2", children: editableItem }),
2790
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { children: [
2791
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_components32.Button, { priority: "primary", block: true, className: "m-b-2", onClick: () => onSaveItem(), children: formatMessage(repeatable_messages_default.addItem) }),
2792
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_components32.Button, { priority: "secondary", type: "negative", block: true, onClick: () => onRemoveItem(), children: formatMessage(repeatable_messages_default.removeItem) })
2526
2793
  ] })
2527
2794
  ] }),
2528
2795
  onClose: () => onCancelEdit()
@@ -2534,10 +2801,10 @@ function ItemSummaryOption({
2534
2801
  item,
2535
2802
  onClick
2536
2803
  }) {
2537
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2538
- import_components30.NavigationOption,
2804
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
2805
+ import_components32.NavigationOption,
2539
2806
  {
2540
- media: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(OptionMedia, { media: item.media, preferAvatar: false }),
2807
+ media: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(OptionMedia, { media: item.media, preferAvatar: false }),
2541
2808
  title: item.title,
2542
2809
  content: item.description,
2543
2810
  showMediaAtAllSizes: true,
@@ -2548,7 +2815,7 @@ function ItemSummaryOption({
2548
2815
  var RepeatableRenderer_default = RepeatableRenderer;
2549
2816
 
2550
2817
  // ../renderers/src/ReviewRenderer.tsx
2551
- var import_components31 = require("@transferwise/components");
2818
+ var import_components33 = require("@transferwise/components");
2552
2819
 
2553
2820
  // ../renderers/src/utils/getHeaderAction.tsx
2554
2821
  var getHeaderAction = (callToAction) => {
@@ -2572,15 +2839,15 @@ var getHeaderAction = (callToAction) => {
2572
2839
  };
2573
2840
 
2574
2841
  // ../renderers/src/ReviewRenderer.tsx
2575
- var import_jsx_runtime47 = require("react/jsx-runtime");
2842
+ var import_jsx_runtime49 = require("react/jsx-runtime");
2576
2843
  var ReviewRenderer = {
2577
2844
  canRenderType: "review",
2578
2845
  render: ({ callToAction, control, fields, margin, title, trackEvent }) => {
2579
2846
  const orientation = mapControlToDefinitionListLayout(control);
2580
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: getMargin(margin), children: [
2581
- (title || callToAction) && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_components31.Header, { title: title != null ? title : "", action: getHeaderAction(callToAction) }),
2582
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: margin, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2583
- import_components31.DefinitionList,
2847
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: getMargin(margin), children: [
2848
+ (title || callToAction) && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_components33.Header, { title: title != null ? title : "", action: getHeaderAction(callToAction) }),
2849
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: margin, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2850
+ import_components33.DefinitionList,
2584
2851
  {
2585
2852
  layout: orientation,
2586
2853
  definitions: fields.map(
@@ -2618,27 +2885,27 @@ var mapControlToDefinitionListLayout = (control) => {
2618
2885
  };
2619
2886
  var getFieldValue = (value, help, orientation, onClick) => {
2620
2887
  if (help) {
2621
- return orientation === "HORIZONTAL_RIGHT_ALIGNED" ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
2622
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Help_default, { help, onClick }),
2888
+ return orientation === "HORIZONTAL_RIGHT_ALIGNED" ? /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_jsx_runtime49.Fragment, { children: [
2889
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Help_default, { help, onClick }),
2623
2890
  " ",
2624
2891
  value
2625
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
2892
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_jsx_runtime49.Fragment, { children: [
2626
2893
  value,
2627
2894
  " ",
2628
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Help_default, { help, onClick })
2895
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Help_default, { help, onClick })
2629
2896
  ] });
2630
2897
  }
2631
2898
  return value;
2632
2899
  };
2633
2900
 
2634
2901
  // ../renderers/src/SearchRenderer/BlockSearchRendererComponent.tsx
2635
- var import_components33 = require("@transferwise/components");
2636
- var import_react9 = require("react");
2637
- var import_react_intl16 = require("react-intl");
2902
+ var import_components35 = require("@transferwise/components");
2903
+ var import_react10 = require("react");
2904
+ var import_react_intl19 = require("react-intl");
2638
2905
 
2639
2906
  // ../renderers/src/messages/search.messages.ts
2640
- var import_react_intl13 = require("react-intl");
2641
- var search_messages_default = (0, import_react_intl13.defineMessages)({
2907
+ var import_react_intl16 = require("react-intl");
2908
+ var search_messages_default = (0, import_react_intl16.defineMessages)({
2642
2909
  loading: {
2643
2910
  id: "df.wise.SearchLayout.loading",
2644
2911
  defaultMessage: "Loading...",
@@ -2647,11 +2914,11 @@ var search_messages_default = (0, import_react_intl13.defineMessages)({
2647
2914
  });
2648
2915
 
2649
2916
  // ../renderers/src/SearchRenderer/ErrorResult.tsx
2650
- var import_react_intl15 = require("react-intl");
2917
+ var import_react_intl18 = require("react-intl");
2651
2918
 
2652
2919
  // ../renderers/src/messages/generic-error.messages.ts
2653
- var import_react_intl14 = require("react-intl");
2654
- var generic_error_messages_default = (0, import_react_intl14.defineMessages)({
2920
+ var import_react_intl17 = require("react-intl");
2921
+ var generic_error_messages_default = (0, import_react_intl17.defineMessages)({
2655
2922
  genericErrorRetryHint: {
2656
2923
  id: "df.wise.PersistAsyncSchema.genericError",
2657
2924
  defaultMessage: "Something went wrong, please try again.",
@@ -2670,20 +2937,20 @@ var generic_error_messages_default = (0, import_react_intl14.defineMessages)({
2670
2937
  });
2671
2938
 
2672
2939
  // ../renderers/src/SearchRenderer/ErrorResult.tsx
2673
- var import_components32 = require("@transferwise/components");
2674
- var import_jsx_runtime48 = require("react/jsx-runtime");
2940
+ var import_components34 = require("@transferwise/components");
2941
+ var import_jsx_runtime50 = require("react/jsx-runtime");
2675
2942
  function ErrorResult({ state }) {
2676
- const intl = (0, import_react_intl15.useIntl)();
2943
+ const intl = (0, import_react_intl18.useIntl)();
2677
2944
  const buttonVisualProps = {
2678
2945
  priority: "tertiary",
2679
2946
  size: "sm",
2680
2947
  style: { marginTop: "-2px", padding: "0", width: "auto", display: "inline" }
2681
2948
  };
2682
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("p", { className: "m-t-2", children: [
2949
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("p", { className: "m-t-2", children: [
2683
2950
  intl.formatMessage(generic_error_messages_default.genericError),
2684
2951
  "\xA0",
2685
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
2686
- import_components32.Button,
2952
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2953
+ import_components34.Button,
2687
2954
  __spreadProps(__spreadValues({}, buttonVisualProps), {
2688
2955
  onClick: () => {
2689
2956
  state.onRetry();
@@ -2695,7 +2962,7 @@ function ErrorResult({ state }) {
2695
2962
  }
2696
2963
 
2697
2964
  // ../renderers/src/SearchRenderer/BlockSearchRendererComponent.tsx
2698
- var import_jsx_runtime49 = require("react/jsx-runtime");
2965
+ var import_jsx_runtime51 = require("react/jsx-runtime");
2699
2966
  function BlockSearchRendererComponent({
2700
2967
  id,
2701
2968
  isLoading,
@@ -2706,11 +2973,11 @@ function BlockSearchRendererComponent({
2706
2973
  trackEvent,
2707
2974
  onChange
2708
2975
  }) {
2709
- const [hasSearched, setHasSearched] = (0, import_react9.useState)(false);
2710
- const { formatMessage } = (0, import_react_intl16.useIntl)();
2711
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: getMargin(margin), children: [
2712
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(FieldInput_default, { id, description: "", validation: void 0, help: "", label: title, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2713
- import_components33.Input,
2976
+ const [hasSearched, setHasSearched] = (0, import_react10.useState)(false);
2977
+ const { formatMessage } = (0, import_react_intl19.useIntl)();
2978
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: getMargin(margin), children: [
2979
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(FieldInput_default, { id, description: "", validation: void 0, help: "", label: title, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
2980
+ import_components35.Input,
2714
2981
  {
2715
2982
  id,
2716
2983
  name: id,
@@ -2726,7 +2993,7 @@ function BlockSearchRendererComponent({
2726
2993
  }
2727
2994
  }
2728
2995
  ) }),
2729
- isLoading ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_jsx_runtime49.Fragment, { children: formatMessage(search_messages_default.loading) }) : /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SearchResultContent, { state, trackEvent })
2996
+ isLoading ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_jsx_runtime51.Fragment, { children: formatMessage(search_messages_default.loading) }) : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(SearchResultContent, { state, trackEvent })
2730
2997
  ] });
2731
2998
  }
2732
2999
  function SearchResultContent({
@@ -2735,27 +3002,27 @@ function SearchResultContent({
2735
3002
  }) {
2736
3003
  switch (state.type) {
2737
3004
  case "error":
2738
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(ErrorResult, { state });
3005
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ErrorResult, { state });
2739
3006
  case "results":
2740
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SearchResults, { state, trackEvent });
3007
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(SearchResults, { state, trackEvent });
2741
3008
  case "noResults":
2742
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(EmptySearchResult, { state });
3009
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(EmptySearchResult, { state });
2743
3010
  case "pending":
2744
3011
  default:
2745
3012
  return null;
2746
3013
  }
2747
3014
  }
2748
3015
  function EmptySearchResult({ state }) {
2749
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_components33.Markdown, { className: "m-t-2", config: { link: { target: "_blank" } }, children: state.message });
3016
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_components35.Markdown, { className: "m-t-2", config: { link: { target: "_blank" } }, children: state.message });
2750
3017
  }
2751
3018
  function SearchResults({
2752
3019
  state,
2753
3020
  trackEvent
2754
3021
  }) {
2755
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_components33.NavigationOptionsList, { children: state.results.map((result) => {
3022
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_components35.NavigationOptionsList, { children: state.results.map((result) => {
2756
3023
  const { media } = result;
2757
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2758
- import_components33.NavigationOption,
3024
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
3025
+ import_components35.NavigationOption,
2759
3026
  {
2760
3027
  title: result.title,
2761
3028
  content: result.description,
@@ -2776,11 +3043,11 @@ function SearchResults({
2776
3043
  var BlockSearchRendererComponent_default = BlockSearchRendererComponent;
2777
3044
 
2778
3045
  // ../renderers/src/SearchRenderer/InlineSearchRendererComponent.tsx
2779
- var import_components34 = require("@transferwise/components");
3046
+ var import_components36 = require("@transferwise/components");
2780
3047
  var import_icons2 = require("@transferwise/icons");
2781
- var import_react10 = require("react");
2782
- var import_react_intl17 = require("react-intl");
2783
- var import_jsx_runtime50 = require("react/jsx-runtime");
3048
+ var import_react11 = require("react");
3049
+ var import_react_intl20 = require("react-intl");
3050
+ var import_jsx_runtime52 = require("react/jsx-runtime");
2784
3051
  function InlineSearchRenderer({
2785
3052
  id,
2786
3053
  isLoading,
@@ -2790,20 +3057,20 @@ function InlineSearchRenderer({
2790
3057
  title,
2791
3058
  trackEvent
2792
3059
  }) {
2793
- const [hasSearched, setHasSearched] = (0, import_react10.useState)(false);
2794
- const intl = (0, import_react_intl17.useIntl)();
2795
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: getMargin(margin), children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(FieldInput_default, { id, description: "", validation: void 0, help: "", label: title, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2796
- import_components34.Typeahead,
3060
+ const [hasSearched, setHasSearched] = (0, import_react11.useState)(false);
3061
+ const intl = (0, import_react_intl20.useIntl)();
3062
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: getMargin(margin), children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(FieldInput_default, { id, description: "", validation: void 0, help: "", label: title, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
3063
+ import_components36.Typeahead,
2797
3064
  {
2798
3065
  id: "typeahead-input-id",
2799
3066
  intl,
2800
3067
  name: "typeahead-input-name",
2801
3068
  size: "md",
2802
3069
  maxHeight: 100,
2803
- footer: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(TypeaheadFooter, { state, isLoading }),
3070
+ footer: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(TypeaheadFooter, { state, isLoading }),
2804
3071
  multiple: false,
2805
3072
  clearable: false,
2806
- addon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_icons2.Search, { size: 24 }),
3073
+ addon: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_icons2.Search, { size: 24 }),
2807
3074
  options: state.type === "results" ? state.results.map(mapResultToTypeaheadOption) : [],
2808
3075
  minQueryLength: 1,
2809
3076
  onChange: (values) => {
@@ -2838,36 +3105,36 @@ function mapResultToTypeaheadOption(result) {
2838
3105
  };
2839
3106
  }
2840
3107
  function TypeaheadFooter({ state, isLoading }) {
2841
- const { formatMessage } = (0, import_react_intl17.useIntl)();
3108
+ const { formatMessage } = (0, import_react_intl20.useIntl)();
2842
3109
  if (state.type === "noResults") {
2843
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_components34.Markdown, { className: "m-t-2 m-x-2", config: { link: { target: "_blank" } }, children: state.message });
3110
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_components36.Markdown, { className: "m-t-2 m-x-2", config: { link: { target: "_blank" } }, children: state.message });
2844
3111
  }
2845
3112
  if (state.type === "error") {
2846
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "m-t-2 m-x-2", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(ErrorResult, { state }) });
3113
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "m-t-2 m-x-2", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(ErrorResult, { state }) });
2847
3114
  }
2848
3115
  if (state.type === "pending" || isLoading) {
2849
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("p", { className: "m-t-2 m-x-2", children: formatMessage(search_messages_default.loading) });
3116
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("p", { className: "m-t-2 m-x-2", children: formatMessage(search_messages_default.loading) });
2850
3117
  }
2851
3118
  return null;
2852
3119
  }
2853
3120
  var InlineSearchRendererComponent_default = InlineSearchRenderer;
2854
3121
 
2855
3122
  // ../renderers/src/SearchRenderer/SearchRenderer.tsx
2856
- var import_jsx_runtime51 = require("react/jsx-runtime");
3123
+ var import_jsx_runtime53 = require("react/jsx-runtime");
2857
3124
  var SearchRenderer = {
2858
3125
  canRenderType: "search",
2859
- render: (props) => props.control === "inline" ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(InlineSearchRendererComponent_default, __spreadValues({}, props)) : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(BlockSearchRendererComponent_default, __spreadValues({}, props))
3126
+ render: (props) => props.control === "inline" ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(InlineSearchRendererComponent_default, __spreadValues({}, props)) : /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(BlockSearchRendererComponent_default, __spreadValues({}, props))
2860
3127
  };
2861
3128
  var SearchRenderer_default = SearchRenderer;
2862
3129
 
2863
3130
  // ../renderers/src/SectionRenderer.tsx
2864
- var import_components35 = require("@transferwise/components");
2865
- var import_jsx_runtime52 = require("react/jsx-runtime");
3131
+ var import_components37 = require("@transferwise/components");
3132
+ var import_jsx_runtime54 = require("react/jsx-runtime");
2866
3133
  var SectionRenderer = {
2867
3134
  canRenderType: "section",
2868
3135
  render: ({ children, callToAction, margin, title }) => {
2869
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("section", { className: getMargin(margin), children: [
2870
- (title || callToAction) && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_components35.Header, { title: title != null ? title : "", action: getHeaderAction(callToAction) }),
3136
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("section", { className: getMargin(margin), children: [
3137
+ (title || callToAction) && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_components37.Header, { title: title != null ? title : "", action: getHeaderAction(callToAction) }),
2871
3138
  children
2872
3139
  ] });
2873
3140
  }
@@ -2875,8 +3142,8 @@ var SectionRenderer = {
2875
3142
  var SectionRenderer_default = SectionRenderer;
2876
3143
 
2877
3144
  // ../renderers/src/SelectInputRenderer/RadioInputRendererComponent.tsx
2878
- var import_components36 = require("@transferwise/components");
2879
- var import_jsx_runtime53 = require("react/jsx-runtime");
3145
+ var import_components38 = require("@transferwise/components");
3146
+ var import_jsx_runtime55 = require("react/jsx-runtime");
2880
3147
  function RadioInputRendererComponent(props) {
2881
3148
  const {
2882
3149
  id,
@@ -2890,8 +3157,8 @@ function RadioInputRendererComponent(props) {
2890
3157
  validationState,
2891
3158
  onSelect
2892
3159
  } = props;
2893
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, { children: [
2894
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
3160
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_jsx_runtime55.Fragment, { children: [
3161
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
2895
3162
  FieldInput_default,
2896
3163
  {
2897
3164
  id,
@@ -2899,8 +3166,8 @@ function RadioInputRendererComponent(props) {
2899
3166
  help,
2900
3167
  description,
2901
3168
  validation: validationState,
2902
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2903
- import_components36.RadioGroup,
3169
+ children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
3170
+ import_components38.RadioGroup,
2904
3171
  {
2905
3172
  name: id,
2906
3173
  radios: options.map((option, index) => ({
@@ -2908,7 +3175,7 @@ function RadioInputRendererComponent(props) {
2908
3175
  value: index,
2909
3176
  secondary: option.description,
2910
3177
  disabled: option.disabled || disabled,
2911
- avatar: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(OptionMedia, { media: option.media, preferAvatar: false })
3178
+ avatar: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(OptionMedia, { media: option.media, preferAvatar: false })
2912
3179
  })),
2913
3180
  selectedValue: selectedIndex != null ? selectedIndex : void 0,
2914
3181
  onChange: onSelect
@@ -2922,9 +3189,9 @@ function RadioInputRendererComponent(props) {
2922
3189
  }
2923
3190
 
2924
3191
  // ../renderers/src/SelectInputRenderer/TabInputRendererComponent.tsx
2925
- var import_components37 = require("@transferwise/components");
2926
- var import_react11 = require("react");
2927
- var import_jsx_runtime54 = require("react/jsx-runtime");
3192
+ var import_components39 = require("@transferwise/components");
3193
+ var import_react12 = require("react");
3194
+ var import_jsx_runtime56 = require("react/jsx-runtime");
2928
3195
  function TabInputRendererComponent(props) {
2929
3196
  const {
2930
3197
  id,
@@ -2938,13 +3205,13 @@ function TabInputRendererComponent(props) {
2938
3205
  validationState,
2939
3206
  onSelect
2940
3207
  } = props;
2941
- (0, import_react11.useEffect)(() => {
3208
+ (0, import_react12.useEffect)(() => {
2942
3209
  if (!isValidIndex(selectedIndex, options.length)) {
2943
3210
  onSelect(0);
2944
3211
  }
2945
3212
  }, [selectedIndex, onSelect, options.length]);
2946
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_jsx_runtime54.Fragment, { children: [
2947
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
3213
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_jsx_runtime56.Fragment, { children: [
3214
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
2948
3215
  FieldInput_default,
2949
3216
  {
2950
3217
  id,
@@ -2952,8 +3219,8 @@ function TabInputRendererComponent(props) {
2952
3219
  help,
2953
3220
  description,
2954
3221
  validation: validationState,
2955
- children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2956
- import_components37.Tabs,
3222
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
3223
+ import_components39.Tabs,
2957
3224
  {
2958
3225
  name: id,
2959
3226
  selected: selectedIndex != null ? selectedIndex : 0,
@@ -2961,7 +3228,7 @@ function TabInputRendererComponent(props) {
2961
3228
  title: option.title,
2962
3229
  // if we pass null, we get some props-types console errors
2963
3230
  // eslint-disable-next-line react/jsx-no-useless-fragment
2964
- content: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_jsx_runtime54.Fragment, {}),
3231
+ content: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_jsx_runtime56.Fragment, {}),
2965
3232
  disabled: option.disabled || disabled
2966
3233
  })),
2967
3234
  onTabSelect: onSelect
@@ -2975,8 +3242,8 @@ function TabInputRendererComponent(props) {
2975
3242
  var isValidIndex = (index, options) => index !== null && index >= 0 && index < options;
2976
3243
 
2977
3244
  // ../renderers/src/SelectInputRenderer/SelectInputRendererComponent.tsx
2978
- var import_components38 = require("@transferwise/components");
2979
- var import_jsx_runtime55 = require("react/jsx-runtime");
3245
+ var import_components40 = require("@transferwise/components");
3246
+ var import_jsx_runtime57 = require("react/jsx-runtime");
2980
3247
  function SelectInputRendererComponent(props) {
2981
3248
  const {
2982
3249
  id,
@@ -3016,13 +3283,13 @@ function SelectInputRendererComponent(props) {
3016
3283
  } : {
3017
3284
  title: option.title,
3018
3285
  description: option.description,
3019
- icon: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(OptionMedia, { media: option.media, preferAvatar: false })
3286
+ icon: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(OptionMedia, { media: option.media, preferAvatar: false })
3020
3287
  };
3021
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_components38.SelectInputOptionContent, __spreadValues({}, contentProps));
3288
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_components40.SelectInputOptionContent, __spreadValues({}, contentProps));
3022
3289
  };
3023
3290
  const extraProps = { autoComplete };
3024
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_jsx_runtime55.Fragment, { children: [
3025
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
3291
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_jsx_runtime57.Fragment, { children: [
3292
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
3026
3293
  FieldInput_default,
3027
3294
  {
3028
3295
  id,
@@ -3030,8 +3297,8 @@ function SelectInputRendererComponent(props) {
3030
3297
  help,
3031
3298
  description,
3032
3299
  validation: validationState,
3033
- children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
3034
- import_components38.SelectInput,
3300
+ children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
3301
+ import_components40.SelectInput,
3035
3302
  __spreadValues({
3036
3303
  name: id,
3037
3304
  placeholder,
@@ -3051,9 +3318,9 @@ function SelectInputRendererComponent(props) {
3051
3318
  }
3052
3319
 
3053
3320
  // ../renderers/src/SelectInputRenderer/SegmentedInputRendererComponent.tsx
3054
- var import_react12 = require("react");
3055
- var import_components39 = require("@transferwise/components");
3056
- var import_jsx_runtime56 = require("react/jsx-runtime");
3321
+ var import_react13 = require("react");
3322
+ var import_components41 = require("@transferwise/components");
3323
+ var import_jsx_runtime58 = require("react/jsx-runtime");
3057
3324
  function SegmentedInputRendererComponent(props) {
3058
3325
  const {
3059
3326
  id,
@@ -3066,13 +3333,13 @@ function SegmentedInputRendererComponent(props) {
3066
3333
  validationState,
3067
3334
  onSelect
3068
3335
  } = props;
3069
- (0, import_react12.useEffect)(() => {
3336
+ (0, import_react13.useEffect)(() => {
3070
3337
  if (!isValidIndex2(selectedIndex, options.length)) {
3071
3338
  onSelect(0);
3072
3339
  }
3073
3340
  }, [selectedIndex, onSelect, options.length]);
3074
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_jsx_runtime56.Fragment, { children: [
3075
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
3341
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_jsx_runtime58.Fragment, { children: [
3342
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
3076
3343
  FieldInput_default,
3077
3344
  {
3078
3345
  id,
@@ -3080,8 +3347,8 @@ function SegmentedInputRendererComponent(props) {
3080
3347
  help,
3081
3348
  description,
3082
3349
  validation: validationState,
3083
- children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
3084
- import_components39.SegmentedControl,
3350
+ children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
3351
+ import_components41.SegmentedControl,
3085
3352
  {
3086
3353
  name: `${id}-segmented-control`,
3087
3354
  value: String(selectedIndex),
@@ -3097,44 +3364,44 @@ function SegmentedInputRendererComponent(props) {
3097
3364
  )
3098
3365
  }
3099
3366
  ),
3100
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { id: `${id}-children`, children })
3367
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { id: `${id}-children`, children })
3101
3368
  ] });
3102
3369
  }
3103
3370
  var isValidIndex2 = (index, options) => index !== null && index >= 0 && index < options;
3104
3371
 
3105
3372
  // ../renderers/src/SelectInputRenderer/SelectInputRenderer.tsx
3106
- var import_jsx_runtime57 = require("react/jsx-runtime");
3373
+ var import_jsx_runtime59 = require("react/jsx-runtime");
3107
3374
  var SelectInputRenderer = {
3108
3375
  canRenderType: "input-select",
3109
3376
  render: (props) => {
3110
3377
  switch (props.control) {
3111
3378
  case "radio":
3112
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(RadioInputRendererComponent, __spreadValues({}, props));
3379
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(RadioInputRendererComponent, __spreadValues({}, props));
3113
3380
  case "tab":
3114
- return props.options.length > 3 ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SelectInputRendererComponent, __spreadValues({}, props)) : /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(TabInputRendererComponent, __spreadValues({}, props));
3381
+ return props.options.length > 3 ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SelectInputRendererComponent, __spreadValues({}, props)) : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(TabInputRendererComponent, __spreadValues({}, props));
3115
3382
  case "segmented":
3116
- return props.options.length > 3 ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SelectInputRendererComponent, __spreadValues({}, props)) : /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SegmentedInputRendererComponent, __spreadValues({}, props));
3383
+ return props.options.length > 3 ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SelectInputRendererComponent, __spreadValues({}, props)) : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SegmentedInputRendererComponent, __spreadValues({}, props));
3117
3384
  case "select":
3118
3385
  default:
3119
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SelectInputRendererComponent, __spreadValues({}, props));
3386
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SelectInputRendererComponent, __spreadValues({}, props));
3120
3387
  }
3121
3388
  }
3122
3389
  };
3123
3390
  var SelectInputRenderer_default = SelectInputRenderer;
3124
3391
 
3125
3392
  // ../renderers/src/StatusListRenderer.tsx
3126
- var import_components40 = require("@transferwise/components");
3127
- var import_jsx_runtime58 = require("react/jsx-runtime");
3393
+ var import_components42 = require("@transferwise/components");
3394
+ var import_jsx_runtime60 = require("react/jsx-runtime");
3128
3395
  var StatusListRenderer = {
3129
3396
  canRenderType: "status-list",
3130
- render: ({ margin, items, title }) => /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: getMargin(margin), children: [
3131
- title ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_components40.Header, { title, className: "m-b-2" }) : null,
3132
- items.map(({ callToAction, description, icon, status, title: itemTitle }) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
3133
- import_components40.Summary,
3397
+ render: ({ margin, items, title }) => /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: getMargin(margin), children: [
3398
+ title ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_components42.Header, { title, className: "m-b-2" }) : null,
3399
+ items.map(({ callToAction, description, icon, status, title: itemTitle }) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
3400
+ import_components42.Summary,
3134
3401
  {
3135
3402
  title: itemTitle,
3136
3403
  description,
3137
- icon: icon && "name" in icon ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(DynamicIcon_default, { name: icon.name }) : null,
3404
+ icon: icon && "name" in icon ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(DynamicIcon_default, { name: icon.name }) : null,
3138
3405
  status: mapStatus(status),
3139
3406
  action: getSummaryAction(callToAction)
3140
3407
  },
@@ -3171,12 +3438,12 @@ var mapStatus = (status) => {
3171
3438
 
3172
3439
  // ../renderers/src/utils/useCustomTheme.ts
3173
3440
  var import_components_theming = require("@wise/components-theming");
3174
- var import_react13 = require("react");
3441
+ var import_react14 = require("react");
3175
3442
  var ThemeRequiredEventName = "Theme Required";
3176
3443
  var useCustomTheme = (theme, trackEvent) => {
3177
3444
  const previousThemeHookValue = (0, import_components_theming.useTheme)();
3178
- const previousTheme = (0, import_react13.useMemo)(() => previousThemeHookValue.theme, []);
3179
- (0, import_react13.useEffect)(() => {
3445
+ const previousTheme = (0, import_react14.useMemo)(() => previousThemeHookValue.theme, []);
3446
+ (0, import_react14.useEffect)(() => {
3180
3447
  trackEvent(ThemeRequiredEventName, { theme });
3181
3448
  return theme !== previousTheme ? () => {
3182
3449
  trackEvent(ThemeRequiredEventName, { theme: previousTheme });
@@ -3186,11 +3453,11 @@ var useCustomTheme = (theme, trackEvent) => {
3186
3453
  };
3187
3454
 
3188
3455
  // ../renderers/src/step/BackButton.tsx
3189
- var import_components41 = require("@transferwise/components");
3456
+ var import_components43 = require("@transferwise/components");
3190
3457
  var import_icons3 = require("@transferwise/icons");
3191
- var import_jsx_runtime59 = require("react/jsx-runtime");
3458
+ var import_jsx_runtime61 = require("react/jsx-runtime");
3192
3459
  function BackButton({ title, onClick }) {
3193
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "m-b-2", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
3460
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: "m-b-2", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
3194
3461
  "button",
3195
3462
  {
3196
3463
  type: "button",
@@ -3199,8 +3466,8 @@ function BackButton({ title, onClick }) {
3199
3466
  "aria-label": title,
3200
3467
  onClick,
3201
3468
  children: [
3202
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: "sr-only", children: title }),
3203
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_components41.AvatarView, { interactive: true, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_icons3.ArrowLeft, { size: "24" }) })
3469
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: "sr-only", children: title }),
3470
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_components43.AvatarView, { interactive: true, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_icons3.ArrowLeft, { size: "24" }) })
3204
3471
  ]
3205
3472
  }
3206
3473
  ) });
@@ -3208,7 +3475,7 @@ function BackButton({ title, onClick }) {
3208
3475
  var BackButton_default = BackButton;
3209
3476
 
3210
3477
  // ../renderers/src/step/SplashCelebrationStepRenderer.tsx
3211
- var import_jsx_runtime60 = require("react/jsx-runtime");
3478
+ var import_jsx_runtime62 = require("react/jsx-runtime");
3212
3479
  var SplashCelebrationStepRenderer = {
3213
3480
  canRenderType: "step",
3214
3481
  canRender: ({ control }) => control === "splash-celebration",
@@ -3217,14 +3484,14 @@ var SplashCelebrationStepRenderer = {
3217
3484
  function SplashCelebrationStepRendererComponent(props) {
3218
3485
  const { back, children, trackEvent } = props;
3219
3486
  useCustomTheme("forest-green", trackEvent);
3220
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "splash-screen m-t-5", children: [
3221
- back ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(BackButton_default, __spreadValues({}, back)) : null,
3487
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "splash-screen m-t-5", children: [
3488
+ back ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(BackButton_default, __spreadValues({}, back)) : null,
3222
3489
  children
3223
3490
  ] });
3224
3491
  }
3225
3492
 
3226
3493
  // ../renderers/src/step/SplashStepRenderer.tsx
3227
- var import_jsx_runtime61 = require("react/jsx-runtime");
3494
+ var import_jsx_runtime63 = require("react/jsx-runtime");
3228
3495
  var SplashStepRenderer = {
3229
3496
  canRenderType: "step",
3230
3497
  canRender: ({ control }) => control === "splash",
@@ -3232,63 +3499,63 @@ var SplashStepRenderer = {
3232
3499
  };
3233
3500
  function SplashStepRendererComponent(props) {
3234
3501
  const { back, children } = props;
3235
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "splash-screen m-t-5", children: [
3236
- back ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(BackButton_default, __spreadValues({}, back)) : null,
3502
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "splash-screen m-t-5", children: [
3503
+ back ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(BackButton_default, __spreadValues({}, back)) : null,
3237
3504
  children
3238
3505
  ] });
3239
3506
  }
3240
3507
 
3241
3508
  // ../renderers/src/step/StepRenderer.tsx
3242
- var import_components42 = require("@transferwise/components");
3243
- var import_jsx_runtime62 = require("react/jsx-runtime");
3509
+ var import_components44 = require("@transferwise/components");
3510
+ var import_jsx_runtime64 = require("react/jsx-runtime");
3244
3511
  var StepRenderer = {
3245
3512
  canRenderType: "step",
3246
3513
  render: StepRendererComponent
3247
3514
  };
3248
3515
  function StepRendererComponent(props) {
3249
3516
  const { back, description, error, title, children } = props;
3250
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_jsx_runtime62.Fragment, { children: [
3251
- back ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(BackButton_default, __spreadValues({}, back)) : null,
3252
- title || description ? /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "m-b-4", children: [
3253
- title ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_components42.Title, { as: "h1", type: "title-section", className: "text-xs-center m-b-2", children: title }) : void 0,
3254
- description ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("p", { className: "text-xs-center np-text-body-large", children: description }) : void 0
3517
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_jsx_runtime64.Fragment, { children: [
3518
+ back ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(BackButton_default, __spreadValues({}, back)) : null,
3519
+ title || description ? /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: "m-b-4", children: [
3520
+ title ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_components44.Title, { as: "h1", type: "title-section", className: "text-xs-center m-b-2", children: title }) : void 0,
3521
+ description ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("p", { className: "text-xs-center np-text-body-large", children: description }) : void 0
3255
3522
  ] }) : void 0,
3256
- error ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_components42.Alert, { type: "negative", className: "m-b-2", message: error }) : void 0,
3523
+ error ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_components44.Alert, { type: "negative", className: "m-b-2", message: error }) : void 0,
3257
3524
  children
3258
3525
  ] });
3259
3526
  }
3260
3527
 
3261
3528
  // ../renderers/src/TabsRenderer.tsx
3262
- var import_components43 = require("@transferwise/components");
3263
- var import_react14 = require("react");
3264
- var import_jsx_runtime63 = require("react/jsx-runtime");
3529
+ var import_components45 = require("@transferwise/components");
3530
+ var import_react15 = require("react");
3531
+ var import_jsx_runtime65 = require("react/jsx-runtime");
3265
3532
  var TabsRenderer = {
3266
3533
  canRenderType: "tabs",
3267
3534
  render: (props) => {
3268
3535
  switch (props.control) {
3269
3536
  case "segmented":
3270
3537
  if (props.tabs.length > 3) {
3271
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(TabsRendererComponent, __spreadValues({}, props));
3538
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(TabsRendererComponent, __spreadValues({}, props));
3272
3539
  }
3273
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(SegmentedTabsRendererComponent, __spreadValues({}, props));
3540
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(SegmentedTabsRendererComponent, __spreadValues({}, props));
3274
3541
  case "chips":
3275
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(ChipsTabsRendererComponent, __spreadValues({}, props));
3542
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(ChipsTabsRendererComponent, __spreadValues({}, props));
3276
3543
  default:
3277
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(TabsRendererComponent, __spreadValues({}, props));
3544
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(TabsRendererComponent, __spreadValues({}, props));
3278
3545
  }
3279
3546
  }
3280
3547
  };
3281
3548
  function TabsRendererComponent({ uid, margin, tabs }) {
3282
- const [selectedIndex, setSelectedIndex] = (0, import_react14.useState)(0);
3283
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: getMargin(margin), children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3284
- import_components43.Tabs,
3549
+ const [selectedIndex, setSelectedIndex] = (0, import_react15.useState)(0);
3550
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: getMargin(margin), children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3551
+ import_components45.Tabs,
3285
3552
  {
3286
3553
  name: uid,
3287
3554
  selected: selectedIndex != null ? selectedIndex : 0,
3288
3555
  tabs: tabs.map((option) => ({
3289
3556
  title: option.title,
3290
3557
  disabled: false,
3291
- content: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "m-t-2", children: [
3558
+ content: /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "m-t-2", children: [
3292
3559
  " ",
3293
3560
  option.children,
3294
3561
  " "
@@ -3300,10 +3567,10 @@ function TabsRendererComponent({ uid, margin, tabs }) {
3300
3567
  }
3301
3568
  function SegmentedTabsRendererComponent({ uid, margin, tabs }) {
3302
3569
  var _a;
3303
- const [selectedIndex, setSelectedIndex] = (0, import_react14.useState)(0);
3304
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: getMargin(margin), children: [
3305
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3306
- import_components43.SegmentedControl,
3570
+ const [selectedIndex, setSelectedIndex] = (0, import_react15.useState)(0);
3571
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: getMargin(margin), children: [
3572
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3573
+ import_components45.SegmentedControl,
3307
3574
  {
3308
3575
  name: uid,
3309
3576
  value: String(selectedIndex),
@@ -3317,31 +3584,31 @@ function SegmentedTabsRendererComponent({ uid, margin, tabs }) {
3317
3584
  onChange: (value) => setSelectedIndex(Number(value))
3318
3585
  }
3319
3586
  ),
3320
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { id: `${uid}-children`, className: "m-t-2", children: (_a = tabs[selectedIndex]) == null ? void 0 : _a.children })
3587
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { id: `${uid}-children`, className: "m-t-2", children: (_a = tabs[selectedIndex]) == null ? void 0 : _a.children })
3321
3588
  ] });
3322
3589
  }
3323
3590
  function ChipsTabsRendererComponent({ margin, tabs }) {
3324
3591
  var _a;
3325
- const [selectedIndex, setSelectedIndex] = (0, import_react14.useState)(0);
3326
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: getMargin(margin), children: [
3327
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "chips-container", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3328
- import_components43.Chips,
3592
+ const [selectedIndex, setSelectedIndex] = (0, import_react15.useState)(0);
3593
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: getMargin(margin), children: [
3594
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "chips-container", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3595
+ import_components45.Chips,
3329
3596
  {
3330
3597
  chips: tabs.map((tab, index) => ({ label: tab.title, value: index })),
3331
3598
  selected: selectedIndex,
3332
3599
  onChange: ({ selectedValue }) => setSelectedIndex(Number(selectedValue))
3333
3600
  }
3334
3601
  ) }),
3335
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "m-t-2", children: (_a = tabs[selectedIndex]) == null ? void 0 : _a.children })
3602
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "m-t-2", children: (_a = tabs[selectedIndex]) == null ? void 0 : _a.children })
3336
3603
  ] });
3337
3604
  }
3338
3605
 
3339
3606
  // ../renderers/src/TextInputRenderer.tsx
3340
- var import_components45 = require("@transferwise/components");
3607
+ var import_components47 = require("@transferwise/components");
3341
3608
 
3342
3609
  // ../renderers/src/components/VariableTextInput.tsx
3343
- var import_components44 = require("@transferwise/components");
3344
- var import_jsx_runtime64 = require("react/jsx-runtime");
3610
+ var import_components46 = require("@transferwise/components");
3611
+ var import_jsx_runtime66 = require("react/jsx-runtime");
3345
3612
  var commonKeys = [
3346
3613
  "autoComplete",
3347
3614
  "autoCapitalize",
@@ -3360,12 +3627,12 @@ function VariableTextInput(inputProps) {
3360
3627
  const commonProps = __spreadProps(__spreadValues({}, pick(inputProps, ...commonKeys)), { name: id });
3361
3628
  switch (control) {
3362
3629
  case "email":
3363
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(TextInput, __spreadProps(__spreadValues({}, commonProps), { type: "email", onChange }));
3630
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(TextInput, __spreadProps(__spreadValues({}, commonProps), { type: "email", onChange }));
3364
3631
  case "password":
3365
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(TextInput, __spreadProps(__spreadValues({}, commonProps), { type: "password", onChange }));
3632
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(TextInput, __spreadProps(__spreadValues({}, commonProps), { type: "password", onChange }));
3366
3633
  case "numeric": {
3367
3634
  const numericProps = __spreadProps(__spreadValues({}, commonProps), { type: "number", onWheel });
3368
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
3635
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3369
3636
  TextInput,
3370
3637
  __spreadProps(__spreadValues({}, numericProps), {
3371
3638
  onChange: (newValue) => {
@@ -3376,21 +3643,21 @@ function VariableTextInput(inputProps) {
3376
3643
  );
3377
3644
  }
3378
3645
  case "phone-number":
3379
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_components44.PhoneNumberInput, __spreadProps(__spreadValues({ initialValue: value }, commonProps), { onChange }));
3646
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_components46.PhoneNumberInput, __spreadProps(__spreadValues({ initialValue: value }, commonProps), { onChange }));
3380
3647
  default: {
3381
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(TextInput, __spreadProps(__spreadValues({}, commonProps), { type: "text", onChange }));
3648
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(TextInput, __spreadProps(__spreadValues({}, commonProps), { type: "text", onChange }));
3382
3649
  }
3383
3650
  }
3384
3651
  }
3385
3652
  function TextInput(props) {
3386
3653
  const _a = props, { control, displayFormat, onChange } = _a, commonProps = __objRest(_a, ["control", "displayFormat", "onChange"]);
3387
- const InputWithPattern = control === "textarea" ? import_components44.TextareaWithDisplayFormat : import_components44.InputWithDisplayFormat;
3388
- const InputWithoutPattern = control === "textarea" ? import_components44.TextArea : import_components44.Input;
3389
- return displayFormat ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(InputWithPattern, __spreadProps(__spreadValues({ displayPattern: displayFormat }, commonProps), { onChange })) : /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(InputWithoutPattern, __spreadProps(__spreadValues({}, commonProps), { onChange: (e) => onChange(e.target.value) }));
3654
+ const InputWithPattern = control === "textarea" ? import_components46.TextareaWithDisplayFormat : import_components46.InputWithDisplayFormat;
3655
+ const InputWithoutPattern = control === "textarea" ? import_components46.TextArea : import_components46.Input;
3656
+ return displayFormat ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(InputWithPattern, __spreadProps(__spreadValues({ displayPattern: displayFormat }, commonProps), { onChange })) : /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(InputWithoutPattern, __spreadProps(__spreadValues({}, commonProps), { onChange: (e) => onChange(e.target.value) }));
3390
3657
  }
3391
3658
 
3392
3659
  // ../renderers/src/TextInputRenderer.tsx
3393
- var import_jsx_runtime65 = require("react/jsx-runtime");
3660
+ var import_jsx_runtime67 = require("react/jsx-runtime");
3394
3661
  var TextInputRenderer = {
3395
3662
  canRenderType: "input-text",
3396
3663
  render: (props) => {
@@ -3423,7 +3690,7 @@ var TextInputRenderer = {
3423
3690
  }
3424
3691
  }
3425
3692
  });
3426
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3693
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3427
3694
  FieldInput_default,
3428
3695
  {
3429
3696
  id,
@@ -3431,7 +3698,7 @@ var TextInputRenderer = {
3431
3698
  description,
3432
3699
  validation: validationState,
3433
3700
  help,
3434
- children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_components45.InputGroup, { addonStart: getInputGroupAddonStart(media), children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(VariableTextInput, __spreadValues({}, inputProps)) })
3701
+ children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_components47.InputGroup, { addonStart: getInputGroupAddonStart(media), children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(VariableTextInput, __spreadValues({}, inputProps)) })
3435
3702
  }
3436
3703
  );
3437
3704
  }
@@ -3439,13 +3706,13 @@ var TextInputRenderer = {
3439
3706
  var TextInputRenderer_default = TextInputRenderer;
3440
3707
 
3441
3708
  // ../renderers/src/UploadInputRenderer.tsx
3442
- var import_components46 = require("@transferwise/components");
3709
+ var import_components48 = require("@transferwise/components");
3443
3710
 
3444
3711
  // ../renderers/src/utils/getRandomId.ts
3445
3712
  var getRandomId = () => Math.random().toString(36).substring(2);
3446
3713
 
3447
3714
  // ../renderers/src/UploadInputRenderer.tsx
3448
- var import_jsx_runtime66 = require("react/jsx-runtime");
3715
+ var import_jsx_runtime68 = require("react/jsx-runtime");
3449
3716
  var UploadInputRenderer = {
3450
3717
  canRenderType: "input-upload",
3451
3718
  render: (props) => {
@@ -3461,15 +3728,15 @@ var UploadInputRenderer = {
3461
3728
  };
3462
3729
  return (
3463
3730
  // We don't pass help here as there is no sensible place to display it
3464
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3731
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
3465
3732
  UploadFieldInput_default,
3466
3733
  {
3467
3734
  id,
3468
3735
  label: void 0,
3469
3736
  description: void 0,
3470
3737
  validation: validationState,
3471
- children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3472
- import_components46.UploadInput,
3738
+ children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
3739
+ import_components48.UploadInput,
3473
3740
  {
3474
3741
  id,
3475
3742
  description,
@@ -3527,7 +3794,7 @@ var LargeUploadRenderer = {
3527
3794
  };
3528
3795
  const filetypes = acceptsToFileTypes(accepts);
3529
3796
  const usAccept = filetypes === "*" ? "*" : filetypes.join(",");
3530
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3797
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
3531
3798
  FieldInput_default,
3532
3799
  {
3533
3800
  id,
@@ -3535,8 +3802,8 @@ var LargeUploadRenderer = {
3535
3802
  description,
3536
3803
  validation: validationState,
3537
3804
  help,
3538
- children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3539
- import_components46.Upload,
3805
+ children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
3806
+ import_components48.Upload,
3540
3807
  __spreadProps(__spreadValues({}, uploadProps), {
3541
3808
  usAccept,
3542
3809
  usDisabled: disabled,
@@ -3595,7 +3862,7 @@ var getWiseRenderers = () => [
3595
3862
  // src/dynamicFlow/telemetry/app-version.ts
3596
3863
  var appVersion = (
3597
3864
  // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
3598
- typeof process !== "undefined" ? "4.21.0" : "0.0.0"
3865
+ typeof process !== "undefined" ? "4.22.0" : "0.0.0"
3599
3866
  );
3600
3867
 
3601
3868
  // src/dynamicFlow/telemetry/getLogEvent.ts
@@ -3635,8 +3902,8 @@ var getTrackEvent = (onEvent, onAnalytics, onThemeChange) => (name, properties)
3635
3902
  };
3636
3903
 
3637
3904
  // src/dynamicFlow/messages.ts
3638
- var import_react_intl18 = require("react-intl");
3639
- var messages_default = (0, import_react_intl18.defineMessages)({
3905
+ var import_react_intl21 = require("react-intl");
3906
+ var messages_default = (0, import_react_intl21.defineMessages)({
3640
3907
  copied: {
3641
3908
  id: "df.wise.CopyFeedback.copy",
3642
3909
  defaultMessage: "Copied to clipboard",
@@ -3650,12 +3917,12 @@ var messages_default = (0, import_react_intl18.defineMessages)({
3650
3917
  });
3651
3918
 
3652
3919
  // src/dynamicFlow/DynamicFlow.tsx
3653
- var import_jsx_runtime67 = require("react/jsx-runtime");
3920
+ var import_jsx_runtime69 = require("react/jsx-runtime");
3654
3921
  var wiseRenderers = getWiseRenderers();
3655
3922
  function DynamicFlowLegacy(props) {
3656
3923
  const { customFetch = globalThis.fetch } = props;
3657
3924
  const coreProps = __spreadProps(__spreadValues({}, props), { httpClient: customFetch });
3658
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_dynamic_flow_client2.DynamicFlow, __spreadValues({}, coreProps));
3925
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_dynamic_flow_client2.DynamicFlow, __spreadValues({}, coreProps));
3659
3926
  }
3660
3927
  function DynamicFlowRevamp(props) {
3661
3928
  const {
@@ -3668,12 +3935,12 @@ function DynamicFlowRevamp(props) {
3668
3935
  onLink = openLinkInNewTab,
3669
3936
  onThemeChange
3670
3937
  } = props;
3671
- const { formatMessage } = (0, import_react_intl19.useIntl)();
3938
+ const { formatMessage } = (0, import_react_intl22.useIntl)();
3672
3939
  const createSnackBar = useSnackBarIfAvailable();
3673
3940
  const httpClient = useWiseHttpClient(customFetch);
3674
- const mergedRenderers = (0, import_react15.useMemo)(() => [...renderers != null ? renderers : [], ...wiseRenderers], [renderers]);
3675
- const logEvent = (0, import_react15.useMemo)(() => getLogEvent(onLog), [onLog]);
3676
- const trackEvent = (0, import_react15.useMemo)(
3941
+ const mergedRenderers = (0, import_react16.useMemo)(() => [...renderers != null ? renderers : [], ...wiseRenderers], [renderers]);
3942
+ const logEvent = (0, import_react16.useMemo)(() => getLogEvent(onLog), [onLog]);
3943
+ const trackEvent = (0, import_react16.useMemo)(
3677
3944
  () => getTrackEvent(onEvent, onAnalytics, onThemeChange),
3678
3945
  [onEvent, onAnalytics, onThemeChange]
3679
3946
  );
@@ -3692,9 +3959,9 @@ function DynamicFlowRevamp(props) {
3692
3959
  onLink,
3693
3960
  onCopy
3694
3961
  });
3695
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className, children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_dynamic_flow_client2.DynamicFlowCoreRevamp, __spreadValues({}, coreProps)) });
3962
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_dynamic_flow_client2.DynamicFlowCoreRevamp, __spreadValues({}, coreProps)) });
3696
3963
  }
3697
- var DynamicForm = (0, import_react15.forwardRef)(function DynamicForm2(props, ref) {
3964
+ var DynamicForm = (0, import_react16.forwardRef)(function DynamicForm2(props, ref) {
3698
3965
  const {
3699
3966
  className = "",
3700
3967
  customFetch = globalThis.fetch,
@@ -3705,12 +3972,12 @@ var DynamicForm = (0, import_react15.forwardRef)(function DynamicForm2(props, re
3705
3972
  onLink = openLinkInNewTab,
3706
3973
  onThemeChange
3707
3974
  } = props;
3708
- const { formatMessage } = (0, import_react_intl19.useIntl)();
3975
+ const { formatMessage } = (0, import_react_intl22.useIntl)();
3709
3976
  const createSnackBar = useSnackBarIfAvailable();
3710
3977
  const httpClient = useWiseHttpClient(customFetch);
3711
- const mergedRenderers = (0, import_react15.useMemo)(() => [...renderers != null ? renderers : [], ...wiseRenderers], [renderers]);
3712
- const logEvent = (0, import_react15.useMemo)(() => getLogEvent(onLog), [onLog]);
3713
- const trackEvent = (0, import_react15.useMemo)(
3978
+ const mergedRenderers = (0, import_react16.useMemo)(() => [...renderers != null ? renderers : [], ...wiseRenderers], [renderers]);
3979
+ const logEvent = (0, import_react16.useMemo)(() => getLogEvent(onLog), [onLog]);
3980
+ const trackEvent = (0, import_react16.useMemo)(
3714
3981
  () => getTrackEvent(onEvent, onAnalytics, onThemeChange),
3715
3982
  [onEvent, onAnalytics, onThemeChange]
3716
3983
  );
@@ -3729,11 +3996,11 @@ var DynamicForm = (0, import_react15.forwardRef)(function DynamicForm2(props, re
3729
3996
  onLink,
3730
3997
  onCopy
3731
3998
  });
3732
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className, children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_dynamic_flow_client2.DynamicFormCore, __spreadProps(__spreadValues({}, coreProps), { ref })) });
3999
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_dynamic_flow_client2.DynamicFormCore, __spreadProps(__spreadValues({}, coreProps), { ref })) });
3733
4000
  });
3734
4001
  var useWiseHttpClient = (httpClient) => {
3735
- const { locale } = (0, import_react_intl19.useIntl)();
3736
- return (0, import_react15.useCallback)(
4002
+ const { locale } = (0, import_react_intl22.useIntl)();
4003
+ return (0, import_react16.useCallback)(
3737
4004
  async (input, init = {}) => {
3738
4005
  const headers = new Headers(init.headers);
3739
4006
  headers.set("accept-language", locale);