@wise/dynamic-flow-client-internal 4.36.2 → 4.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,6 +33,7 @@
33
33
  "df.wise.MultipleFileUploadSchema.minItemsError": "Nahrajte prosím alespoň následující počet souborů: {minItems}.",
34
34
  "df.wise.PersistAsyncSchema.genericError": "Něco se pokazilo. Zkuste to prosím znovu.",
35
35
  "df.wise.SearchLayout.loading": "Načítání...",
36
+ "df.wise.back.label": "Zpět",
36
37
  "df.wise.filter.noResults": "Žádné výsledky",
37
38
  "df.wise.filter.placeholder": "Pro vyhledávání začněte psát",
38
39
  "df.wise.filter.results": "Výsledky vyhledávání",
@@ -33,6 +33,7 @@
33
33
  "df.wise.MultipleFileUploadSchema.minItemsError": "Bitte lade mindestens {minItems} Datei(en) hoch.",
34
34
  "df.wise.PersistAsyncSchema.genericError": "Da ist etwas schiefgegangen. Versuche es bitte nochmal.",
35
35
  "df.wise.SearchLayout.loading": "Lädt...",
36
+ "df.wise.back.label": "Zurück",
36
37
  "df.wise.filter.noResults": "Keine Ergebnisse",
37
38
  "df.wise.filter.placeholder": "Gib etwas ein, um die Suche zu beginnen",
38
39
  "df.wise.filter.results": "Suchergebnisse",
@@ -33,6 +33,7 @@
33
33
  "df.wise.MultipleFileUploadSchema.minItemsError": "Please upload at least {minItems} file(s).",
34
34
  "df.wise.PersistAsyncSchema.genericError": "Something went wrong, please try again.",
35
35
  "df.wise.SearchLayout.loading": "Loading...",
36
+ "df.wise.back.label": "Back",
36
37
  "df.wise.filter.noResults": "No results",
37
38
  "df.wise.filter.placeholder": "Start typing to search",
38
39
  "df.wise.filter.results": "Search results",
@@ -33,6 +33,7 @@
33
33
  "df.wise.MultipleFileUploadSchema.minItemsError": "Sube al menos {minItems} archivo(s).",
34
34
  "df.wise.PersistAsyncSchema.genericError": "Ha habido un error. Inténtalo de nuevo.",
35
35
  "df.wise.SearchLayout.loading": "Cargando...",
36
+ "df.wise.back.label": "Volver",
36
37
  "df.wise.filter.noResults": "No hay resultados",
37
38
  "df.wise.filter.placeholder": "Empieza a escribir para buscar",
38
39
  "df.wise.filter.results": "Resultados de búsqueda",
@@ -33,6 +33,7 @@
33
33
  "df.wise.MultipleFileUploadSchema.minItemsError": "Veuillez télécharger au moins {minItems} fichier(s).",
34
34
  "df.wise.PersistAsyncSchema.genericError": "Une erreur s'est produite, veuillez réessayer.",
35
35
  "df.wise.SearchLayout.loading": "Chargement...",
36
+ "df.wise.back.label": "Retour",
36
37
  "df.wise.filter.noResults": "Aucun résultat",
37
38
  "df.wise.filter.placeholder": "Commencez à écrire pour effectuer une recherche",
38
39
  "df.wise.filter.results": "Résultats de recherche",
@@ -33,6 +33,7 @@
33
33
  "df.wise.MultipleFileUploadSchema.minItemsError": "Kérünk, hogy legalább {minItems} fájlt tölts fel.",
34
34
  "df.wise.PersistAsyncSchema.genericError": "Valami hiba történt. Kérünk, próbáld újra.",
35
35
  "df.wise.SearchLayout.loading": "Betöltés...",
36
+ "df.wise.back.label": "Vissza",
36
37
  "df.wise.filter.noResults": "Nincs találat",
37
38
  "df.wise.filter.placeholder": "Kezdj el gépelni a kereséshez",
38
39
  "df.wise.filter.results": "Keresési eredmények",
@@ -33,6 +33,7 @@
33
33
  "df.wise.MultipleFileUploadSchema.minItemsError": "Harap unggah sedikitnya {minItems} file.",
34
34
  "df.wise.PersistAsyncSchema.genericError": "Terjadi kesalahan, mohon coba lagi.",
35
35
  "df.wise.SearchLayout.loading": "Memuat ...",
36
+ "df.wise.back.label": "Kembali",
36
37
  "df.wise.filter.noResults": "Tidak ada hasil",
37
38
  "df.wise.filter.placeholder": "Mulai mengetik untuk mencari",
38
39
  "df.wise.filter.results": "Hasil pencarian",
@@ -33,6 +33,7 @@
33
33
  "df.wise.MultipleFileUploadSchema.minItemsError": "Carica almeno {minItems} file.",
34
34
  "df.wise.PersistAsyncSchema.genericError": "Qualcosa è andato storto. Riprova.",
35
35
  "df.wise.SearchLayout.loading": "Caricamento...",
36
+ "df.wise.back.label": "Indietro",
36
37
  "df.wise.filter.noResults": "Nessun risultato",
37
38
  "df.wise.filter.placeholder": "Inizia a digitare per cercare",
38
39
  "df.wise.filter.results": "Risultati della ricerca",
@@ -33,6 +33,7 @@
33
33
  "df.wise.MultipleFileUploadSchema.minItemsError": "{minItems}個以上のファイルをアップロードしてください。",
34
34
  "df.wise.PersistAsyncSchema.genericError": "問題が発生しました。再度お試しください。",
35
35
  "df.wise.SearchLayout.loading": "読み込み中…",
36
+ "df.wise.back.label": "戻る",
36
37
  "df.wise.filter.noResults": "検索結果がありません",
37
38
  "df.wise.filter.placeholder": "検索語句を入力してください",
38
39
  "df.wise.filter.results": "検索結果",
@@ -33,6 +33,7 @@
33
33
  "df.wise.MultipleFileUploadSchema.minItemsError": "Upload minimaal {minItems} bestand(en).",
34
34
  "df.wise.PersistAsyncSchema.genericError": "Er is iets misgegaan, probeer het opnieuw.",
35
35
  "df.wise.SearchLayout.loading": "Laden...",
36
+ "df.wise.back.label": "Terug",
36
37
  "df.wise.filter.noResults": "Geen resultaten",
37
38
  "df.wise.filter.placeholder": "Begin met typen om te zoeken",
38
39
  "df.wise.filter.results": "Zoekresultaten",
@@ -33,6 +33,7 @@
33
33
  "df.wise.MultipleFileUploadSchema.minItemsError": "Prześlij co najmniej następującą liczbę plików: {minItems}.",
34
34
  "df.wise.PersistAsyncSchema.genericError": "Wystąpił błąd, prosimy spróbować ponownie.",
35
35
  "df.wise.SearchLayout.loading": "Ładowanie...",
36
+ "df.wise.back.label": "Wróć",
36
37
  "df.wise.filter.noResults": "Brak wyników",
37
38
  "df.wise.filter.placeholder": "Zacznij pisać, żeby wyszukać",
38
39
  "df.wise.filter.results": "Wyniki wyszukiwania",
@@ -33,6 +33,7 @@
33
33
  "df.wise.MultipleFileUploadSchema.minItemsError": "Por favor, envie pelo menos {minItems} arquivo(s).",
34
34
  "df.wise.PersistAsyncSchema.genericError": "Ocorreu um erro. Por favor, tente novamente.",
35
35
  "df.wise.SearchLayout.loading": "Carregando...",
36
+ "df.wise.back.label": "Voltar",
36
37
  "df.wise.filter.noResults": "Nenhum resultado",
37
38
  "df.wise.filter.placeholder": "Comece a digitar para pesquisar",
38
39
  "df.wise.filter.results": "Resultados da busca",
@@ -33,6 +33,7 @@
33
33
  "df.wise.MultipleFileUploadSchema.minItemsError": "Te rugăm să încarci cel puțin {minItems} fișier(e).",
34
34
  "df.wise.PersistAsyncSchema.genericError": "Ceva nu a mers bine, te rugăm să încerci din nou.",
35
35
  "df.wise.SearchLayout.loading": "Se încarcă...",
36
+ "df.wise.back.label": "Înapoi",
36
37
  "df.wise.filter.noResults": "Niciun rezultat",
37
38
  "df.wise.filter.placeholder": "Începe să tastezi pentru a căuta",
38
39
  "df.wise.filter.results": "Rezultatele căutării",
@@ -33,6 +33,7 @@
33
33
  "df.wise.MultipleFileUploadSchema.minItemsError": "Пожалуйста, загрузите по крайней мере {minItems} файл(-а/ов).",
34
34
  "df.wise.PersistAsyncSchema.genericError": "Что-то пошло не так, пожалуйста, попробуйте еще раз.",
35
35
  "df.wise.SearchLayout.loading": "Загрузка...",
36
+ "df.wise.back.label": "Назад",
36
37
  "df.wise.filter.noResults": "Нет результатов",
37
38
  "df.wise.filter.placeholder": "Начните вводить запрос для поиска",
38
39
  "df.wise.filter.results": "Результаты поиска",
@@ -33,6 +33,7 @@
33
33
  "df.wise.MultipleFileUploadSchema.minItemsError": "โปรดอัปโหลดอย่างน้อย {minItems} ไฟล์",
34
34
  "df.wise.PersistAsyncSchema.genericError": "เกิดข้อผิดพลาดบางอย่าง โปรดลองอีกครั้ง",
35
35
  "df.wise.SearchLayout.loading": "กำลังโหลด...",
36
+ "df.wise.back.label": "ย้อนกลับ",
36
37
  "df.wise.filter.noResults": "ไม่มีผลลัพธ์",
37
38
  "df.wise.filter.placeholder": "เริ่มพิมพ์เพื่อค้นหาเลย",
38
39
  "df.wise.filter.results": "ผลการค้นหา",
@@ -33,6 +33,7 @@
33
33
  "df.wise.MultipleFileUploadSchema.minItemsError": "Lütfen en az {minItems} dosya yükleyin.",
34
34
  "df.wise.PersistAsyncSchema.genericError": "Bir şeyler ters gitti, lütfen tekrar deneyin.",
35
35
  "df.wise.SearchLayout.loading": "Yükleniyor...",
36
+ "df.wise.back.label": "Geri",
36
37
  "df.wise.filter.noResults": "Sonuç yok",
37
38
  "df.wise.filter.placeholder": "Aramak için yazmaya başlayın",
38
39
  "df.wise.filter.results": "Arama sonuçları",
@@ -33,6 +33,7 @@
33
33
  "df.wise.MultipleFileUploadSchema.minItemsError": "Мінімальна кількість файлів для завантаження: {minItems}.",
34
34
  "df.wise.PersistAsyncSchema.genericError": "Щось сталося. Спробуйте ще раз.",
35
35
  "df.wise.SearchLayout.loading": "Завантаження…",
36
+ "df.wise.back.label": "Назад",
36
37
  "df.wise.filter.noResults": "Нічого не знайдено",
37
38
  "df.wise.filter.placeholder": "Start typing to search",
38
39
  "df.wise.filter.results": "Результати пошуку",
@@ -33,6 +33,7 @@
33
33
  "df.wise.MultipleFileUploadSchema.minItemsError": "请上传至少 {minItems} 个文件。",
34
34
  "df.wise.PersistAsyncSchema.genericError": "出错了,请重试。",
35
35
  "df.wise.SearchLayout.loading": "正在加载…",
36
+ "df.wise.back.label": "返回",
36
37
  "df.wise.filter.noResults": "暂无结果",
37
38
  "df.wise.filter.placeholder": "开始输入以搜索",
38
39
  "df.wise.filter.results": "搜索结果",
@@ -33,6 +33,7 @@
33
33
  "df.wise.MultipleFileUploadSchema.minItemsError": "請上載至少{minItems}個檔案。",
34
34
  "df.wise.PersistAsyncSchema.genericError": "出現了問題,請再試一次。",
35
35
  "df.wise.SearchLayout.loading": "載入中…",
36
+ "df.wise.back.label": "返回",
36
37
  "df.wise.filter.noResults": "沒有結果",
37
38
  "df.wise.filter.placeholder": "開始輸入以搜尋",
38
39
  "df.wise.filter.results": "搜尋結果",
package/build/main.js CHANGED
@@ -495,7 +495,10 @@ var AvatarMedia = ({
495
495
  }) => {
496
496
  const getRenderableAvatar = (avatar) => {
497
497
  if (avatar.type === "text") {
498
- return { asset: avatar.text };
498
+ return {
499
+ asset: avatar.text,
500
+ badge: avatar.badgeUri ? resolveMediaFromUri(avatar.badgeUri, 16) : void 0
501
+ };
499
502
  }
500
503
  return __spreadProps(__spreadValues({}, resolveMediaFromUri(avatar.uri, size)), {
501
504
  badge: avatar.badgeUri ? resolveMediaFromUri(avatar.badgeUri, 16) : void 0
@@ -1968,6 +1971,11 @@ var MultiUploadInputRenderer = {
1968
1971
  "aria-describedby": descriptionId,
1969
1972
  description,
1970
1973
  disabled,
1974
+ files: value.map(({ id: id2, file, validationState: validationState2 }) => ({
1975
+ id: id2,
1976
+ filename: file.name,
1977
+ status: (validationState2 == null ? void 0 : validationState2.status) === "invalid" ? import_components29.Status.FAILED : import_components29.Status.SUCCEEDED
1978
+ })),
1971
1979
  fileTypes: acceptsToFileTypes(accepts),
1972
1980
  maxFiles: maxItems,
1973
1981
  multiple: true,
@@ -2894,10 +2902,24 @@ var useCustomTheme = (theme, trackEvent) => {
2894
2902
  // ../renderers/src/step/topbar/BackButton.tsx
2895
2903
  var import_components45 = require("@transferwise/components");
2896
2904
  var import_icons3 = require("@transferwise/icons");
2905
+ var import_react_intl24 = require("react-intl");
2906
+
2907
+ // ../renderers/src/messages/back.messages.ts
2908
+ var import_react_intl23 = require("react-intl");
2909
+ var back_messages_default = (0, import_react_intl23.defineMessages)({
2910
+ back: {
2911
+ id: "df.wise.back.label",
2912
+ defaultMessage: "Back",
2913
+ description: "Label for back button, used for screen readers"
2914
+ }
2915
+ });
2916
+
2917
+ // ../renderers/src/step/topbar/BackButton.tsx
2897
2918
  var import_jsx_runtime65 = require("react/jsx-runtime");
2898
2919
  function BackButton({ title, onClick }) {
2920
+ const { formatMessage } = (0, import_react_intl24.useIntl)();
2899
2921
  return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_components45.IconButton, { className: "df-back-button", priority: "tertiary", onClick, children: [
2900
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: "sr-only", children: title }),
2922
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: "sr-only", children: title != null ? title : formatMessage(back_messages_default.back) }),
2901
2923
  /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_icons3.ArrowLeft, {})
2902
2924
  ] });
2903
2925
  }
@@ -3044,12 +3066,18 @@ function StepRendererComponent(props) {
3044
3066
  ] });
3045
3067
  }
3046
3068
  var Header10 = ({ title, description, tags }) => {
3047
- const alignment = (tags == null ? void 0 : tags.includes("header-start")) ? "text-xs-left" : "text-xs-center";
3069
+ const { titleType, alignmentClassName } = getHeaderStyle(tags);
3048
3070
  return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(import_jsx_runtime70.Fragment, { children: [
3049
- title ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_components47.Title, { as: "h1", type: "title-section", className: `${alignment} m-b-2`, children: title }) : void 0,
3050
- description ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("p", { className: `${alignment} np-text-body-large`, children: description }) : void 0
3071
+ title ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_components47.Title, { as: "h1", type: titleType, className: `${alignmentClassName} m-b-2`, children: title }) : void 0,
3072
+ description ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("p", { className: `${alignmentClassName} np-text-body-large`, children: description }) : void 0
3051
3073
  ] });
3052
3074
  };
3075
+ var getHeaderStyle = (tags) => {
3076
+ if (tags == null ? void 0 : tags.includes("root-screen")) {
3077
+ return { titleType: "title-screen", alignmentClassName: "text-xs-left" };
3078
+ }
3079
+ return { titleType: "title-section", alignmentClassName: "text-xs-center" };
3080
+ };
3053
3081
 
3054
3082
  // ../renderers/src/TabsRenderer.tsx
3055
3083
  var import_components48 = require("@transferwise/components");
@@ -3242,7 +3270,7 @@ var import_jsx_runtime74 = require("react/jsx-runtime");
3242
3270
  var UploadInputRenderer = {
3243
3271
  canRenderType: "input-upload",
3244
3272
  render: (props) => {
3245
- const { id, accepts, title, description, disabled, maxSize, validationState, onUpload } = props;
3273
+ const { id, accepts, title, description, disabled, maxSize, validationState, value, onUpload } = props;
3246
3274
  const onUploadFile = async (formData) => {
3247
3275
  const file = formData.get("file");
3248
3276
  return onUpload(file).then(() => ({
@@ -3268,6 +3296,13 @@ var UploadInputRenderer = {
3268
3296
  description,
3269
3297
  disabled,
3270
3298
  sizeLimit: getSizeLimit(maxSize),
3299
+ files: value ? [
3300
+ {
3301
+ id: "my-file",
3302
+ filename: value.name,
3303
+ status: (validationState == null ? void 0 : validationState.status) === "invalid" ? import_components51.Status.FAILED : import_components51.Status.SUCCEEDED
3304
+ }
3305
+ ] : void 0,
3271
3306
  fileTypes: acceptsToFileTypes(accepts),
3272
3307
  uploadButtonTitle: title,
3273
3308
  onDeleteFile,
@@ -3761,6 +3796,7 @@ var cs_default = {
3761
3796
  "df.wise.MultipleFileUploadSchema.minItemsError": "Nahrajte pros\xEDm alespo\u0148 n\xE1sleduj\xEDc\xED po\u010Det soubor\u016F: {minItems}.",
3762
3797
  "df.wise.PersistAsyncSchema.genericError": "N\u011Bco se pokazilo. Zkuste to pros\xEDm znovu.",
3763
3798
  "df.wise.SearchLayout.loading": "Na\u010D\xEDt\xE1n\xED...",
3799
+ "df.wise.back.label": "Zp\u011Bt",
3764
3800
  "df.wise.filter.noResults": "\u017D\xE1dn\xE9 v\xFDsledky",
3765
3801
  "df.wise.filter.placeholder": "Pro vyhled\xE1v\xE1n\xED za\u010Dn\u011Bte ps\xE1t",
3766
3802
  "df.wise.filter.results": "V\xFDsledky vyhled\xE1v\xE1n\xED",
@@ -3806,6 +3842,7 @@ var de_default = {
3806
3842
  "df.wise.MultipleFileUploadSchema.minItemsError": "Bitte lade mindestens {minItems} Datei(en) hoch.",
3807
3843
  "df.wise.PersistAsyncSchema.genericError": "Da ist etwas schiefgegangen. Versuche es bitte nochmal.",
3808
3844
  "df.wise.SearchLayout.loading": "L\xE4dt...",
3845
+ "df.wise.back.label": "Zur\xFCck",
3809
3846
  "df.wise.filter.noResults": "Keine Ergebnisse",
3810
3847
  "df.wise.filter.placeholder": "Gib etwas ein, um die Suche zu beginnen",
3811
3848
  "df.wise.filter.results": "Suchergebnisse",
@@ -3851,6 +3888,7 @@ var en_default = {
3851
3888
  "df.wise.MultipleFileUploadSchema.minItemsError": "Please upload at least {minItems} file(s).",
3852
3889
  "df.wise.PersistAsyncSchema.genericError": "Something went wrong, please try again.",
3853
3890
  "df.wise.SearchLayout.loading": "Loading...",
3891
+ "df.wise.back.label": "Back",
3854
3892
  "df.wise.filter.noResults": "No results",
3855
3893
  "df.wise.filter.placeholder": "Start typing to search",
3856
3894
  "df.wise.filter.results": "Search results",
@@ -3896,6 +3934,7 @@ var es_default = {
3896
3934
  "df.wise.MultipleFileUploadSchema.minItemsError": "Sube al menos {minItems} archivo(s).",
3897
3935
  "df.wise.PersistAsyncSchema.genericError": "Ha habido un error. Int\xE9ntalo de nuevo.",
3898
3936
  "df.wise.SearchLayout.loading": "Cargando...",
3937
+ "df.wise.back.label": "Volver",
3899
3938
  "df.wise.filter.noResults": "No hay resultados",
3900
3939
  "df.wise.filter.placeholder": "Empieza a escribir para buscar",
3901
3940
  "df.wise.filter.results": "Resultados de b\xFAsqueda",
@@ -3941,6 +3980,7 @@ var fr_default = {
3941
3980
  "df.wise.MultipleFileUploadSchema.minItemsError": "Veuillez t\xE9l\xE9charger au moins {minItems} fichier(s).",
3942
3981
  "df.wise.PersistAsyncSchema.genericError": "Une erreur s'est produite, veuillez r\xE9essayer.",
3943
3982
  "df.wise.SearchLayout.loading": "Chargement...",
3983
+ "df.wise.back.label": "Retour",
3944
3984
  "df.wise.filter.noResults": "Aucun r\xE9sultat",
3945
3985
  "df.wise.filter.placeholder": "Commencez \xE0 \xE9crire pour effectuer une recherche",
3946
3986
  "df.wise.filter.results": "R\xE9sultats de recherche",
@@ -3986,6 +4026,7 @@ var hu_default = {
3986
4026
  "df.wise.MultipleFileUploadSchema.minItemsError": "K\xE9r\xFCnk, hogy legal\xE1bb {minItems} f\xE1jlt t\xF6lts fel.",
3987
4027
  "df.wise.PersistAsyncSchema.genericError": "Valami hiba t\xF6rt\xE9nt. K\xE9r\xFCnk, pr\xF3b\xE1ld \xFAjra.",
3988
4028
  "df.wise.SearchLayout.loading": "Bet\xF6lt\xE9s...",
4029
+ "df.wise.back.label": "Vissza",
3989
4030
  "df.wise.filter.noResults": "Nincs tal\xE1lat",
3990
4031
  "df.wise.filter.placeholder": "Kezdj el g\xE9pelni a keres\xE9shez",
3991
4032
  "df.wise.filter.results": "Keres\xE9si eredm\xE9nyek",
@@ -4031,6 +4072,7 @@ var id_default = {
4031
4072
  "df.wise.MultipleFileUploadSchema.minItemsError": "Harap unggah sedikitnya {minItems} file.",
4032
4073
  "df.wise.PersistAsyncSchema.genericError": "Terjadi kesalahan, mohon coba lagi.",
4033
4074
  "df.wise.SearchLayout.loading": "Memuat ...",
4075
+ "df.wise.back.label": "Kembali",
4034
4076
  "df.wise.filter.noResults": "Tidak ada hasil",
4035
4077
  "df.wise.filter.placeholder": "Mulai mengetik untuk mencari",
4036
4078
  "df.wise.filter.results": "Hasil pencarian",
@@ -4076,6 +4118,7 @@ var it_default = {
4076
4118
  "df.wise.MultipleFileUploadSchema.minItemsError": "Carica almeno {minItems} file.",
4077
4119
  "df.wise.PersistAsyncSchema.genericError": "Qualcosa \xE8 andato storto. Riprova.",
4078
4120
  "df.wise.SearchLayout.loading": "Caricamento...",
4121
+ "df.wise.back.label": "Indietro",
4079
4122
  "df.wise.filter.noResults": "Nessun risultato",
4080
4123
  "df.wise.filter.placeholder": "Inizia a digitare per cercare",
4081
4124
  "df.wise.filter.results": "Risultati della ricerca",
@@ -4121,6 +4164,7 @@ var ja_default = {
4121
4164
  "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",
4122
4165
  "df.wise.PersistAsyncSchema.genericError": "\u554F\u984C\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002\u518D\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002",
4123
4166
  "df.wise.SearchLayout.loading": "\u8AAD\u307F\u8FBC\u307F\u4E2D\u2026",
4167
+ "df.wise.back.label": "\u623B\u308B",
4124
4168
  "df.wise.filter.noResults": "\u691C\u7D22\u7D50\u679C\u304C\u3042\u308A\u307E\u305B\u3093",
4125
4169
  "df.wise.filter.placeholder": "\u691C\u7D22\u8A9E\u53E5\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
4126
4170
  "df.wise.filter.results": "\u691C\u7D22\u7D50\u679C",
@@ -4166,6 +4210,7 @@ var nl_default = {
4166
4210
  "df.wise.MultipleFileUploadSchema.minItemsError": "Upload minimaal {minItems} bestand(en).",
4167
4211
  "df.wise.PersistAsyncSchema.genericError": "Er is iets misgegaan, probeer het opnieuw.",
4168
4212
  "df.wise.SearchLayout.loading": "Laden...",
4213
+ "df.wise.back.label": "Terug",
4169
4214
  "df.wise.filter.noResults": "Geen resultaten",
4170
4215
  "df.wise.filter.placeholder": "Begin met typen om te zoeken",
4171
4216
  "df.wise.filter.results": "Zoekresultaten",
@@ -4211,6 +4256,7 @@ var pl_default = {
4211
4256
  "df.wise.MultipleFileUploadSchema.minItemsError": "Prze\u015Blij co najmniej nast\u0119puj\u0105c\u0105 liczb\u0119 plik\xF3w: {minItems}.",
4212
4257
  "df.wise.PersistAsyncSchema.genericError": "Wyst\u0105pi\u0142 b\u0142\u0105d, prosimy spr\xF3bowa\u0107 ponownie.",
4213
4258
  "df.wise.SearchLayout.loading": "\u0141adowanie...",
4259
+ "df.wise.back.label": "Wr\xF3\u0107",
4214
4260
  "df.wise.filter.noResults": "Brak wynik\xF3w",
4215
4261
  "df.wise.filter.placeholder": "Zacznij pisa\u0107, \u017Ceby wyszuka\u0107",
4216
4262
  "df.wise.filter.results": "Wyniki wyszukiwania",
@@ -4256,6 +4302,7 @@ var pt_default = {
4256
4302
  "df.wise.MultipleFileUploadSchema.minItemsError": "Por favor, envie pelo menos {minItems} arquivo(s).",
4257
4303
  "df.wise.PersistAsyncSchema.genericError": "Ocorreu um erro. Por favor, tente novamente.",
4258
4304
  "df.wise.SearchLayout.loading": "Carregando...",
4305
+ "df.wise.back.label": "Voltar",
4259
4306
  "df.wise.filter.noResults": "Nenhum resultado",
4260
4307
  "df.wise.filter.placeholder": "Comece a digitar para pesquisar",
4261
4308
  "df.wise.filter.results": "Resultados da busca",
@@ -4301,6 +4348,7 @@ var ro_default = {
4301
4348
  "df.wise.MultipleFileUploadSchema.minItemsError": "Te rug\u0103m s\u0103 \xEEncarci cel pu\u021Bin {minItems} fi\u0219ier(e).",
4302
4349
  "df.wise.PersistAsyncSchema.genericError": "Ceva nu a mers bine, te rug\u0103m s\u0103 \xEEncerci din nou.",
4303
4350
  "df.wise.SearchLayout.loading": "Se \xEEncarc\u0103...",
4351
+ "df.wise.back.label": "\xCEnapoi",
4304
4352
  "df.wise.filter.noResults": "Niciun rezultat",
4305
4353
  "df.wise.filter.placeholder": "\xCEncepe s\u0103 tastezi pentru a c\u0103uta",
4306
4354
  "df.wise.filter.results": "Rezultatele c\u0103ut\u0103rii",
@@ -4346,6 +4394,7 @@ var ru_default = {
4346
4394
  "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).",
4347
4395
  "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.",
4348
4396
  "df.wise.SearchLayout.loading": "\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430...",
4397
+ "df.wise.back.label": "\u041D\u0430\u0437\u0430\u0434",
4349
4398
  "df.wise.filter.noResults": "\u041D\u0435\u0442 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432",
4350
4399
  "df.wise.filter.placeholder": "\u041D\u0430\u0447\u043D\u0438\u0442\u0435 \u0432\u0432\u043E\u0434\u0438\u0442\u044C \u0437\u0430\u043F\u0440\u043E\u0441 \u0434\u043B\u044F \u043F\u043E\u0438\u0441\u043A\u0430",
4351
4400
  "df.wise.filter.results": "\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043F\u043E\u0438\u0441\u043A\u0430",
@@ -4391,6 +4440,7 @@ var th_default = {
4391
4440
  "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",
4392
4441
  "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",
4393
4442
  "df.wise.SearchLayout.loading": "\u0E01\u0E33\u0E25\u0E31\u0E07\u0E42\u0E2B\u0E25\u0E14...",
4443
+ "df.wise.back.label": "\u0E22\u0E49\u0E2D\u0E19\u0E01\u0E25\u0E31\u0E1A",
4394
4444
  "df.wise.filter.noResults": "\u0E44\u0E21\u0E48\u0E21\u0E35\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C",
4395
4445
  "df.wise.filter.placeholder": "\u0E40\u0E23\u0E34\u0E48\u0E21\u0E1E\u0E34\u0E21\u0E1E\u0E4C\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E04\u0E49\u0E19\u0E2B\u0E32\u0E40\u0E25\u0E22",
4396
4446
  "df.wise.filter.results": "\u0E1C\u0E25\u0E01\u0E32\u0E23\u0E04\u0E49\u0E19\u0E2B\u0E32",
@@ -4436,6 +4486,7 @@ var tr_default = {
4436
4486
  "df.wise.MultipleFileUploadSchema.minItemsError": "L\xFCtfen en az {minItems} dosya y\xFCkleyin.",
4437
4487
  "df.wise.PersistAsyncSchema.genericError": "Bir \u015Feyler ters gitti, l\xFCtfen tekrar deneyin.",
4438
4488
  "df.wise.SearchLayout.loading": "Y\xFCkleniyor...",
4489
+ "df.wise.back.label": "Geri",
4439
4490
  "df.wise.filter.noResults": "Sonu\xE7 yok",
4440
4491
  "df.wise.filter.placeholder": "Aramak i\xE7in yazmaya ba\u015Flay\u0131n",
4441
4492
  "df.wise.filter.results": "Arama sonu\xE7lar\u0131",
@@ -4481,6 +4532,7 @@ var zh_CN_default = {
4481
4532
  "df.wise.MultipleFileUploadSchema.minItemsError": "\u8BF7\u4E0A\u4F20\u81F3\u5C11 {minItems} \u4E2A\u6587\u4EF6\u3002",
4482
4533
  "df.wise.PersistAsyncSchema.genericError": "\u51FA\u9519\u4E86\uFF0C\u8BF7\u91CD\u8BD5\u3002",
4483
4534
  "df.wise.SearchLayout.loading": "\u6B63\u5728\u52A0\u8F7D\u2026",
4535
+ "df.wise.back.label": "\u8FD4\u56DE",
4484
4536
  "df.wise.filter.noResults": "\u6682\u65E0\u7ED3\u679C",
4485
4537
  "df.wise.filter.placeholder": "\u5F00\u59CB\u8F93\u5165\u4EE5\u641C\u7D22",
4486
4538
  "df.wise.filter.results": "\u641C\u7D22\u7ED3\u679C",
@@ -4526,6 +4578,7 @@ var zh_HK_default = {
4526
4578
  "df.wise.MultipleFileUploadSchema.minItemsError": "\u8ACB\u4E0A\u8F09\u81F3\u5C11{minItems}\u500B\u6A94\u6848\u3002",
4527
4579
  "df.wise.PersistAsyncSchema.genericError": "\u51FA\u73FE\u4E86\u554F\u984C\uFF0C\u8ACB\u518D\u8A66\u4E00\u6B21\u3002",
4528
4580
  "df.wise.SearchLayout.loading": "\u8F09\u5165\u4E2D\u2026",
4581
+ "df.wise.back.label": "\u8FD4\u56DE",
4529
4582
  "df.wise.filter.noResults": "\u6C92\u6709\u7D50\u679C",
4530
4583
  "df.wise.filter.placeholder": "\u958B\u59CB\u8F38\u5165\u4EE5\u641C\u5C0B",
4531
4584
  "df.wise.filter.results": "\u641C\u5C0B\u7D50\u679C",
@@ -4568,13 +4621,13 @@ var i18n_default = translations;
4568
4621
 
4569
4622
  // src/dynamicFlow/DynamicFlow.tsx
4570
4623
  var import_react20 = require("react");
4571
- var import_react_intl24 = require("react-intl");
4624
+ var import_react_intl26 = require("react-intl");
4572
4625
  var import_dynamic_flow_client2 = require("@wise/dynamic-flow-client");
4573
4626
 
4574
4627
  // src/dynamicFlow/telemetry/app-version.ts
4575
4628
  var appVersion = (
4576
4629
  // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
4577
- typeof process !== "undefined" ? "4.36.2" : "0.0.0"
4630
+ typeof process !== "undefined" ? "4.37.0" : "0.0.0"
4578
4631
  );
4579
4632
 
4580
4633
  // src/dynamicFlow/telemetry/getLogEvent.ts
@@ -4614,8 +4667,8 @@ var getTrackEvent = (onEvent, onAnalytics, onThemeChange) => (name, properties)
4614
4667
  };
4615
4668
 
4616
4669
  // src/dynamicFlow/messages.ts
4617
- var import_react_intl23 = require("react-intl");
4618
- var messages_default = (0, import_react_intl23.defineMessages)({
4670
+ var import_react_intl25 = require("react-intl");
4671
+ var messages_default = (0, import_react_intl25.defineMessages)({
4619
4672
  copied: {
4620
4673
  id: "df.wise.CopyFeedback.copy",
4621
4674
  defaultMessage: "Copied to clipboard",
@@ -4647,7 +4700,7 @@ function DynamicFlowRevamp(props) {
4647
4700
  onLink = openLinkInNewTab,
4648
4701
  onThemeChange
4649
4702
  } = props;
4650
- const { formatMessage } = (0, import_react_intl24.useIntl)();
4703
+ const { formatMessage } = (0, import_react_intl26.useIntl)();
4651
4704
  const createSnackBar = useSnackBarIfAvailable();
4652
4705
  const httpClient = useWiseHttpClient(customFetch);
4653
4706
  const mergedRenderers = (0, import_react20.useMemo)(() => [...renderers != null ? renderers : [], ...wiseRenderers], [renderers]);
@@ -4684,7 +4737,7 @@ var DynamicForm = (0, import_react20.forwardRef)(function DynamicForm2(props, re
4684
4737
  onLink = openLinkInNewTab,
4685
4738
  onThemeChange
4686
4739
  } = props;
4687
- const { formatMessage } = (0, import_react_intl24.useIntl)();
4740
+ const { formatMessage } = (0, import_react_intl26.useIntl)();
4688
4741
  const createSnackBar = useSnackBarIfAvailable();
4689
4742
  const httpClient = useWiseHttpClient(customFetch);
4690
4743
  const mergedRenderers = (0, import_react20.useMemo)(() => [...renderers != null ? renderers : [], ...wiseRenderers], [renderers]);
@@ -4711,7 +4764,7 @@ var DynamicForm = (0, import_react20.forwardRef)(function DynamicForm2(props, re
4711
4764
  return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className, children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_dynamic_flow_client2.DynamicFormCore, __spreadProps(__spreadValues({}, coreProps), { ref })) });
4712
4765
  });
4713
4766
  var useWiseHttpClient = (httpClient) => {
4714
- const { locale } = (0, import_react_intl24.useIntl)();
4767
+ const { locale } = (0, import_react_intl26.useIntl)();
4715
4768
  return (0, import_react20.useCallback)(
4716
4769
  async (input, init = {}) => {
4717
4770
  const headers = new Headers(init.headers);
package/build/main.mjs CHANGED
@@ -452,7 +452,10 @@ var AvatarMedia = ({
452
452
  }) => {
453
453
  const getRenderableAvatar = (avatar) => {
454
454
  if (avatar.type === "text") {
455
- return { asset: avatar.text };
455
+ return {
456
+ asset: avatar.text,
457
+ badge: avatar.badgeUri ? resolveMediaFromUri(avatar.badgeUri, 16) : void 0
458
+ };
456
459
  }
457
460
  return __spreadProps(__spreadValues({}, resolveMediaFromUri(avatar.uri, size)), {
458
461
  badge: avatar.badgeUri ? resolveMediaFromUri(avatar.badgeUri, 16) : void 0
@@ -1828,7 +1831,7 @@ function MultiSelectInputRendererComponent(props) {
1828
1831
  var MultiSelectInputRenderer_default = MultiSelectInputRenderer;
1829
1832
 
1830
1833
  // ../renderers/src/MultiUploadInputRenderer.tsx
1831
- import { UploadInput } from "@transferwise/components";
1834
+ import { Status, UploadInput } from "@transferwise/components";
1832
1835
 
1833
1836
  // ../renderers/src/components/UploadFieldInput.tsx
1834
1837
  import { InlineAlert as InlineAlert2 } from "@transferwise/components";
@@ -1928,6 +1931,11 @@ var MultiUploadInputRenderer = {
1928
1931
  "aria-describedby": descriptionId,
1929
1932
  description,
1930
1933
  disabled,
1934
+ files: value.map(({ id: id2, file, validationState: validationState2 }) => ({
1935
+ id: id2,
1936
+ filename: file.name,
1937
+ status: (validationState2 == null ? void 0 : validationState2.status) === "invalid" ? Status.FAILED : Status.SUCCEEDED
1938
+ })),
1931
1939
  fileTypes: acceptsToFileTypes(accepts),
1932
1940
  maxFiles: maxItems,
1933
1941
  multiple: true,
@@ -2854,10 +2862,24 @@ var useCustomTheme = (theme, trackEvent) => {
2854
2862
  // ../renderers/src/step/topbar/BackButton.tsx
2855
2863
  import { IconButton } from "@transferwise/components";
2856
2864
  import { ArrowLeft } from "@transferwise/icons";
2865
+ import { useIntl as useIntl13 } from "react-intl";
2866
+
2867
+ // ../renderers/src/messages/back.messages.ts
2868
+ import { defineMessages as defineMessages11 } from "react-intl";
2869
+ var back_messages_default = defineMessages11({
2870
+ back: {
2871
+ id: "df.wise.back.label",
2872
+ defaultMessage: "Back",
2873
+ description: "Label for back button, used for screen readers"
2874
+ }
2875
+ });
2876
+
2877
+ // ../renderers/src/step/topbar/BackButton.tsx
2857
2878
  import { jsx as jsx65, jsxs as jsxs23 } from "react/jsx-runtime";
2858
2879
  function BackButton({ title, onClick }) {
2880
+ const { formatMessage } = useIntl13();
2859
2881
  return /* @__PURE__ */ jsxs23(IconButton, { className: "df-back-button", priority: "tertiary", onClick, children: [
2860
- /* @__PURE__ */ jsx65("span", { className: "sr-only", children: title }),
2882
+ /* @__PURE__ */ jsx65("span", { className: "sr-only", children: title != null ? title : formatMessage(back_messages_default.back) }),
2861
2883
  /* @__PURE__ */ jsx65(ArrowLeft, {})
2862
2884
  ] });
2863
2885
  }
@@ -3004,12 +3026,18 @@ function StepRendererComponent(props) {
3004
3026
  ] });
3005
3027
  }
3006
3028
  var Header10 = ({ title, description, tags }) => {
3007
- const alignment = (tags == null ? void 0 : tags.includes("header-start")) ? "text-xs-left" : "text-xs-center";
3029
+ const { titleType, alignmentClassName } = getHeaderStyle(tags);
3008
3030
  return /* @__PURE__ */ jsxs28(Fragment10, { children: [
3009
- title ? /* @__PURE__ */ jsx70(Title2, { as: "h1", type: "title-section", className: `${alignment} m-b-2`, children: title }) : void 0,
3010
- description ? /* @__PURE__ */ jsx70("p", { className: `${alignment} np-text-body-large`, children: description }) : void 0
3031
+ title ? /* @__PURE__ */ jsx70(Title2, { as: "h1", type: titleType, className: `${alignmentClassName} m-b-2`, children: title }) : void 0,
3032
+ description ? /* @__PURE__ */ jsx70("p", { className: `${alignmentClassName} np-text-body-large`, children: description }) : void 0
3011
3033
  ] });
3012
3034
  };
3035
+ var getHeaderStyle = (tags) => {
3036
+ if (tags == null ? void 0 : tags.includes("root-screen")) {
3037
+ return { titleType: "title-screen", alignmentClassName: "text-xs-left" };
3038
+ }
3039
+ return { titleType: "title-section", alignmentClassName: "text-xs-center" };
3040
+ };
3013
3041
 
3014
3042
  // ../renderers/src/TabsRenderer.tsx
3015
3043
  import { Chips, SegmentedControl as SegmentedControl2, Tabs as Tabs2 } from "@transferwise/components";
@@ -3198,7 +3226,7 @@ var TextInputRenderer = {
3198
3226
  var TextInputRenderer_default = TextInputRenderer;
3199
3227
 
3200
3228
  // ../renderers/src/UploadInputRenderer.tsx
3201
- import { Upload, UploadInput as UploadInput2 } from "@transferwise/components";
3229
+ import { Status as Status2, Upload, UploadInput as UploadInput2 } from "@transferwise/components";
3202
3230
 
3203
3231
  // ../renderers/src/utils/getRandomId.ts
3204
3232
  var getRandomId = () => Math.random().toString(36).substring(2);
@@ -3208,7 +3236,7 @@ import { jsx as jsx74 } from "react/jsx-runtime";
3208
3236
  var UploadInputRenderer = {
3209
3237
  canRenderType: "input-upload",
3210
3238
  render: (props) => {
3211
- const { id, accepts, title, description, disabled, maxSize, validationState, onUpload } = props;
3239
+ const { id, accepts, title, description, disabled, maxSize, validationState, value, onUpload } = props;
3212
3240
  const onUploadFile = async (formData) => {
3213
3241
  const file = formData.get("file");
3214
3242
  return onUpload(file).then(() => ({
@@ -3234,6 +3262,13 @@ var UploadInputRenderer = {
3234
3262
  description,
3235
3263
  disabled,
3236
3264
  sizeLimit: getSizeLimit(maxSize),
3265
+ files: value ? [
3266
+ {
3267
+ id: "my-file",
3268
+ filename: value.name,
3269
+ status: (validationState == null ? void 0 : validationState.status) === "invalid" ? Status2.FAILED : Status2.SUCCEEDED
3270
+ }
3271
+ ] : void 0,
3237
3272
  fileTypes: acceptsToFileTypes(accepts),
3238
3273
  uploadButtonTitle: title,
3239
3274
  onDeleteFile,
@@ -3727,6 +3762,7 @@ var cs_default = {
3727
3762
  "df.wise.MultipleFileUploadSchema.minItemsError": "Nahrajte pros\xEDm alespo\u0148 n\xE1sleduj\xEDc\xED po\u010Det soubor\u016F: {minItems}.",
3728
3763
  "df.wise.PersistAsyncSchema.genericError": "N\u011Bco se pokazilo. Zkuste to pros\xEDm znovu.",
3729
3764
  "df.wise.SearchLayout.loading": "Na\u010D\xEDt\xE1n\xED...",
3765
+ "df.wise.back.label": "Zp\u011Bt",
3730
3766
  "df.wise.filter.noResults": "\u017D\xE1dn\xE9 v\xFDsledky",
3731
3767
  "df.wise.filter.placeholder": "Pro vyhled\xE1v\xE1n\xED za\u010Dn\u011Bte ps\xE1t",
3732
3768
  "df.wise.filter.results": "V\xFDsledky vyhled\xE1v\xE1n\xED",
@@ -3772,6 +3808,7 @@ var de_default = {
3772
3808
  "df.wise.MultipleFileUploadSchema.minItemsError": "Bitte lade mindestens {minItems} Datei(en) hoch.",
3773
3809
  "df.wise.PersistAsyncSchema.genericError": "Da ist etwas schiefgegangen. Versuche es bitte nochmal.",
3774
3810
  "df.wise.SearchLayout.loading": "L\xE4dt...",
3811
+ "df.wise.back.label": "Zur\xFCck",
3775
3812
  "df.wise.filter.noResults": "Keine Ergebnisse",
3776
3813
  "df.wise.filter.placeholder": "Gib etwas ein, um die Suche zu beginnen",
3777
3814
  "df.wise.filter.results": "Suchergebnisse",
@@ -3817,6 +3854,7 @@ var en_default = {
3817
3854
  "df.wise.MultipleFileUploadSchema.minItemsError": "Please upload at least {minItems} file(s).",
3818
3855
  "df.wise.PersistAsyncSchema.genericError": "Something went wrong, please try again.",
3819
3856
  "df.wise.SearchLayout.loading": "Loading...",
3857
+ "df.wise.back.label": "Back",
3820
3858
  "df.wise.filter.noResults": "No results",
3821
3859
  "df.wise.filter.placeholder": "Start typing to search",
3822
3860
  "df.wise.filter.results": "Search results",
@@ -3862,6 +3900,7 @@ var es_default = {
3862
3900
  "df.wise.MultipleFileUploadSchema.minItemsError": "Sube al menos {minItems} archivo(s).",
3863
3901
  "df.wise.PersistAsyncSchema.genericError": "Ha habido un error. Int\xE9ntalo de nuevo.",
3864
3902
  "df.wise.SearchLayout.loading": "Cargando...",
3903
+ "df.wise.back.label": "Volver",
3865
3904
  "df.wise.filter.noResults": "No hay resultados",
3866
3905
  "df.wise.filter.placeholder": "Empieza a escribir para buscar",
3867
3906
  "df.wise.filter.results": "Resultados de b\xFAsqueda",
@@ -3907,6 +3946,7 @@ var fr_default = {
3907
3946
  "df.wise.MultipleFileUploadSchema.minItemsError": "Veuillez t\xE9l\xE9charger au moins {minItems} fichier(s).",
3908
3947
  "df.wise.PersistAsyncSchema.genericError": "Une erreur s'est produite, veuillez r\xE9essayer.",
3909
3948
  "df.wise.SearchLayout.loading": "Chargement...",
3949
+ "df.wise.back.label": "Retour",
3910
3950
  "df.wise.filter.noResults": "Aucun r\xE9sultat",
3911
3951
  "df.wise.filter.placeholder": "Commencez \xE0 \xE9crire pour effectuer une recherche",
3912
3952
  "df.wise.filter.results": "R\xE9sultats de recherche",
@@ -3952,6 +3992,7 @@ var hu_default = {
3952
3992
  "df.wise.MultipleFileUploadSchema.minItemsError": "K\xE9r\xFCnk, hogy legal\xE1bb {minItems} f\xE1jlt t\xF6lts fel.",
3953
3993
  "df.wise.PersistAsyncSchema.genericError": "Valami hiba t\xF6rt\xE9nt. K\xE9r\xFCnk, pr\xF3b\xE1ld \xFAjra.",
3954
3994
  "df.wise.SearchLayout.loading": "Bet\xF6lt\xE9s...",
3995
+ "df.wise.back.label": "Vissza",
3955
3996
  "df.wise.filter.noResults": "Nincs tal\xE1lat",
3956
3997
  "df.wise.filter.placeholder": "Kezdj el g\xE9pelni a keres\xE9shez",
3957
3998
  "df.wise.filter.results": "Keres\xE9si eredm\xE9nyek",
@@ -3997,6 +4038,7 @@ var id_default = {
3997
4038
  "df.wise.MultipleFileUploadSchema.minItemsError": "Harap unggah sedikitnya {minItems} file.",
3998
4039
  "df.wise.PersistAsyncSchema.genericError": "Terjadi kesalahan, mohon coba lagi.",
3999
4040
  "df.wise.SearchLayout.loading": "Memuat ...",
4041
+ "df.wise.back.label": "Kembali",
4000
4042
  "df.wise.filter.noResults": "Tidak ada hasil",
4001
4043
  "df.wise.filter.placeholder": "Mulai mengetik untuk mencari",
4002
4044
  "df.wise.filter.results": "Hasil pencarian",
@@ -4042,6 +4084,7 @@ var it_default = {
4042
4084
  "df.wise.MultipleFileUploadSchema.minItemsError": "Carica almeno {minItems} file.",
4043
4085
  "df.wise.PersistAsyncSchema.genericError": "Qualcosa \xE8 andato storto. Riprova.",
4044
4086
  "df.wise.SearchLayout.loading": "Caricamento...",
4087
+ "df.wise.back.label": "Indietro",
4045
4088
  "df.wise.filter.noResults": "Nessun risultato",
4046
4089
  "df.wise.filter.placeholder": "Inizia a digitare per cercare",
4047
4090
  "df.wise.filter.results": "Risultati della ricerca",
@@ -4087,6 +4130,7 @@ var ja_default = {
4087
4130
  "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",
4088
4131
  "df.wise.PersistAsyncSchema.genericError": "\u554F\u984C\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002\u518D\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002",
4089
4132
  "df.wise.SearchLayout.loading": "\u8AAD\u307F\u8FBC\u307F\u4E2D\u2026",
4133
+ "df.wise.back.label": "\u623B\u308B",
4090
4134
  "df.wise.filter.noResults": "\u691C\u7D22\u7D50\u679C\u304C\u3042\u308A\u307E\u305B\u3093",
4091
4135
  "df.wise.filter.placeholder": "\u691C\u7D22\u8A9E\u53E5\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
4092
4136
  "df.wise.filter.results": "\u691C\u7D22\u7D50\u679C",
@@ -4132,6 +4176,7 @@ var nl_default = {
4132
4176
  "df.wise.MultipleFileUploadSchema.minItemsError": "Upload minimaal {minItems} bestand(en).",
4133
4177
  "df.wise.PersistAsyncSchema.genericError": "Er is iets misgegaan, probeer het opnieuw.",
4134
4178
  "df.wise.SearchLayout.loading": "Laden...",
4179
+ "df.wise.back.label": "Terug",
4135
4180
  "df.wise.filter.noResults": "Geen resultaten",
4136
4181
  "df.wise.filter.placeholder": "Begin met typen om te zoeken",
4137
4182
  "df.wise.filter.results": "Zoekresultaten",
@@ -4177,6 +4222,7 @@ var pl_default = {
4177
4222
  "df.wise.MultipleFileUploadSchema.minItemsError": "Prze\u015Blij co najmniej nast\u0119puj\u0105c\u0105 liczb\u0119 plik\xF3w: {minItems}.",
4178
4223
  "df.wise.PersistAsyncSchema.genericError": "Wyst\u0105pi\u0142 b\u0142\u0105d, prosimy spr\xF3bowa\u0107 ponownie.",
4179
4224
  "df.wise.SearchLayout.loading": "\u0141adowanie...",
4225
+ "df.wise.back.label": "Wr\xF3\u0107",
4180
4226
  "df.wise.filter.noResults": "Brak wynik\xF3w",
4181
4227
  "df.wise.filter.placeholder": "Zacznij pisa\u0107, \u017Ceby wyszuka\u0107",
4182
4228
  "df.wise.filter.results": "Wyniki wyszukiwania",
@@ -4222,6 +4268,7 @@ var pt_default = {
4222
4268
  "df.wise.MultipleFileUploadSchema.minItemsError": "Por favor, envie pelo menos {minItems} arquivo(s).",
4223
4269
  "df.wise.PersistAsyncSchema.genericError": "Ocorreu um erro. Por favor, tente novamente.",
4224
4270
  "df.wise.SearchLayout.loading": "Carregando...",
4271
+ "df.wise.back.label": "Voltar",
4225
4272
  "df.wise.filter.noResults": "Nenhum resultado",
4226
4273
  "df.wise.filter.placeholder": "Comece a digitar para pesquisar",
4227
4274
  "df.wise.filter.results": "Resultados da busca",
@@ -4267,6 +4314,7 @@ var ro_default = {
4267
4314
  "df.wise.MultipleFileUploadSchema.minItemsError": "Te rug\u0103m s\u0103 \xEEncarci cel pu\u021Bin {minItems} fi\u0219ier(e).",
4268
4315
  "df.wise.PersistAsyncSchema.genericError": "Ceva nu a mers bine, te rug\u0103m s\u0103 \xEEncerci din nou.",
4269
4316
  "df.wise.SearchLayout.loading": "Se \xEEncarc\u0103...",
4317
+ "df.wise.back.label": "\xCEnapoi",
4270
4318
  "df.wise.filter.noResults": "Niciun rezultat",
4271
4319
  "df.wise.filter.placeholder": "\xCEncepe s\u0103 tastezi pentru a c\u0103uta",
4272
4320
  "df.wise.filter.results": "Rezultatele c\u0103ut\u0103rii",
@@ -4312,6 +4360,7 @@ var ru_default = {
4312
4360
  "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).",
4313
4361
  "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.",
4314
4362
  "df.wise.SearchLayout.loading": "\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430...",
4363
+ "df.wise.back.label": "\u041D\u0430\u0437\u0430\u0434",
4315
4364
  "df.wise.filter.noResults": "\u041D\u0435\u0442 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432",
4316
4365
  "df.wise.filter.placeholder": "\u041D\u0430\u0447\u043D\u0438\u0442\u0435 \u0432\u0432\u043E\u0434\u0438\u0442\u044C \u0437\u0430\u043F\u0440\u043E\u0441 \u0434\u043B\u044F \u043F\u043E\u0438\u0441\u043A\u0430",
4317
4366
  "df.wise.filter.results": "\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043F\u043E\u0438\u0441\u043A\u0430",
@@ -4357,6 +4406,7 @@ var th_default = {
4357
4406
  "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",
4358
4407
  "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",
4359
4408
  "df.wise.SearchLayout.loading": "\u0E01\u0E33\u0E25\u0E31\u0E07\u0E42\u0E2B\u0E25\u0E14...",
4409
+ "df.wise.back.label": "\u0E22\u0E49\u0E2D\u0E19\u0E01\u0E25\u0E31\u0E1A",
4360
4410
  "df.wise.filter.noResults": "\u0E44\u0E21\u0E48\u0E21\u0E35\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C",
4361
4411
  "df.wise.filter.placeholder": "\u0E40\u0E23\u0E34\u0E48\u0E21\u0E1E\u0E34\u0E21\u0E1E\u0E4C\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E04\u0E49\u0E19\u0E2B\u0E32\u0E40\u0E25\u0E22",
4362
4412
  "df.wise.filter.results": "\u0E1C\u0E25\u0E01\u0E32\u0E23\u0E04\u0E49\u0E19\u0E2B\u0E32",
@@ -4402,6 +4452,7 @@ var tr_default = {
4402
4452
  "df.wise.MultipleFileUploadSchema.minItemsError": "L\xFCtfen en az {minItems} dosya y\xFCkleyin.",
4403
4453
  "df.wise.PersistAsyncSchema.genericError": "Bir \u015Feyler ters gitti, l\xFCtfen tekrar deneyin.",
4404
4454
  "df.wise.SearchLayout.loading": "Y\xFCkleniyor...",
4455
+ "df.wise.back.label": "Geri",
4405
4456
  "df.wise.filter.noResults": "Sonu\xE7 yok",
4406
4457
  "df.wise.filter.placeholder": "Aramak i\xE7in yazmaya ba\u015Flay\u0131n",
4407
4458
  "df.wise.filter.results": "Arama sonu\xE7lar\u0131",
@@ -4447,6 +4498,7 @@ var zh_CN_default = {
4447
4498
  "df.wise.MultipleFileUploadSchema.minItemsError": "\u8BF7\u4E0A\u4F20\u81F3\u5C11 {minItems} \u4E2A\u6587\u4EF6\u3002",
4448
4499
  "df.wise.PersistAsyncSchema.genericError": "\u51FA\u9519\u4E86\uFF0C\u8BF7\u91CD\u8BD5\u3002",
4449
4500
  "df.wise.SearchLayout.loading": "\u6B63\u5728\u52A0\u8F7D\u2026",
4501
+ "df.wise.back.label": "\u8FD4\u56DE",
4450
4502
  "df.wise.filter.noResults": "\u6682\u65E0\u7ED3\u679C",
4451
4503
  "df.wise.filter.placeholder": "\u5F00\u59CB\u8F93\u5165\u4EE5\u641C\u7D22",
4452
4504
  "df.wise.filter.results": "\u641C\u7D22\u7ED3\u679C",
@@ -4492,6 +4544,7 @@ var zh_HK_default = {
4492
4544
  "df.wise.MultipleFileUploadSchema.minItemsError": "\u8ACB\u4E0A\u8F09\u81F3\u5C11{minItems}\u500B\u6A94\u6848\u3002",
4493
4545
  "df.wise.PersistAsyncSchema.genericError": "\u51FA\u73FE\u4E86\u554F\u984C\uFF0C\u8ACB\u518D\u8A66\u4E00\u6B21\u3002",
4494
4546
  "df.wise.SearchLayout.loading": "\u8F09\u5165\u4E2D\u2026",
4547
+ "df.wise.back.label": "\u8FD4\u56DE",
4495
4548
  "df.wise.filter.noResults": "\u6C92\u6709\u7D50\u679C",
4496
4549
  "df.wise.filter.placeholder": "\u958B\u59CB\u8F38\u5165\u4EE5\u641C\u5C0B",
4497
4550
  "df.wise.filter.results": "\u641C\u5C0B\u7D50\u679C",
@@ -4534,7 +4587,7 @@ var i18n_default = translations;
4534
4587
 
4535
4588
  // src/dynamicFlow/DynamicFlow.tsx
4536
4589
  import { forwardRef, useCallback, useMemo as useMemo2 } from "react";
4537
- import { useIntl as useIntl13 } from "react-intl";
4590
+ import { useIntl as useIntl14 } from "react-intl";
4538
4591
  import {
4539
4592
  DynamicFlow as DynamicFlowCoreLegacy,
4540
4593
  DynamicFlowCoreRevamp,
@@ -4544,7 +4597,7 @@ import {
4544
4597
  // src/dynamicFlow/telemetry/app-version.ts
4545
4598
  var appVersion = (
4546
4599
  // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
4547
- typeof process !== "undefined" ? "4.36.2" : "0.0.0"
4600
+ typeof process !== "undefined" ? "4.37.0" : "0.0.0"
4548
4601
  );
4549
4602
 
4550
4603
  // src/dynamicFlow/telemetry/getLogEvent.ts
@@ -4584,8 +4637,8 @@ var getTrackEvent = (onEvent, onAnalytics, onThemeChange) => (name, properties)
4584
4637
  };
4585
4638
 
4586
4639
  // src/dynamicFlow/messages.ts
4587
- import { defineMessages as defineMessages11 } from "react-intl";
4588
- var messages_default = defineMessages11({
4640
+ import { defineMessages as defineMessages12 } from "react-intl";
4641
+ var messages_default = defineMessages12({
4589
4642
  copied: {
4590
4643
  id: "df.wise.CopyFeedback.copy",
4591
4644
  defaultMessage: "Copied to clipboard",
@@ -4617,7 +4670,7 @@ function DynamicFlowRevamp(props) {
4617
4670
  onLink = openLinkInNewTab,
4618
4671
  onThemeChange
4619
4672
  } = props;
4620
- const { formatMessage } = useIntl13();
4673
+ const { formatMessage } = useIntl14();
4621
4674
  const createSnackBar = useSnackBarIfAvailable();
4622
4675
  const httpClient = useWiseHttpClient(customFetch);
4623
4676
  const mergedRenderers = useMemo2(() => [...renderers != null ? renderers : [], ...wiseRenderers], [renderers]);
@@ -4654,7 +4707,7 @@ var DynamicForm = forwardRef(function DynamicForm2(props, ref) {
4654
4707
  onLink = openLinkInNewTab,
4655
4708
  onThemeChange
4656
4709
  } = props;
4657
- const { formatMessage } = useIntl13();
4710
+ const { formatMessage } = useIntl14();
4658
4711
  const createSnackBar = useSnackBarIfAvailable();
4659
4712
  const httpClient = useWiseHttpClient(customFetch);
4660
4713
  const mergedRenderers = useMemo2(() => [...renderers != null ? renderers : [], ...wiseRenderers], [renderers]);
@@ -4681,7 +4734,7 @@ var DynamicForm = forwardRef(function DynamicForm2(props, ref) {
4681
4734
  return /* @__PURE__ */ jsx84("div", { className, children: /* @__PURE__ */ jsx84(DynamicFormCore, __spreadProps(__spreadValues({}, coreProps), { ref })) });
4682
4735
  });
4683
4736
  var useWiseHttpClient = (httpClient) => {
4684
- const { locale } = useIntl13();
4737
+ const { locale } = useIntl14();
4685
4738
  return useCallback(
4686
4739
  async (input, init = {}) => {
4687
4740
  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": "4.36.2",
3
+ "version": "4.37.0",
4
4
  "description": "Dynamic Flow web client for Wise",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/main.js",
@@ -76,8 +76,8 @@
76
76
  "tsx": "4.20.6",
77
77
  "typescript": "5.9.3",
78
78
  "@wise/dynamic-flow-fixtures": "0.0.1",
79
- "@wise/dynamic-flow-types": "3.18.0",
80
- "@wise/dynamic-flow-renderers": "0.0.0"
79
+ "@wise/dynamic-flow-renderers": "0.0.0",
80
+ "@wise/dynamic-flow-types": "3.18.0"
81
81
  },
82
82
  "peerDependencies": {
83
83
  "@transferwise/components": "^46.104.0",
@@ -92,7 +92,7 @@
92
92
  },
93
93
  "dependencies": {
94
94
  "classnames": "2.5.1",
95
- "@wise/dynamic-flow-client": "4.20.2",
95
+ "@wise/dynamic-flow-client": "4.21.0",
96
96
  "@wise/dynamic-flow-types": "3.18.0"
97
97
  },
98
98
  "scripts": {