@wise/dynamic-flow-client-internal 3.22.0 → 3.22.1

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
@@ -303,7 +303,8 @@ var de_default = {
303
303
  "df.wise.MultipleFileUploadSchema.maxFileSizeError": "Diese Datei ist leider zu gro\xDF. Bitte lade eine kleinere Datei hoch.",
304
304
  "df.wise.MultipleFileUploadSchema.maxItemsError": "Bitte lade {maxItems} oder weniger Dateien hoch.",
305
305
  "df.wise.MultipleFileUploadSchema.minItemsError": "Bitte lade mindestens {minItems} Datei(en) hoch.",
306
- "df.wise.PersistAsyncSchema.genericError": "Da ist etwas schiefgegangen. Versuche es bitte nochmal."
306
+ "df.wise.PersistAsyncSchema.genericError": "Da ist etwas schiefgegangen. Versuche es bitte nochmal.",
307
+ "df.wise.SearchLayout.loading": "L\xE4dt..."
307
308
  };
308
309
 
309
310
  // src/i18n/en.json
@@ -337,7 +338,8 @@ var en_default = {
337
338
  "df.wise.MultipleFileUploadSchema.maxFileSizeError": "Sorry, that file is too big. Please upload a smaller file.",
338
339
  "df.wise.MultipleFileUploadSchema.maxItemsError": "Please upload {maxItems} or fewer files.",
339
340
  "df.wise.MultipleFileUploadSchema.minItemsError": "Please upload at least {minItems} file(s).",
340
- "df.wise.PersistAsyncSchema.genericError": "Something went wrong, please try again."
341
+ "df.wise.PersistAsyncSchema.genericError": "Something went wrong, please try again.",
342
+ "df.wise.SearchLayout.loading": "Loading..."
341
343
  };
342
344
 
343
345
  // src/i18n/es.json
@@ -371,7 +373,8 @@ var es_default = {
371
373
  "df.wise.MultipleFileUploadSchema.maxFileSizeError": "Lo sentimos, el archivo pesa demasiado. Sube uno m\xE1s peque\xF1o.",
372
374
  "df.wise.MultipleFileUploadSchema.maxItemsError": "Sube {maxItems} o menos archivos.",
373
375
  "df.wise.MultipleFileUploadSchema.minItemsError": "Sube al menos {minItems} archivo(s).",
374
- "df.wise.PersistAsyncSchema.genericError": "Ha habido un error. Int\xE9ntalo de nuevo."
376
+ "df.wise.PersistAsyncSchema.genericError": "Ha habido un error. Int\xE9ntalo de nuevo.",
377
+ "df.wise.SearchLayout.loading": "Cargando..."
375
378
  };
376
379
 
377
380
  // src/i18n/fr.json
@@ -405,7 +408,8 @@ var fr_default = {
405
408
  "df.wise.MultipleFileUploadSchema.maxFileSizeError": "Nous sommes d\xE9sol\xE9s, ce fichier est trop volumineux. Veuillez t\xE9l\xE9charger un fichier plus petit.",
406
409
  "df.wise.MultipleFileUploadSchema.maxItemsError": "Veuillez t\xE9l\xE9charger {maxItems} fichiers ou moins.",
407
410
  "df.wise.MultipleFileUploadSchema.minItemsError": "Veuillez t\xE9l\xE9charger au moins {minItems} fichier(s).",
408
- "df.wise.PersistAsyncSchema.genericError": "Une erreur s'est produite, veuillez r\xE9essayer."
411
+ "df.wise.PersistAsyncSchema.genericError": "Une erreur s'est produite, veuillez r\xE9essayer.",
412
+ "df.wise.SearchLayout.loading": "Chargement..."
409
413
  };
410
414
 
411
415
  // src/i18n/hu.json
@@ -439,7 +443,8 @@ var hu_default = {
439
443
  "df.wise.MultipleFileUploadSchema.maxFileSizeError": "Sajnos ez a f\xE1jl t\xFAl nagy. K\xE9r\xFCnk, t\xF6lts fel egy kisebb f\xE1jlt.",
440
444
  "df.wise.MultipleFileUploadSchema.maxItemsError": "K\xE9r\xFCnk, hogy legfeljebb {maxItems} f\xE1jlt t\xF6lts fel.",
441
445
  "df.wise.MultipleFileUploadSchema.minItemsError": "K\xE9r\xFCnk, hogy legal\xE1bb {minItems} f\xE1jlt t\xF6lts fel.",
442
- "df.wise.PersistAsyncSchema.genericError": "Valami hiba t\xF6rt\xE9nt. K\xE9r\xFCnk, pr\xF3b\xE1ld \xFAjra."
446
+ "df.wise.PersistAsyncSchema.genericError": "Valami hiba t\xF6rt\xE9nt. K\xE9r\xFCnk, pr\xF3b\xE1ld \xFAjra.",
447
+ "df.wise.SearchLayout.loading": "Bet\xF6lt\xE9s..."
443
448
  };
444
449
 
445
450
  // src/i18n/id.json
@@ -473,7 +478,8 @@ var id_default = {
473
478
  "df.wise.MultipleFileUploadSchema.maxFileSizeError": "Maaf, file Anda terlalu besar. Silakan unggah file yang lebih kecil.",
474
479
  "df.wise.MultipleFileUploadSchema.maxItemsError": "Harap unggah {maxItems} file atau kurang.",
475
480
  "df.wise.MultipleFileUploadSchema.minItemsError": "Harap unggah sedikitnya {minItems} file.",
476
- "df.wise.PersistAsyncSchema.genericError": "Terjadi kesalahan, mohon coba lagi."
481
+ "df.wise.PersistAsyncSchema.genericError": "Terjadi kesalahan, mohon coba lagi.",
482
+ "df.wise.SearchLayout.loading": "Memuat..."
477
483
  };
478
484
 
479
485
  // src/i18n/it.json
@@ -507,7 +513,8 @@ var it_default = {
507
513
  "df.wise.MultipleFileUploadSchema.maxFileSizeError": "Spiacenti, il file \xE8 troppo grande. Carica un file di dimensioni inferiori.",
508
514
  "df.wise.MultipleFileUploadSchema.maxItemsError": "Carica al massimo {maxItems} file.",
509
515
  "df.wise.MultipleFileUploadSchema.minItemsError": "Carica almeno {minItems} file.",
510
- "df.wise.PersistAsyncSchema.genericError": "Qualcosa \xE8 andato storto. Riprova."
516
+ "df.wise.PersistAsyncSchema.genericError": "Qualcosa \xE8 andato storto. Riprova.",
517
+ "df.wise.SearchLayout.loading": "Caricamento..."
511
518
  };
512
519
 
513
520
  // src/i18n/ja.json
@@ -541,7 +548,8 @@ var ja_default = {
541
548
  "df.wise.MultipleFileUploadSchema.maxFileSizeError": "\u5927\u5909\u7533\u3057\u8A33\u3054\u3056\u3044\u307E\u305B\u3093\u304C\u3001\u30D5\u30A1\u30A4\u30EB\u304C\u5927\u304D\u3059\u304E\u307E\u3059\u3002\u3053\u308C\u3088\u308A\u5C0F\u3055\u3044\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
542
549
  "df.wise.MultipleFileUploadSchema.maxItemsError": "{maxItems}\u500B\u4EE5\u4E0B\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
543
550
  "df.wise.MultipleFileUploadSchema.minItemsError": "{minItems}\u500B\u4EE5\u4E0A\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
544
- "df.wise.PersistAsyncSchema.genericError": "\u554F\u984C\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002\u518D\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002"
551
+ "df.wise.PersistAsyncSchema.genericError": "\u554F\u984C\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002\u518D\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002",
552
+ "df.wise.SearchLayout.loading": "\u8AAD\u307F\u8FBC\u307F\u4E2D\u2026"
545
553
  };
546
554
 
547
555
  // src/i18n/pl.json
@@ -575,7 +583,8 @@ var pl_default = {
575
583
  "df.wise.MultipleFileUploadSchema.maxFileSizeError": "Przepraszamy, ten plik jest zbyt du\u017Cy. Prze\u015Blij mniejszy plik.",
576
584
  "df.wise.MultipleFileUploadSchema.maxItemsError": "Prze\u015Blij do {maxItems} plik\xF3w.",
577
585
  "df.wise.MultipleFileUploadSchema.minItemsError": "Prze\u015Blij co najmniej nast\u0119puj\u0105c\u0105 liczb\u0119 plik\xF3w: {minItems}.",
578
- "df.wise.PersistAsyncSchema.genericError": "Wyst\u0105pi\u0142 b\u0142\u0105d, prosimy spr\xF3bowa\u0107 ponownie."
586
+ "df.wise.PersistAsyncSchema.genericError": "Wyst\u0105pi\u0142 b\u0142\u0105d, prosimy spr\xF3bowa\u0107 ponownie.",
587
+ "df.wise.SearchLayout.loading": "Trwa \u0142adowanie..."
579
588
  };
580
589
 
581
590
  // src/i18n/pt.json
@@ -609,7 +618,8 @@ var pt_default = {
609
618
  "df.wise.MultipleFileUploadSchema.maxFileSizeError": "Este arquivo \xE9 muito grande. Por favor, envie um arquivo menor.",
610
619
  "df.wise.MultipleFileUploadSchema.maxItemsError": "Por favor, envie {maxItems} ou menos arquivos.",
611
620
  "df.wise.MultipleFileUploadSchema.minItemsError": "Por favor, envie pelo menos {minItems} arquivo(s).",
612
- "df.wise.PersistAsyncSchema.genericError": "Ocorreu um erro. Por favor, tente novamente."
621
+ "df.wise.PersistAsyncSchema.genericError": "Ocorreu um erro. Por favor, tente novamente.",
622
+ "df.wise.SearchLayout.loading": "Carregando..."
613
623
  };
614
624
 
615
625
  // src/i18n/ro.json
@@ -643,7 +653,8 @@ var ro_default = {
643
653
  "df.wise.MultipleFileUploadSchema.maxFileSizeError": "Ne pare r\u0103u, acel fi\u0219ier este prea mare. Te rug\u0103m s\u0103 \xEEncarci un fi\u0219ier mai mic.",
644
654
  "df.wise.MultipleFileUploadSchema.maxItemsError": "Te rug\u0103m s\u0103 \xEEncarci {maxItems} fi\u0219iere sau mai pu\u021Bine.",
645
655
  "df.wise.MultipleFileUploadSchema.minItemsError": "Te rug\u0103m s\u0103 \xEEncarci cel pu\u021Bin {minItems} fi\u0219ier(e).",
646
- "df.wise.PersistAsyncSchema.genericError": "Ceva nu a mers bine, te rug\u0103m s\u0103 \xEEncerci din nou."
656
+ "df.wise.PersistAsyncSchema.genericError": "Ceva nu a mers bine, te rug\u0103m s\u0103 \xEEncerci din nou.",
657
+ "df.wise.SearchLayout.loading": "Se \xEEncarc\u0103..."
647
658
  };
648
659
 
649
660
  // src/i18n/ru.json
@@ -677,7 +688,8 @@ var ru_default = {
677
688
  "df.wise.MultipleFileUploadSchema.maxFileSizeError": "\u0418\u0437\u0432\u0438\u043D\u0438\u0442\u0435, \u0444\u0430\u0439\u043B \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0439. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0444\u0430\u0439\u043B \u043C\u0435\u043D\u044C\u0448\u0435\u0433\u043E \u0440\u0430\u0437\u043C\u0435\u0440\u0430.",
678
689
  "df.wise.MultipleFileUploadSchema.maxItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u043D\u0435 \u0431\u043E\u043B\u0435\u0435 {maxItems} \u0444\u0430\u0439\u043B\u043E\u0432.",
679
690
  "df.wise.MultipleFileUploadSchema.minItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u043F\u043E \u043A\u0440\u0430\u0439\u043D\u0435\u0439 \u043C\u0435\u0440\u0435 {minItems} \u0444\u0430\u0439\u043B(-\u0430/\u043E\u0432).",
680
- "df.wise.PersistAsyncSchema.genericError": "\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0435 \u0440\u0430\u0437."
691
+ "df.wise.PersistAsyncSchema.genericError": "\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0435 \u0440\u0430\u0437.",
692
+ "df.wise.SearchLayout.loading": "\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430..."
681
693
  };
682
694
 
683
695
  // src/i18n/th.json
@@ -711,7 +723,8 @@ var th_default = {
711
723
  "df.wise.MultipleFileUploadSchema.maxFileSizeError": "\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E44\u0E1F\u0E25\u0E4C\u0E19\u0E31\u0E49\u0E19\u0E43\u0E2B\u0E0D\u0E48\u0E40\u0E01\u0E34\u0E19\u0E44\u0E1B \u0E42\u0E1B\u0E23\u0E14\u0E2D\u0E31\u0E1B\u0E42\u0E2B\u0E25\u0E14\u0E44\u0E1F\u0E25\u0E4C\u0E17\u0E35\u0E48\u0E21\u0E35\u0E02\u0E19\u0E32\u0E14\u0E40\u0E25\u0E47\u0E01\u0E25\u0E07",
712
724
  "df.wise.MultipleFileUploadSchema.maxItemsError": "\u0E42\u0E1B\u0E23\u0E14\u0E2D\u0E31\u0E1B\u0E42\u0E2B\u0E25\u0E14 {maxItems} \u0E44\u0E1F\u0E25\u0E4C\u0E2B\u0E23\u0E37\u0E2D\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32",
713
725
  "df.wise.MultipleFileUploadSchema.minItemsError": "\u0E42\u0E1B\u0E23\u0E14\u0E2D\u0E31\u0E1B\u0E42\u0E2B\u0E25\u0E14\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22 {minItems} \u0E44\u0E1F\u0E25\u0E4C",
714
- "df.wise.PersistAsyncSchema.genericError": "\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E1A\u0E32\u0E07\u0E2D\u0E22\u0E48\u0E32\u0E07 \u0E42\u0E1B\u0E23\u0E14\u0E25\u0E2D\u0E07\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07"
726
+ "df.wise.PersistAsyncSchema.genericError": "\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E1A\u0E32\u0E07\u0E2D\u0E22\u0E48\u0E32\u0E07 \u0E42\u0E1B\u0E23\u0E14\u0E25\u0E2D\u0E07\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",
727
+ "df.wise.SearchLayout.loading": "\u0E01\u0E33\u0E25\u0E31\u0E07\u0E42\u0E2B\u0E25\u0E14..."
715
728
  };
716
729
 
717
730
  // src/i18n/tr.json
@@ -745,7 +758,8 @@ var tr_default = {
745
758
  "df.wise.MultipleFileUploadSchema.maxFileSizeError": "\xDCzg\xFCn\xFCz, bu dosya \xE7ok b\xFCy\xFCk. L\xFCtfen daha k\xFC\xE7\xFCk bir dosya y\xFCkleyin.",
746
759
  "df.wise.MultipleFileUploadSchema.maxItemsError": "L\xFCtfen {maxItems} veya daha az dosya y\xFCkleyin.",
747
760
  "df.wise.MultipleFileUploadSchema.minItemsError": "L\xFCtfen en az {minItems} dosya y\xFCkleyin.",
748
- "df.wise.PersistAsyncSchema.genericError": "Bir \u015Feyler ters gitti, l\xFCtfen tekrar deneyin."
761
+ "df.wise.PersistAsyncSchema.genericError": "Bir \u015Feyler ters gitti, l\xFCtfen tekrar deneyin.",
762
+ "df.wise.SearchLayout.loading": "Y\xFCkleniyor..."
749
763
  };
750
764
 
751
765
  // src/i18n/zh_CN.json
@@ -779,7 +793,8 @@ var zh_CN_default = {
779
793
  "df.wise.MultipleFileUploadSchema.maxFileSizeError": "\u62B1\u6B49\uFF0C\u8BE5\u6587\u4EF6\u592A\u5927\u3002\u8BF7\u4E0A\u4F20\u4E00\u4E2A\u66F4\u5C0F\u7684\u6587\u4EF6\u3002",
780
794
  "df.wise.MultipleFileUploadSchema.maxItemsError": "\u8BF7\u4E0A\u4F20\u4E0D\u8D85\u8FC7 {maxItems} \u4E2A\u6587\u4EF6\u3002",
781
795
  "df.wise.MultipleFileUploadSchema.minItemsError": "\u8BF7\u4E0A\u4F20\u81F3\u5C11 {minItems} \u4E2A\u6587\u4EF6\u3002",
782
- "df.wise.PersistAsyncSchema.genericError": "\u51FA\u9519\u4E86\uFF0C\u8BF7\u91CD\u8BD5\u3002"
796
+ "df.wise.PersistAsyncSchema.genericError": "\u51FA\u9519\u4E86\uFF0C\u8BF7\u91CD\u8BD5\u3002",
797
+ "df.wise.SearchLayout.loading": "\u6B63\u5728\u52A0\u8F7D\u2026"
783
798
  };
784
799
 
785
800
  // src/i18n/zh_HK.json
@@ -813,7 +828,8 @@ var zh_HK_default = {
813
828
  "df.wise.MultipleFileUploadSchema.maxFileSizeError": "\u62B1\u6B49\uFF0C\u8A72\u6A94\u6848\u592A\u5927\u3002\u8ACB\u4E0A\u8F09\u4E00\u500B\u8F03\u5C0F\u7684\u6A94\u6848\u3002",
814
829
  "df.wise.MultipleFileUploadSchema.maxItemsError": "\u8ACB\u4E0D\u8981\u4E0A\u8F09\u8D85\u904E{maxItems}\u500B\u6A94\u6848\u3002",
815
830
  "df.wise.MultipleFileUploadSchema.minItemsError": "\u8ACB\u4E0A\u8F09\u81F3\u5C11{minItems}\u500B\u6A94\u6848\u3002",
816
- "df.wise.PersistAsyncSchema.genericError": "\u51FA\u73FE\u4E86\u554F\u984C\uFF0C\u8ACB\u518D\u8A66\u4E00\u6B21\u3002"
831
+ "df.wise.PersistAsyncSchema.genericError": "\u51FA\u73FE\u4E86\u554F\u984C\uFF0C\u8ACB\u518D\u8A66\u4E00\u6B21\u3002",
832
+ "df.wise.SearchLayout.loading": "\u8F09\u5165\u4E2D\u2026"
817
833
  };
818
834
 
819
835
  // src/i18n/index.ts
@@ -847,7 +863,7 @@ var i18n_default = translations;
847
863
 
848
864
  // src/dynamicFlow/DynamicFlow.tsx
849
865
  import { forwardRef as forwardRef2, useCallback, useMemo as useMemo2 } from "react";
850
- import { useIntl as useIntl8 } from "react-intl";
866
+ import { useIntl as useIntl9 } from "react-intl";
851
867
  import {
852
868
  DynamicFlow as DynamicFlowCoreLegacy,
853
869
  DynamicFlowCoreRevamp,
@@ -2174,6 +2190,19 @@ function ErrorResult({ state }) {
2174
2190
 
2175
2191
  // ../renderers/src/SearchRenderer/BlockSearchRendererComponent.tsx
2176
2192
  import { useState as useState6 } from "react";
2193
+
2194
+ // ../renderers/src/messages/search.messages.ts
2195
+ import { defineMessages as defineMessages6 } from "react-intl";
2196
+ var search_messages_default = defineMessages6({
2197
+ loading: {
2198
+ id: "df.wise.SearchLayout.loading",
2199
+ defaultMessage: "Loading...",
2200
+ description: "A message shown to the user while their search is being processed, before results appear."
2201
+ }
2202
+ });
2203
+
2204
+ // ../renderers/src/SearchRenderer/BlockSearchRendererComponent.tsx
2205
+ import { useIntl as useIntl6 } from "react-intl";
2177
2206
  import { Fragment as Fragment3, jsx as jsx36, jsxs as jsxs12 } from "react/jsx-runtime";
2178
2207
  function BlockSearchRendererComponent({
2179
2208
  id,
@@ -2186,6 +2215,7 @@ function BlockSearchRendererComponent({
2186
2215
  }) {
2187
2216
  const [hasSearched, setHasSearched] = useState6(false);
2188
2217
  const trackEvent = useTrackEvent();
2218
+ const { formatMessage } = useIntl6();
2189
2219
  return /* @__PURE__ */ jsxs12("div", { className: getMargin(margin), children: [
2190
2220
  /* @__PURE__ */ jsx36(FieldInput_default, { id, description: "", validation: void 0, help: "", label: title, children: /* @__PURE__ */ jsx36(
2191
2221
  Input4,
@@ -2204,7 +2234,7 @@ function BlockSearchRendererComponent({
2204
2234
  }
2205
2235
  }
2206
2236
  ) }),
2207
- isLoading ? /* @__PURE__ */ jsx36(Fragment3, { children: "Loading..." }) : /* @__PURE__ */ jsx36(SearchResultContent, { state, onChange })
2237
+ isLoading ? /* @__PURE__ */ jsx36(Fragment3, { children: formatMessage(search_messages_default.loading) }) : /* @__PURE__ */ jsx36(SearchResultContent, { state, onChange })
2208
2238
  ] });
2209
2239
  }
2210
2240
  function SearchResultContent({
@@ -2257,7 +2287,7 @@ var BlockSearchRendererComponent_default = BlockSearchRendererComponent;
2257
2287
  import { Markdown as Markdown4, Typeahead } from "@transferwise/components";
2258
2288
  import { Search } from "@transferwise/icons";
2259
2289
  import { useState as useState7 } from "react";
2260
- import { useIntl as useIntl6 } from "react-intl";
2290
+ import { useIntl as useIntl7 } from "react-intl";
2261
2291
  import { jsx as jsx37 } from "react/jsx-runtime";
2262
2292
  function InlineSearchRenderer({
2263
2293
  id,
@@ -2269,7 +2299,7 @@ function InlineSearchRenderer({
2269
2299
  }) {
2270
2300
  const [hasSearched, setHasSearched] = useState7(false);
2271
2301
  const trackEvent = useTrackEvent();
2272
- const intl = useIntl6();
2302
+ const intl = useIntl7();
2273
2303
  return /* @__PURE__ */ jsx37("div", { className: getMargin(margin), children: /* @__PURE__ */ jsx37(FieldInput_default, { id, description: "", validation: void 0, help: "", label: title, children: /* @__PURE__ */ jsx37(
2274
2304
  Typeahead,
2275
2305
  {
@@ -2316,6 +2346,7 @@ function mapResultToTypeaheadOption(result) {
2316
2346
  };
2317
2347
  }
2318
2348
  function TypeaheadFooter({ state, isLoading }) {
2349
+ const { formatMessage } = useIntl7();
2319
2350
  if (state.type === "noResults") {
2320
2351
  return /* @__PURE__ */ jsx37(Markdown4, { className: "m-t-2 m-x-2", config: { link: { target: "_blank" } }, children: state.message });
2321
2352
  }
@@ -2323,7 +2354,7 @@ function TypeaheadFooter({ state, isLoading }) {
2323
2354
  return /* @__PURE__ */ jsx37("div", { className: "m-t-2 m-x-2", children: /* @__PURE__ */ jsx37(ErrorResult, { state }) });
2324
2355
  }
2325
2356
  if (state.type === "pending" || isLoading) {
2326
- return /* @__PURE__ */ jsx37("p", { className: "m-t-2 m-x-2", children: "Loading..." });
2357
+ return /* @__PURE__ */ jsx37("p", { className: "m-t-2 m-x-2", children: formatMessage(search_messages_default.loading) });
2327
2358
  }
2328
2359
  return null;
2329
2360
  }
@@ -2927,11 +2958,11 @@ var getFieldValue = (value, help, orientation) => {
2927
2958
  import { useMemo } from "react";
2928
2959
 
2929
2960
  // ../renderers/src/step/ExternalConfirmationDialog.tsx
2930
- import { useIntl as useIntl7 } from "react-intl";
2961
+ import { useIntl as useIntl8 } from "react-intl";
2931
2962
 
2932
2963
  // ../renderers/src/messages/external-confirmation.messages.ts
2933
- import { defineMessages as defineMessages6 } from "react-intl";
2934
- var external_confirmation_messages_default = defineMessages6({
2964
+ import { defineMessages as defineMessages7 } from "react-intl";
2965
+ var external_confirmation_messages_default = defineMessages7({
2935
2966
  title: {
2936
2967
  id: "df.wise.ExternalConfirmation.title",
2937
2968
  defaultMessage: "Please confirm",
@@ -2961,7 +2992,7 @@ function ExternalConfirmationDialog({
2961
2992
  external,
2962
2993
  onClose
2963
2994
  }) {
2964
- const { formatMessage } = useIntl7();
2995
+ const { formatMessage } = useIntl8();
2965
2996
  return /* @__PURE__ */ jsx50("div", { className: "df-box-renderer-fixed-width", children: /* @__PURE__ */ jsxs19("div", { className: "df-box-renderer-width-lg", children: [
2966
2997
  /* @__PURE__ */ jsx50("h2", { className: "text-xs-center m-b-5", children: formatMessage(external_confirmation_messages_default.title) }),
2967
2998
  /* @__PURE__ */ jsx50(Markdown5, { config: { link: { target: "_blank" } }, className: "text-xs-center m-b-5", children: formatMessage(external_confirmation_messages_default.description, { origin: getOrigin(external.url) }) }),
@@ -3112,7 +3143,7 @@ var DynamicFragment = forwardRef2(function DynamicFragment2(props, ref) {
3112
3143
  return /* @__PURE__ */ jsx53(RendererHttpClientProvider, { httpClient, children: /* @__PURE__ */ jsx53(DynamicFragmentCore, __spreadProps(__spreadValues({}, coreProps), { ref })) });
3113
3144
  });
3114
3145
  var useWiseHttpClient = (httpClient) => {
3115
- const { locale } = useIntl8();
3146
+ const { locale } = useIntl9();
3116
3147
  return useCallback(
3117
3148
  async (input, init = {}) => {
3118
3149
  const headers = new Headers(init.headers);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise/dynamic-flow-client-internal",
3
- "version": "3.22.0",
3
+ "version": "3.22.1",
4
4
  "description": "Dynamic Flow web client for Wise",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/main.min.js",
@@ -27,14 +27,14 @@
27
27
  "url": "git+https://github.com/transferwise/dynamic-flow.git"
28
28
  },
29
29
  "devDependencies": {
30
- "@babel/core": "7.25.7",
30
+ "@babel/core": "7.25.8",
31
31
  "@babel/plugin-syntax-flow": "7.25.7",
32
32
  "@babel/plugin-transform-react-jsx": "7.25.7",
33
- "@babel/preset-env": "7.25.7",
33
+ "@babel/preset-env": "7.25.8",
34
34
  "@babel/preset-react": "7.25.7",
35
35
  "@babel/preset-typescript": "7.25.7",
36
36
  "@chromatic-com/storybook": "2.0.2",
37
- "@formatjs/cli": "^6.2.12",
37
+ "@formatjs/cli": "^6.2.15",
38
38
  "@storybook/addon-a11y": "^8.3.5",
39
39
  "@storybook/addon-actions": "^8.3.5",
40
40
  "@storybook/addon-essentials": "^8.3.5",
@@ -54,7 +54,7 @@
54
54
  "@transferwise/neptune-css": "14.18.0",
55
55
  "@types/jest": "29.5.13",
56
56
  "@types/react": "18.3.11",
57
- "@types/react-dom": "18.3.0",
57
+ "@types/react-dom": "18.3.1",
58
58
  "@wise/art": "2.15.0",
59
59
  "@wise/components-theming": "^1.6.0",
60
60
  "babel-jest": "29.7.0",
@@ -70,18 +70,18 @@
70
70
  "postcss-import": "^15.1.0",
71
71
  "react": "18.3.1",
72
72
  "react-dom": "18.3.1",
73
- "react-intl": "6.7.0",
73
+ "react-intl": "6.8.0",
74
74
  "storybook": "^8.3.5",
75
- "stylelint": "16.9.0",
75
+ "stylelint": "16.10.0",
76
76
  "stylelint-config-standard": "36.0.1",
77
77
  "stylelint-no-unsupported-browser-features": "8.0.1",
78
78
  "stylelint-value-no-unknown-custom-properties": "6.0.1",
79
79
  "tsx": "4.19.1",
80
- "typescript": "5.6.2",
80
+ "typescript": "5.6.3",
81
81
  "webpack": "5.95.0",
82
82
  "@wise/dynamic-flow-fixtures": "0.0.1",
83
83
  "@wise/dynamic-flow-renderers": "0.0.0",
84
- "@wise/dynamic-flow-types": "2.24.0"
84
+ "@wise/dynamic-flow-types": "2.24.1"
85
85
  },
86
86
  "peerDependencies": {
87
87
  "@transferwise/components": "^46.31",
@@ -95,8 +95,8 @@
95
95
  },
96
96
  "dependencies": {
97
97
  "classnames": "2.5.1",
98
- "@wise/dynamic-flow-client": "3.22.0",
99
- "@wise/dynamic-flow-types": "2.24.0"
98
+ "@wise/dynamic-flow-client": "3.22.1",
99
+ "@wise/dynamic-flow-types": "2.24.1"
100
100
  },
101
101
  "scripts": {
102
102
  "dev": "pnpm build:visual-tests && storybook dev -p 3005",