@wise/dynamic-flow-client-internal 4.34.0 → 4.35.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/i18n/cs.json +8 -8
- package/build/i18n/de.json +8 -8
- package/build/i18n/en.json +8 -8
- package/build/i18n/es.json +8 -8
- package/build/i18n/fr.json +8 -8
- package/build/i18n/hu.json +8 -8
- package/build/i18n/id.json +8 -8
- package/build/i18n/it.json +8 -8
- package/build/i18n/ja.json +8 -8
- package/build/i18n/nl.json +8 -8
- package/build/i18n/pl.json +8 -8
- package/build/i18n/pt.json +8 -8
- package/build/i18n/ro.json +8 -8
- package/build/i18n/ru.json +8 -8
- package/build/i18n/th.json +8 -8
- package/build/i18n/tr.json +8 -8
- package/build/i18n/uk.json +8 -8
- package/build/i18n/zh_CN.json +8 -8
- package/build/i18n/zh_HK.json +8 -8
- package/build/main.css +3 -2
- package/build/main.js +686 -575
- package/build/main.mjs +561 -450
- package/package.json +16 -15
package/build/main.mjs
CHANGED
|
@@ -795,97 +795,31 @@ var DateInputRenderer_default = DateInputRenderer;
|
|
|
795
795
|
// ../renderers/src/DecisionRenderer/DecisionRenderer.tsx
|
|
796
796
|
import { NavigationOption, NavigationOptionsList } from "@transferwise/components";
|
|
797
797
|
|
|
798
|
-
// ../renderers/src/DecisionRenderer/
|
|
798
|
+
// ../renderers/src/DecisionRenderer/DecisionWrapper.tsx
|
|
799
799
|
import { Header as Header2, SearchInput } from "@transferwise/components";
|
|
800
|
+
import { useState as useState3 } from "react";
|
|
801
|
+
import { useIntl as useIntl4 } from "react-intl";
|
|
800
802
|
|
|
801
|
-
// ../renderers/src/
|
|
802
|
-
import { Header, Section } from "@transferwise/components";
|
|
803
|
-
import { useIntl as useIntl3 } from "react-intl";
|
|
804
|
-
|
|
805
|
-
// ../renderers/src/messages/decision.messages.ts
|
|
803
|
+
// ../renderers/src/messages/filter.messages.ts
|
|
806
804
|
import { defineMessages as defineMessages3 } from "react-intl";
|
|
807
|
-
var
|
|
808
|
-
|
|
809
|
-
id: "df.wise.
|
|
810
|
-
defaultMessage: "All",
|
|
811
|
-
description: "Label for the group of options that encompasses all options"
|
|
812
|
-
},
|
|
813
|
-
popular: {
|
|
814
|
-
id: "df.wise.Decision.popular",
|
|
815
|
-
defaultMessage: "Popular",
|
|
816
|
-
description: "Label for the group of options that are tagged as popular"
|
|
817
|
-
},
|
|
818
|
-
recent: {
|
|
819
|
-
id: "df.wise.Decision.recent",
|
|
820
|
-
defaultMessage: "Recent",
|
|
821
|
-
description: "Label for the group of options that are tagged as recent"
|
|
822
|
-
},
|
|
823
|
-
currenciesWithAccountDetails: {
|
|
824
|
-
id: "df.wise.Decision.currenciesWithAccountDetails",
|
|
825
|
-
defaultMessage: "Currencies with account details",
|
|
826
|
-
description: "Label for the group of options that are tagged as currencies with account details"
|
|
827
|
-
},
|
|
828
|
-
filterPlaceholder: {
|
|
829
|
-
id: "df.wise.Decision.filterPlaceholder",
|
|
805
|
+
var filter_messages_default = defineMessages3({
|
|
806
|
+
placeholder: {
|
|
807
|
+
id: "df.wise.filter.placeholder",
|
|
830
808
|
defaultMessage: "Start typing to search",
|
|
831
809
|
description: "Placeholder for the filter input"
|
|
832
810
|
},
|
|
833
811
|
results: {
|
|
834
|
-
id: "df.wise.
|
|
812
|
+
id: "df.wise.filter.results",
|
|
835
813
|
defaultMessage: "Search results",
|
|
836
814
|
description: "Label for the results section"
|
|
837
815
|
},
|
|
838
816
|
noResults: {
|
|
839
|
-
id: "df.wise.
|
|
817
|
+
id: "df.wise.filter.noResults",
|
|
840
818
|
defaultMessage: "No results",
|
|
841
819
|
description: "Message for if there are no results"
|
|
842
820
|
}
|
|
843
821
|
});
|
|
844
822
|
|
|
845
|
-
// ../renderers/src/DecisionRenderer/GroupedList.tsx
|
|
846
|
-
import { Fragment, jsx as jsx24, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
847
|
-
var OPTION_GROUPS = {
|
|
848
|
-
popular: "popular",
|
|
849
|
-
recent: "recent",
|
|
850
|
-
currencyWithAccountDetails: "currencies-with-account-details"
|
|
851
|
-
};
|
|
852
|
-
var GroupedList = (_a) => {
|
|
853
|
-
var _b = _a, { renderDecisionList: renderDecisionList3 } = _b, rest = __objRest(_b, ["renderDecisionList"]);
|
|
854
|
-
const { formatMessage } = useIntl3();
|
|
855
|
-
const { options } = rest;
|
|
856
|
-
const popularOptions = options.filter((option) => option.tag === OPTION_GROUPS.popular);
|
|
857
|
-
const recentOptions = options.filter((option) => option.tag === OPTION_GROUPS.recent);
|
|
858
|
-
const currencyWithAccountDetailsOptions = options.filter(
|
|
859
|
-
(option) => option.tag === OPTION_GROUPS.currencyWithAccountDetails
|
|
860
|
-
);
|
|
861
|
-
return /* @__PURE__ */ jsxs4(Fragment, { children: [
|
|
862
|
-
popularOptions.length > 0 ? /* @__PURE__ */ jsxs4(Section, { children: [
|
|
863
|
-
/* @__PURE__ */ jsx24(Header, { as: "h2", title: formatMessage(decision_messages_default.popular) }),
|
|
864
|
-
renderDecisionList3(__spreadProps(__spreadValues({}, rest), { options: popularOptions }))
|
|
865
|
-
] }) : null,
|
|
866
|
-
recentOptions.length > 0 ? /* @__PURE__ */ jsxs4(Section, { children: [
|
|
867
|
-
/* @__PURE__ */ jsx24(Header, { as: "h2", title: formatMessage(decision_messages_default.recent) }),
|
|
868
|
-
renderDecisionList3(__spreadProps(__spreadValues({}, rest), { options: recentOptions }))
|
|
869
|
-
] }) : null,
|
|
870
|
-
currencyWithAccountDetailsOptions.length > 0 ? /* @__PURE__ */ jsxs4(Section, { children: [
|
|
871
|
-
/* @__PURE__ */ jsx24(Header, { as: "h2", title: formatMessage(decision_messages_default.currenciesWithAccountDetails) }),
|
|
872
|
-
renderDecisionList3(__spreadProps(__spreadValues({}, rest), { options: currencyWithAccountDetailsOptions }))
|
|
873
|
-
] }) : null,
|
|
874
|
-
/* @__PURE__ */ jsxs4(Section, { children: [
|
|
875
|
-
/* @__PURE__ */ jsx24(Header, { as: "h2", title: formatMessage(decision_messages_default.all) }),
|
|
876
|
-
renderDecisionList3(rest)
|
|
877
|
-
] })
|
|
878
|
-
] });
|
|
879
|
-
};
|
|
880
|
-
var isGroupedDecision = (options) => {
|
|
881
|
-
const possibleGroups = Object.values(OPTION_GROUPS);
|
|
882
|
-
return options.some(({ tag }) => tag && possibleGroups.includes(tag));
|
|
883
|
-
};
|
|
884
|
-
|
|
885
|
-
// ../renderers/src/DecisionRenderer/DecisionList.tsx
|
|
886
|
-
import { useIntl as useIntl4 } from "react-intl";
|
|
887
|
-
import { useState as useState3 } from "react";
|
|
888
|
-
|
|
889
823
|
// ../renderers/src/DecisionRenderer/filter-and-sort-decision-options.ts
|
|
890
824
|
function filterAndSortDecisionOptions(selectOptions, query) {
|
|
891
825
|
const upperQuery = normalizeAndRemoveAccents(query);
|
|
@@ -927,7 +861,69 @@ function filterAndSortDecisionOptions(selectOptions, query) {
|
|
|
927
861
|
}
|
|
928
862
|
var normalizeAndRemoveAccents = (text) => text.trim().toLowerCase().normalize("NFKD").replace(new RegExp("\\p{Diacritic}", "gu"), "");
|
|
929
863
|
|
|
930
|
-
// ../renderers/src/DecisionRenderer/
|
|
864
|
+
// ../renderers/src/DecisionRenderer/GroupedDecisionList.tsx
|
|
865
|
+
import { Header, Section } from "@transferwise/components";
|
|
866
|
+
import { useIntl as useIntl3 } from "react-intl";
|
|
867
|
+
|
|
868
|
+
// ../renderers/src/messages/group.messages.ts
|
|
869
|
+
import { defineMessages as defineMessages4 } from "react-intl";
|
|
870
|
+
var group_messages_default = defineMessages4({
|
|
871
|
+
all: {
|
|
872
|
+
id: "df.wise.group.all",
|
|
873
|
+
defaultMessage: "All",
|
|
874
|
+
description: "Label for the group of options that encompasses all options"
|
|
875
|
+
},
|
|
876
|
+
popular: {
|
|
877
|
+
id: "df.wise.group.popular",
|
|
878
|
+
defaultMessage: "Popular",
|
|
879
|
+
description: "Label for the group of options that are tagged as popular"
|
|
880
|
+
},
|
|
881
|
+
recent: {
|
|
882
|
+
id: "df.wise.group.recent",
|
|
883
|
+
defaultMessage: "Recent",
|
|
884
|
+
description: "Label for the group of options that are tagged as recent"
|
|
885
|
+
},
|
|
886
|
+
"currencies-with-account-details": {
|
|
887
|
+
id: "df.wise.group.currencies-with-account-details",
|
|
888
|
+
defaultMessage: "Currencies with account details",
|
|
889
|
+
description: "Label for the group of options that are tagged as currencies with account details"
|
|
890
|
+
}
|
|
891
|
+
});
|
|
892
|
+
|
|
893
|
+
// ../renderers/src/utils/grouping-utils.ts
|
|
894
|
+
var getGroupsFromTags = (knownTags, items) => {
|
|
895
|
+
return knownTags.map((tag) => {
|
|
896
|
+
return { tag, items: items.filter((item) => {
|
|
897
|
+
var _a;
|
|
898
|
+
return (_a = item.tags) == null ? void 0 : _a.includes(tag);
|
|
899
|
+
}) };
|
|
900
|
+
}).filter((group) => group.items.length > 0);
|
|
901
|
+
};
|
|
902
|
+
|
|
903
|
+
// ../renderers/src/DecisionRenderer/GroupedDecisionList.tsx
|
|
904
|
+
import { Fragment, jsx as jsx24, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
905
|
+
var groupingTags = Object.keys(group_messages_default).filter((key) => key !== "all");
|
|
906
|
+
var isGroupedDecision = (options) => {
|
|
907
|
+
return getGroupsFromTags(groupingTags, options).length > 0;
|
|
908
|
+
};
|
|
909
|
+
var GroupedDecisionList = (_a) => {
|
|
910
|
+
var _b = _a, { renderDecisionList: renderDecisionList3 } = _b, rest = __objRest(_b, ["renderDecisionList"]);
|
|
911
|
+
const { formatMessage } = useIntl3();
|
|
912
|
+
const { options } = rest;
|
|
913
|
+
const itemsByTag = [...getGroupsFromTags(groupingTags, options), { tag: "all", items: options }];
|
|
914
|
+
return /* @__PURE__ */ jsx24(Fragment, { children: itemsByTag.map(({ tag, items }) => /* @__PURE__ */ jsxs4(Section, { children: [
|
|
915
|
+
/* @__PURE__ */ jsx24(
|
|
916
|
+
Header,
|
|
917
|
+
{
|
|
918
|
+
as: "h2",
|
|
919
|
+
title: tag in group_messages_default ? formatMessage(group_messages_default[tag]) : tag
|
|
920
|
+
}
|
|
921
|
+
),
|
|
922
|
+
renderDecisionList3(__spreadProps(__spreadValues({}, rest), { options: items }))
|
|
923
|
+
] }, tag)) });
|
|
924
|
+
};
|
|
925
|
+
|
|
926
|
+
// ../renderers/src/DecisionRenderer/DecisionWrapper.tsx
|
|
931
927
|
import { Fragment as Fragment2, jsx as jsx25, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
932
928
|
var DecisionWrapper = (props) => {
|
|
933
929
|
return /* @__PURE__ */ jsxs5("div", { className: getMargin(props.margin), children: [
|
|
@@ -937,7 +933,7 @@ var DecisionWrapper = (props) => {
|
|
|
937
933
|
};
|
|
938
934
|
var UnfilteredDecisionList = (_a) => {
|
|
939
935
|
var _b = _a, { renderDecisionList: renderDecisionList3 } = _b, rest = __objRest(_b, ["renderDecisionList"]);
|
|
940
|
-
return isGroupedDecision(rest.options) ? /* @__PURE__ */ jsx25(
|
|
936
|
+
return isGroupedDecision(rest.options) ? /* @__PURE__ */ jsx25(GroupedDecisionList, __spreadProps(__spreadValues({}, rest), { renderDecisionList: renderDecisionList3 })) : renderDecisionList3(rest);
|
|
941
937
|
};
|
|
942
938
|
var FilteredDecisionList = (props) => {
|
|
943
939
|
const { formatMessage } = useIntl4();
|
|
@@ -949,22 +945,22 @@ var FilteredDecisionList = (props) => {
|
|
|
949
945
|
/* @__PURE__ */ jsx25(
|
|
950
946
|
SearchInput,
|
|
951
947
|
{
|
|
952
|
-
placeholder: formatMessage(
|
|
948
|
+
placeholder: formatMessage(filter_messages_default.placeholder),
|
|
953
949
|
value: query,
|
|
950
|
+
className: "m-b-2",
|
|
954
951
|
onChange: (e) => {
|
|
955
952
|
var _a;
|
|
956
953
|
return setQuery((_a = e.target.value) != null ? _a : "");
|
|
957
|
-
}
|
|
958
|
-
className: "m-b-2"
|
|
954
|
+
}
|
|
959
955
|
}
|
|
960
956
|
),
|
|
961
|
-
isGrouped && query.length === 0 ? /* @__PURE__ */ jsx25(
|
|
962
|
-
query.length > 0 && /* @__PURE__ */ jsx25(Header2, { as: "h2", title: formatMessage(
|
|
957
|
+
isGrouped && query.length === 0 ? /* @__PURE__ */ jsx25(GroupedDecisionList, __spreadValues({}, props)) : /* @__PURE__ */ jsxs5(Fragment2, { children: [
|
|
958
|
+
query.length > 0 && /* @__PURE__ */ jsx25(Header2, { as: "h2", title: formatMessage(filter_messages_default.results), className: "m-t-4" }),
|
|
963
959
|
filteredOptions.length > 0 ? renderDecisionList3({
|
|
964
960
|
control,
|
|
965
961
|
className: query.length === 0 ? "m-t-3" : "",
|
|
966
962
|
options: filteredOptions
|
|
967
|
-
}) : /* @__PURE__ */ jsx25("p", { children: formatMessage(
|
|
963
|
+
}) : /* @__PURE__ */ jsx25("p", { children: formatMessage(filter_messages_default.noResults) })
|
|
968
964
|
] })
|
|
969
965
|
] });
|
|
970
966
|
};
|
|
@@ -1026,8 +1022,8 @@ var DividerRenderer_default = DividerRenderer;
|
|
|
1026
1022
|
import { Button as Button3, Markdown as Markdown2, Modal } from "@transferwise/components";
|
|
1027
1023
|
|
|
1028
1024
|
// ../renderers/src/messages/external-confirmation.messages.ts
|
|
1029
|
-
import { defineMessages as
|
|
1030
|
-
var external_confirmation_messages_default =
|
|
1025
|
+
import { defineMessages as defineMessages5 } from "react-intl";
|
|
1026
|
+
var external_confirmation_messages_default = defineMessages5({
|
|
1031
1027
|
title: {
|
|
1032
1028
|
id: "df.wise.ExternalConfirmation.title",
|
|
1033
1029
|
defaultMessage: "Please confirm",
|
|
@@ -1563,7 +1559,14 @@ import { Markdown as Markdown3 } from "@transferwise/components";
|
|
|
1563
1559
|
import { jsx as jsx42 } from "react/jsx-runtime";
|
|
1564
1560
|
var MarkdownRenderer = {
|
|
1565
1561
|
canRenderType: "markdown",
|
|
1566
|
-
render: ({ content, align, margin }) => /* @__PURE__ */ jsx42("div", { className: getTextAlignmentAndMargin({ align, margin }), children: /* @__PURE__ */ jsx42(
|
|
1562
|
+
render: ({ content, align, margin, size }) => /* @__PURE__ */ jsx42("div", { className: getTextAlignmentAndMargin({ align, margin }), children: /* @__PURE__ */ jsx42(
|
|
1563
|
+
Markdown3,
|
|
1564
|
+
{
|
|
1565
|
+
className: ["xs", "sm"].includes(size) ? "np-text-body-default" : "np-text-body-large",
|
|
1566
|
+
config: { link: { target: "_blank" } },
|
|
1567
|
+
children: content
|
|
1568
|
+
}
|
|
1569
|
+
) })
|
|
1567
1570
|
};
|
|
1568
1571
|
var MarkdownRenderer_default = MarkdownRenderer;
|
|
1569
1572
|
|
|
@@ -1605,14 +1608,114 @@ var ModalRenderer = {
|
|
|
1605
1608
|
}
|
|
1606
1609
|
};
|
|
1607
1610
|
|
|
1611
|
+
// ../renderers/src/MoneyInputRenderer.tsx
|
|
1612
|
+
import { MoneyInput } from "@transferwise/components";
|
|
1613
|
+
import { useEffect as useEffect5 } from "react";
|
|
1614
|
+
import { useIntl as useIntl6 } from "react-intl";
|
|
1615
|
+
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
1616
|
+
var groupingTags2 = Object.keys(group_messages_default).filter((key) => key !== "all");
|
|
1617
|
+
var MoneyInputRenderer = {
|
|
1618
|
+
canRenderType: "money-input",
|
|
1619
|
+
render: MoneyInputRendererComponent
|
|
1620
|
+
};
|
|
1621
|
+
function MoneyInputRendererComponent(props) {
|
|
1622
|
+
var _a;
|
|
1623
|
+
const {
|
|
1624
|
+
uid,
|
|
1625
|
+
title,
|
|
1626
|
+
description,
|
|
1627
|
+
validationState,
|
|
1628
|
+
help,
|
|
1629
|
+
amountValue,
|
|
1630
|
+
selectedCurrencyIndex,
|
|
1631
|
+
placeholder,
|
|
1632
|
+
currencies,
|
|
1633
|
+
onAmountChange,
|
|
1634
|
+
onCurrencyChange
|
|
1635
|
+
} = props;
|
|
1636
|
+
useEffect5(() => {
|
|
1637
|
+
if (!isValidIndex(selectedCurrencyIndex, currencies.length)) {
|
|
1638
|
+
onCurrencyChange(0);
|
|
1639
|
+
}
|
|
1640
|
+
}, [selectedCurrencyIndex, onCurrencyChange, currencies.length]);
|
|
1641
|
+
const { formatMessage } = useIntl6();
|
|
1642
|
+
return /* @__PURE__ */ jsx45(
|
|
1643
|
+
FieldInput_default,
|
|
1644
|
+
{
|
|
1645
|
+
id: uid,
|
|
1646
|
+
label: title,
|
|
1647
|
+
description,
|
|
1648
|
+
validation: validationState,
|
|
1649
|
+
help,
|
|
1650
|
+
children: /* @__PURE__ */ jsx45(
|
|
1651
|
+
MoneyInput,
|
|
1652
|
+
{
|
|
1653
|
+
amount: parseFloatOrNull(amountValue),
|
|
1654
|
+
searchPlaceholder: "",
|
|
1655
|
+
size: "md",
|
|
1656
|
+
currencies: mapCurrencies(currencies, formatMessage),
|
|
1657
|
+
selectedCurrency: getCurrencyOptionItem(
|
|
1658
|
+
currencies[selectedCurrencyIndex != null ? selectedCurrencyIndex : 0],
|
|
1659
|
+
String(selectedCurrencyIndex != null ? selectedCurrencyIndex : 0)
|
|
1660
|
+
),
|
|
1661
|
+
placeholder: (_a = parseFloatOrNull(placeholder)) != null ? _a : void 0,
|
|
1662
|
+
onAmountChange: (newAmount) => {
|
|
1663
|
+
onAmountChange(String(newAmount));
|
|
1664
|
+
},
|
|
1665
|
+
onCurrencyChange: (item) => {
|
|
1666
|
+
const selectedIndex = Number.parseInt(item.value, 10);
|
|
1667
|
+
onCurrencyChange(selectedIndex);
|
|
1668
|
+
}
|
|
1669
|
+
}
|
|
1670
|
+
)
|
|
1671
|
+
}
|
|
1672
|
+
);
|
|
1673
|
+
}
|
|
1674
|
+
var parseFloatOrNull = (value) => {
|
|
1675
|
+
const parsed = Number.parseFloat(value != null ? value : "");
|
|
1676
|
+
return Number.isNaN(parsed) ? null : parsed;
|
|
1677
|
+
};
|
|
1678
|
+
var mapCurrencies = (options, formatMessage) => {
|
|
1679
|
+
const groupsFromTags = getGroupsFromTags(groupingTags2, options);
|
|
1680
|
+
if (groupsFromTags.length > 0) {
|
|
1681
|
+
return [...groupsFromTags, { tag: "all", items: options }].flatMap(({ tag, items }) => {
|
|
1682
|
+
return [
|
|
1683
|
+
{
|
|
1684
|
+
header: tag in group_messages_default ? formatMessage(group_messages_default[tag]) : tag
|
|
1685
|
+
},
|
|
1686
|
+
...items.map((item) => getCurrencyOptionItem(item, String(options.indexOf(item))))
|
|
1687
|
+
];
|
|
1688
|
+
});
|
|
1689
|
+
}
|
|
1690
|
+
return options.map((item, index) => getCurrencyOptionItem(item, String(index)));
|
|
1691
|
+
};
|
|
1692
|
+
var getCurrencyOptionItem = ({ currencyCode, title, description, keywords }, indexValue) => {
|
|
1693
|
+
assertCurrencyCodeIsString(currencyCode);
|
|
1694
|
+
return {
|
|
1695
|
+
currency: currencyCode,
|
|
1696
|
+
label: title != null ? title : "",
|
|
1697
|
+
value: indexValue,
|
|
1698
|
+
note: description,
|
|
1699
|
+
searchable: (keywords != null ? keywords : []).join(", ")
|
|
1700
|
+
};
|
|
1701
|
+
};
|
|
1702
|
+
var isValidIndex = (index, options) => index !== null && index >= 0 && index < options;
|
|
1703
|
+
function assertCurrencyCodeIsString(currencyCode) {
|
|
1704
|
+
if (typeof currencyCode !== "string") {
|
|
1705
|
+
throw new Error(
|
|
1706
|
+
"This MoneyInputRenderer only supports string currency codes. This means the const values in the schema representing currencies must be strings."
|
|
1707
|
+
);
|
|
1708
|
+
}
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1608
1711
|
// ../renderers/src/MultiSelectInputRenderer.tsx
|
|
1609
1712
|
import { SelectInput, SelectInputOptionContent } from "@transferwise/components";
|
|
1610
1713
|
import { useState as useState7 } from "react";
|
|
1611
|
-
import { useIntl as
|
|
1714
|
+
import { useIntl as useIntl7 } from "react-intl";
|
|
1612
1715
|
|
|
1613
1716
|
// ../renderers/src/messages/multi-select.messages.ts
|
|
1614
|
-
import { defineMessages as
|
|
1615
|
-
var multi_select_messages_default =
|
|
1717
|
+
import { defineMessages as defineMessages6 } from "react-intl";
|
|
1718
|
+
var multi_select_messages_default = defineMessages6({
|
|
1616
1719
|
summary: {
|
|
1617
1720
|
id: "df.wise.MultiSelect.summary",
|
|
1618
1721
|
defaultMessage: "{first} and {count} more",
|
|
@@ -1621,13 +1724,13 @@ var multi_select_messages_default = defineMessages5({
|
|
|
1621
1724
|
});
|
|
1622
1725
|
|
|
1623
1726
|
// ../renderers/src/MultiSelectInputRenderer.tsx
|
|
1624
|
-
import { jsx as
|
|
1727
|
+
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
1625
1728
|
var MultiSelectInputRenderer = {
|
|
1626
1729
|
canRenderType: "input-multi-select",
|
|
1627
|
-
render: (props) => /* @__PURE__ */
|
|
1730
|
+
render: (props) => /* @__PURE__ */ jsx46(MultiSelectInputRendererComponent, __spreadValues({}, props))
|
|
1628
1731
|
};
|
|
1629
1732
|
function MultiSelectInputRendererComponent(props) {
|
|
1630
|
-
const { formatMessage } =
|
|
1733
|
+
const { formatMessage } = useIntl7();
|
|
1631
1734
|
const [stagedIndices, setStagedIndices] = useState7();
|
|
1632
1735
|
const {
|
|
1633
1736
|
id,
|
|
@@ -1666,12 +1769,12 @@ function MultiSelectInputRendererComponent(props) {
|
|
|
1666
1769
|
const contentProps = {
|
|
1667
1770
|
title: option.title,
|
|
1668
1771
|
description: option.description,
|
|
1669
|
-
icon: /* @__PURE__ */
|
|
1772
|
+
icon: /* @__PURE__ */ jsx46(OptionMedia, { media: option.media, preferAvatar: false })
|
|
1670
1773
|
};
|
|
1671
|
-
return /* @__PURE__ */
|
|
1774
|
+
return /* @__PURE__ */ jsx46(SelectInputOptionContent, __spreadValues({}, contentProps));
|
|
1672
1775
|
};
|
|
1673
1776
|
const extraProps = { autoComplete };
|
|
1674
|
-
return /* @__PURE__ */
|
|
1777
|
+
return /* @__PURE__ */ jsx46(
|
|
1675
1778
|
FieldInput_default,
|
|
1676
1779
|
{
|
|
1677
1780
|
id,
|
|
@@ -1679,7 +1782,7 @@ function MultiSelectInputRendererComponent(props) {
|
|
|
1679
1782
|
help,
|
|
1680
1783
|
description,
|
|
1681
1784
|
validation: validationState,
|
|
1682
|
-
children: /* @__PURE__ */
|
|
1785
|
+
children: /* @__PURE__ */ jsx46(
|
|
1683
1786
|
SelectInput,
|
|
1684
1787
|
__spreadValues({
|
|
1685
1788
|
id,
|
|
@@ -1724,7 +1827,7 @@ import { UploadInput } from "@transferwise/components";
|
|
|
1724
1827
|
// ../renderers/src/components/UploadFieldInput.tsx
|
|
1725
1828
|
import { InlineAlert as InlineAlert2 } from "@transferwise/components";
|
|
1726
1829
|
import classNames4 from "classnames";
|
|
1727
|
-
import { jsx as
|
|
1830
|
+
import { jsx as jsx47, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
1728
1831
|
function UploadFieldInput({
|
|
1729
1832
|
id,
|
|
1730
1833
|
children,
|
|
@@ -1733,7 +1836,7 @@ function UploadFieldInput({
|
|
|
1733
1836
|
help,
|
|
1734
1837
|
validation
|
|
1735
1838
|
}) {
|
|
1736
|
-
const labelContent = label && help ? /* @__PURE__ */
|
|
1839
|
+
const labelContent = label && help ? /* @__PURE__ */ jsx47(LabelContentWithHelp, { text: label, help }) : label;
|
|
1737
1840
|
const descriptionId = description ? `${id}-description` : void 0;
|
|
1738
1841
|
return /* @__PURE__ */ jsxs11(
|
|
1739
1842
|
"div",
|
|
@@ -1742,9 +1845,9 @@ function UploadFieldInput({
|
|
|
1742
1845
|
"has-error": (validation == null ? void 0 : validation.status) === "invalid"
|
|
1743
1846
|
}),
|
|
1744
1847
|
children: [
|
|
1745
|
-
/* @__PURE__ */
|
|
1848
|
+
/* @__PURE__ */ jsx47("label", { htmlFor: id, className: "control-label", children: labelContent }),
|
|
1746
1849
|
children,
|
|
1747
|
-
(validation == null ? void 0 : validation.status) === "invalid" && /* @__PURE__ */
|
|
1850
|
+
(validation == null ? void 0 : validation.status) === "invalid" && /* @__PURE__ */ jsx47(InlineAlert2, { type: "negative", id: descriptionId, children: validation.message })
|
|
1748
1851
|
]
|
|
1749
1852
|
}
|
|
1750
1853
|
);
|
|
@@ -1779,7 +1882,7 @@ var getSizeLimit = (maxSize) => {
|
|
|
1779
1882
|
};
|
|
1780
1883
|
|
|
1781
1884
|
// ../renderers/src/MultiUploadInputRenderer.tsx
|
|
1782
|
-
import { jsx as
|
|
1885
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
1783
1886
|
var MultiUploadInputRenderer = {
|
|
1784
1887
|
canRenderType: "input-upload-multi",
|
|
1785
1888
|
render: (props) => {
|
|
@@ -1804,7 +1907,7 @@ var MultiUploadInputRenderer = {
|
|
|
1804
1907
|
};
|
|
1805
1908
|
const onDeleteFile = async (fileId) => onRemoveFile(value.findIndex((file) => file.id === fileId));
|
|
1806
1909
|
const descriptionId = description ? `${id}-description` : void 0;
|
|
1807
|
-
return /* @__PURE__ */
|
|
1910
|
+
return /* @__PURE__ */ jsx48(
|
|
1808
1911
|
UploadFieldInput_default,
|
|
1809
1912
|
{
|
|
1810
1913
|
id,
|
|
@@ -1812,7 +1915,7 @@ var MultiUploadInputRenderer = {
|
|
|
1812
1915
|
description,
|
|
1813
1916
|
validation: validationState,
|
|
1814
1917
|
help,
|
|
1815
|
-
children: /* @__PURE__ */
|
|
1918
|
+
children: /* @__PURE__ */ jsx48(
|
|
1816
1919
|
UploadInput,
|
|
1817
1920
|
{
|
|
1818
1921
|
id,
|
|
@@ -1836,7 +1939,7 @@ var MultiUploadInputRenderer_default = MultiUploadInputRenderer;
|
|
|
1836
1939
|
|
|
1837
1940
|
// ../renderers/src/NumberInputRenderer.tsx
|
|
1838
1941
|
import { Input as Input2, InputGroup as InputGroup2 } from "@transferwise/components";
|
|
1839
|
-
import { jsx as
|
|
1942
|
+
import { jsx as jsx49 } from "react/jsx-runtime";
|
|
1840
1943
|
var NumberInputRenderer = {
|
|
1841
1944
|
canRenderType: "input-number",
|
|
1842
1945
|
render: (props) => {
|
|
@@ -1850,7 +1953,7 @@ var NumberInputRenderer = {
|
|
|
1850
1953
|
"maximum",
|
|
1851
1954
|
"minimum"
|
|
1852
1955
|
);
|
|
1853
|
-
return /* @__PURE__ */
|
|
1956
|
+
return /* @__PURE__ */ jsx49(
|
|
1854
1957
|
FieldInput_default,
|
|
1855
1958
|
{
|
|
1856
1959
|
id,
|
|
@@ -1858,7 +1961,7 @@ var NumberInputRenderer = {
|
|
|
1858
1961
|
description,
|
|
1859
1962
|
validation: validationState,
|
|
1860
1963
|
help,
|
|
1861
|
-
children: /* @__PURE__ */
|
|
1964
|
+
children: /* @__PURE__ */ jsx49(InputGroup2, { addonStart: getInputGroupAddonStart(media), children: /* @__PURE__ */ jsx49(
|
|
1862
1965
|
Input2,
|
|
1863
1966
|
__spreadValues({
|
|
1864
1967
|
id,
|
|
@@ -1879,7 +1982,7 @@ var NumberInputRenderer = {
|
|
|
1879
1982
|
var NumberInputRenderer_default = NumberInputRenderer;
|
|
1880
1983
|
|
|
1881
1984
|
// ../renderers/src/ParagraphRenderer.tsx
|
|
1882
|
-
import { useIntl as
|
|
1985
|
+
import { useIntl as useIntl8 } from "react-intl";
|
|
1883
1986
|
|
|
1884
1987
|
// ../renderers/src/hooks/useSnackBarIfAvailable.ts
|
|
1885
1988
|
import { SnackbarContext } from "@transferwise/components";
|
|
@@ -1895,8 +1998,8 @@ import { Button as Button5, Input as Input3 } from "@transferwise/components";
|
|
|
1895
1998
|
import classNames5 from "classnames";
|
|
1896
1999
|
|
|
1897
2000
|
// ../renderers/src/messages/paragraph.messages.ts
|
|
1898
|
-
import { defineMessages as
|
|
1899
|
-
var paragraph_messages_default =
|
|
2001
|
+
import { defineMessages as defineMessages7 } from "react-intl";
|
|
2002
|
+
var paragraph_messages_default = defineMessages7({
|
|
1900
2003
|
copy: {
|
|
1901
2004
|
id: "df.wise.DynamicParagraph.copy",
|
|
1902
2005
|
defaultMessage: "Copy",
|
|
@@ -1910,24 +2013,27 @@ var paragraph_messages_default = defineMessages6({
|
|
|
1910
2013
|
});
|
|
1911
2014
|
|
|
1912
2015
|
// ../renderers/src/ParagraphRenderer.tsx
|
|
1913
|
-
import { jsx as
|
|
2016
|
+
import { jsx as jsx50, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
1914
2017
|
var ParagraphRenderer = {
|
|
1915
2018
|
canRenderType: "paragraph",
|
|
1916
|
-
render: (props) => /* @__PURE__ */
|
|
2019
|
+
render: (props) => /* @__PURE__ */ jsx50(Paragraph, __spreadValues({}, props))
|
|
1917
2020
|
};
|
|
1918
|
-
function Paragraph({ align, control, margin, text }) {
|
|
2021
|
+
function Paragraph({ align, control, margin, size, text }) {
|
|
1919
2022
|
const className = getTextAlignmentAndMargin({ align, margin });
|
|
1920
|
-
return control === "copyable" ? /* @__PURE__ */
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
2023
|
+
return control === "copyable" ? /* @__PURE__ */ jsx50(CopyableParagraph, { className, align, text }) : /* @__PURE__ */ jsx50(
|
|
2024
|
+
"p",
|
|
2025
|
+
{
|
|
2026
|
+
className: `${["xs", "sm"].includes(size) ? "np-text-body-default" : "np-text-body-large"} ${className}`,
|
|
2027
|
+
children: text
|
|
2028
|
+
}
|
|
2029
|
+
);
|
|
1924
2030
|
}
|
|
1925
2031
|
function CopyableParagraph({
|
|
1926
2032
|
text,
|
|
1927
2033
|
align,
|
|
1928
2034
|
className
|
|
1929
2035
|
}) {
|
|
1930
|
-
const { formatMessage } =
|
|
2036
|
+
const { formatMessage } = useIntl8();
|
|
1931
2037
|
const createSnackbar = useSnackBarIfAvailable();
|
|
1932
2038
|
const copy = () => {
|
|
1933
2039
|
navigator.clipboard.writeText(text).then(() => createSnackbar({ text: formatMessage(paragraph_messages_default.copied) })).catch(() => {
|
|
@@ -1935,7 +2041,7 @@ function CopyableParagraph({
|
|
|
1935
2041
|
};
|
|
1936
2042
|
const inputAlignmentClasses = getTextAlignmentAndMargin({ align, margin: "sm" });
|
|
1937
2043
|
return /* @__PURE__ */ jsxs12("div", { className, children: [
|
|
1938
|
-
/* @__PURE__ */
|
|
2044
|
+
/* @__PURE__ */ jsx50(
|
|
1939
2045
|
Input3,
|
|
1940
2046
|
{
|
|
1941
2047
|
type: "text",
|
|
@@ -1944,7 +2050,7 @@ function CopyableParagraph({
|
|
|
1944
2050
|
className: classNames5("text-ellipsis", inputAlignmentClasses)
|
|
1945
2051
|
}
|
|
1946
2052
|
),
|
|
1947
|
-
/* @__PURE__ */
|
|
2053
|
+
/* @__PURE__ */ jsx50(Button5, { v2: true, block: true, onClick: copy, children: formatMessage(paragraph_messages_default.copy) })
|
|
1948
2054
|
] });
|
|
1949
2055
|
}
|
|
1950
2056
|
var ParagraphRenderer_default = ParagraphRenderer;
|
|
@@ -1954,11 +2060,11 @@ import { Button as Button6, Header as Header6, InlineAlert as InlineAlert3, Moda
|
|
|
1954
2060
|
import { Plus } from "@transferwise/icons";
|
|
1955
2061
|
import classNames6 from "classnames";
|
|
1956
2062
|
import { useState as useState8 } from "react";
|
|
1957
|
-
import { useIntl as
|
|
2063
|
+
import { useIntl as useIntl9 } from "react-intl";
|
|
1958
2064
|
|
|
1959
2065
|
// ../renderers/src/messages/repeatable.messages.ts
|
|
1960
|
-
import { defineMessages as
|
|
1961
|
-
var repeatable_messages_default =
|
|
2066
|
+
import { defineMessages as defineMessages8 } from "react-intl";
|
|
2067
|
+
var repeatable_messages_default = defineMessages8({
|
|
1962
2068
|
addItemTitle: {
|
|
1963
2069
|
id: "df.wise.ArraySchema.addItemTitle",
|
|
1964
2070
|
defaultMessage: "Add Item",
|
|
@@ -1982,10 +2088,10 @@ var repeatable_messages_default = defineMessages7({
|
|
|
1982
2088
|
});
|
|
1983
2089
|
|
|
1984
2090
|
// ../renderers/src/RepeatableRenderer.tsx
|
|
1985
|
-
import { Fragment as Fragment4, jsx as
|
|
2091
|
+
import { Fragment as Fragment4, jsx as jsx51, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
1986
2092
|
var RepeatableRenderer = {
|
|
1987
2093
|
canRenderType: "repeatable",
|
|
1988
|
-
render: (props) => /* @__PURE__ */
|
|
2094
|
+
render: (props) => /* @__PURE__ */ jsx51(Repeatable, __spreadValues({}, props))
|
|
1989
2095
|
};
|
|
1990
2096
|
function Repeatable(props) {
|
|
1991
2097
|
const {
|
|
@@ -2001,7 +2107,7 @@ function Repeatable(props) {
|
|
|
2001
2107
|
onSave,
|
|
2002
2108
|
onRemove
|
|
2003
2109
|
} = props;
|
|
2004
|
-
const { formatMessage } =
|
|
2110
|
+
const { formatMessage } = useIntl9();
|
|
2005
2111
|
const [openModalType, setOpenModalType] = useState8(null);
|
|
2006
2112
|
const onAddItem = () => {
|
|
2007
2113
|
onAdd();
|
|
@@ -2025,8 +2131,8 @@ function Repeatable(props) {
|
|
|
2025
2131
|
setOpenModalType(null);
|
|
2026
2132
|
};
|
|
2027
2133
|
return /* @__PURE__ */ jsxs13(Fragment4, { children: [
|
|
2028
|
-
title && /* @__PURE__ */
|
|
2029
|
-
description && /* @__PURE__ */
|
|
2134
|
+
title && /* @__PURE__ */ jsx51(Header6, { title }),
|
|
2135
|
+
description && /* @__PURE__ */ jsx51("p", { children: description }),
|
|
2030
2136
|
/* @__PURE__ */ jsxs13(
|
|
2031
2137
|
"div",
|
|
2032
2138
|
{
|
|
@@ -2034,30 +2140,30 @@ function Repeatable(props) {
|
|
|
2034
2140
|
"has-error": (validationState == null ? void 0 : validationState.status) === "invalid"
|
|
2035
2141
|
}),
|
|
2036
2142
|
children: [
|
|
2037
|
-
items == null ? void 0 : items.map((item, index) => /* @__PURE__ */
|
|
2038
|
-
/* @__PURE__ */
|
|
2143
|
+
items == null ? void 0 : items.map((item, index) => /* @__PURE__ */ jsx51(ItemSummaryOption, { item, onClick: () => onEditItem(index) }, item.id)),
|
|
2144
|
+
/* @__PURE__ */ jsx51(
|
|
2039
2145
|
NavigationOption2,
|
|
2040
2146
|
{
|
|
2041
|
-
media: /* @__PURE__ */
|
|
2147
|
+
media: /* @__PURE__ */ jsx51(Plus, {}),
|
|
2042
2148
|
title: addItemTitle || formatMessage(repeatable_messages_default.addItemTitle),
|
|
2043
2149
|
showMediaAtAllSizes: true,
|
|
2044
2150
|
onClick: () => onAddItem()
|
|
2045
2151
|
}
|
|
2046
2152
|
),
|
|
2047
|
-
(validationState == null ? void 0 : validationState.status) === "invalid" && /* @__PURE__ */
|
|
2153
|
+
(validationState == null ? void 0 : validationState.status) === "invalid" && /* @__PURE__ */ jsx51(InlineAlert3, { type: "negative", children: validationState.message })
|
|
2048
2154
|
]
|
|
2049
2155
|
}
|
|
2050
2156
|
),
|
|
2051
|
-
/* @__PURE__ */
|
|
2157
|
+
/* @__PURE__ */ jsx51(
|
|
2052
2158
|
Modal4,
|
|
2053
2159
|
{
|
|
2054
2160
|
open: openModalType !== null,
|
|
2055
2161
|
title: (openModalType === "add" ? addItemTitle : editItemTitle) || formatMessage(repeatable_messages_default.addItemTitle),
|
|
2056
2162
|
body: /* @__PURE__ */ jsxs13(Fragment4, { children: [
|
|
2057
|
-
/* @__PURE__ */
|
|
2163
|
+
/* @__PURE__ */ jsx51("div", { className: "m-b-2", children: editableItem }),
|
|
2058
2164
|
/* @__PURE__ */ jsxs13("div", { children: [
|
|
2059
|
-
/* @__PURE__ */
|
|
2060
|
-
/* @__PURE__ */
|
|
2165
|
+
/* @__PURE__ */ jsx51(Button6, { priority: "primary", block: true, className: "m-b-2", onClick: () => onSaveItem(), children: formatMessage(repeatable_messages_default.addItem) }),
|
|
2166
|
+
/* @__PURE__ */ jsx51(
|
|
2061
2167
|
Button6,
|
|
2062
2168
|
{
|
|
2063
2169
|
v2: true,
|
|
@@ -2079,10 +2185,10 @@ function ItemSummaryOption({
|
|
|
2079
2185
|
item,
|
|
2080
2186
|
onClick
|
|
2081
2187
|
}) {
|
|
2082
|
-
return /* @__PURE__ */
|
|
2188
|
+
return /* @__PURE__ */ jsx51(
|
|
2083
2189
|
NavigationOption2,
|
|
2084
2190
|
{
|
|
2085
|
-
media: /* @__PURE__ */
|
|
2191
|
+
media: /* @__PURE__ */ jsx51(OptionMedia, { media: item.media, preferAvatar: false }),
|
|
2086
2192
|
title: item.title,
|
|
2087
2193
|
content: item.description,
|
|
2088
2194
|
showMediaAtAllSizes: true,
|
|
@@ -2098,8 +2204,8 @@ import { DefinitionList } from "@transferwise/components";
|
|
|
2098
2204
|
|
|
2099
2205
|
// ../renderers/src/components/Header.tsx
|
|
2100
2206
|
import { Header as DSHeader } from "@transferwise/components";
|
|
2101
|
-
import { jsx as
|
|
2102
|
-
var Header7 = ({ title, callToAction }) => (title || callToAction) && /* @__PURE__ */
|
|
2207
|
+
import { jsx as jsx52 } from "react/jsx-runtime";
|
|
2208
|
+
var Header7 = ({ title, callToAction }) => (title || callToAction) && /* @__PURE__ */ jsx52(DSHeader, { title: title != null ? title : "", action: getHeaderAction(callToAction) });
|
|
2103
2209
|
var getHeaderAction = (callToAction) => {
|
|
2104
2210
|
if (!callToAction) {
|
|
2105
2211
|
return void 0;
|
|
@@ -2121,14 +2227,14 @@ var getHeaderAction = (callToAction) => {
|
|
|
2121
2227
|
};
|
|
2122
2228
|
|
|
2123
2229
|
// ../renderers/src/ReviewRenderer.tsx
|
|
2124
|
-
import { Fragment as Fragment5, jsx as
|
|
2230
|
+
import { Fragment as Fragment5, jsx as jsx53, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
2125
2231
|
var ReviewRenderer = {
|
|
2126
2232
|
canRenderType: "review",
|
|
2127
2233
|
render: ({ callToAction, control, fields, margin, title, trackEvent }) => {
|
|
2128
2234
|
const orientation = mapControlToDefinitionListLayout(control);
|
|
2129
2235
|
return /* @__PURE__ */ jsxs14("div", { className: getMargin(margin), children: [
|
|
2130
|
-
/* @__PURE__ */
|
|
2131
|
-
/* @__PURE__ */
|
|
2236
|
+
/* @__PURE__ */ jsx53(Header7, { title, callToAction }),
|
|
2237
|
+
/* @__PURE__ */ jsx53("div", { className: margin, children: /* @__PURE__ */ jsx53(
|
|
2132
2238
|
DefinitionList,
|
|
2133
2239
|
{
|
|
2134
2240
|
layout: orientation,
|
|
@@ -2169,7 +2275,7 @@ var getFieldLabel = (label, help, onClick) => {
|
|
|
2169
2275
|
return /* @__PURE__ */ jsxs14(Fragment5, { children: [
|
|
2170
2276
|
label,
|
|
2171
2277
|
" ",
|
|
2172
|
-
/* @__PURE__ */
|
|
2278
|
+
/* @__PURE__ */ jsx53(Help_default, { help, onClick })
|
|
2173
2279
|
] });
|
|
2174
2280
|
}
|
|
2175
2281
|
return label;
|
|
@@ -2178,11 +2284,11 @@ var getFieldLabel = (label, help, onClick) => {
|
|
|
2178
2284
|
// ../renderers/src/SearchRenderer/BlockSearchRendererComponent.tsx
|
|
2179
2285
|
import { Input as Input4, Markdown as Markdown4, NavigationOption as NavigationOption3, NavigationOptionsList as NavigationOptionsList2 } from "@transferwise/components";
|
|
2180
2286
|
import { useState as useState9 } from "react";
|
|
2181
|
-
import { useIntl as
|
|
2287
|
+
import { useIntl as useIntl11 } from "react-intl";
|
|
2182
2288
|
|
|
2183
2289
|
// ../renderers/src/messages/search.messages.ts
|
|
2184
|
-
import { defineMessages as
|
|
2185
|
-
var search_messages_default =
|
|
2290
|
+
import { defineMessages as defineMessages9 } from "react-intl";
|
|
2291
|
+
var search_messages_default = defineMessages9({
|
|
2186
2292
|
loading: {
|
|
2187
2293
|
id: "df.wise.SearchLayout.loading",
|
|
2188
2294
|
defaultMessage: "Loading...",
|
|
@@ -2191,11 +2297,11 @@ var search_messages_default = defineMessages8({
|
|
|
2191
2297
|
});
|
|
2192
2298
|
|
|
2193
2299
|
// ../renderers/src/SearchRenderer/ErrorResult.tsx
|
|
2194
|
-
import { useIntl as
|
|
2300
|
+
import { useIntl as useIntl10 } from "react-intl";
|
|
2195
2301
|
|
|
2196
2302
|
// ../renderers/src/messages/generic-error.messages.ts
|
|
2197
|
-
import { defineMessages as
|
|
2198
|
-
var generic_error_messages_default =
|
|
2303
|
+
import { defineMessages as defineMessages10 } from "react-intl";
|
|
2304
|
+
var generic_error_messages_default = defineMessages10({
|
|
2199
2305
|
genericErrorRetryHint: {
|
|
2200
2306
|
id: "df.wise.PersistAsyncSchema.genericError",
|
|
2201
2307
|
defaultMessage: "Something went wrong, please try again.",
|
|
@@ -2215,18 +2321,18 @@ var generic_error_messages_default = defineMessages9({
|
|
|
2215
2321
|
|
|
2216
2322
|
// ../renderers/src/SearchRenderer/ErrorResult.tsx
|
|
2217
2323
|
import { Link } from "@transferwise/components";
|
|
2218
|
-
import { jsx as
|
|
2324
|
+
import { jsx as jsx54, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
2219
2325
|
function ErrorResult({ state }) {
|
|
2220
|
-
const intl =
|
|
2326
|
+
const intl = useIntl10();
|
|
2221
2327
|
return /* @__PURE__ */ jsxs15("p", { className: "m-t-2", children: [
|
|
2222
2328
|
intl.formatMessage(generic_error_messages_default.genericError),
|
|
2223
2329
|
"\xA0",
|
|
2224
|
-
/* @__PURE__ */
|
|
2330
|
+
/* @__PURE__ */ jsx54(Link, { onClick: () => state.onRetry(), children: intl.formatMessage(generic_error_messages_default.retry) })
|
|
2225
2331
|
] });
|
|
2226
2332
|
}
|
|
2227
2333
|
|
|
2228
2334
|
// ../renderers/src/SearchRenderer/BlockSearchRendererComponent.tsx
|
|
2229
|
-
import { jsx as
|
|
2335
|
+
import { jsx as jsx55, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
2230
2336
|
function BlockSearchRendererComponent({
|
|
2231
2337
|
id,
|
|
2232
2338
|
isLoading,
|
|
@@ -2238,9 +2344,9 @@ function BlockSearchRendererComponent({
|
|
|
2238
2344
|
onChange
|
|
2239
2345
|
}) {
|
|
2240
2346
|
const [hasSearched, setHasSearched] = useState9(false);
|
|
2241
|
-
const { formatMessage } =
|
|
2347
|
+
const { formatMessage } = useIntl11();
|
|
2242
2348
|
return /* @__PURE__ */ jsxs16("div", { className: getMargin(margin), children: [
|
|
2243
|
-
/* @__PURE__ */
|
|
2349
|
+
/* @__PURE__ */ jsx55(FieldInput_default, { id, description: "", validation: void 0, help: "", label: title, children: /* @__PURE__ */ jsx55(
|
|
2244
2350
|
Input4,
|
|
2245
2351
|
{
|
|
2246
2352
|
id,
|
|
@@ -2257,7 +2363,7 @@ function BlockSearchRendererComponent({
|
|
|
2257
2363
|
}
|
|
2258
2364
|
}
|
|
2259
2365
|
) }),
|
|
2260
|
-
isLoading ? /* @__PURE__ */
|
|
2366
|
+
isLoading ? /* @__PURE__ */ jsx55("span", { children: formatMessage(search_messages_default.loading) }) : /* @__PURE__ */ jsx55(SearchResultContent, { state, trackEvent })
|
|
2261
2367
|
] });
|
|
2262
2368
|
}
|
|
2263
2369
|
function SearchResultContent({
|
|
@@ -2266,31 +2372,31 @@ function SearchResultContent({
|
|
|
2266
2372
|
}) {
|
|
2267
2373
|
switch (state.type) {
|
|
2268
2374
|
case "error":
|
|
2269
|
-
return /* @__PURE__ */
|
|
2375
|
+
return /* @__PURE__ */ jsx55(ErrorResult, { state });
|
|
2270
2376
|
case "results":
|
|
2271
|
-
return /* @__PURE__ */
|
|
2377
|
+
return /* @__PURE__ */ jsx55(SearchResults, { state, trackEvent });
|
|
2272
2378
|
case "noResults":
|
|
2273
|
-
return /* @__PURE__ */
|
|
2379
|
+
return /* @__PURE__ */ jsx55(EmptySearchResult, { state });
|
|
2274
2380
|
case "pending":
|
|
2275
2381
|
default:
|
|
2276
2382
|
return null;
|
|
2277
2383
|
}
|
|
2278
2384
|
}
|
|
2279
2385
|
function EmptySearchResult({ state }) {
|
|
2280
|
-
return /* @__PURE__ */
|
|
2386
|
+
return /* @__PURE__ */ jsx55(Markdown4, { className: "m-t-2", config: { link: { target: "_blank" } }, children: state.message });
|
|
2281
2387
|
}
|
|
2282
2388
|
function SearchResults({
|
|
2283
2389
|
state,
|
|
2284
2390
|
trackEvent
|
|
2285
2391
|
}) {
|
|
2286
|
-
return /* @__PURE__ */
|
|
2392
|
+
return /* @__PURE__ */ jsx55(NavigationOptionsList2, { children: state.results.map((result) => {
|
|
2287
2393
|
const { media } = result;
|
|
2288
|
-
return /* @__PURE__ */
|
|
2394
|
+
return /* @__PURE__ */ jsx55(
|
|
2289
2395
|
NavigationOption3,
|
|
2290
2396
|
{
|
|
2291
2397
|
title: result.title,
|
|
2292
2398
|
content: result.description,
|
|
2293
|
-
media: media ? /* @__PURE__ */
|
|
2399
|
+
media: media ? /* @__PURE__ */ jsx55(OptionMedia, { media, preferAvatar: false }) : void 0,
|
|
2294
2400
|
showMediaCircle: false,
|
|
2295
2401
|
showMediaAtAllSizes: true,
|
|
2296
2402
|
onClick: () => {
|
|
@@ -2310,8 +2416,8 @@ var BlockSearchRendererComponent_default = BlockSearchRendererComponent;
|
|
|
2310
2416
|
import { Markdown as Markdown5, Typeahead } from "@transferwise/components";
|
|
2311
2417
|
import { Search } from "@transferwise/icons";
|
|
2312
2418
|
import { useState as useState10 } from "react";
|
|
2313
|
-
import { useIntl as
|
|
2314
|
-
import { jsx as
|
|
2419
|
+
import { useIntl as useIntl12 } from "react-intl";
|
|
2420
|
+
import { jsx as jsx56 } from "react/jsx-runtime";
|
|
2315
2421
|
function InlineSearchRenderer({
|
|
2316
2422
|
id,
|
|
2317
2423
|
isLoading,
|
|
@@ -2322,8 +2428,8 @@ function InlineSearchRenderer({
|
|
|
2322
2428
|
trackEvent
|
|
2323
2429
|
}) {
|
|
2324
2430
|
const [hasSearched, setHasSearched] = useState10(false);
|
|
2325
|
-
const intl =
|
|
2326
|
-
return /* @__PURE__ */
|
|
2431
|
+
const intl = useIntl12();
|
|
2432
|
+
return /* @__PURE__ */ jsx56("div", { className: getMargin(margin), children: /* @__PURE__ */ jsx56(FieldInput_default, { id, description: "", validation: void 0, help: "", label: title, children: /* @__PURE__ */ jsx56(
|
|
2327
2433
|
Typeahead,
|
|
2328
2434
|
{
|
|
2329
2435
|
id: "typeahead-input-id",
|
|
@@ -2331,10 +2437,10 @@ function InlineSearchRenderer({
|
|
|
2331
2437
|
name: "typeahead-input-name",
|
|
2332
2438
|
size: "md",
|
|
2333
2439
|
maxHeight: 100,
|
|
2334
|
-
footer: /* @__PURE__ */
|
|
2440
|
+
footer: /* @__PURE__ */ jsx56(TypeaheadFooter, { state, isLoading }),
|
|
2335
2441
|
multiple: false,
|
|
2336
2442
|
clearable: false,
|
|
2337
|
-
addon: /* @__PURE__ */
|
|
2443
|
+
addon: /* @__PURE__ */ jsx56(Search, { size: 24 }),
|
|
2338
2444
|
options: state.type === "results" ? state.results.map(mapResultToTypeaheadOption) : [],
|
|
2339
2445
|
minQueryLength: 1,
|
|
2340
2446
|
onChange: (values) => {
|
|
@@ -2369,25 +2475,25 @@ function mapResultToTypeaheadOption(result) {
|
|
|
2369
2475
|
};
|
|
2370
2476
|
}
|
|
2371
2477
|
function TypeaheadFooter({ state, isLoading }) {
|
|
2372
|
-
const { formatMessage } =
|
|
2478
|
+
const { formatMessage } = useIntl12();
|
|
2373
2479
|
if (state.type === "noResults") {
|
|
2374
|
-
return /* @__PURE__ */
|
|
2480
|
+
return /* @__PURE__ */ jsx56(Markdown5, { className: "m-t-2 m-x-2", config: { link: { target: "_blank" } }, children: state.message });
|
|
2375
2481
|
}
|
|
2376
2482
|
if (state.type === "error") {
|
|
2377
|
-
return /* @__PURE__ */
|
|
2483
|
+
return /* @__PURE__ */ jsx56("div", { className: "m-t-2 m-x-2", children: /* @__PURE__ */ jsx56(ErrorResult, { state }) });
|
|
2378
2484
|
}
|
|
2379
2485
|
if (state.type === "pending" || isLoading) {
|
|
2380
|
-
return /* @__PURE__ */
|
|
2486
|
+
return /* @__PURE__ */ jsx56("p", { className: "m-t-2 m-x-2", children: formatMessage(search_messages_default.loading) });
|
|
2381
2487
|
}
|
|
2382
2488
|
return null;
|
|
2383
2489
|
}
|
|
2384
2490
|
var InlineSearchRendererComponent_default = InlineSearchRenderer;
|
|
2385
2491
|
|
|
2386
2492
|
// ../renderers/src/SearchRenderer/SearchRenderer.tsx
|
|
2387
|
-
import { jsx as
|
|
2493
|
+
import { jsx as jsx57 } from "react/jsx-runtime";
|
|
2388
2494
|
var SearchRenderer = {
|
|
2389
2495
|
canRenderType: "search",
|
|
2390
|
-
render: (props) => props.control === "inline" ? /* @__PURE__ */
|
|
2496
|
+
render: (props) => props.control === "inline" ? /* @__PURE__ */ jsx57(InlineSearchRendererComponent_default, __spreadValues({}, props)) : /* @__PURE__ */ jsx57(BlockSearchRendererComponent_default, __spreadValues({}, props))
|
|
2391
2497
|
};
|
|
2392
2498
|
var SearchRenderer_default = SearchRenderer;
|
|
2393
2499
|
|
|
@@ -2416,12 +2522,12 @@ var getHeaderAction2 = (callToAction) => {
|
|
|
2416
2522
|
};
|
|
2417
2523
|
|
|
2418
2524
|
// ../renderers/src/SectionRenderer.tsx
|
|
2419
|
-
import { jsx as
|
|
2525
|
+
import { jsx as jsx58, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
2420
2526
|
var SectionRenderer = {
|
|
2421
2527
|
canRenderType: "section",
|
|
2422
2528
|
render: ({ children, callToAction, margin, title }) => {
|
|
2423
2529
|
return /* @__PURE__ */ jsxs17("section", { className: getMargin(margin), children: [
|
|
2424
|
-
(title || callToAction) && /* @__PURE__ */
|
|
2530
|
+
(title || callToAction) && /* @__PURE__ */ jsx58(Header8, { title: title != null ? title : "", action: getHeaderAction2(callToAction) }),
|
|
2425
2531
|
children
|
|
2426
2532
|
] });
|
|
2427
2533
|
}
|
|
@@ -2430,7 +2536,7 @@ var SectionRenderer_default = SectionRenderer;
|
|
|
2430
2536
|
|
|
2431
2537
|
// ../renderers/src/SelectInputRenderer/RadioInputRendererComponent.tsx
|
|
2432
2538
|
import { RadioGroup } from "@transferwise/components";
|
|
2433
|
-
import { Fragment as Fragment6, jsx as
|
|
2539
|
+
import { Fragment as Fragment6, jsx as jsx59, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
2434
2540
|
function RadioInputRendererComponent(props) {
|
|
2435
2541
|
const {
|
|
2436
2542
|
id,
|
|
@@ -2445,7 +2551,7 @@ function RadioInputRendererComponent(props) {
|
|
|
2445
2551
|
onSelect
|
|
2446
2552
|
} = props;
|
|
2447
2553
|
return /* @__PURE__ */ jsxs18(Fragment6, { children: [
|
|
2448
|
-
/* @__PURE__ */
|
|
2554
|
+
/* @__PURE__ */ jsx59(
|
|
2449
2555
|
FieldInput_default,
|
|
2450
2556
|
{
|
|
2451
2557
|
id,
|
|
@@ -2453,7 +2559,7 @@ function RadioInputRendererComponent(props) {
|
|
|
2453
2559
|
help,
|
|
2454
2560
|
description,
|
|
2455
2561
|
validation: validationState,
|
|
2456
|
-
children: /* @__PURE__ */
|
|
2562
|
+
children: /* @__PURE__ */ jsx59("span", { children: /* @__PURE__ */ jsx59(
|
|
2457
2563
|
RadioGroup,
|
|
2458
2564
|
{
|
|
2459
2565
|
name: id,
|
|
@@ -2462,7 +2568,7 @@ function RadioInputRendererComponent(props) {
|
|
|
2462
2568
|
value: index,
|
|
2463
2569
|
secondary: option.description,
|
|
2464
2570
|
disabled: option.disabled || disabled,
|
|
2465
|
-
avatar: /* @__PURE__ */
|
|
2571
|
+
avatar: /* @__PURE__ */ jsx59(OptionMedia, { media: option.media, preferAvatar: false })
|
|
2466
2572
|
})),
|
|
2467
2573
|
selectedValue: selectedIndex != null ? selectedIndex : void 0,
|
|
2468
2574
|
onChange: onSelect
|
|
@@ -2477,8 +2583,8 @@ function RadioInputRendererComponent(props) {
|
|
|
2477
2583
|
|
|
2478
2584
|
// ../renderers/src/SelectInputRenderer/TabInputRendererComponent.tsx
|
|
2479
2585
|
import { Tabs } from "@transferwise/components";
|
|
2480
|
-
import { useEffect as
|
|
2481
|
-
import { Fragment as Fragment7, jsx as
|
|
2586
|
+
import { useEffect as useEffect6 } from "react";
|
|
2587
|
+
import { Fragment as Fragment7, jsx as jsx60, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
2482
2588
|
function TabInputRendererComponent(props) {
|
|
2483
2589
|
const {
|
|
2484
2590
|
id,
|
|
@@ -2492,13 +2598,13 @@ function TabInputRendererComponent(props) {
|
|
|
2492
2598
|
validationState,
|
|
2493
2599
|
onSelect
|
|
2494
2600
|
} = props;
|
|
2495
|
-
|
|
2496
|
-
if (!
|
|
2601
|
+
useEffect6(() => {
|
|
2602
|
+
if (!isValidIndex2(selectedIndex, options.length)) {
|
|
2497
2603
|
onSelect(0);
|
|
2498
2604
|
}
|
|
2499
2605
|
}, [selectedIndex, onSelect, options.length]);
|
|
2500
2606
|
return /* @__PURE__ */ jsxs19(Fragment7, { children: [
|
|
2501
|
-
/* @__PURE__ */
|
|
2607
|
+
/* @__PURE__ */ jsx60(
|
|
2502
2608
|
FieldInput_default,
|
|
2503
2609
|
{
|
|
2504
2610
|
id,
|
|
@@ -2506,7 +2612,7 @@ function TabInputRendererComponent(props) {
|
|
|
2506
2612
|
help,
|
|
2507
2613
|
description,
|
|
2508
2614
|
validation: validationState,
|
|
2509
|
-
children: /* @__PURE__ */
|
|
2615
|
+
children: /* @__PURE__ */ jsx60(
|
|
2510
2616
|
Tabs,
|
|
2511
2617
|
{
|
|
2512
2618
|
name: id,
|
|
@@ -2515,7 +2621,7 @@ function TabInputRendererComponent(props) {
|
|
|
2515
2621
|
title: option.title,
|
|
2516
2622
|
// if we pass null, we get some props-types console errors
|
|
2517
2623
|
// eslint-disable-next-line react/jsx-no-useless-fragment
|
|
2518
|
-
content: /* @__PURE__ */
|
|
2624
|
+
content: /* @__PURE__ */ jsx60(Fragment7, {}),
|
|
2519
2625
|
disabled: option.disabled || disabled
|
|
2520
2626
|
})),
|
|
2521
2627
|
onTabSelect: onSelect
|
|
@@ -2526,11 +2632,11 @@ function TabInputRendererComponent(props) {
|
|
|
2526
2632
|
children
|
|
2527
2633
|
] });
|
|
2528
2634
|
}
|
|
2529
|
-
var
|
|
2635
|
+
var isValidIndex2 = (index, options) => index !== null && index >= 0 && index < options;
|
|
2530
2636
|
|
|
2531
2637
|
// ../renderers/src/SelectInputRenderer/SelectInputRendererComponent.tsx
|
|
2532
2638
|
import { SelectInput as SelectInput2, SelectInputOptionContent as SelectInputOptionContent2 } from "@transferwise/components";
|
|
2533
|
-
import { Fragment as Fragment8, jsx as
|
|
2639
|
+
import { Fragment as Fragment8, jsx as jsx61, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
2534
2640
|
function SelectInputRendererComponent(props) {
|
|
2535
2641
|
const {
|
|
2536
2642
|
id,
|
|
@@ -2570,13 +2676,13 @@ function SelectInputRendererComponent(props) {
|
|
|
2570
2676
|
} : {
|
|
2571
2677
|
title: option.title,
|
|
2572
2678
|
description: option.description,
|
|
2573
|
-
icon: /* @__PURE__ */
|
|
2679
|
+
icon: /* @__PURE__ */ jsx61(OptionMedia, { media: option.media, preferAvatar: false })
|
|
2574
2680
|
};
|
|
2575
|
-
return /* @__PURE__ */
|
|
2681
|
+
return /* @__PURE__ */ jsx61(SelectInputOptionContent2, __spreadValues({}, contentProps));
|
|
2576
2682
|
};
|
|
2577
2683
|
const extraProps = { autoComplete };
|
|
2578
2684
|
return /* @__PURE__ */ jsxs20(Fragment8, { children: [
|
|
2579
|
-
/* @__PURE__ */
|
|
2685
|
+
/* @__PURE__ */ jsx61(
|
|
2580
2686
|
FieldInput_default,
|
|
2581
2687
|
{
|
|
2582
2688
|
id,
|
|
@@ -2584,7 +2690,7 @@ function SelectInputRendererComponent(props) {
|
|
|
2584
2690
|
help,
|
|
2585
2691
|
description,
|
|
2586
2692
|
validation: validationState,
|
|
2587
|
-
children: /* @__PURE__ */
|
|
2693
|
+
children: /* @__PURE__ */ jsx61(
|
|
2588
2694
|
SelectInput2,
|
|
2589
2695
|
__spreadValues({
|
|
2590
2696
|
name: id,
|
|
@@ -2605,9 +2711,9 @@ function SelectInputRendererComponent(props) {
|
|
|
2605
2711
|
}
|
|
2606
2712
|
|
|
2607
2713
|
// ../renderers/src/SelectInputRenderer/SegmentedInputRendererComponent.tsx
|
|
2608
|
-
import { useEffect as
|
|
2714
|
+
import { useEffect as useEffect7 } from "react";
|
|
2609
2715
|
import { SegmentedControl } from "@transferwise/components";
|
|
2610
|
-
import { Fragment as Fragment9, jsx as
|
|
2716
|
+
import { Fragment as Fragment9, jsx as jsx62, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
2611
2717
|
function SegmentedInputRendererComponent(props) {
|
|
2612
2718
|
const {
|
|
2613
2719
|
id,
|
|
@@ -2620,13 +2726,13 @@ function SegmentedInputRendererComponent(props) {
|
|
|
2620
2726
|
validationState,
|
|
2621
2727
|
onSelect
|
|
2622
2728
|
} = props;
|
|
2623
|
-
|
|
2624
|
-
if (!
|
|
2729
|
+
useEffect7(() => {
|
|
2730
|
+
if (!isValidIndex3(selectedIndex, options.length)) {
|
|
2625
2731
|
onSelect(0);
|
|
2626
2732
|
}
|
|
2627
2733
|
}, [selectedIndex, onSelect, options.length]);
|
|
2628
2734
|
return /* @__PURE__ */ jsxs21(Fragment9, { children: [
|
|
2629
|
-
/* @__PURE__ */
|
|
2735
|
+
/* @__PURE__ */ jsx62(
|
|
2630
2736
|
FieldInput_default,
|
|
2631
2737
|
{
|
|
2632
2738
|
id,
|
|
@@ -2634,7 +2740,7 @@ function SegmentedInputRendererComponent(props) {
|
|
|
2634
2740
|
help,
|
|
2635
2741
|
description,
|
|
2636
2742
|
validation: validationState,
|
|
2637
|
-
children: /* @__PURE__ */
|
|
2743
|
+
children: /* @__PURE__ */ jsx62(
|
|
2638
2744
|
SegmentedControl,
|
|
2639
2745
|
{
|
|
2640
2746
|
name: `${id}-segmented-control`,
|
|
@@ -2651,26 +2757,26 @@ function SegmentedInputRendererComponent(props) {
|
|
|
2651
2757
|
)
|
|
2652
2758
|
}
|
|
2653
2759
|
),
|
|
2654
|
-
/* @__PURE__ */
|
|
2760
|
+
/* @__PURE__ */ jsx62("div", { id: `${id}-children`, children })
|
|
2655
2761
|
] });
|
|
2656
2762
|
}
|
|
2657
|
-
var
|
|
2763
|
+
var isValidIndex3 = (index, options) => index !== null && index >= 0 && index < options;
|
|
2658
2764
|
|
|
2659
2765
|
// ../renderers/src/SelectInputRenderer/SelectInputRenderer.tsx
|
|
2660
|
-
import { jsx as
|
|
2766
|
+
import { jsx as jsx63 } from "react/jsx-runtime";
|
|
2661
2767
|
var SelectInputRenderer = {
|
|
2662
2768
|
canRenderType: "input-select",
|
|
2663
2769
|
render: (props) => {
|
|
2664
2770
|
switch (props.control) {
|
|
2665
2771
|
case "radio":
|
|
2666
|
-
return /* @__PURE__ */
|
|
2772
|
+
return /* @__PURE__ */ jsx63(RadioInputRendererComponent, __spreadValues({}, props));
|
|
2667
2773
|
case "tab":
|
|
2668
|
-
return props.options.length > 3 ? /* @__PURE__ */
|
|
2774
|
+
return props.options.length > 3 ? /* @__PURE__ */ jsx63(SelectInputRendererComponent, __spreadValues({}, props)) : /* @__PURE__ */ jsx63(TabInputRendererComponent, __spreadValues({}, props));
|
|
2669
2775
|
case "segmented":
|
|
2670
|
-
return props.options.length > 3 ? /* @__PURE__ */
|
|
2776
|
+
return props.options.length > 3 ? /* @__PURE__ */ jsx63(SelectInputRendererComponent, __spreadValues({}, props)) : /* @__PURE__ */ jsx63(SegmentedInputRendererComponent, __spreadValues({}, props));
|
|
2671
2777
|
case "select":
|
|
2672
2778
|
default:
|
|
2673
|
-
return /* @__PURE__ */
|
|
2779
|
+
return /* @__PURE__ */ jsx63(SelectInputRendererComponent, __spreadValues({}, props));
|
|
2674
2780
|
}
|
|
2675
2781
|
}
|
|
2676
2782
|
};
|
|
@@ -2678,17 +2784,17 @@ var SelectInputRenderer_default = SelectInputRenderer;
|
|
|
2678
2784
|
|
|
2679
2785
|
// ../renderers/src/StatusListRenderer.tsx
|
|
2680
2786
|
import { Header as Header9, Summary } from "@transferwise/components";
|
|
2681
|
-
import { jsx as
|
|
2787
|
+
import { jsx as jsx64, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
2682
2788
|
var StatusListRenderer = {
|
|
2683
2789
|
canRenderType: "status-list",
|
|
2684
2790
|
render: ({ margin, items, title }) => /* @__PURE__ */ jsxs22("div", { className: getMargin(margin), children: [
|
|
2685
|
-
title ? /* @__PURE__ */
|
|
2686
|
-
items.map(({ callToAction, description, icon, status, title: itemTitle }) => /* @__PURE__ */
|
|
2791
|
+
title ? /* @__PURE__ */ jsx64(Header9, { title, className: "m-b-2" }) : null,
|
|
2792
|
+
items.map(({ callToAction, description, icon, status, title: itemTitle }) => /* @__PURE__ */ jsx64(
|
|
2687
2793
|
Summary,
|
|
2688
2794
|
{
|
|
2689
2795
|
title: itemTitle,
|
|
2690
2796
|
description,
|
|
2691
|
-
icon: icon && "name" in icon ? /* @__PURE__ */
|
|
2797
|
+
icon: icon && "name" in icon ? /* @__PURE__ */ jsx64(DynamicIcon_default, { name: icon.name }) : null,
|
|
2692
2798
|
status: mapStatus(status),
|
|
2693
2799
|
action: getSummaryAction(callToAction)
|
|
2694
2800
|
},
|
|
@@ -2725,12 +2831,12 @@ var mapStatus = (status) => {
|
|
|
2725
2831
|
|
|
2726
2832
|
// ../renderers/src/utils/useCustomTheme.ts
|
|
2727
2833
|
import { useTheme } from "@wise/components-theming";
|
|
2728
|
-
import { useEffect as
|
|
2834
|
+
import { useEffect as useEffect8, useMemo } from "react";
|
|
2729
2835
|
var ThemeRequiredEventName = "Theme Required";
|
|
2730
2836
|
var useCustomTheme = (theme, trackEvent) => {
|
|
2731
2837
|
const previousThemeHookValue = useTheme();
|
|
2732
2838
|
const previousTheme = useMemo(() => previousThemeHookValue.theme, []);
|
|
2733
|
-
|
|
2839
|
+
useEffect8(() => {
|
|
2734
2840
|
trackEvent(ThemeRequiredEventName, { theme });
|
|
2735
2841
|
return theme !== previousTheme ? () => {
|
|
2736
2842
|
trackEvent(ThemeRequiredEventName, { theme: previousTheme });
|
|
@@ -2742,22 +2848,22 @@ var useCustomTheme = (theme, trackEvent) => {
|
|
|
2742
2848
|
// ../renderers/src/step/topbar/BackButton.tsx
|
|
2743
2849
|
import { IconButton } from "@transferwise/components";
|
|
2744
2850
|
import { ArrowLeft } from "@transferwise/icons";
|
|
2745
|
-
import { jsx as
|
|
2851
|
+
import { jsx as jsx65, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
2746
2852
|
function BackButton({ title, onClick }) {
|
|
2747
2853
|
return /* @__PURE__ */ jsxs23(IconButton, { className: "df-back-button", priority: "tertiary", onClick, children: [
|
|
2748
|
-
/* @__PURE__ */
|
|
2749
|
-
/* @__PURE__ */
|
|
2854
|
+
/* @__PURE__ */ jsx65("span", { className: "sr-only", children: title }),
|
|
2855
|
+
/* @__PURE__ */ jsx65(ArrowLeft, {})
|
|
2750
2856
|
] });
|
|
2751
2857
|
}
|
|
2752
2858
|
|
|
2753
2859
|
// ../renderers/src/step/topbar/Toolbar.tsx
|
|
2754
2860
|
import { Button as Button7, IconButton as IconButton2 } from "@transferwise/components";
|
|
2755
|
-
import { jsx as
|
|
2861
|
+
import { jsx as jsx66, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
2756
2862
|
var Toolbar = ({ items }) => {
|
|
2757
|
-
return (items == null ? void 0 : items.length) > 0 ? /* @__PURE__ */
|
|
2863
|
+
return (items == null ? void 0 : items.length) > 0 ? /* @__PURE__ */ jsx66("div", { className: "df-toolbar", children: items.map((item, index) => /* @__PURE__ */ jsx66(ToolbarButton, __spreadValues({}, item), `${item.type}-${index}-${item.title}`)) }) : null;
|
|
2758
2864
|
};
|
|
2759
2865
|
function ToolbarButton(props) {
|
|
2760
|
-
return prefersMedia(props.control) ? /* @__PURE__ */
|
|
2866
|
+
return prefersMedia(props.control) ? /* @__PURE__ */ jsx66(MediaToolbarButton, __spreadValues({}, props)) : /* @__PURE__ */ jsx66(TextToolbarButton, __spreadValues({}, props));
|
|
2761
2867
|
}
|
|
2762
2868
|
function MediaToolbarButton(props) {
|
|
2763
2869
|
var _a;
|
|
@@ -2774,7 +2880,7 @@ function MediaToolbarButton(props) {
|
|
|
2774
2880
|
type,
|
|
2775
2881
|
onClick,
|
|
2776
2882
|
children: [
|
|
2777
|
-
accessibilityDescription ? /* @__PURE__ */
|
|
2883
|
+
accessibilityDescription ? /* @__PURE__ */ jsx66("span", { className: "sr-only", children: accessibilityDescription }) : null,
|
|
2778
2884
|
media ? (_a = getAddonStart(media)) == null ? void 0 : _a.value : null
|
|
2779
2885
|
]
|
|
2780
2886
|
}
|
|
@@ -2785,7 +2891,7 @@ function TextToolbarButton(props) {
|
|
|
2785
2891
|
const addonStart = media ? getAddonStart(media) : void 0;
|
|
2786
2892
|
const priority = getPriority2(control);
|
|
2787
2893
|
const sentiment = getSentiment(context);
|
|
2788
|
-
return /* @__PURE__ */
|
|
2894
|
+
return /* @__PURE__ */ jsx66(
|
|
2789
2895
|
Button7,
|
|
2790
2896
|
{
|
|
2791
2897
|
v2: true,
|
|
@@ -2830,48 +2936,52 @@ var getIconButtonPriority = (control) => {
|
|
|
2830
2936
|
};
|
|
2831
2937
|
|
|
2832
2938
|
// ../renderers/src/step/topbar/TopBar.tsx
|
|
2833
|
-
import { jsx as
|
|
2939
|
+
import { jsx as jsx67, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
2834
2940
|
function TopBar({ back, toolbar }) {
|
|
2835
2941
|
return back || toolbar ? /* @__PURE__ */ jsxs25("div", { className: "d-flex m-b-2", children: [
|
|
2836
|
-
back ? /* @__PURE__ */
|
|
2837
|
-
toolbar ? /* @__PURE__ */
|
|
2942
|
+
back ? /* @__PURE__ */ jsx67(BackButton, __spreadValues({}, back)) : null,
|
|
2943
|
+
toolbar ? /* @__PURE__ */ jsx67(Toolbar, __spreadValues({}, toolbar)) : null
|
|
2838
2944
|
] }) : null;
|
|
2839
2945
|
}
|
|
2840
2946
|
|
|
2841
2947
|
// ../renderers/src/step/SplashCelebrationStepRenderer.tsx
|
|
2842
|
-
import { jsx as
|
|
2948
|
+
import { jsx as jsx68, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
2843
2949
|
var SplashCelebrationStepRenderer = {
|
|
2844
2950
|
canRenderType: "step",
|
|
2845
2951
|
canRender: ({ control }) => control === "splash-celebration",
|
|
2846
2952
|
render: SplashCelebrationStepRendererComponent
|
|
2847
2953
|
};
|
|
2848
2954
|
function SplashCelebrationStepRendererComponent(props) {
|
|
2849
|
-
const { back, toolbar, children, trackEvent } = props;
|
|
2955
|
+
const { back, toolbar, children, footer, trackEvent } = props;
|
|
2956
|
+
const hasFooter = footer && Array.isArray(footer) && footer.length > 0;
|
|
2850
2957
|
useCustomTheme("forest-green", trackEvent);
|
|
2851
2958
|
return /* @__PURE__ */ jsxs26("div", { className: "splash-screen m-t-5", children: [
|
|
2852
|
-
/* @__PURE__ */
|
|
2853
|
-
children
|
|
2959
|
+
/* @__PURE__ */ jsx68(TopBar, { back, toolbar }),
|
|
2960
|
+
children,
|
|
2961
|
+
hasFooter ? /* @__PURE__ */ jsx68("div", { className: "df-step-fixed__footer", children: footer }) : void 0
|
|
2854
2962
|
] });
|
|
2855
2963
|
}
|
|
2856
2964
|
|
|
2857
2965
|
// ../renderers/src/step/SplashStepRenderer.tsx
|
|
2858
|
-
import { jsx as
|
|
2966
|
+
import { jsx as jsx69, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
2859
2967
|
var SplashStepRenderer = {
|
|
2860
2968
|
canRenderType: "step",
|
|
2861
2969
|
canRender: ({ control }) => control === "splash",
|
|
2862
2970
|
render: SplashStepRendererComponent
|
|
2863
2971
|
};
|
|
2864
2972
|
function SplashStepRendererComponent(props) {
|
|
2865
|
-
const { back, toolbar, children } = props;
|
|
2973
|
+
const { back, toolbar, children, footer } = props;
|
|
2974
|
+
const hasFooter = footer && Array.isArray(footer) && footer.length > 0;
|
|
2866
2975
|
return /* @__PURE__ */ jsxs27("div", { className: "splash-screen m-t-5", children: [
|
|
2867
|
-
/* @__PURE__ */
|
|
2868
|
-
children
|
|
2976
|
+
/* @__PURE__ */ jsx69(TopBar, { back, toolbar }),
|
|
2977
|
+
children,
|
|
2978
|
+
hasFooter ? /* @__PURE__ */ jsx69("div", { className: "df-step-fixed__footer", children: footer }) : void 0
|
|
2869
2979
|
] });
|
|
2870
2980
|
}
|
|
2871
2981
|
|
|
2872
2982
|
// ../renderers/src/step/StepRenderer.tsx
|
|
2873
2983
|
import { Alert as Alert2, Title as Title2 } from "@transferwise/components";
|
|
2874
|
-
import { jsx as
|
|
2984
|
+
import { jsx as jsx70, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
2875
2985
|
var StepRenderer = {
|
|
2876
2986
|
canRenderType: "step",
|
|
2877
2987
|
render: StepRendererComponent
|
|
@@ -2880,40 +2990,40 @@ function StepRendererComponent(props) {
|
|
|
2880
2990
|
const { back, description, error, title, children, toolbar, footer } = props;
|
|
2881
2991
|
const hasFooter = footer && Array.isArray(footer) && footer.length > 0;
|
|
2882
2992
|
return /* @__PURE__ */ jsxs28("div", { children: [
|
|
2883
|
-
/* @__PURE__ */
|
|
2993
|
+
/* @__PURE__ */ jsx70(TopBar, { back, toolbar }),
|
|
2884
2994
|
title || description ? /* @__PURE__ */ jsxs28("div", { className: "m-b-4", children: [
|
|
2885
|
-
title ? /* @__PURE__ */
|
|
2886
|
-
description ? /* @__PURE__ */
|
|
2995
|
+
title ? /* @__PURE__ */ jsx70(Title2, { as: "h1", type: "title-section", className: "text-xs-center m-b-2", children: title }) : void 0,
|
|
2996
|
+
description ? /* @__PURE__ */ jsx70("p", { className: "text-xs-center np-text-body-large", children: description }) : void 0
|
|
2887
2997
|
] }) : void 0,
|
|
2888
|
-
error ? /* @__PURE__ */
|
|
2998
|
+
error ? /* @__PURE__ */ jsx70(Alert2, { type: "negative", className: "m-b-2", message: error }) : null,
|
|
2889
2999
|
children,
|
|
2890
|
-
hasFooter ? /* @__PURE__ */
|
|
3000
|
+
hasFooter ? /* @__PURE__ */ jsx70("div", { className: "df-step-fixed__footer", children: footer }) : void 0
|
|
2891
3001
|
] });
|
|
2892
3002
|
}
|
|
2893
3003
|
|
|
2894
3004
|
// ../renderers/src/TabsRenderer.tsx
|
|
2895
3005
|
import { Chips, SegmentedControl as SegmentedControl2, Tabs as Tabs2 } from "@transferwise/components";
|
|
2896
3006
|
import { useState as useState11 } from "react";
|
|
2897
|
-
import { jsx as
|
|
3007
|
+
import { jsx as jsx71, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
2898
3008
|
var TabsRenderer = {
|
|
2899
3009
|
canRenderType: "tabs",
|
|
2900
3010
|
render: (props) => {
|
|
2901
3011
|
switch (props.control) {
|
|
2902
3012
|
case "segmented":
|
|
2903
3013
|
if (props.tabs.length > 3) {
|
|
2904
|
-
return /* @__PURE__ */
|
|
3014
|
+
return /* @__PURE__ */ jsx71(TabsRendererComponent, __spreadValues({}, props));
|
|
2905
3015
|
}
|
|
2906
|
-
return /* @__PURE__ */
|
|
3016
|
+
return /* @__PURE__ */ jsx71(SegmentedTabsRendererComponent, __spreadValues({}, props));
|
|
2907
3017
|
case "chips":
|
|
2908
|
-
return /* @__PURE__ */
|
|
3018
|
+
return /* @__PURE__ */ jsx71(ChipsTabsRendererComponent, __spreadValues({}, props));
|
|
2909
3019
|
default:
|
|
2910
|
-
return /* @__PURE__ */
|
|
3020
|
+
return /* @__PURE__ */ jsx71(TabsRendererComponent, __spreadValues({}, props));
|
|
2911
3021
|
}
|
|
2912
3022
|
}
|
|
2913
3023
|
};
|
|
2914
3024
|
function TabsRendererComponent({ uid, margin, tabs }) {
|
|
2915
3025
|
const [selectedIndex, setSelectedIndex] = useState11(0);
|
|
2916
|
-
return /* @__PURE__ */
|
|
3026
|
+
return /* @__PURE__ */ jsx71("div", { className: getMargin(margin), children: /* @__PURE__ */ jsx71(
|
|
2917
3027
|
Tabs2,
|
|
2918
3028
|
{
|
|
2919
3029
|
name: uid,
|
|
@@ -2935,7 +3045,7 @@ function SegmentedTabsRendererComponent({ uid, margin, tabs }) {
|
|
|
2935
3045
|
var _a;
|
|
2936
3046
|
const [selectedIndex, setSelectedIndex] = useState11(0);
|
|
2937
3047
|
return /* @__PURE__ */ jsxs29("div", { className: getMargin(margin), children: [
|
|
2938
|
-
/* @__PURE__ */
|
|
3048
|
+
/* @__PURE__ */ jsx71(
|
|
2939
3049
|
SegmentedControl2,
|
|
2940
3050
|
{
|
|
2941
3051
|
name: uid,
|
|
@@ -2950,14 +3060,14 @@ function SegmentedTabsRendererComponent({ uid, margin, tabs }) {
|
|
|
2950
3060
|
onChange: (value) => setSelectedIndex(Number(value))
|
|
2951
3061
|
}
|
|
2952
3062
|
),
|
|
2953
|
-
/* @__PURE__ */
|
|
3063
|
+
/* @__PURE__ */ jsx71("div", { id: `${uid}-children`, className: "m-t-2", children: (_a = tabs[selectedIndex]) == null ? void 0 : _a.children })
|
|
2954
3064
|
] });
|
|
2955
3065
|
}
|
|
2956
3066
|
function ChipsTabsRendererComponent({ margin, tabs }) {
|
|
2957
3067
|
var _a;
|
|
2958
3068
|
const [selectedIndex, setSelectedIndex] = useState11(0);
|
|
2959
3069
|
return /* @__PURE__ */ jsxs29("div", { className: getMargin(margin), children: [
|
|
2960
|
-
/* @__PURE__ */
|
|
3070
|
+
/* @__PURE__ */ jsx71("div", { className: "chips-container", children: /* @__PURE__ */ jsx71(
|
|
2961
3071
|
Chips,
|
|
2962
3072
|
{
|
|
2963
3073
|
chips: tabs.map((tab, index) => ({ label: tab.title, value: index })),
|
|
@@ -2965,7 +3075,7 @@ function ChipsTabsRendererComponent({ margin, tabs }) {
|
|
|
2965
3075
|
onChange: ({ selectedValue }) => setSelectedIndex(Number(selectedValue))
|
|
2966
3076
|
}
|
|
2967
3077
|
) }),
|
|
2968
|
-
/* @__PURE__ */
|
|
3078
|
+
/* @__PURE__ */ jsx71("div", { className: "m-t-2", children: (_a = tabs[selectedIndex]) == null ? void 0 : _a.children })
|
|
2969
3079
|
] });
|
|
2970
3080
|
}
|
|
2971
3081
|
|
|
@@ -2980,7 +3090,7 @@ import {
|
|
|
2980
3090
|
TextArea,
|
|
2981
3091
|
TextareaWithDisplayFormat
|
|
2982
3092
|
} from "@transferwise/components";
|
|
2983
|
-
import { jsx as
|
|
3093
|
+
import { jsx as jsx72 } from "react/jsx-runtime";
|
|
2984
3094
|
var commonKeys = [
|
|
2985
3095
|
"autoComplete",
|
|
2986
3096
|
"autoCapitalize",
|
|
@@ -2999,12 +3109,12 @@ function VariableTextInput(inputProps) {
|
|
|
2999
3109
|
const commonProps = __spreadProps(__spreadValues({}, pick(inputProps, ...commonKeys)), { name: id });
|
|
3000
3110
|
switch (control) {
|
|
3001
3111
|
case "email":
|
|
3002
|
-
return /* @__PURE__ */
|
|
3112
|
+
return /* @__PURE__ */ jsx72(TextInput, __spreadProps(__spreadValues({}, commonProps), { type: "email", onChange }));
|
|
3003
3113
|
case "password":
|
|
3004
|
-
return /* @__PURE__ */
|
|
3114
|
+
return /* @__PURE__ */ jsx72(TextInput, __spreadProps(__spreadValues({}, commonProps), { type: "password", onChange }));
|
|
3005
3115
|
case "numeric": {
|
|
3006
3116
|
const numericProps = __spreadProps(__spreadValues({}, commonProps), { type: "number", onWheel });
|
|
3007
|
-
return /* @__PURE__ */
|
|
3117
|
+
return /* @__PURE__ */ jsx72(
|
|
3008
3118
|
TextInput,
|
|
3009
3119
|
__spreadProps(__spreadValues({}, numericProps), {
|
|
3010
3120
|
onChange: (newValue) => {
|
|
@@ -3015,9 +3125,9 @@ function VariableTextInput(inputProps) {
|
|
|
3015
3125
|
);
|
|
3016
3126
|
}
|
|
3017
3127
|
case "phone-number":
|
|
3018
|
-
return /* @__PURE__ */
|
|
3128
|
+
return /* @__PURE__ */ jsx72(PhoneNumberInput, __spreadProps(__spreadValues({ initialValue: value }, commonProps), { onChange }));
|
|
3019
3129
|
default: {
|
|
3020
|
-
return /* @__PURE__ */
|
|
3130
|
+
return /* @__PURE__ */ jsx72(TextInput, __spreadProps(__spreadValues({}, commonProps), { type: "text", onChange }));
|
|
3021
3131
|
}
|
|
3022
3132
|
}
|
|
3023
3133
|
}
|
|
@@ -3025,11 +3135,11 @@ function TextInput(props) {
|
|
|
3025
3135
|
const _a = props, { control, displayFormat, onChange } = _a, commonProps = __objRest(_a, ["control", "displayFormat", "onChange"]);
|
|
3026
3136
|
const InputWithPattern = control === "textarea" ? TextareaWithDisplayFormat : InputWithDisplayFormat;
|
|
3027
3137
|
const InputWithoutPattern = control === "textarea" ? TextArea : Input5;
|
|
3028
|
-
return displayFormat ? /* @__PURE__ */
|
|
3138
|
+
return displayFormat ? /* @__PURE__ */ jsx72(InputWithPattern, __spreadProps(__spreadValues({ displayPattern: displayFormat }, commonProps), { onChange })) : /* @__PURE__ */ jsx72(InputWithoutPattern, __spreadProps(__spreadValues({}, commonProps), { onChange: (e) => onChange(e.target.value) }));
|
|
3029
3139
|
}
|
|
3030
3140
|
|
|
3031
3141
|
// ../renderers/src/TextInputRenderer.tsx
|
|
3032
|
-
import { jsx as
|
|
3142
|
+
import { jsx as jsx73 } from "react/jsx-runtime";
|
|
3033
3143
|
var TextInputRenderer = {
|
|
3034
3144
|
canRenderType: "input-text",
|
|
3035
3145
|
render: (props) => {
|
|
@@ -3062,7 +3172,7 @@ var TextInputRenderer = {
|
|
|
3062
3172
|
}
|
|
3063
3173
|
}
|
|
3064
3174
|
});
|
|
3065
|
-
return /* @__PURE__ */
|
|
3175
|
+
return /* @__PURE__ */ jsx73(
|
|
3066
3176
|
FieldInput_default,
|
|
3067
3177
|
{
|
|
3068
3178
|
id,
|
|
@@ -3070,7 +3180,7 @@ var TextInputRenderer = {
|
|
|
3070
3180
|
description,
|
|
3071
3181
|
validation: validationState,
|
|
3072
3182
|
help,
|
|
3073
|
-
children: /* @__PURE__ */
|
|
3183
|
+
children: /* @__PURE__ */ jsx73(InputGroup3, { addonStart: getInputGroupAddonStart(media), children: /* @__PURE__ */ jsx73(VariableTextInput, __spreadValues({}, inputProps)) })
|
|
3074
3184
|
}
|
|
3075
3185
|
);
|
|
3076
3186
|
}
|
|
@@ -3084,7 +3194,7 @@ import { Upload, UploadInput as UploadInput2 } from "@transferwise/components";
|
|
|
3084
3194
|
var getRandomId = () => Math.random().toString(36).substring(2);
|
|
3085
3195
|
|
|
3086
3196
|
// ../renderers/src/UploadInputRenderer.tsx
|
|
3087
|
-
import { jsx as
|
|
3197
|
+
import { jsx as jsx74 } from "react/jsx-runtime";
|
|
3088
3198
|
var UploadInputRenderer = {
|
|
3089
3199
|
canRenderType: "input-upload",
|
|
3090
3200
|
render: (props) => {
|
|
@@ -3100,14 +3210,14 @@ var UploadInputRenderer = {
|
|
|
3100
3210
|
};
|
|
3101
3211
|
return (
|
|
3102
3212
|
// We don't pass help here as there is no sensible place to display it
|
|
3103
|
-
/* @__PURE__ */
|
|
3213
|
+
/* @__PURE__ */ jsx74(
|
|
3104
3214
|
UploadFieldInput_default,
|
|
3105
3215
|
{
|
|
3106
3216
|
id,
|
|
3107
3217
|
label: void 0,
|
|
3108
3218
|
description: void 0,
|
|
3109
3219
|
validation: validationState,
|
|
3110
|
-
children: /* @__PURE__ */
|
|
3220
|
+
children: /* @__PURE__ */ jsx74(
|
|
3111
3221
|
UploadInput2,
|
|
3112
3222
|
{
|
|
3113
3223
|
id,
|
|
@@ -3166,7 +3276,7 @@ var LargeUploadRenderer = {
|
|
|
3166
3276
|
};
|
|
3167
3277
|
const filetypes = acceptsToFileTypes(accepts);
|
|
3168
3278
|
const usAccept = filetypes === "*" ? "*" : filetypes.join(",");
|
|
3169
|
-
return /* @__PURE__ */
|
|
3279
|
+
return /* @__PURE__ */ jsx74(
|
|
3170
3280
|
FieldInput_default,
|
|
3171
3281
|
{
|
|
3172
3282
|
id,
|
|
@@ -3174,7 +3284,7 @@ var LargeUploadRenderer = {
|
|
|
3174
3284
|
description,
|
|
3175
3285
|
validation: validationState,
|
|
3176
3286
|
help,
|
|
3177
|
-
children: /* @__PURE__ */
|
|
3287
|
+
children: /* @__PURE__ */ jsx74(
|
|
3178
3288
|
Upload,
|
|
3179
3289
|
__spreadProps(__spreadValues({}, uploadProps), {
|
|
3180
3290
|
usAccept,
|
|
@@ -3194,19 +3304,19 @@ import { ListItem as ListItem4 } from "@transferwise/components";
|
|
|
3194
3304
|
|
|
3195
3305
|
// ../renderers/src/NewListItem/getInlineAlert.tsx
|
|
3196
3306
|
import { ListItem as ListItem2 } from "@transferwise/components";
|
|
3197
|
-
import { jsx as
|
|
3198
|
-
var getInlineAlert = (inlineAlert) => inlineAlert ? /* @__PURE__ */
|
|
3307
|
+
import { jsx as jsx75 } from "react/jsx-runtime";
|
|
3308
|
+
var getInlineAlert = (inlineAlert) => inlineAlert ? /* @__PURE__ */ jsx75(ListItem2.Prompt, { sentiment: inlineAlert == null ? void 0 : inlineAlert.context, children: inlineAlert.content }) : void 0;
|
|
3199
3309
|
|
|
3200
3310
|
// ../renderers/src/NewListItem/getAdditionalInfo.tsx
|
|
3201
3311
|
import { ListItem as ListItem3 } from "@transferwise/components";
|
|
3202
|
-
import { jsx as
|
|
3312
|
+
import { jsx as jsx76 } from "react/jsx-runtime";
|
|
3203
3313
|
var getAdditionalInfo = (additionalInfo) => {
|
|
3204
3314
|
if (!additionalInfo) {
|
|
3205
3315
|
return void 0;
|
|
3206
3316
|
}
|
|
3207
3317
|
const { href, text, onClick } = additionalInfo;
|
|
3208
3318
|
if (href || onClick) {
|
|
3209
|
-
return /* @__PURE__ */
|
|
3319
|
+
return /* @__PURE__ */ jsx76(
|
|
3210
3320
|
ListItem3.AdditionalInfo,
|
|
3211
3321
|
{
|
|
3212
3322
|
action: {
|
|
@@ -3218,7 +3328,7 @@ var getAdditionalInfo = (additionalInfo) => {
|
|
|
3218
3328
|
}
|
|
3219
3329
|
);
|
|
3220
3330
|
}
|
|
3221
|
-
return /* @__PURE__ */
|
|
3331
|
+
return /* @__PURE__ */ jsx76(ListItem3.AdditionalInfo, { children: additionalInfo == null ? void 0 : additionalInfo.text });
|
|
3222
3332
|
};
|
|
3223
3333
|
|
|
3224
3334
|
// ../renderers/src/NewListItem/shouldUseAvatar.ts
|
|
@@ -3228,13 +3338,13 @@ var shouldUseAvatar = (control, tags) => {
|
|
|
3228
3338
|
};
|
|
3229
3339
|
|
|
3230
3340
|
// ../renderers/src/NewListItem/NewDecisionRenderer.tsx
|
|
3231
|
-
import { Fragment as Fragment10, jsx as
|
|
3341
|
+
import { Fragment as Fragment10, jsx as jsx77 } from "react/jsx-runtime";
|
|
3232
3342
|
var DecisionRenderer2 = {
|
|
3233
3343
|
canRenderType: "decision",
|
|
3234
|
-
render: (props) => /* @__PURE__ */
|
|
3344
|
+
render: (props) => /* @__PURE__ */ jsx77(DecisionWrapper, __spreadProps(__spreadValues({}, props), { renderDecisionList: renderDecisionList2 }))
|
|
3235
3345
|
};
|
|
3236
3346
|
var renderDecisionList2 = ({ options, control }) => {
|
|
3237
|
-
return /* @__PURE__ */
|
|
3347
|
+
return /* @__PURE__ */ jsx77(Fragment10, { children: options.map((_a) => {
|
|
3238
3348
|
var _b = _a, { disabled, onClick } = _b, rest = __objRest(_b, ["disabled", "onClick"]);
|
|
3239
3349
|
const {
|
|
3240
3350
|
description,
|
|
@@ -3246,7 +3356,7 @@ var renderDecisionList2 = ({ options, control }) => {
|
|
|
3246
3356
|
supportingValues,
|
|
3247
3357
|
tags
|
|
3248
3358
|
} = rest;
|
|
3249
|
-
return /* @__PURE__ */
|
|
3359
|
+
return /* @__PURE__ */ jsx77(
|
|
3250
3360
|
ListItem4,
|
|
3251
3361
|
{
|
|
3252
3362
|
title: itemTitle,
|
|
@@ -3258,7 +3368,7 @@ var renderDecisionList2 = ({ options, control }) => {
|
|
|
3258
3368
|
media: getMedia(media, shouldUseAvatar(control, tags)),
|
|
3259
3369
|
prompt: getInlineAlert(inlineAlert),
|
|
3260
3370
|
additionalInfo: additionalText ? getAdditionalInfo({ text: additionalText }) : void 0,
|
|
3261
|
-
control: href ? /* @__PURE__ */
|
|
3371
|
+
control: href ? /* @__PURE__ */ jsx77(ListItem4.Navigation, { href, target: "_blank" }) : /* @__PURE__ */ jsx77(ListItem4.Navigation, { onClick })
|
|
3262
3372
|
},
|
|
3263
3373
|
JSON.stringify(rest)
|
|
3264
3374
|
);
|
|
@@ -3271,7 +3381,7 @@ import { ListItem as ListItem6 } from "@transferwise/components";
|
|
|
3271
3381
|
|
|
3272
3382
|
// ../renderers/src/NewListItem/getCTAControl.tsx
|
|
3273
3383
|
import { ListItem as ListItem5 } from "@transferwise/components";
|
|
3274
|
-
import { jsx as
|
|
3384
|
+
import { jsx as jsx78 } from "react/jsx-runtime";
|
|
3275
3385
|
var getCTAControl = (callToAction, { ctaSecondary, fullyInteractive }) => {
|
|
3276
3386
|
if (!callToAction) {
|
|
3277
3387
|
return void 0;
|
|
@@ -3279,7 +3389,7 @@ var getCTAControl = (callToAction, { ctaSecondary, fullyInteractive }) => {
|
|
|
3279
3389
|
const { accessibilityDescription, href, title, onClick } = callToAction;
|
|
3280
3390
|
const priority = ctaSecondary ? "secondary" : "secondary-neutral";
|
|
3281
3391
|
if (href) {
|
|
3282
|
-
return /* @__PURE__ */
|
|
3392
|
+
return /* @__PURE__ */ jsx78(
|
|
3283
3393
|
ListItem5.Button,
|
|
3284
3394
|
{
|
|
3285
3395
|
href,
|
|
@@ -3290,7 +3400,7 @@ var getCTAControl = (callToAction, { ctaSecondary, fullyInteractive }) => {
|
|
|
3290
3400
|
}
|
|
3291
3401
|
);
|
|
3292
3402
|
}
|
|
3293
|
-
return /* @__PURE__ */
|
|
3403
|
+
return /* @__PURE__ */ jsx78(
|
|
3294
3404
|
ListItem5.Button,
|
|
3295
3405
|
{
|
|
3296
3406
|
"aria-description": accessibilityDescription,
|
|
@@ -3303,11 +3413,11 @@ var getCTAControl = (callToAction, { ctaSecondary, fullyInteractive }) => {
|
|
|
3303
3413
|
};
|
|
3304
3414
|
|
|
3305
3415
|
// ../renderers/src/NewListItem/NewListRenderer.tsx
|
|
3306
|
-
import { jsx as
|
|
3416
|
+
import { jsx as jsx79, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
3307
3417
|
var ListRenderer2 = {
|
|
3308
3418
|
canRenderType: "list",
|
|
3309
3419
|
render: ({ callToAction, control, margin, items, tags, title }) => /* @__PURE__ */ jsxs30("div", { className: getMargin(margin), children: [
|
|
3310
|
-
/* @__PURE__ */
|
|
3420
|
+
/* @__PURE__ */ jsx79(Header7, { title, callToAction }),
|
|
3311
3421
|
items.map((item) => {
|
|
3312
3422
|
var _a, _b;
|
|
3313
3423
|
const {
|
|
@@ -3324,7 +3434,7 @@ var ListRenderer2 = {
|
|
|
3324
3434
|
ctaSecondary: (_a = itemTags == null ? void 0 : itemTags.includes("cta-secondary")) != null ? _a : false,
|
|
3325
3435
|
fullyInteractive: (_b = (tags == null ? void 0 : tags.includes("fully-interactive")) && (additionalInfo == null ? void 0 : additionalInfo.onClick) == null) != null ? _b : false
|
|
3326
3436
|
};
|
|
3327
|
-
return /* @__PURE__ */
|
|
3437
|
+
return /* @__PURE__ */ jsx79(
|
|
3328
3438
|
ListItem6,
|
|
3329
3439
|
{
|
|
3330
3440
|
title: itemTitle,
|
|
@@ -3346,7 +3456,7 @@ var NewListRenderer_default = ListRenderer2;
|
|
|
3346
3456
|
// ../renderers/src/NewListItem/NewReviewRenderer.tsx
|
|
3347
3457
|
import { ListItem as ListItem7, Markdown as Markdown6, Popover } from "@transferwise/components";
|
|
3348
3458
|
import { QuestionMarkCircle } from "@transferwise/icons";
|
|
3349
|
-
import { jsx as
|
|
3459
|
+
import { jsx as jsx80, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
3350
3460
|
var IGNORED_CONTROLS = [
|
|
3351
3461
|
"horizontal",
|
|
3352
3462
|
"horizontal-end-aligned",
|
|
@@ -3357,7 +3467,7 @@ var ReviewRenderer2 = {
|
|
|
3357
3467
|
canRenderType: "review",
|
|
3358
3468
|
canRender: ({ control }) => control ? !IGNORED_CONTROLS.includes(control) : true,
|
|
3359
3469
|
render: ({ callToAction, control, margin, fields, tags, title }) => /* @__PURE__ */ jsxs31("div", { className: getMargin(margin), children: [
|
|
3360
|
-
/* @__PURE__ */
|
|
3470
|
+
/* @__PURE__ */ jsx80(Header7, { title, callToAction }),
|
|
3361
3471
|
fields.map((field) => {
|
|
3362
3472
|
var _a, _b, _c;
|
|
3363
3473
|
const {
|
|
@@ -3374,7 +3484,7 @@ var ReviewRenderer2 = {
|
|
|
3374
3484
|
ctaSecondary: (_a = itemTags == null ? void 0 : itemTags.includes("cta-secondary")) != null ? _a : false,
|
|
3375
3485
|
fullyInteractive: (_b = (tags == null ? void 0 : tags.includes("fully-interactive")) && (additionalInfo == null ? void 0 : additionalInfo.onClick) == null) != null ? _b : false
|
|
3376
3486
|
};
|
|
3377
|
-
return /* @__PURE__ */
|
|
3487
|
+
return /* @__PURE__ */ jsx80(
|
|
3378
3488
|
ListItem7,
|
|
3379
3489
|
{
|
|
3380
3490
|
title: value,
|
|
@@ -3394,26 +3504,26 @@ var getHelpControl = (help) => {
|
|
|
3394
3504
|
if (!help) {
|
|
3395
3505
|
return void 0;
|
|
3396
3506
|
}
|
|
3397
|
-
return /* @__PURE__ */
|
|
3507
|
+
return /* @__PURE__ */ jsx80(Popover, { content: /* @__PURE__ */ jsx80(Markdown6, { config: { link: { target: "_blank" } }, children: help }), children: /* @__PURE__ */ jsx80(ListItem7.IconButton, { partiallyInteractive: true, children: /* @__PURE__ */ jsx80(QuestionMarkCircle, {}) }) });
|
|
3398
3508
|
};
|
|
3399
3509
|
var NewReviewRenderer_default = ReviewRenderer2;
|
|
3400
3510
|
|
|
3401
3511
|
// ../renderers/src/NewListItem/NewStatusListRenderer.tsx
|
|
3402
3512
|
import { AvatarView as AvatarView4, Header as Header10, ListItem as ListItem8 } from "@transferwise/components";
|
|
3403
|
-
import { jsx as
|
|
3513
|
+
import { jsx as jsx81, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
3404
3514
|
var NewStatusListRenderer = {
|
|
3405
3515
|
canRenderType: "status-list",
|
|
3406
3516
|
render: ({ margin, items, title }) => /* @__PURE__ */ jsxs32("div", { className: getMargin(margin), children: [
|
|
3407
|
-
title ? /* @__PURE__ */
|
|
3517
|
+
title ? /* @__PURE__ */ jsx81(Header10, { title }) : null,
|
|
3408
3518
|
items.map((item) => {
|
|
3409
3519
|
const { callToAction, description, icon, status, title: itemTitle } = item;
|
|
3410
|
-
return /* @__PURE__ */
|
|
3520
|
+
return /* @__PURE__ */ jsx81(
|
|
3411
3521
|
ListItem8,
|
|
3412
3522
|
{
|
|
3413
3523
|
title: itemTitle,
|
|
3414
3524
|
subtitle: description,
|
|
3415
|
-
media: icon && "name" in icon ? /* @__PURE__ */
|
|
3416
|
-
additionalInfo: callToAction ? /* @__PURE__ */
|
|
3525
|
+
media: icon && "name" in icon ? /* @__PURE__ */ jsx81(AvatarView4, { badge: { status: mapStatus2(status) }, children: /* @__PURE__ */ jsx81(DynamicIcon_default, { name: icon.name }) }) : void 0,
|
|
3526
|
+
additionalInfo: callToAction ? /* @__PURE__ */ jsx81(
|
|
3417
3527
|
ListItem8.AdditionalInfo,
|
|
3418
3528
|
{
|
|
3419
3529
|
action: {
|
|
@@ -3450,8 +3560,8 @@ var validPriorities = ["primary", "secondary", "secondary-neutral", "tertiary"];
|
|
|
3450
3560
|
var isButtonPriority = (control) => validPriorities.includes(control);
|
|
3451
3561
|
|
|
3452
3562
|
// ../renderers/src/ButtonRenderer/ButtonRendererV2.tsx
|
|
3453
|
-
import { useEffect as
|
|
3454
|
-
import { jsx as
|
|
3563
|
+
import { useEffect as useEffect9, useState as useState12 } from "react";
|
|
3564
|
+
import { jsx as jsx82 } from "react/jsx-runtime";
|
|
3455
3565
|
var ButtonRendererV2 = {
|
|
3456
3566
|
canRenderType: "button",
|
|
3457
3567
|
render: ButtonComponent2
|
|
@@ -3459,13 +3569,13 @@ var ButtonRendererV2 = {
|
|
|
3459
3569
|
function ButtonComponent2(props) {
|
|
3460
3570
|
const { control, context, disabled, margin, title, size, stepLoadingState, onClick } = props;
|
|
3461
3571
|
const [spinny, setSpinny] = useState12(false);
|
|
3462
|
-
|
|
3572
|
+
useEffect9(() => {
|
|
3463
3573
|
if (stepLoadingState === "idle") {
|
|
3464
3574
|
setSpinny(false);
|
|
3465
3575
|
}
|
|
3466
3576
|
}, [stepLoadingState]);
|
|
3467
3577
|
const loading = spinny && stepLoadingState !== "idle";
|
|
3468
|
-
return /* @__PURE__ */
|
|
3578
|
+
return /* @__PURE__ */ jsx82(
|
|
3469
3579
|
Button8,
|
|
3470
3580
|
{
|
|
3471
3581
|
v2: true,
|
|
@@ -3489,16 +3599,16 @@ var getPriority3 = (control) => control && isButtonPriority(control) ? control :
|
|
|
3489
3599
|
|
|
3490
3600
|
// ../renderers/src/ProgressRenderer.tsx
|
|
3491
3601
|
import { ProgressBar } from "@transferwise/components";
|
|
3492
|
-
import { jsx as
|
|
3602
|
+
import { jsx as jsx83 } from "react/jsx-runtime";
|
|
3493
3603
|
var ProgressRenderer = {
|
|
3494
3604
|
canRenderType: "progress",
|
|
3495
3605
|
render: ({ uid, title, help, progress, progressText, margin, description }) => {
|
|
3496
|
-
return /* @__PURE__ */
|
|
3606
|
+
return /* @__PURE__ */ jsx83(
|
|
3497
3607
|
ProgressBar,
|
|
3498
3608
|
{
|
|
3499
3609
|
id: uid,
|
|
3500
3610
|
className: getMargin(margin),
|
|
3501
|
-
title: title && help ? /* @__PURE__ */
|
|
3611
|
+
title: title && help ? /* @__PURE__ */ jsx83(LabelContentWithHelp, { text: title, help }) : title,
|
|
3502
3612
|
description,
|
|
3503
3613
|
progress: {
|
|
3504
3614
|
max: 1,
|
|
@@ -3541,6 +3651,7 @@ var getWiseRenderers = () => [
|
|
|
3541
3651
|
MarkdownRenderer_default,
|
|
3542
3652
|
ModalRenderer,
|
|
3543
3653
|
ModalLayoutRenderer_default,
|
|
3654
|
+
MoneyInputRenderer,
|
|
3544
3655
|
MultiSelectInputRenderer_default,
|
|
3545
3656
|
MultiUploadInputRenderer_default,
|
|
3546
3657
|
NumberInputRenderer_default,
|
|
@@ -3591,13 +3702,6 @@ var cs_default = {
|
|
|
3591
3702
|
"df.wise.ControlFeedback.type": "Nespr\xE1vn\xFD typ",
|
|
3592
3703
|
"df.wise.CopyFeedback.copy": "Zkop\xEDrov\xE1no do schr\xE1nky",
|
|
3593
3704
|
"df.wise.CopyFeedback.copyFailed": "Kop\xEDrov\xE1n\xED do schr\xE1nky se nezda\u0159ilo",
|
|
3594
|
-
"df.wise.Decision.all": "V\u0161e",
|
|
3595
|
-
"df.wise.Decision.currenciesWithAccountDetails": "M\u011Bny s detaily \xFA\u010Dtu",
|
|
3596
|
-
"df.wise.Decision.filterPlaceholder": "Pro vyhled\xE1v\xE1n\xED za\u010Dn\u011Bte ps\xE1t",
|
|
3597
|
-
"df.wise.Decision.noResults": "\u017D\xE1dn\xE9 v\xFDsledky",
|
|
3598
|
-
"df.wise.Decision.popular": "Popul\xE1rn\xED",
|
|
3599
|
-
"df.wise.Decision.recent": "Ned\xE1vn\xE9",
|
|
3600
|
-
"df.wise.Decision.results": "V\xFDsledky hled\xE1n\xED",
|
|
3601
3705
|
"df.wise.DynamicParagraph.copied": "Zkop\xEDrov\xE1no do schr\xE1nky",
|
|
3602
3706
|
"df.wise.DynamicParagraph.copy": "Kop\xEDrovat",
|
|
3603
3707
|
"df.wise.ErrorBoundary.errorAlert": "N\u011Bco se pokazilo.",
|
|
@@ -3612,7 +3716,14 @@ var cs_default = {
|
|
|
3612
3716
|
"df.wise.MultipleFileUploadSchema.maxItemsError": "Nahrajte {maxItems} nebo m\xE9n\u011B soubor\u016F.",
|
|
3613
3717
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Nahrajte pros\xEDm alespo\u0148 n\xE1sleduj\xEDc\xED po\u010Det soubor\u016F: {minItems}.",
|
|
3614
3718
|
"df.wise.PersistAsyncSchema.genericError": "N\u011Bco se pokazilo. Zkuste to pros\xEDm znovu.",
|
|
3615
|
-
"df.wise.SearchLayout.loading": "Na\u010D\xEDt\xE1n\xED..."
|
|
3719
|
+
"df.wise.SearchLayout.loading": "Na\u010D\xEDt\xE1n\xED...",
|
|
3720
|
+
"df.wise.filter.noResults": "\u017D\xE1dn\xE9 v\xFDsledky",
|
|
3721
|
+
"df.wise.filter.placeholder": "Pro vyhled\xE1v\xE1n\xED za\u010Dn\u011Bte ps\xE1t",
|
|
3722
|
+
"df.wise.filter.results": "V\xFDsledky vyhled\xE1v\xE1n\xED",
|
|
3723
|
+
"df.wise.group.all": "V\u0161e",
|
|
3724
|
+
"df.wise.group.currencies-with-account-details": "M\u011Bny s detaily \xFA\u010Dtu",
|
|
3725
|
+
"df.wise.group.popular": "Popul\xE1rn\xED",
|
|
3726
|
+
"df.wise.group.recent": "Ned\xE1vn\xE9"
|
|
3616
3727
|
};
|
|
3617
3728
|
|
|
3618
3729
|
// src/i18n/de.json
|
|
@@ -3636,13 +3747,6 @@ var de_default = {
|
|
|
3636
3747
|
"df.wise.ControlFeedback.type": "Falscher Typ",
|
|
3637
3748
|
"df.wise.CopyFeedback.copy": "In Zwischenablage kopiert",
|
|
3638
3749
|
"df.wise.CopyFeedback.copyFailed": "Kopieren in Zwischenablage fehlgeschlagen",
|
|
3639
|
-
"df.wise.Decision.all": "Alle",
|
|
3640
|
-
"df.wise.Decision.currenciesWithAccountDetails": "Guthaben mit Bankverbindung",
|
|
3641
|
-
"df.wise.Decision.filterPlaceholder": "Gib etwas ein, um die Suche zu beginnen",
|
|
3642
|
-
"df.wise.Decision.noResults": "Keine Ergebnisse",
|
|
3643
|
-
"df.wise.Decision.popular": "Beliebt",
|
|
3644
|
-
"df.wise.Decision.recent": "Neu",
|
|
3645
|
-
"df.wise.Decision.results": "Suchergebnisse",
|
|
3646
3750
|
"df.wise.DynamicParagraph.copied": "In Zwischenablage kopiert",
|
|
3647
3751
|
"df.wise.DynamicParagraph.copy": "Kopieren",
|
|
3648
3752
|
"df.wise.ErrorBoundary.errorAlert": "Da ist etwas schiefgegangen.",
|
|
@@ -3657,7 +3761,14 @@ var de_default = {
|
|
|
3657
3761
|
"df.wise.MultipleFileUploadSchema.maxItemsError": "Bitte lade {maxItems} oder weniger Dateien hoch.",
|
|
3658
3762
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Bitte lade mindestens {minItems} Datei(en) hoch.",
|
|
3659
3763
|
"df.wise.PersistAsyncSchema.genericError": "Da ist etwas schiefgegangen. Versuche es bitte nochmal.",
|
|
3660
|
-
"df.wise.SearchLayout.loading": "L\xE4dt..."
|
|
3764
|
+
"df.wise.SearchLayout.loading": "L\xE4dt...",
|
|
3765
|
+
"df.wise.filter.noResults": "Keine Ergebnisse",
|
|
3766
|
+
"df.wise.filter.placeholder": "Gib etwas ein, um die Suche zu beginnen",
|
|
3767
|
+
"df.wise.filter.results": "Suchergebnisse",
|
|
3768
|
+
"df.wise.group.all": "Alle",
|
|
3769
|
+
"df.wise.group.currencies-with-account-details": "Guthaben mit Bankverbindung",
|
|
3770
|
+
"df.wise.group.popular": "Beliebt",
|
|
3771
|
+
"df.wise.group.recent": "Neu"
|
|
3661
3772
|
};
|
|
3662
3773
|
|
|
3663
3774
|
// src/i18n/en.json
|
|
@@ -3681,13 +3792,6 @@ var en_default = {
|
|
|
3681
3792
|
"df.wise.ControlFeedback.type": "Incorrect type",
|
|
3682
3793
|
"df.wise.CopyFeedback.copy": "Copied to clipboard",
|
|
3683
3794
|
"df.wise.CopyFeedback.copyFailed": "Failed to copy to clipboard",
|
|
3684
|
-
"df.wise.Decision.all": "All",
|
|
3685
|
-
"df.wise.Decision.currenciesWithAccountDetails": "Currencies with account details",
|
|
3686
|
-
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
3687
|
-
"df.wise.Decision.noResults": "No results",
|
|
3688
|
-
"df.wise.Decision.popular": "Popular",
|
|
3689
|
-
"df.wise.Decision.recent": "Recent",
|
|
3690
|
-
"df.wise.Decision.results": "Search results",
|
|
3691
3795
|
"df.wise.DynamicParagraph.copied": "Copied to clipboard",
|
|
3692
3796
|
"df.wise.DynamicParagraph.copy": "Copy",
|
|
3693
3797
|
"df.wise.ErrorBoundary.errorAlert": "Something went wrong.",
|
|
@@ -3702,7 +3806,14 @@ var en_default = {
|
|
|
3702
3806
|
"df.wise.MultipleFileUploadSchema.maxItemsError": "Please upload {maxItems} or fewer files.",
|
|
3703
3807
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Please upload at least {minItems} file(s).",
|
|
3704
3808
|
"df.wise.PersistAsyncSchema.genericError": "Something went wrong, please try again.",
|
|
3705
|
-
"df.wise.SearchLayout.loading": "Loading..."
|
|
3809
|
+
"df.wise.SearchLayout.loading": "Loading...",
|
|
3810
|
+
"df.wise.filter.noResults": "No results",
|
|
3811
|
+
"df.wise.filter.placeholder": "Start typing to search",
|
|
3812
|
+
"df.wise.filter.results": "Search results",
|
|
3813
|
+
"df.wise.group.all": "All",
|
|
3814
|
+
"df.wise.group.currencies-with-account-details": "Currencies with account details",
|
|
3815
|
+
"df.wise.group.popular": "Popular",
|
|
3816
|
+
"df.wise.group.recent": "Recent"
|
|
3706
3817
|
};
|
|
3707
3818
|
|
|
3708
3819
|
// src/i18n/es.json
|
|
@@ -3726,13 +3837,6 @@ var es_default = {
|
|
|
3726
3837
|
"df.wise.ControlFeedback.type": "Tipo incorrecto",
|
|
3727
3838
|
"df.wise.CopyFeedback.copy": "Copiado al portapapeles",
|
|
3728
3839
|
"df.wise.CopyFeedback.copyFailed": "Error al copiar al portapapeles",
|
|
3729
|
-
"df.wise.Decision.all": "Todas",
|
|
3730
|
-
"df.wise.Decision.currenciesWithAccountDetails": "Divisas con datos de cuenta",
|
|
3731
|
-
"df.wise.Decision.filterPlaceholder": "Empieza a escribir para buscar",
|
|
3732
|
-
"df.wise.Decision.noResults": "No hay resultados",
|
|
3733
|
-
"df.wise.Decision.popular": "Populares",
|
|
3734
|
-
"df.wise.Decision.recent": "Recientes",
|
|
3735
|
-
"df.wise.Decision.results": "Resultados de b\xFAsqueda",
|
|
3736
3840
|
"df.wise.DynamicParagraph.copied": "Copiado al portapapeles",
|
|
3737
3841
|
"df.wise.DynamicParagraph.copy": "Copiar",
|
|
3738
3842
|
"df.wise.ErrorBoundary.errorAlert": "Ha habido un error.",
|
|
@@ -3747,7 +3851,14 @@ var es_default = {
|
|
|
3747
3851
|
"df.wise.MultipleFileUploadSchema.maxItemsError": "Sube {maxItems} o menos archivos.",
|
|
3748
3852
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Sube al menos {minItems} archivo(s).",
|
|
3749
3853
|
"df.wise.PersistAsyncSchema.genericError": "Ha habido un error. Int\xE9ntalo de nuevo.",
|
|
3750
|
-
"df.wise.SearchLayout.loading": "Cargando..."
|
|
3854
|
+
"df.wise.SearchLayout.loading": "Cargando...",
|
|
3855
|
+
"df.wise.filter.noResults": "No hay resultados",
|
|
3856
|
+
"df.wise.filter.placeholder": "Empieza a escribir para buscar",
|
|
3857
|
+
"df.wise.filter.results": "Resultados de b\xFAsqueda",
|
|
3858
|
+
"df.wise.group.all": "Todas",
|
|
3859
|
+
"df.wise.group.currencies-with-account-details": "Divisas con datos de cuenta",
|
|
3860
|
+
"df.wise.group.popular": "Populares",
|
|
3861
|
+
"df.wise.group.recent": "Recientes"
|
|
3751
3862
|
};
|
|
3752
3863
|
|
|
3753
3864
|
// src/i18n/fr.json
|
|
@@ -3771,13 +3882,6 @@ var fr_default = {
|
|
|
3771
3882
|
"df.wise.ControlFeedback.type": "Type incorrect",
|
|
3772
3883
|
"df.wise.CopyFeedback.copy": "Copi\xE9 dans le presse-papier",
|
|
3773
3884
|
"df.wise.CopyFeedback.copyFailed": "Impossible de copier dans le presse-papier",
|
|
3774
|
-
"df.wise.Decision.all": "Toutes",
|
|
3775
|
-
"df.wise.Decision.currenciesWithAccountDetails": "Devises avec num\xE9ros de compte",
|
|
3776
|
-
"df.wise.Decision.filterPlaceholder": "Commencez \xE0 \xE9crire pour effectuer une recherche",
|
|
3777
|
-
"df.wise.Decision.noResults": "Aucun r\xE9sultat",
|
|
3778
|
-
"df.wise.Decision.popular": "Populaires",
|
|
3779
|
-
"df.wise.Decision.recent": "R\xE9cents",
|
|
3780
|
-
"df.wise.Decision.results": "R\xE9sultats de recherche",
|
|
3781
3885
|
"df.wise.DynamicParagraph.copied": "Copi\xE9 dans le presse-papier",
|
|
3782
3886
|
"df.wise.DynamicParagraph.copy": "Copier",
|
|
3783
3887
|
"df.wise.ErrorBoundary.errorAlert": "Une erreur s'est produite.",
|
|
@@ -3792,7 +3896,14 @@ var fr_default = {
|
|
|
3792
3896
|
"df.wise.MultipleFileUploadSchema.maxItemsError": "Veuillez t\xE9l\xE9charger {maxItems} fichiers ou moins.",
|
|
3793
3897
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Veuillez t\xE9l\xE9charger au moins {minItems} fichier(s).",
|
|
3794
3898
|
"df.wise.PersistAsyncSchema.genericError": "Une erreur s'est produite, veuillez r\xE9essayer.",
|
|
3795
|
-
"df.wise.SearchLayout.loading": "Chargement..."
|
|
3899
|
+
"df.wise.SearchLayout.loading": "Chargement...",
|
|
3900
|
+
"df.wise.filter.noResults": "Aucun r\xE9sultat",
|
|
3901
|
+
"df.wise.filter.placeholder": "Commencez \xE0 \xE9crire pour effectuer une recherche",
|
|
3902
|
+
"df.wise.filter.results": "R\xE9sultats de recherche",
|
|
3903
|
+
"df.wise.group.all": "Toutes",
|
|
3904
|
+
"df.wise.group.currencies-with-account-details": "Devises avec num\xE9ros de compte",
|
|
3905
|
+
"df.wise.group.popular": "Populaires",
|
|
3906
|
+
"df.wise.group.recent": "R\xE9cents"
|
|
3796
3907
|
};
|
|
3797
3908
|
|
|
3798
3909
|
// src/i18n/hu.json
|
|
@@ -3816,13 +3927,6 @@ var hu_default = {
|
|
|
3816
3927
|
"df.wise.ControlFeedback.type": "Helytelen t\xEDpus",
|
|
3817
3928
|
"df.wise.CopyFeedback.copy": "V\xE1g\xF3lapra m\xE1solva",
|
|
3818
3929
|
"df.wise.CopyFeedback.copyFailed": "Nem siker\xFClt a v\xE1g\xF3lapra m\xE1solni",
|
|
3819
|
-
"df.wise.Decision.all": "\xD6sszes",
|
|
3820
|
-
"df.wise.Decision.currenciesWithAccountDetails": "P\xE9nznemek sz\xE1mlaadatokkal",
|
|
3821
|
-
"df.wise.Decision.filterPlaceholder": "Kezdj el g\xE9pelni a keres\xE9shez",
|
|
3822
|
-
"df.wise.Decision.noResults": "Nincs tal\xE1lat",
|
|
3823
|
-
"df.wise.Decision.popular": "N\xE9pszer\u0171",
|
|
3824
|
-
"df.wise.Decision.recent": "Legut\xF3bbi",
|
|
3825
|
-
"df.wise.Decision.results": "Keres\xE9si eredm\xE9nyek",
|
|
3826
3930
|
"df.wise.DynamicParagraph.copied": "V\xE1g\xF3lapra m\xE1solva",
|
|
3827
3931
|
"df.wise.DynamicParagraph.copy": "M\xE1sol\xE1s",
|
|
3828
3932
|
"df.wise.ErrorBoundary.errorAlert": "Valami hiba t\xF6rt\xE9nt.",
|
|
@@ -3837,7 +3941,14 @@ var hu_default = {
|
|
|
3837
3941
|
"df.wise.MultipleFileUploadSchema.maxItemsError": "K\xE9r\xFCnk, hogy legfeljebb {maxItems} f\xE1jlt t\xF6lts fel.",
|
|
3838
3942
|
"df.wise.MultipleFileUploadSchema.minItemsError": "K\xE9r\xFCnk, hogy legal\xE1bb {minItems} f\xE1jlt t\xF6lts fel.",
|
|
3839
3943
|
"df.wise.PersistAsyncSchema.genericError": "Valami hiba t\xF6rt\xE9nt. K\xE9r\xFCnk, pr\xF3b\xE1ld \xFAjra.",
|
|
3840
|
-
"df.wise.SearchLayout.loading": "Bet\xF6lt\xE9s..."
|
|
3944
|
+
"df.wise.SearchLayout.loading": "Bet\xF6lt\xE9s...",
|
|
3945
|
+
"df.wise.filter.noResults": "Nincs tal\xE1lat",
|
|
3946
|
+
"df.wise.filter.placeholder": "Kezdj el g\xE9pelni a keres\xE9shez",
|
|
3947
|
+
"df.wise.filter.results": "Keres\xE9si eredm\xE9nyek",
|
|
3948
|
+
"df.wise.group.all": "\xD6sszes",
|
|
3949
|
+
"df.wise.group.currencies-with-account-details": "P\xE9nznemek sz\xE1mlaadatokkal",
|
|
3950
|
+
"df.wise.group.popular": "N\xE9pszer\u0171",
|
|
3951
|
+
"df.wise.group.recent": "Legut\xF3bbi"
|
|
3841
3952
|
};
|
|
3842
3953
|
|
|
3843
3954
|
// src/i18n/id.json
|
|
@@ -3861,13 +3972,6 @@ var id_default = {
|
|
|
3861
3972
|
"df.wise.ControlFeedback.type": "Tipe salah",
|
|
3862
3973
|
"df.wise.CopyFeedback.copy": "Disalin ke clipboard",
|
|
3863
3974
|
"df.wise.CopyFeedback.copyFailed": "Gagal menyalin ke clipboard",
|
|
3864
|
-
"df.wise.Decision.all": "Semua",
|
|
3865
|
-
"df.wise.Decision.currenciesWithAccountDetails": "Mata uang dengan detail rekening",
|
|
3866
|
-
"df.wise.Decision.filterPlaceholder": "Mulai mengetik untuk mencari",
|
|
3867
|
-
"df.wise.Decision.noResults": "Tidak ada hasil",
|
|
3868
|
-
"df.wise.Decision.popular": "Populer",
|
|
3869
|
-
"df.wise.Decision.recent": "Terbaru",
|
|
3870
|
-
"df.wise.Decision.results": "Hasil pencarian",
|
|
3871
3975
|
"df.wise.DynamicParagraph.copied": "Disalin ke clipboard",
|
|
3872
3976
|
"df.wise.DynamicParagraph.copy": "Salin",
|
|
3873
3977
|
"df.wise.ErrorBoundary.errorAlert": "Terjadi kesalahan.",
|
|
@@ -3882,7 +3986,14 @@ var id_default = {
|
|
|
3882
3986
|
"df.wise.MultipleFileUploadSchema.maxItemsError": "Harap unggah {maxItems} file atau kurang.",
|
|
3883
3987
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Harap unggah sedikitnya {minItems} file.",
|
|
3884
3988
|
"df.wise.PersistAsyncSchema.genericError": "Terjadi kesalahan, mohon coba lagi.",
|
|
3885
|
-
"df.wise.SearchLayout.loading": "Memuat ..."
|
|
3989
|
+
"df.wise.SearchLayout.loading": "Memuat ...",
|
|
3990
|
+
"df.wise.filter.noResults": "Tidak ada hasil",
|
|
3991
|
+
"df.wise.filter.placeholder": "Mulai mengetik untuk mencari",
|
|
3992
|
+
"df.wise.filter.results": "Hasil pencarian",
|
|
3993
|
+
"df.wise.group.all": "Semua",
|
|
3994
|
+
"df.wise.group.currencies-with-account-details": "Mata uang dengan detail rekening",
|
|
3995
|
+
"df.wise.group.popular": "Populer",
|
|
3996
|
+
"df.wise.group.recent": "Terbaru"
|
|
3886
3997
|
};
|
|
3887
3998
|
|
|
3888
3999
|
// src/i18n/it.json
|
|
@@ -3906,13 +4017,6 @@ var it_default = {
|
|
|
3906
4017
|
"df.wise.ControlFeedback.type": "Tipo errato",
|
|
3907
4018
|
"df.wise.CopyFeedback.copy": "Copiato negli appunti",
|
|
3908
4019
|
"df.wise.CopyFeedback.copyFailed": "Impossibile copiare negli appunti",
|
|
3909
|
-
"df.wise.Decision.all": "Tutte",
|
|
3910
|
-
"df.wise.Decision.currenciesWithAccountDetails": "Valute con estremi del conto",
|
|
3911
|
-
"df.wise.Decision.filterPlaceholder": "Inizia a digitare per cercare",
|
|
3912
|
-
"df.wise.Decision.noResults": "Nessun risultato",
|
|
3913
|
-
"df.wise.Decision.popular": "Popolari",
|
|
3914
|
-
"df.wise.Decision.recent": "Recenti",
|
|
3915
|
-
"df.wise.Decision.results": "Risultati della ricerca",
|
|
3916
4020
|
"df.wise.DynamicParagraph.copied": "Copiato negli appunti",
|
|
3917
4021
|
"df.wise.DynamicParagraph.copy": "Copia",
|
|
3918
4022
|
"df.wise.ErrorBoundary.errorAlert": "Qualcosa non ha funzionato.",
|
|
@@ -3927,7 +4031,14 @@ var it_default = {
|
|
|
3927
4031
|
"df.wise.MultipleFileUploadSchema.maxItemsError": "Carica al massimo {maxItems} file.",
|
|
3928
4032
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Carica almeno {minItems} file.",
|
|
3929
4033
|
"df.wise.PersistAsyncSchema.genericError": "Qualcosa \xE8 andato storto. Riprova.",
|
|
3930
|
-
"df.wise.SearchLayout.loading": "Caricamento..."
|
|
4034
|
+
"df.wise.SearchLayout.loading": "Caricamento...",
|
|
4035
|
+
"df.wise.filter.noResults": "Nessun risultato",
|
|
4036
|
+
"df.wise.filter.placeholder": "Inizia a digitare per cercare",
|
|
4037
|
+
"df.wise.filter.results": "Risultati della ricerca",
|
|
4038
|
+
"df.wise.group.all": "Tutti",
|
|
4039
|
+
"df.wise.group.currencies-with-account-details": "Valute con estremi del conto",
|
|
4040
|
+
"df.wise.group.popular": "Popolari",
|
|
4041
|
+
"df.wise.group.recent": "Recenti"
|
|
3931
4042
|
};
|
|
3932
4043
|
|
|
3933
4044
|
// src/i18n/ja.json
|
|
@@ -3951,13 +4062,6 @@ var ja_default = {
|
|
|
3951
4062
|
"df.wise.ControlFeedback.type": "\u4E0D\u6B63\u306A\u30BF\u30A4\u30D7",
|
|
3952
4063
|
"df.wise.CopyFeedback.copy": "\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u3078\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F",
|
|
3953
4064
|
"df.wise.CopyFeedback.copyFailed": "\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F",
|
|
3954
|
-
"df.wise.Decision.all": "\u3059\u3079\u3066",
|
|
3955
|
-
"df.wise.Decision.currenciesWithAccountDetails": "\u53E3\u5EA7\u60C5\u5831\u3092\u53D6\u5F97\u3067\u304D\u308B\u901A\u8CA8",
|
|
3956
|
-
"df.wise.Decision.filterPlaceholder": "\u691C\u7D22\u8A9E\u53E5\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
|
|
3957
|
-
"df.wise.Decision.noResults": "\u691C\u7D22\u7D50\u679C\u304C\u3042\u308A\u307E\u305B\u3093",
|
|
3958
|
-
"df.wise.Decision.popular": "\u4EBA\u6C17",
|
|
3959
|
-
"df.wise.Decision.recent": "\u6700\u8FD1",
|
|
3960
|
-
"df.wise.Decision.results": "\u691C\u7D22\u7D50\u679C",
|
|
3961
4065
|
"df.wise.DynamicParagraph.copied": "\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u3078\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F",
|
|
3962
4066
|
"df.wise.DynamicParagraph.copy": "\u30B3\u30D4\u30FC\u3059\u308B",
|
|
3963
4067
|
"df.wise.ErrorBoundary.errorAlert": "\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002",
|
|
@@ -3972,7 +4076,14 @@ var ja_default = {
|
|
|
3972
4076
|
"df.wise.MultipleFileUploadSchema.maxItemsError": "{maxItems}\u500B\u4EE5\u4E0B\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
3973
4077
|
"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",
|
|
3974
4078
|
"df.wise.PersistAsyncSchema.genericError": "\u554F\u984C\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002\u518D\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002",
|
|
3975
|
-
"df.wise.SearchLayout.loading": "\u8AAD\u307F\u8FBC\u307F\u4E2D\u2026"
|
|
4079
|
+
"df.wise.SearchLayout.loading": "\u8AAD\u307F\u8FBC\u307F\u4E2D\u2026",
|
|
4080
|
+
"df.wise.filter.noResults": "\u691C\u7D22\u7D50\u679C\u304C\u3042\u308A\u307E\u305B\u3093",
|
|
4081
|
+
"df.wise.filter.placeholder": "\u691C\u7D22\u8A9E\u53E5\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
|
|
4082
|
+
"df.wise.filter.results": "\u691C\u7D22\u7D50\u679C",
|
|
4083
|
+
"df.wise.group.all": "\u3059\u3079\u3066",
|
|
4084
|
+
"df.wise.group.currencies-with-account-details": "\u53E3\u5EA7\u60C5\u5831\u3092\u53D6\u5F97\u3067\u304D\u308B\u901A\u8CA8",
|
|
4085
|
+
"df.wise.group.popular": "\u4EBA\u6C17",
|
|
4086
|
+
"df.wise.group.recent": "\u6700\u8FD1"
|
|
3976
4087
|
};
|
|
3977
4088
|
|
|
3978
4089
|
// src/i18n/nl.json
|
|
@@ -3996,13 +4107,6 @@ var nl_default = {
|
|
|
3996
4107
|
"df.wise.ControlFeedback.type": "Onjuist type",
|
|
3997
4108
|
"df.wise.CopyFeedback.copy": "Naar klembord gekopieerd",
|
|
3998
4109
|
"df.wise.CopyFeedback.copyFailed": "Naar klembord kopi\xEBren mislukt",
|
|
3999
|
-
"df.wise.Decision.all": "Alles",
|
|
4000
|
-
"df.wise.Decision.currenciesWithAccountDetails": "Valuta met rekeninggegevens",
|
|
4001
|
-
"df.wise.Decision.filterPlaceholder": "Begin met typen om te zoeken",
|
|
4002
|
-
"df.wise.Decision.noResults": "Geen resultaten",
|
|
4003
|
-
"df.wise.Decision.popular": "Populair",
|
|
4004
|
-
"df.wise.Decision.recent": "Recent",
|
|
4005
|
-
"df.wise.Decision.results": "Zoekresultaten",
|
|
4006
4110
|
"df.wise.DynamicParagraph.copied": "Naar klembord gekopieerd",
|
|
4007
4111
|
"df.wise.DynamicParagraph.copy": "Kopi\xEBren",
|
|
4008
4112
|
"df.wise.ErrorBoundary.errorAlert": "Er is iets misgegaan.",
|
|
@@ -4017,7 +4121,14 @@ var nl_default = {
|
|
|
4017
4121
|
"df.wise.MultipleFileUploadSchema.maxItemsError": "Upload {maxItems} of minder bestanden.",
|
|
4018
4122
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Upload minimaal {minItems} bestand(en).",
|
|
4019
4123
|
"df.wise.PersistAsyncSchema.genericError": "Er is iets misgegaan, probeer het opnieuw.",
|
|
4020
|
-
"df.wise.SearchLayout.loading": "Laden..."
|
|
4124
|
+
"df.wise.SearchLayout.loading": "Laden...",
|
|
4125
|
+
"df.wise.filter.noResults": "Geen resultaten",
|
|
4126
|
+
"df.wise.filter.placeholder": "Begin met typen om te zoeken",
|
|
4127
|
+
"df.wise.filter.results": "Zoekresultaten",
|
|
4128
|
+
"df.wise.group.all": "Alles",
|
|
4129
|
+
"df.wise.group.currencies-with-account-details": "Valuta's met rekeninggegevens",
|
|
4130
|
+
"df.wise.group.popular": "Populair",
|
|
4131
|
+
"df.wise.group.recent": "Recent"
|
|
4021
4132
|
};
|
|
4022
4133
|
|
|
4023
4134
|
// src/i18n/pl.json
|
|
@@ -4041,13 +4152,6 @@ var pl_default = {
|
|
|
4041
4152
|
"df.wise.ControlFeedback.type": "Nieprawid\u0142owy typ",
|
|
4042
4153
|
"df.wise.CopyFeedback.copy": "Skopiowano do schowka",
|
|
4043
4154
|
"df.wise.CopyFeedback.copyFailed": "Nie uda\u0142o si\u0119 skopiowa\u0107 do schowka",
|
|
4044
|
-
"df.wise.Decision.all": "Wszystkie",
|
|
4045
|
-
"df.wise.Decision.currenciesWithAccountDetails": "Waluty z danymi bankowymi",
|
|
4046
|
-
"df.wise.Decision.filterPlaceholder": "Zacznij pisa\u0107, \u017Ceby wyszuka\u0107",
|
|
4047
|
-
"df.wise.Decision.noResults": "Brak wynik\xF3w",
|
|
4048
|
-
"df.wise.Decision.popular": "Popularne",
|
|
4049
|
-
"df.wise.Decision.recent": "Ostatnie",
|
|
4050
|
-
"df.wise.Decision.results": "Wyniki wyszukiwania",
|
|
4051
4155
|
"df.wise.DynamicParagraph.copied": "Skopiowano do schowka",
|
|
4052
4156
|
"df.wise.DynamicParagraph.copy": "Kopiuj",
|
|
4053
4157
|
"df.wise.ErrorBoundary.errorAlert": "Co\u015B posz\u0142o nie tak.",
|
|
@@ -4062,7 +4166,14 @@ var pl_default = {
|
|
|
4062
4166
|
"df.wise.MultipleFileUploadSchema.maxItemsError": "Prze\u015Blij do {maxItems} plik\xF3w.",
|
|
4063
4167
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Prze\u015Blij co najmniej nast\u0119puj\u0105c\u0105 liczb\u0119 plik\xF3w: {minItems}.",
|
|
4064
4168
|
"df.wise.PersistAsyncSchema.genericError": "Wyst\u0105pi\u0142 b\u0142\u0105d, prosimy spr\xF3bowa\u0107 ponownie.",
|
|
4065
|
-
"df.wise.SearchLayout.loading": "\u0141adowanie..."
|
|
4169
|
+
"df.wise.SearchLayout.loading": "\u0141adowanie...",
|
|
4170
|
+
"df.wise.filter.noResults": "Brak wynik\xF3w",
|
|
4171
|
+
"df.wise.filter.placeholder": "Zacznij pisa\u0107, \u017Ceby wyszuka\u0107",
|
|
4172
|
+
"df.wise.filter.results": "Wyniki wyszukiwania",
|
|
4173
|
+
"df.wise.group.all": "Wszystkie",
|
|
4174
|
+
"df.wise.group.currencies-with-account-details": "Waluty z danymi bankowymi",
|
|
4175
|
+
"df.wise.group.popular": "Popularne",
|
|
4176
|
+
"df.wise.group.recent": "Ostatnie"
|
|
4066
4177
|
};
|
|
4067
4178
|
|
|
4068
4179
|
// src/i18n/pt.json
|
|
@@ -4086,13 +4197,6 @@ var pt_default = {
|
|
|
4086
4197
|
"df.wise.ControlFeedback.type": "Tipo incorreto",
|
|
4087
4198
|
"df.wise.CopyFeedback.copy": "Copiado",
|
|
4088
4199
|
"df.wise.CopyFeedback.copyFailed": "Falha ao copiar para \xE1rea de transfer\xEAncia",
|
|
4089
|
-
"df.wise.Decision.all": "Todos",
|
|
4090
|
-
"df.wise.Decision.currenciesWithAccountDetails": "Moedas com dados de conta",
|
|
4091
|
-
"df.wise.Decision.filterPlaceholder": "Comece a digitar para pesquisar",
|
|
4092
|
-
"df.wise.Decision.noResults": "Nenhum resultado",
|
|
4093
|
-
"df.wise.Decision.popular": "Populares",
|
|
4094
|
-
"df.wise.Decision.recent": "Recente",
|
|
4095
|
-
"df.wise.Decision.results": "Resultados da busca",
|
|
4096
4200
|
"df.wise.DynamicParagraph.copied": "Copiado",
|
|
4097
4201
|
"df.wise.DynamicParagraph.copy": "Copiar",
|
|
4098
4202
|
"df.wise.ErrorBoundary.errorAlert": "Algo deu errado.",
|
|
@@ -4107,7 +4211,14 @@ var pt_default = {
|
|
|
4107
4211
|
"df.wise.MultipleFileUploadSchema.maxItemsError": "Por favor, envie {maxItems} ou menos arquivos.",
|
|
4108
4212
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Por favor, envie pelo menos {minItems} arquivo(s).",
|
|
4109
4213
|
"df.wise.PersistAsyncSchema.genericError": "Ocorreu um erro. Por favor, tente novamente.",
|
|
4110
|
-
"df.wise.SearchLayout.loading": "Carregando..."
|
|
4214
|
+
"df.wise.SearchLayout.loading": "Carregando...",
|
|
4215
|
+
"df.wise.filter.noResults": "Nenhum resultado",
|
|
4216
|
+
"df.wise.filter.placeholder": "Comece a digitar para pesquisar",
|
|
4217
|
+
"df.wise.filter.results": "Resultados da busca",
|
|
4218
|
+
"df.wise.group.all": "Todos",
|
|
4219
|
+
"df.wise.group.currencies-with-account-details": "Moedas com dados de conta",
|
|
4220
|
+
"df.wise.group.popular": "Populares",
|
|
4221
|
+
"df.wise.group.recent": "Recente"
|
|
4111
4222
|
};
|
|
4112
4223
|
|
|
4113
4224
|
// src/i18n/ro.json
|
|
@@ -4131,13 +4242,6 @@ var ro_default = {
|
|
|
4131
4242
|
"df.wise.ControlFeedback.type": "Tip incorect",
|
|
4132
4243
|
"df.wise.CopyFeedback.copy": "Copiat \xEEn clipboard",
|
|
4133
4244
|
"df.wise.CopyFeedback.copyFailed": "Copierea \xEEn clipboard a e\u0219uat",
|
|
4134
|
-
"df.wise.Decision.all": "Toate",
|
|
4135
|
-
"df.wise.Decision.currenciesWithAccountDetails": "Monede cu detalii de cont",
|
|
4136
|
-
"df.wise.Decision.filterPlaceholder": "\xCEncepe s\u0103 tastezi pentru a c\u0103uta",
|
|
4137
|
-
"df.wise.Decision.noResults": "Niciun rezultat",
|
|
4138
|
-
"df.wise.Decision.popular": "Populare",
|
|
4139
|
-
"df.wise.Decision.recent": "Recente",
|
|
4140
|
-
"df.wise.Decision.results": "Rezultatele c\u0103ut\u0103rii",
|
|
4141
4245
|
"df.wise.DynamicParagraph.copied": "Copiat \xEEn clipboard",
|
|
4142
4246
|
"df.wise.DynamicParagraph.copy": "Copiaz\u0103",
|
|
4143
4247
|
"df.wise.ErrorBoundary.errorAlert": "Ceva nu a mers bine.",
|
|
@@ -4152,7 +4256,14 @@ var ro_default = {
|
|
|
4152
4256
|
"df.wise.MultipleFileUploadSchema.maxItemsError": "Te rug\u0103m s\u0103 \xEEncarci {maxItems} fi\u0219iere sau mai pu\u021Bine.",
|
|
4153
4257
|
"df.wise.MultipleFileUploadSchema.minItemsError": "Te rug\u0103m s\u0103 \xEEncarci cel pu\u021Bin {minItems} fi\u0219ier(e).",
|
|
4154
4258
|
"df.wise.PersistAsyncSchema.genericError": "Ceva nu a mers bine, te rug\u0103m s\u0103 \xEEncerci din nou.",
|
|
4155
|
-
"df.wise.SearchLayout.loading": "Se \xEEncarc\u0103..."
|
|
4259
|
+
"df.wise.SearchLayout.loading": "Se \xEEncarc\u0103...",
|
|
4260
|
+
"df.wise.filter.noResults": "Niciun rezultat",
|
|
4261
|
+
"df.wise.filter.placeholder": "\xCEncepe s\u0103 tastezi pentru a c\u0103uta",
|
|
4262
|
+
"df.wise.filter.results": "Rezultatele c\u0103ut\u0103rii",
|
|
4263
|
+
"df.wise.group.all": "Toate",
|
|
4264
|
+
"df.wise.group.currencies-with-account-details": "Monede cu detalii de cont",
|
|
4265
|
+
"df.wise.group.popular": "Populare",
|
|
4266
|
+
"df.wise.group.recent": "Recente"
|
|
4156
4267
|
};
|
|
4157
4268
|
|
|
4158
4269
|
// src/i18n/ru.json
|
|
@@ -4176,13 +4287,6 @@ var ru_default = {
|
|
|
4176
4287
|
"df.wise.ControlFeedback.type": "\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0442\u0438\u043F",
|
|
4177
4288
|
"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",
|
|
4178
4289
|
"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",
|
|
4179
|
-
"df.wise.Decision.all": "\u0412\u0441\u0435",
|
|
4180
|
-
"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",
|
|
4181
|
-
"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",
|
|
4182
|
-
"df.wise.Decision.noResults": "\u041D\u0435\u0442 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432",
|
|
4183
|
-
"df.wise.Decision.popular": "\u041F\u043E\u043F\u0443\u043B\u044F\u0440\u043D\u044B\u0435",
|
|
4184
|
-
"df.wise.Decision.recent": "\u041D\u0435\u0434\u0430\u0432\u043D\u0438\u0435",
|
|
4185
|
-
"df.wise.Decision.results": "\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043F\u043E\u0438\u0441\u043A\u0430",
|
|
4186
4290
|
"df.wise.DynamicParagraph.copied": "\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",
|
|
4187
4291
|
"df.wise.DynamicParagraph.copy": "\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C",
|
|
4188
4292
|
"df.wise.ErrorBoundary.errorAlert": "\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A.",
|
|
@@ -4197,7 +4301,14 @@ var ru_default = {
|
|
|
4197
4301
|
"df.wise.MultipleFileUploadSchema.maxItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u043D\u0435 \u0431\u043E\u043B\u0435\u0435 {maxItems} \u0444\u0430\u0439\u043B\u043E\u0432.",
|
|
4198
4302
|
"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).",
|
|
4199
4303
|
"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.",
|
|
4200
|
-
"df.wise.SearchLayout.loading": "\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430..."
|
|
4304
|
+
"df.wise.SearchLayout.loading": "\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430...",
|
|
4305
|
+
"df.wise.filter.noResults": "\u041D\u0435\u0442 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432",
|
|
4306
|
+
"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",
|
|
4307
|
+
"df.wise.filter.results": "\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043F\u043E\u0438\u0441\u043A\u0430",
|
|
4308
|
+
"df.wise.group.all": "\u0412\u0441\u0435",
|
|
4309
|
+
"df.wise.group.currencies-with-account-details": "\u0412\u0430\u043B\u044E\u0442\u044B \u0441 \u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430\u043C\u0438 \u0441\u0447\u0435\u0442\u0430",
|
|
4310
|
+
"df.wise.group.popular": "\u041F\u043E\u043F\u0443\u043B\u044F\u0440\u043D\u044B\u0435",
|
|
4311
|
+
"df.wise.group.recent": "\u041D\u0435\u0434\u0430\u0432\u043D\u0438\u0435"
|
|
4201
4312
|
};
|
|
4202
4313
|
|
|
4203
4314
|
// src/i18n/th.json
|
|
@@ -4221,13 +4332,6 @@ var th_default = {
|
|
|
4221
4332
|
"df.wise.ControlFeedback.type": "\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07",
|
|
4222
4333
|
"df.wise.CopyFeedback.copy": "\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E44\u0E1B\u0E22\u0E31\u0E07\u0E04\u0E25\u0E34\u0E1B\u0E1A\u0E2D\u0E23\u0E4C\u0E14",
|
|
4223
4334
|
"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",
|
|
4224
|
-
"df.wise.Decision.all": "\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14",
|
|
4225
|
-
"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",
|
|
4226
|
-
"df.wise.Decision.filterPlaceholder": "\u0E40\u0E23\u0E34\u0E48\u0E21\u0E1E\u0E34\u0E21\u0E1E\u0E4C\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E04\u0E49\u0E19\u0E2B\u0E32\u0E40\u0E25\u0E22",
|
|
4227
|
-
"df.wise.Decision.noResults": "\u0E44\u0E21\u0E48\u0E21\u0E35\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C",
|
|
4228
|
-
"df.wise.Decision.popular": "\u0E2A\u0E01\u0E38\u0E25\u0E22\u0E2D\u0E14\u0E19\u0E34\u0E22\u0E21",
|
|
4229
|
-
"df.wise.Decision.recent": "\u0E25\u0E48\u0E32\u0E2A\u0E38\u0E14",
|
|
4230
|
-
"df.wise.Decision.results": "\u0E1C\u0E25\u0E01\u0E32\u0E23\u0E04\u0E49\u0E19\u0E2B\u0E32",
|
|
4231
4335
|
"df.wise.DynamicParagraph.copied": "\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E44\u0E1B\u0E22\u0E31\u0E07\u0E04\u0E25\u0E34\u0E1B\u0E1A\u0E2D\u0E23\u0E4C\u0E14",
|
|
4232
4336
|
"df.wise.DynamicParagraph.copy": "\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01",
|
|
4233
4337
|
"df.wise.ErrorBoundary.errorAlert": "\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E1A\u0E32\u0E07\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E02\u0E36\u0E49\u0E19",
|
|
@@ -4242,7 +4346,14 @@ var th_default = {
|
|
|
4242
4346
|
"df.wise.MultipleFileUploadSchema.maxItemsError": "\u0E42\u0E1B\u0E23\u0E14\u0E2D\u0E31\u0E1B\u0E42\u0E2B\u0E25\u0E14 {maxItems} \u0E44\u0E1F\u0E25\u0E4C\u0E2B\u0E23\u0E37\u0E2D\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32",
|
|
4243
4347
|
"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",
|
|
4244
4348
|
"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",
|
|
4245
|
-
"df.wise.SearchLayout.loading": "\u0E01\u0E33\u0E25\u0E31\u0E07\u0E42\u0E2B\u0E25\u0E14..."
|
|
4349
|
+
"df.wise.SearchLayout.loading": "\u0E01\u0E33\u0E25\u0E31\u0E07\u0E42\u0E2B\u0E25\u0E14...",
|
|
4350
|
+
"df.wise.filter.noResults": "\u0E44\u0E21\u0E48\u0E21\u0E35\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C",
|
|
4351
|
+
"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",
|
|
4352
|
+
"df.wise.filter.results": "\u0E1C\u0E25\u0E01\u0E32\u0E23\u0E04\u0E49\u0E19\u0E2B\u0E32",
|
|
4353
|
+
"df.wise.group.all": "\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14",
|
|
4354
|
+
"df.wise.group.currencies-with-account-details": "\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",
|
|
4355
|
+
"df.wise.group.popular": "\u0E2A\u0E01\u0E38\u0E25\u0E22\u0E2D\u0E14\u0E19\u0E34\u0E22\u0E21",
|
|
4356
|
+
"df.wise.group.recent": "\u0E25\u0E48\u0E32\u0E2A\u0E38\u0E14"
|
|
4246
4357
|
};
|
|
4247
4358
|
|
|
4248
4359
|
// src/i18n/tr.json
|
|
@@ -4266,13 +4377,6 @@ var tr_default = {
|
|
|
4266
4377
|
"df.wise.ControlFeedback.type": "Ge\xE7ersiz se\xE7im",
|
|
4267
4378
|
"df.wise.CopyFeedback.copy": "Panoya kopyaland\u0131",
|
|
4268
4379
|
"df.wise.CopyFeedback.copyFailed": "Panoya kopyalama ba\u015Far\u0131s\u0131z oldu",
|
|
4269
|
-
"df.wise.Decision.all": "T\xFCm\xFC",
|
|
4270
|
-
"df.wise.Decision.currenciesWithAccountDetails": "Hesap bilgileri olan bakiyeler",
|
|
4271
|
-
"df.wise.Decision.filterPlaceholder": "Aramak i\xE7in yazmaya ba\u015Flay\u0131n",
|
|
4272
|
-
"df.wise.Decision.noResults": "Sonu\xE7 yok",
|
|
4273
|
-
"df.wise.Decision.popular": "Pop\xFCler",
|
|
4274
|
-
"df.wise.Decision.recent": "Yak\u0131n zamanl\u0131",
|
|
4275
|
-
"df.wise.Decision.results": "Arama sonu\xE7lar\u0131",
|
|
4276
4380
|
"df.wise.DynamicParagraph.copied": "Panoya kopyaland\u0131",
|
|
4277
4381
|
"df.wise.DynamicParagraph.copy": "Kopyala",
|
|
4278
4382
|
"df.wise.ErrorBoundary.errorAlert": "Bir sorun olu\u015Ftu.",
|
|
@@ -4287,7 +4391,14 @@ var tr_default = {
|
|
|
4287
4391
|
"df.wise.MultipleFileUploadSchema.maxItemsError": "L\xFCtfen {maxItems} veya daha az dosya y\xFCkleyin.",
|
|
4288
4392
|
"df.wise.MultipleFileUploadSchema.minItemsError": "L\xFCtfen en az {minItems} dosya y\xFCkleyin.",
|
|
4289
4393
|
"df.wise.PersistAsyncSchema.genericError": "Bir \u015Feyler ters gitti, l\xFCtfen tekrar deneyin.",
|
|
4290
|
-
"df.wise.SearchLayout.loading": "Y\xFCkleniyor..."
|
|
4394
|
+
"df.wise.SearchLayout.loading": "Y\xFCkleniyor...",
|
|
4395
|
+
"df.wise.filter.noResults": "Sonu\xE7 yok",
|
|
4396
|
+
"df.wise.filter.placeholder": "Aramak i\xE7in yazmaya ba\u015Flay\u0131n",
|
|
4397
|
+
"df.wise.filter.results": "Arama sonu\xE7lar\u0131",
|
|
4398
|
+
"df.wise.group.all": "T\xFCm\xFC",
|
|
4399
|
+
"df.wise.group.currencies-with-account-details": "Hesap bilgileri olan bakiyeler",
|
|
4400
|
+
"df.wise.group.popular": "Pop\xFCler",
|
|
4401
|
+
"df.wise.group.recent": "Yak\u0131n zamanl\u0131"
|
|
4291
4402
|
};
|
|
4292
4403
|
|
|
4293
4404
|
// src/i18n/zh_CN.json
|
|
@@ -4311,13 +4422,6 @@ var zh_CN_default = {
|
|
|
4311
4422
|
"df.wise.ControlFeedback.type": "\u7C7B\u578B\u9519\u8BEF",
|
|
4312
4423
|
"df.wise.CopyFeedback.copy": "\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F",
|
|
4313
4424
|
"df.wise.CopyFeedback.copyFailed": "\u590D\u5236\u5230\u526A\u8D34\u677F\u5931\u8D25",
|
|
4314
|
-
"df.wise.Decision.all": "\u5168\u90E8",
|
|
4315
|
-
"df.wise.Decision.currenciesWithAccountDetails": "\u5E26\u6709\u8D26\u6237\u8BE6\u7EC6\u4FE1\u606F\u7684\u8D27\u5E01",
|
|
4316
|
-
"df.wise.Decision.filterPlaceholder": "\u5F00\u59CB\u8F93\u5165\u4EE5\u641C\u7D22",
|
|
4317
|
-
"df.wise.Decision.noResults": "\u6682\u65E0\u7ED3\u679C",
|
|
4318
|
-
"df.wise.Decision.popular": "\u70ED\u95E8",
|
|
4319
|
-
"df.wise.Decision.recent": "\u6700\u8FD1",
|
|
4320
|
-
"df.wise.Decision.results": "\u641C\u7D22\u7ED3\u679C",
|
|
4321
4425
|
"df.wise.DynamicParagraph.copied": "\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F",
|
|
4322
4426
|
"df.wise.DynamicParagraph.copy": "\u590D\u5236",
|
|
4323
4427
|
"df.wise.ErrorBoundary.errorAlert": "\u51FA\u9519\u4E86\u3002",
|
|
@@ -4332,7 +4436,14 @@ var zh_CN_default = {
|
|
|
4332
4436
|
"df.wise.MultipleFileUploadSchema.maxItemsError": "\u8BF7\u4E0A\u4F20\u4E0D\u8D85\u8FC7 {maxItems} \u4E2A\u6587\u4EF6\u3002",
|
|
4333
4437
|
"df.wise.MultipleFileUploadSchema.minItemsError": "\u8BF7\u4E0A\u4F20\u81F3\u5C11 {minItems} \u4E2A\u6587\u4EF6\u3002",
|
|
4334
4438
|
"df.wise.PersistAsyncSchema.genericError": "\u51FA\u9519\u4E86\uFF0C\u8BF7\u91CD\u8BD5\u3002",
|
|
4335
|
-
"df.wise.SearchLayout.loading": "\u6B63\u5728\u52A0\u8F7D\u2026"
|
|
4439
|
+
"df.wise.SearchLayout.loading": "\u6B63\u5728\u52A0\u8F7D\u2026",
|
|
4440
|
+
"df.wise.filter.noResults": "\u6682\u65E0\u7ED3\u679C",
|
|
4441
|
+
"df.wise.filter.placeholder": "\u5F00\u59CB\u8F93\u5165\u4EE5\u641C\u7D22",
|
|
4442
|
+
"df.wise.filter.results": "\u641C\u7D22\u7ED3\u679C",
|
|
4443
|
+
"df.wise.group.all": "\u5168\u90E8",
|
|
4444
|
+
"df.wise.group.currencies-with-account-details": "\u5E26\u6709\u8D26\u6237\u8BE6\u7EC6\u4FE1\u606F\u7684\u8D27\u5E01",
|
|
4445
|
+
"df.wise.group.popular": "\u70ED\u95E8",
|
|
4446
|
+
"df.wise.group.recent": "\u6700\u8FD1"
|
|
4336
4447
|
};
|
|
4337
4448
|
|
|
4338
4449
|
// src/i18n/zh_HK.json
|
|
@@ -4356,13 +4467,6 @@ var zh_HK_default = {
|
|
|
4356
4467
|
"df.wise.ControlFeedback.type": "\u932F\u8AA4\u7684\u985E\u578B",
|
|
4357
4468
|
"df.wise.CopyFeedback.copy": "\u8907\u88FD\u5230\u526A\u8CBC\u677F",
|
|
4358
4469
|
"df.wise.CopyFeedback.copyFailed": "\u7121\u6CD5\u8907\u88FD\u5230\u526A\u8CBC\u677F",
|
|
4359
|
-
"df.wise.Decision.all": "\u5168\u90E8",
|
|
4360
|
-
"df.wise.Decision.currenciesWithAccountDetails": "\u63D0\u4F9B\u8CEC\u6236\u8CC7\u6599\u7684\u8CA8\u5E63",
|
|
4361
|
-
"df.wise.Decision.filterPlaceholder": "\u958B\u59CB\u8F38\u5165\u4EE5\u641C\u5C0B",
|
|
4362
|
-
"df.wise.Decision.noResults": "\u6C92\u6709\u7D50\u679C",
|
|
4363
|
-
"df.wise.Decision.popular": "\u71B1\u9580",
|
|
4364
|
-
"df.wise.Decision.recent": "\u6700\u8FD1\u7684",
|
|
4365
|
-
"df.wise.Decision.results": "\u641C\u5C0B\u7D50\u679C",
|
|
4366
4470
|
"df.wise.DynamicParagraph.copied": "\u8907\u88FD\u5230\u526A\u8CBC\u677F",
|
|
4367
4471
|
"df.wise.DynamicParagraph.copy": "\u8907\u88FD",
|
|
4368
4472
|
"df.wise.ErrorBoundary.errorAlert": "\u51FA\u4E86\u4E9B\u554F\u984C\u3002",
|
|
@@ -4377,7 +4481,14 @@ var zh_HK_default = {
|
|
|
4377
4481
|
"df.wise.MultipleFileUploadSchema.maxItemsError": "\u8ACB\u4E0D\u8981\u4E0A\u8F09\u8D85\u904E{maxItems}\u500B\u6A94\u6848\u3002",
|
|
4378
4482
|
"df.wise.MultipleFileUploadSchema.minItemsError": "\u8ACB\u4E0A\u8F09\u81F3\u5C11{minItems}\u500B\u6A94\u6848\u3002",
|
|
4379
4483
|
"df.wise.PersistAsyncSchema.genericError": "\u51FA\u73FE\u4E86\u554F\u984C\uFF0C\u8ACB\u518D\u8A66\u4E00\u6B21\u3002",
|
|
4380
|
-
"df.wise.SearchLayout.loading": "\u8F09\u5165\u4E2D\u2026"
|
|
4484
|
+
"df.wise.SearchLayout.loading": "\u8F09\u5165\u4E2D\u2026",
|
|
4485
|
+
"df.wise.filter.noResults": "\u6C92\u6709\u7D50\u679C",
|
|
4486
|
+
"df.wise.filter.placeholder": "\u958B\u59CB\u8F38\u5165\u4EE5\u641C\u5C0B",
|
|
4487
|
+
"df.wise.filter.results": "\u641C\u5C0B\u7D50\u679C",
|
|
4488
|
+
"df.wise.group.all": "\u5168\u90E8",
|
|
4489
|
+
"df.wise.group.currencies-with-account-details": "\u63D0\u4F9B\u8CEC\u6236\u8CC7\u6599\u7684\u8CA8\u5E63",
|
|
4490
|
+
"df.wise.group.popular": "\u71B1\u9580",
|
|
4491
|
+
"df.wise.group.recent": "\u6700\u8FD1\u7684"
|
|
4381
4492
|
};
|
|
4382
4493
|
|
|
4383
4494
|
// src/i18n/index.ts
|
|
@@ -4413,7 +4524,7 @@ var i18n_default = translations;
|
|
|
4413
4524
|
|
|
4414
4525
|
// src/dynamicFlow/DynamicFlow.tsx
|
|
4415
4526
|
import { forwardRef, useCallback, useMemo as useMemo2 } from "react";
|
|
4416
|
-
import { useIntl as
|
|
4527
|
+
import { useIntl as useIntl13 } from "react-intl";
|
|
4417
4528
|
import {
|
|
4418
4529
|
DynamicFlow as DynamicFlowCoreLegacy,
|
|
4419
4530
|
DynamicFlowCoreRevamp,
|
|
@@ -4423,7 +4534,7 @@ import {
|
|
|
4423
4534
|
// src/dynamicFlow/telemetry/app-version.ts
|
|
4424
4535
|
var appVersion = (
|
|
4425
4536
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
4426
|
-
typeof process !== "undefined" ? "4.
|
|
4537
|
+
typeof process !== "undefined" ? "4.35.1" : "0.0.0"
|
|
4427
4538
|
);
|
|
4428
4539
|
|
|
4429
4540
|
// src/dynamicFlow/telemetry/getLogEvent.ts
|
|
@@ -4463,8 +4574,8 @@ var getTrackEvent = (onEvent, onAnalytics, onThemeChange) => (name, properties)
|
|
|
4463
4574
|
};
|
|
4464
4575
|
|
|
4465
4576
|
// src/dynamicFlow/messages.ts
|
|
4466
|
-
import { defineMessages as
|
|
4467
|
-
var messages_default =
|
|
4577
|
+
import { defineMessages as defineMessages11 } from "react-intl";
|
|
4578
|
+
var messages_default = defineMessages11({
|
|
4468
4579
|
copied: {
|
|
4469
4580
|
id: "df.wise.CopyFeedback.copy",
|
|
4470
4581
|
defaultMessage: "Copied to clipboard",
|
|
@@ -4478,12 +4589,12 @@ var messages_default = defineMessages10({
|
|
|
4478
4589
|
});
|
|
4479
4590
|
|
|
4480
4591
|
// src/dynamicFlow/DynamicFlow.tsx
|
|
4481
|
-
import { jsx as
|
|
4592
|
+
import { jsx as jsx84 } from "react/jsx-runtime";
|
|
4482
4593
|
var wiseRenderers = getWiseRenderers();
|
|
4483
4594
|
function DynamicFlowLegacy(props) {
|
|
4484
4595
|
const { customFetch = globalThis.fetch } = props;
|
|
4485
4596
|
const coreProps = __spreadProps(__spreadValues({}, props), { httpClient: customFetch });
|
|
4486
|
-
return /* @__PURE__ */
|
|
4597
|
+
return /* @__PURE__ */ jsx84(DynamicFlowCoreLegacy, __spreadValues({}, coreProps));
|
|
4487
4598
|
}
|
|
4488
4599
|
function DynamicFlowRevamp(props) {
|
|
4489
4600
|
const {
|
|
@@ -4496,7 +4607,7 @@ function DynamicFlowRevamp(props) {
|
|
|
4496
4607
|
onLink = openLinkInNewTab,
|
|
4497
4608
|
onThemeChange
|
|
4498
4609
|
} = props;
|
|
4499
|
-
const { formatMessage } =
|
|
4610
|
+
const { formatMessage } = useIntl13();
|
|
4500
4611
|
const createSnackBar = useSnackBarIfAvailable();
|
|
4501
4612
|
const httpClient = useWiseHttpClient(customFetch);
|
|
4502
4613
|
const mergedRenderers = useMemo2(() => [...renderers != null ? renderers : [], ...wiseRenderers], [renderers]);
|
|
@@ -4520,7 +4631,7 @@ function DynamicFlowRevamp(props) {
|
|
|
4520
4631
|
onLink,
|
|
4521
4632
|
onCopy
|
|
4522
4633
|
});
|
|
4523
|
-
return /* @__PURE__ */
|
|
4634
|
+
return /* @__PURE__ */ jsx84("div", { className, children: /* @__PURE__ */ jsx84(DynamicFlowCoreRevamp, __spreadValues({}, coreProps)) });
|
|
4524
4635
|
}
|
|
4525
4636
|
var DynamicForm = forwardRef(function DynamicForm2(props, ref) {
|
|
4526
4637
|
const {
|
|
@@ -4533,7 +4644,7 @@ var DynamicForm = forwardRef(function DynamicForm2(props, ref) {
|
|
|
4533
4644
|
onLink = openLinkInNewTab,
|
|
4534
4645
|
onThemeChange
|
|
4535
4646
|
} = props;
|
|
4536
|
-
const { formatMessage } =
|
|
4647
|
+
const { formatMessage } = useIntl13();
|
|
4537
4648
|
const createSnackBar = useSnackBarIfAvailable();
|
|
4538
4649
|
const httpClient = useWiseHttpClient(customFetch);
|
|
4539
4650
|
const mergedRenderers = useMemo2(() => [...renderers != null ? renderers : [], ...wiseRenderers], [renderers]);
|
|
@@ -4557,10 +4668,10 @@ var DynamicForm = forwardRef(function DynamicForm2(props, ref) {
|
|
|
4557
4668
|
onLink,
|
|
4558
4669
|
onCopy
|
|
4559
4670
|
});
|
|
4560
|
-
return /* @__PURE__ */
|
|
4671
|
+
return /* @__PURE__ */ jsx84("div", { className, children: /* @__PURE__ */ jsx84(DynamicFormCore, __spreadProps(__spreadValues({}, coreProps), { ref })) });
|
|
4561
4672
|
});
|
|
4562
4673
|
var useWiseHttpClient = (httpClient) => {
|
|
4563
|
-
const { locale } =
|
|
4674
|
+
const { locale } = useIntl13();
|
|
4564
4675
|
return useCallback(
|
|
4565
4676
|
async (input, init = {}) => {
|
|
4566
4677
|
const headers = new Headers(init.headers);
|