@wise/dynamic-flow-client-internal 4.36.1 → 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.
- package/build/i18n/cs.json +1 -0
- package/build/i18n/de.json +1 -0
- package/build/i18n/en.json +1 -0
- package/build/i18n/es.json +1 -0
- package/build/i18n/fr.json +1 -0
- package/build/i18n/hu.json +1 -0
- package/build/i18n/id.json +1 -0
- package/build/i18n/it.json +1 -0
- package/build/i18n/ja.json +1 -0
- package/build/i18n/nl.json +1 -0
- package/build/i18n/pl.json +1 -0
- package/build/i18n/pt.json +1 -0
- package/build/i18n/ro.json +1 -0
- package/build/i18n/ru.json +1 -0
- package/build/i18n/th.json +1 -0
- package/build/i18n/tr.json +1 -0
- package/build/i18n/uk.json +1 -0
- package/build/i18n/zh_CN.json +1 -0
- package/build/i18n/zh_HK.json +1 -0
- package/build/main.js +73 -14
- package/build/main.mjs +75 -16
- package/package.json +9 -9
package/build/i18n/cs.json
CHANGED
|
@@ -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í",
|
package/build/i18n/de.json
CHANGED
|
@@ -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",
|
package/build/i18n/en.json
CHANGED
|
@@ -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",
|
package/build/i18n/es.json
CHANGED
|
@@ -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",
|
package/build/i18n/fr.json
CHANGED
|
@@ -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",
|
package/build/i18n/hu.json
CHANGED
|
@@ -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",
|
package/build/i18n/id.json
CHANGED
|
@@ -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",
|
package/build/i18n/it.json
CHANGED
|
@@ -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",
|
package/build/i18n/ja.json
CHANGED
|
@@ -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/i18n/nl.json
CHANGED
|
@@ -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",
|
package/build/i18n/pl.json
CHANGED
|
@@ -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",
|
package/build/i18n/pt.json
CHANGED
|
@@ -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",
|
package/build/i18n/ro.json
CHANGED
|
@@ -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",
|
package/build/i18n/ru.json
CHANGED
|
@@ -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/i18n/th.json
CHANGED
|
@@ -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/i18n/tr.json
CHANGED
|
@@ -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ı",
|
package/build/i18n/uk.json
CHANGED
|
@@ -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": "Результати пошуку",
|
package/build/i18n/zh_CN.json
CHANGED
|
@@ -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/i18n/zh_HK.json
CHANGED
|
@@ -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 {
|
|
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
|
|
@@ -881,6 +884,12 @@ function filterAndSortDecisionOptions(selectOptions, query) {
|
|
|
881
884
|
)) != null ? _d : false;
|
|
882
885
|
});
|
|
883
886
|
return [...filteredItems].sort((a, b) => {
|
|
887
|
+
if (a.disabled && !b.disabled) {
|
|
888
|
+
return 1;
|
|
889
|
+
}
|
|
890
|
+
if (!a.disabled && b.disabled) {
|
|
891
|
+
return -1;
|
|
892
|
+
}
|
|
884
893
|
const aTitleUpper = a.title.toUpperCase();
|
|
885
894
|
const bTitleUpper = b.title.toUpperCase();
|
|
886
895
|
const aTitleStarts = aTitleUpper.startsWith(upperQuery);
|
|
@@ -982,7 +991,7 @@ var FilteredDecisionList = (props) => {
|
|
|
982
991
|
const { formatMessage } = (0, import_react_intl8.useIntl)();
|
|
983
992
|
const [query, setQuery] = (0, import_react3.useState)("");
|
|
984
993
|
const { control, options, renderDecisionList: renderDecisionList3 } = props;
|
|
985
|
-
const filteredOptions = filterAndSortDecisionOptions(options, query);
|
|
994
|
+
const filteredOptions = (query == null ? void 0 : query.length) > 0 ? filterAndSortDecisionOptions(options, query) : options;
|
|
986
995
|
const isGrouped = isGroupedDecision(options);
|
|
987
996
|
return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_jsx_runtime25.Fragment, { children: [
|
|
988
997
|
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
@@ -1962,6 +1971,11 @@ var MultiUploadInputRenderer = {
|
|
|
1962
1971
|
"aria-describedby": descriptionId,
|
|
1963
1972
|
description,
|
|
1964
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
|
+
})),
|
|
1965
1979
|
fileTypes: acceptsToFileTypes(accepts),
|
|
1966
1980
|
maxFiles: maxItems,
|
|
1967
1981
|
multiple: true,
|
|
@@ -2888,10 +2902,24 @@ var useCustomTheme = (theme, trackEvent) => {
|
|
|
2888
2902
|
// ../renderers/src/step/topbar/BackButton.tsx
|
|
2889
2903
|
var import_components45 = require("@transferwise/components");
|
|
2890
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
|
|
2891
2918
|
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
2892
2919
|
function BackButton({ title, onClick }) {
|
|
2920
|
+
const { formatMessage } = (0, import_react_intl24.useIntl)();
|
|
2893
2921
|
return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_components45.IconButton, { className: "df-back-button", priority: "tertiary", onClick, children: [
|
|
2894
|
-
/* @__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) }),
|
|
2895
2923
|
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_icons3.ArrowLeft, {})
|
|
2896
2924
|
] });
|
|
2897
2925
|
}
|
|
@@ -3038,12 +3066,18 @@ function StepRendererComponent(props) {
|
|
|
3038
3066
|
] });
|
|
3039
3067
|
}
|
|
3040
3068
|
var Header10 = ({ title, description, tags }) => {
|
|
3041
|
-
const
|
|
3069
|
+
const { titleType, alignmentClassName } = getHeaderStyle(tags);
|
|
3042
3070
|
return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(import_jsx_runtime70.Fragment, { children: [
|
|
3043
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_components47.Title, { as: "h1", type:
|
|
3044
|
-
description ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("p", { className: `${
|
|
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
|
|
3045
3073
|
] });
|
|
3046
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
|
+
};
|
|
3047
3081
|
|
|
3048
3082
|
// ../renderers/src/TabsRenderer.tsx
|
|
3049
3083
|
var import_components48 = require("@transferwise/components");
|
|
@@ -3236,7 +3270,7 @@ var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
|
3236
3270
|
var UploadInputRenderer = {
|
|
3237
3271
|
canRenderType: "input-upload",
|
|
3238
3272
|
render: (props) => {
|
|
3239
|
-
const { id, accepts, title, description, disabled, maxSize, validationState, onUpload } = props;
|
|
3273
|
+
const { id, accepts, title, description, disabled, maxSize, validationState, value, onUpload } = props;
|
|
3240
3274
|
const onUploadFile = async (formData) => {
|
|
3241
3275
|
const file = formData.get("file");
|
|
3242
3276
|
return onUpload(file).then(() => ({
|
|
@@ -3262,6 +3296,13 @@ var UploadInputRenderer = {
|
|
|
3262
3296
|
description,
|
|
3263
3297
|
disabled,
|
|
3264
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,
|
|
3265
3306
|
fileTypes: acceptsToFileTypes(accepts),
|
|
3266
3307
|
uploadButtonTitle: title,
|
|
3267
3308
|
onDeleteFile,
|
|
@@ -3755,6 +3796,7 @@ var cs_default = {
|
|
|
3755
3796
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Nahrajte pros\xEDm alespo\u0148 n\xE1sleduj\xEDc\xED po\u010Det soubor\u016F: {minItems}.",
|
|
3756
3797
|
"df.wise.PersistAsyncSchema.genericError": "N\u011Bco se pokazilo. Zkuste to pros\xEDm znovu.",
|
|
3757
3798
|
"df.wise.SearchLayout.loading": "Na\u010D\xEDt\xE1n\xED...",
|
|
3799
|
+
"df.wise.back.label": "Zp\u011Bt",
|
|
3758
3800
|
"df.wise.filter.noResults": "\u017D\xE1dn\xE9 v\xFDsledky",
|
|
3759
3801
|
"df.wise.filter.placeholder": "Pro vyhled\xE1v\xE1n\xED za\u010Dn\u011Bte ps\xE1t",
|
|
3760
3802
|
"df.wise.filter.results": "V\xFDsledky vyhled\xE1v\xE1n\xED",
|
|
@@ -3800,6 +3842,7 @@ var de_default = {
|
|
|
3800
3842
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Bitte lade mindestens {minItems} Datei(en) hoch.",
|
|
3801
3843
|
"df.wise.PersistAsyncSchema.genericError": "Da ist etwas schiefgegangen. Versuche es bitte nochmal.",
|
|
3802
3844
|
"df.wise.SearchLayout.loading": "L\xE4dt...",
|
|
3845
|
+
"df.wise.back.label": "Zur\xFCck",
|
|
3803
3846
|
"df.wise.filter.noResults": "Keine Ergebnisse",
|
|
3804
3847
|
"df.wise.filter.placeholder": "Gib etwas ein, um die Suche zu beginnen",
|
|
3805
3848
|
"df.wise.filter.results": "Suchergebnisse",
|
|
@@ -3845,6 +3888,7 @@ var en_default = {
|
|
|
3845
3888
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Please upload at least {minItems} file(s).",
|
|
3846
3889
|
"df.wise.PersistAsyncSchema.genericError": "Something went wrong, please try again.",
|
|
3847
3890
|
"df.wise.SearchLayout.loading": "Loading...",
|
|
3891
|
+
"df.wise.back.label": "Back",
|
|
3848
3892
|
"df.wise.filter.noResults": "No results",
|
|
3849
3893
|
"df.wise.filter.placeholder": "Start typing to search",
|
|
3850
3894
|
"df.wise.filter.results": "Search results",
|
|
@@ -3890,6 +3934,7 @@ var es_default = {
|
|
|
3890
3934
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Sube al menos {minItems} archivo(s).",
|
|
3891
3935
|
"df.wise.PersistAsyncSchema.genericError": "Ha habido un error. Int\xE9ntalo de nuevo.",
|
|
3892
3936
|
"df.wise.SearchLayout.loading": "Cargando...",
|
|
3937
|
+
"df.wise.back.label": "Volver",
|
|
3893
3938
|
"df.wise.filter.noResults": "No hay resultados",
|
|
3894
3939
|
"df.wise.filter.placeholder": "Empieza a escribir para buscar",
|
|
3895
3940
|
"df.wise.filter.results": "Resultados de b\xFAsqueda",
|
|
@@ -3935,6 +3980,7 @@ var fr_default = {
|
|
|
3935
3980
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Veuillez t\xE9l\xE9charger au moins {minItems} fichier(s).",
|
|
3936
3981
|
"df.wise.PersistAsyncSchema.genericError": "Une erreur s'est produite, veuillez r\xE9essayer.",
|
|
3937
3982
|
"df.wise.SearchLayout.loading": "Chargement...",
|
|
3983
|
+
"df.wise.back.label": "Retour",
|
|
3938
3984
|
"df.wise.filter.noResults": "Aucun r\xE9sultat",
|
|
3939
3985
|
"df.wise.filter.placeholder": "Commencez \xE0 \xE9crire pour effectuer une recherche",
|
|
3940
3986
|
"df.wise.filter.results": "R\xE9sultats de recherche",
|
|
@@ -3980,6 +4026,7 @@ var hu_default = {
|
|
|
3980
4026
|
"df.wise.MultipleFileUploadSchema.minItemsError": "K\xE9r\xFCnk, hogy legal\xE1bb {minItems} f\xE1jlt t\xF6lts fel.",
|
|
3981
4027
|
"df.wise.PersistAsyncSchema.genericError": "Valami hiba t\xF6rt\xE9nt. K\xE9r\xFCnk, pr\xF3b\xE1ld \xFAjra.",
|
|
3982
4028
|
"df.wise.SearchLayout.loading": "Bet\xF6lt\xE9s...",
|
|
4029
|
+
"df.wise.back.label": "Vissza",
|
|
3983
4030
|
"df.wise.filter.noResults": "Nincs tal\xE1lat",
|
|
3984
4031
|
"df.wise.filter.placeholder": "Kezdj el g\xE9pelni a keres\xE9shez",
|
|
3985
4032
|
"df.wise.filter.results": "Keres\xE9si eredm\xE9nyek",
|
|
@@ -4025,6 +4072,7 @@ var id_default = {
|
|
|
4025
4072
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Harap unggah sedikitnya {minItems} file.",
|
|
4026
4073
|
"df.wise.PersistAsyncSchema.genericError": "Terjadi kesalahan, mohon coba lagi.",
|
|
4027
4074
|
"df.wise.SearchLayout.loading": "Memuat ...",
|
|
4075
|
+
"df.wise.back.label": "Kembali",
|
|
4028
4076
|
"df.wise.filter.noResults": "Tidak ada hasil",
|
|
4029
4077
|
"df.wise.filter.placeholder": "Mulai mengetik untuk mencari",
|
|
4030
4078
|
"df.wise.filter.results": "Hasil pencarian",
|
|
@@ -4070,6 +4118,7 @@ var it_default = {
|
|
|
4070
4118
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Carica almeno {minItems} file.",
|
|
4071
4119
|
"df.wise.PersistAsyncSchema.genericError": "Qualcosa \xE8 andato storto. Riprova.",
|
|
4072
4120
|
"df.wise.SearchLayout.loading": "Caricamento...",
|
|
4121
|
+
"df.wise.back.label": "Indietro",
|
|
4073
4122
|
"df.wise.filter.noResults": "Nessun risultato",
|
|
4074
4123
|
"df.wise.filter.placeholder": "Inizia a digitare per cercare",
|
|
4075
4124
|
"df.wise.filter.results": "Risultati della ricerca",
|
|
@@ -4115,6 +4164,7 @@ var ja_default = {
|
|
|
4115
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",
|
|
4116
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",
|
|
4117
4166
|
"df.wise.SearchLayout.loading": "\u8AAD\u307F\u8FBC\u307F\u4E2D\u2026",
|
|
4167
|
+
"df.wise.back.label": "\u623B\u308B",
|
|
4118
4168
|
"df.wise.filter.noResults": "\u691C\u7D22\u7D50\u679C\u304C\u3042\u308A\u307E\u305B\u3093",
|
|
4119
4169
|
"df.wise.filter.placeholder": "\u691C\u7D22\u8A9E\u53E5\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
|
|
4120
4170
|
"df.wise.filter.results": "\u691C\u7D22\u7D50\u679C",
|
|
@@ -4160,6 +4210,7 @@ var nl_default = {
|
|
|
4160
4210
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Upload minimaal {minItems} bestand(en).",
|
|
4161
4211
|
"df.wise.PersistAsyncSchema.genericError": "Er is iets misgegaan, probeer het opnieuw.",
|
|
4162
4212
|
"df.wise.SearchLayout.loading": "Laden...",
|
|
4213
|
+
"df.wise.back.label": "Terug",
|
|
4163
4214
|
"df.wise.filter.noResults": "Geen resultaten",
|
|
4164
4215
|
"df.wise.filter.placeholder": "Begin met typen om te zoeken",
|
|
4165
4216
|
"df.wise.filter.results": "Zoekresultaten",
|
|
@@ -4205,6 +4256,7 @@ var pl_default = {
|
|
|
4205
4256
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Prze\u015Blij co najmniej nast\u0119puj\u0105c\u0105 liczb\u0119 plik\xF3w: {minItems}.",
|
|
4206
4257
|
"df.wise.PersistAsyncSchema.genericError": "Wyst\u0105pi\u0142 b\u0142\u0105d, prosimy spr\xF3bowa\u0107 ponownie.",
|
|
4207
4258
|
"df.wise.SearchLayout.loading": "\u0141adowanie...",
|
|
4259
|
+
"df.wise.back.label": "Wr\xF3\u0107",
|
|
4208
4260
|
"df.wise.filter.noResults": "Brak wynik\xF3w",
|
|
4209
4261
|
"df.wise.filter.placeholder": "Zacznij pisa\u0107, \u017Ceby wyszuka\u0107",
|
|
4210
4262
|
"df.wise.filter.results": "Wyniki wyszukiwania",
|
|
@@ -4250,6 +4302,7 @@ var pt_default = {
|
|
|
4250
4302
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Por favor, envie pelo menos {minItems} arquivo(s).",
|
|
4251
4303
|
"df.wise.PersistAsyncSchema.genericError": "Ocorreu um erro. Por favor, tente novamente.",
|
|
4252
4304
|
"df.wise.SearchLayout.loading": "Carregando...",
|
|
4305
|
+
"df.wise.back.label": "Voltar",
|
|
4253
4306
|
"df.wise.filter.noResults": "Nenhum resultado",
|
|
4254
4307
|
"df.wise.filter.placeholder": "Comece a digitar para pesquisar",
|
|
4255
4308
|
"df.wise.filter.results": "Resultados da busca",
|
|
@@ -4295,6 +4348,7 @@ var ro_default = {
|
|
|
4295
4348
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Te rug\u0103m s\u0103 \xEEncarci cel pu\u021Bin {minItems} fi\u0219ier(e).",
|
|
4296
4349
|
"df.wise.PersistAsyncSchema.genericError": "Ceva nu a mers bine, te rug\u0103m s\u0103 \xEEncerci din nou.",
|
|
4297
4350
|
"df.wise.SearchLayout.loading": "Se \xEEncarc\u0103...",
|
|
4351
|
+
"df.wise.back.label": "\xCEnapoi",
|
|
4298
4352
|
"df.wise.filter.noResults": "Niciun rezultat",
|
|
4299
4353
|
"df.wise.filter.placeholder": "\xCEncepe s\u0103 tastezi pentru a c\u0103uta",
|
|
4300
4354
|
"df.wise.filter.results": "Rezultatele c\u0103ut\u0103rii",
|
|
@@ -4340,6 +4394,7 @@ var ru_default = {
|
|
|
4340
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).",
|
|
4341
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.",
|
|
4342
4396
|
"df.wise.SearchLayout.loading": "\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430...",
|
|
4397
|
+
"df.wise.back.label": "\u041D\u0430\u0437\u0430\u0434",
|
|
4343
4398
|
"df.wise.filter.noResults": "\u041D\u0435\u0442 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432",
|
|
4344
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",
|
|
4345
4400
|
"df.wise.filter.results": "\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043F\u043E\u0438\u0441\u043A\u0430",
|
|
@@ -4385,6 +4440,7 @@ var th_default = {
|
|
|
4385
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",
|
|
4386
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",
|
|
4387
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",
|
|
4388
4444
|
"df.wise.filter.noResults": "\u0E44\u0E21\u0E48\u0E21\u0E35\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C",
|
|
4389
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",
|
|
4390
4446
|
"df.wise.filter.results": "\u0E1C\u0E25\u0E01\u0E32\u0E23\u0E04\u0E49\u0E19\u0E2B\u0E32",
|
|
@@ -4430,6 +4486,7 @@ var tr_default = {
|
|
|
4430
4486
|
"df.wise.MultipleFileUploadSchema.minItemsError": "L\xFCtfen en az {minItems} dosya y\xFCkleyin.",
|
|
4431
4487
|
"df.wise.PersistAsyncSchema.genericError": "Bir \u015Feyler ters gitti, l\xFCtfen tekrar deneyin.",
|
|
4432
4488
|
"df.wise.SearchLayout.loading": "Y\xFCkleniyor...",
|
|
4489
|
+
"df.wise.back.label": "Geri",
|
|
4433
4490
|
"df.wise.filter.noResults": "Sonu\xE7 yok",
|
|
4434
4491
|
"df.wise.filter.placeholder": "Aramak i\xE7in yazmaya ba\u015Flay\u0131n",
|
|
4435
4492
|
"df.wise.filter.results": "Arama sonu\xE7lar\u0131",
|
|
@@ -4475,6 +4532,7 @@ var zh_CN_default = {
|
|
|
4475
4532
|
"df.wise.MultipleFileUploadSchema.minItemsError": "\u8BF7\u4E0A\u4F20\u81F3\u5C11 {minItems} \u4E2A\u6587\u4EF6\u3002",
|
|
4476
4533
|
"df.wise.PersistAsyncSchema.genericError": "\u51FA\u9519\u4E86\uFF0C\u8BF7\u91CD\u8BD5\u3002",
|
|
4477
4534
|
"df.wise.SearchLayout.loading": "\u6B63\u5728\u52A0\u8F7D\u2026",
|
|
4535
|
+
"df.wise.back.label": "\u8FD4\u56DE",
|
|
4478
4536
|
"df.wise.filter.noResults": "\u6682\u65E0\u7ED3\u679C",
|
|
4479
4537
|
"df.wise.filter.placeholder": "\u5F00\u59CB\u8F93\u5165\u4EE5\u641C\u7D22",
|
|
4480
4538
|
"df.wise.filter.results": "\u641C\u7D22\u7ED3\u679C",
|
|
@@ -4520,6 +4578,7 @@ var zh_HK_default = {
|
|
|
4520
4578
|
"df.wise.MultipleFileUploadSchema.minItemsError": "\u8ACB\u4E0A\u8F09\u81F3\u5C11{minItems}\u500B\u6A94\u6848\u3002",
|
|
4521
4579
|
"df.wise.PersistAsyncSchema.genericError": "\u51FA\u73FE\u4E86\u554F\u984C\uFF0C\u8ACB\u518D\u8A66\u4E00\u6B21\u3002",
|
|
4522
4580
|
"df.wise.SearchLayout.loading": "\u8F09\u5165\u4E2D\u2026",
|
|
4581
|
+
"df.wise.back.label": "\u8FD4\u56DE",
|
|
4523
4582
|
"df.wise.filter.noResults": "\u6C92\u6709\u7D50\u679C",
|
|
4524
4583
|
"df.wise.filter.placeholder": "\u958B\u59CB\u8F38\u5165\u4EE5\u641C\u5C0B",
|
|
4525
4584
|
"df.wise.filter.results": "\u641C\u5C0B\u7D50\u679C",
|
|
@@ -4562,13 +4621,13 @@ var i18n_default = translations;
|
|
|
4562
4621
|
|
|
4563
4622
|
// src/dynamicFlow/DynamicFlow.tsx
|
|
4564
4623
|
var import_react20 = require("react");
|
|
4565
|
-
var
|
|
4624
|
+
var import_react_intl26 = require("react-intl");
|
|
4566
4625
|
var import_dynamic_flow_client2 = require("@wise/dynamic-flow-client");
|
|
4567
4626
|
|
|
4568
4627
|
// src/dynamicFlow/telemetry/app-version.ts
|
|
4569
4628
|
var appVersion = (
|
|
4570
4629
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
4571
|
-
typeof process !== "undefined" ? "4.
|
|
4630
|
+
typeof process !== "undefined" ? "4.37.0" : "0.0.0"
|
|
4572
4631
|
);
|
|
4573
4632
|
|
|
4574
4633
|
// src/dynamicFlow/telemetry/getLogEvent.ts
|
|
@@ -4608,8 +4667,8 @@ var getTrackEvent = (onEvent, onAnalytics, onThemeChange) => (name, properties)
|
|
|
4608
4667
|
};
|
|
4609
4668
|
|
|
4610
4669
|
// src/dynamicFlow/messages.ts
|
|
4611
|
-
var
|
|
4612
|
-
var messages_default = (0,
|
|
4670
|
+
var import_react_intl25 = require("react-intl");
|
|
4671
|
+
var messages_default = (0, import_react_intl25.defineMessages)({
|
|
4613
4672
|
copied: {
|
|
4614
4673
|
id: "df.wise.CopyFeedback.copy",
|
|
4615
4674
|
defaultMessage: "Copied to clipboard",
|
|
@@ -4641,7 +4700,7 @@ function DynamicFlowRevamp(props) {
|
|
|
4641
4700
|
onLink = openLinkInNewTab,
|
|
4642
4701
|
onThemeChange
|
|
4643
4702
|
} = props;
|
|
4644
|
-
const { formatMessage } = (0,
|
|
4703
|
+
const { formatMessage } = (0, import_react_intl26.useIntl)();
|
|
4645
4704
|
const createSnackBar = useSnackBarIfAvailable();
|
|
4646
4705
|
const httpClient = useWiseHttpClient(customFetch);
|
|
4647
4706
|
const mergedRenderers = (0, import_react20.useMemo)(() => [...renderers != null ? renderers : [], ...wiseRenderers], [renderers]);
|
|
@@ -4678,7 +4737,7 @@ var DynamicForm = (0, import_react20.forwardRef)(function DynamicForm2(props, re
|
|
|
4678
4737
|
onLink = openLinkInNewTab,
|
|
4679
4738
|
onThemeChange
|
|
4680
4739
|
} = props;
|
|
4681
|
-
const { formatMessage } = (0,
|
|
4740
|
+
const { formatMessage } = (0, import_react_intl26.useIntl)();
|
|
4682
4741
|
const createSnackBar = useSnackBarIfAvailable();
|
|
4683
4742
|
const httpClient = useWiseHttpClient(customFetch);
|
|
4684
4743
|
const mergedRenderers = (0, import_react20.useMemo)(() => [...renderers != null ? renderers : [], ...wiseRenderers], [renderers]);
|
|
@@ -4705,7 +4764,7 @@ var DynamicForm = (0, import_react20.forwardRef)(function DynamicForm2(props, re
|
|
|
4705
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 })) });
|
|
4706
4765
|
});
|
|
4707
4766
|
var useWiseHttpClient = (httpClient) => {
|
|
4708
|
-
const { locale } = (0,
|
|
4767
|
+
const { locale } = (0, import_react_intl26.useIntl)();
|
|
4709
4768
|
return (0, import_react20.useCallback)(
|
|
4710
4769
|
async (input, init = {}) => {
|
|
4711
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 {
|
|
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
|
|
@@ -838,6 +841,12 @@ function filterAndSortDecisionOptions(selectOptions, query) {
|
|
|
838
841
|
)) != null ? _d : false;
|
|
839
842
|
});
|
|
840
843
|
return [...filteredItems].sort((a, b) => {
|
|
844
|
+
if (a.disabled && !b.disabled) {
|
|
845
|
+
return 1;
|
|
846
|
+
}
|
|
847
|
+
if (!a.disabled && b.disabled) {
|
|
848
|
+
return -1;
|
|
849
|
+
}
|
|
841
850
|
const aTitleUpper = a.title.toUpperCase();
|
|
842
851
|
const bTitleUpper = b.title.toUpperCase();
|
|
843
852
|
const aTitleStarts = aTitleUpper.startsWith(upperQuery);
|
|
@@ -939,7 +948,7 @@ var FilteredDecisionList = (props) => {
|
|
|
939
948
|
const { formatMessage } = useIntl4();
|
|
940
949
|
const [query, setQuery] = useState3("");
|
|
941
950
|
const { control, options, renderDecisionList: renderDecisionList3 } = props;
|
|
942
|
-
const filteredOptions = filterAndSortDecisionOptions(options, query);
|
|
951
|
+
const filteredOptions = (query == null ? void 0 : query.length) > 0 ? filterAndSortDecisionOptions(options, query) : options;
|
|
943
952
|
const isGrouped = isGroupedDecision(options);
|
|
944
953
|
return /* @__PURE__ */ jsxs5(Fragment2, { children: [
|
|
945
954
|
/* @__PURE__ */ jsx25(
|
|
@@ -1822,7 +1831,7 @@ function MultiSelectInputRendererComponent(props) {
|
|
|
1822
1831
|
var MultiSelectInputRenderer_default = MultiSelectInputRenderer;
|
|
1823
1832
|
|
|
1824
1833
|
// ../renderers/src/MultiUploadInputRenderer.tsx
|
|
1825
|
-
import { UploadInput } from "@transferwise/components";
|
|
1834
|
+
import { Status, UploadInput } from "@transferwise/components";
|
|
1826
1835
|
|
|
1827
1836
|
// ../renderers/src/components/UploadFieldInput.tsx
|
|
1828
1837
|
import { InlineAlert as InlineAlert2 } from "@transferwise/components";
|
|
@@ -1922,6 +1931,11 @@ var MultiUploadInputRenderer = {
|
|
|
1922
1931
|
"aria-describedby": descriptionId,
|
|
1923
1932
|
description,
|
|
1924
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
|
+
})),
|
|
1925
1939
|
fileTypes: acceptsToFileTypes(accepts),
|
|
1926
1940
|
maxFiles: maxItems,
|
|
1927
1941
|
multiple: true,
|
|
@@ -2848,10 +2862,24 @@ var useCustomTheme = (theme, trackEvent) => {
|
|
|
2848
2862
|
// ../renderers/src/step/topbar/BackButton.tsx
|
|
2849
2863
|
import { IconButton } from "@transferwise/components";
|
|
2850
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
|
|
2851
2878
|
import { jsx as jsx65, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
2852
2879
|
function BackButton({ title, onClick }) {
|
|
2880
|
+
const { formatMessage } = useIntl13();
|
|
2853
2881
|
return /* @__PURE__ */ jsxs23(IconButton, { className: "df-back-button", priority: "tertiary", onClick, children: [
|
|
2854
|
-
/* @__PURE__ */ jsx65("span", { className: "sr-only", children: title }),
|
|
2882
|
+
/* @__PURE__ */ jsx65("span", { className: "sr-only", children: title != null ? title : formatMessage(back_messages_default.back) }),
|
|
2855
2883
|
/* @__PURE__ */ jsx65(ArrowLeft, {})
|
|
2856
2884
|
] });
|
|
2857
2885
|
}
|
|
@@ -2998,12 +3026,18 @@ function StepRendererComponent(props) {
|
|
|
2998
3026
|
] });
|
|
2999
3027
|
}
|
|
3000
3028
|
var Header10 = ({ title, description, tags }) => {
|
|
3001
|
-
const
|
|
3029
|
+
const { titleType, alignmentClassName } = getHeaderStyle(tags);
|
|
3002
3030
|
return /* @__PURE__ */ jsxs28(Fragment10, { children: [
|
|
3003
|
-
title ? /* @__PURE__ */ jsx70(Title2, { as: "h1", type:
|
|
3004
|
-
description ? /* @__PURE__ */ jsx70("p", { className: `${
|
|
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
|
|
3005
3033
|
] });
|
|
3006
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
|
+
};
|
|
3007
3041
|
|
|
3008
3042
|
// ../renderers/src/TabsRenderer.tsx
|
|
3009
3043
|
import { Chips, SegmentedControl as SegmentedControl2, Tabs as Tabs2 } from "@transferwise/components";
|
|
@@ -3192,7 +3226,7 @@ var TextInputRenderer = {
|
|
|
3192
3226
|
var TextInputRenderer_default = TextInputRenderer;
|
|
3193
3227
|
|
|
3194
3228
|
// ../renderers/src/UploadInputRenderer.tsx
|
|
3195
|
-
import { Upload, UploadInput as UploadInput2 } from "@transferwise/components";
|
|
3229
|
+
import { Status as Status2, Upload, UploadInput as UploadInput2 } from "@transferwise/components";
|
|
3196
3230
|
|
|
3197
3231
|
// ../renderers/src/utils/getRandomId.ts
|
|
3198
3232
|
var getRandomId = () => Math.random().toString(36).substring(2);
|
|
@@ -3202,7 +3236,7 @@ import { jsx as jsx74 } from "react/jsx-runtime";
|
|
|
3202
3236
|
var UploadInputRenderer = {
|
|
3203
3237
|
canRenderType: "input-upload",
|
|
3204
3238
|
render: (props) => {
|
|
3205
|
-
const { id, accepts, title, description, disabled, maxSize, validationState, onUpload } = props;
|
|
3239
|
+
const { id, accepts, title, description, disabled, maxSize, validationState, value, onUpload } = props;
|
|
3206
3240
|
const onUploadFile = async (formData) => {
|
|
3207
3241
|
const file = formData.get("file");
|
|
3208
3242
|
return onUpload(file).then(() => ({
|
|
@@ -3228,6 +3262,13 @@ var UploadInputRenderer = {
|
|
|
3228
3262
|
description,
|
|
3229
3263
|
disabled,
|
|
3230
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,
|
|
3231
3272
|
fileTypes: acceptsToFileTypes(accepts),
|
|
3232
3273
|
uploadButtonTitle: title,
|
|
3233
3274
|
onDeleteFile,
|
|
@@ -3721,6 +3762,7 @@ var cs_default = {
|
|
|
3721
3762
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Nahrajte pros\xEDm alespo\u0148 n\xE1sleduj\xEDc\xED po\u010Det soubor\u016F: {minItems}.",
|
|
3722
3763
|
"df.wise.PersistAsyncSchema.genericError": "N\u011Bco se pokazilo. Zkuste to pros\xEDm znovu.",
|
|
3723
3764
|
"df.wise.SearchLayout.loading": "Na\u010D\xEDt\xE1n\xED...",
|
|
3765
|
+
"df.wise.back.label": "Zp\u011Bt",
|
|
3724
3766
|
"df.wise.filter.noResults": "\u017D\xE1dn\xE9 v\xFDsledky",
|
|
3725
3767
|
"df.wise.filter.placeholder": "Pro vyhled\xE1v\xE1n\xED za\u010Dn\u011Bte ps\xE1t",
|
|
3726
3768
|
"df.wise.filter.results": "V\xFDsledky vyhled\xE1v\xE1n\xED",
|
|
@@ -3766,6 +3808,7 @@ var de_default = {
|
|
|
3766
3808
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Bitte lade mindestens {minItems} Datei(en) hoch.",
|
|
3767
3809
|
"df.wise.PersistAsyncSchema.genericError": "Da ist etwas schiefgegangen. Versuche es bitte nochmal.",
|
|
3768
3810
|
"df.wise.SearchLayout.loading": "L\xE4dt...",
|
|
3811
|
+
"df.wise.back.label": "Zur\xFCck",
|
|
3769
3812
|
"df.wise.filter.noResults": "Keine Ergebnisse",
|
|
3770
3813
|
"df.wise.filter.placeholder": "Gib etwas ein, um die Suche zu beginnen",
|
|
3771
3814
|
"df.wise.filter.results": "Suchergebnisse",
|
|
@@ -3811,6 +3854,7 @@ var en_default = {
|
|
|
3811
3854
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Please upload at least {minItems} file(s).",
|
|
3812
3855
|
"df.wise.PersistAsyncSchema.genericError": "Something went wrong, please try again.",
|
|
3813
3856
|
"df.wise.SearchLayout.loading": "Loading...",
|
|
3857
|
+
"df.wise.back.label": "Back",
|
|
3814
3858
|
"df.wise.filter.noResults": "No results",
|
|
3815
3859
|
"df.wise.filter.placeholder": "Start typing to search",
|
|
3816
3860
|
"df.wise.filter.results": "Search results",
|
|
@@ -3856,6 +3900,7 @@ var es_default = {
|
|
|
3856
3900
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Sube al menos {minItems} archivo(s).",
|
|
3857
3901
|
"df.wise.PersistAsyncSchema.genericError": "Ha habido un error. Int\xE9ntalo de nuevo.",
|
|
3858
3902
|
"df.wise.SearchLayout.loading": "Cargando...",
|
|
3903
|
+
"df.wise.back.label": "Volver",
|
|
3859
3904
|
"df.wise.filter.noResults": "No hay resultados",
|
|
3860
3905
|
"df.wise.filter.placeholder": "Empieza a escribir para buscar",
|
|
3861
3906
|
"df.wise.filter.results": "Resultados de b\xFAsqueda",
|
|
@@ -3901,6 +3946,7 @@ var fr_default = {
|
|
|
3901
3946
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Veuillez t\xE9l\xE9charger au moins {minItems} fichier(s).",
|
|
3902
3947
|
"df.wise.PersistAsyncSchema.genericError": "Une erreur s'est produite, veuillez r\xE9essayer.",
|
|
3903
3948
|
"df.wise.SearchLayout.loading": "Chargement...",
|
|
3949
|
+
"df.wise.back.label": "Retour",
|
|
3904
3950
|
"df.wise.filter.noResults": "Aucun r\xE9sultat",
|
|
3905
3951
|
"df.wise.filter.placeholder": "Commencez \xE0 \xE9crire pour effectuer une recherche",
|
|
3906
3952
|
"df.wise.filter.results": "R\xE9sultats de recherche",
|
|
@@ -3946,6 +3992,7 @@ var hu_default = {
|
|
|
3946
3992
|
"df.wise.MultipleFileUploadSchema.minItemsError": "K\xE9r\xFCnk, hogy legal\xE1bb {minItems} f\xE1jlt t\xF6lts fel.",
|
|
3947
3993
|
"df.wise.PersistAsyncSchema.genericError": "Valami hiba t\xF6rt\xE9nt. K\xE9r\xFCnk, pr\xF3b\xE1ld \xFAjra.",
|
|
3948
3994
|
"df.wise.SearchLayout.loading": "Bet\xF6lt\xE9s...",
|
|
3995
|
+
"df.wise.back.label": "Vissza",
|
|
3949
3996
|
"df.wise.filter.noResults": "Nincs tal\xE1lat",
|
|
3950
3997
|
"df.wise.filter.placeholder": "Kezdj el g\xE9pelni a keres\xE9shez",
|
|
3951
3998
|
"df.wise.filter.results": "Keres\xE9si eredm\xE9nyek",
|
|
@@ -3991,6 +4038,7 @@ var id_default = {
|
|
|
3991
4038
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Harap unggah sedikitnya {minItems} file.",
|
|
3992
4039
|
"df.wise.PersistAsyncSchema.genericError": "Terjadi kesalahan, mohon coba lagi.",
|
|
3993
4040
|
"df.wise.SearchLayout.loading": "Memuat ...",
|
|
4041
|
+
"df.wise.back.label": "Kembali",
|
|
3994
4042
|
"df.wise.filter.noResults": "Tidak ada hasil",
|
|
3995
4043
|
"df.wise.filter.placeholder": "Mulai mengetik untuk mencari",
|
|
3996
4044
|
"df.wise.filter.results": "Hasil pencarian",
|
|
@@ -4036,6 +4084,7 @@ var it_default = {
|
|
|
4036
4084
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Carica almeno {minItems} file.",
|
|
4037
4085
|
"df.wise.PersistAsyncSchema.genericError": "Qualcosa \xE8 andato storto. Riprova.",
|
|
4038
4086
|
"df.wise.SearchLayout.loading": "Caricamento...",
|
|
4087
|
+
"df.wise.back.label": "Indietro",
|
|
4039
4088
|
"df.wise.filter.noResults": "Nessun risultato",
|
|
4040
4089
|
"df.wise.filter.placeholder": "Inizia a digitare per cercare",
|
|
4041
4090
|
"df.wise.filter.results": "Risultati della ricerca",
|
|
@@ -4081,6 +4130,7 @@ var ja_default = {
|
|
|
4081
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",
|
|
4082
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",
|
|
4083
4132
|
"df.wise.SearchLayout.loading": "\u8AAD\u307F\u8FBC\u307F\u4E2D\u2026",
|
|
4133
|
+
"df.wise.back.label": "\u623B\u308B",
|
|
4084
4134
|
"df.wise.filter.noResults": "\u691C\u7D22\u7D50\u679C\u304C\u3042\u308A\u307E\u305B\u3093",
|
|
4085
4135
|
"df.wise.filter.placeholder": "\u691C\u7D22\u8A9E\u53E5\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
|
|
4086
4136
|
"df.wise.filter.results": "\u691C\u7D22\u7D50\u679C",
|
|
@@ -4126,6 +4176,7 @@ var nl_default = {
|
|
|
4126
4176
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Upload minimaal {minItems} bestand(en).",
|
|
4127
4177
|
"df.wise.PersistAsyncSchema.genericError": "Er is iets misgegaan, probeer het opnieuw.",
|
|
4128
4178
|
"df.wise.SearchLayout.loading": "Laden...",
|
|
4179
|
+
"df.wise.back.label": "Terug",
|
|
4129
4180
|
"df.wise.filter.noResults": "Geen resultaten",
|
|
4130
4181
|
"df.wise.filter.placeholder": "Begin met typen om te zoeken",
|
|
4131
4182
|
"df.wise.filter.results": "Zoekresultaten",
|
|
@@ -4171,6 +4222,7 @@ var pl_default = {
|
|
|
4171
4222
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Prze\u015Blij co najmniej nast\u0119puj\u0105c\u0105 liczb\u0119 plik\xF3w: {minItems}.",
|
|
4172
4223
|
"df.wise.PersistAsyncSchema.genericError": "Wyst\u0105pi\u0142 b\u0142\u0105d, prosimy spr\xF3bowa\u0107 ponownie.",
|
|
4173
4224
|
"df.wise.SearchLayout.loading": "\u0141adowanie...",
|
|
4225
|
+
"df.wise.back.label": "Wr\xF3\u0107",
|
|
4174
4226
|
"df.wise.filter.noResults": "Brak wynik\xF3w",
|
|
4175
4227
|
"df.wise.filter.placeholder": "Zacznij pisa\u0107, \u017Ceby wyszuka\u0107",
|
|
4176
4228
|
"df.wise.filter.results": "Wyniki wyszukiwania",
|
|
@@ -4216,6 +4268,7 @@ var pt_default = {
|
|
|
4216
4268
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Por favor, envie pelo menos {minItems} arquivo(s).",
|
|
4217
4269
|
"df.wise.PersistAsyncSchema.genericError": "Ocorreu um erro. Por favor, tente novamente.",
|
|
4218
4270
|
"df.wise.SearchLayout.loading": "Carregando...",
|
|
4271
|
+
"df.wise.back.label": "Voltar",
|
|
4219
4272
|
"df.wise.filter.noResults": "Nenhum resultado",
|
|
4220
4273
|
"df.wise.filter.placeholder": "Comece a digitar para pesquisar",
|
|
4221
4274
|
"df.wise.filter.results": "Resultados da busca",
|
|
@@ -4261,6 +4314,7 @@ var ro_default = {
|
|
|
4261
4314
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Te rug\u0103m s\u0103 \xEEncarci cel pu\u021Bin {minItems} fi\u0219ier(e).",
|
|
4262
4315
|
"df.wise.PersistAsyncSchema.genericError": "Ceva nu a mers bine, te rug\u0103m s\u0103 \xEEncerci din nou.",
|
|
4263
4316
|
"df.wise.SearchLayout.loading": "Se \xEEncarc\u0103...",
|
|
4317
|
+
"df.wise.back.label": "\xCEnapoi",
|
|
4264
4318
|
"df.wise.filter.noResults": "Niciun rezultat",
|
|
4265
4319
|
"df.wise.filter.placeholder": "\xCEncepe s\u0103 tastezi pentru a c\u0103uta",
|
|
4266
4320
|
"df.wise.filter.results": "Rezultatele c\u0103ut\u0103rii",
|
|
@@ -4306,6 +4360,7 @@ var ru_default = {
|
|
|
4306
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).",
|
|
4307
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.",
|
|
4308
4362
|
"df.wise.SearchLayout.loading": "\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430...",
|
|
4363
|
+
"df.wise.back.label": "\u041D\u0430\u0437\u0430\u0434",
|
|
4309
4364
|
"df.wise.filter.noResults": "\u041D\u0435\u0442 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432",
|
|
4310
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",
|
|
4311
4366
|
"df.wise.filter.results": "\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043F\u043E\u0438\u0441\u043A\u0430",
|
|
@@ -4351,6 +4406,7 @@ var th_default = {
|
|
|
4351
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",
|
|
4352
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",
|
|
4353
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",
|
|
4354
4410
|
"df.wise.filter.noResults": "\u0E44\u0E21\u0E48\u0E21\u0E35\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C",
|
|
4355
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",
|
|
4356
4412
|
"df.wise.filter.results": "\u0E1C\u0E25\u0E01\u0E32\u0E23\u0E04\u0E49\u0E19\u0E2B\u0E32",
|
|
@@ -4396,6 +4452,7 @@ var tr_default = {
|
|
|
4396
4452
|
"df.wise.MultipleFileUploadSchema.minItemsError": "L\xFCtfen en az {minItems} dosya y\xFCkleyin.",
|
|
4397
4453
|
"df.wise.PersistAsyncSchema.genericError": "Bir \u015Feyler ters gitti, l\xFCtfen tekrar deneyin.",
|
|
4398
4454
|
"df.wise.SearchLayout.loading": "Y\xFCkleniyor...",
|
|
4455
|
+
"df.wise.back.label": "Geri",
|
|
4399
4456
|
"df.wise.filter.noResults": "Sonu\xE7 yok",
|
|
4400
4457
|
"df.wise.filter.placeholder": "Aramak i\xE7in yazmaya ba\u015Flay\u0131n",
|
|
4401
4458
|
"df.wise.filter.results": "Arama sonu\xE7lar\u0131",
|
|
@@ -4441,6 +4498,7 @@ var zh_CN_default = {
|
|
|
4441
4498
|
"df.wise.MultipleFileUploadSchema.minItemsError": "\u8BF7\u4E0A\u4F20\u81F3\u5C11 {minItems} \u4E2A\u6587\u4EF6\u3002",
|
|
4442
4499
|
"df.wise.PersistAsyncSchema.genericError": "\u51FA\u9519\u4E86\uFF0C\u8BF7\u91CD\u8BD5\u3002",
|
|
4443
4500
|
"df.wise.SearchLayout.loading": "\u6B63\u5728\u52A0\u8F7D\u2026",
|
|
4501
|
+
"df.wise.back.label": "\u8FD4\u56DE",
|
|
4444
4502
|
"df.wise.filter.noResults": "\u6682\u65E0\u7ED3\u679C",
|
|
4445
4503
|
"df.wise.filter.placeholder": "\u5F00\u59CB\u8F93\u5165\u4EE5\u641C\u7D22",
|
|
4446
4504
|
"df.wise.filter.results": "\u641C\u7D22\u7ED3\u679C",
|
|
@@ -4486,6 +4544,7 @@ var zh_HK_default = {
|
|
|
4486
4544
|
"df.wise.MultipleFileUploadSchema.minItemsError": "\u8ACB\u4E0A\u8F09\u81F3\u5C11{minItems}\u500B\u6A94\u6848\u3002",
|
|
4487
4545
|
"df.wise.PersistAsyncSchema.genericError": "\u51FA\u73FE\u4E86\u554F\u984C\uFF0C\u8ACB\u518D\u8A66\u4E00\u6B21\u3002",
|
|
4488
4546
|
"df.wise.SearchLayout.loading": "\u8F09\u5165\u4E2D\u2026",
|
|
4547
|
+
"df.wise.back.label": "\u8FD4\u56DE",
|
|
4489
4548
|
"df.wise.filter.noResults": "\u6C92\u6709\u7D50\u679C",
|
|
4490
4549
|
"df.wise.filter.placeholder": "\u958B\u59CB\u8F38\u5165\u4EE5\u641C\u5C0B",
|
|
4491
4550
|
"df.wise.filter.results": "\u641C\u5C0B\u7D50\u679C",
|
|
@@ -4528,7 +4587,7 @@ var i18n_default = translations;
|
|
|
4528
4587
|
|
|
4529
4588
|
// src/dynamicFlow/DynamicFlow.tsx
|
|
4530
4589
|
import { forwardRef, useCallback, useMemo as useMemo2 } from "react";
|
|
4531
|
-
import { useIntl as
|
|
4590
|
+
import { useIntl as useIntl14 } from "react-intl";
|
|
4532
4591
|
import {
|
|
4533
4592
|
DynamicFlow as DynamicFlowCoreLegacy,
|
|
4534
4593
|
DynamicFlowCoreRevamp,
|
|
@@ -4538,7 +4597,7 @@ import {
|
|
|
4538
4597
|
// src/dynamicFlow/telemetry/app-version.ts
|
|
4539
4598
|
var appVersion = (
|
|
4540
4599
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
4541
|
-
typeof process !== "undefined" ? "4.
|
|
4600
|
+
typeof process !== "undefined" ? "4.37.0" : "0.0.0"
|
|
4542
4601
|
);
|
|
4543
4602
|
|
|
4544
4603
|
// src/dynamicFlow/telemetry/getLogEvent.ts
|
|
@@ -4578,8 +4637,8 @@ var getTrackEvent = (onEvent, onAnalytics, onThemeChange) => (name, properties)
|
|
|
4578
4637
|
};
|
|
4579
4638
|
|
|
4580
4639
|
// src/dynamicFlow/messages.ts
|
|
4581
|
-
import { defineMessages as
|
|
4582
|
-
var messages_default =
|
|
4640
|
+
import { defineMessages as defineMessages12 } from "react-intl";
|
|
4641
|
+
var messages_default = defineMessages12({
|
|
4583
4642
|
copied: {
|
|
4584
4643
|
id: "df.wise.CopyFeedback.copy",
|
|
4585
4644
|
defaultMessage: "Copied to clipboard",
|
|
@@ -4611,7 +4670,7 @@ function DynamicFlowRevamp(props) {
|
|
|
4611
4670
|
onLink = openLinkInNewTab,
|
|
4612
4671
|
onThemeChange
|
|
4613
4672
|
} = props;
|
|
4614
|
-
const { formatMessage } =
|
|
4673
|
+
const { formatMessage } = useIntl14();
|
|
4615
4674
|
const createSnackBar = useSnackBarIfAvailable();
|
|
4616
4675
|
const httpClient = useWiseHttpClient(customFetch);
|
|
4617
4676
|
const mergedRenderers = useMemo2(() => [...renderers != null ? renderers : [], ...wiseRenderers], [renderers]);
|
|
@@ -4648,7 +4707,7 @@ var DynamicForm = forwardRef(function DynamicForm2(props, ref) {
|
|
|
4648
4707
|
onLink = openLinkInNewTab,
|
|
4649
4708
|
onThemeChange
|
|
4650
4709
|
} = props;
|
|
4651
|
-
const { formatMessage } =
|
|
4710
|
+
const { formatMessage } = useIntl14();
|
|
4652
4711
|
const createSnackBar = useSnackBarIfAvailable();
|
|
4653
4712
|
const httpClient = useWiseHttpClient(customFetch);
|
|
4654
4713
|
const mergedRenderers = useMemo2(() => [...renderers != null ? renderers : [], ...wiseRenderers], [renderers]);
|
|
@@ -4675,7 +4734,7 @@ var DynamicForm = forwardRef(function DynamicForm2(props, ref) {
|
|
|
4675
4734
|
return /* @__PURE__ */ jsx84("div", { className, children: /* @__PURE__ */ jsx84(DynamicFormCore, __spreadProps(__spreadValues({}, coreProps), { ref })) });
|
|
4676
4735
|
});
|
|
4677
4736
|
var useWiseHttpClient = (httpClient) => {
|
|
4678
|
-
const { locale } =
|
|
4737
|
+
const { locale } = useIntl14();
|
|
4679
4738
|
return useCallback(
|
|
4680
4739
|
async (input, init = {}) => {
|
|
4681
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.
|
|
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",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"@babel/preset-env": "7.28.5",
|
|
37
37
|
"@babel/preset-react": "7.28.5",
|
|
38
38
|
"@babel/preset-typescript": "7.28.5",
|
|
39
|
-
"@chromatic-com/storybook": "4.1.
|
|
39
|
+
"@chromatic-com/storybook": "4.1.2",
|
|
40
40
|
"@formatjs/cli": "^6.7.4",
|
|
41
|
-
"@storybook/react-vite": "9.1.
|
|
41
|
+
"@storybook/react-vite": "9.1.16",
|
|
42
42
|
"@testing-library/dom": "10.4.1",
|
|
43
43
|
"@testing-library/jest-dom": "6.9.1",
|
|
44
44
|
"@testing-library/react": "16.3.0",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"babel-jest": "30.2.0",
|
|
56
56
|
"currency-flags": "4.0.7",
|
|
57
57
|
"esbuild": "0.25.9",
|
|
58
|
-
"eslint-plugin-storybook": "9.1.
|
|
59
|
-
"framer-motion": "^12.23.
|
|
58
|
+
"eslint-plugin-storybook": "9.1.16",
|
|
59
|
+
"framer-motion": "^12.23.24",
|
|
60
60
|
"jest": "30.2.0",
|
|
61
61
|
"jest-environment-jsdom": "30.2.0",
|
|
62
62
|
"jest-fetch-mock": "^3.0.3",
|
|
@@ -68,16 +68,16 @@
|
|
|
68
68
|
"react": "18.3.1",
|
|
69
69
|
"react-dom": "18.3.1",
|
|
70
70
|
"react-intl": "6.8.9",
|
|
71
|
-
"storybook": "^9.1.
|
|
71
|
+
"storybook": "^9.1.16",
|
|
72
72
|
"stylelint": "16.25.0",
|
|
73
73
|
"stylelint-config-standard": "36.0.1",
|
|
74
74
|
"stylelint-no-unsupported-browser-features": "8.0.5",
|
|
75
75
|
"stylelint-value-no-unknown-custom-properties": "6.0.1",
|
|
76
76
|
"tsx": "4.20.6",
|
|
77
77
|
"typescript": "5.9.3",
|
|
78
|
+
"@wise/dynamic-flow-fixtures": "0.0.1",
|
|
78
79
|
"@wise/dynamic-flow-renderers": "0.0.0",
|
|
79
|
-
"@wise/dynamic-flow-types": "3.18.0"
|
|
80
|
-
"@wise/dynamic-flow-fixtures": "0.0.1"
|
|
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.
|
|
95
|
+
"@wise/dynamic-flow-client": "4.21.0",
|
|
96
96
|
"@wise/dynamic-flow-types": "3.18.0"
|
|
97
97
|
},
|
|
98
98
|
"scripts": {
|