@wise/dynamic-flow-client-internal 4.25.0 → 4.26.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 +2 -1
- 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 +2 -1
- package/build/i18n/nl.json +1 -0
- package/build/i18n/pl.json +1 -0
- package/build/i18n/pt.json +2 -1
- package/build/i18n/ro.json +1 -0
- package/build/i18n/ru.json +2 -1
- package/build/i18n/th.json +1 -0
- package/build/i18n/tr.json +2 -1
- package/build/i18n/uk.json +1 -0
- package/build/i18n/zh_CN.json +2 -1
- package/build/i18n/zh_HK.json +1 -0
- package/build/main.js +113 -48
- package/build/main.mjs +101 -36
- package/package.json +6 -6
package/build/i18n/cs.json
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"df.wise.CopyFeedback.copy": "Zkopírováno do schránky",
|
|
20
20
|
"df.wise.CopyFeedback.copyFailed": "Kopírování do schránky se nezdařilo",
|
|
21
21
|
"df.wise.Decision.all": "Vše",
|
|
22
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Měny s detaily účtu",
|
|
22
23
|
"df.wise.Decision.filterPlaceholder": "Pro vyhledávání začněte psát",
|
|
23
24
|
"df.wise.Decision.noResults": "Žádné výsledky",
|
|
24
25
|
"df.wise.Decision.popular": "Populární",
|
package/build/i18n/de.json
CHANGED
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"df.wise.CopyFeedback.copy": "In Zwischenablage kopiert",
|
|
20
20
|
"df.wise.CopyFeedback.copyFailed": "Kopieren in Zwischenablage fehlgeschlagen",
|
|
21
21
|
"df.wise.Decision.all": "Alle",
|
|
22
|
-
"df.wise.Decision.
|
|
22
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Guthaben mit Bankverbindung",
|
|
23
|
+
"df.wise.Decision.filterPlaceholder": "Gib etwas ein, um die Suche zu beginnen",
|
|
23
24
|
"df.wise.Decision.noResults": "Keine Ergebnisse",
|
|
24
25
|
"df.wise.Decision.popular": "Beliebt",
|
|
25
26
|
"df.wise.Decision.recent": "Neu",
|
package/build/i18n/en.json
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"df.wise.CopyFeedback.copy": "Copied to clipboard",
|
|
20
20
|
"df.wise.CopyFeedback.copyFailed": "Failed to copy to clipboard",
|
|
21
21
|
"df.wise.Decision.all": "All",
|
|
22
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Currencies with account details",
|
|
22
23
|
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
23
24
|
"df.wise.Decision.noResults": "No results",
|
|
24
25
|
"df.wise.Decision.popular": "Popular",
|
package/build/i18n/es.json
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"df.wise.CopyFeedback.copy": "Copiado al portapapeles",
|
|
20
20
|
"df.wise.CopyFeedback.copyFailed": "Error al copiar al portapapeles",
|
|
21
21
|
"df.wise.Decision.all": "Todas",
|
|
22
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Divisas con datos de cuenta",
|
|
22
23
|
"df.wise.Decision.filterPlaceholder": "Empieza a escribir para buscar",
|
|
23
24
|
"df.wise.Decision.noResults": "No hay resultados",
|
|
24
25
|
"df.wise.Decision.popular": "Populares",
|
package/build/i18n/fr.json
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"df.wise.CopyFeedback.copy": "Copié dans le presse-papier",
|
|
20
20
|
"df.wise.CopyFeedback.copyFailed": "Impossible de copier dans le presse-papier",
|
|
21
21
|
"df.wise.Decision.all": "Toutes",
|
|
22
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Devises avec numéros de compte",
|
|
22
23
|
"df.wise.Decision.filterPlaceholder": "Commencez à écrire pour effectuer une recherche",
|
|
23
24
|
"df.wise.Decision.noResults": "Aucun résultat",
|
|
24
25
|
"df.wise.Decision.popular": "Populaires",
|
package/build/i18n/hu.json
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"df.wise.CopyFeedback.copy": "Vágólapra másolva",
|
|
20
20
|
"df.wise.CopyFeedback.copyFailed": "Nem sikerült a vágólapra másolni",
|
|
21
21
|
"df.wise.Decision.all": "Összes",
|
|
22
|
+
"df.wise.Decision.currenciesWithAccountDetails": "pénznemek számlaadatokkal",
|
|
22
23
|
"df.wise.Decision.filterPlaceholder": "Kezdj el gépelni a kereséshez",
|
|
23
24
|
"df.wise.Decision.noResults": "Nincs találat",
|
|
24
25
|
"df.wise.Decision.popular": "Népszerű",
|
package/build/i18n/id.json
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"df.wise.CopyFeedback.copy": "Disalin ke clipboard",
|
|
20
20
|
"df.wise.CopyFeedback.copyFailed": "Gagal menyalin ke clipboard",
|
|
21
21
|
"df.wise.Decision.all": "Semua",
|
|
22
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Saldo dengan detail rekening",
|
|
22
23
|
"df.wise.Decision.filterPlaceholder": "Mulai mengetik untuk mencari",
|
|
23
24
|
"df.wise.Decision.noResults": "Tidak ada hasil",
|
|
24
25
|
"df.wise.Decision.popular": "Populer",
|
package/build/i18n/it.json
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"df.wise.CopyFeedback.copy": "Copiato negli appunti",
|
|
20
20
|
"df.wise.CopyFeedback.copyFailed": "Impossibile copiare negli appunti",
|
|
21
21
|
"df.wise.Decision.all": "Tutte",
|
|
22
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Valute con estremi del conto",
|
|
22
23
|
"df.wise.Decision.filterPlaceholder": "Inizia a digitare per cercare",
|
|
23
24
|
"df.wise.Decision.noResults": "Nessun risultato",
|
|
24
25
|
"df.wise.Decision.popular": "Popolari",
|
package/build/i18n/ja.json
CHANGED
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"df.wise.CopyFeedback.copy": "クリップボードへコピーしました",
|
|
20
20
|
"df.wise.CopyFeedback.copyFailed": "クリップボードにコピーできませんでした",
|
|
21
21
|
"df.wise.Decision.all": "すべて",
|
|
22
|
-
"df.wise.Decision.
|
|
22
|
+
"df.wise.Decision.currenciesWithAccountDetails": "口座情報を取得できる通貨",
|
|
23
|
+
"df.wise.Decision.filterPlaceholder": "検索語句を入力してください",
|
|
23
24
|
"df.wise.Decision.noResults": "検索結果がありません",
|
|
24
25
|
"df.wise.Decision.popular": "人気",
|
|
25
26
|
"df.wise.Decision.recent": "最近",
|
package/build/i18n/nl.json
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"df.wise.CopyFeedback.copy": "Naar klembord gekopieerd",
|
|
20
20
|
"df.wise.CopyFeedback.copyFailed": "Naar klembord kopiëren mislukt",
|
|
21
21
|
"df.wise.Decision.all": "Alles",
|
|
22
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Valuta met rekeninggegevens",
|
|
22
23
|
"df.wise.Decision.filterPlaceholder": "Begin met typen om te zoeken",
|
|
23
24
|
"df.wise.Decision.noResults": "Niks gevonden",
|
|
24
25
|
"df.wise.Decision.popular": "Populair",
|
package/build/i18n/pl.json
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"df.wise.CopyFeedback.copy": "Skopiowano do schowka",
|
|
20
20
|
"df.wise.CopyFeedback.copyFailed": "Nie udało się skopiować do schowka",
|
|
21
21
|
"df.wise.Decision.all": "Wszystkie",
|
|
22
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Waluty z danymi bankowymi",
|
|
22
23
|
"df.wise.Decision.filterPlaceholder": "Zacznij pisać, żeby wyszukać",
|
|
23
24
|
"df.wise.Decision.noResults": "Brak wyników",
|
|
24
25
|
"df.wise.Decision.popular": "Popularne",
|
package/build/i18n/pt.json
CHANGED
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"df.wise.CopyFeedback.copy": "Copiado",
|
|
20
20
|
"df.wise.CopyFeedback.copyFailed": "Falha ao copiar para área de transferência",
|
|
21
21
|
"df.wise.Decision.all": "Todos",
|
|
22
|
-
"df.wise.Decision.
|
|
22
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Moedas com dados de conta",
|
|
23
|
+
"df.wise.Decision.filterPlaceholder": "Comece a digitar para pesquisar",
|
|
23
24
|
"df.wise.Decision.noResults": "Nenhum resultado",
|
|
24
25
|
"df.wise.Decision.popular": "Populares",
|
|
25
26
|
"df.wise.Decision.recent": "Recente",
|
package/build/i18n/ro.json
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"df.wise.CopyFeedback.copy": "Copiat în clipboard",
|
|
20
20
|
"df.wise.CopyFeedback.copyFailed": "Copierea în clipboard a eșuat",
|
|
21
21
|
"df.wise.Decision.all": "Toate",
|
|
22
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Monede cu detalii de cont",
|
|
22
23
|
"df.wise.Decision.filterPlaceholder": "Începe să tastezi pentru a căuta",
|
|
23
24
|
"df.wise.Decision.noResults": "Niciun rezultat",
|
|
24
25
|
"df.wise.Decision.popular": "Populare",
|
package/build/i18n/ru.json
CHANGED
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"df.wise.CopyFeedback.copy": "Скопировано в буфер обмена",
|
|
20
20
|
"df.wise.CopyFeedback.copyFailed": "Не удалось скопировать в буфер обмена",
|
|
21
21
|
"df.wise.Decision.all": "Все",
|
|
22
|
-
"df.wise.Decision.
|
|
22
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Валюты с реквизитами счета",
|
|
23
|
+
"df.wise.Decision.filterPlaceholder": "Начните вводить запрос для поиска",
|
|
23
24
|
"df.wise.Decision.noResults": "Нет результатов",
|
|
24
25
|
"df.wise.Decision.popular": "Популярные",
|
|
25
26
|
"df.wise.Decision.recent": "Недавние",
|
package/build/i18n/th.json
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"df.wise.CopyFeedback.copy": "คัดลอกไปยังคลิปบอร์ด",
|
|
20
20
|
"df.wise.CopyFeedback.copyFailed": "คัดลอกไปยังคลิปบอร์ดไม่สำเร็จ",
|
|
21
21
|
"df.wise.Decision.all": "ทั้งหมด",
|
|
22
|
+
"df.wise.Decision.currenciesWithAccountDetails": "สกุลเงินต่างๆ พร้อมรายละเอียดบัญชี",
|
|
22
23
|
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
23
24
|
"df.wise.Decision.noResults": "ไม่มีผลลัพธ์",
|
|
24
25
|
"df.wise.Decision.popular": "สกุลยอดนิยม",
|
package/build/i18n/tr.json
CHANGED
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"df.wise.CopyFeedback.copy": "Panoya kopyalandı",
|
|
20
20
|
"df.wise.CopyFeedback.copyFailed": "Panoya kopyalama başarısız oldu",
|
|
21
21
|
"df.wise.Decision.all": "Tümü",
|
|
22
|
-
"df.wise.Decision.
|
|
22
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Hesap bilgileri olan bakiyeler",
|
|
23
|
+
"df.wise.Decision.filterPlaceholder": "Aramak için yazmaya başlayın",
|
|
23
24
|
"df.wise.Decision.noResults": "Sonuç yok",
|
|
24
25
|
"df.wise.Decision.popular": "Popüler",
|
|
25
26
|
"df.wise.Decision.recent": "Yakın zamanlı",
|
package/build/i18n/uk.json
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"df.wise.CopyFeedback.copy": "Скопійовано в буфер обміну",
|
|
20
20
|
"df.wise.CopyFeedback.copyFailed": "Не вдалося скопіювати в буфер обміну",
|
|
21
21
|
"df.wise.Decision.all": "Усе",
|
|
22
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Валюти з реквізитами рахунків",
|
|
22
23
|
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
23
24
|
"df.wise.Decision.noResults": "Нічого не знайдено",
|
|
24
25
|
"df.wise.Decision.popular": "Популярні",
|
package/build/i18n/zh_CN.json
CHANGED
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"df.wise.CopyFeedback.copy": "已复制到剪贴板",
|
|
20
20
|
"df.wise.CopyFeedback.copyFailed": "复制到剪贴板失败",
|
|
21
21
|
"df.wise.Decision.all": "全部",
|
|
22
|
-
"df.wise.Decision.
|
|
22
|
+
"df.wise.Decision.currenciesWithAccountDetails": "带有账户详细信息的货币",
|
|
23
|
+
"df.wise.Decision.filterPlaceholder": "开始输入以搜索",
|
|
23
24
|
"df.wise.Decision.noResults": "暂无结果",
|
|
24
25
|
"df.wise.Decision.popular": "热门",
|
|
25
26
|
"df.wise.Decision.recent": "最近",
|
package/build/i18n/zh_HK.json
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"df.wise.CopyFeedback.copy": "複製到剪貼板",
|
|
20
20
|
"df.wise.CopyFeedback.copyFailed": "無法複製到剪貼板",
|
|
21
21
|
"df.wise.Decision.all": "全部",
|
|
22
|
+
"df.wise.Decision.currenciesWithAccountDetails": "提供賬戶資料的餘額",
|
|
22
23
|
"df.wise.Decision.filterPlaceholder": "開始輸入以搜尋",
|
|
23
24
|
"df.wise.Decision.noResults": "沒有結果",
|
|
24
25
|
"df.wise.Decision.popular": "熱門",
|
package/build/main.js
CHANGED
|
@@ -530,7 +530,7 @@ var DateInputRenderer = {
|
|
|
530
530
|
var DateInputRenderer_default = DateInputRenderer;
|
|
531
531
|
|
|
532
532
|
// ../renderers/src/DecisionRenderer/DecisionRenderer.tsx
|
|
533
|
-
var
|
|
533
|
+
var import_components13 = require("@transferwise/components");
|
|
534
534
|
|
|
535
535
|
// ../renderers/src/utils/UrnFlag.tsx
|
|
536
536
|
var import_art = require("@wise/art");
|
|
@@ -600,11 +600,12 @@ var DynamicIcon_default = DynamicIcon;
|
|
|
600
600
|
|
|
601
601
|
// ../renderers/src/components/Media/stringToURN.ts
|
|
602
602
|
var stringToURN = (uri) => {
|
|
603
|
-
var _a;
|
|
604
|
-
const [
|
|
603
|
+
var _a, _b, _c;
|
|
604
|
+
const [nameWithRQComponents, _] = uri.split("#");
|
|
605
|
+
const [nameWithRComponent, qComponent] = nameWithRQComponents.split("?=");
|
|
605
606
|
const [name, rComponent] = (_a = nameWithRComponent == null ? void 0 : nameWithRComponent.split("?+")) != null ? _a : ["", ""];
|
|
606
|
-
const rComponents = rComponent == null ? void 0 :
|
|
607
|
-
const qComponents = qComponent == null ? void 0 :
|
|
607
|
+
const rComponents = rComponent ? (_b = decodeURIComponent(rComponent)) == null ? void 0 : _b.split("&").map((c) => c.split("=")).map(([a, b]) => [a, b]) : void 0;
|
|
608
|
+
const qComponents = qComponent ? (_c = decodeURIComponent(qComponent)) == null ? void 0 : _c.split("&").map((c) => c.split("=")).map(([a, b]) => [a, b]) : void 0;
|
|
608
609
|
return {
|
|
609
610
|
name,
|
|
610
611
|
rComponents,
|
|
@@ -612,9 +613,9 @@ var stringToURN = (uri) => {
|
|
|
612
613
|
};
|
|
613
614
|
};
|
|
614
615
|
|
|
615
|
-
// ../renderers/src/components/Media/
|
|
616
|
+
// ../renderers/src/components/Media/resolveMediaFromUri.tsx
|
|
616
617
|
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
617
|
-
var
|
|
618
|
+
var resolveMediaFromUri = (uri, size) => {
|
|
618
619
|
var _a, _b;
|
|
619
620
|
const { name, qComponents = [] } = stringToURN(uri);
|
|
620
621
|
if (isValidIconUrn(name)) {
|
|
@@ -663,8 +664,8 @@ var AvatarMedia = ({
|
|
|
663
664
|
if (avatar.type === "text") {
|
|
664
665
|
return { asset: avatar.text };
|
|
665
666
|
}
|
|
666
|
-
return __spreadProps(__spreadValues({},
|
|
667
|
-
badge: avatar.badgeUri ?
|
|
667
|
+
return __spreadProps(__spreadValues({}, resolveMediaFromUri(avatar.uri, size)), {
|
|
668
|
+
badge: avatar.badgeUri ? resolveMediaFromUri(avatar.badgeUri, 16) : void 0
|
|
668
669
|
});
|
|
669
670
|
};
|
|
670
671
|
const avatars = content.map(getRenderableAvatar);
|
|
@@ -736,9 +737,6 @@ var getImageNode = (image, size) => {
|
|
|
736
737
|
return null;
|
|
737
738
|
};
|
|
738
739
|
|
|
739
|
-
// ../renderers/src/components/Media/Media.tsx
|
|
740
|
-
var import_components11 = require("@transferwise/components");
|
|
741
|
-
|
|
742
740
|
// ../renderers/src/components/Media/LegacyMedia.tsx
|
|
743
741
|
var import_components10 = require("@transferwise/components");
|
|
744
742
|
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
@@ -772,8 +770,8 @@ function Media({
|
|
|
772
770
|
case "avatar":
|
|
773
771
|
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(AvatarMedia, __spreadProps(__spreadValues({}, media), { size }));
|
|
774
772
|
case "image": {
|
|
775
|
-
const
|
|
776
|
-
return
|
|
773
|
+
const { asset, icon } = resolveMediaFromUri(media.uri, size);
|
|
774
|
+
return icon != null ? icon : asset;
|
|
777
775
|
}
|
|
778
776
|
case "legacy": {
|
|
779
777
|
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(LegacyMedia, __spreadProps(__spreadValues({}, media), { preferAvatar, size }));
|
|
@@ -795,10 +793,10 @@ var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
|
795
793
|
var getInlineMedia = (media) => media ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Media, { media, preferAvatar: false, size: 24 }) : null;
|
|
796
794
|
|
|
797
795
|
// ../renderers/src/DecisionRenderer/DecisionList.tsx
|
|
798
|
-
var
|
|
796
|
+
var import_components12 = require("@transferwise/components");
|
|
799
797
|
|
|
800
798
|
// ../renderers/src/DecisionRenderer/GroupedList.tsx
|
|
801
|
-
var
|
|
799
|
+
var import_components11 = require("@transferwise/components");
|
|
802
800
|
var import_react_intl6 = require("react-intl");
|
|
803
801
|
|
|
804
802
|
// ../renderers/src/messages/decision.messages.ts
|
|
@@ -819,6 +817,11 @@ var decision_messages_default = (0, import_react_intl5.defineMessages)({
|
|
|
819
817
|
defaultMessage: "Recent",
|
|
820
818
|
description: "Label for the group of options that are tagged as recent"
|
|
821
819
|
},
|
|
820
|
+
currenciesWithAccountDetails: {
|
|
821
|
+
id: "df.wise.Decision.currenciesWithAccountDetails",
|
|
822
|
+
defaultMessage: "Currencies with account details",
|
|
823
|
+
description: "Label for the group of options that are tagged as currencies with account details"
|
|
824
|
+
},
|
|
822
825
|
filterPlaceholder: {
|
|
823
826
|
id: "df.wise.Decision.filterPlaceholder",
|
|
824
827
|
defaultMessage: "Start typing to search",
|
|
@@ -840,7 +843,8 @@ var decision_messages_default = (0, import_react_intl5.defineMessages)({
|
|
|
840
843
|
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
841
844
|
var OPTION_GROUPS = {
|
|
842
845
|
popular: "popular",
|
|
843
|
-
recent: "recent"
|
|
846
|
+
recent: "recent",
|
|
847
|
+
currencyWithAccountDetails: "currencies-with-account-details"
|
|
844
848
|
};
|
|
845
849
|
var GroupedList = (_a) => {
|
|
846
850
|
var _b = _a, { renderDecisionList: renderDecisionList3 } = _b, rest = __objRest(_b, ["renderDecisionList"]);
|
|
@@ -848,17 +852,24 @@ var GroupedList = (_a) => {
|
|
|
848
852
|
const { options } = rest;
|
|
849
853
|
const popularOptions = options.filter((option) => option.tag === OPTION_GROUPS.popular);
|
|
850
854
|
const recentOptions = options.filter((option) => option.tag === OPTION_GROUPS.recent);
|
|
855
|
+
const currencyWithAccountDetailsOptions = options.filter(
|
|
856
|
+
(option) => option.tag === OPTION_GROUPS.currencyWithAccountDetails
|
|
857
|
+
);
|
|
851
858
|
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_jsx_runtime23.Fragment, { children: [
|
|
852
|
-
popularOptions.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
853
|
-
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
859
|
+
popularOptions.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_components11.Section, { children: [
|
|
860
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_components11.Header, { as: "h2", title: formatMessage(decision_messages_default.popular) }),
|
|
854
861
|
renderDecisionList3(__spreadProps(__spreadValues({}, rest), { options: popularOptions }))
|
|
855
862
|
] }) : null,
|
|
856
|
-
recentOptions.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
857
|
-
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
863
|
+
recentOptions.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_components11.Section, { children: [
|
|
864
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_components11.Header, { as: "h2", title: formatMessage(decision_messages_default.recent) }),
|
|
858
865
|
renderDecisionList3(__spreadProps(__spreadValues({}, rest), { options: recentOptions }))
|
|
859
866
|
] }) : null,
|
|
860
|
-
/* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
861
|
-
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
867
|
+
currencyWithAccountDetailsOptions.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_components11.Section, { children: [
|
|
868
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_components11.Header, { as: "h2", title: formatMessage(decision_messages_default.currenciesWithAccountDetails) }),
|
|
869
|
+
renderDecisionList3(__spreadProps(__spreadValues({}, rest), { options: currencyWithAccountDetailsOptions }))
|
|
870
|
+
] }) : null,
|
|
871
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_components11.Section, { children: [
|
|
872
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_components11.Header, { as: "h2", title: formatMessage(decision_messages_default.all) }),
|
|
862
873
|
renderDecisionList3(rest)
|
|
863
874
|
] })
|
|
864
875
|
] });
|
|
@@ -914,7 +925,7 @@ function filterAndSortDecisionOptions(selectOptions, query) {
|
|
|
914
925
|
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
915
926
|
var DecisionWrapper = (props) => {
|
|
916
927
|
return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: getMargin(props.margin), children: [
|
|
917
|
-
props.title && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
928
|
+
props.title && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_components12.Header, { as: "h2", title: props.title }),
|
|
918
929
|
props.control === "filtered" ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(FilteredDecisionList, __spreadValues({}, props)) : /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(UnfilteredDecisionList, __spreadValues({}, props))
|
|
919
930
|
] });
|
|
920
931
|
};
|
|
@@ -930,7 +941,7 @@ var FilteredDecisionList = (props) => {
|
|
|
930
941
|
const isGrouped = isGroupedDecision(options);
|
|
931
942
|
return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_jsx_runtime24.Fragment, { children: [
|
|
932
943
|
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
933
|
-
|
|
944
|
+
import_components12.SearchInput,
|
|
934
945
|
{
|
|
935
946
|
placeholder: formatMessage(decision_messages_default.filterPlaceholder),
|
|
936
947
|
value: query,
|
|
@@ -941,7 +952,7 @@ var FilteredDecisionList = (props) => {
|
|
|
941
952
|
}
|
|
942
953
|
),
|
|
943
954
|
isGrouped && query.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(GroupedList, __spreadValues({}, props)) : /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_jsx_runtime24.Fragment, { children: [
|
|
944
|
-
query.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
955
|
+
query.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_components12.Header, { as: "h2", title: formatMessage(decision_messages_default.results), className: "m-t-4" }),
|
|
945
956
|
filteredOptions.length > 0 ? renderDecisionList3({
|
|
946
957
|
control,
|
|
947
958
|
className: query.length === 0 ? "m-t-3" : "",
|
|
@@ -960,10 +971,10 @@ var DecisionRenderer = {
|
|
|
960
971
|
}
|
|
961
972
|
};
|
|
962
973
|
var renderDecisionList = ({ options, className, control }) => {
|
|
963
|
-
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
974
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_components13.NavigationOptionsList, { children: options.map((option) => {
|
|
964
975
|
const { description, disabled, media, title: itemTitle, tag, onClick } = option;
|
|
965
976
|
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
966
|
-
|
|
977
|
+
import_components13.NavigationOption,
|
|
967
978
|
{
|
|
968
979
|
title: itemTitle,
|
|
969
980
|
content: description,
|
|
@@ -986,10 +997,21 @@ var renderDecisionList = ({ options, className, control }) => {
|
|
|
986
997
|
var DecisionRenderer_default = DecisionRenderer;
|
|
987
998
|
|
|
988
999
|
// ../renderers/src/DividerRenderer.tsx
|
|
1000
|
+
var import_components14 = require("@transferwise/components");
|
|
989
1001
|
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
1002
|
+
var mapControlToLevel = (control) => {
|
|
1003
|
+
switch (control) {
|
|
1004
|
+
case "section":
|
|
1005
|
+
return "section";
|
|
1006
|
+
case "content":
|
|
1007
|
+
return "content";
|
|
1008
|
+
default:
|
|
1009
|
+
return "subsection";
|
|
1010
|
+
}
|
|
1011
|
+
};
|
|
990
1012
|
var DividerRenderer = {
|
|
991
1013
|
canRenderType: "divider",
|
|
992
|
-
render: ({ margin }) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1014
|
+
render: ({ margin, control }) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_components14.Divider, { className: `m-t-0 d-block ${getMargin(margin)}`, level: mapControlToLevel(control) })
|
|
993
1015
|
};
|
|
994
1016
|
var DividerRenderer_default = DividerRenderer;
|
|
995
1017
|
|
|
@@ -2770,17 +2792,18 @@ function TextToolbarButton(props) {
|
|
|
2770
2792
|
}
|
|
2771
2793
|
var getAddonStart = (media) => {
|
|
2772
2794
|
if (media.type === "avatar") {
|
|
2773
|
-
if (media.content.length ===
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
}
|
|
2795
|
+
if (media.content.length > 0 && media.content[0].type === "uri" && isValidIconUrn(media.content[0].uri)) {
|
|
2796
|
+
return {
|
|
2797
|
+
type: "icon",
|
|
2798
|
+
value: getInlineMedia({
|
|
2799
|
+
type: "image",
|
|
2800
|
+
uri: media.content[0].uri
|
|
2801
|
+
})
|
|
2802
|
+
};
|
|
2781
2803
|
}
|
|
2782
2804
|
return void 0;
|
|
2783
2805
|
}
|
|
2806
|
+
return { type: "icon", value: getInlineMedia(media) };
|
|
2784
2807
|
};
|
|
2785
2808
|
var getPriority2 = (control) => isKnownControl(control) ? control : "secondary";
|
|
2786
2809
|
var prefersMedia = (control) => {
|
|
@@ -3417,6 +3440,29 @@ function ButtonComponent2(props) {
|
|
|
3417
3440
|
var getSentiment2 = (context) => context === "negative" ? "negative" : "default";
|
|
3418
3441
|
var getPriority3 = (control) => control && isButtonPriority(control) ? control : "secondary";
|
|
3419
3442
|
|
|
3443
|
+
// ../renderers/src/ProgressRenderer.tsx
|
|
3444
|
+
var import_components58 = require("@transferwise/components");
|
|
3445
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
3446
|
+
var ProgressRenderer = {
|
|
3447
|
+
canRenderType: "progress",
|
|
3448
|
+
render: ({ uid, title, help, progress, progressText, margin, description }) => {
|
|
3449
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
3450
|
+
import_components58.ProgressBar,
|
|
3451
|
+
{
|
|
3452
|
+
id: uid,
|
|
3453
|
+
className: getMargin(margin),
|
|
3454
|
+
title: title && help ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(LabelContentWithHelp, { text: title, help }) : title,
|
|
3455
|
+
description,
|
|
3456
|
+
progress: {
|
|
3457
|
+
max: 1,
|
|
3458
|
+
value: progress
|
|
3459
|
+
},
|
|
3460
|
+
textEnd: progressText
|
|
3461
|
+
}
|
|
3462
|
+
);
|
|
3463
|
+
}
|
|
3464
|
+
};
|
|
3465
|
+
|
|
3420
3466
|
// ../renderers/src/getWiseRenderers.ts
|
|
3421
3467
|
var getListItemRenderers = () => [
|
|
3422
3468
|
NewDecisionRenderer_default,
|
|
@@ -3452,6 +3498,7 @@ var getWiseRenderers = () => [
|
|
|
3452
3498
|
MultiUploadInputRenderer_default,
|
|
3453
3499
|
NumberInputRenderer_default,
|
|
3454
3500
|
ParagraphRenderer_default,
|
|
3501
|
+
ProgressRenderer,
|
|
3455
3502
|
RepeatableRenderer_default,
|
|
3456
3503
|
ReviewRenderer_default,
|
|
3457
3504
|
SearchRenderer_default,
|
|
@@ -3497,6 +3544,7 @@ var cs_default = {
|
|
|
3497
3544
|
"df.wise.CopyFeedback.copy": "Zkop\xEDrov\xE1no do schr\xE1nky",
|
|
3498
3545
|
"df.wise.CopyFeedback.copyFailed": "Kop\xEDrov\xE1n\xED do schr\xE1nky se nezda\u0159ilo",
|
|
3499
3546
|
"df.wise.Decision.all": "V\u0161e",
|
|
3547
|
+
"df.wise.Decision.currenciesWithAccountDetails": "M\u011Bny s detaily \xFA\u010Dtu",
|
|
3500
3548
|
"df.wise.Decision.filterPlaceholder": "Pro vyhled\xE1v\xE1n\xED za\u010Dn\u011Bte ps\xE1t",
|
|
3501
3549
|
"df.wise.Decision.noResults": "\u017D\xE1dn\xE9 v\xFDsledky",
|
|
3502
3550
|
"df.wise.Decision.popular": "Popul\xE1rn\xED",
|
|
@@ -3541,7 +3589,8 @@ var de_default = {
|
|
|
3541
3589
|
"df.wise.CopyFeedback.copy": "In Zwischenablage kopiert",
|
|
3542
3590
|
"df.wise.CopyFeedback.copyFailed": "Kopieren in Zwischenablage fehlgeschlagen",
|
|
3543
3591
|
"df.wise.Decision.all": "Alle",
|
|
3544
|
-
"df.wise.Decision.
|
|
3592
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Guthaben mit Bankverbindung",
|
|
3593
|
+
"df.wise.Decision.filterPlaceholder": "Gib etwas ein, um die Suche zu beginnen",
|
|
3545
3594
|
"df.wise.Decision.noResults": "Keine Ergebnisse",
|
|
3546
3595
|
"df.wise.Decision.popular": "Beliebt",
|
|
3547
3596
|
"df.wise.Decision.recent": "Neu",
|
|
@@ -3585,6 +3634,7 @@ var en_default = {
|
|
|
3585
3634
|
"df.wise.CopyFeedback.copy": "Copied to clipboard",
|
|
3586
3635
|
"df.wise.CopyFeedback.copyFailed": "Failed to copy to clipboard",
|
|
3587
3636
|
"df.wise.Decision.all": "All",
|
|
3637
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Currencies with account details",
|
|
3588
3638
|
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
3589
3639
|
"df.wise.Decision.noResults": "No results",
|
|
3590
3640
|
"df.wise.Decision.popular": "Popular",
|
|
@@ -3629,6 +3679,7 @@ var es_default = {
|
|
|
3629
3679
|
"df.wise.CopyFeedback.copy": "Copiado al portapapeles",
|
|
3630
3680
|
"df.wise.CopyFeedback.copyFailed": "Error al copiar al portapapeles",
|
|
3631
3681
|
"df.wise.Decision.all": "Todas",
|
|
3682
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Divisas con datos de cuenta",
|
|
3632
3683
|
"df.wise.Decision.filterPlaceholder": "Empieza a escribir para buscar",
|
|
3633
3684
|
"df.wise.Decision.noResults": "No hay resultados",
|
|
3634
3685
|
"df.wise.Decision.popular": "Populares",
|
|
@@ -3673,6 +3724,7 @@ var fr_default = {
|
|
|
3673
3724
|
"df.wise.CopyFeedback.copy": "Copi\xE9 dans le presse-papier",
|
|
3674
3725
|
"df.wise.CopyFeedback.copyFailed": "Impossible de copier dans le presse-papier",
|
|
3675
3726
|
"df.wise.Decision.all": "Toutes",
|
|
3727
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Devises avec num\xE9ros de compte",
|
|
3676
3728
|
"df.wise.Decision.filterPlaceholder": "Commencez \xE0 \xE9crire pour effectuer une recherche",
|
|
3677
3729
|
"df.wise.Decision.noResults": "Aucun r\xE9sultat",
|
|
3678
3730
|
"df.wise.Decision.popular": "Populaires",
|
|
@@ -3717,6 +3769,7 @@ var hu_default = {
|
|
|
3717
3769
|
"df.wise.CopyFeedback.copy": "V\xE1g\xF3lapra m\xE1solva",
|
|
3718
3770
|
"df.wise.CopyFeedback.copyFailed": "Nem siker\xFClt a v\xE1g\xF3lapra m\xE1solni",
|
|
3719
3771
|
"df.wise.Decision.all": "\xD6sszes",
|
|
3772
|
+
"df.wise.Decision.currenciesWithAccountDetails": "p\xE9nznemek sz\xE1mlaadatokkal",
|
|
3720
3773
|
"df.wise.Decision.filterPlaceholder": "Kezdj el g\xE9pelni a keres\xE9shez",
|
|
3721
3774
|
"df.wise.Decision.noResults": "Nincs tal\xE1lat",
|
|
3722
3775
|
"df.wise.Decision.popular": "N\xE9pszer\u0171",
|
|
@@ -3761,6 +3814,7 @@ var id_default = {
|
|
|
3761
3814
|
"df.wise.CopyFeedback.copy": "Disalin ke clipboard",
|
|
3762
3815
|
"df.wise.CopyFeedback.copyFailed": "Gagal menyalin ke clipboard",
|
|
3763
3816
|
"df.wise.Decision.all": "Semua",
|
|
3817
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Saldo dengan detail rekening",
|
|
3764
3818
|
"df.wise.Decision.filterPlaceholder": "Mulai mengetik untuk mencari",
|
|
3765
3819
|
"df.wise.Decision.noResults": "Tidak ada hasil",
|
|
3766
3820
|
"df.wise.Decision.popular": "Populer",
|
|
@@ -3805,6 +3859,7 @@ var it_default = {
|
|
|
3805
3859
|
"df.wise.CopyFeedback.copy": "Copiato negli appunti",
|
|
3806
3860
|
"df.wise.CopyFeedback.copyFailed": "Impossibile copiare negli appunti",
|
|
3807
3861
|
"df.wise.Decision.all": "Tutte",
|
|
3862
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Valute con estremi del conto",
|
|
3808
3863
|
"df.wise.Decision.filterPlaceholder": "Inizia a digitare per cercare",
|
|
3809
3864
|
"df.wise.Decision.noResults": "Nessun risultato",
|
|
3810
3865
|
"df.wise.Decision.popular": "Popolari",
|
|
@@ -3849,7 +3904,8 @@ var ja_default = {
|
|
|
3849
3904
|
"df.wise.CopyFeedback.copy": "\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u3078\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F",
|
|
3850
3905
|
"df.wise.CopyFeedback.copyFailed": "\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F",
|
|
3851
3906
|
"df.wise.Decision.all": "\u3059\u3079\u3066",
|
|
3852
|
-
"df.wise.Decision.
|
|
3907
|
+
"df.wise.Decision.currenciesWithAccountDetails": "\u53E3\u5EA7\u60C5\u5831\u3092\u53D6\u5F97\u3067\u304D\u308B\u901A\u8CA8",
|
|
3908
|
+
"df.wise.Decision.filterPlaceholder": "\u691C\u7D22\u8A9E\u53E5\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
|
|
3853
3909
|
"df.wise.Decision.noResults": "\u691C\u7D22\u7D50\u679C\u304C\u3042\u308A\u307E\u305B\u3093",
|
|
3854
3910
|
"df.wise.Decision.popular": "\u4EBA\u6C17",
|
|
3855
3911
|
"df.wise.Decision.recent": "\u6700\u8FD1",
|
|
@@ -3893,6 +3949,7 @@ var nl_default = {
|
|
|
3893
3949
|
"df.wise.CopyFeedback.copy": "Naar klembord gekopieerd",
|
|
3894
3950
|
"df.wise.CopyFeedback.copyFailed": "Naar klembord kopi\xEBren mislukt",
|
|
3895
3951
|
"df.wise.Decision.all": "Alles",
|
|
3952
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Valuta met rekeninggegevens",
|
|
3896
3953
|
"df.wise.Decision.filterPlaceholder": "Begin met typen om te zoeken",
|
|
3897
3954
|
"df.wise.Decision.noResults": "Niks gevonden",
|
|
3898
3955
|
"df.wise.Decision.popular": "Populair",
|
|
@@ -3937,6 +3994,7 @@ var pl_default = {
|
|
|
3937
3994
|
"df.wise.CopyFeedback.copy": "Skopiowano do schowka",
|
|
3938
3995
|
"df.wise.CopyFeedback.copyFailed": "Nie uda\u0142o si\u0119 skopiowa\u0107 do schowka",
|
|
3939
3996
|
"df.wise.Decision.all": "Wszystkie",
|
|
3997
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Waluty z danymi bankowymi",
|
|
3940
3998
|
"df.wise.Decision.filterPlaceholder": "Zacznij pisa\u0107, \u017Ceby wyszuka\u0107",
|
|
3941
3999
|
"df.wise.Decision.noResults": "Brak wynik\xF3w",
|
|
3942
4000
|
"df.wise.Decision.popular": "Popularne",
|
|
@@ -3981,7 +4039,8 @@ var pt_default = {
|
|
|
3981
4039
|
"df.wise.CopyFeedback.copy": "Copiado",
|
|
3982
4040
|
"df.wise.CopyFeedback.copyFailed": "Falha ao copiar para \xE1rea de transfer\xEAncia",
|
|
3983
4041
|
"df.wise.Decision.all": "Todos",
|
|
3984
|
-
"df.wise.Decision.
|
|
4042
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Moedas com dados de conta",
|
|
4043
|
+
"df.wise.Decision.filterPlaceholder": "Comece a digitar para pesquisar",
|
|
3985
4044
|
"df.wise.Decision.noResults": "Nenhum resultado",
|
|
3986
4045
|
"df.wise.Decision.popular": "Populares",
|
|
3987
4046
|
"df.wise.Decision.recent": "Recente",
|
|
@@ -4025,6 +4084,7 @@ var ro_default = {
|
|
|
4025
4084
|
"df.wise.CopyFeedback.copy": "Copiat \xEEn clipboard",
|
|
4026
4085
|
"df.wise.CopyFeedback.copyFailed": "Copierea \xEEn clipboard a e\u0219uat",
|
|
4027
4086
|
"df.wise.Decision.all": "Toate",
|
|
4087
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Monede cu detalii de cont",
|
|
4028
4088
|
"df.wise.Decision.filterPlaceholder": "\xCEncepe s\u0103 tastezi pentru a c\u0103uta",
|
|
4029
4089
|
"df.wise.Decision.noResults": "Niciun rezultat",
|
|
4030
4090
|
"df.wise.Decision.popular": "Populare",
|
|
@@ -4069,7 +4129,8 @@ var ru_default = {
|
|
|
4069
4129
|
"df.wise.CopyFeedback.copy": "\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",
|
|
4070
4130
|
"df.wise.CopyFeedback.copyFailed": "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",
|
|
4071
4131
|
"df.wise.Decision.all": "\u0412\u0441\u0435",
|
|
4072
|
-
"df.wise.Decision.
|
|
4132
|
+
"df.wise.Decision.currenciesWithAccountDetails": "\u0412\u0430\u043B\u044E\u0442\u044B \u0441 \u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430\u043C\u0438 \u0441\u0447\u0435\u0442\u0430",
|
|
4133
|
+
"df.wise.Decision.filterPlaceholder": "\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",
|
|
4073
4134
|
"df.wise.Decision.noResults": "\u041D\u0435\u0442 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432",
|
|
4074
4135
|
"df.wise.Decision.popular": "\u041F\u043E\u043F\u0443\u043B\u044F\u0440\u043D\u044B\u0435",
|
|
4075
4136
|
"df.wise.Decision.recent": "\u041D\u0435\u0434\u0430\u0432\u043D\u0438\u0435",
|
|
@@ -4113,6 +4174,7 @@ var th_default = {
|
|
|
4113
4174
|
"df.wise.CopyFeedback.copy": "\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E44\u0E1B\u0E22\u0E31\u0E07\u0E04\u0E25\u0E34\u0E1B\u0E1A\u0E2D\u0E23\u0E4C\u0E14",
|
|
4114
4175
|
"df.wise.CopyFeedback.copyFailed": "\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E44\u0E1B\u0E22\u0E31\u0E07\u0E04\u0E25\u0E34\u0E1B\u0E1A\u0E2D\u0E23\u0E4C\u0E14\u0E44\u0E21\u0E48\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08",
|
|
4115
4176
|
"df.wise.Decision.all": "\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14",
|
|
4177
|
+
"df.wise.Decision.currenciesWithAccountDetails": "\u0E2A\u0E01\u0E38\u0E25\u0E40\u0E07\u0E34\u0E19\u0E15\u0E48\u0E32\u0E07\u0E46 \u0E1E\u0E23\u0E49\u0E2D\u0E21\u0E23\u0E32\u0E22\u0E25\u0E30\u0E40\u0E2D\u0E35\u0E22\u0E14\u0E1A\u0E31\u0E0D\u0E0A\u0E35",
|
|
4116
4178
|
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
4117
4179
|
"df.wise.Decision.noResults": "\u0E44\u0E21\u0E48\u0E21\u0E35\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C",
|
|
4118
4180
|
"df.wise.Decision.popular": "\u0E2A\u0E01\u0E38\u0E25\u0E22\u0E2D\u0E14\u0E19\u0E34\u0E22\u0E21",
|
|
@@ -4157,7 +4219,8 @@ var tr_default = {
|
|
|
4157
4219
|
"df.wise.CopyFeedback.copy": "Panoya kopyaland\u0131",
|
|
4158
4220
|
"df.wise.CopyFeedback.copyFailed": "Panoya kopyalama ba\u015Far\u0131s\u0131z oldu",
|
|
4159
4221
|
"df.wise.Decision.all": "T\xFCm\xFC",
|
|
4160
|
-
"df.wise.Decision.
|
|
4222
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Hesap bilgileri olan bakiyeler",
|
|
4223
|
+
"df.wise.Decision.filterPlaceholder": "Aramak i\xE7in yazmaya ba\u015Flay\u0131n",
|
|
4161
4224
|
"df.wise.Decision.noResults": "Sonu\xE7 yok",
|
|
4162
4225
|
"df.wise.Decision.popular": "Pop\xFCler",
|
|
4163
4226
|
"df.wise.Decision.recent": "Yak\u0131n zamanl\u0131",
|
|
@@ -4201,7 +4264,8 @@ var zh_CN_default = {
|
|
|
4201
4264
|
"df.wise.CopyFeedback.copy": "\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F",
|
|
4202
4265
|
"df.wise.CopyFeedback.copyFailed": "\u590D\u5236\u5230\u526A\u8D34\u677F\u5931\u8D25",
|
|
4203
4266
|
"df.wise.Decision.all": "\u5168\u90E8",
|
|
4204
|
-
"df.wise.Decision.
|
|
4267
|
+
"df.wise.Decision.currenciesWithAccountDetails": "\u5E26\u6709\u8D26\u6237\u8BE6\u7EC6\u4FE1\u606F\u7684\u8D27\u5E01",
|
|
4268
|
+
"df.wise.Decision.filterPlaceholder": "\u5F00\u59CB\u8F93\u5165\u4EE5\u641C\u7D22",
|
|
4205
4269
|
"df.wise.Decision.noResults": "\u6682\u65E0\u7ED3\u679C",
|
|
4206
4270
|
"df.wise.Decision.popular": "\u70ED\u95E8",
|
|
4207
4271
|
"df.wise.Decision.recent": "\u6700\u8FD1",
|
|
@@ -4245,6 +4309,7 @@ var zh_HK_default = {
|
|
|
4245
4309
|
"df.wise.CopyFeedback.copy": "\u8907\u88FD\u5230\u526A\u8CBC\u677F",
|
|
4246
4310
|
"df.wise.CopyFeedback.copyFailed": "\u7121\u6CD5\u8907\u88FD\u5230\u526A\u8CBC\u677F",
|
|
4247
4311
|
"df.wise.Decision.all": "\u5168\u90E8",
|
|
4312
|
+
"df.wise.Decision.currenciesWithAccountDetails": "\u63D0\u4F9B\u8CEC\u6236\u8CC7\u6599\u7684\u9918\u984D",
|
|
4248
4313
|
"df.wise.Decision.filterPlaceholder": "\u958B\u59CB\u8F38\u5165\u4EE5\u641C\u5C0B",
|
|
4249
4314
|
"df.wise.Decision.noResults": "\u6C92\u6709\u7D50\u679C",
|
|
4250
4315
|
"df.wise.Decision.popular": "\u71B1\u9580",
|
|
@@ -4306,7 +4371,7 @@ var import_dynamic_flow_client2 = require("@wise/dynamic-flow-client");
|
|
|
4306
4371
|
// src/dynamicFlow/telemetry/app-version.ts
|
|
4307
4372
|
var appVersion = (
|
|
4308
4373
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
4309
|
-
typeof process !== "undefined" ? "4.
|
|
4374
|
+
typeof process !== "undefined" ? "4.26.0" : "0.0.0"
|
|
4310
4375
|
);
|
|
4311
4376
|
|
|
4312
4377
|
// src/dynamicFlow/telemetry/getLogEvent.ts
|
|
@@ -4361,12 +4426,12 @@ var messages_default = (0, import_react_intl21.defineMessages)({
|
|
|
4361
4426
|
});
|
|
4362
4427
|
|
|
4363
4428
|
// src/dynamicFlow/DynamicFlow.tsx
|
|
4364
|
-
var
|
|
4429
|
+
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
4365
4430
|
var wiseRenderers = getWiseRenderers();
|
|
4366
4431
|
function DynamicFlowLegacy(props) {
|
|
4367
4432
|
const { customFetch = globalThis.fetch } = props;
|
|
4368
4433
|
const coreProps = __spreadProps(__spreadValues({}, props), { httpClient: customFetch });
|
|
4369
|
-
return /* @__PURE__ */ (0,
|
|
4434
|
+
return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_dynamic_flow_client2.DynamicFlow, __spreadValues({}, coreProps));
|
|
4370
4435
|
}
|
|
4371
4436
|
function DynamicFlowRevamp(props) {
|
|
4372
4437
|
const {
|
|
@@ -4403,7 +4468,7 @@ function DynamicFlowRevamp(props) {
|
|
|
4403
4468
|
onLink,
|
|
4404
4469
|
onCopy
|
|
4405
4470
|
});
|
|
4406
|
-
return /* @__PURE__ */ (0,
|
|
4471
|
+
return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_dynamic_flow_client2.DynamicFlowCoreRevamp, __spreadValues({}, coreProps)) });
|
|
4407
4472
|
}
|
|
4408
4473
|
var DynamicForm = (0, import_react19.forwardRef)(function DynamicForm2(props, ref) {
|
|
4409
4474
|
const {
|
|
@@ -4440,7 +4505,7 @@ var DynamicForm = (0, import_react19.forwardRef)(function DynamicForm2(props, re
|
|
|
4440
4505
|
onLink,
|
|
4441
4506
|
onCopy
|
|
4442
4507
|
});
|
|
4443
|
-
return /* @__PURE__ */ (0,
|
|
4508
|
+
return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_dynamic_flow_client2.DynamicFormCore, __spreadProps(__spreadValues({}, coreProps), { ref })) });
|
|
4444
4509
|
});
|
|
4445
4510
|
var useWiseHttpClient = (httpClient) => {
|
|
4446
4511
|
const { locale } = (0, import_react_intl22.useIntl)();
|
package/build/main.mjs
CHANGED
|
@@ -558,11 +558,12 @@ var DynamicIcon_default = DynamicIcon;
|
|
|
558
558
|
|
|
559
559
|
// ../renderers/src/components/Media/stringToURN.ts
|
|
560
560
|
var stringToURN = (uri) => {
|
|
561
|
-
var _a;
|
|
562
|
-
const [
|
|
561
|
+
var _a, _b, _c;
|
|
562
|
+
const [nameWithRQComponents, _] = uri.split("#");
|
|
563
|
+
const [nameWithRComponent, qComponent] = nameWithRQComponents.split("?=");
|
|
563
564
|
const [name, rComponent] = (_a = nameWithRComponent == null ? void 0 : nameWithRComponent.split("?+")) != null ? _a : ["", ""];
|
|
564
|
-
const rComponents = rComponent == null ? void 0 :
|
|
565
|
-
const qComponents = qComponent == null ? void 0 :
|
|
565
|
+
const rComponents = rComponent ? (_b = decodeURIComponent(rComponent)) == null ? void 0 : _b.split("&").map((c) => c.split("=")).map(([a, b]) => [a, b]) : void 0;
|
|
566
|
+
const qComponents = qComponent ? (_c = decodeURIComponent(qComponent)) == null ? void 0 : _c.split("&").map((c) => c.split("=")).map(([a, b]) => [a, b]) : void 0;
|
|
566
567
|
return {
|
|
567
568
|
name,
|
|
568
569
|
rComponents,
|
|
@@ -570,9 +571,9 @@ var stringToURN = (uri) => {
|
|
|
570
571
|
};
|
|
571
572
|
};
|
|
572
573
|
|
|
573
|
-
// ../renderers/src/components/Media/
|
|
574
|
+
// ../renderers/src/components/Media/resolveMediaFromUri.tsx
|
|
574
575
|
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
575
|
-
var
|
|
576
|
+
var resolveMediaFromUri = (uri, size) => {
|
|
576
577
|
var _a, _b;
|
|
577
578
|
const { name, qComponents = [] } = stringToURN(uri);
|
|
578
579
|
if (isValidIconUrn(name)) {
|
|
@@ -621,8 +622,8 @@ var AvatarMedia = ({
|
|
|
621
622
|
if (avatar.type === "text") {
|
|
622
623
|
return { asset: avatar.text };
|
|
623
624
|
}
|
|
624
|
-
return __spreadProps(__spreadValues({},
|
|
625
|
-
badge: avatar.badgeUri ?
|
|
625
|
+
return __spreadProps(__spreadValues({}, resolveMediaFromUri(avatar.uri, size)), {
|
|
626
|
+
badge: avatar.badgeUri ? resolveMediaFromUri(avatar.badgeUri, 16) : void 0
|
|
626
627
|
});
|
|
627
628
|
};
|
|
628
629
|
const avatars = content.map(getRenderableAvatar);
|
|
@@ -694,9 +695,6 @@ var getImageNode = (image, size) => {
|
|
|
694
695
|
return null;
|
|
695
696
|
};
|
|
696
697
|
|
|
697
|
-
// ../renderers/src/components/Media/Media.tsx
|
|
698
|
-
import { AvatarView as AvatarView4 } from "@transferwise/components";
|
|
699
|
-
|
|
700
698
|
// ../renderers/src/components/Media/LegacyMedia.tsx
|
|
701
699
|
import { AvatarView as AvatarView3 } from "@transferwise/components";
|
|
702
700
|
import { jsx as jsx19 } from "react/jsx-runtime";
|
|
@@ -730,8 +728,8 @@ function Media({
|
|
|
730
728
|
case "avatar":
|
|
731
729
|
return /* @__PURE__ */ jsx20(AvatarMedia, __spreadProps(__spreadValues({}, media), { size }));
|
|
732
730
|
case "image": {
|
|
733
|
-
const
|
|
734
|
-
return
|
|
731
|
+
const { asset, icon } = resolveMediaFromUri(media.uri, size);
|
|
732
|
+
return icon != null ? icon : asset;
|
|
735
733
|
}
|
|
736
734
|
case "legacy": {
|
|
737
735
|
return /* @__PURE__ */ jsx20(LegacyMedia, __spreadProps(__spreadValues({}, media), { preferAvatar, size }));
|
|
@@ -777,6 +775,11 @@ var decision_messages_default = defineMessages3({
|
|
|
777
775
|
defaultMessage: "Recent",
|
|
778
776
|
description: "Label for the group of options that are tagged as recent"
|
|
779
777
|
},
|
|
778
|
+
currenciesWithAccountDetails: {
|
|
779
|
+
id: "df.wise.Decision.currenciesWithAccountDetails",
|
|
780
|
+
defaultMessage: "Currencies with account details",
|
|
781
|
+
description: "Label for the group of options that are tagged as currencies with account details"
|
|
782
|
+
},
|
|
780
783
|
filterPlaceholder: {
|
|
781
784
|
id: "df.wise.Decision.filterPlaceholder",
|
|
782
785
|
defaultMessage: "Start typing to search",
|
|
@@ -798,7 +801,8 @@ var decision_messages_default = defineMessages3({
|
|
|
798
801
|
import { Fragment, jsx as jsx23, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
799
802
|
var OPTION_GROUPS = {
|
|
800
803
|
popular: "popular",
|
|
801
|
-
recent: "recent"
|
|
804
|
+
recent: "recent",
|
|
805
|
+
currencyWithAccountDetails: "currencies-with-account-details"
|
|
802
806
|
};
|
|
803
807
|
var GroupedList = (_a) => {
|
|
804
808
|
var _b = _a, { renderDecisionList: renderDecisionList3 } = _b, rest = __objRest(_b, ["renderDecisionList"]);
|
|
@@ -806,6 +810,9 @@ var GroupedList = (_a) => {
|
|
|
806
810
|
const { options } = rest;
|
|
807
811
|
const popularOptions = options.filter((option) => option.tag === OPTION_GROUPS.popular);
|
|
808
812
|
const recentOptions = options.filter((option) => option.tag === OPTION_GROUPS.recent);
|
|
813
|
+
const currencyWithAccountDetailsOptions = options.filter(
|
|
814
|
+
(option) => option.tag === OPTION_GROUPS.currencyWithAccountDetails
|
|
815
|
+
);
|
|
809
816
|
return /* @__PURE__ */ jsxs4(Fragment, { children: [
|
|
810
817
|
popularOptions.length > 0 ? /* @__PURE__ */ jsxs4(Section, { children: [
|
|
811
818
|
/* @__PURE__ */ jsx23(Header, { as: "h2", title: formatMessage(decision_messages_default.popular) }),
|
|
@@ -815,6 +822,10 @@ var GroupedList = (_a) => {
|
|
|
815
822
|
/* @__PURE__ */ jsx23(Header, { as: "h2", title: formatMessage(decision_messages_default.recent) }),
|
|
816
823
|
renderDecisionList3(__spreadProps(__spreadValues({}, rest), { options: recentOptions }))
|
|
817
824
|
] }) : null,
|
|
825
|
+
currencyWithAccountDetailsOptions.length > 0 ? /* @__PURE__ */ jsxs4(Section, { children: [
|
|
826
|
+
/* @__PURE__ */ jsx23(Header, { as: "h2", title: formatMessage(decision_messages_default.currenciesWithAccountDetails) }),
|
|
827
|
+
renderDecisionList3(__spreadProps(__spreadValues({}, rest), { options: currencyWithAccountDetailsOptions }))
|
|
828
|
+
] }) : null,
|
|
818
829
|
/* @__PURE__ */ jsxs4(Section, { children: [
|
|
819
830
|
/* @__PURE__ */ jsx23(Header, { as: "h2", title: formatMessage(decision_messages_default.all) }),
|
|
820
831
|
renderDecisionList3(rest)
|
|
@@ -944,10 +955,21 @@ var renderDecisionList = ({ options, className, control }) => {
|
|
|
944
955
|
var DecisionRenderer_default = DecisionRenderer;
|
|
945
956
|
|
|
946
957
|
// ../renderers/src/DividerRenderer.tsx
|
|
958
|
+
import { Divider } from "@transferwise/components";
|
|
947
959
|
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
960
|
+
var mapControlToLevel = (control) => {
|
|
961
|
+
switch (control) {
|
|
962
|
+
case "section":
|
|
963
|
+
return "section";
|
|
964
|
+
case "content":
|
|
965
|
+
return "content";
|
|
966
|
+
default:
|
|
967
|
+
return "subsection";
|
|
968
|
+
}
|
|
969
|
+
};
|
|
948
970
|
var DividerRenderer = {
|
|
949
971
|
canRenderType: "divider",
|
|
950
|
-
render: ({ margin }) => /* @__PURE__ */ jsx26(
|
|
972
|
+
render: ({ margin, control }) => /* @__PURE__ */ jsx26(Divider, { className: `m-t-0 d-block ${getMargin(margin)}`, level: mapControlToLevel(control) })
|
|
951
973
|
};
|
|
952
974
|
var DividerRenderer_default = DividerRenderer;
|
|
953
975
|
|
|
@@ -2731,17 +2753,18 @@ function TextToolbarButton(props) {
|
|
|
2731
2753
|
}
|
|
2732
2754
|
var getAddonStart = (media) => {
|
|
2733
2755
|
if (media.type === "avatar") {
|
|
2734
|
-
if (media.content.length ===
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
}
|
|
2756
|
+
if (media.content.length > 0 && media.content[0].type === "uri" && isValidIconUrn(media.content[0].uri)) {
|
|
2757
|
+
return {
|
|
2758
|
+
type: "icon",
|
|
2759
|
+
value: getInlineMedia({
|
|
2760
|
+
type: "image",
|
|
2761
|
+
uri: media.content[0].uri
|
|
2762
|
+
})
|
|
2763
|
+
};
|
|
2742
2764
|
}
|
|
2743
2765
|
return void 0;
|
|
2744
2766
|
}
|
|
2767
|
+
return { type: "icon", value: getInlineMedia(media) };
|
|
2745
2768
|
};
|
|
2746
2769
|
var getPriority2 = (control) => isKnownControl(control) ? control : "secondary";
|
|
2747
2770
|
var prefersMedia = (control) => {
|
|
@@ -3296,7 +3319,7 @@ var getHelpControl = (help) => {
|
|
|
3296
3319
|
var NewReviewRenderer_default = ReviewRenderer2;
|
|
3297
3320
|
|
|
3298
3321
|
// ../renderers/src/NewListItem/NewStatusListRenderer.tsx
|
|
3299
|
-
import { AvatarView as
|
|
3322
|
+
import { AvatarView as AvatarView4, Header as Header10, ListItem as ListItem6 } from "@transferwise/components";
|
|
3300
3323
|
import { jsx as jsx79, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
3301
3324
|
var NewStatusListRenderer = {
|
|
3302
3325
|
canRenderType: "status-list",
|
|
@@ -3309,7 +3332,7 @@ var NewStatusListRenderer = {
|
|
|
3309
3332
|
{
|
|
3310
3333
|
title: itemTitle,
|
|
3311
3334
|
subtitle: description,
|
|
3312
|
-
media: icon && "name" in icon ? /* @__PURE__ */ jsx79(
|
|
3335
|
+
media: icon && "name" in icon ? /* @__PURE__ */ jsx79(AvatarView4, { badge: { status: mapStatus2(status) }, children: /* @__PURE__ */ jsx79(DynamicIcon_default, { name: icon.name }) }) : void 0,
|
|
3313
3336
|
additionalInfo: callToAction ? /* @__PURE__ */ jsx79(
|
|
3314
3337
|
ListItem6.AdditionalInfo,
|
|
3315
3338
|
{
|
|
@@ -3384,6 +3407,29 @@ function ButtonComponent2(props) {
|
|
|
3384
3407
|
var getSentiment2 = (context) => context === "negative" ? "negative" : "default";
|
|
3385
3408
|
var getPriority3 = (control) => control && isButtonPriority(control) ? control : "secondary";
|
|
3386
3409
|
|
|
3410
|
+
// ../renderers/src/ProgressRenderer.tsx
|
|
3411
|
+
import { ProgressBar } from "@transferwise/components";
|
|
3412
|
+
import { jsx as jsx81 } from "react/jsx-runtime";
|
|
3413
|
+
var ProgressRenderer = {
|
|
3414
|
+
canRenderType: "progress",
|
|
3415
|
+
render: ({ uid, title, help, progress, progressText, margin, description }) => {
|
|
3416
|
+
return /* @__PURE__ */ jsx81(
|
|
3417
|
+
ProgressBar,
|
|
3418
|
+
{
|
|
3419
|
+
id: uid,
|
|
3420
|
+
className: getMargin(margin),
|
|
3421
|
+
title: title && help ? /* @__PURE__ */ jsx81(LabelContentWithHelp, { text: title, help }) : title,
|
|
3422
|
+
description,
|
|
3423
|
+
progress: {
|
|
3424
|
+
max: 1,
|
|
3425
|
+
value: progress
|
|
3426
|
+
},
|
|
3427
|
+
textEnd: progressText
|
|
3428
|
+
}
|
|
3429
|
+
);
|
|
3430
|
+
}
|
|
3431
|
+
};
|
|
3432
|
+
|
|
3387
3433
|
// ../renderers/src/getWiseRenderers.ts
|
|
3388
3434
|
var getListItemRenderers = () => [
|
|
3389
3435
|
NewDecisionRenderer_default,
|
|
@@ -3419,6 +3465,7 @@ var getWiseRenderers = () => [
|
|
|
3419
3465
|
MultiUploadInputRenderer_default,
|
|
3420
3466
|
NumberInputRenderer_default,
|
|
3421
3467
|
ParagraphRenderer_default,
|
|
3468
|
+
ProgressRenderer,
|
|
3422
3469
|
RepeatableRenderer_default,
|
|
3423
3470
|
ReviewRenderer_default,
|
|
3424
3471
|
SearchRenderer_default,
|
|
@@ -3464,6 +3511,7 @@ var cs_default = {
|
|
|
3464
3511
|
"df.wise.CopyFeedback.copy": "Zkop\xEDrov\xE1no do schr\xE1nky",
|
|
3465
3512
|
"df.wise.CopyFeedback.copyFailed": "Kop\xEDrov\xE1n\xED do schr\xE1nky se nezda\u0159ilo",
|
|
3466
3513
|
"df.wise.Decision.all": "V\u0161e",
|
|
3514
|
+
"df.wise.Decision.currenciesWithAccountDetails": "M\u011Bny s detaily \xFA\u010Dtu",
|
|
3467
3515
|
"df.wise.Decision.filterPlaceholder": "Pro vyhled\xE1v\xE1n\xED za\u010Dn\u011Bte ps\xE1t",
|
|
3468
3516
|
"df.wise.Decision.noResults": "\u017D\xE1dn\xE9 v\xFDsledky",
|
|
3469
3517
|
"df.wise.Decision.popular": "Popul\xE1rn\xED",
|
|
@@ -3508,7 +3556,8 @@ var de_default = {
|
|
|
3508
3556
|
"df.wise.CopyFeedback.copy": "In Zwischenablage kopiert",
|
|
3509
3557
|
"df.wise.CopyFeedback.copyFailed": "Kopieren in Zwischenablage fehlgeschlagen",
|
|
3510
3558
|
"df.wise.Decision.all": "Alle",
|
|
3511
|
-
"df.wise.Decision.
|
|
3559
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Guthaben mit Bankverbindung",
|
|
3560
|
+
"df.wise.Decision.filterPlaceholder": "Gib etwas ein, um die Suche zu beginnen",
|
|
3512
3561
|
"df.wise.Decision.noResults": "Keine Ergebnisse",
|
|
3513
3562
|
"df.wise.Decision.popular": "Beliebt",
|
|
3514
3563
|
"df.wise.Decision.recent": "Neu",
|
|
@@ -3552,6 +3601,7 @@ var en_default = {
|
|
|
3552
3601
|
"df.wise.CopyFeedback.copy": "Copied to clipboard",
|
|
3553
3602
|
"df.wise.CopyFeedback.copyFailed": "Failed to copy to clipboard",
|
|
3554
3603
|
"df.wise.Decision.all": "All",
|
|
3604
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Currencies with account details",
|
|
3555
3605
|
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
3556
3606
|
"df.wise.Decision.noResults": "No results",
|
|
3557
3607
|
"df.wise.Decision.popular": "Popular",
|
|
@@ -3596,6 +3646,7 @@ var es_default = {
|
|
|
3596
3646
|
"df.wise.CopyFeedback.copy": "Copiado al portapapeles",
|
|
3597
3647
|
"df.wise.CopyFeedback.copyFailed": "Error al copiar al portapapeles",
|
|
3598
3648
|
"df.wise.Decision.all": "Todas",
|
|
3649
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Divisas con datos de cuenta",
|
|
3599
3650
|
"df.wise.Decision.filterPlaceholder": "Empieza a escribir para buscar",
|
|
3600
3651
|
"df.wise.Decision.noResults": "No hay resultados",
|
|
3601
3652
|
"df.wise.Decision.popular": "Populares",
|
|
@@ -3640,6 +3691,7 @@ var fr_default = {
|
|
|
3640
3691
|
"df.wise.CopyFeedback.copy": "Copi\xE9 dans le presse-papier",
|
|
3641
3692
|
"df.wise.CopyFeedback.copyFailed": "Impossible de copier dans le presse-papier",
|
|
3642
3693
|
"df.wise.Decision.all": "Toutes",
|
|
3694
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Devises avec num\xE9ros de compte",
|
|
3643
3695
|
"df.wise.Decision.filterPlaceholder": "Commencez \xE0 \xE9crire pour effectuer une recherche",
|
|
3644
3696
|
"df.wise.Decision.noResults": "Aucun r\xE9sultat",
|
|
3645
3697
|
"df.wise.Decision.popular": "Populaires",
|
|
@@ -3684,6 +3736,7 @@ var hu_default = {
|
|
|
3684
3736
|
"df.wise.CopyFeedback.copy": "V\xE1g\xF3lapra m\xE1solva",
|
|
3685
3737
|
"df.wise.CopyFeedback.copyFailed": "Nem siker\xFClt a v\xE1g\xF3lapra m\xE1solni",
|
|
3686
3738
|
"df.wise.Decision.all": "\xD6sszes",
|
|
3739
|
+
"df.wise.Decision.currenciesWithAccountDetails": "p\xE9nznemek sz\xE1mlaadatokkal",
|
|
3687
3740
|
"df.wise.Decision.filterPlaceholder": "Kezdj el g\xE9pelni a keres\xE9shez",
|
|
3688
3741
|
"df.wise.Decision.noResults": "Nincs tal\xE1lat",
|
|
3689
3742
|
"df.wise.Decision.popular": "N\xE9pszer\u0171",
|
|
@@ -3728,6 +3781,7 @@ var id_default = {
|
|
|
3728
3781
|
"df.wise.CopyFeedback.copy": "Disalin ke clipboard",
|
|
3729
3782
|
"df.wise.CopyFeedback.copyFailed": "Gagal menyalin ke clipboard",
|
|
3730
3783
|
"df.wise.Decision.all": "Semua",
|
|
3784
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Saldo dengan detail rekening",
|
|
3731
3785
|
"df.wise.Decision.filterPlaceholder": "Mulai mengetik untuk mencari",
|
|
3732
3786
|
"df.wise.Decision.noResults": "Tidak ada hasil",
|
|
3733
3787
|
"df.wise.Decision.popular": "Populer",
|
|
@@ -3772,6 +3826,7 @@ var it_default = {
|
|
|
3772
3826
|
"df.wise.CopyFeedback.copy": "Copiato negli appunti",
|
|
3773
3827
|
"df.wise.CopyFeedback.copyFailed": "Impossibile copiare negli appunti",
|
|
3774
3828
|
"df.wise.Decision.all": "Tutte",
|
|
3829
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Valute con estremi del conto",
|
|
3775
3830
|
"df.wise.Decision.filterPlaceholder": "Inizia a digitare per cercare",
|
|
3776
3831
|
"df.wise.Decision.noResults": "Nessun risultato",
|
|
3777
3832
|
"df.wise.Decision.popular": "Popolari",
|
|
@@ -3816,7 +3871,8 @@ var ja_default = {
|
|
|
3816
3871
|
"df.wise.CopyFeedback.copy": "\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u3078\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F",
|
|
3817
3872
|
"df.wise.CopyFeedback.copyFailed": "\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F",
|
|
3818
3873
|
"df.wise.Decision.all": "\u3059\u3079\u3066",
|
|
3819
|
-
"df.wise.Decision.
|
|
3874
|
+
"df.wise.Decision.currenciesWithAccountDetails": "\u53E3\u5EA7\u60C5\u5831\u3092\u53D6\u5F97\u3067\u304D\u308B\u901A\u8CA8",
|
|
3875
|
+
"df.wise.Decision.filterPlaceholder": "\u691C\u7D22\u8A9E\u53E5\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
|
|
3820
3876
|
"df.wise.Decision.noResults": "\u691C\u7D22\u7D50\u679C\u304C\u3042\u308A\u307E\u305B\u3093",
|
|
3821
3877
|
"df.wise.Decision.popular": "\u4EBA\u6C17",
|
|
3822
3878
|
"df.wise.Decision.recent": "\u6700\u8FD1",
|
|
@@ -3860,6 +3916,7 @@ var nl_default = {
|
|
|
3860
3916
|
"df.wise.CopyFeedback.copy": "Naar klembord gekopieerd",
|
|
3861
3917
|
"df.wise.CopyFeedback.copyFailed": "Naar klembord kopi\xEBren mislukt",
|
|
3862
3918
|
"df.wise.Decision.all": "Alles",
|
|
3919
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Valuta met rekeninggegevens",
|
|
3863
3920
|
"df.wise.Decision.filterPlaceholder": "Begin met typen om te zoeken",
|
|
3864
3921
|
"df.wise.Decision.noResults": "Niks gevonden",
|
|
3865
3922
|
"df.wise.Decision.popular": "Populair",
|
|
@@ -3904,6 +3961,7 @@ var pl_default = {
|
|
|
3904
3961
|
"df.wise.CopyFeedback.copy": "Skopiowano do schowka",
|
|
3905
3962
|
"df.wise.CopyFeedback.copyFailed": "Nie uda\u0142o si\u0119 skopiowa\u0107 do schowka",
|
|
3906
3963
|
"df.wise.Decision.all": "Wszystkie",
|
|
3964
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Waluty z danymi bankowymi",
|
|
3907
3965
|
"df.wise.Decision.filterPlaceholder": "Zacznij pisa\u0107, \u017Ceby wyszuka\u0107",
|
|
3908
3966
|
"df.wise.Decision.noResults": "Brak wynik\xF3w",
|
|
3909
3967
|
"df.wise.Decision.popular": "Popularne",
|
|
@@ -3948,7 +4006,8 @@ var pt_default = {
|
|
|
3948
4006
|
"df.wise.CopyFeedback.copy": "Copiado",
|
|
3949
4007
|
"df.wise.CopyFeedback.copyFailed": "Falha ao copiar para \xE1rea de transfer\xEAncia",
|
|
3950
4008
|
"df.wise.Decision.all": "Todos",
|
|
3951
|
-
"df.wise.Decision.
|
|
4009
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Moedas com dados de conta",
|
|
4010
|
+
"df.wise.Decision.filterPlaceholder": "Comece a digitar para pesquisar",
|
|
3952
4011
|
"df.wise.Decision.noResults": "Nenhum resultado",
|
|
3953
4012
|
"df.wise.Decision.popular": "Populares",
|
|
3954
4013
|
"df.wise.Decision.recent": "Recente",
|
|
@@ -3992,6 +4051,7 @@ var ro_default = {
|
|
|
3992
4051
|
"df.wise.CopyFeedback.copy": "Copiat \xEEn clipboard",
|
|
3993
4052
|
"df.wise.CopyFeedback.copyFailed": "Copierea \xEEn clipboard a e\u0219uat",
|
|
3994
4053
|
"df.wise.Decision.all": "Toate",
|
|
4054
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Monede cu detalii de cont",
|
|
3995
4055
|
"df.wise.Decision.filterPlaceholder": "\xCEncepe s\u0103 tastezi pentru a c\u0103uta",
|
|
3996
4056
|
"df.wise.Decision.noResults": "Niciun rezultat",
|
|
3997
4057
|
"df.wise.Decision.popular": "Populare",
|
|
@@ -4036,7 +4096,8 @@ var ru_default = {
|
|
|
4036
4096
|
"df.wise.CopyFeedback.copy": "\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",
|
|
4037
4097
|
"df.wise.CopyFeedback.copyFailed": "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",
|
|
4038
4098
|
"df.wise.Decision.all": "\u0412\u0441\u0435",
|
|
4039
|
-
"df.wise.Decision.
|
|
4099
|
+
"df.wise.Decision.currenciesWithAccountDetails": "\u0412\u0430\u043B\u044E\u0442\u044B \u0441 \u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430\u043C\u0438 \u0441\u0447\u0435\u0442\u0430",
|
|
4100
|
+
"df.wise.Decision.filterPlaceholder": "\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",
|
|
4040
4101
|
"df.wise.Decision.noResults": "\u041D\u0435\u0442 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432",
|
|
4041
4102
|
"df.wise.Decision.popular": "\u041F\u043E\u043F\u0443\u043B\u044F\u0440\u043D\u044B\u0435",
|
|
4042
4103
|
"df.wise.Decision.recent": "\u041D\u0435\u0434\u0430\u0432\u043D\u0438\u0435",
|
|
@@ -4080,6 +4141,7 @@ var th_default = {
|
|
|
4080
4141
|
"df.wise.CopyFeedback.copy": "\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E44\u0E1B\u0E22\u0E31\u0E07\u0E04\u0E25\u0E34\u0E1B\u0E1A\u0E2D\u0E23\u0E4C\u0E14",
|
|
4081
4142
|
"df.wise.CopyFeedback.copyFailed": "\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E44\u0E1B\u0E22\u0E31\u0E07\u0E04\u0E25\u0E34\u0E1B\u0E1A\u0E2D\u0E23\u0E4C\u0E14\u0E44\u0E21\u0E48\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08",
|
|
4082
4143
|
"df.wise.Decision.all": "\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14",
|
|
4144
|
+
"df.wise.Decision.currenciesWithAccountDetails": "\u0E2A\u0E01\u0E38\u0E25\u0E40\u0E07\u0E34\u0E19\u0E15\u0E48\u0E32\u0E07\u0E46 \u0E1E\u0E23\u0E49\u0E2D\u0E21\u0E23\u0E32\u0E22\u0E25\u0E30\u0E40\u0E2D\u0E35\u0E22\u0E14\u0E1A\u0E31\u0E0D\u0E0A\u0E35",
|
|
4083
4145
|
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
4084
4146
|
"df.wise.Decision.noResults": "\u0E44\u0E21\u0E48\u0E21\u0E35\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C",
|
|
4085
4147
|
"df.wise.Decision.popular": "\u0E2A\u0E01\u0E38\u0E25\u0E22\u0E2D\u0E14\u0E19\u0E34\u0E22\u0E21",
|
|
@@ -4124,7 +4186,8 @@ var tr_default = {
|
|
|
4124
4186
|
"df.wise.CopyFeedback.copy": "Panoya kopyaland\u0131",
|
|
4125
4187
|
"df.wise.CopyFeedback.copyFailed": "Panoya kopyalama ba\u015Far\u0131s\u0131z oldu",
|
|
4126
4188
|
"df.wise.Decision.all": "T\xFCm\xFC",
|
|
4127
|
-
"df.wise.Decision.
|
|
4189
|
+
"df.wise.Decision.currenciesWithAccountDetails": "Hesap bilgileri olan bakiyeler",
|
|
4190
|
+
"df.wise.Decision.filterPlaceholder": "Aramak i\xE7in yazmaya ba\u015Flay\u0131n",
|
|
4128
4191
|
"df.wise.Decision.noResults": "Sonu\xE7 yok",
|
|
4129
4192
|
"df.wise.Decision.popular": "Pop\xFCler",
|
|
4130
4193
|
"df.wise.Decision.recent": "Yak\u0131n zamanl\u0131",
|
|
@@ -4168,7 +4231,8 @@ var zh_CN_default = {
|
|
|
4168
4231
|
"df.wise.CopyFeedback.copy": "\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F",
|
|
4169
4232
|
"df.wise.CopyFeedback.copyFailed": "\u590D\u5236\u5230\u526A\u8D34\u677F\u5931\u8D25",
|
|
4170
4233
|
"df.wise.Decision.all": "\u5168\u90E8",
|
|
4171
|
-
"df.wise.Decision.
|
|
4234
|
+
"df.wise.Decision.currenciesWithAccountDetails": "\u5E26\u6709\u8D26\u6237\u8BE6\u7EC6\u4FE1\u606F\u7684\u8D27\u5E01",
|
|
4235
|
+
"df.wise.Decision.filterPlaceholder": "\u5F00\u59CB\u8F93\u5165\u4EE5\u641C\u7D22",
|
|
4172
4236
|
"df.wise.Decision.noResults": "\u6682\u65E0\u7ED3\u679C",
|
|
4173
4237
|
"df.wise.Decision.popular": "\u70ED\u95E8",
|
|
4174
4238
|
"df.wise.Decision.recent": "\u6700\u8FD1",
|
|
@@ -4212,6 +4276,7 @@ var zh_HK_default = {
|
|
|
4212
4276
|
"df.wise.CopyFeedback.copy": "\u8907\u88FD\u5230\u526A\u8CBC\u677F",
|
|
4213
4277
|
"df.wise.CopyFeedback.copyFailed": "\u7121\u6CD5\u8907\u88FD\u5230\u526A\u8CBC\u677F",
|
|
4214
4278
|
"df.wise.Decision.all": "\u5168\u90E8",
|
|
4279
|
+
"df.wise.Decision.currenciesWithAccountDetails": "\u63D0\u4F9B\u8CEC\u6236\u8CC7\u6599\u7684\u9918\u984D",
|
|
4215
4280
|
"df.wise.Decision.filterPlaceholder": "\u958B\u59CB\u8F38\u5165\u4EE5\u641C\u5C0B",
|
|
4216
4281
|
"df.wise.Decision.noResults": "\u6C92\u6709\u7D50\u679C",
|
|
4217
4282
|
"df.wise.Decision.popular": "\u71B1\u9580",
|
|
@@ -4277,7 +4342,7 @@ import {
|
|
|
4277
4342
|
// src/dynamicFlow/telemetry/app-version.ts
|
|
4278
4343
|
var appVersion = (
|
|
4279
4344
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
4280
|
-
typeof process !== "undefined" ? "4.
|
|
4345
|
+
typeof process !== "undefined" ? "4.26.0" : "0.0.0"
|
|
4281
4346
|
);
|
|
4282
4347
|
|
|
4283
4348
|
// src/dynamicFlow/telemetry/getLogEvent.ts
|
|
@@ -4332,12 +4397,12 @@ var messages_default = defineMessages10({
|
|
|
4332
4397
|
});
|
|
4333
4398
|
|
|
4334
4399
|
// src/dynamicFlow/DynamicFlow.tsx
|
|
4335
|
-
import { jsx as
|
|
4400
|
+
import { jsx as jsx82 } from "react/jsx-runtime";
|
|
4336
4401
|
var wiseRenderers = getWiseRenderers();
|
|
4337
4402
|
function DynamicFlowLegacy(props) {
|
|
4338
4403
|
const { customFetch = globalThis.fetch } = props;
|
|
4339
4404
|
const coreProps = __spreadProps(__spreadValues({}, props), { httpClient: customFetch });
|
|
4340
|
-
return /* @__PURE__ */
|
|
4405
|
+
return /* @__PURE__ */ jsx82(DynamicFlowCoreLegacy, __spreadValues({}, coreProps));
|
|
4341
4406
|
}
|
|
4342
4407
|
function DynamicFlowRevamp(props) {
|
|
4343
4408
|
const {
|
|
@@ -4374,7 +4439,7 @@ function DynamicFlowRevamp(props) {
|
|
|
4374
4439
|
onLink,
|
|
4375
4440
|
onCopy
|
|
4376
4441
|
});
|
|
4377
|
-
return /* @__PURE__ */
|
|
4442
|
+
return /* @__PURE__ */ jsx82("div", { className, children: /* @__PURE__ */ jsx82(DynamicFlowCoreRevamp, __spreadValues({}, coreProps)) });
|
|
4378
4443
|
}
|
|
4379
4444
|
var DynamicForm = forwardRef(function DynamicForm2(props, ref) {
|
|
4380
4445
|
const {
|
|
@@ -4411,7 +4476,7 @@ var DynamicForm = forwardRef(function DynamicForm2(props, ref) {
|
|
|
4411
4476
|
onLink,
|
|
4412
4477
|
onCopy
|
|
4413
4478
|
});
|
|
4414
|
-
return /* @__PURE__ */
|
|
4479
|
+
return /* @__PURE__ */ jsx82("div", { className, children: /* @__PURE__ */ jsx82(DynamicFormCore, __spreadProps(__spreadValues({}, coreProps), { ref })) });
|
|
4415
4480
|
});
|
|
4416
4481
|
var useWiseHttpClient = (httpClient) => {
|
|
4417
4482
|
const { locale } = useIntl12();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise/dynamic-flow-client-internal",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.26.0",
|
|
4
4
|
"description": "Dynamic Flow web client for Wise",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./build/main.js",
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
"stylelint-value-no-unknown-custom-properties": "6.0.1",
|
|
75
75
|
"tsx": "4.20.4",
|
|
76
76
|
"typescript": "5.9.2",
|
|
77
|
-
"@wise/dynamic-flow-
|
|
78
|
-
"@wise/dynamic-flow-types": "3.
|
|
79
|
-
"@wise/dynamic-flow-
|
|
77
|
+
"@wise/dynamic-flow-renderers": "0.0.0",
|
|
78
|
+
"@wise/dynamic-flow-types": "3.13.0",
|
|
79
|
+
"@wise/dynamic-flow-fixtures": "0.0.1"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
82
|
"@transferwise/components": "^46.104.0",
|
|
@@ -91,8 +91,8 @@
|
|
|
91
91
|
},
|
|
92
92
|
"dependencies": {
|
|
93
93
|
"classnames": "2.5.1",
|
|
94
|
-
"@wise/dynamic-flow-client": "4.
|
|
95
|
-
"@wise/dynamic-flow-types": "3.
|
|
94
|
+
"@wise/dynamic-flow-client": "4.16.0",
|
|
95
|
+
"@wise/dynamic-flow-types": "3.13.0"
|
|
96
96
|
},
|
|
97
97
|
"scripts": {
|
|
98
98
|
"dev": "pnpm build:visual-tests && storybook dev -p 3005",
|