@wise/dynamic-flow-client-internal 4.18.0 → 4.20.0-experimental-1c8f72d

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/main.mjs CHANGED
@@ -45,6 +45,7 @@ var de_default = {
45
45
  "df.wise.ArraySchema.maxItemsError": "Bitte f\xFCge {maxItems} oder weniger hinzu.",
46
46
  "df.wise.ArraySchema.minItemsError": "Bitte f\xFCge mindestens {minItems} hinzu.",
47
47
  "df.wise.ArraySchema.removeItem": "Entfernen",
48
+ "df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
48
49
  "df.wise.ControlFeedback.maxLength": "Bitte gib nicht mehr als {maxLength} Zeichen ein.",
49
50
  "df.wise.ControlFeedback.maximum": "Bitte gib eine Zahl ein, die {maximum} oder weniger betr\xE4gt.",
50
51
  "df.wise.ControlFeedback.maximumDate": "Bitte gib ein Datum ein, das am oder vor dem {maximum} liegt.",
@@ -55,6 +56,8 @@ var de_default = {
55
56
  "df.wise.ControlFeedback.patternDate": "Bitte gib ein Datum im richtigen Format ein.",
56
57
  "df.wise.ControlFeedback.required": "Bitte f\xFClle dieses Feld aus.",
57
58
  "df.wise.ControlFeedback.type": "Falscher Typ",
59
+ "df.wise.CopyFeedback.copy": "In Zwischenablage kopiert",
60
+ "df.wise.CopyFeedback.copyFailed": "Kopieren in Zwischenablage fehlgeschlagen",
58
61
  "df.wise.DynamicParagraph.copied": "In Zwischenablage kopiert",
59
62
  "df.wise.DynamicParagraph.copy": "Kopieren",
60
63
  "df.wise.ErrorBoundary.errorAlert": "Da ist etwas schiefgegangen.",
@@ -80,6 +83,7 @@ var en_default = {
80
83
  "df.wise.ArraySchema.maxItemsError": "Please add {maxItems} or fewer.",
81
84
  "df.wise.ArraySchema.minItemsError": "Please add at least {minItems}.",
82
85
  "df.wise.ArraySchema.removeItem": "Remove",
86
+ "df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
83
87
  "df.wise.ControlFeedback.maxLength": "Please enter {maxLength} or fewer characters.",
84
88
  "df.wise.ControlFeedback.maximum": "Please enter a number that's {maximum} or less.",
85
89
  "df.wise.ControlFeedback.maximumDate": "Please enter a date that's on or before {maximum}.",
@@ -90,6 +94,8 @@ var en_default = {
90
94
  "df.wise.ControlFeedback.patternDate": "Please enter a date in the corrrect format.",
91
95
  "df.wise.ControlFeedback.required": "Please fill out this field.",
92
96
  "df.wise.ControlFeedback.type": "Incorrect type",
97
+ "df.wise.CopyFeedback.copy": "Copied to clipboard",
98
+ "df.wise.CopyFeedback.copyFailed": "Failed to copy to clipboard",
93
99
  "df.wise.DynamicParagraph.copied": "Copied to clipboard",
94
100
  "df.wise.DynamicParagraph.copy": "Copy",
95
101
  "df.wise.ErrorBoundary.errorAlert": "Something went wrong.",
@@ -115,6 +121,7 @@ var es_default = {
115
121
  "df.wise.ArraySchema.maxItemsError": "A\xF1ade {maxItems} o menos.",
116
122
  "df.wise.ArraySchema.minItemsError": "A\xF1ade al menos {minItems}.",
117
123
  "df.wise.ArraySchema.removeItem": "Eliminar",
124
+ "df.wise.ButtonLayout.buttonLoadingMessage": "Esto puede tardar unos segundos",
118
125
  "df.wise.ControlFeedback.maxLength": "Introduce {maxLength} caracteres o menos.",
119
126
  "df.wise.ControlFeedback.maximum": "Introduce una cifra igual o inferior a {maximum}.",
120
127
  "df.wise.ControlFeedback.maximumDate": "Introduce una fecha que sea igual o anterior al {maximum}.",
@@ -125,6 +132,8 @@ var es_default = {
125
132
  "df.wise.ControlFeedback.patternDate": "Introduce la fecha en un formato correcto.",
126
133
  "df.wise.ControlFeedback.required": "Completa este campo.",
127
134
  "df.wise.ControlFeedback.type": "Tipo incorrecto",
135
+ "df.wise.CopyFeedback.copy": "Copiado al portapapeles",
136
+ "df.wise.CopyFeedback.copyFailed": "Error al copiar al portapapeles",
128
137
  "df.wise.DynamicParagraph.copied": "Copiado al portapapeles",
129
138
  "df.wise.DynamicParagraph.copy": "Copiar",
130
139
  "df.wise.ErrorBoundary.errorAlert": "Ha habido un error.",
@@ -150,6 +159,7 @@ var fr_default = {
150
159
  "df.wise.ArraySchema.maxItemsError": "Veuillez ajouter {maxItems} ou moins.",
151
160
  "df.wise.ArraySchema.minItemsError": "Veuillez ajouter au moins {minItems}.",
152
161
  "df.wise.ArraySchema.removeItem": "Supprimer",
162
+ "df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
153
163
  "df.wise.ControlFeedback.maxLength": "Veuillez saisir {maxLength} caract\xE8res ou moins.",
154
164
  "df.wise.ControlFeedback.maximum": "Veuillez saisir un nombre inf\xE9rieur ou \xE9gal \xE0 {maximum}.",
155
165
  "df.wise.ControlFeedback.maximumDate": "Veuillez saisir une date \xE9gale ou ant\xE9rieure au {maximum}.",
@@ -160,6 +170,8 @@ var fr_default = {
160
170
  "df.wise.ControlFeedback.patternDate": "Veuillez saisir une date au format correct.",
161
171
  "df.wise.ControlFeedback.required": "Champ obligatoire.",
162
172
  "df.wise.ControlFeedback.type": "Type incorrect",
173
+ "df.wise.CopyFeedback.copy": "Copi\xE9 dans le presse-papier",
174
+ "df.wise.CopyFeedback.copyFailed": "Impossible de copier dans le presse-papier",
163
175
  "df.wise.DynamicParagraph.copied": "Copi\xE9 dans le presse-papier",
164
176
  "df.wise.DynamicParagraph.copy": "Copier",
165
177
  "df.wise.ErrorBoundary.errorAlert": "Une erreur s'est produite.",
@@ -185,6 +197,7 @@ var hu_default = {
185
197
  "df.wise.ArraySchema.maxItemsError": "K\xE9r\xFCnk, {maxItems} vagy ann\xE1l kevesebb t\xE9telt adj meg.",
186
198
  "df.wise.ArraySchema.minItemsError": "K\xE9r\xFCnk, legal\xE1bb {minItems} t\xE9telt adj meg.",
187
199
  "df.wise.ArraySchema.removeItem": "Elt\xE1vol\xEDt\xE1s",
200
+ "df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
188
201
  "df.wise.ControlFeedback.maxLength": "K\xE9r\xFCnk, legfeljebb {maxLength} karaktert adj meg.",
189
202
  "df.wise.ControlFeedback.maximum": "K\xE9r\xFCnk, add meg ezt vagy egy enn\xE9l kisebb sz\xE1mot: {maximum}.",
190
203
  "df.wise.ControlFeedback.maximumDate": "K\xE9r\xFCnk, adj meg egy d\xE1tumot, ami megegyezik {maximum} napj\xE1val, vagy egy enn\xE9l kor\xE1bbit.",
@@ -195,6 +208,8 @@ var hu_default = {
195
208
  "df.wise.ControlFeedback.patternDate": "K\xE9r\xFCnk, hogy a d\xE1tumot helyes form\xE1tumban add meg.",
196
209
  "df.wise.ControlFeedback.required": "K\xE9r\xFCnk, t\xF6ltsd ki ezt a mez\u0151t.",
197
210
  "df.wise.ControlFeedback.type": "Helytelen t\xEDpus",
211
+ "df.wise.CopyFeedback.copy": "V\xE1g\xF3lapra m\xE1solva",
212
+ "df.wise.CopyFeedback.copyFailed": "Nem siker\xFClt a v\xE1g\xF3lapra m\xE1solni",
198
213
  "df.wise.DynamicParagraph.copied": "V\xE1g\xF3lapra m\xE1solva",
199
214
  "df.wise.DynamicParagraph.copy": "M\xE1sol\xE1s",
200
215
  "df.wise.ErrorBoundary.errorAlert": "Valami hiba t\xF6rt\xE9nt.",
@@ -220,6 +235,7 @@ var id_default = {
220
235
  "df.wise.ArraySchema.maxItemsError": "Harap tambahkan {maxItems} atau kurang.",
221
236
  "df.wise.ArraySchema.minItemsError": "Harap tambahkan setidaknya {minItems}.",
222
237
  "df.wise.ArraySchema.removeItem": "Hapus",
238
+ "df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
223
239
  "df.wise.ControlFeedback.maxLength": "Harap masukkan {maxLength} karakter atau kurang.",
224
240
  "df.wise.ControlFeedback.maximum": "Harap masukkan angka paling besar {maximum} atau kurang dari itu.",
225
241
  "df.wise.ControlFeedback.maximumDate": "Harap masukkan tanggal pada atau sebelum {maximum}.",
@@ -230,6 +246,8 @@ var id_default = {
230
246
  "df.wise.ControlFeedback.patternDate": "Harap masukkan tanggal dalam format yang benar.",
231
247
  "df.wise.ControlFeedback.required": "Harap isi kolom ini.",
232
248
  "df.wise.ControlFeedback.type": "Tipe salah",
249
+ "df.wise.CopyFeedback.copy": "Disalin ke clipboard",
250
+ "df.wise.CopyFeedback.copyFailed": "Gagal menyalin ke clipboard",
233
251
  "df.wise.DynamicParagraph.copied": "Disalin ke clipboard",
234
252
  "df.wise.DynamicParagraph.copy": "Salin",
235
253
  "df.wise.ErrorBoundary.errorAlert": "Terjadi kesalahan.",
@@ -255,6 +273,7 @@ var it_default = {
255
273
  "df.wise.ArraySchema.maxItemsError": "Aggiungi al massimo {maxItems}.",
256
274
  "df.wise.ArraySchema.minItemsError": "Aggiungi almeno {minItems}.",
257
275
  "df.wise.ArraySchema.removeItem": "Rimuovi",
276
+ "df.wise.ButtonLayout.buttonLoadingMessage": "Potrebbero volerci un paio di secondi",
258
277
  "df.wise.ControlFeedback.maxLength": "Inserisci un massimo di {maxLength} caratteri.",
259
278
  "df.wise.ControlFeedback.maximum": "Inserisci un numero uguale o inferiore a {maximum}.",
260
279
  "df.wise.ControlFeedback.maximumDate": "Inserisci una data corrispondente o precedente al {maximum}.",
@@ -265,6 +284,8 @@ var it_default = {
265
284
  "df.wise.ControlFeedback.patternDate": "Inserisci la data in un formato corretto.",
266
285
  "df.wise.ControlFeedback.required": "Compila questo campo.",
267
286
  "df.wise.ControlFeedback.type": "Tipo errato",
287
+ "df.wise.CopyFeedback.copy": "Copiato negli appunti",
288
+ "df.wise.CopyFeedback.copyFailed": "Impossibile copiare negli appunti",
268
289
  "df.wise.DynamicParagraph.copied": "Copiato negli appunti",
269
290
  "df.wise.DynamicParagraph.copy": "Copia",
270
291
  "df.wise.ErrorBoundary.errorAlert": "Qualcosa non ha funzionato.",
@@ -290,6 +311,7 @@ var ja_default = {
290
311
  "df.wise.ArraySchema.maxItemsError": "{maxItems}\u30A2\u30A4\u30C6\u30E0\u4EE5\u4E0B\u3092\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
291
312
  "df.wise.ArraySchema.minItemsError": "{minItems}\u30A2\u30A4\u30C6\u30E0\u4EE5\u4E0A\u3092\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
292
313
  "df.wise.ArraySchema.removeItem": "\u524A\u9664\u3059\u308B",
314
+ "df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
293
315
  "df.wise.ControlFeedback.maxLength": "{maxLength}\u6587\u5B57\u4EE5\u4E0B\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
294
316
  "df.wise.ControlFeedback.maximum": "{maximum}\u4EE5\u4E0B\u306E\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
295
317
  "df.wise.ControlFeedback.maximumDate": "{maximum}\u307E\u305F\u306F\u305D\u308C\u4EE5\u524D\u306E\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
@@ -300,6 +322,8 @@ var ja_default = {
300
322
  "df.wise.ControlFeedback.patternDate": "\u6B63\u3057\u3044\u5F62\u5F0F\u3067\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
301
323
  "df.wise.ControlFeedback.required": "\u3053\u306E\u9805\u76EE\u306F\u5165\u529B\u5FC5\u9808\u3067\u3059\u3002",
302
324
  "df.wise.ControlFeedback.type": "\u4E0D\u6B63\u306A\u30BF\u30A4\u30D7",
325
+ "df.wise.CopyFeedback.copy": "\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u3078\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F",
326
+ "df.wise.CopyFeedback.copyFailed": "\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F",
303
327
  "df.wise.DynamicParagraph.copied": "\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u3078\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F",
304
328
  "df.wise.DynamicParagraph.copy": "\u30B3\u30D4\u30FC\u3059\u308B",
305
329
  "df.wise.ErrorBoundary.errorAlert": "\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002",
@@ -325,6 +349,7 @@ var pl_default = {
325
349
  "df.wise.ArraySchema.maxItemsError": "Prosimy doda\u0107 maksymalnie {maxItems}.",
326
350
  "df.wise.ArraySchema.minItemsError": "Prosimy doda\u0107 co najmniej {minItems}.",
327
351
  "df.wise.ArraySchema.removeItem": "Usu\u0144",
352
+ "df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
328
353
  "df.wise.ControlFeedback.maxLength": "Prosimy wprowadzi\u0107 do {maxLength} znak\xF3w.",
329
354
  "df.wise.ControlFeedback.maximum": "Wprowad\u017A liczb\u0119 r\xF3wn\u0105 lub mniejsz\u0105 ni\u017C {maximum}.",
330
355
  "df.wise.ControlFeedback.maximumDate": "Wprowad\u017A dat\u0119 nie p\xF3\u017Aniejsz\u0105 ni\u017C {maximum}.",
@@ -335,6 +360,8 @@ var pl_default = {
335
360
  "df.wise.ControlFeedback.patternDate": "Wprowad\u017A dat\u0119 w prawid\u0142owym formacie.",
336
361
  "df.wise.ControlFeedback.required": "Prosz\u0119 wype\u0142ni\u0107 to pole.",
337
362
  "df.wise.ControlFeedback.type": "Nieprawid\u0142owy typ",
363
+ "df.wise.CopyFeedback.copy": "Skopiowano do schowka",
364
+ "df.wise.CopyFeedback.copyFailed": "Nie uda\u0142o si\u0119 skopiowa\u0107 do schowka",
338
365
  "df.wise.DynamicParagraph.copied": "Skopiowano do schowka",
339
366
  "df.wise.DynamicParagraph.copy": "Kopiuj",
340
367
  "df.wise.ErrorBoundary.errorAlert": "Co\u015B posz\u0142o nie tak.",
@@ -360,6 +387,7 @@ var pt_default = {
360
387
  "df.wise.ArraySchema.maxItemsError": "Adicione {maxItems} ou menos.",
361
388
  "df.wise.ArraySchema.minItemsError": "Adicione pelo menos {minItems}.",
362
389
  "df.wise.ArraySchema.removeItem": "Remover",
390
+ "df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
363
391
  "df.wise.ControlFeedback.maxLength": "Por favor, insira {maxLength} caracteres ou menos.",
364
392
  "df.wise.ControlFeedback.maximum": "Por favor, insira um n\xFAmero que seja {maximum} ou menos.",
365
393
  "df.wise.ControlFeedback.maximumDate": "Por favor, insira uma data que seja em ou antes de {maximum}.",
@@ -370,6 +398,8 @@ var pt_default = {
370
398
  "df.wise.ControlFeedback.patternDate": "Por favor, insira a data no formato correto.",
371
399
  "df.wise.ControlFeedback.required": "Por favor, preencha o campo.",
372
400
  "df.wise.ControlFeedback.type": "Tipo incorreto",
401
+ "df.wise.CopyFeedback.copy": "Copiado",
402
+ "df.wise.CopyFeedback.copyFailed": "Falha ao copiar para \xE1rea de transfer\xEAncia",
373
403
  "df.wise.DynamicParagraph.copied": "Copiado",
374
404
  "df.wise.DynamicParagraph.copy": "Copiar",
375
405
  "df.wise.ErrorBoundary.errorAlert": "Algo deu errado.",
@@ -395,6 +425,7 @@ var ro_default = {
395
425
  "df.wise.ArraySchema.maxItemsError": "Te rug\u0103m s\u0103 adaugi {maxItems} sau mai pu\u021Bine.",
396
426
  "df.wise.ArraySchema.minItemsError": "Te rug\u0103m s\u0103 adaugi cel pu\u021Bin {minItems}.",
397
427
  "df.wise.ArraySchema.removeItem": "Elimin\u0103",
428
+ "df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
398
429
  "df.wise.ControlFeedback.maxLength": "Te rug\u0103m s\u0103 introduci {maxLength} sau mai pu\u021Bine caractere.",
399
430
  "df.wise.ControlFeedback.maximum": "Te rug\u0103m s\u0103 introduci un num\u0103r egal cu {maximum} sau mai mic.",
400
431
  "df.wise.ControlFeedback.maximumDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 de \xEEnainte de sau egal\u0103 cu {maximum}.",
@@ -405,6 +436,8 @@ var ro_default = {
405
436
  "df.wise.ControlFeedback.patternDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 \xEEn formatul corect.",
406
437
  "df.wise.ControlFeedback.required": "Te rug\u0103m s\u0103 completezi acest spa\u021Biu.",
407
438
  "df.wise.ControlFeedback.type": "Tip incorect",
439
+ "df.wise.CopyFeedback.copy": "Copiat \xEEn clipboard",
440
+ "df.wise.CopyFeedback.copyFailed": "Copierea \xEEn clipboard a e\u0219uat",
408
441
  "df.wise.DynamicParagraph.copied": "Copiat \xEEn clipboard",
409
442
  "df.wise.DynamicParagraph.copy": "Copiaz\u0103",
410
443
  "df.wise.ErrorBoundary.errorAlert": "Ceva nu a mers bine.",
@@ -430,6 +463,7 @@ var ru_default = {
430
463
  "df.wise.ArraySchema.maxItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0434\u043E\u0431\u0430\u0432\u044C\u0442\u0435 {maxItems} \u0438\u043B\u0438 \u043C\u0435\u043D\u044C\u0448\u0435.",
431
464
  "df.wise.ArraySchema.minItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0434\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u043F\u043E \u043A\u0440\u0430\u0439\u043D\u0435\u0439 \u043C\u0435\u0440\u0435 {minItems}.",
432
465
  "df.wise.ArraySchema.removeItem": "\u0423\u0434\u0430\u043B\u0438\u0442\u044C",
466
+ "df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
433
467
  "df.wise.ControlFeedback.maxLength": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 {maxLength} \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0438\u043B\u0438 \u043C\u0435\u043D\u044C\u0448\u0435.",
434
468
  "df.wise.ControlFeedback.maximum": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0447\u0438\u0441\u043B\u043E, \u0440\u0430\u0432\u043D\u043E\u0435 {maximum} \u0438\u043B\u0438 \u043C\u0435\u043D\u044C\u0448\u0435.",
435
469
  "df.wise.ControlFeedback.maximumDate": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443, \u0440\u0430\u0432\u043D\u0443\u044E {maximum} \u0438\u043B\u0438 \u0431\u043E\u043B\u0435\u0435 \u0440\u0430\u043D\u043D\u044E\u044E.",
@@ -440,6 +474,8 @@ var ru_default = {
440
474
  "df.wise.ControlFeedback.patternDate": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443 \u0432 \u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u043E\u043C \u0444\u043E\u0440\u043C\u0430\u0442\u0435.",
441
475
  "df.wise.ControlFeedback.required": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u043E\u0435 \u043F\u043E\u043B\u0435.",
442
476
  "df.wise.ControlFeedback.type": "\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0442\u0438\u043F",
477
+ "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",
478
+ "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",
443
479
  "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",
444
480
  "df.wise.DynamicParagraph.copy": "\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C",
445
481
  "df.wise.ErrorBoundary.errorAlert": "\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A.",
@@ -465,6 +501,7 @@ var th_default = {
465
501
  "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",
466
502
  "df.wise.ArraySchema.minItemsError": "\u0E42\u0E1B\u0E23\u0E14\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22 {minItems}",
467
503
  "df.wise.ArraySchema.removeItem": "\u0E25\u0E1A",
504
+ "df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
468
505
  "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",
469
506
  "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",
470
507
  "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",
@@ -475,6 +512,8 @@ var th_default = {
475
512
  "df.wise.ControlFeedback.patternDate": "\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E43\u0E19\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E17\u0E35\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07",
476
513
  "df.wise.ControlFeedback.required": "\u0E42\u0E1B\u0E23\u0E14\u0E43\u0E2A\u0E48\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E43\u0E19\u0E0A\u0E48\u0E2D\u0E07\u0E19\u0E35\u0E49",
477
514
  "df.wise.ControlFeedback.type": "\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07",
515
+ "df.wise.CopyFeedback.copy": "\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E44\u0E1B\u0E22\u0E31\u0E07\u0E04\u0E25\u0E34\u0E1B\u0E1A\u0E2D\u0E23\u0E4C\u0E14",
516
+ "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",
478
517
  "df.wise.DynamicParagraph.copied": "\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E44\u0E1B\u0E22\u0E31\u0E07\u0E04\u0E25\u0E34\u0E1B\u0E1A\u0E2D\u0E23\u0E4C\u0E14",
479
518
  "df.wise.DynamicParagraph.copy": "\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01",
480
519
  "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",
@@ -500,6 +539,7 @@ var tr_default = {
500
539
  "df.wise.ArraySchema.maxItemsError": "L\xFCtfen {maxItems} veya daha az ekleme yap\u0131n",
501
540
  "df.wise.ArraySchema.minItemsError": "L\xFCtfen en az {minItems} ekleme yap\u0131n.",
502
541
  "df.wise.ArraySchema.removeItem": "Kald\u0131r",
542
+ "df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
503
543
  "df.wise.ControlFeedback.maxLength": "L\xFCtfen {maxLength} veya daha az karakter girin.",
504
544
  "df.wise.ControlFeedback.maximum": "L\xFCtfen {maximum} veya daha d\xFC\u015F\xFCk bir say\u0131 girin.",
505
545
  "df.wise.ControlFeedback.maximumDate": "L\xFCtfen {maximum} veya daha erken bir tarih girin.",
@@ -510,6 +550,8 @@ var tr_default = {
510
550
  "df.wise.ControlFeedback.patternDate": "L\xFCtfen tarihi do\u011Fru bi\xE7imde girin.",
511
551
  "df.wise.ControlFeedback.required": "L\xFCtfen bu alan\u0131 doldurun.",
512
552
  "df.wise.ControlFeedback.type": "Ge\xE7ersiz se\xE7im",
553
+ "df.wise.CopyFeedback.copy": "Panoya kopyaland\u0131",
554
+ "df.wise.CopyFeedback.copyFailed": "Panoya kopyalama ba\u015Far\u0131s\u0131z oldu",
513
555
  "df.wise.DynamicParagraph.copied": "Panoya kopyaland\u0131",
514
556
  "df.wise.DynamicParagraph.copy": "Kopyala",
515
557
  "df.wise.ErrorBoundary.errorAlert": "Bir sorun olu\u015Ftu.",
@@ -535,6 +577,7 @@ var zh_CN_default = {
535
577
  "df.wise.ArraySchema.maxItemsError": "\u8BF7\u6DFB\u52A0\u4E0D\u8D85\u8FC7 {maxItems} \u9879\u3002",
536
578
  "df.wise.ArraySchema.minItemsError": "\u8BF7\u81F3\u5C11\u6DFB\u52A0 {minItems} \u9879\u3002",
537
579
  "df.wise.ArraySchema.removeItem": "\u79FB\u9664",
580
+ "df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
538
581
  "df.wise.ControlFeedback.maxLength": "\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC7 {maxLength} \u4E2A\u5B57\u7B26\u3002",
539
582
  "df.wise.ControlFeedback.maximum": "\u8BF7\u8F93\u5165\u4E00\u4E2A\u5C0F\u4E8E\u6216\u7B49\u4E8E {maximum} \u7684\u6570\u5B57\u3002",
540
583
  "df.wise.ControlFeedback.maximumDate": "\u8BF7\u8F93\u5165 {maximum} \u6216\u4E4B\u524D\u7684\u65E5\u671F",
@@ -545,6 +588,8 @@ var zh_CN_default = {
545
588
  "df.wise.ControlFeedback.patternDate": "\u8BF7\u4EE5\u6B63\u786E\u7684\u683C\u5F0F\u8F93\u5165\u65E5\u671F",
546
589
  "df.wise.ControlFeedback.required": "\u8BF7\u586B\u5199\u6B64\u5B57\u6BB5\u3002",
547
590
  "df.wise.ControlFeedback.type": "\u7C7B\u578B\u9519\u8BEF",
591
+ "df.wise.CopyFeedback.copy": "\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F",
592
+ "df.wise.CopyFeedback.copyFailed": "\u590D\u5236\u5230\u526A\u8D34\u677F\u5931\u8D25",
548
593
  "df.wise.DynamicParagraph.copied": "\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F",
549
594
  "df.wise.DynamicParagraph.copy": "\u590D\u5236",
550
595
  "df.wise.ErrorBoundary.errorAlert": "\u51FA\u9519\u4E86\u3002",
@@ -570,6 +615,7 @@ var zh_HK_default = {
570
615
  "df.wise.ArraySchema.maxItemsError": "\u8ACB\u6DFB\u52A0\u4E0D\u8D85\u904E{maxItems}\u9805\u3002",
571
616
  "df.wise.ArraySchema.minItemsError": "\u8ACB\u81F3\u5C11\u6DFB\u52A0{minItems}\u9805\u3002",
572
617
  "df.wise.ArraySchema.removeItem": "\u79FB\u9664",
618
+ "df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
573
619
  "df.wise.ControlFeedback.maxLength": "\u8ACB\u8F38\u5165\u6700\u591A{maxLength}\u500B\u5B57\u5143\u3002",
574
620
  "df.wise.ControlFeedback.maximum": "\u8ACB\u8F38\u5165\u4E00\u500B\u5C0F\u65BC\u6216\u7B49\u65BC{maximum}\u7684\u6578\u5B57\u3002",
575
621
  "df.wise.ControlFeedback.maximumDate": "\u8ACB\u8F38\u5165{maximum}\u6216\u4E4B\u524D\u7684\u65E5\u671F\u3002",
@@ -580,6 +626,8 @@ var zh_HK_default = {
580
626
  "df.wise.ControlFeedback.patternDate": "\u8ACB\u4EE5\u6B63\u78BA\u683C\u5F0F\u8F38\u5165\u65E5\u671F\u3002",
581
627
  "df.wise.ControlFeedback.required": "\u8ACB\u586B\u5BEB\u6B64\u6B04\u4F4D\u3002",
582
628
  "df.wise.ControlFeedback.type": "\u932F\u8AA4\u7684\u985E\u578B",
629
+ "df.wise.CopyFeedback.copy": "\u8907\u88FD\u5230\u526A\u8CBC\u677F",
630
+ "df.wise.CopyFeedback.copyFailed": "\u7121\u6CD5\u8907\u88FD\u5230\u526A\u8CBC\u677F",
583
631
  "df.wise.DynamicParagraph.copied": "\u8907\u88FD\u5230\u526A\u8CBC\u677F",
584
632
  "df.wise.DynamicParagraph.copy": "\u8907\u88FD",
585
633
  "df.wise.ErrorBoundary.errorAlert": "\u51FA\u4E86\u4E9B\u554F\u984C\u3002",
@@ -628,15 +676,16 @@ var i18n_default = translations;
628
676
 
629
677
  // src/dynamicFlow/DynamicFlow.tsx
630
678
  import { forwardRef, useCallback, useMemo as useMemo2 } from "react";
631
- import { useIntl as useIntl9 } from "react-intl";
679
+ import { useIntl as useIntl10 } from "react-intl";
632
680
  import {
633
681
  DynamicFlow as DynamicFlowCoreLegacy,
634
682
  DynamicFlowCoreRevamp,
635
683
  DynamicFormCore
636
684
  } from "@wise/dynamic-flow-client";
637
685
 
638
- // ../renderers/src/AlertRenderer.tsx
639
- import { Alert } from "@transferwise/components";
686
+ // ../renderers/src/ButtonRenderer/AddressValidationButtonRenderer.tsx
687
+ import { Button, InlineAlert } from "@transferwise/components";
688
+ import { useIntl } from "react-intl";
640
689
 
641
690
  // ../renderers/src/utils/layout-utils.ts
642
691
  var getMargin = (size) => {
@@ -668,11 +717,58 @@ var getTextAlignment = (align) => {
668
717
  };
669
718
  var getTextAlignmentAndMargin = (component) => `${getTextAlignment(component.align)} ${getMargin(component.margin)}`;
670
719
 
720
+ // ../renderers/src/messages/loading-button.messages.ts
721
+ import { defineMessages } from "react-intl";
722
+ var loading_button_messages_default = defineMessages({
723
+ buttonLoadingMessage: {
724
+ id: "df.wise.ButtonLayout.buttonLoadingMessage",
725
+ defaultMessage: "This might take a few seconds",
726
+ description: "Message displayed below a button when it is in a loading state."
727
+ }
728
+ });
729
+
730
+ // ../renderers/src/ButtonRenderer/AddressValidationButtonRenderer.tsx
731
+ import { useEffect, useState } from "react";
732
+ import { jsx, jsxs } from "react/jsx-runtime";
733
+ var AddressValidationButtonRenderer = {
734
+ canRenderType: "button",
735
+ canRender: ({ control }) => control === "address-validation",
736
+ render: AddressValidationButtonComponent
737
+ };
738
+ function AddressValidationButtonComponent(props) {
739
+ const { disabled, margin, title, stepLoadingState, onClick } = props;
740
+ const { formatMessage } = useIntl();
741
+ const [spinny, setSpinny] = useState(false);
742
+ useEffect(() => {
743
+ if (stepLoadingState === "idle") {
744
+ setSpinny(false);
745
+ }
746
+ }, [stepLoadingState]);
747
+ return /* @__PURE__ */ jsxs("div", { className: `d-flex flex-column ${getMargin(margin)}`, children: [
748
+ /* @__PURE__ */ jsx(
749
+ Button,
750
+ {
751
+ v2: true,
752
+ block: true,
753
+ disabled: stepLoadingState !== "idle" || disabled,
754
+ priority: "primary",
755
+ size: "md",
756
+ loading: spinny,
757
+ onClick,
758
+ children: title
759
+ }
760
+ ),
761
+ spinny && /* @__PURE__ */ jsx(InlineAlert, { type: "warning", className: "m-x-auto", children: formatMessage(loading_button_messages_default.buttonLoadingMessage) })
762
+ ] });
763
+ }
764
+ var AddressValidationButtonRenderer_default = AddressValidationButtonRenderer;
765
+
671
766
  // ../renderers/src/AlertRenderer.tsx
672
- import { jsx } from "react/jsx-runtime";
767
+ import { Alert } from "@transferwise/components";
768
+ import { jsx as jsx2 } from "react/jsx-runtime";
673
769
  var AlertRenderer = {
674
770
  canRenderType: "alert",
675
- render: ({ context, markdown, margin, callToAction }) => /* @__PURE__ */ jsx(
771
+ render: ({ context, markdown, margin, callToAction }) => /* @__PURE__ */ jsx2(
676
772
  Alert,
677
773
  {
678
774
  type: context,
@@ -695,13 +791,13 @@ var AlertRenderer_default = AlertRenderer;
695
791
 
696
792
  // ../renderers/src/BoxRenderer.tsx
697
793
  import classNames from "classnames";
698
- import { jsx as jsx2 } from "react/jsx-runtime";
794
+ import { jsx as jsx3 } from "react/jsx-runtime";
699
795
  var BoxRenderer = {
700
796
  canRenderType: "box",
701
797
  render: ({ children, control, margin, width }) => {
702
798
  const hasFixedWidth = width !== "xl";
703
799
  const hasBorder = control === "bordered" || control === "bordered-web";
704
- const contents = /* @__PURE__ */ jsx2(
800
+ const contents = /* @__PURE__ */ jsx3(
705
801
  "div",
706
802
  {
707
803
  className: classNames({
@@ -712,42 +808,43 @@ var BoxRenderer = {
712
808
  children
713
809
  }
714
810
  );
715
- return hasFixedWidth ? /* @__PURE__ */ jsx2("div", { className: classNames("df-box-renderer-fixed-width", getMargin(margin)), children: contents }) : contents;
811
+ return hasFixedWidth ? /* @__PURE__ */ jsx3("div", { className: classNames("df-box-renderer-fixed-width", getMargin(margin)), children: contents }) : contents;
716
812
  }
717
813
  };
718
814
  var BoxRenderer_default = BoxRenderer;
719
815
 
720
- // ../renderers/src/ButtonRenderer.tsx
721
- import { Button } from "@transferwise/components";
722
- import { useState } from "react";
723
- import { jsx as jsx3 } from "react/jsx-runtime";
816
+ // ../renderers/src/ButtonRenderer/ButtonRenderer.tsx
817
+ import { Button as Button2 } from "@transferwise/components";
818
+ import { useEffect as useEffect2, useState as useState2 } from "react";
819
+ import { jsx as jsx4 } from "react/jsx-runtime";
724
820
  var ButtonRenderer = {
725
821
  canRenderType: "button",
726
822
  render: ButtonComponent
727
823
  };
728
824
  function ButtonComponent(props) {
729
825
  const { control, context, disabled, margin, title, size, stepLoadingState, onClick } = props;
730
- const [isActive, setActive] = useState(false);
731
- const isLoading = isActive && stepLoadingState !== "idle";
826
+ const [spinny, setSpinny] = useState2(false);
827
+ useEffect2(() => {
828
+ if (stepLoadingState === "idle") {
829
+ setSpinny(false);
830
+ }
831
+ }, [stepLoadingState]);
732
832
  const priority = mapControl(control);
733
833
  const type = priority === "tertiary" ? void 0 : mapContext(context);
734
- return /* @__PURE__ */ jsx3(
735
- Button,
834
+ return /* @__PURE__ */ jsx4(
835
+ Button2,
736
836
  {
737
837
  block: true,
738
838
  className: getMargin(margin),
739
- disabled: isLoading ? false : disabled,
839
+ disabled: stepLoadingState !== "idle" || disabled,
740
840
  priority,
741
841
  size: mapSize(size),
742
- loading: isLoading,
842
+ loading: spinny,
743
843
  type,
744
844
  onClick: () => {
745
- setActive(true);
845
+ setSpinny(true);
746
846
  onClick();
747
847
  },
748
- onBlur: () => {
749
- setActive(false);
750
- },
751
848
  children: title
752
849
  }
753
850
  );
@@ -793,11 +890,11 @@ import { Field } from "@transferwise/components";
793
890
 
794
891
  // ../renderers/src/components/Help.tsx
795
892
  import { Info, Markdown } from "@transferwise/components";
796
- import { useIntl } from "react-intl";
893
+ import { useIntl as useIntl2 } from "react-intl";
797
894
 
798
895
  // ../renderers/src/messages/help.messages.ts
799
- import { defineMessages } from "react-intl";
800
- var help_messages_default = defineMessages({
896
+ import { defineMessages as defineMessages2 } from "react-intl";
897
+ var help_messages_default = defineMessages2({
801
898
  helpAria: {
802
899
  id: "df.wise.Help.ariaLabel",
803
900
  defaultMessage: "Click here for more info.",
@@ -806,14 +903,14 @@ var help_messages_default = defineMessages({
806
903
  });
807
904
 
808
905
  // ../renderers/src/components/Help.tsx
809
- import { jsx as jsx4 } from "react/jsx-runtime";
906
+ import { jsx as jsx5 } from "react/jsx-runtime";
810
907
  function Help({ help, onClick }) {
811
- const intl = useIntl();
812
- return /* @__PURE__ */ jsx4(
908
+ const intl = useIntl2();
909
+ return /* @__PURE__ */ jsx5(
813
910
  Info,
814
911
  {
815
912
  className: "m-l-1",
816
- content: /* @__PURE__ */ jsx4(Markdown, { config: { link: { target: "_blank" } }, children: help }),
913
+ content: /* @__PURE__ */ jsx5(Markdown, { config: { link: { target: "_blank" } }, children: help }),
817
914
  presentation: "POPOVER",
818
915
  size: "sm",
819
916
  "aria-label": intl.formatMessage(help_messages_default.helpAria),
@@ -824,19 +921,19 @@ function Help({ help, onClick }) {
824
921
  var Help_default = Help;
825
922
 
826
923
  // ../renderers/src/components/LabelContentWithHelp.tsx
827
- import { jsx as jsx5, jsxs } from "react/jsx-runtime";
924
+ import { jsx as jsx6, jsxs as jsxs2 } from "react/jsx-runtime";
828
925
  function LabelContentWithHelp({ text, help }) {
829
- return /* @__PURE__ */ jsxs("div", { children: [
926
+ return /* @__PURE__ */ jsxs2("div", { children: [
830
927
  text,
831
- /* @__PURE__ */ jsx5(Help_default, { help })
928
+ /* @__PURE__ */ jsx6(Help_default, { help })
832
929
  ] });
833
930
  }
834
931
 
835
932
  // ../renderers/src/components/FieldInput.tsx
836
- import { jsx as jsx6 } from "react/jsx-runtime";
933
+ import { jsx as jsx7 } from "react/jsx-runtime";
837
934
  function FieldInput({ id, children, label, validation, description, help }) {
838
- const labelContent = label && help ? /* @__PURE__ */ jsx6(LabelContentWithHelp, { text: label, help }) : label;
839
- return /* @__PURE__ */ jsx6(
935
+ const labelContent = label && help ? /* @__PURE__ */ jsx7(LabelContentWithHelp, { text: label, help }) : label;
936
+ return /* @__PURE__ */ jsx7(
840
937
  Field,
841
938
  {
842
939
  id,
@@ -861,7 +958,7 @@ var FieldInput_default = FieldInput;
861
958
 
862
959
  // ../renderers/src/CheckboxInputRenderer.tsx
863
960
  import { Checkbox } from "@transferwise/components";
864
- import { jsx as jsx7 } from "react/jsx-runtime";
961
+ import { jsx as jsx8 } from "react/jsx-runtime";
865
962
  var CheckboxInputRenderer = {
866
963
  canRenderType: "input-checkbox",
867
964
  render: (props) => {
@@ -885,17 +982,17 @@ var CheckboxInputRenderer = {
885
982
  "value"
886
983
  ]);
887
984
  const checkboxProps = __spreadProps(__spreadValues({}, rest), { label: title, secondary: description, checked: value });
888
- return /* @__PURE__ */ jsx7(FieldInput_default, { id, label: "", description: "", validation: validationState, help, children: /* @__PURE__ */ jsx7(Checkbox, __spreadValues({ id }, checkboxProps)) });
985
+ return /* @__PURE__ */ jsx8(FieldInput_default, { id, label: "", description: "", validation: validationState, help, children: /* @__PURE__ */ jsx8(Checkbox, __spreadValues({ id }, checkboxProps)) });
889
986
  }
890
987
  };
891
988
  var CheckboxInputRenderer_default = CheckboxInputRenderer;
892
989
 
893
990
  // ../renderers/src/ColumnsRenderer.tsx
894
991
  import classNames2 from "classnames";
895
- import { jsx as jsx8, jsxs as jsxs2 } from "react/jsx-runtime";
992
+ import { jsx as jsx9, jsxs as jsxs3 } from "react/jsx-runtime";
896
993
  var ColumnsRenderer = {
897
994
  canRenderType: "columns",
898
- render: ({ bias, margin, startChildren, endChildren }) => /* @__PURE__ */ jsxs2(
995
+ render: ({ bias, margin, startChildren, endChildren }) => /* @__PURE__ */ jsxs3(
899
996
  "div",
900
997
  {
901
998
  className: classNames2("df-columns-renderer-container", getMargin(margin), {
@@ -903,8 +1000,8 @@ var ColumnsRenderer = {
903
1000
  "df-columns-renderer-bias-end": bias === "end"
904
1001
  }),
905
1002
  children: [
906
- /* @__PURE__ */ jsx8("div", { className: "df-columns-renderer-column", children: startChildren }),
907
- /* @__PURE__ */ jsx8("div", { className: "df-columns-renderer-column", children: endChildren })
1003
+ /* @__PURE__ */ jsx9("div", { className: "df-columns-renderer-column", children: startChildren }),
1004
+ /* @__PURE__ */ jsx9("div", { className: "df-columns-renderer-column", children: endChildren })
908
1005
  ]
909
1006
  }
910
1007
  )
@@ -939,7 +1036,7 @@ var dateToDateString = (date) => {
939
1036
  };
940
1037
 
941
1038
  // ../renderers/src/components/VariableDateInput.tsx
942
- import { jsx as jsx9 } from "react/jsx-runtime";
1039
+ import { jsx as jsx10 } from "react/jsx-runtime";
943
1040
  function VariableDateInput({
944
1041
  control,
945
1042
  inputProps
@@ -955,7 +1052,7 @@ function VariableDateInput({
955
1052
  onFocus
956
1053
  } = inputProps;
957
1054
  if (control === "date-lookup") {
958
- return /* @__PURE__ */ jsx9(
1055
+ return /* @__PURE__ */ jsx10(
959
1056
  DateLookup,
960
1057
  {
961
1058
  value: dateStringToDateOrNull(inputProps.value),
@@ -971,7 +1068,7 @@ function VariableDateInput({
971
1068
  }
972
1069
  );
973
1070
  }
974
- return /* @__PURE__ */ jsx9(
1071
+ return /* @__PURE__ */ jsx10(
975
1072
  DateInput,
976
1073
  __spreadProps(__spreadValues({}, inputProps), {
977
1074
  dayAutoComplete: getAutocompleteString(autoComplete, "day"),
@@ -988,7 +1085,7 @@ var getAutocompleteString = (value, suffix) => {
988
1085
  var VariableDateInput_default = VariableDateInput;
989
1086
 
990
1087
  // ../renderers/src/DateInputRenderer.tsx
991
- import { jsx as jsx10 } from "react/jsx-runtime";
1088
+ import { jsx as jsx11 } from "react/jsx-runtime";
992
1089
  var DateInputRenderer = {
993
1090
  canRenderType: "input-date",
994
1091
  render: (props) => {
@@ -1013,7 +1110,7 @@ var DateInputRenderer = {
1013
1110
  ]);
1014
1111
  const value = initialValue != null ? initialValue : "";
1015
1112
  const inputProps = __spreadProps(__spreadValues({}, rest), { value, id });
1016
- return /* @__PURE__ */ jsx10(
1113
+ return /* @__PURE__ */ jsx11(
1017
1114
  FieldInput_default,
1018
1115
  {
1019
1116
  id,
@@ -1021,7 +1118,7 @@ var DateInputRenderer = {
1021
1118
  description,
1022
1119
  validation: validationState,
1023
1120
  help,
1024
- children: /* @__PURE__ */ jsx10(VariableDateInput_default, { control, inputProps })
1121
+ children: /* @__PURE__ */ jsx11(VariableDateInput_default, { control, inputProps })
1025
1122
  }
1026
1123
  );
1027
1124
  }
@@ -1039,19 +1136,19 @@ import { AvatarView } from "@transferwise/components";
1039
1136
 
1040
1137
  // ../renderers/src/components/icon/FlagIcon.tsx
1041
1138
  import { Flag } from "@wise/art";
1042
- import { jsx as jsx11 } from "react/jsx-runtime";
1139
+ import { jsx as jsx12 } from "react/jsx-runtime";
1043
1140
  var isFlagIcon = (name) => name.startsWith("flag-");
1044
1141
  function FlagIcon({ name }) {
1045
1142
  if (!isFlagIcon(name)) {
1046
1143
  return null;
1047
1144
  }
1048
1145
  const code = name.substring(5);
1049
- return /* @__PURE__ */ jsx11(Flag, { code, intrinsicSize: 24 });
1146
+ return /* @__PURE__ */ jsx12(Flag, { code, intrinsicSize: 24 });
1050
1147
  }
1051
1148
 
1052
1149
  // ../renderers/src/components/icon/NamedIcon.tsx
1053
1150
  import * as icons from "@transferwise/icons";
1054
- import { jsx as jsx12 } from "react/jsx-runtime";
1151
+ import { jsx as jsx13 } from "react/jsx-runtime";
1055
1152
  var isNamedIcon = (name) => {
1056
1153
  const iconName = toCapitalisedCamelCase(name);
1057
1154
  return Object.keys(icons).includes(iconName);
@@ -1062,19 +1159,19 @@ function NamedIcon({ name }) {
1062
1159
  }
1063
1160
  const iconName = toCapitalisedCamelCase(name);
1064
1161
  const Icon = icons[iconName];
1065
- return /* @__PURE__ */ jsx12(Icon, { size: 24 });
1162
+ return /* @__PURE__ */ jsx13(Icon, { size: 24 });
1066
1163
  }
1067
1164
  var toCapitalisedCamelCase = (value) => value.split("-").map(capitaliseFirstChar).join("");
1068
1165
  var capitaliseFirstChar = (value) => `${value[0].toUpperCase()}${value.slice(1)}`;
1069
1166
 
1070
1167
  // ../renderers/src/components/icon/DynamicIcon.tsx
1071
- import { jsx as jsx13 } from "react/jsx-runtime";
1168
+ import { jsx as jsx14 } from "react/jsx-runtime";
1072
1169
  function DynamicIcon({ name }) {
1073
1170
  if (isFlagIcon(name)) {
1074
- return /* @__PURE__ */ jsx13(FlagIcon, { name });
1171
+ return /* @__PURE__ */ jsx14(FlagIcon, { name });
1075
1172
  }
1076
1173
  if (isNamedIcon(name)) {
1077
- return /* @__PURE__ */ jsx13(NamedIcon, { name });
1174
+ return /* @__PURE__ */ jsx14(NamedIcon, { name });
1078
1175
  }
1079
1176
  return null;
1080
1177
  }
@@ -1082,23 +1179,23 @@ var DynamicIcon_default = DynamicIcon;
1082
1179
 
1083
1180
  // ../renderers/src/utils/UrnFlag.tsx
1084
1181
  import { Flag as Flag2 } from "@wise/art";
1085
- import { jsx as jsx14 } from "react/jsx-runtime";
1182
+ import { jsx as jsx15 } from "react/jsx-runtime";
1086
1183
  var countryUrnPrefix = "urn:wise:countries:";
1087
1184
  var currencyUrnPrefix = "urn:wise:currencies:";
1088
1185
  var isUrnFlag = (uri) => uri.startsWith(countryUrnPrefix) || uri.startsWith(currencyUrnPrefix);
1089
1186
  function UrnFlag({ size, urn }) {
1090
- return /* @__PURE__ */ jsx14(Flag2, { code: getCode(urn), intrinsicSize: size });
1187
+ return /* @__PURE__ */ jsx15(Flag2, { code: getCode(urn), intrinsicSize: size });
1091
1188
  }
1092
1189
  var getCode = (urn) => {
1093
1190
  return urn.replace(countryUrnPrefix, "").replace(currencyUrnPrefix, "").replace(":image", "").split("?")[0];
1094
1191
  };
1095
1192
 
1096
1193
  // ../renderers/src/utils/image-utils.tsx
1097
- import { jsx as jsx15 } from "react/jsx-runtime";
1194
+ import { jsx as jsx16 } from "react/jsx-runtime";
1098
1195
  var getBadgedMedia = (iconNode, imageNode, size) => {
1099
1196
  if (iconNode && imageNode) {
1100
1197
  if (imageNode && iconNode) {
1101
- return /* @__PURE__ */ jsx15(AvatarView, { size, badge: { asset: iconNode }, children: imageNode });
1198
+ return /* @__PURE__ */ jsx16(AvatarView, { size, badge: { asset: iconNode }, children: imageNode });
1102
1199
  }
1103
1200
  }
1104
1201
  return null;
@@ -1106,7 +1203,7 @@ var getBadgedMedia = (iconNode, imageNode, size) => {
1106
1203
  var getIconNode = (icon) => {
1107
1204
  if (icon) {
1108
1205
  if ("name" in icon) {
1109
- return /* @__PURE__ */ jsx15(DynamicIcon_default, { name: icon.name });
1206
+ return /* @__PURE__ */ jsx16(DynamicIcon_default, { name: icon.name });
1110
1207
  }
1111
1208
  if (icon.text) {
1112
1209
  return icon.text;
@@ -1118,17 +1215,17 @@ var getImageNode = (image, size) => {
1118
1215
  if (image) {
1119
1216
  const { accessibilityDescription, uri } = image;
1120
1217
  if (!uri.startsWith("urn:")) {
1121
- return /* @__PURE__ */ jsx15("img", { src: uri, alt: accessibilityDescription, width: `${size}px` });
1218
+ return /* @__PURE__ */ jsx16("img", { src: uri, alt: accessibilityDescription, width: `${size}px` });
1122
1219
  }
1123
1220
  if (isUrnFlag(uri)) {
1124
- return /* @__PURE__ */ jsx15(UrnFlag, { urn: uri, accessibilityDescription, size });
1221
+ return /* @__PURE__ */ jsx16(UrnFlag, { urn: uri, accessibilityDescription, size });
1125
1222
  }
1126
1223
  }
1127
1224
  return null;
1128
1225
  };
1129
1226
 
1130
1227
  // ../renderers/src/components/OptionMedia.tsx
1131
- import { jsx as jsx16 } from "react/jsx-runtime";
1228
+ import { jsx as jsx17 } from "react/jsx-runtime";
1132
1229
  var mediaSize = 48;
1133
1230
  function OptionMedia({
1134
1231
  icon,
@@ -1142,28 +1239,28 @@ function OptionMedia({
1142
1239
  return badge;
1143
1240
  }
1144
1241
  if (imageNode) {
1145
- return preferAvatar ? /* @__PURE__ */ jsx16(AvatarView2, { children: imageNode }) : imageNode;
1242
+ return preferAvatar ? /* @__PURE__ */ jsx17(AvatarView2, { children: imageNode }) : imageNode;
1146
1243
  }
1147
1244
  if (iconNode) {
1148
- return /* @__PURE__ */ jsx16(AvatarView2, { children: iconNode });
1245
+ return /* @__PURE__ */ jsx17(AvatarView2, { children: iconNode });
1149
1246
  }
1150
1247
  }
1151
1248
 
1152
1249
  // ../renderers/src/DecisionRenderer.tsx
1153
- import { jsx as jsx17, jsxs as jsxs3 } from "react/jsx-runtime";
1250
+ import { jsx as jsx18, jsxs as jsxs4 } from "react/jsx-runtime";
1154
1251
  var DecisionRenderer = {
1155
1252
  canRenderType: "decision",
1156
- render: ({ control, margin, options, title }) => /* @__PURE__ */ jsxs3("div", { className: getMargin(margin), children: [
1157
- title && /* @__PURE__ */ jsx17(Header, { as: "h2", title }),
1158
- /* @__PURE__ */ jsx17(NavigationOptionsList, { children: options.map((option) => {
1253
+ render: ({ control, margin, options, title }) => /* @__PURE__ */ jsxs4("div", { className: getMargin(margin), children: [
1254
+ title && /* @__PURE__ */ jsx18(Header, { as: "h2", title }),
1255
+ /* @__PURE__ */ jsx18(NavigationOptionsList, { children: options.map((option) => {
1159
1256
  const { description, disabled, icon, image, title: itemTitle, tag, onClick } = option;
1160
- return /* @__PURE__ */ jsx17(
1257
+ return /* @__PURE__ */ jsx18(
1161
1258
  NavigationOption,
1162
1259
  {
1163
1260
  title: itemTitle,
1164
1261
  content: description,
1165
1262
  disabled,
1166
- media: icon || image ? /* @__PURE__ */ jsx17(
1263
+ media: icon || image ? /* @__PURE__ */ jsx18(
1167
1264
  OptionMedia,
1168
1265
  {
1169
1266
  icon,
@@ -1183,19 +1280,19 @@ var DecisionRenderer = {
1183
1280
  var DecisionRenderer_default = DecisionRenderer;
1184
1281
 
1185
1282
  // ../renderers/src/DividerRenderer.tsx
1186
- import { jsx as jsx18 } from "react/jsx-runtime";
1283
+ import { jsx as jsx19 } from "react/jsx-runtime";
1187
1284
  var DividerRenderer = {
1188
1285
  canRenderType: "divider",
1189
- render: ({ margin }) => /* @__PURE__ */ jsx18("hr", { className: `m-t-0 ${getMargin(margin)}` })
1286
+ render: ({ margin }) => /* @__PURE__ */ jsx19("hr", { className: `m-t-0 ${getMargin(margin)}` })
1190
1287
  };
1191
1288
  var DividerRenderer_default = DividerRenderer;
1192
1289
 
1193
1290
  // ../renderers/src/ExternalConfirmationRenderer.tsx
1194
- import { Button as Button2, Markdown as Markdown2, Modal } from "@transferwise/components";
1291
+ import { Button as Button3, Markdown as Markdown2, Modal } from "@transferwise/components";
1195
1292
 
1196
1293
  // ../renderers/src/messages/external-confirmation.messages.ts
1197
- import { defineMessages as defineMessages2 } from "react-intl";
1198
- var external_confirmation_messages_default = defineMessages2({
1294
+ import { defineMessages as defineMessages3 } from "react-intl";
1295
+ var external_confirmation_messages_default = defineMessages3({
1199
1296
  title: {
1200
1297
  id: "df.wise.ExternalConfirmation.title",
1201
1298
  defaultMessage: "Please confirm",
@@ -1219,9 +1316,9 @@ var external_confirmation_messages_default = defineMessages2({
1219
1316
  });
1220
1317
 
1221
1318
  // ../renderers/src/ExternalConfirmationRenderer.tsx
1222
- import { useIntl as useIntl2 } from "react-intl";
1223
- import { useEffect } from "react";
1224
- import { Fragment, jsx as jsx19, jsxs as jsxs4 } from "react/jsx-runtime";
1319
+ import { useIntl as useIntl3 } from "react-intl";
1320
+ import { useEffect as useEffect3 } from "react";
1321
+ import { Fragment, jsx as jsx20, jsxs as jsxs5 } from "react/jsx-runtime";
1225
1322
  var ExternalConfirmationRenderer = {
1226
1323
  canRenderType: "external-confirmation",
1227
1324
  render: ExternalConfirmationRendererComponent
@@ -1233,8 +1330,8 @@ function ExternalConfirmationRendererComponent({
1233
1330
  onFailure,
1234
1331
  onCancel
1235
1332
  }) {
1236
- const { formatMessage } = useIntl2();
1237
- useEffect(() => {
1333
+ const { formatMessage } = useIntl3();
1334
+ useEffect3(() => {
1238
1335
  if (url) {
1239
1336
  const w = window.open(url, "_blank");
1240
1337
  if (w) {
@@ -1244,16 +1341,16 @@ function ExternalConfirmationRendererComponent({
1244
1341
  }
1245
1342
  }
1246
1343
  }, []);
1247
- return /* @__PURE__ */ jsx19(
1344
+ return /* @__PURE__ */ jsx20(
1248
1345
  Modal,
1249
1346
  {
1250
1347
  open: status === "failure",
1251
1348
  title: formatMessage(external_confirmation_messages_default.title),
1252
- body: /* @__PURE__ */ jsxs4(Fragment, { children: [
1253
- /* @__PURE__ */ jsx19(Markdown2, { config: { link: { target: "_blank" } }, className: "text-xs-center m-b-5", children: formatMessage(external_confirmation_messages_default.description, { origin: getOrigin(url) }) }),
1254
- /* @__PURE__ */ jsx19("div", { className: "df-box-renderer-fixed-width", children: /* @__PURE__ */ jsxs4("div", { className: "df-box-renderer-width-lg", children: [
1255
- /* @__PURE__ */ jsx19(
1256
- Button2,
1349
+ body: /* @__PURE__ */ jsxs5(Fragment, { children: [
1350
+ /* @__PURE__ */ jsx20(Markdown2, { config: { link: { target: "_blank" } }, className: "text-xs-center m-b-5", children: formatMessage(external_confirmation_messages_default.description, { origin: getOrigin(url) }) }),
1351
+ /* @__PURE__ */ jsx20("div", { className: "df-box-renderer-fixed-width", children: /* @__PURE__ */ jsxs5("div", { className: "df-box-renderer-width-lg", children: [
1352
+ /* @__PURE__ */ jsx20(
1353
+ Button3,
1257
1354
  {
1258
1355
  block: true,
1259
1356
  className: "m-b-2",
@@ -1266,7 +1363,7 @@ function ExternalConfirmationRendererComponent({
1266
1363
  children: formatMessage(external_confirmation_messages_default.open)
1267
1364
  }
1268
1365
  ),
1269
- /* @__PURE__ */ jsx19(Button2, { block: true, className: "m-b-2", priority: "tertiary", size: "md", onClick: onCancel, children: formatMessage(external_confirmation_messages_default.cancel) })
1366
+ /* @__PURE__ */ jsx20(Button3, { block: true, className: "m-b-2", priority: "tertiary", size: "md", onClick: onCancel, children: formatMessage(external_confirmation_messages_default.cancel) })
1270
1367
  ] }) })
1271
1368
  ] }),
1272
1369
  onClose: onCancel
@@ -1283,27 +1380,27 @@ function getOrigin(url) {
1283
1380
  var ExternalConfirmationRenderer_default = ExternalConfirmationRenderer;
1284
1381
 
1285
1382
  // ../renderers/src/FormRenderer.tsx
1286
- import { jsx as jsx20 } from "react/jsx-runtime";
1383
+ import { jsx as jsx21 } from "react/jsx-runtime";
1287
1384
  var FormRenderer = {
1288
1385
  canRenderType: "form",
1289
- render: ({ children, margin }) => /* @__PURE__ */ jsx20("div", { className: getMargin(margin), children })
1386
+ render: ({ children, margin }) => /* @__PURE__ */ jsx21("div", { className: getMargin(margin), children })
1290
1387
  };
1291
1388
  var FormRenderer_default = FormRenderer;
1292
1389
 
1293
1390
  // ../renderers/src/FormSectionRenderer.tsx
1294
1391
  import { Header as Header2 } from "@transferwise/components";
1295
- import { jsx as jsx21, jsxs as jsxs5 } from "react/jsx-runtime";
1392
+ import { jsx as jsx22, jsxs as jsxs6 } from "react/jsx-runtime";
1296
1393
  var FormSectionRenderer = {
1297
1394
  canRenderType: "form-section",
1298
- render: ({ title, description, children }) => /* @__PURE__ */ jsxs5("fieldset", { children: [
1299
- title && /* @__PURE__ */ jsx21(
1395
+ render: ({ title, description, children }) => /* @__PURE__ */ jsxs6("fieldset", { children: [
1396
+ title && /* @__PURE__ */ jsx22(
1300
1397
  Header2,
1301
1398
  {
1302
1399
  as: "h2",
1303
1400
  title
1304
1401
  }
1305
1402
  ),
1306
- description && /* @__PURE__ */ jsx21("p", { children: description }),
1403
+ description && /* @__PURE__ */ jsx22("p", { children: description }),
1307
1404
  children
1308
1405
  ] })
1309
1406
  };
@@ -1311,18 +1408,18 @@ var FormSectionRenderer_default = FormSectionRenderer;
1311
1408
 
1312
1409
  // ../renderers/src/HeadingRenderer.tsx
1313
1410
  import { Display, Title } from "@transferwise/components";
1314
- import { jsx as jsx22 } from "react/jsx-runtime";
1411
+ import { jsx as jsx23 } from "react/jsx-runtime";
1315
1412
  var HeadingRenderer = {
1316
1413
  canRenderType: "heading",
1317
- render: (props) => /* @__PURE__ */ jsx22(Heading, __spreadValues({}, props))
1414
+ render: (props) => /* @__PURE__ */ jsx23(Heading, __spreadValues({}, props))
1318
1415
  };
1319
1416
  function Heading(props) {
1320
1417
  const { text, size, align, margin, control } = props;
1321
1418
  const className = getTextAlignmentAndMargin({ align, margin });
1322
- return control === "display" ? /* @__PURE__ */ jsx22(DisplayHeading, { size, text, className }) : /* @__PURE__ */ jsx22(StandardHeading, { size, text, className });
1419
+ return control === "display" ? /* @__PURE__ */ jsx23(DisplayHeading, { size, text, className }) : /* @__PURE__ */ jsx23(StandardHeading, { size, text, className });
1323
1420
  }
1324
1421
  function DisplayHeading({ size, text, className }) {
1325
- return /* @__PURE__ */ jsx22(Display, { type: getDisplayType(size), className, children: text });
1422
+ return /* @__PURE__ */ jsx23(Display, { type: getDisplayType(size), className, children: text });
1326
1423
  }
1327
1424
  var getDisplayType = (size) => {
1328
1425
  switch (size) {
@@ -1338,7 +1435,7 @@ var getDisplayType = (size) => {
1338
1435
  }
1339
1436
  };
1340
1437
  function StandardHeading({ size, text, className }) {
1341
- return /* @__PURE__ */ jsx22(Title, { type: getTitleTypeBySize(size), className, children: text });
1438
+ return /* @__PURE__ */ jsx23(Title, { type: getTitleTypeBySize(size), className, children: text });
1342
1439
  }
1343
1440
  var getTitleTypeBySize = (size) => {
1344
1441
  var _a;
@@ -1355,7 +1452,7 @@ var HeadingRenderer_default = HeadingRenderer;
1355
1452
 
1356
1453
  // ../renderers/src/ImageRenderer/UrlImage.tsx
1357
1454
  import { Image } from "@transferwise/components";
1358
- import { useEffect as useEffect2, useState as useState2 } from "react";
1455
+ import { useEffect as useEffect4, useState as useState3 } from "react";
1359
1456
 
1360
1457
  // ../renderers/src/utils/api-utils.ts
1361
1458
  function isRelativePath(url = "") {
@@ -1365,7 +1462,7 @@ function isRelativePath(url = "") {
1365
1462
  }
1366
1463
 
1367
1464
  // ../renderers/src/ImageRenderer/UrlImage.tsx
1368
- import { jsx as jsx23 } from "react/jsx-runtime";
1465
+ import { jsx as jsx24 } from "react/jsx-runtime";
1369
1466
  function UrlImage({
1370
1467
  accessibilityDescription,
1371
1468
  align,
@@ -1374,13 +1471,13 @@ function UrlImage({
1374
1471
  uri,
1375
1472
  httpClient
1376
1473
  }) {
1377
- const [imageSource, setImageSource] = useState2("");
1378
- useEffect2(() => {
1474
+ const [imageSource, setImageSource] = useState3("");
1475
+ useEffect4(() => {
1379
1476
  if (!uri.startsWith("urn:")) {
1380
1477
  void getImageSource(httpClient, uri).then(setImageSource);
1381
1478
  }
1382
1479
  }, [uri, httpClient]);
1383
- return /* @__PURE__ */ jsx23("div", { className: `df-image ${align} ${size || "md"}`, children: /* @__PURE__ */ jsx23(
1480
+ return /* @__PURE__ */ jsx24("div", { className: `df-image ${align} ${size || "md"}`, children: /* @__PURE__ */ jsx24(
1384
1481
  Image,
1385
1482
  {
1386
1483
  className: `img-responsive ${getMargin(margin)}`,
@@ -1424,7 +1521,7 @@ var getImageSource = async (httpClient, imageUrl) => {
1424
1521
  };
1425
1522
 
1426
1523
  // ../renderers/src/ImageRenderer/UrnFlagImage.tsx
1427
- import { jsx as jsx24 } from "react/jsx-runtime";
1524
+ import { jsx as jsx25 } from "react/jsx-runtime";
1428
1525
  var maxFlagSize = 600;
1429
1526
  function UrnFlagImage({
1430
1527
  accessibilityDescription,
@@ -1433,7 +1530,7 @@ function UrnFlagImage({
1433
1530
  size,
1434
1531
  uri
1435
1532
  }) {
1436
- return /* @__PURE__ */ jsx24("div", { className: `df-image ${align} ${size || "md"} ${getMargin(margin)}`, children: /* @__PURE__ */ jsx24(UrnFlag, { size: maxFlagSize, urn: uri, accessibilityDescription }) });
1533
+ return /* @__PURE__ */ jsx25("div", { className: `df-image ${align} ${size || "md"} ${getMargin(margin)}`, children: /* @__PURE__ */ jsx25(UrnFlag, { size: maxFlagSize, urn: uri, accessibilityDescription }) });
1437
1534
  }
1438
1535
 
1439
1536
  // ../renderers/src/ImageRenderer/UrnIllustration.tsx
@@ -1457,7 +1554,7 @@ var isAnimated = (uri) => {
1457
1554
  };
1458
1555
 
1459
1556
  // ../renderers/src/ImageRenderer/UrnIllustration.tsx
1460
- import { jsx as jsx25 } from "react/jsx-runtime";
1557
+ import { jsx as jsx26 } from "react/jsx-runtime";
1461
1558
  var urnPrefix = "urn:wise:illustrations:";
1462
1559
  var isUrnIllustration = (uri) => uri.startsWith(urnPrefix);
1463
1560
  function UrnIllustration({
@@ -1471,9 +1568,9 @@ function UrnIllustration({
1471
1568
  const illustrationName = getIllustrationName(uri);
1472
1569
  const illustration3DName = getIllustration3DName(uri);
1473
1570
  if (illustration3DName && isAnimated(uri)) {
1474
- return /* @__PURE__ */ jsx25("div", { className: `df-image ${align} ${getMargin(margin)}`, children: /* @__PURE__ */ jsx25(Illustration3D, { name: illustration3DName, size: illustrationSize }) });
1571
+ return /* @__PURE__ */ jsx26("div", { className: `df-image ${align} ${getMargin(margin)}`, children: /* @__PURE__ */ jsx26(Illustration3D, { name: illustration3DName, size: illustrationSize }) });
1475
1572
  }
1476
- return /* @__PURE__ */ jsx25("div", { className: `df-image ${align} ${getMargin(margin)}`, children: /* @__PURE__ */ jsx25(
1573
+ return /* @__PURE__ */ jsx26("div", { className: `df-image ${align} ${getMargin(margin)}`, children: /* @__PURE__ */ jsx26(
1477
1574
  Illustration,
1478
1575
  {
1479
1576
  className: "df-illustration",
@@ -1493,24 +1590,24 @@ var getIllustration3DName = (uri) => {
1493
1590
  };
1494
1591
 
1495
1592
  // ../renderers/src/ImageRenderer/UrnImage.tsx
1496
- import { jsx as jsx26 } from "react/jsx-runtime";
1593
+ import { jsx as jsx27 } from "react/jsx-runtime";
1497
1594
  var isUrnImage = (uri) => uri.startsWith("urn:");
1498
1595
  function UrnImage(props) {
1499
1596
  const { uri } = props;
1500
1597
  if (isUrnIllustration(uri)) {
1501
- return /* @__PURE__ */ jsx26(UrnIllustration, __spreadValues({}, props));
1598
+ return /* @__PURE__ */ jsx27(UrnIllustration, __spreadValues({}, props));
1502
1599
  }
1503
1600
  if (isUrnFlag(uri)) {
1504
- return /* @__PURE__ */ jsx26(UrnFlagImage, __spreadValues({}, props));
1601
+ return /* @__PURE__ */ jsx27(UrnFlagImage, __spreadValues({}, props));
1505
1602
  }
1506
1603
  return null;
1507
1604
  }
1508
1605
 
1509
1606
  // ../renderers/src/ImageRenderer/ImageRenderer.tsx
1510
- import { jsx as jsx27 } from "react/jsx-runtime";
1607
+ import { jsx as jsx28 } from "react/jsx-runtime";
1511
1608
  var ImageRenderer = {
1512
1609
  canRenderType: "image",
1513
- render: (props) => isUrnImage(props.uri) ? /* @__PURE__ */ jsx27(UrnImage, __spreadValues({}, props)) : /* @__PURE__ */ jsx27(UrlImage, __spreadValues({}, props))
1610
+ render: (props) => isUrnImage(props.uri) ? /* @__PURE__ */ jsx28(UrnImage, __spreadValues({}, props)) : /* @__PURE__ */ jsx28(UrlImage, __spreadValues({}, props))
1514
1611
  };
1515
1612
 
1516
1613
  // ../renderers/src/ImageRenderer/index.tsx
@@ -1518,7 +1615,7 @@ var ImageRenderer_default = ImageRenderer;
1518
1615
 
1519
1616
  // ../renderers/src/InstructionsRenderer.tsx
1520
1617
  import { Header as Header3, InstructionsList } from "@transferwise/components";
1521
- import { jsx as jsx28, jsxs as jsxs6 } from "react/jsx-runtime";
1618
+ import { jsx as jsx29, jsxs as jsxs7 } from "react/jsx-runtime";
1522
1619
  var doContext = ["positive", "neutral"];
1523
1620
  var dontContext = ["warning", "negative"];
1524
1621
  var InstructionsRenderer = {
@@ -1526,9 +1623,9 @@ var InstructionsRenderer = {
1526
1623
  render: ({ items, margin, title }) => {
1527
1624
  const dos = items.filter((item) => doContext.includes(item.context)).map(({ text }) => text);
1528
1625
  const donts = items.filter((item) => dontContext.includes(item.context)).map(({ text }) => text);
1529
- return /* @__PURE__ */ jsxs6("div", { className: getMargin(margin), children: [
1530
- title ? /* @__PURE__ */ jsx28(Header3, { title }) : null,
1531
- /* @__PURE__ */ jsx28(InstructionsList, { dos, donts })
1626
+ return /* @__PURE__ */ jsxs7("div", { className: getMargin(margin), children: [
1627
+ title ? /* @__PURE__ */ jsx29(Header3, { title }) : null,
1628
+ /* @__PURE__ */ jsx29(InstructionsList, { dos, donts })
1532
1629
  ] });
1533
1630
  }
1534
1631
  };
@@ -1546,7 +1643,7 @@ var onWheel = (event) => {
1546
1643
 
1547
1644
  // ../renderers/src/utils/getInlineAvatar.tsx
1548
1645
  import { AvatarView as AvatarView3 } from "@transferwise/components";
1549
- import { jsx as jsx29 } from "react/jsx-runtime";
1646
+ import { jsx as jsx30 } from "react/jsx-runtime";
1550
1647
  var mediaSize2 = 24;
1551
1648
  function getInlineAvatar({ icon, image }) {
1552
1649
  const imageNode = getImageNode(image, mediaSize2);
@@ -1562,7 +1659,7 @@ function getInlineAvatar({ icon, image }) {
1562
1659
  return iconNode;
1563
1660
  }
1564
1661
  if (iconNode) {
1565
- return /* @__PURE__ */ jsx29(AvatarView3, { size: mediaSize2, children: iconNode });
1662
+ return /* @__PURE__ */ jsx30(AvatarView3, { size: mediaSize2, children: iconNode });
1566
1663
  }
1567
1664
  return null;
1568
1665
  }
@@ -1585,7 +1682,7 @@ function pick(obj, ...keys) {
1585
1682
  }
1586
1683
 
1587
1684
  // ../renderers/src/IntegerInputRenderer.tsx
1588
- import { jsx as jsx30 } from "react/jsx-runtime";
1685
+ import { jsx as jsx31 } from "react/jsx-runtime";
1589
1686
  var IntegerInputRenderer = {
1590
1687
  canRenderType: "input-integer",
1591
1688
  render: (props) => {
@@ -1600,7 +1697,7 @@ var IntegerInputRenderer = {
1600
1697
  "maximum",
1601
1698
  "minimum"
1602
1699
  );
1603
- return /* @__PURE__ */ jsx30(
1700
+ return /* @__PURE__ */ jsx31(
1604
1701
  FieldInput_default,
1605
1702
  {
1606
1703
  id,
@@ -1608,7 +1705,7 @@ var IntegerInputRenderer = {
1608
1705
  description,
1609
1706
  validation: validationState,
1610
1707
  help,
1611
- children: /* @__PURE__ */ jsx30(InputGroup, { addonStart: getInputGroupAddonStart({ icon, image }), children: /* @__PURE__ */ jsx30(
1708
+ children: /* @__PURE__ */ jsx31(InputGroup, { addonStart: getInputGroupAddonStart({ icon, image }), children: /* @__PURE__ */ jsx31(
1612
1709
  Input,
1613
1710
  __spreadValues({
1614
1711
  id,
@@ -1633,12 +1730,12 @@ var IntegerInputRenderer_default = IntegerInputRenderer;
1633
1730
  // ../renderers/src/ListRenderer.tsx
1634
1731
  import { Body, Header as Header4 } from "@transferwise/components";
1635
1732
  import classNames3 from "classnames";
1636
- import { jsx as jsx31, jsxs as jsxs7 } from "react/jsx-runtime";
1733
+ import { jsx as jsx32, jsxs as jsxs8 } from "react/jsx-runtime";
1637
1734
  var ListRenderer = {
1638
1735
  canRenderType: "list",
1639
- render: ({ callToAction, control, margin, items, title }) => /* @__PURE__ */ jsxs7("div", { className: getMargin(margin), children: [
1640
- (title || callToAction) && /* @__PURE__ */ jsx31(Header4, { as: "h2", title: title != null ? title : "", action: getListAction(callToAction) }),
1641
- items.map((props) => /* @__PURE__ */ jsx31(DesignSystemListItem, __spreadProps(__spreadValues({}, props), { control }), props.title))
1736
+ render: ({ callToAction, control, margin, items, title }) => /* @__PURE__ */ jsxs8("div", { className: getMargin(margin), children: [
1737
+ (title || callToAction) && /* @__PURE__ */ jsx32(Header4, { as: "h2", title: title != null ? title : "", action: getListAction(callToAction) }),
1738
+ items.map((props) => /* @__PURE__ */ jsx32(DesignSystemListItem, __spreadProps(__spreadValues({}, props), { control }), props.title))
1642
1739
  ] })
1643
1740
  };
1644
1741
  var DesignSystemListItem = ({
@@ -1649,15 +1746,15 @@ var DesignSystemListItem = ({
1649
1746
  image,
1650
1747
  control,
1651
1748
  tag
1652
- }) => /* @__PURE__ */ jsx31(
1749
+ }) => /* @__PURE__ */ jsx32(
1653
1750
  "label",
1654
1751
  {
1655
1752
  className: classNames3("np-option p-a-2", {
1656
1753
  "np-option__sm-media": true,
1657
1754
  "np-option__container-aligned": true
1658
1755
  }),
1659
- children: /* @__PURE__ */ jsxs7("div", { className: "media", children: [
1660
- icon || image ? /* @__PURE__ */ jsx31("div", { className: "media-left", children: /* @__PURE__ */ jsx31(
1756
+ children: /* @__PURE__ */ jsxs8("div", { className: "media", children: [
1757
+ icon || image ? /* @__PURE__ */ jsx32("div", { className: "media-left", children: /* @__PURE__ */ jsx32(
1661
1758
  ListItemMedia,
1662
1759
  {
1663
1760
  image,
@@ -1665,14 +1762,14 @@ var DesignSystemListItem = ({
1665
1762
  preferAvatar: control === "with-avatar" || tag === "with-avatar"
1666
1763
  }
1667
1764
  ) }) : null,
1668
- /* @__PURE__ */ jsxs7("div", { className: "media-body", children: [
1669
- /* @__PURE__ */ jsxs7("div", { className: "d-flex justify-content-between", children: [
1670
- /* @__PURE__ */ jsx31("h4", { className: "np-text-body-large-bold text-primary np-option__title", children: title }),
1671
- /* @__PURE__ */ jsx31("h4", { className: "np-text-body-large-bold text-primary np-option__title", children: supportingValues == null ? void 0 : supportingValues.value })
1765
+ /* @__PURE__ */ jsxs8("div", { className: "media-body", children: [
1766
+ /* @__PURE__ */ jsxs8("div", { className: "d-flex justify-content-between", children: [
1767
+ /* @__PURE__ */ jsx32("h4", { className: "np-text-body-large-bold text-primary np-option__title", children: title }),
1768
+ /* @__PURE__ */ jsx32("h4", { className: "np-text-body-large-bold text-primary np-option__title", children: supportingValues == null ? void 0 : supportingValues.value })
1672
1769
  ] }),
1673
- /* @__PURE__ */ jsxs7("div", { className: "d-flex justify-content-between", children: [
1674
- /* @__PURE__ */ jsx31(Body, { className: "d-block np-option__body", children: description }),
1675
- /* @__PURE__ */ jsx31(Body, { className: "d-block np-option__body", children: supportingValues == null ? void 0 : supportingValues.subvalue })
1770
+ /* @__PURE__ */ jsxs8("div", { className: "d-flex justify-content-between", children: [
1771
+ /* @__PURE__ */ jsx32(Body, { className: "d-block np-option__body", children: description }),
1772
+ /* @__PURE__ */ jsx32(Body, { className: "d-block np-option__body", children: supportingValues == null ? void 0 : supportingValues.subvalue })
1676
1773
  ] })
1677
1774
  ] })
1678
1775
  ] })
@@ -1685,10 +1782,10 @@ var ListItemMedia = ({
1685
1782
  preferAvatar
1686
1783
  }) => {
1687
1784
  if (icon) {
1688
- return /* @__PURE__ */ jsx31("div", { className: "circle circle-sm text-primary circle-inverse", children: /* @__PURE__ */ jsx31(OptionMedia, { icon, image, preferAvatar }) });
1785
+ return /* @__PURE__ */ jsx32("div", { className: "circle circle-sm text-primary circle-inverse", children: /* @__PURE__ */ jsx32(OptionMedia, { icon, image, preferAvatar }) });
1689
1786
  }
1690
1787
  if (image) {
1691
- return /* @__PURE__ */ jsx31("div", { className: "np-option__no-media-circle", children: /* @__PURE__ */ jsx31(OptionMedia, { icon, image, preferAvatar }) });
1788
+ return /* @__PURE__ */ jsx32("div", { className: "np-option__no-media-circle", children: /* @__PURE__ */ jsx32(OptionMedia, { icon, image, preferAvatar }) });
1692
1789
  }
1693
1790
  };
1694
1791
  var getListAction = (callToAction) => {
@@ -1705,10 +1802,10 @@ var ListRenderer_default = ListRenderer;
1705
1802
 
1706
1803
  // ../renderers/src/LoadingIndicatorRenderer.tsx
1707
1804
  import { Loader } from "@transferwise/components";
1708
- import { jsx as jsx32 } from "react/jsx-runtime";
1805
+ import { jsx as jsx33 } from "react/jsx-runtime";
1709
1806
  var LoadingIndicatorRenderer = {
1710
1807
  canRenderType: "loading-indicator",
1711
- render: ({ margin, size }) => /* @__PURE__ */ jsx32(
1808
+ render: ({ margin, size }) => /* @__PURE__ */ jsx33(
1712
1809
  Loader,
1713
1810
  {
1714
1811
  size,
@@ -1721,28 +1818,28 @@ var LoadingIndicatorRenderer_default = LoadingIndicatorRenderer;
1721
1818
 
1722
1819
  // ../renderers/src/MarkdownRenderer.tsx
1723
1820
  import { Markdown as Markdown3 } from "@transferwise/components";
1724
- import { jsx as jsx33 } from "react/jsx-runtime";
1821
+ import { jsx as jsx34 } from "react/jsx-runtime";
1725
1822
  var MarkdownRenderer = {
1726
1823
  canRenderType: "markdown",
1727
- render: ({ content, align, margin }) => /* @__PURE__ */ jsx33("div", { className: getTextAlignmentAndMargin({ align, margin }), children: /* @__PURE__ */ jsx33(Markdown3, { className: "np-text-body-large", config: { link: { target: "_blank" } }, children: content }) })
1824
+ render: ({ content, align, margin }) => /* @__PURE__ */ jsx34("div", { className: getTextAlignmentAndMargin({ align, margin }), children: /* @__PURE__ */ jsx34(Markdown3, { className: "np-text-body-large", config: { link: { target: "_blank" } }, children: content }) })
1728
1825
  };
1729
1826
  var MarkdownRenderer_default = MarkdownRenderer;
1730
1827
 
1731
1828
  // ../renderers/src/ModalLayoutRenderer.tsx
1732
- import { Button as Button3, Modal as Modal2 } from "@transferwise/components";
1733
- import { useState as useState3 } from "react";
1734
- import { jsx as jsx34, jsxs as jsxs8 } from "react/jsx-runtime";
1829
+ import { Button as Button4, Modal as Modal2 } from "@transferwise/components";
1830
+ import { useState as useState4 } from "react";
1831
+ import { jsx as jsx35, jsxs as jsxs9 } from "react/jsx-runtime";
1735
1832
  var ModalLayoutRenderer = {
1736
1833
  canRenderType: "modal-layout",
1737
- render: (props) => /* @__PURE__ */ jsx34(DFModal, __spreadValues({}, props))
1834
+ render: (props) => /* @__PURE__ */ jsx35(DFModal, __spreadValues({}, props))
1738
1835
  };
1739
1836
  var ModalLayoutRenderer_default = ModalLayoutRenderer;
1740
1837
  function DFModal({ content, margin, trigger }) {
1741
- const [visible, setVisible] = useState3(false);
1838
+ const [visible, setVisible] = useState4(false);
1742
1839
  const { children, title } = content;
1743
- return /* @__PURE__ */ jsxs8("div", { className: getMargin(margin), children: [
1744
- /* @__PURE__ */ jsx34(Button3, { priority: "tertiary", block: true, onClick: () => setVisible(true), children: trigger.title }),
1745
- /* @__PURE__ */ jsx34(
1840
+ return /* @__PURE__ */ jsxs9("div", { className: getMargin(margin), children: [
1841
+ /* @__PURE__ */ jsx35(Button4, { priority: "tertiary", block: true, onClick: () => setVisible(true), children: trigger.title }),
1842
+ /* @__PURE__ */ jsx35(
1746
1843
  Modal2,
1747
1844
  {
1748
1845
  scroll: "content",
@@ -1758,22 +1855,22 @@ function DFModal({ content, margin, trigger }) {
1758
1855
 
1759
1856
  // ../renderers/src/ModalRenderer.tsx
1760
1857
  import { Modal as Modal3 } from "@transferwise/components";
1761
- import { jsx as jsx35 } from "react/jsx-runtime";
1858
+ import { jsx as jsx36 } from "react/jsx-runtime";
1762
1859
  var ModalRenderer = {
1763
1860
  canRenderType: "modal",
1764
1861
  render: ({ title, children, open, onClose }) => {
1765
- return /* @__PURE__ */ jsx35(Modal3, { open, title, body: children, onClose });
1862
+ return /* @__PURE__ */ jsx36(Modal3, { open, title, body: children, onClose });
1766
1863
  }
1767
1864
  };
1768
1865
 
1769
1866
  // ../renderers/src/MultiSelectInputRenderer.tsx
1770
1867
  import { SelectInput, SelectInputOptionContent } from "@transferwise/components";
1771
- import { useState as useState4 } from "react";
1772
- import { useIntl as useIntl3 } from "react-intl";
1868
+ import { useState as useState5 } from "react";
1869
+ import { useIntl as useIntl4 } from "react-intl";
1773
1870
 
1774
1871
  // ../renderers/src/messages/multi-select.messages.ts
1775
- import { defineMessages as defineMessages3 } from "react-intl";
1776
- var multi_select_messages_default = defineMessages3({
1872
+ import { defineMessages as defineMessages4 } from "react-intl";
1873
+ var multi_select_messages_default = defineMessages4({
1777
1874
  summary: {
1778
1875
  id: "df.wise.MultiSelect.summary",
1779
1876
  defaultMessage: "{first} and {count} more",
@@ -1782,14 +1879,14 @@ var multi_select_messages_default = defineMessages3({
1782
1879
  });
1783
1880
 
1784
1881
  // ../renderers/src/MultiSelectInputRenderer.tsx
1785
- import { jsx as jsx36 } from "react/jsx-runtime";
1882
+ import { jsx as jsx37 } from "react/jsx-runtime";
1786
1883
  var MultiSelectInputRenderer = {
1787
1884
  canRenderType: "input-multi-select",
1788
- render: (props) => /* @__PURE__ */ jsx36(MultiSelectInputRendererComponent, __spreadValues({}, props))
1885
+ render: (props) => /* @__PURE__ */ jsx37(MultiSelectInputRendererComponent, __spreadValues({}, props))
1789
1886
  };
1790
1887
  function MultiSelectInputRendererComponent(props) {
1791
- const { formatMessage } = useIntl3();
1792
- const [stagedIndices, setStagedIndices] = useState4();
1888
+ const { formatMessage } = useIntl4();
1889
+ const [stagedIndices, setStagedIndices] = useState5();
1793
1890
  const {
1794
1891
  id,
1795
1892
  autoComplete,
@@ -1827,12 +1924,12 @@ function MultiSelectInputRendererComponent(props) {
1827
1924
  const contentProps = {
1828
1925
  title: option.title,
1829
1926
  description: option.description,
1830
- icon: /* @__PURE__ */ jsx36(OptionMedia, { icon: option.icon, image: option.image, preferAvatar: false })
1927
+ icon: /* @__PURE__ */ jsx37(OptionMedia, { icon: option.icon, image: option.image, preferAvatar: false })
1831
1928
  };
1832
- return /* @__PURE__ */ jsx36(SelectInputOptionContent, __spreadValues({}, contentProps));
1929
+ return /* @__PURE__ */ jsx37(SelectInputOptionContent, __spreadValues({}, contentProps));
1833
1930
  };
1834
1931
  const extraProps = { autoComplete };
1835
- return /* @__PURE__ */ jsx36(
1932
+ return /* @__PURE__ */ jsx37(
1836
1933
  FieldInput_default,
1837
1934
  {
1838
1935
  id,
@@ -1840,7 +1937,7 @@ function MultiSelectInputRendererComponent(props) {
1840
1937
  help,
1841
1938
  description,
1842
1939
  validation: validationState,
1843
- children: /* @__PURE__ */ jsx36(
1940
+ children: /* @__PURE__ */ jsx37(
1844
1941
  SelectInput,
1845
1942
  __spreadValues({
1846
1943
  id,
@@ -1883,9 +1980,9 @@ var MultiSelectInputRenderer_default = MultiSelectInputRenderer;
1883
1980
  import { UploadInput } from "@transferwise/components";
1884
1981
 
1885
1982
  // ../renderers/src/components/UploadFieldInput.tsx
1886
- import { InlineAlert } from "@transferwise/components";
1983
+ import { InlineAlert as InlineAlert2 } from "@transferwise/components";
1887
1984
  import classNames4 from "classnames";
1888
- import { jsx as jsx37, jsxs as jsxs9 } from "react/jsx-runtime";
1985
+ import { jsx as jsx38, jsxs as jsxs10 } from "react/jsx-runtime";
1889
1986
  function UploadFieldInput({
1890
1987
  id,
1891
1988
  children,
@@ -1894,18 +1991,18 @@ function UploadFieldInput({
1894
1991
  help,
1895
1992
  validation
1896
1993
  }) {
1897
- const labelContent = label && help ? /* @__PURE__ */ jsx37(LabelContentWithHelp, { text: label, help }) : label;
1994
+ const labelContent = label && help ? /* @__PURE__ */ jsx38(LabelContentWithHelp, { text: label, help }) : label;
1898
1995
  const descriptionId = description ? `${id}-description` : void 0;
1899
- return /* @__PURE__ */ jsxs9(
1996
+ return /* @__PURE__ */ jsxs10(
1900
1997
  "div",
1901
1998
  {
1902
1999
  className: classNames4("form-group d-block", {
1903
2000
  "has-error": (validation == null ? void 0 : validation.status) === "invalid"
1904
2001
  }),
1905
2002
  children: [
1906
- /* @__PURE__ */ jsx37("label", { htmlFor: id, className: "control-label", children: labelContent }),
2003
+ /* @__PURE__ */ jsx38("label", { htmlFor: id, className: "control-label", children: labelContent }),
1907
2004
  children,
1908
- (validation == null ? void 0 : validation.status) === "invalid" && /* @__PURE__ */ jsx37(InlineAlert, { type: "negative", id: descriptionId, children: validation.message })
2005
+ (validation == null ? void 0 : validation.status) === "invalid" && /* @__PURE__ */ jsx38(InlineAlert2, { type: "negative", id: descriptionId, children: validation.message })
1909
2006
  ]
1910
2007
  }
1911
2008
  );
@@ -1934,7 +2031,7 @@ var getFileType = (base64Url) => {
1934
2031
  };
1935
2032
 
1936
2033
  // ../renderers/src/MultiUploadInputRenderer.tsx
1937
- import { jsx as jsx38 } from "react/jsx-runtime";
2034
+ import { jsx as jsx39 } from "react/jsx-runtime";
1938
2035
  var MultiUploadInputRenderer = {
1939
2036
  canRenderType: "input-upload-multi",
1940
2037
  render: (props) => {
@@ -1959,7 +2056,7 @@ var MultiUploadInputRenderer = {
1959
2056
  };
1960
2057
  const onDeleteFile = async (fileId) => onRemoveFile(value.findIndex((file) => file.id === fileId));
1961
2058
  const descriptionId = description ? `${id}-description` : void 0;
1962
- return /* @__PURE__ */ jsx38(
2059
+ return /* @__PURE__ */ jsx39(
1963
2060
  UploadFieldInput_default,
1964
2061
  {
1965
2062
  id,
@@ -1967,7 +2064,7 @@ var MultiUploadInputRenderer = {
1967
2064
  description,
1968
2065
  validation: validationState,
1969
2066
  help,
1970
- children: /* @__PURE__ */ jsx38(
2067
+ children: /* @__PURE__ */ jsx39(
1971
2068
  UploadInput,
1972
2069
  {
1973
2070
  id,
@@ -1991,7 +2088,7 @@ var MultiUploadInputRenderer_default = MultiUploadInputRenderer;
1991
2088
 
1992
2089
  // ../renderers/src/NumberInputRenderer.tsx
1993
2090
  import { Input as Input2, InputGroup as InputGroup2 } from "@transferwise/components";
1994
- import { jsx as jsx39 } from "react/jsx-runtime";
2091
+ import { jsx as jsx40 } from "react/jsx-runtime";
1995
2092
  var NumberInputRenderer = {
1996
2093
  canRenderType: "input-number",
1997
2094
  render: (props) => {
@@ -2005,7 +2102,7 @@ var NumberInputRenderer = {
2005
2102
  "maximum",
2006
2103
  "minimum"
2007
2104
  );
2008
- return /* @__PURE__ */ jsx39(
2105
+ return /* @__PURE__ */ jsx40(
2009
2106
  FieldInput_default,
2010
2107
  {
2011
2108
  id,
@@ -2013,7 +2110,7 @@ var NumberInputRenderer = {
2013
2110
  description,
2014
2111
  validation: validationState,
2015
2112
  help,
2016
- children: /* @__PURE__ */ jsx39(InputGroup2, { addonStart: getInputGroupAddonStart({ icon, image }), children: /* @__PURE__ */ jsx39(
2113
+ children: /* @__PURE__ */ jsx40(InputGroup2, { addonStart: getInputGroupAddonStart({ icon, image }), children: /* @__PURE__ */ jsx40(
2017
2114
  Input2,
2018
2115
  __spreadValues({
2019
2116
  id,
@@ -2034,7 +2131,7 @@ var NumberInputRenderer = {
2034
2131
  var NumberInputRenderer_default = NumberInputRenderer;
2035
2132
 
2036
2133
  // ../renderers/src/ParagraphRenderer.tsx
2037
- import { useIntl as useIntl4 } from "react-intl";
2134
+ import { useIntl as useIntl5 } from "react-intl";
2038
2135
 
2039
2136
  // ../renderers/src/hooks/useSnackBarIfAvailable.ts
2040
2137
  import { SnackbarContext } from "@transferwise/components";
@@ -2046,12 +2143,12 @@ function useSnackBarIfAvailable() {
2046
2143
  }
2047
2144
 
2048
2145
  // ../renderers/src/ParagraphRenderer.tsx
2049
- import { Button as Button4, Input as Input3 } from "@transferwise/components";
2146
+ import { Button as Button5, Input as Input3 } from "@transferwise/components";
2050
2147
  import classNames5 from "classnames";
2051
2148
 
2052
2149
  // ../renderers/src/messages/paragraph.messages.ts
2053
- import { defineMessages as defineMessages4 } from "react-intl";
2054
- var paragraph_messages_default = defineMessages4({
2150
+ import { defineMessages as defineMessages5 } from "react-intl";
2151
+ var paragraph_messages_default = defineMessages5({
2055
2152
  copy: {
2056
2153
  id: "df.wise.DynamicParagraph.copy",
2057
2154
  defaultMessage: "Copy",
@@ -2065,32 +2162,32 @@ var paragraph_messages_default = defineMessages4({
2065
2162
  });
2066
2163
 
2067
2164
  // ../renderers/src/ParagraphRenderer.tsx
2068
- import { jsx as jsx40, jsxs as jsxs10 } from "react/jsx-runtime";
2165
+ import { jsx as jsx41, jsxs as jsxs11 } from "react/jsx-runtime";
2069
2166
  var ParagraphRenderer = {
2070
2167
  canRenderType: "paragraph",
2071
- render: (props) => /* @__PURE__ */ jsx40(Paragraph, __spreadValues({}, props))
2168
+ render: (props) => /* @__PURE__ */ jsx41(Paragraph, __spreadValues({}, props))
2072
2169
  };
2073
2170
  function Paragraph({ align, control, margin, text }) {
2074
2171
  const className = getTextAlignmentAndMargin({ align, margin });
2075
- return control === "copyable" ? /* @__PURE__ */ jsx40(CopyableParagraph, { className, align, text }) : /* @__PURE__ */ jsx40(StandardParagraph, { className, text });
2172
+ return control === "copyable" ? /* @__PURE__ */ jsx41(CopyableParagraph, { className, align, text }) : /* @__PURE__ */ jsx41(StandardParagraph, { className, text });
2076
2173
  }
2077
2174
  function StandardParagraph({ text, className }) {
2078
- return /* @__PURE__ */ jsx40("p", { className: `np-text-body-large ${className}`, children: text });
2175
+ return /* @__PURE__ */ jsx41("p", { className: `np-text-body-large ${className}`, children: text });
2079
2176
  }
2080
2177
  function CopyableParagraph({
2081
2178
  text,
2082
2179
  align,
2083
2180
  className
2084
2181
  }) {
2085
- const { formatMessage } = useIntl4();
2182
+ const { formatMessage } = useIntl5();
2086
2183
  const createSnackbar = useSnackBarIfAvailable();
2087
2184
  const copy = () => {
2088
2185
  navigator.clipboard.writeText(text).then(() => createSnackbar({ text: formatMessage(paragraph_messages_default.copied) })).catch(() => {
2089
2186
  });
2090
2187
  };
2091
2188
  const inputAlignmentClasses = getTextAlignmentAndMargin({ align, margin: "sm" });
2092
- return /* @__PURE__ */ jsxs10("div", { className, children: [
2093
- /* @__PURE__ */ jsx40(
2189
+ return /* @__PURE__ */ jsxs11("div", { className, children: [
2190
+ /* @__PURE__ */ jsx41(
2094
2191
  Input3,
2095
2192
  {
2096
2193
  type: "text",
@@ -2099,21 +2196,21 @@ function CopyableParagraph({
2099
2196
  className: classNames5("text-ellipsis", inputAlignmentClasses)
2100
2197
  }
2101
2198
  ),
2102
- /* @__PURE__ */ jsx40(Button4, { block: true, onClick: copy, children: formatMessage(paragraph_messages_default.copy) })
2199
+ /* @__PURE__ */ jsx41(Button5, { block: true, onClick: copy, children: formatMessage(paragraph_messages_default.copy) })
2103
2200
  ] });
2104
2201
  }
2105
2202
  var ParagraphRenderer_default = ParagraphRenderer;
2106
2203
 
2107
2204
  // ../renderers/src/RepeatableRenderer.tsx
2108
- import { Button as Button5, Header as Header5, InlineAlert as InlineAlert2, Modal as Modal4, NavigationOption as NavigationOption2 } from "@transferwise/components";
2205
+ import { Button as Button6, Header as Header5, InlineAlert as InlineAlert3, Modal as Modal4, NavigationOption as NavigationOption2 } from "@transferwise/components";
2109
2206
  import { Plus } from "@transferwise/icons";
2110
2207
  import classNames6 from "classnames";
2111
- import { useState as useState5 } from "react";
2112
- import { useIntl as useIntl5 } from "react-intl";
2208
+ import { useState as useState6 } from "react";
2209
+ import { useIntl as useIntl6 } from "react-intl";
2113
2210
 
2114
2211
  // ../renderers/src/messages/repeatable.messages.ts
2115
- import { defineMessages as defineMessages5 } from "react-intl";
2116
- var repeatable_messages_default = defineMessages5({
2212
+ import { defineMessages as defineMessages6 } from "react-intl";
2213
+ var repeatable_messages_default = defineMessages6({
2117
2214
  addItemTitle: {
2118
2215
  id: "df.wise.ArraySchema.addItemTitle",
2119
2216
  defaultMessage: "Add Item",
@@ -2137,10 +2234,10 @@ var repeatable_messages_default = defineMessages5({
2137
2234
  });
2138
2235
 
2139
2236
  // ../renderers/src/RepeatableRenderer.tsx
2140
- import { Fragment as Fragment2, jsx as jsx41, jsxs as jsxs11 } from "react/jsx-runtime";
2237
+ import { Fragment as Fragment2, jsx as jsx42, jsxs as jsxs12 } from "react/jsx-runtime";
2141
2238
  var RepeatableRenderer = {
2142
2239
  canRenderType: "repeatable",
2143
- render: (props) => /* @__PURE__ */ jsx41(Repeatable, __spreadValues({}, props))
2240
+ render: (props) => /* @__PURE__ */ jsx42(Repeatable, __spreadValues({}, props))
2144
2241
  };
2145
2242
  function Repeatable(props) {
2146
2243
  const {
@@ -2156,8 +2253,8 @@ function Repeatable(props) {
2156
2253
  onSave,
2157
2254
  onRemove
2158
2255
  } = props;
2159
- const { formatMessage } = useIntl5();
2160
- const [openModalType, setOpenModalType] = useState5(null);
2256
+ const { formatMessage } = useIntl6();
2257
+ const [openModalType, setOpenModalType] = useState6(null);
2161
2258
  const onAddItem = () => {
2162
2259
  onAdd();
2163
2260
  setOpenModalType("add");
@@ -2179,40 +2276,40 @@ function Repeatable(props) {
2179
2276
  const onCancelEdit = () => {
2180
2277
  setOpenModalType(null);
2181
2278
  };
2182
- return /* @__PURE__ */ jsxs11(Fragment2, { children: [
2183
- title && /* @__PURE__ */ jsx41(Header5, { title }),
2184
- description && /* @__PURE__ */ jsx41("p", { children: description }),
2185
- /* @__PURE__ */ jsxs11(
2279
+ return /* @__PURE__ */ jsxs12(Fragment2, { children: [
2280
+ title && /* @__PURE__ */ jsx42(Header5, { title }),
2281
+ description && /* @__PURE__ */ jsx42("p", { children: description }),
2282
+ /* @__PURE__ */ jsxs12(
2186
2283
  "div",
2187
2284
  {
2188
2285
  className: classNames6("form-group", {
2189
2286
  "has-error": (validationState == null ? void 0 : validationState.status) === "invalid"
2190
2287
  }),
2191
2288
  children: [
2192
- items == null ? void 0 : items.map((item, index) => /* @__PURE__ */ jsx41(ItemSummaryOption, { item, onClick: () => onEditItem(index) }, item.id)),
2193
- /* @__PURE__ */ jsx41(
2289
+ items == null ? void 0 : items.map((item, index) => /* @__PURE__ */ jsx42(ItemSummaryOption, { item, onClick: () => onEditItem(index) }, item.id)),
2290
+ /* @__PURE__ */ jsx42(
2194
2291
  NavigationOption2,
2195
2292
  {
2196
- media: /* @__PURE__ */ jsx41(Plus, {}),
2293
+ media: /* @__PURE__ */ jsx42(Plus, {}),
2197
2294
  title: addItemTitle || formatMessage(repeatable_messages_default.addItemTitle),
2198
2295
  showMediaAtAllSizes: true,
2199
2296
  onClick: () => onAddItem()
2200
2297
  }
2201
2298
  ),
2202
- (validationState == null ? void 0 : validationState.status) === "invalid" && /* @__PURE__ */ jsx41(InlineAlert2, { type: "negative", children: validationState.message })
2299
+ (validationState == null ? void 0 : validationState.status) === "invalid" && /* @__PURE__ */ jsx42(InlineAlert3, { type: "negative", children: validationState.message })
2203
2300
  ]
2204
2301
  }
2205
2302
  ),
2206
- /* @__PURE__ */ jsx41(
2303
+ /* @__PURE__ */ jsx42(
2207
2304
  Modal4,
2208
2305
  {
2209
2306
  open: openModalType !== null,
2210
2307
  title: (openModalType === "add" ? addItemTitle : editItemTitle) || formatMessage(repeatable_messages_default.addItemTitle),
2211
- body: /* @__PURE__ */ jsxs11(Fragment2, { children: [
2212
- /* @__PURE__ */ jsx41("div", { className: "m-b-2", children: editableItem }),
2213
- /* @__PURE__ */ jsxs11("div", { children: [
2214
- /* @__PURE__ */ jsx41(Button5, { priority: "primary", block: true, className: "m-b-2", onClick: () => onSaveItem(), children: formatMessage(repeatable_messages_default.addItem) }),
2215
- /* @__PURE__ */ jsx41(Button5, { priority: "secondary", type: "negative", block: true, onClick: () => onRemoveItem(), children: formatMessage(repeatable_messages_default.removeItem) })
2308
+ body: /* @__PURE__ */ jsxs12(Fragment2, { children: [
2309
+ /* @__PURE__ */ jsx42("div", { className: "m-b-2", children: editableItem }),
2310
+ /* @__PURE__ */ jsxs12("div", { children: [
2311
+ /* @__PURE__ */ jsx42(Button6, { priority: "primary", block: true, className: "m-b-2", onClick: () => onSaveItem(), children: formatMessage(repeatable_messages_default.addItem) }),
2312
+ /* @__PURE__ */ jsx42(Button6, { priority: "secondary", type: "negative", block: true, onClick: () => onRemoveItem(), children: formatMessage(repeatable_messages_default.removeItem) })
2216
2313
  ] })
2217
2314
  ] }),
2218
2315
  onClose: () => onCancelEdit()
@@ -2224,10 +2321,10 @@ function ItemSummaryOption({
2224
2321
  item,
2225
2322
  onClick
2226
2323
  }) {
2227
- return /* @__PURE__ */ jsx41(
2324
+ return /* @__PURE__ */ jsx42(
2228
2325
  NavigationOption2,
2229
2326
  {
2230
- media: /* @__PURE__ */ jsx41(OptionMedia, __spreadProps(__spreadValues({}, item), { preferAvatar: false })),
2327
+ media: /* @__PURE__ */ jsx42(OptionMedia, __spreadProps(__spreadValues({}, item), { preferAvatar: false })),
2231
2328
  title: item.title,
2232
2329
  content: item.description,
2233
2330
  showMediaAtAllSizes: true,
@@ -2262,14 +2359,14 @@ var getHeaderAction = (callToAction) => {
2262
2359
  };
2263
2360
 
2264
2361
  // ../renderers/src/ReviewRenderer.tsx
2265
- import { Fragment as Fragment3, jsx as jsx42, jsxs as jsxs12 } from "react/jsx-runtime";
2362
+ import { Fragment as Fragment3, jsx as jsx43, jsxs as jsxs13 } from "react/jsx-runtime";
2266
2363
  var ReviewRenderer = {
2267
2364
  canRenderType: "review",
2268
2365
  render: ({ callToAction, control, fields, margin, title, trackEvent }) => {
2269
2366
  const orientation = mapControlToDefinitionListLayout(control);
2270
- return /* @__PURE__ */ jsxs12("div", { className: getMargin(margin), children: [
2271
- (title || callToAction) && /* @__PURE__ */ jsx42(Header6, { title: title != null ? title : "", action: getHeaderAction(callToAction) }),
2272
- /* @__PURE__ */ jsx42("div", { className: margin, children: /* @__PURE__ */ jsx42(
2367
+ return /* @__PURE__ */ jsxs13("div", { className: getMargin(margin), children: [
2368
+ (title || callToAction) && /* @__PURE__ */ jsx43(Header6, { title: title != null ? title : "", action: getHeaderAction(callToAction) }),
2369
+ /* @__PURE__ */ jsx43("div", { className: margin, children: /* @__PURE__ */ jsx43(
2273
2370
  DefinitionList,
2274
2371
  {
2275
2372
  layout: orientation,
@@ -2308,14 +2405,14 @@ var mapControlToDefinitionListLayout = (control) => {
2308
2405
  };
2309
2406
  var getFieldValue = (value, help, orientation, onClick) => {
2310
2407
  if (help) {
2311
- return orientation === "HORIZONTAL_RIGHT_ALIGNED" ? /* @__PURE__ */ jsxs12(Fragment3, { children: [
2312
- /* @__PURE__ */ jsx42(Help_default, { help, onClick }),
2408
+ return orientation === "HORIZONTAL_RIGHT_ALIGNED" ? /* @__PURE__ */ jsxs13(Fragment3, { children: [
2409
+ /* @__PURE__ */ jsx43(Help_default, { help, onClick }),
2313
2410
  " ",
2314
2411
  value
2315
- ] }) : /* @__PURE__ */ jsxs12(Fragment3, { children: [
2412
+ ] }) : /* @__PURE__ */ jsxs13(Fragment3, { children: [
2316
2413
  value,
2317
2414
  " ",
2318
- /* @__PURE__ */ jsx42(Help_default, { help, onClick })
2415
+ /* @__PURE__ */ jsx43(Help_default, { help, onClick })
2319
2416
  ] });
2320
2417
  }
2321
2418
  return value;
@@ -2323,12 +2420,12 @@ var getFieldValue = (value, help, orientation, onClick) => {
2323
2420
 
2324
2421
  // ../renderers/src/SearchRenderer/BlockSearchRendererComponent.tsx
2325
2422
  import { Input as Input4, Markdown as Markdown4, NavigationOption as NavigationOption3, NavigationOptionsList as NavigationOptionsList2 } from "@transferwise/components";
2326
- import { useState as useState6 } from "react";
2327
- import { useIntl as useIntl7 } from "react-intl";
2423
+ import { useState as useState7 } from "react";
2424
+ import { useIntl as useIntl8 } from "react-intl";
2328
2425
 
2329
2426
  // ../renderers/src/messages/search.messages.ts
2330
- import { defineMessages as defineMessages6 } from "react-intl";
2331
- var search_messages_default = defineMessages6({
2427
+ import { defineMessages as defineMessages7 } from "react-intl";
2428
+ var search_messages_default = defineMessages7({
2332
2429
  loading: {
2333
2430
  id: "df.wise.SearchLayout.loading",
2334
2431
  defaultMessage: "Loading...",
@@ -2337,11 +2434,11 @@ var search_messages_default = defineMessages6({
2337
2434
  });
2338
2435
 
2339
2436
  // ../renderers/src/SearchRenderer/ErrorResult.tsx
2340
- import { useIntl as useIntl6 } from "react-intl";
2437
+ import { useIntl as useIntl7 } from "react-intl";
2341
2438
 
2342
2439
  // ../renderers/src/messages/generic-error.messages.ts
2343
- import { defineMessages as defineMessages7 } from "react-intl";
2344
- var generic_error_messages_default = defineMessages7({
2440
+ import { defineMessages as defineMessages8 } from "react-intl";
2441
+ var generic_error_messages_default = defineMessages8({
2345
2442
  genericErrorRetryHint: {
2346
2443
  id: "df.wise.PersistAsyncSchema.genericError",
2347
2444
  defaultMessage: "Something went wrong, please try again.",
@@ -2360,20 +2457,20 @@ var generic_error_messages_default = defineMessages7({
2360
2457
  });
2361
2458
 
2362
2459
  // ../renderers/src/SearchRenderer/ErrorResult.tsx
2363
- import { Button as Button6 } from "@transferwise/components";
2364
- import { jsx as jsx43, jsxs as jsxs13 } from "react/jsx-runtime";
2460
+ import { Button as Button7 } from "@transferwise/components";
2461
+ import { jsx as jsx44, jsxs as jsxs14 } from "react/jsx-runtime";
2365
2462
  function ErrorResult({ state }) {
2366
- const intl = useIntl6();
2463
+ const intl = useIntl7();
2367
2464
  const buttonVisualProps = {
2368
2465
  priority: "tertiary",
2369
2466
  size: "sm",
2370
2467
  style: { marginTop: "-2px", padding: "0", width: "auto", display: "inline" }
2371
2468
  };
2372
- return /* @__PURE__ */ jsxs13("p", { className: "m-t-2", children: [
2469
+ return /* @__PURE__ */ jsxs14("p", { className: "m-t-2", children: [
2373
2470
  intl.formatMessage(generic_error_messages_default.genericError),
2374
2471
  "\xA0",
2375
- /* @__PURE__ */ jsx43(
2376
- Button6,
2472
+ /* @__PURE__ */ jsx44(
2473
+ Button7,
2377
2474
  __spreadProps(__spreadValues({}, buttonVisualProps), {
2378
2475
  onClick: () => {
2379
2476
  state.onRetry();
@@ -2385,7 +2482,7 @@ function ErrorResult({ state }) {
2385
2482
  }
2386
2483
 
2387
2484
  // ../renderers/src/SearchRenderer/BlockSearchRendererComponent.tsx
2388
- import { Fragment as Fragment4, jsx as jsx44, jsxs as jsxs14 } from "react/jsx-runtime";
2485
+ import { Fragment as Fragment4, jsx as jsx45, jsxs as jsxs15 } from "react/jsx-runtime";
2389
2486
  function BlockSearchRendererComponent({
2390
2487
  id,
2391
2488
  isLoading,
@@ -2396,10 +2493,10 @@ function BlockSearchRendererComponent({
2396
2493
  trackEvent,
2397
2494
  onChange
2398
2495
  }) {
2399
- const [hasSearched, setHasSearched] = useState6(false);
2400
- const { formatMessage } = useIntl7();
2401
- return /* @__PURE__ */ jsxs14("div", { className: getMargin(margin), children: [
2402
- /* @__PURE__ */ jsx44(FieldInput_default, { id, description: "", validation: void 0, help: "", label: title, children: /* @__PURE__ */ jsx44(
2496
+ const [hasSearched, setHasSearched] = useState7(false);
2497
+ const { formatMessage } = useIntl8();
2498
+ return /* @__PURE__ */ jsxs15("div", { className: getMargin(margin), children: [
2499
+ /* @__PURE__ */ jsx45(FieldInput_default, { id, description: "", validation: void 0, help: "", label: title, children: /* @__PURE__ */ jsx45(
2403
2500
  Input4,
2404
2501
  {
2405
2502
  id,
@@ -2416,7 +2513,7 @@ function BlockSearchRendererComponent({
2416
2513
  }
2417
2514
  }
2418
2515
  ) }),
2419
- isLoading ? /* @__PURE__ */ jsx44(Fragment4, { children: formatMessage(search_messages_default.loading) }) : /* @__PURE__ */ jsx44(SearchResultContent, { state, trackEvent })
2516
+ isLoading ? /* @__PURE__ */ jsx45(Fragment4, { children: formatMessage(search_messages_default.loading) }) : /* @__PURE__ */ jsx45(SearchResultContent, { state, trackEvent })
2420
2517
  ] });
2421
2518
  }
2422
2519
  function SearchResultContent({
@@ -2425,26 +2522,26 @@ function SearchResultContent({
2425
2522
  }) {
2426
2523
  switch (state.type) {
2427
2524
  case "error":
2428
- return /* @__PURE__ */ jsx44(ErrorResult, { state });
2525
+ return /* @__PURE__ */ jsx45(ErrorResult, { state });
2429
2526
  case "results":
2430
- return /* @__PURE__ */ jsx44(SearchResults, { state, trackEvent });
2527
+ return /* @__PURE__ */ jsx45(SearchResults, { state, trackEvent });
2431
2528
  case "noResults":
2432
- return /* @__PURE__ */ jsx44(EmptySearchResult, { state });
2529
+ return /* @__PURE__ */ jsx45(EmptySearchResult, { state });
2433
2530
  case "pending":
2434
2531
  default:
2435
2532
  return null;
2436
2533
  }
2437
2534
  }
2438
2535
  function EmptySearchResult({ state }) {
2439
- return /* @__PURE__ */ jsx44(Markdown4, { className: "m-t-2", config: { link: { target: "_blank" } }, children: state.message });
2536
+ return /* @__PURE__ */ jsx45(Markdown4, { className: "m-t-2", config: { link: { target: "_blank" } }, children: state.message });
2440
2537
  }
2441
2538
  function SearchResults({
2442
2539
  state,
2443
2540
  trackEvent
2444
2541
  }) {
2445
- return /* @__PURE__ */ jsx44(NavigationOptionsList2, { children: state.results.map((result) => {
2542
+ return /* @__PURE__ */ jsx45(NavigationOptionsList2, { children: state.results.map((result) => {
2446
2543
  const { icon, image } = result;
2447
- return /* @__PURE__ */ jsx44(
2544
+ return /* @__PURE__ */ jsx45(
2448
2545
  NavigationOption3,
2449
2546
  {
2450
2547
  title: result.title,
@@ -2468,9 +2565,9 @@ var BlockSearchRendererComponent_default = BlockSearchRendererComponent;
2468
2565
  // ../renderers/src/SearchRenderer/InlineSearchRendererComponent.tsx
2469
2566
  import { Markdown as Markdown5, Typeahead } from "@transferwise/components";
2470
2567
  import { Search } from "@transferwise/icons";
2471
- import { useState as useState7 } from "react";
2472
- import { useIntl as useIntl8 } from "react-intl";
2473
- import { jsx as jsx45 } from "react/jsx-runtime";
2568
+ import { useState as useState8 } from "react";
2569
+ import { useIntl as useIntl9 } from "react-intl";
2570
+ import { jsx as jsx46 } from "react/jsx-runtime";
2474
2571
  function InlineSearchRenderer({
2475
2572
  id,
2476
2573
  isLoading,
@@ -2480,9 +2577,9 @@ function InlineSearchRenderer({
2480
2577
  title,
2481
2578
  trackEvent
2482
2579
  }) {
2483
- const [hasSearched, setHasSearched] = useState7(false);
2484
- const intl = useIntl8();
2485
- return /* @__PURE__ */ jsx45("div", { className: getMargin(margin), children: /* @__PURE__ */ jsx45(FieldInput_default, { id, description: "", validation: void 0, help: "", label: title, children: /* @__PURE__ */ jsx45(
2580
+ const [hasSearched, setHasSearched] = useState8(false);
2581
+ const intl = useIntl9();
2582
+ return /* @__PURE__ */ jsx46("div", { className: getMargin(margin), children: /* @__PURE__ */ jsx46(FieldInput_default, { id, description: "", validation: void 0, help: "", label: title, children: /* @__PURE__ */ jsx46(
2486
2583
  Typeahead,
2487
2584
  {
2488
2585
  id: "typeahead-input-id",
@@ -2490,10 +2587,10 @@ function InlineSearchRenderer({
2490
2587
  name: "typeahead-input-name",
2491
2588
  size: "md",
2492
2589
  maxHeight: 100,
2493
- footer: /* @__PURE__ */ jsx45(TypeaheadFooter, { state, isLoading }),
2590
+ footer: /* @__PURE__ */ jsx46(TypeaheadFooter, { state, isLoading }),
2494
2591
  multiple: false,
2495
2592
  clearable: false,
2496
- addon: /* @__PURE__ */ jsx45(Search, { size: 24 }),
2593
+ addon: /* @__PURE__ */ jsx46(Search, { size: 24 }),
2497
2594
  options: state.type === "results" ? state.results.map(mapResultToTypeaheadOption) : [],
2498
2595
  minQueryLength: 1,
2499
2596
  onChange: (values) => {
@@ -2528,36 +2625,36 @@ function mapResultToTypeaheadOption(result) {
2528
2625
  };
2529
2626
  }
2530
2627
  function TypeaheadFooter({ state, isLoading }) {
2531
- const { formatMessage } = useIntl8();
2628
+ const { formatMessage } = useIntl9();
2532
2629
  if (state.type === "noResults") {
2533
- return /* @__PURE__ */ jsx45(Markdown5, { className: "m-t-2 m-x-2", config: { link: { target: "_blank" } }, children: state.message });
2630
+ return /* @__PURE__ */ jsx46(Markdown5, { className: "m-t-2 m-x-2", config: { link: { target: "_blank" } }, children: state.message });
2534
2631
  }
2535
2632
  if (state.type === "error") {
2536
- return /* @__PURE__ */ jsx45("div", { className: "m-t-2 m-x-2", children: /* @__PURE__ */ jsx45(ErrorResult, { state }) });
2633
+ return /* @__PURE__ */ jsx46("div", { className: "m-t-2 m-x-2", children: /* @__PURE__ */ jsx46(ErrorResult, { state }) });
2537
2634
  }
2538
2635
  if (state.type === "pending" || isLoading) {
2539
- return /* @__PURE__ */ jsx45("p", { className: "m-t-2 m-x-2", children: formatMessage(search_messages_default.loading) });
2636
+ return /* @__PURE__ */ jsx46("p", { className: "m-t-2 m-x-2", children: formatMessage(search_messages_default.loading) });
2540
2637
  }
2541
2638
  return null;
2542
2639
  }
2543
2640
  var InlineSearchRendererComponent_default = InlineSearchRenderer;
2544
2641
 
2545
2642
  // ../renderers/src/SearchRenderer/SearchRenderer.tsx
2546
- import { jsx as jsx46 } from "react/jsx-runtime";
2643
+ import { jsx as jsx47 } from "react/jsx-runtime";
2547
2644
  var SearchRenderer = {
2548
2645
  canRenderType: "search",
2549
- render: (props) => props.control === "inline" ? /* @__PURE__ */ jsx46(InlineSearchRendererComponent_default, __spreadValues({}, props)) : /* @__PURE__ */ jsx46(BlockSearchRendererComponent_default, __spreadValues({}, props))
2646
+ render: (props) => props.control === "inline" ? /* @__PURE__ */ jsx47(InlineSearchRendererComponent_default, __spreadValues({}, props)) : /* @__PURE__ */ jsx47(BlockSearchRendererComponent_default, __spreadValues({}, props))
2550
2647
  };
2551
2648
  var SearchRenderer_default = SearchRenderer;
2552
2649
 
2553
2650
  // ../renderers/src/SectionRenderer.tsx
2554
2651
  import { Header as Header7 } from "@transferwise/components";
2555
- import { jsx as jsx47, jsxs as jsxs15 } from "react/jsx-runtime";
2652
+ import { jsx as jsx48, jsxs as jsxs16 } from "react/jsx-runtime";
2556
2653
  var SectionRenderer = {
2557
2654
  canRenderType: "section",
2558
2655
  render: ({ children, callToAction, margin, title }) => {
2559
- return /* @__PURE__ */ jsxs15("section", { className: getMargin(margin), children: [
2560
- (title || callToAction) && /* @__PURE__ */ jsx47(Header7, { title: title != null ? title : "", action: getHeaderAction(callToAction) }),
2656
+ return /* @__PURE__ */ jsxs16("section", { className: getMargin(margin), children: [
2657
+ (title || callToAction) && /* @__PURE__ */ jsx48(Header7, { title: title != null ? title : "", action: getHeaderAction(callToAction) }),
2561
2658
  children
2562
2659
  ] });
2563
2660
  }
@@ -2566,7 +2663,7 @@ var SectionRenderer_default = SectionRenderer;
2566
2663
 
2567
2664
  // ../renderers/src/SelectInputRenderer/RadioInputRendererComponent.tsx
2568
2665
  import { RadioGroup } from "@transferwise/components";
2569
- import { Fragment as Fragment5, jsx as jsx48, jsxs as jsxs16 } from "react/jsx-runtime";
2666
+ import { Fragment as Fragment5, jsx as jsx49, jsxs as jsxs17 } from "react/jsx-runtime";
2570
2667
  function RadioInputRendererComponent(props) {
2571
2668
  const {
2572
2669
  id,
@@ -2580,8 +2677,8 @@ function RadioInputRendererComponent(props) {
2580
2677
  validationState,
2581
2678
  onSelect
2582
2679
  } = props;
2583
- return /* @__PURE__ */ jsxs16(Fragment5, { children: [
2584
- /* @__PURE__ */ jsx48(
2680
+ return /* @__PURE__ */ jsxs17(Fragment5, { children: [
2681
+ /* @__PURE__ */ jsx49(
2585
2682
  FieldInput_default,
2586
2683
  {
2587
2684
  id,
@@ -2589,7 +2686,7 @@ function RadioInputRendererComponent(props) {
2589
2686
  help,
2590
2687
  description,
2591
2688
  validation: validationState,
2592
- children: /* @__PURE__ */ jsx48("span", { children: /* @__PURE__ */ jsx48(
2689
+ children: /* @__PURE__ */ jsx49("span", { children: /* @__PURE__ */ jsx49(
2593
2690
  RadioGroup,
2594
2691
  {
2595
2692
  name: id,
@@ -2598,7 +2695,7 @@ function RadioInputRendererComponent(props) {
2598
2695
  value: index,
2599
2696
  secondary: option.description,
2600
2697
  disabled: option.disabled || disabled,
2601
- avatar: /* @__PURE__ */ jsx48(OptionMedia, { icon: option.icon, image: option.image, preferAvatar: false })
2698
+ avatar: /* @__PURE__ */ jsx49(OptionMedia, { icon: option.icon, image: option.image, preferAvatar: false })
2602
2699
  })),
2603
2700
  selectedValue: selectedIndex != null ? selectedIndex : void 0,
2604
2701
  onChange: onSelect
@@ -2613,8 +2710,8 @@ function RadioInputRendererComponent(props) {
2613
2710
 
2614
2711
  // ../renderers/src/SelectInputRenderer/TabInputRendererComponent.tsx
2615
2712
  import { Tabs } from "@transferwise/components";
2616
- import { useEffect as useEffect3 } from "react";
2617
- import { Fragment as Fragment6, jsx as jsx49, jsxs as jsxs17 } from "react/jsx-runtime";
2713
+ import { useEffect as useEffect5 } from "react";
2714
+ import { Fragment as Fragment6, jsx as jsx50, jsxs as jsxs18 } from "react/jsx-runtime";
2618
2715
  function TabInputRendererComponent(props) {
2619
2716
  const {
2620
2717
  id,
@@ -2628,13 +2725,13 @@ function TabInputRendererComponent(props) {
2628
2725
  validationState,
2629
2726
  onSelect
2630
2727
  } = props;
2631
- useEffect3(() => {
2728
+ useEffect5(() => {
2632
2729
  if (!isValidIndex(selectedIndex, options.length)) {
2633
2730
  onSelect(0);
2634
2731
  }
2635
2732
  }, [selectedIndex, onSelect, options.length]);
2636
- return /* @__PURE__ */ jsxs17(Fragment6, { children: [
2637
- /* @__PURE__ */ jsx49(
2733
+ return /* @__PURE__ */ jsxs18(Fragment6, { children: [
2734
+ /* @__PURE__ */ jsx50(
2638
2735
  FieldInput_default,
2639
2736
  {
2640
2737
  id,
@@ -2642,7 +2739,7 @@ function TabInputRendererComponent(props) {
2642
2739
  help,
2643
2740
  description,
2644
2741
  validation: validationState,
2645
- children: /* @__PURE__ */ jsx49(
2742
+ children: /* @__PURE__ */ jsx50(
2646
2743
  Tabs,
2647
2744
  {
2648
2745
  name: id,
@@ -2651,7 +2748,7 @@ function TabInputRendererComponent(props) {
2651
2748
  title: option.title,
2652
2749
  // if we pass null, we get some props-types console errors
2653
2750
  // eslint-disable-next-line react/jsx-no-useless-fragment
2654
- content: /* @__PURE__ */ jsx49(Fragment6, {}),
2751
+ content: /* @__PURE__ */ jsx50(Fragment6, {}),
2655
2752
  disabled: option.disabled || disabled
2656
2753
  })),
2657
2754
  onTabSelect: onSelect
@@ -2666,7 +2763,7 @@ var isValidIndex = (index, options) => index !== null && index >= 0 && index < o
2666
2763
 
2667
2764
  // ../renderers/src/SelectInputRenderer/SelectInputRendererComponent.tsx
2668
2765
  import { SelectInput as SelectInput2, SelectInputOptionContent as SelectInputOptionContent2 } from "@transferwise/components";
2669
- import { Fragment as Fragment7, jsx as jsx50, jsxs as jsxs18 } from "react/jsx-runtime";
2766
+ import { Fragment as Fragment7, jsx as jsx51, jsxs as jsxs19 } from "react/jsx-runtime";
2670
2767
  function SelectInputRendererComponent(props) {
2671
2768
  const {
2672
2769
  id,
@@ -2706,13 +2803,13 @@ function SelectInputRendererComponent(props) {
2706
2803
  } : {
2707
2804
  title: option.title,
2708
2805
  description: option.description,
2709
- icon: /* @__PURE__ */ jsx50(OptionMedia, { icon: option.icon, image: option.image, preferAvatar: false })
2806
+ icon: /* @__PURE__ */ jsx51(OptionMedia, { icon: option.icon, image: option.image, preferAvatar: false })
2710
2807
  };
2711
- return /* @__PURE__ */ jsx50(SelectInputOptionContent2, __spreadValues({}, contentProps));
2808
+ return /* @__PURE__ */ jsx51(SelectInputOptionContent2, __spreadValues({}, contentProps));
2712
2809
  };
2713
2810
  const extraProps = { autoComplete };
2714
- return /* @__PURE__ */ jsxs18(Fragment7, { children: [
2715
- /* @__PURE__ */ jsx50(
2811
+ return /* @__PURE__ */ jsxs19(Fragment7, { children: [
2812
+ /* @__PURE__ */ jsx51(
2716
2813
  FieldInput_default,
2717
2814
  {
2718
2815
  id,
@@ -2720,7 +2817,7 @@ function SelectInputRendererComponent(props) {
2720
2817
  help,
2721
2818
  description,
2722
2819
  validation: validationState,
2723
- children: /* @__PURE__ */ jsx50(
2820
+ children: /* @__PURE__ */ jsx51(
2724
2821
  SelectInput2,
2725
2822
  __spreadValues({
2726
2823
  name: id,
@@ -2741,9 +2838,9 @@ function SelectInputRendererComponent(props) {
2741
2838
  }
2742
2839
 
2743
2840
  // ../renderers/src/SelectInputRenderer/SegmentedInputRendererComponent.tsx
2744
- import { useEffect as useEffect4 } from "react";
2841
+ import { useEffect as useEffect6 } from "react";
2745
2842
  import { SegmentedControl } from "@transferwise/components";
2746
- import { Fragment as Fragment8, jsx as jsx51, jsxs as jsxs19 } from "react/jsx-runtime";
2843
+ import { Fragment as Fragment8, jsx as jsx52, jsxs as jsxs20 } from "react/jsx-runtime";
2747
2844
  function SegmentedInputRendererComponent(props) {
2748
2845
  const {
2749
2846
  id,
@@ -2756,13 +2853,13 @@ function SegmentedInputRendererComponent(props) {
2756
2853
  validationState,
2757
2854
  onSelect
2758
2855
  } = props;
2759
- useEffect4(() => {
2856
+ useEffect6(() => {
2760
2857
  if (!isValidIndex2(selectedIndex, options.length)) {
2761
2858
  onSelect(0);
2762
2859
  }
2763
2860
  }, [selectedIndex, onSelect, options.length]);
2764
- return /* @__PURE__ */ jsxs19(Fragment8, { children: [
2765
- /* @__PURE__ */ jsx51(
2861
+ return /* @__PURE__ */ jsxs20(Fragment8, { children: [
2862
+ /* @__PURE__ */ jsx52(
2766
2863
  FieldInput_default,
2767
2864
  {
2768
2865
  id,
@@ -2770,7 +2867,7 @@ function SegmentedInputRendererComponent(props) {
2770
2867
  help,
2771
2868
  description,
2772
2869
  validation: validationState,
2773
- children: /* @__PURE__ */ jsx51(
2870
+ children: /* @__PURE__ */ jsx52(
2774
2871
  SegmentedControl,
2775
2872
  {
2776
2873
  name: `${id}-segmented-control`,
@@ -2787,26 +2884,26 @@ function SegmentedInputRendererComponent(props) {
2787
2884
  )
2788
2885
  }
2789
2886
  ),
2790
- /* @__PURE__ */ jsx51("div", { id: `${id}-children`, children })
2887
+ /* @__PURE__ */ jsx52("div", { id: `${id}-children`, children })
2791
2888
  ] });
2792
2889
  }
2793
2890
  var isValidIndex2 = (index, options) => index !== null && index >= 0 && index < options;
2794
2891
 
2795
2892
  // ../renderers/src/SelectInputRenderer/SelectInputRenderer.tsx
2796
- import { jsx as jsx52 } from "react/jsx-runtime";
2893
+ import { jsx as jsx53 } from "react/jsx-runtime";
2797
2894
  var SelectInputRenderer = {
2798
2895
  canRenderType: "input-select",
2799
2896
  render: (props) => {
2800
2897
  switch (props.control) {
2801
2898
  case "radio":
2802
- return /* @__PURE__ */ jsx52(RadioInputRendererComponent, __spreadValues({}, props));
2899
+ return /* @__PURE__ */ jsx53(RadioInputRendererComponent, __spreadValues({}, props));
2803
2900
  case "tab":
2804
- return props.options.length > 3 ? /* @__PURE__ */ jsx52(SelectInputRendererComponent, __spreadValues({}, props)) : /* @__PURE__ */ jsx52(TabInputRendererComponent, __spreadValues({}, props));
2901
+ return props.options.length > 3 ? /* @__PURE__ */ jsx53(SelectInputRendererComponent, __spreadValues({}, props)) : /* @__PURE__ */ jsx53(TabInputRendererComponent, __spreadValues({}, props));
2805
2902
  case "segmented":
2806
- return props.options.length > 3 ? /* @__PURE__ */ jsx52(SelectInputRendererComponent, __spreadValues({}, props)) : /* @__PURE__ */ jsx52(SegmentedInputRendererComponent, __spreadValues({}, props));
2903
+ return props.options.length > 3 ? /* @__PURE__ */ jsx53(SelectInputRendererComponent, __spreadValues({}, props)) : /* @__PURE__ */ jsx53(SegmentedInputRendererComponent, __spreadValues({}, props));
2807
2904
  case "select":
2808
2905
  default:
2809
- return /* @__PURE__ */ jsx52(SelectInputRendererComponent, __spreadValues({}, props));
2906
+ return /* @__PURE__ */ jsx53(SelectInputRendererComponent, __spreadValues({}, props));
2810
2907
  }
2811
2908
  }
2812
2909
  };
@@ -2814,17 +2911,17 @@ var SelectInputRenderer_default = SelectInputRenderer;
2814
2911
 
2815
2912
  // ../renderers/src/StatusListRenderer.tsx
2816
2913
  import { Header as Header8, Summary } from "@transferwise/components";
2817
- import { jsx as jsx53, jsxs as jsxs20 } from "react/jsx-runtime";
2914
+ import { jsx as jsx54, jsxs as jsxs21 } from "react/jsx-runtime";
2818
2915
  var StatusListRenderer = {
2819
2916
  canRenderType: "status-list",
2820
- render: ({ margin, items, title }) => /* @__PURE__ */ jsxs20("div", { className: getMargin(margin), children: [
2821
- title ? /* @__PURE__ */ jsx53(Header8, { title, className: "m-b-2" }) : null,
2822
- items.map(({ callToAction, description, icon, status, title: itemTitle }) => /* @__PURE__ */ jsx53(
2917
+ render: ({ margin, items, title }) => /* @__PURE__ */ jsxs21("div", { className: getMargin(margin), children: [
2918
+ title ? /* @__PURE__ */ jsx54(Header8, { title, className: "m-b-2" }) : null,
2919
+ items.map(({ callToAction, description, icon, status, title: itemTitle }) => /* @__PURE__ */ jsx54(
2823
2920
  Summary,
2824
2921
  {
2825
2922
  title: itemTitle,
2826
2923
  description,
2827
- icon: icon && "name" in icon ? /* @__PURE__ */ jsx53(DynamicIcon_default, { name: icon.name }) : null,
2924
+ icon: icon && "name" in icon ? /* @__PURE__ */ jsx54(DynamicIcon_default, { name: icon.name }) : null,
2828
2925
  status: mapStatus(status),
2829
2926
  action: getSummaryAction(callToAction)
2830
2927
  },
@@ -2861,12 +2958,12 @@ var mapStatus = (status) => {
2861
2958
 
2862
2959
  // ../renderers/src/utils/useCustomTheme.ts
2863
2960
  import { useTheme } from "@wise/components-theming";
2864
- import { useEffect as useEffect5, useMemo } from "react";
2961
+ import { useEffect as useEffect7, useMemo } from "react";
2865
2962
  var ThemeRequiredEventName = "Theme Required";
2866
2963
  var useCustomTheme = (theme, trackEvent) => {
2867
2964
  const previousThemeHookValue = useTheme();
2868
2965
  const previousTheme = useMemo(() => previousThemeHookValue.theme, []);
2869
- useEffect5(() => {
2966
+ useEffect7(() => {
2870
2967
  trackEvent(ThemeRequiredEventName, { theme });
2871
2968
  return theme !== previousTheme ? () => {
2872
2969
  trackEvent(ThemeRequiredEventName, { theme: previousTheme });
@@ -2878,9 +2975,9 @@ var useCustomTheme = (theme, trackEvent) => {
2878
2975
  // ../renderers/src/step/BackButton.tsx
2879
2976
  import { AvatarView as AvatarView4 } from "@transferwise/components";
2880
2977
  import { ArrowLeft } from "@transferwise/icons";
2881
- import { jsx as jsx54, jsxs as jsxs21 } from "react/jsx-runtime";
2978
+ import { jsx as jsx55, jsxs as jsxs22 } from "react/jsx-runtime";
2882
2979
  function BackButton({ title, onClick }) {
2883
- return /* @__PURE__ */ jsx54("div", { className: "m-b-2", children: /* @__PURE__ */ jsxs21(
2980
+ return /* @__PURE__ */ jsx55("div", { className: "m-b-2", children: /* @__PURE__ */ jsxs22(
2884
2981
  "button",
2885
2982
  {
2886
2983
  type: "button",
@@ -2889,8 +2986,8 @@ function BackButton({ title, onClick }) {
2889
2986
  "aria-label": title,
2890
2987
  onClick,
2891
2988
  children: [
2892
- /* @__PURE__ */ jsx54("span", { className: "sr-only", children: title }),
2893
- /* @__PURE__ */ jsx54(AvatarView4, { interactive: true, children: /* @__PURE__ */ jsx54(ArrowLeft, { size: "24" }) })
2989
+ /* @__PURE__ */ jsx55("span", { className: "sr-only", children: title }),
2990
+ /* @__PURE__ */ jsx55(AvatarView4, { interactive: true, children: /* @__PURE__ */ jsx55(ArrowLeft, { size: "24" }) })
2894
2991
  ]
2895
2992
  }
2896
2993
  ) });
@@ -2898,7 +2995,7 @@ function BackButton({ title, onClick }) {
2898
2995
  var BackButton_default = BackButton;
2899
2996
 
2900
2997
  // ../renderers/src/step/SplashCelebrationStepRenderer.tsx
2901
- import { jsx as jsx55, jsxs as jsxs22 } from "react/jsx-runtime";
2998
+ import { jsx as jsx56, jsxs as jsxs23 } from "react/jsx-runtime";
2902
2999
  var SplashCelebrationStepRenderer = {
2903
3000
  canRenderType: "step",
2904
3001
  canRender: ({ control }) => control === "splash-celebration",
@@ -2907,14 +3004,14 @@ var SplashCelebrationStepRenderer = {
2907
3004
  function SplashCelebrationStepRendererComponent(props) {
2908
3005
  const { back, children, trackEvent } = props;
2909
3006
  useCustomTheme("forest-green", trackEvent);
2910
- return /* @__PURE__ */ jsxs22("div", { className: "splash-screen m-t-5", children: [
2911
- back ? /* @__PURE__ */ jsx55(BackButton_default, __spreadValues({}, back)) : null,
3007
+ return /* @__PURE__ */ jsxs23("div", { className: "splash-screen m-t-5", children: [
3008
+ back ? /* @__PURE__ */ jsx56(BackButton_default, __spreadValues({}, back)) : null,
2912
3009
  children
2913
3010
  ] });
2914
3011
  }
2915
3012
 
2916
3013
  // ../renderers/src/step/SplashStepRenderer.tsx
2917
- import { jsx as jsx56, jsxs as jsxs23 } from "react/jsx-runtime";
3014
+ import { jsx as jsx57, jsxs as jsxs24 } from "react/jsx-runtime";
2918
3015
  var SplashStepRenderer = {
2919
3016
  canRenderType: "step",
2920
3017
  canRender: ({ control }) => control === "splash",
@@ -2922,55 +3019,55 @@ var SplashStepRenderer = {
2922
3019
  };
2923
3020
  function SplashStepRendererComponent(props) {
2924
3021
  const { back, children } = props;
2925
- return /* @__PURE__ */ jsxs23("div", { className: "splash-screen m-t-5", children: [
2926
- back ? /* @__PURE__ */ jsx56(BackButton_default, __spreadValues({}, back)) : null,
3022
+ return /* @__PURE__ */ jsxs24("div", { className: "splash-screen m-t-5", children: [
3023
+ back ? /* @__PURE__ */ jsx57(BackButton_default, __spreadValues({}, back)) : null,
2927
3024
  children
2928
3025
  ] });
2929
3026
  }
2930
3027
 
2931
3028
  // ../renderers/src/step/StepRenderer.tsx
2932
3029
  import { Alert as Alert2, Title as Title2 } from "@transferwise/components";
2933
- import { Fragment as Fragment9, jsx as jsx57, jsxs as jsxs24 } from "react/jsx-runtime";
3030
+ import { Fragment as Fragment9, jsx as jsx58, jsxs as jsxs25 } from "react/jsx-runtime";
2934
3031
  var StepRenderer = {
2935
3032
  canRenderType: "step",
2936
3033
  render: StepRendererComponent
2937
3034
  };
2938
3035
  function StepRendererComponent(props) {
2939
3036
  const { back, description, error, title, children } = props;
2940
- return /* @__PURE__ */ jsxs24(Fragment9, { children: [
2941
- back ? /* @__PURE__ */ jsx57(BackButton_default, __spreadValues({}, back)) : null,
2942
- title || description ? /* @__PURE__ */ jsxs24("div", { className: "m-b-4", children: [
2943
- title ? /* @__PURE__ */ jsx57(Title2, { as: "h1", type: "title-section", className: "text-xs-center m-b-2", children: title }) : void 0,
2944
- description ? /* @__PURE__ */ jsx57("p", { className: "text-xs-center np-text-body-large", children: description }) : void 0
3037
+ return /* @__PURE__ */ jsxs25(Fragment9, { children: [
3038
+ back ? /* @__PURE__ */ jsx58(BackButton_default, __spreadValues({}, back)) : null,
3039
+ title || description ? /* @__PURE__ */ jsxs25("div", { className: "m-b-4", children: [
3040
+ title ? /* @__PURE__ */ jsx58(Title2, { as: "h1", type: "title-section", className: "text-xs-center m-b-2", children: title }) : void 0,
3041
+ description ? /* @__PURE__ */ jsx58("p", { className: "text-xs-center np-text-body-large", children: description }) : void 0
2945
3042
  ] }) : void 0,
2946
- error ? /* @__PURE__ */ jsx57(Alert2, { type: "negative", className: "m-b-2", message: error }) : void 0,
3043
+ error ? /* @__PURE__ */ jsx58(Alert2, { type: "negative", className: "m-b-2", message: error }) : void 0,
2947
3044
  children
2948
3045
  ] });
2949
3046
  }
2950
3047
 
2951
3048
  // ../renderers/src/TabsRenderer.tsx
2952
3049
  import { Chips, SegmentedControl as SegmentedControl2, Tabs as Tabs2 } from "@transferwise/components";
2953
- import { useState as useState8 } from "react";
2954
- import { jsx as jsx58, jsxs as jsxs25 } from "react/jsx-runtime";
3050
+ import { useState as useState9 } from "react";
3051
+ import { jsx as jsx59, jsxs as jsxs26 } from "react/jsx-runtime";
2955
3052
  var TabsRenderer = {
2956
3053
  canRenderType: "tabs",
2957
3054
  render: (props) => {
2958
3055
  switch (props.control) {
2959
3056
  case "segmented":
2960
3057
  if (props.tabs.length > 3) {
2961
- return /* @__PURE__ */ jsx58(TabsRendererComponent, __spreadValues({}, props));
3058
+ return /* @__PURE__ */ jsx59(TabsRendererComponent, __spreadValues({}, props));
2962
3059
  }
2963
- return /* @__PURE__ */ jsx58(SegmentedTabsRendererComponent, __spreadValues({}, props));
3060
+ return /* @__PURE__ */ jsx59(SegmentedTabsRendererComponent, __spreadValues({}, props));
2964
3061
  case "chips":
2965
- return /* @__PURE__ */ jsx58(ChipsTabsRendererComponent, __spreadValues({}, props));
3062
+ return /* @__PURE__ */ jsx59(ChipsTabsRendererComponent, __spreadValues({}, props));
2966
3063
  default:
2967
- return /* @__PURE__ */ jsx58(TabsRendererComponent, __spreadValues({}, props));
3064
+ return /* @__PURE__ */ jsx59(TabsRendererComponent, __spreadValues({}, props));
2968
3065
  }
2969
3066
  }
2970
3067
  };
2971
3068
  function TabsRendererComponent({ uid, margin, tabs }) {
2972
- const [selectedIndex, setSelectedIndex] = useState8(0);
2973
- return /* @__PURE__ */ jsx58("div", { className: getMargin(margin), children: /* @__PURE__ */ jsx58(
3069
+ const [selectedIndex, setSelectedIndex] = useState9(0);
3070
+ return /* @__PURE__ */ jsx59("div", { className: getMargin(margin), children: /* @__PURE__ */ jsx59(
2974
3071
  Tabs2,
2975
3072
  {
2976
3073
  name: uid,
@@ -2978,7 +3075,7 @@ function TabsRendererComponent({ uid, margin, tabs }) {
2978
3075
  tabs: tabs.map((option) => ({
2979
3076
  title: option.title,
2980
3077
  disabled: false,
2981
- content: /* @__PURE__ */ jsxs25("div", { className: "m-t-2", children: [
3078
+ content: /* @__PURE__ */ jsxs26("div", { className: "m-t-2", children: [
2982
3079
  " ",
2983
3080
  option.children,
2984
3081
  " "
@@ -2990,9 +3087,9 @@ function TabsRendererComponent({ uid, margin, tabs }) {
2990
3087
  }
2991
3088
  function SegmentedTabsRendererComponent({ uid, margin, tabs }) {
2992
3089
  var _a;
2993
- const [selectedIndex, setSelectedIndex] = useState8(0);
2994
- return /* @__PURE__ */ jsxs25("div", { className: getMargin(margin), children: [
2995
- /* @__PURE__ */ jsx58(
3090
+ const [selectedIndex, setSelectedIndex] = useState9(0);
3091
+ return /* @__PURE__ */ jsxs26("div", { className: getMargin(margin), children: [
3092
+ /* @__PURE__ */ jsx59(
2996
3093
  SegmentedControl2,
2997
3094
  {
2998
3095
  name: uid,
@@ -3007,14 +3104,14 @@ function SegmentedTabsRendererComponent({ uid, margin, tabs }) {
3007
3104
  onChange: (value) => setSelectedIndex(Number(value))
3008
3105
  }
3009
3106
  ),
3010
- /* @__PURE__ */ jsx58("div", { id: `${uid}-children`, className: "m-t-2", children: (_a = tabs[selectedIndex]) == null ? void 0 : _a.children })
3107
+ /* @__PURE__ */ jsx59("div", { id: `${uid}-children`, className: "m-t-2", children: (_a = tabs[selectedIndex]) == null ? void 0 : _a.children })
3011
3108
  ] });
3012
3109
  }
3013
3110
  function ChipsTabsRendererComponent({ margin, tabs }) {
3014
3111
  var _a;
3015
- const [selectedIndex, setSelectedIndex] = useState8(0);
3016
- return /* @__PURE__ */ jsxs25("div", { className: getMargin(margin), children: [
3017
- /* @__PURE__ */ jsx58("div", { className: "chips-container", children: /* @__PURE__ */ jsx58(
3112
+ const [selectedIndex, setSelectedIndex] = useState9(0);
3113
+ return /* @__PURE__ */ jsxs26("div", { className: getMargin(margin), children: [
3114
+ /* @__PURE__ */ jsx59("div", { className: "chips-container", children: /* @__PURE__ */ jsx59(
3018
3115
  Chips,
3019
3116
  {
3020
3117
  chips: tabs.map((tab, index) => ({ label: tab.title, value: index })),
@@ -3022,7 +3119,7 @@ function ChipsTabsRendererComponent({ margin, tabs }) {
3022
3119
  onChange: ({ selectedValue }) => setSelectedIndex(Number(selectedValue))
3023
3120
  }
3024
3121
  ) }),
3025
- /* @__PURE__ */ jsx58("div", { className: "m-t-2", children: (_a = tabs[selectedIndex]) == null ? void 0 : _a.children })
3122
+ /* @__PURE__ */ jsx59("div", { className: "m-t-2", children: (_a = tabs[selectedIndex]) == null ? void 0 : _a.children })
3026
3123
  ] });
3027
3124
  }
3028
3125
 
@@ -3037,7 +3134,7 @@ import {
3037
3134
  TextArea,
3038
3135
  TextareaWithDisplayFormat
3039
3136
  } from "@transferwise/components";
3040
- import { jsx as jsx59 } from "react/jsx-runtime";
3137
+ import { jsx as jsx60 } from "react/jsx-runtime";
3041
3138
  var commonKeys = [
3042
3139
  "autoComplete",
3043
3140
  "autoCapitalize",
@@ -3056,12 +3153,12 @@ function VariableTextInput(inputProps) {
3056
3153
  const commonProps = __spreadProps(__spreadValues({}, pick(inputProps, ...commonKeys)), { name: id });
3057
3154
  switch (control) {
3058
3155
  case "email":
3059
- return /* @__PURE__ */ jsx59(TextInput, __spreadProps(__spreadValues({}, commonProps), { type: "email", onChange }));
3156
+ return /* @__PURE__ */ jsx60(TextInput, __spreadProps(__spreadValues({}, commonProps), { type: "email", onChange }));
3060
3157
  case "password":
3061
- return /* @__PURE__ */ jsx59(TextInput, __spreadProps(__spreadValues({}, commonProps), { type: "password", onChange }));
3158
+ return /* @__PURE__ */ jsx60(TextInput, __spreadProps(__spreadValues({}, commonProps), { type: "password", onChange }));
3062
3159
  case "numeric": {
3063
3160
  const numericProps = __spreadProps(__spreadValues({}, commonProps), { type: "number", onWheel });
3064
- return /* @__PURE__ */ jsx59(
3161
+ return /* @__PURE__ */ jsx60(
3065
3162
  TextInput,
3066
3163
  __spreadProps(__spreadValues({}, numericProps), {
3067
3164
  onChange: (newValue) => {
@@ -3072,9 +3169,9 @@ function VariableTextInput(inputProps) {
3072
3169
  );
3073
3170
  }
3074
3171
  case "phone-number":
3075
- return /* @__PURE__ */ jsx59(PhoneNumberInput, __spreadProps(__spreadValues({ initialValue: value }, commonProps), { onChange }));
3172
+ return /* @__PURE__ */ jsx60(PhoneNumberInput, __spreadProps(__spreadValues({ initialValue: value }, commonProps), { onChange }));
3076
3173
  default: {
3077
- return /* @__PURE__ */ jsx59(TextInput, __spreadProps(__spreadValues({}, commonProps), { type: "text", onChange }));
3174
+ return /* @__PURE__ */ jsx60(TextInput, __spreadProps(__spreadValues({}, commonProps), { type: "text", onChange }));
3078
3175
  }
3079
3176
  }
3080
3177
  }
@@ -3082,11 +3179,11 @@ function TextInput(props) {
3082
3179
  const _a = props, { control, displayFormat, onChange } = _a, commonProps = __objRest(_a, ["control", "displayFormat", "onChange"]);
3083
3180
  const InputWithPattern = control === "textarea" ? TextareaWithDisplayFormat : InputWithDisplayFormat;
3084
3181
  const InputWithoutPattern = control === "textarea" ? TextArea : Input5;
3085
- return displayFormat ? /* @__PURE__ */ jsx59(InputWithPattern, __spreadProps(__spreadValues({ displayPattern: displayFormat }, commonProps), { onChange })) : /* @__PURE__ */ jsx59(InputWithoutPattern, __spreadProps(__spreadValues({}, commonProps), { onChange: (e) => onChange(e.target.value) }));
3182
+ return displayFormat ? /* @__PURE__ */ jsx60(InputWithPattern, __spreadProps(__spreadValues({ displayPattern: displayFormat }, commonProps), { onChange })) : /* @__PURE__ */ jsx60(InputWithoutPattern, __spreadProps(__spreadValues({}, commonProps), { onChange: (e) => onChange(e.target.value) }));
3086
3183
  }
3087
3184
 
3088
3185
  // ../renderers/src/TextInputRenderer.tsx
3089
- import { jsx as jsx60 } from "react/jsx-runtime";
3186
+ import { jsx as jsx61 } from "react/jsx-runtime";
3090
3187
  var TextInputRenderer = {
3091
3188
  canRenderType: "input-text",
3092
3189
  render: (props) => {
@@ -3121,7 +3218,7 @@ var TextInputRenderer = {
3121
3218
  }
3122
3219
  }
3123
3220
  });
3124
- return /* @__PURE__ */ jsx60(
3221
+ return /* @__PURE__ */ jsx61(
3125
3222
  FieldInput_default,
3126
3223
  {
3127
3224
  id,
@@ -3129,7 +3226,7 @@ var TextInputRenderer = {
3129
3226
  description,
3130
3227
  validation: validationState,
3131
3228
  help,
3132
- children: /* @__PURE__ */ jsx60(InputGroup3, { addonStart: getInputGroupAddonStart({ icon, image }), children: /* @__PURE__ */ jsx60(VariableTextInput, __spreadValues({}, inputProps)) })
3229
+ children: /* @__PURE__ */ jsx61(InputGroup3, { addonStart: getInputGroupAddonStart({ icon, image }), children: /* @__PURE__ */ jsx61(VariableTextInput, __spreadValues({}, inputProps)) })
3133
3230
  }
3134
3231
  );
3135
3232
  }
@@ -3143,7 +3240,7 @@ import { Upload, UploadInput as UploadInput2 } from "@transferwise/components";
3143
3240
  var getRandomId = () => Math.random().toString(36).substring(2);
3144
3241
 
3145
3242
  // ../renderers/src/UploadInputRenderer.tsx
3146
- import { jsx as jsx61 } from "react/jsx-runtime";
3243
+ import { jsx as jsx62 } from "react/jsx-runtime";
3147
3244
  var UploadInputRenderer = {
3148
3245
  canRenderType: "input-upload",
3149
3246
  render: (props) => {
@@ -3159,14 +3256,14 @@ var UploadInputRenderer = {
3159
3256
  };
3160
3257
  return (
3161
3258
  // We don't pass help here as there is no sensible place to display it
3162
- /* @__PURE__ */ jsx61(
3259
+ /* @__PURE__ */ jsx62(
3163
3260
  UploadFieldInput_default,
3164
3261
  {
3165
3262
  id,
3166
3263
  label: void 0,
3167
3264
  description: void 0,
3168
3265
  validation: validationState,
3169
- children: /* @__PURE__ */ jsx61(
3266
+ children: /* @__PURE__ */ jsx62(
3170
3267
  UploadInput2,
3171
3268
  {
3172
3269
  id,
@@ -3223,7 +3320,7 @@ var LargeUploadRenderer = {
3223
3320
  };
3224
3321
  const filetypes = acceptsToFileTypes(accepts);
3225
3322
  const usAccept = filetypes === "*" ? "*" : filetypes.join(",");
3226
- return /* @__PURE__ */ jsx61(
3323
+ return /* @__PURE__ */ jsx62(
3227
3324
  FieldInput_default,
3228
3325
  {
3229
3326
  id,
@@ -3231,7 +3328,7 @@ var LargeUploadRenderer = {
3231
3328
  description,
3232
3329
  validation: validationState,
3233
3330
  help,
3234
- children: /* @__PURE__ */ jsx61(
3331
+ children: /* @__PURE__ */ jsx62(
3235
3332
  Upload,
3236
3333
  __spreadProps(__spreadValues({}, uploadProps), {
3237
3334
  usAccept,
@@ -3248,6 +3345,7 @@ var LargeUploadRenderer = {
3248
3345
 
3249
3346
  // ../renderers/src/getWiseRenderers.ts
3250
3347
  var getWiseRenderers = () => [
3348
+ AddressValidationButtonRenderer_default,
3251
3349
  AlertRenderer_default,
3252
3350
  CheckboxInputRenderer_default,
3253
3351
  BoxRenderer_default,
@@ -3290,7 +3388,7 @@ var getWiseRenderers = () => [
3290
3388
  // src/dynamicFlow/telemetry/app-version.ts
3291
3389
  var appVersion = (
3292
3390
  // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
3293
- typeof process !== "undefined" ? "4.18.0" : "0.0.0"
3391
+ typeof process !== "undefined" ? "4.19.0" : "0.0.0"
3294
3392
  );
3295
3393
 
3296
3394
  // src/dynamicFlow/telemetry/getLogEvent.ts
@@ -3329,13 +3427,28 @@ var getTrackEvent = (onEvent, onAnalytics, onThemeChange) => (name, properties)
3329
3427
  }
3330
3428
  };
3331
3429
 
3430
+ // src/dynamicFlow/messages.ts
3431
+ import { defineMessages as defineMessages9 } from "react-intl";
3432
+ var messages_default = defineMessages9({
3433
+ copied: {
3434
+ id: "df.wise.CopyFeedback.copy",
3435
+ defaultMessage: "Copied to clipboard",
3436
+ description: "Appears in a snackbar when the copy operation succeeds."
3437
+ },
3438
+ copyFailed: {
3439
+ id: "df.wise.CopyFeedback.copyFailed",
3440
+ defaultMessage: "Failed to copy to clipboard",
3441
+ description: "Appears in a snackbar when the copy operation fails."
3442
+ }
3443
+ });
3444
+
3332
3445
  // src/dynamicFlow/DynamicFlow.tsx
3333
- import { jsx as jsx62 } from "react/jsx-runtime";
3446
+ import { jsx as jsx63 } from "react/jsx-runtime";
3334
3447
  var wiseRenderers = getWiseRenderers();
3335
3448
  function DynamicFlowLegacy(props) {
3336
3449
  const { customFetch = globalThis.fetch } = props;
3337
3450
  const coreProps = __spreadProps(__spreadValues({}, props), { httpClient: customFetch });
3338
- return /* @__PURE__ */ jsx62(DynamicFlowCoreLegacy, __spreadValues({}, coreProps));
3451
+ return /* @__PURE__ */ jsx63(DynamicFlowCoreLegacy, __spreadValues({}, coreProps));
3339
3452
  }
3340
3453
  function DynamicFlowRevamp(props) {
3341
3454
  const {
@@ -3348,6 +3461,8 @@ function DynamicFlowRevamp(props) {
3348
3461
  onLink = openLinkInNewTab,
3349
3462
  onThemeChange
3350
3463
  } = props;
3464
+ const { formatMessage } = useIntl10();
3465
+ const createSnackBar = useSnackBarIfAvailable();
3351
3466
  const httpClient = useWiseHttpClient(customFetch);
3352
3467
  const mergedRenderers = useMemo2(() => [...renderers != null ? renderers : [], ...wiseRenderers], [renderers]);
3353
3468
  const logEvent = useMemo2(() => getLogEvent(onLog), [onLog]);
@@ -3355,14 +3470,22 @@ function DynamicFlowRevamp(props) {
3355
3470
  () => getTrackEvent(onEvent, onAnalytics, onThemeChange),
3356
3471
  [onEvent, onAnalytics, onThemeChange]
3357
3472
  );
3473
+ const onCopy = (copiedContent) => {
3474
+ if (copiedContent) {
3475
+ createSnackBar({ text: formatMessage(messages_default.copied) });
3476
+ } else {
3477
+ createSnackBar({ text: formatMessage(messages_default.copyFailed) });
3478
+ }
3479
+ };
3358
3480
  const coreProps = __spreadProps(__spreadValues({}, props), {
3359
3481
  httpClient,
3360
3482
  renderers: mergedRenderers,
3361
3483
  onEvent: trackEvent,
3362
3484
  onLog: logEvent,
3363
- onLink
3485
+ onLink,
3486
+ onCopy
3364
3487
  });
3365
- return /* @__PURE__ */ jsx62("div", { className, children: /* @__PURE__ */ jsx62(DynamicFlowCoreRevamp, __spreadValues({}, coreProps)) });
3488
+ return /* @__PURE__ */ jsx63("div", { className, children: /* @__PURE__ */ jsx63(DynamicFlowCoreRevamp, __spreadValues({}, coreProps)) });
3366
3489
  }
3367
3490
  var DynamicForm = forwardRef(function DynamicForm2(props, ref) {
3368
3491
  const {
@@ -3375,6 +3498,8 @@ var DynamicForm = forwardRef(function DynamicForm2(props, ref) {
3375
3498
  onLink = openLinkInNewTab,
3376
3499
  onThemeChange
3377
3500
  } = props;
3501
+ const { formatMessage } = useIntl10();
3502
+ const createSnackBar = useSnackBarIfAvailable();
3378
3503
  const httpClient = useWiseHttpClient(customFetch);
3379
3504
  const mergedRenderers = useMemo2(() => [...renderers != null ? renderers : [], ...wiseRenderers], [renderers]);
3380
3505
  const logEvent = useMemo2(() => getLogEvent(onLog), [onLog]);
@@ -3382,17 +3507,25 @@ var DynamicForm = forwardRef(function DynamicForm2(props, ref) {
3382
3507
  () => getTrackEvent(onEvent, onAnalytics, onThemeChange),
3383
3508
  [onEvent, onAnalytics, onThemeChange]
3384
3509
  );
3510
+ const onCopy = (copiedContent) => {
3511
+ if (copiedContent) {
3512
+ createSnackBar({ text: formatMessage(messages_default.copied) });
3513
+ } else {
3514
+ createSnackBar({ text: formatMessage(messages_default.copyFailed) });
3515
+ }
3516
+ };
3385
3517
  const coreProps = __spreadProps(__spreadValues({}, props), {
3386
3518
  httpClient,
3387
3519
  renderers: mergedRenderers,
3388
3520
  onEvent: trackEvent,
3389
3521
  onLog: logEvent,
3390
- onLink
3522
+ onLink,
3523
+ onCopy
3391
3524
  });
3392
- return /* @__PURE__ */ jsx62("div", { className, children: /* @__PURE__ */ jsx62(DynamicFormCore, __spreadProps(__spreadValues({}, coreProps), { ref })) });
3525
+ return /* @__PURE__ */ jsx63("div", { className, children: /* @__PURE__ */ jsx63(DynamicFormCore, __spreadProps(__spreadValues({}, coreProps), { ref })) });
3393
3526
  });
3394
3527
  var useWiseHttpClient = (httpClient) => {
3395
- const { locale } = useIntl9();
3528
+ const { locale } = useIntl10();
3396
3529
  return useCallback(
3397
3530
  async (input, init = {}) => {
3398
3531
  const headers = new Headers(init.headers);