@wise/dynamic-flow-client-internal 5.25.3 → 5.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/i18n/ar.json +1 -0
- package/build/i18n/cs.json +1 -0
- package/build/i18n/de.json +1 -0
- package/build/i18n/en.json +1 -0
- package/build/i18n/es.json +1 -0
- package/build/i18n/fr.json +1 -0
- package/build/i18n/hu.json +1 -0
- package/build/i18n/id.json +1 -0
- package/build/i18n/it.json +1 -0
- package/build/i18n/ja.json +1 -0
- package/build/i18n/ko.json +1 -0
- package/build/i18n/nl.json +1 -0
- package/build/i18n/pl.json +1 -0
- package/build/i18n/pt.json +1 -0
- package/build/i18n/ro.json +1 -0
- package/build/i18n/ru.json +1 -0
- package/build/i18n/sv.json +1 -0
- package/build/i18n/th.json +1 -0
- package/build/i18n/tr.json +1 -0
- package/build/i18n/uk.json +1 -0
- package/build/i18n/zh_CN.json +1 -0
- package/build/i18n/zh_HK.json +1 -0
- package/build/main.js +172 -97
- package/build/main.mjs +176 -101
- package/build/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +5 -5
package/build/main.mjs
CHANGED
|
@@ -127,7 +127,7 @@ import { useDynamicFlow } from "@wise/dynamic-flow-client";
|
|
|
127
127
|
// src/dynamicFlow/telemetry/app-version.ts
|
|
128
128
|
var appVersion = (
|
|
129
129
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
130
|
-
typeof process !== "undefined" ? "5.
|
|
130
|
+
typeof process !== "undefined" ? "5.26.0" : "0.0.0"
|
|
131
131
|
);
|
|
132
132
|
|
|
133
133
|
// src/dynamicFlow/context-menu/useContextMenu.tsx
|
|
@@ -317,7 +317,7 @@ var recursivelyRemoveNullish = (element) => {
|
|
|
317
317
|
};
|
|
318
318
|
|
|
319
319
|
// src/dynamicFlow/useWiseToCoreProps.tsx
|
|
320
|
-
import { useMemo as
|
|
320
|
+
import { useMemo as useMemo2 } from "react";
|
|
321
321
|
|
|
322
322
|
// src/dynamicFlow/getMergedRenderers.tsx
|
|
323
323
|
import { getDynamicSubflowRenderer } from "@wise/dynamic-flow-client";
|
|
@@ -360,13 +360,13 @@ var isNamedIcon = (name) => {
|
|
|
360
360
|
const iconName = toCapitalisedCamelCase(name);
|
|
361
361
|
return Object.keys(icons).includes(iconName);
|
|
362
362
|
};
|
|
363
|
-
function NamedIcon({ name, size }) {
|
|
363
|
+
function NamedIcon({ name, title, size }) {
|
|
364
364
|
if (!isNamedIcon(name)) {
|
|
365
365
|
return null;
|
|
366
366
|
}
|
|
367
367
|
const iconName = toCapitalisedCamelCase(name);
|
|
368
368
|
const Icon = icons[iconName];
|
|
369
|
-
return /* @__PURE__ */ jsx4(Icon, { size: size != null ? size : 24 });
|
|
369
|
+
return /* @__PURE__ */ jsx4(Icon, { size: size != null ? size : 24, title: title != null ? title : iconName });
|
|
370
370
|
}
|
|
371
371
|
var toCapitalisedCamelCase = (value) => value.split("-").map(capitaliseFirstChar).join("");
|
|
372
372
|
var capitaliseFirstChar = (value) => value.length === 0 ? "" : `${value[0].toUpperCase()}${value.slice(1)}`;
|
|
@@ -620,6 +620,15 @@ var Media = ({ media, preferAvatar = false, size }) => {
|
|
|
620
620
|
return null;
|
|
621
621
|
}
|
|
622
622
|
};
|
|
623
|
+
function getAccessibilityDescription(media) {
|
|
624
|
+
switch (media.type) {
|
|
625
|
+
case "avatar":
|
|
626
|
+
case "image":
|
|
627
|
+
return media.accessibilityDescription;
|
|
628
|
+
default:
|
|
629
|
+
return void 0;
|
|
630
|
+
}
|
|
631
|
+
}
|
|
623
632
|
function extractFirstImage(media) {
|
|
624
633
|
switch (media.type) {
|
|
625
634
|
case "image":
|
|
@@ -800,10 +809,17 @@ function UrnImage(props) {
|
|
|
800
809
|
// ../renderers/src/components/Media/getPromptMedia.tsx
|
|
801
810
|
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
802
811
|
var getInfoPromptMedia = (media) => {
|
|
812
|
+
const asset = getPromptIcon(media, 24);
|
|
813
|
+
return asset && { asset };
|
|
814
|
+
};
|
|
815
|
+
var getInlinePromptMedia = (media) => {
|
|
816
|
+
return getPromptIcon(media, 16);
|
|
817
|
+
};
|
|
818
|
+
var getPromptIcon = (media, size) => {
|
|
803
819
|
const image = extractFirstImage(media);
|
|
804
820
|
const iconName = (image == null ? void 0 : image.uri) && extractIconNameFromUri(image == null ? void 0 : image.uri);
|
|
805
821
|
if (!iconName || !isNamedIcon(iconName)) return void 0;
|
|
806
|
-
return
|
|
822
|
+
return /* @__PURE__ */ jsx17(NamedIcon, { name: iconName, size, title: getAccessibilityDescription(media) });
|
|
807
823
|
};
|
|
808
824
|
var getActionPromptMedia = (media) => {
|
|
809
825
|
var _a;
|
|
@@ -1269,7 +1285,11 @@ var getAdditionalText = (additionalText) => {
|
|
|
1269
1285
|
// ../renderers/src/utils/listItem/getInlineAlert.tsx
|
|
1270
1286
|
import { ListItem as ListItem2 } from "@transferwise/components";
|
|
1271
1287
|
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
1272
|
-
var getInlineAlert = (inlineAlert) =>
|
|
1288
|
+
var getInlineAlert = (inlineAlert) => {
|
|
1289
|
+
if (!inlineAlert) return void 0;
|
|
1290
|
+
const { context, media, content } = inlineAlert;
|
|
1291
|
+
return /* @__PURE__ */ jsx29(ListItem2.Prompt, { sentiment: context, media: media && getInlinePromptMedia(media), children: content });
|
|
1292
|
+
};
|
|
1273
1293
|
|
|
1274
1294
|
// ../renderers/src/utils/listItem/getMedia.tsx
|
|
1275
1295
|
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
@@ -1399,6 +1419,26 @@ var CheckboxInputRenderer_default = CheckboxInputRenderer;
|
|
|
1399
1419
|
// ../renderers/src/CollectionRenderer/CollectionRenderer.tsx
|
|
1400
1420
|
import { InlinePrompt, Link as DSLink } from "@transferwise/components";
|
|
1401
1421
|
|
|
1422
|
+
// ../renderers/src/messages/generic-error.messages.ts
|
|
1423
|
+
import { defineMessages as defineMessages3 } from "react-intl";
|
|
1424
|
+
var generic_error_messages_default = defineMessages3({
|
|
1425
|
+
genericErrorRetryHint: {
|
|
1426
|
+
id: "df.wise.PersistAsyncSchema.genericError",
|
|
1427
|
+
defaultMessage: "Something went wrong, please try again.",
|
|
1428
|
+
description: "Generic error message for persist async schema"
|
|
1429
|
+
},
|
|
1430
|
+
genericError: {
|
|
1431
|
+
id: "df.wise.ErrorBoundary.errorAlert",
|
|
1432
|
+
defaultMessage: "Something went wrong.",
|
|
1433
|
+
description: "Generic error message for when something has gone wrong."
|
|
1434
|
+
},
|
|
1435
|
+
retry: {
|
|
1436
|
+
id: "df.wise.ErrorBoundary.retry",
|
|
1437
|
+
defaultMessage: "Retry",
|
|
1438
|
+
description: "Usually this follows the generic error and contains a link."
|
|
1439
|
+
}
|
|
1440
|
+
});
|
|
1441
|
+
|
|
1402
1442
|
// ../../node_modules/.pnpm/@tanstack+react-virtual@3.13.24_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@tanstack/react-virtual/dist/esm/index.js
|
|
1403
1443
|
import * as React from "react";
|
|
1404
1444
|
import { flushSync } from "react-dom";
|
|
@@ -2372,8 +2412,8 @@ import { useEffect as useEffect6, useRef as useRef2, useState as useState7 } fro
|
|
|
2372
2412
|
import { useIntl as useIntl3 } from "react-intl";
|
|
2373
2413
|
|
|
2374
2414
|
// ../renderers/src/messages/step.messages.ts
|
|
2375
|
-
import { defineMessages as
|
|
2376
|
-
var step_messages_default =
|
|
2415
|
+
import { defineMessages as defineMessages4 } from "react-intl";
|
|
2416
|
+
var step_messages_default = defineMessages4({
|
|
2377
2417
|
scrollToBottom: {
|
|
2378
2418
|
id: "df.wise.step.scrollToBottom",
|
|
2379
2419
|
defaultMessage: "Scroll to bottom",
|
|
@@ -2438,6 +2478,19 @@ var useIsElementVisible = (elementRef) => {
|
|
|
2438
2478
|
return isVisible;
|
|
2439
2479
|
};
|
|
2440
2480
|
|
|
2481
|
+
// ../renderers/src/CollectionRenderer/components/ContentComponent.tsx
|
|
2482
|
+
import { useIntl as useIntl4 } from "react-intl";
|
|
2483
|
+
|
|
2484
|
+
// ../renderers/src/messages/collection.messages.ts
|
|
2485
|
+
import { defineMessages as defineMessages5 } from "react-intl";
|
|
2486
|
+
var collection_messages_default = defineMessages5({
|
|
2487
|
+
loadMoreButton: {
|
|
2488
|
+
id: "df.wise.Collection.loadMoreMessage",
|
|
2489
|
+
defaultMessage: "Load more",
|
|
2490
|
+
description: "A message shown on a button to load more items in a list."
|
|
2491
|
+
}
|
|
2492
|
+
});
|
|
2493
|
+
|
|
2441
2494
|
// ../renderers/src/CollectionRenderer/components/ContentComponent.tsx
|
|
2442
2495
|
import { jsx as jsx33, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
2443
2496
|
var ContentComponent = (props) => {
|
|
@@ -2445,11 +2498,11 @@ var ContentComponent = (props) => {
|
|
|
2445
2498
|
const endOfContentRef = useRef3(null);
|
|
2446
2499
|
const isBottomVisible = useIsElementVisible(endOfContentRef);
|
|
2447
2500
|
useEffect7(() => {
|
|
2448
|
-
|
|
2449
|
-
if (
|
|
2450
|
-
|
|
2501
|
+
const shouldAutoLoad = isBottomVisible && status.type === "idle" && !state.afterSections;
|
|
2502
|
+
if (shouldAutoLoad && status.loadMore) {
|
|
2503
|
+
status.loadMore();
|
|
2451
2504
|
}
|
|
2452
|
-
}, [isBottomVisible, status]);
|
|
2505
|
+
}, [isBottomVisible, state.afterSections, status]);
|
|
2453
2506
|
const stateCount = state.sections.reduce(
|
|
2454
2507
|
(total, section) => section.items.length + total + (section.title ? 1 : 0),
|
|
2455
2508
|
0
|
|
@@ -2460,7 +2513,8 @@ var ContentComponent = (props) => {
|
|
|
2460
2513
|
type: "header",
|
|
2461
2514
|
title: section.title,
|
|
2462
2515
|
items: section.items,
|
|
2463
|
-
id: section.id
|
|
2516
|
+
id: section.id,
|
|
2517
|
+
callToAction: section.callToAction
|
|
2464
2518
|
}
|
|
2465
2519
|
] : [],
|
|
2466
2520
|
...section.items.map((item) => ({
|
|
@@ -2515,13 +2569,32 @@ var ContentComponent = (props) => {
|
|
|
2515
2569
|
})
|
|
2516
2570
|
}
|
|
2517
2571
|
),
|
|
2518
|
-
/* @__PURE__ */
|
|
2519
|
-
status.type === "idle" && status.loadMore || status.type === "loading" && status.reason === "pagination" ? /* @__PURE__ */ jsx33(ProcessIndicator, { size: "xs" }) : null,
|
|
2520
|
-
status.type === "error" && status.reason === "pagination" ? /* @__PURE__ */ jsx33("div", { className: "d-flex m-x-auto", children: /* @__PURE__ */ jsx33(Button4, { v2: true, size: "sm", priority: "secondary-neutral", onClick: status.retry, children: "Load more" }) }) : null
|
|
2521
|
-
] }),
|
|
2572
|
+
/* @__PURE__ */ jsx33("div", { ref: endOfContentRef, className: "d-flex m-x-auto m-y-2", children: /* @__PURE__ */ jsx33(PaginationComponent, { status, state }) }),
|
|
2522
2573
|
state.afterSections
|
|
2523
2574
|
] });
|
|
2524
2575
|
};
|
|
2576
|
+
var PaginationComponent = ({
|
|
2577
|
+
status,
|
|
2578
|
+
state
|
|
2579
|
+
}) => {
|
|
2580
|
+
const isPaginationError = status.type === "error" && status.reason === "pagination";
|
|
2581
|
+
const isPaginationLoading = status.type === "loading" && status.reason === "pagination";
|
|
2582
|
+
const loadMore = status.type === "idle" ? status.loadMore : void 0;
|
|
2583
|
+
if (!isPaginationError && !isPaginationLoading && !loadMore) {
|
|
2584
|
+
return null;
|
|
2585
|
+
}
|
|
2586
|
+
if (isPaginationError) {
|
|
2587
|
+
return /* @__PURE__ */ jsx33(LoadMoreButton, { onClick: status.retry });
|
|
2588
|
+
}
|
|
2589
|
+
if (state.afterSections && loadMore) {
|
|
2590
|
+
return /* @__PURE__ */ jsx33(LoadMoreButton, { onClick: loadMore });
|
|
2591
|
+
}
|
|
2592
|
+
return /* @__PURE__ */ jsx33(ProcessIndicator, { size: "xs", "data-testid": "collection-pagination-loader" });
|
|
2593
|
+
};
|
|
2594
|
+
var LoadMoreButton = ({ onClick }) => {
|
|
2595
|
+
const { formatMessage } = useIntl4();
|
|
2596
|
+
return /* @__PURE__ */ jsx33("div", { className: "d-flex m-x-auto", children: /* @__PURE__ */ jsx33(Button4, { v2: true, size: "sm", priority: "secondary-neutral", onClick, children: formatMessage(collection_messages_default.loadMoreButton) }) });
|
|
2597
|
+
};
|
|
2525
2598
|
|
|
2526
2599
|
// ../renderers/src/CollectionRenderer/components/FilterComponent.tsx
|
|
2527
2600
|
import { Chips } from "@transferwise/components";
|
|
@@ -2630,6 +2703,7 @@ var ItemComponent = (props) => {
|
|
|
2630
2703
|
description,
|
|
2631
2704
|
supportingValues,
|
|
2632
2705
|
media,
|
|
2706
|
+
disabled,
|
|
2633
2707
|
additionalInfo,
|
|
2634
2708
|
inlineAlert,
|
|
2635
2709
|
href,
|
|
@@ -2648,14 +2722,14 @@ var ItemComponent = (props) => {
|
|
|
2648
2722
|
{
|
|
2649
2723
|
title,
|
|
2650
2724
|
subtitle: description,
|
|
2725
|
+
disabled,
|
|
2651
2726
|
valueTitle: supportingValues == null ? void 0 : supportingValues.value,
|
|
2652
2727
|
valueSubtitle: supportingValues == null ? void 0 : supportingValues.subvalue,
|
|
2653
2728
|
media: getMedia(media, shouldUseAvatar(control, parentTags)),
|
|
2654
2729
|
prompt: getInlineAlert(inlineAlert),
|
|
2655
2730
|
additionalInfo: getAdditionalInfo(additionalInfo),
|
|
2656
2731
|
control: onClick || href ? getNavigationControl(onClick, href) : getCTAControl(callToAction, controlOptions)
|
|
2657
|
-
}
|
|
2658
|
-
title
|
|
2732
|
+
}
|
|
2659
2733
|
);
|
|
2660
2734
|
};
|
|
2661
2735
|
var getNavigationControl = (onClick, href) => {
|
|
@@ -2690,7 +2764,7 @@ var SearchComponent = ({ state, status, features }) => {
|
|
|
2690
2764
|
InputGroup,
|
|
2691
2765
|
{
|
|
2692
2766
|
addonStart: { content: /* @__PURE__ */ jsx38(Search, { size: 24 }) },
|
|
2693
|
-
addonEnd: status.type === "loading" ? { content: /* @__PURE__ */ jsx38(ProcessIndicator2, { size: "xs" }) } : void 0,
|
|
2767
|
+
addonEnd: status.type === "loading" ? { content: /* @__PURE__ */ jsx38(ProcessIndicator2, { size: "xs", "data-testid": "collection-search-loader" }) } : void 0,
|
|
2694
2768
|
children: /* @__PURE__ */ jsx38(
|
|
2695
2769
|
Input,
|
|
2696
2770
|
{
|
|
@@ -2739,17 +2813,22 @@ var createCollectionRenderer = (canRender, components) => {
|
|
|
2739
2813
|
};
|
|
2740
2814
|
|
|
2741
2815
|
// ../renderers/src/CollectionRenderer/CollectionRenderer.tsx
|
|
2816
|
+
import { useIntl as useIntl5 } from "react-intl";
|
|
2742
2817
|
import { Fragment as Fragment3, jsx as jsx41, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
2743
2818
|
var CollectionRendererComponent = (props) => {
|
|
2744
2819
|
const { status, Search: Search4, Filters, Results } = props;
|
|
2745
2820
|
return /* @__PURE__ */ jsxs7(Fragment3, { children: [
|
|
2746
2821
|
/* @__PURE__ */ jsx41(Search4, __spreadValues({}, props)),
|
|
2747
2822
|
/* @__PURE__ */ jsx41(Filters, __spreadValues({}, props)),
|
|
2748
|
-
status.type === "
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2823
|
+
status.type === "error" && status.reason === "search" ? /* @__PURE__ */ jsx41(SearchError, { retry: status.retry }) : /* @__PURE__ */ jsx41(Results, __spreadValues({}, props))
|
|
2824
|
+
] });
|
|
2825
|
+
};
|
|
2826
|
+
var SearchError = ({ retry }) => {
|
|
2827
|
+
const { formatMessage } = useIntl5();
|
|
2828
|
+
return /* @__PURE__ */ jsxs7(InlinePrompt, { width: "full", sentiment: "negative", children: [
|
|
2829
|
+
formatMessage(generic_error_messages_default.genericError),
|
|
2830
|
+
"\xA0",
|
|
2831
|
+
/* @__PURE__ */ jsx41(DSLink, { onClick: retry, children: formatMessage(generic_error_messages_default.retry) })
|
|
2753
2832
|
] });
|
|
2754
2833
|
};
|
|
2755
2834
|
var CollectionRenderer = createCollectionRenderer(() => true);
|
|
@@ -2939,11 +3018,11 @@ import { ListItem as ListItem7 } from "@transferwise/components";
|
|
|
2939
3018
|
// ../renderers/src/DecisionRenderer/DecisionWrapper.tsx
|
|
2940
3019
|
import { Header as Header3, SearchInput } from "@transferwise/components";
|
|
2941
3020
|
import { useState as useState9 } from "react";
|
|
2942
|
-
import { useIntl as
|
|
3021
|
+
import { useIntl as useIntl7 } from "react-intl";
|
|
2943
3022
|
|
|
2944
3023
|
// ../renderers/src/messages/filter.messages.ts
|
|
2945
|
-
import { defineMessages as
|
|
2946
|
-
var filter_messages_default =
|
|
3024
|
+
import { defineMessages as defineMessages6 } from "react-intl";
|
|
3025
|
+
var filter_messages_default = defineMessages6({
|
|
2947
3026
|
placeholder: {
|
|
2948
3027
|
id: "df.wise.filter.placeholder",
|
|
2949
3028
|
defaultMessage: "Start typing to search",
|
|
@@ -3010,11 +3089,11 @@ var normalizeAndRemoveAccents = (text) => text.trim().toLowerCase().normalize("N
|
|
|
3010
3089
|
|
|
3011
3090
|
// ../renderers/src/DecisionRenderer/GroupedDecisionList.tsx
|
|
3012
3091
|
import { Header as Header2, Section } from "@transferwise/components";
|
|
3013
|
-
import { useIntl as
|
|
3092
|
+
import { useIntl as useIntl6 } from "react-intl";
|
|
3014
3093
|
|
|
3015
3094
|
// ../renderers/src/messages/group.messages.ts
|
|
3016
|
-
import { defineMessages as
|
|
3017
|
-
var group_messages_default =
|
|
3095
|
+
import { defineMessages as defineMessages7 } from "react-intl";
|
|
3096
|
+
var group_messages_default = defineMessages7({
|
|
3018
3097
|
all: {
|
|
3019
3098
|
id: "df.wise.group.all",
|
|
3020
3099
|
defaultMessage: "All",
|
|
@@ -3055,7 +3134,7 @@ var isGroupedDecision = (options) => {
|
|
|
3055
3134
|
};
|
|
3056
3135
|
var GroupedDecisionList = (_a) => {
|
|
3057
3136
|
var _b = _a, { renderDecisionList: renderDecisionList2 } = _b, rest = __objRest(_b, ["renderDecisionList"]);
|
|
3058
|
-
const { formatMessage } =
|
|
3137
|
+
const { formatMessage } = useIntl6();
|
|
3059
3138
|
const { options } = rest;
|
|
3060
3139
|
const itemsByTag = [...getGroupsFromTags(groupingTags, options), { tag: "all", items: options }];
|
|
3061
3140
|
return /* @__PURE__ */ jsx45(Fragment4, { children: itemsByTag.map(({ tag, items }) => /* @__PURE__ */ jsxs9(Section, { children: [
|
|
@@ -3084,7 +3163,7 @@ var UnfilteredDecisionList = (_a) => {
|
|
|
3084
3163
|
return isGroupedDecision(rest.options) ? /* @__PURE__ */ jsx46(GroupedDecisionList, __spreadProps(__spreadValues({}, rest), { renderDecisionList: renderDecisionList2 })) : renderDecisionList2(rest);
|
|
3085
3164
|
};
|
|
3086
3165
|
var FilteredDecisionList = (props) => {
|
|
3087
|
-
const { formatMessage } =
|
|
3166
|
+
const { formatMessage } = useIntl7();
|
|
3088
3167
|
const [query, setQuery] = useState9("");
|
|
3089
3168
|
const { control, options, renderDecisionList: renderDecisionList2 } = props;
|
|
3090
3169
|
const filteredOptions = (query == null ? void 0 : query.length) > 0 ? filterAndSortItems(options, query) : options;
|
|
@@ -3176,8 +3255,8 @@ var DividerRenderer_default = DividerRenderer;
|
|
|
3176
3255
|
import { Button as Button5, Markdown as Markdown3, Modal } from "@transferwise/components";
|
|
3177
3256
|
|
|
3178
3257
|
// ../renderers/src/messages/external-confirmation.messages.ts
|
|
3179
|
-
import { defineMessages as
|
|
3180
|
-
var external_confirmation_messages_default =
|
|
3258
|
+
import { defineMessages as defineMessages8 } from "react-intl";
|
|
3259
|
+
var external_confirmation_messages_default = defineMessages8({
|
|
3181
3260
|
title: {
|
|
3182
3261
|
id: "df.wise.ExternalConfirmation.title",
|
|
3183
3262
|
defaultMessage: "Please confirm",
|
|
@@ -3201,7 +3280,7 @@ var external_confirmation_messages_default = defineMessages6({
|
|
|
3201
3280
|
});
|
|
3202
3281
|
|
|
3203
3282
|
// ../renderers/src/ExternalConfirmationRenderer.tsx
|
|
3204
|
-
import { useIntl as
|
|
3283
|
+
import { useIntl as useIntl8 } from "react-intl";
|
|
3205
3284
|
import { useEffect as useEffect9 } from "react";
|
|
3206
3285
|
import { Fragment as Fragment7, jsx as jsx49, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
3207
3286
|
var ExternalConfirmationRenderer = {
|
|
@@ -3214,7 +3293,7 @@ function ExternalConfirmationRendererComponent({
|
|
|
3214
3293
|
open,
|
|
3215
3294
|
onCancel
|
|
3216
3295
|
}) {
|
|
3217
|
-
const { formatMessage } =
|
|
3296
|
+
const { formatMessage } = useIntl8();
|
|
3218
3297
|
useEffect9(() => {
|
|
3219
3298
|
open();
|
|
3220
3299
|
}, []);
|
|
@@ -3681,7 +3760,7 @@ var ModalRenderer = {
|
|
|
3681
3760
|
// ../renderers/src/MoneyInputRenderer.tsx
|
|
3682
3761
|
import { MoneyInput } from "@transferwise/components";
|
|
3683
3762
|
import { useEffect as useEffect11 } from "react";
|
|
3684
|
-
import { useIntl as
|
|
3763
|
+
import { useIntl as useIntl9 } from "react-intl";
|
|
3685
3764
|
import { jsx as jsx64 } from "react/jsx-runtime";
|
|
3686
3765
|
var groupingTags2 = Object.keys(group_messages_default).filter((key) => key !== "all");
|
|
3687
3766
|
var MoneyInputRenderer = {
|
|
@@ -3708,7 +3787,7 @@ function MoneyInputRendererComponent(props) {
|
|
|
3708
3787
|
onCurrencyChange(0);
|
|
3709
3788
|
}
|
|
3710
3789
|
}, [selectedCurrencyIndex, onCurrencyChange, currencies.length]);
|
|
3711
|
-
const { formatMessage } =
|
|
3790
|
+
const { formatMessage } = useIntl9();
|
|
3712
3791
|
return /* @__PURE__ */ jsx64(
|
|
3713
3792
|
FieldInput_default,
|
|
3714
3793
|
{
|
|
@@ -3782,7 +3861,7 @@ function assertCurrencyCodeIsString(currencyCode) {
|
|
|
3782
3861
|
// ../renderers/src/MultiSelectInputRenderer/InlineComponent.tsx
|
|
3783
3862
|
import { ListItem as ListItem9, SearchInput as SearchInput2 } from "@transferwise/components";
|
|
3784
3863
|
import { useState as useState12 } from "react";
|
|
3785
|
-
import { useIntl as
|
|
3864
|
+
import { useIntl as useIntl10 } from "react-intl";
|
|
3786
3865
|
|
|
3787
3866
|
// ../renderers/src/utils/items-with-index.ts
|
|
3788
3867
|
var zipWithIndex = (items) => items.map((item, index) => __spreadProps(__spreadValues({}, item), {
|
|
@@ -3807,7 +3886,7 @@ function InlineComponent(props) {
|
|
|
3807
3886
|
} = props;
|
|
3808
3887
|
const optionsWithIndex = zipWithIndex(options);
|
|
3809
3888
|
const [query, setQuery] = useState12("");
|
|
3810
|
-
const { formatMessage } =
|
|
3889
|
+
const { formatMessage } = useIntl10();
|
|
3811
3890
|
const filtered = tags == null ? void 0 : tags.includes("filtered");
|
|
3812
3891
|
const filteredOptions = query ? filterAndSortItems(optionsWithIndex, filtered ? query : "") : optionsWithIndex;
|
|
3813
3892
|
return /* @__PURE__ */ jsxs16(Fragment8, { children: [
|
|
@@ -3880,11 +3959,11 @@ function InlineComponent(props) {
|
|
|
3880
3959
|
// ../renderers/src/MultiSelectInputRenderer/DefaultComponent.tsx
|
|
3881
3960
|
import { SelectInput, SelectInputOptionContent } from "@transferwise/components";
|
|
3882
3961
|
import { useState as useState13 } from "react";
|
|
3883
|
-
import { useIntl as
|
|
3962
|
+
import { useIntl as useIntl11 } from "react-intl";
|
|
3884
3963
|
|
|
3885
3964
|
// ../renderers/src/messages/multi-select.messages.ts
|
|
3886
|
-
import { defineMessages as
|
|
3887
|
-
var multi_select_messages_default =
|
|
3965
|
+
import { defineMessages as defineMessages9 } from "react-intl";
|
|
3966
|
+
var multi_select_messages_default = defineMessages9({
|
|
3888
3967
|
summary: {
|
|
3889
3968
|
id: "df.wise.MultiSelect.summary",
|
|
3890
3969
|
defaultMessage: "{first} and {count} more",
|
|
@@ -3895,7 +3974,7 @@ var multi_select_messages_default = defineMessages7({
|
|
|
3895
3974
|
// ../renderers/src/MultiSelectInputRenderer/DefaultComponent.tsx
|
|
3896
3975
|
import { jsx as jsx66 } from "react/jsx-runtime";
|
|
3897
3976
|
function DefaultComponent(props) {
|
|
3898
|
-
const { formatMessage } =
|
|
3977
|
+
const { formatMessage } = useIntl11();
|
|
3899
3978
|
const [stagedIndices, setStagedIndices] = useState13();
|
|
3900
3979
|
const {
|
|
3901
3980
|
id,
|
|
@@ -4228,7 +4307,7 @@ var NumberInputRenderer = {
|
|
|
4228
4307
|
var NumberInputRenderer_default = NumberInputRenderer;
|
|
4229
4308
|
|
|
4230
4309
|
// ../renderers/src/ParagraphRenderer.tsx
|
|
4231
|
-
import { useIntl as
|
|
4310
|
+
import { useIntl as useIntl12 } from "react-intl";
|
|
4232
4311
|
|
|
4233
4312
|
// ../renderers/src/hooks/useSnackBarIfAvailable.ts
|
|
4234
4313
|
import { SnackbarContext } from "@transferwise/components";
|
|
@@ -4244,8 +4323,8 @@ var import_classnames6 = __toESM(require_classnames());
|
|
|
4244
4323
|
import { Button as Button7, Input as Input4 } from "@transferwise/components";
|
|
4245
4324
|
|
|
4246
4325
|
// ../renderers/src/messages/paragraph.messages.ts
|
|
4247
|
-
import { defineMessages as
|
|
4248
|
-
var paragraph_messages_default =
|
|
4326
|
+
import { defineMessages as defineMessages10 } from "react-intl";
|
|
4327
|
+
var paragraph_messages_default = defineMessages10({
|
|
4249
4328
|
copy: {
|
|
4250
4329
|
id: "df.wise.DynamicParagraph.copy",
|
|
4251
4330
|
defaultMessage: "Copy",
|
|
@@ -4279,7 +4358,7 @@ function CopyableParagraph({
|
|
|
4279
4358
|
align,
|
|
4280
4359
|
className
|
|
4281
4360
|
}) {
|
|
4282
|
-
const { formatMessage } =
|
|
4361
|
+
const { formatMessage } = useIntl12();
|
|
4283
4362
|
const createSnackbar = useSnackBarIfAvailable();
|
|
4284
4363
|
const copy = () => {
|
|
4285
4364
|
navigator.clipboard.writeText(text).then(() => createSnackbar({ text: formatMessage(paragraph_messages_default.copied) })).catch(() => {
|
|
@@ -4329,11 +4408,11 @@ var import_classnames7 = __toESM(require_classnames());
|
|
|
4329
4408
|
import { Button as Button8, Header as Header6, InlineAlert as InlineAlert3, Modal as Modal4, NavigationOption } from "@transferwise/components";
|
|
4330
4409
|
import { Plus } from "@transferwise/icons";
|
|
4331
4410
|
import { useState as useState14 } from "react";
|
|
4332
|
-
import { useIntl as
|
|
4411
|
+
import { useIntl as useIntl13 } from "react-intl";
|
|
4333
4412
|
|
|
4334
4413
|
// ../renderers/src/messages/repeatable.messages.ts
|
|
4335
|
-
import { defineMessages as
|
|
4336
|
-
var repeatable_messages_default =
|
|
4414
|
+
import { defineMessages as defineMessages11 } from "react-intl";
|
|
4415
|
+
var repeatable_messages_default = defineMessages11({
|
|
4337
4416
|
addItemTitle: {
|
|
4338
4417
|
id: "df.wise.ArraySchema.addItemTitle",
|
|
4339
4418
|
defaultMessage: "Add Item",
|
|
@@ -4377,7 +4456,7 @@ function Repeatable(props) {
|
|
|
4377
4456
|
onSave,
|
|
4378
4457
|
onRemove
|
|
4379
4458
|
} = props;
|
|
4380
|
-
const { formatMessage } =
|
|
4459
|
+
const { formatMessage } = useIntl13();
|
|
4381
4460
|
const [openModalType, setOpenModalType] = useState14(null);
|
|
4382
4461
|
const { ref } = useScrollToError(validationState, features);
|
|
4383
4462
|
const onAddItem = () => {
|
|
@@ -4531,7 +4610,7 @@ var getFieldLabel = (label, help, onClick) => {
|
|
|
4531
4610
|
// ../renderers/src/ReviewRenderer.tsx
|
|
4532
4611
|
import { ListItem as ListItem10, Markdown as Markdown5, Popover } from "@transferwise/components";
|
|
4533
4612
|
import { QuestionMarkCircle } from "@transferwise/icons";
|
|
4534
|
-
import { useIntl as
|
|
4613
|
+
import { useIntl as useIntl14 } from "react-intl";
|
|
4535
4614
|
import { jsx as jsx76, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
4536
4615
|
var IGNORED_CONTROLS = [
|
|
4537
4616
|
"horizontal",
|
|
@@ -4553,7 +4632,7 @@ var Review = ({
|
|
|
4553
4632
|
title,
|
|
4554
4633
|
trackEvent
|
|
4555
4634
|
}) => {
|
|
4556
|
-
const intl =
|
|
4635
|
+
const intl = useIntl14();
|
|
4557
4636
|
return /* @__PURE__ */ jsxs21("div", { className: getMargin(margin), children: [
|
|
4558
4637
|
/* @__PURE__ */ jsx76(Header, { title, callToAction }),
|
|
4559
4638
|
fields.map((field) => {
|
|
@@ -4601,11 +4680,11 @@ var ReviewRenderer_default = ReviewRenderer2;
|
|
|
4601
4680
|
// ../renderers/src/SearchRenderer/BlockSearchRendererComponent.tsx
|
|
4602
4681
|
import { Input as Input5, InputGroup as InputGroup4, List, ListItem as ListItem11, Markdown as Markdown6 } from "@transferwise/components";
|
|
4603
4682
|
import { useState as useState15 } from "react";
|
|
4604
|
-
import { useIntl as
|
|
4683
|
+
import { useIntl as useIntl16 } from "react-intl";
|
|
4605
4684
|
|
|
4606
4685
|
// ../renderers/src/messages/search.messages.ts
|
|
4607
|
-
import { defineMessages as
|
|
4608
|
-
var search_messages_default =
|
|
4686
|
+
import { defineMessages as defineMessages12 } from "react-intl";
|
|
4687
|
+
var search_messages_default = defineMessages12({
|
|
4609
4688
|
loading: {
|
|
4610
4689
|
id: "df.wise.SearchLayout.loading",
|
|
4611
4690
|
defaultMessage: "Loading...",
|
|
@@ -4614,33 +4693,11 @@ var search_messages_default = defineMessages10({
|
|
|
4614
4693
|
});
|
|
4615
4694
|
|
|
4616
4695
|
// ../renderers/src/SearchRenderer/ErrorResult.tsx
|
|
4617
|
-
import { useIntl as
|
|
4618
|
-
|
|
4619
|
-
// ../renderers/src/messages/generic-error.messages.ts
|
|
4620
|
-
import { defineMessages as defineMessages11 } from "react-intl";
|
|
4621
|
-
var generic_error_messages_default = defineMessages11({
|
|
4622
|
-
genericErrorRetryHint: {
|
|
4623
|
-
id: "df.wise.PersistAsyncSchema.genericError",
|
|
4624
|
-
defaultMessage: "Something went wrong, please try again.",
|
|
4625
|
-
description: "Generic error message for persist async schema"
|
|
4626
|
-
},
|
|
4627
|
-
genericError: {
|
|
4628
|
-
id: "df.wise.ErrorBoundary.errorAlert",
|
|
4629
|
-
defaultMessage: "Something went wrong.",
|
|
4630
|
-
description: "Generic error message for when something has gone wrong."
|
|
4631
|
-
},
|
|
4632
|
-
retry: {
|
|
4633
|
-
id: "df.wise.ErrorBoundary.retry",
|
|
4634
|
-
defaultMessage: "Retry",
|
|
4635
|
-
description: "Usually this follows the generic error and contains a link."
|
|
4636
|
-
}
|
|
4637
|
-
});
|
|
4638
|
-
|
|
4639
|
-
// ../renderers/src/SearchRenderer/ErrorResult.tsx
|
|
4696
|
+
import { useIntl as useIntl15 } from "react-intl";
|
|
4640
4697
|
import { Link as DSLink2 } from "@transferwise/components";
|
|
4641
4698
|
import { jsx as jsx77, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
4642
4699
|
function ErrorResult({ state }) {
|
|
4643
|
-
const intl =
|
|
4700
|
+
const intl = useIntl15();
|
|
4644
4701
|
return /* @__PURE__ */ jsxs22("p", { className: "m-t-2", children: [
|
|
4645
4702
|
intl.formatMessage(generic_error_messages_default.genericError),
|
|
4646
4703
|
"\xA0",
|
|
@@ -4664,7 +4721,7 @@ function BlockSearchRendererComponent({
|
|
|
4664
4721
|
onChange
|
|
4665
4722
|
}) {
|
|
4666
4723
|
const [hasSearched, setHasSearched] = useState15(false);
|
|
4667
|
-
const { formatMessage } =
|
|
4724
|
+
const { formatMessage } = useIntl16();
|
|
4668
4725
|
return /* @__PURE__ */ jsxs23("div", { className: getMargin(margin), children: [
|
|
4669
4726
|
/* @__PURE__ */ jsx78(
|
|
4670
4727
|
FieldInput_default,
|
|
@@ -4757,7 +4814,7 @@ var BlockSearchRendererComponent_default = BlockSearchRendererComponent;
|
|
|
4757
4814
|
import { Markdown as Markdown7, Typeahead } from "@transferwise/components";
|
|
4758
4815
|
import { Search as Search3 } from "@transferwise/icons";
|
|
4759
4816
|
import { useState as useState16 } from "react";
|
|
4760
|
-
import { useIntl as
|
|
4817
|
+
import { useIntl as useIntl17 } from "react-intl";
|
|
4761
4818
|
import { jsx as jsx79 } from "react/jsx-runtime";
|
|
4762
4819
|
function InlineSearchRenderer({
|
|
4763
4820
|
id,
|
|
@@ -4771,7 +4828,7 @@ function InlineSearchRenderer({
|
|
|
4771
4828
|
trackEvent
|
|
4772
4829
|
}) {
|
|
4773
4830
|
const [hasSearched, setHasSearched] = useState16(false);
|
|
4774
|
-
const intl =
|
|
4831
|
+
const intl = useIntl17();
|
|
4775
4832
|
return /* @__PURE__ */ jsx79("div", { className: getMargin(margin), children: /* @__PURE__ */ jsx79(
|
|
4776
4833
|
FieldInput_default,
|
|
4777
4834
|
{
|
|
@@ -4830,7 +4887,7 @@ function mapResultToTypeaheadOption(result) {
|
|
|
4830
4887
|
};
|
|
4831
4888
|
}
|
|
4832
4889
|
function TypeaheadFooter({ state, isLoading }) {
|
|
4833
|
-
const { formatMessage } =
|
|
4890
|
+
const { formatMessage } = useIntl17();
|
|
4834
4891
|
if (state.type === "layout") {
|
|
4835
4892
|
return /* @__PURE__ */ jsx79("div", { className: "m-x-1 m-y-1", children: state.layout });
|
|
4836
4893
|
}
|
|
@@ -5259,11 +5316,11 @@ var StatusListRenderer_default = StatusListRenderer;
|
|
|
5259
5316
|
|
|
5260
5317
|
// ../renderers/src/utils/useCustomTheme.ts
|
|
5261
5318
|
import { useTheme } from "@wise/components-theming";
|
|
5262
|
-
import { useEffect as useEffect14, useMemo
|
|
5319
|
+
import { useEffect as useEffect14, useMemo } from "react";
|
|
5263
5320
|
var ThemeRequiredEventName = "Theme Required";
|
|
5264
5321
|
var useCustomTheme = (theme, trackEvent) => {
|
|
5265
5322
|
const theming = useTheme();
|
|
5266
|
-
const previousTheme =
|
|
5323
|
+
const previousTheme = useMemo(() => theming.theme, []);
|
|
5267
5324
|
useEffect14(() => {
|
|
5268
5325
|
theming.setTheme(theme);
|
|
5269
5326
|
trackEvent(ThemeRequiredEventName, { theme });
|
|
@@ -5295,11 +5352,11 @@ var getHeaderStyle = (tags) => {
|
|
|
5295
5352
|
// ../renderers/src/step/topbar/BackButton.tsx
|
|
5296
5353
|
import { IconButton } from "@transferwise/components";
|
|
5297
5354
|
import { ArrowLeft } from "@transferwise/icons";
|
|
5298
|
-
import { useIntl as
|
|
5355
|
+
import { useIntl as useIntl18 } from "react-intl";
|
|
5299
5356
|
|
|
5300
5357
|
// ../renderers/src/messages/back.messages.ts
|
|
5301
|
-
import { defineMessages as
|
|
5302
|
-
var back_messages_default =
|
|
5358
|
+
import { defineMessages as defineMessages13 } from "react-intl";
|
|
5359
|
+
var back_messages_default = defineMessages13({
|
|
5303
5360
|
back: {
|
|
5304
5361
|
id: "df.wise.back.label",
|
|
5305
5362
|
defaultMessage: "Back",
|
|
@@ -5310,7 +5367,7 @@ var back_messages_default = defineMessages12({
|
|
|
5310
5367
|
// ../renderers/src/step/topbar/BackButton.tsx
|
|
5311
5368
|
import { jsx as jsx90, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
5312
5369
|
function BackButton({ title, onClick }) {
|
|
5313
|
-
const { formatMessage } =
|
|
5370
|
+
const { formatMessage } = useIntl18();
|
|
5314
5371
|
return /* @__PURE__ */ jsxs32(IconButton, { className: "df-back-button", priority: "tertiary", onClick, children: [
|
|
5315
5372
|
/* @__PURE__ */ jsx90("span", { className: "sr-only", children: title != null ? title : formatMessage(back_messages_default.back) }),
|
|
5316
5373
|
/* @__PURE__ */ jsx90(ArrowLeft, {})
|
|
@@ -6031,11 +6088,11 @@ var customEventsToAnalytics = {
|
|
|
6031
6088
|
|
|
6032
6089
|
// src/dynamicFlow/useOnCopy.tsx
|
|
6033
6090
|
import { useCallback as useCallback2 } from "react";
|
|
6034
|
-
import { useIntl as
|
|
6091
|
+
import { useIntl as useIntl19 } from "react-intl";
|
|
6035
6092
|
|
|
6036
6093
|
// src/dynamicFlow/messages.ts
|
|
6037
|
-
import { defineMessages as
|
|
6038
|
-
var messages_default =
|
|
6094
|
+
import { defineMessages as defineMessages14 } from "react-intl";
|
|
6095
|
+
var messages_default = defineMessages14({
|
|
6039
6096
|
copied: {
|
|
6040
6097
|
id: "df.wise.CopyFeedback.copy",
|
|
6041
6098
|
defaultMessage: "Copied to clipboard",
|
|
@@ -6050,7 +6107,7 @@ var messages_default = defineMessages13({
|
|
|
6050
6107
|
|
|
6051
6108
|
// src/dynamicFlow/useOnCopy.tsx
|
|
6052
6109
|
var useOnCopy = () => {
|
|
6053
|
-
const { formatMessage } =
|
|
6110
|
+
const { formatMessage } = useIntl19();
|
|
6054
6111
|
const createSnackBar = useSnackBarIfAvailable();
|
|
6055
6112
|
return useCallback2(
|
|
6056
6113
|
(copiedContent) => {
|
|
@@ -6066,9 +6123,9 @@ var useOnCopy = () => {
|
|
|
6066
6123
|
|
|
6067
6124
|
// src/dynamicFlow/useWiseHttpClient.tsx
|
|
6068
6125
|
import { useCallback as useCallback3 } from "react";
|
|
6069
|
-
import { useIntl as
|
|
6126
|
+
import { useIntl as useIntl20 } from "react-intl";
|
|
6070
6127
|
var useWiseHttpClient = (httpClient) => {
|
|
6071
|
-
const { locale } =
|
|
6128
|
+
const { locale } = useIntl20();
|
|
6072
6129
|
return useCallback3(
|
|
6073
6130
|
async (input, init = {}) => {
|
|
6074
6131
|
const headers = new Headers(init.headers);
|
|
@@ -6110,10 +6167,10 @@ var useWiseToCoreProps = (props) => {
|
|
|
6110
6167
|
onLog
|
|
6111
6168
|
} = props;
|
|
6112
6169
|
const httpClient = useWiseHttpClient(customFetch);
|
|
6113
|
-
const mergedRenderers =
|
|
6170
|
+
const mergedRenderers = useMemo2(() => getMergedRenderers(props), [renderers]);
|
|
6114
6171
|
const createSnackBar = useCreateSnackBar();
|
|
6115
|
-
const logEvent =
|
|
6116
|
-
const trackEvent =
|
|
6172
|
+
const logEvent = useMemo2(() => getLogEvent(onLog), [onLog]);
|
|
6173
|
+
const trackEvent = useMemo2(() => getTrackEvent(onEvent, onAnalytics), [onEvent, onAnalytics]);
|
|
6117
6174
|
const onCopy = useOnCopy();
|
|
6118
6175
|
return __spreadProps(__spreadValues({}, props), {
|
|
6119
6176
|
httpClient,
|
|
@@ -6206,6 +6263,7 @@ var cs_default = {
|
|
|
6206
6263
|
"df.wise.ArraySchema.minItemsError": "P\u0159idejte alespo\u0148 {minItems}.",
|
|
6207
6264
|
"df.wise.ArraySchema.removeItem": "Odebrat",
|
|
6208
6265
|
"df.wise.ButtonLayout.buttonLoadingMessage": "M\u016F\u017Ee to trvat p\xE1r sekund",
|
|
6266
|
+
"df.wise.Collection.loadMoreMessage": "Na\u010D\xEDst v\xEDce",
|
|
6209
6267
|
"df.wise.ControlFeedback.maxLength": "Zadejte {maxLength} nebo m\xE9n\u011B znak\u016F.",
|
|
6210
6268
|
"df.wise.ControlFeedback.maximum": "Zadejte \u010D\xEDslo, kter\xE9 je {maximum} nebo men\u0161\xED.",
|
|
6211
6269
|
"df.wise.ControlFeedback.maximumDate": "Zadejte datum, kter\xE9 je {maximum} nebo p\u0159edt\xEDm.",
|
|
@@ -6253,6 +6311,7 @@ var de_default = {
|
|
|
6253
6311
|
"df.wise.ArraySchema.minItemsError": "Bitte f\xFCge mindestens {minItems} hinzu.",
|
|
6254
6312
|
"df.wise.ArraySchema.removeItem": "Entfernen",
|
|
6255
6313
|
"df.wise.ButtonLayout.buttonLoadingMessage": "Dies kann ein paar Sekunden dauern",
|
|
6314
|
+
"df.wise.Collection.loadMoreMessage": "Mehr laden",
|
|
6256
6315
|
"df.wise.ControlFeedback.maxLength": "Bitte gib nicht mehr als {maxLength} Zeichen ein.",
|
|
6257
6316
|
"df.wise.ControlFeedback.maximum": "Bitte gib eine Zahl ein, die {maximum} oder weniger betr\xE4gt.",
|
|
6258
6317
|
"df.wise.ControlFeedback.maximumDate": "Bitte gib ein Datum ein, das am oder vor dem {maximum} liegt.",
|
|
@@ -6300,6 +6359,7 @@ var en_default = {
|
|
|
6300
6359
|
"df.wise.ArraySchema.minItemsError": "Please add at least {minItems}.",
|
|
6301
6360
|
"df.wise.ArraySchema.removeItem": "Remove",
|
|
6302
6361
|
"df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
|
|
6362
|
+
"df.wise.Collection.loadMoreMessage": "Load more",
|
|
6303
6363
|
"df.wise.ControlFeedback.maxLength": "Please enter {maxLength} or fewer characters.",
|
|
6304
6364
|
"df.wise.ControlFeedback.maximum": "Please enter a number that's {maximum} or less.",
|
|
6305
6365
|
"df.wise.ControlFeedback.maximumDate": "Please enter a date that's on or before {maximum}.",
|
|
@@ -6347,6 +6407,7 @@ var es_default = {
|
|
|
6347
6407
|
"df.wise.ArraySchema.minItemsError": "A\xF1ade al menos {minItems}.",
|
|
6348
6408
|
"df.wise.ArraySchema.removeItem": "Eliminar",
|
|
6349
6409
|
"df.wise.ButtonLayout.buttonLoadingMessage": "Esto puede tardar unos segundos",
|
|
6410
|
+
"df.wise.Collection.loadMoreMessage": "Cargar m\xE1s",
|
|
6350
6411
|
"df.wise.ControlFeedback.maxLength": "Introduce {maxLength} caracteres o menos.",
|
|
6351
6412
|
"df.wise.ControlFeedback.maximum": "Introduce una cifra igual o inferior a {maximum}.",
|
|
6352
6413
|
"df.wise.ControlFeedback.maximumDate": "Introduce una fecha que sea igual o anterior al {maximum}.",
|
|
@@ -6394,6 +6455,7 @@ var fr_default = {
|
|
|
6394
6455
|
"df.wise.ArraySchema.minItemsError": "Veuillez ajouter au moins {minItems}.",
|
|
6395
6456
|
"df.wise.ArraySchema.removeItem": "Supprimer",
|
|
6396
6457
|
"df.wise.ButtonLayout.buttonLoadingMessage": "Un instant, s'il vous pla\xEEt...",
|
|
6458
|
+
"df.wise.Collection.loadMoreMessage": "Charger plus",
|
|
6397
6459
|
"df.wise.ControlFeedback.maxLength": "Veuillez saisir {maxLength} caract\xE8res ou moins.",
|
|
6398
6460
|
"df.wise.ControlFeedback.maximum": "Veuillez saisir un nombre inf\xE9rieur ou \xE9gal \xE0 {maximum}.",
|
|
6399
6461
|
"df.wise.ControlFeedback.maximumDate": "Veuillez saisir une date \xE9gale ou ant\xE9rieure au {maximum}.",
|
|
@@ -6441,6 +6503,7 @@ var hu_default = {
|
|
|
6441
6503
|
"df.wise.ArraySchema.minItemsError": "K\xE9r\xFCnk, legal\xE1bb {minItems} t\xE9telt adj meg.",
|
|
6442
6504
|
"df.wise.ArraySchema.removeItem": "Elt\xE1vol\xEDt\xE1s",
|
|
6443
6505
|
"df.wise.ButtonLayout.buttonLoadingMessage": "Ez eltarthat n\xE9h\xE1ny m\xE1sodpercig",
|
|
6506
|
+
"df.wise.Collection.loadMoreMessage": "Tov\xE1bbiak bet\xF6lt\xE9se",
|
|
6444
6507
|
"df.wise.ControlFeedback.maxLength": "K\xE9r\xFCnk, legfeljebb {maxLength} karaktert adj meg.",
|
|
6445
6508
|
"df.wise.ControlFeedback.maximum": "K\xE9r\xFCnk, add meg ezt vagy egy enn\xE9l kisebb sz\xE1mot: {maximum}.",
|
|
6446
6509
|
"df.wise.ControlFeedback.maximumDate": "K\xE9r\xFCnk, adj meg egy d\xE1tumot, ami megegyezik {maximum} napj\xE1val, vagy egy enn\xE9l kor\xE1bbit.",
|
|
@@ -6488,6 +6551,7 @@ var id_default = {
|
|
|
6488
6551
|
"df.wise.ArraySchema.minItemsError": "Harap tambahkan setidaknya {minItems}.",
|
|
6489
6552
|
"df.wise.ArraySchema.removeItem": "Hapus",
|
|
6490
6553
|
"df.wise.ButtonLayout.buttonLoadingMessage": "Ini mungkin memakan waktu beberapa detik",
|
|
6554
|
+
"df.wise.Collection.loadMoreMessage": "Muat lebih banyak",
|
|
6491
6555
|
"df.wise.ControlFeedback.maxLength": "Harap masukkan {maxLength} karakter atau kurang.",
|
|
6492
6556
|
"df.wise.ControlFeedback.maximum": "Harap masukkan angka paling besar {maximum} atau kurang dari itu.",
|
|
6493
6557
|
"df.wise.ControlFeedback.maximumDate": "Harap masukkan tanggal pada atau sebelum {maximum}.",
|
|
@@ -6535,6 +6599,7 @@ var it_default = {
|
|
|
6535
6599
|
"df.wise.ArraySchema.minItemsError": "Aggiungi almeno {minItems}.",
|
|
6536
6600
|
"df.wise.ArraySchema.removeItem": "Rimuovi",
|
|
6537
6601
|
"df.wise.ButtonLayout.buttonLoadingMessage": "Potrebbero volerci un paio di secondi",
|
|
6602
|
+
"df.wise.Collection.loadMoreMessage": "Carica altro",
|
|
6538
6603
|
"df.wise.ControlFeedback.maxLength": "Inserisci un massimo di {maxLength} caratteri.",
|
|
6539
6604
|
"df.wise.ControlFeedback.maximum": "Inserisci un numero uguale o inferiore a {maximum}.",
|
|
6540
6605
|
"df.wise.ControlFeedback.maximumDate": "Inserisci una data corrispondente o precedente al {maximum}.",
|
|
@@ -6582,6 +6647,7 @@ var ja_default = {
|
|
|
6582
6647
|
"df.wise.ArraySchema.minItemsError": "{minItems}\u30A2\u30A4\u30C6\u30E0\u4EE5\u4E0A\u3092\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
6583
6648
|
"df.wise.ArraySchema.removeItem": "\u524A\u9664\u3059\u308B",
|
|
6584
6649
|
"df.wise.ButtonLayout.buttonLoadingMessage": "\u6570\u79D2\u304B\u304B\u308B\u5834\u5408\u304C\u3042\u308A\u307E\u3059",
|
|
6650
|
+
"df.wise.Collection.loadMoreMessage": "\u3082\u3063\u3068\u898B\u308B",
|
|
6585
6651
|
"df.wise.ControlFeedback.maxLength": "{maxLength}\u6587\u5B57\u4EE5\u4E0B\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
6586
6652
|
"df.wise.ControlFeedback.maximum": "{maximum}\u4EE5\u4E0B\u306E\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
6587
6653
|
"df.wise.ControlFeedback.maximumDate": "{maximum}\u307E\u305F\u306F\u305D\u308C\u4EE5\u524D\u306E\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
@@ -6629,6 +6695,7 @@ var nl_default = {
|
|
|
6629
6695
|
"df.wise.ArraySchema.minItemsError": "Voeg minimaal {minItems} toe.",
|
|
6630
6696
|
"df.wise.ArraySchema.removeItem": "Verwijderen",
|
|
6631
6697
|
"df.wise.ButtonLayout.buttonLoadingMessage": "Dit kan enkele seconden duren",
|
|
6698
|
+
"df.wise.Collection.loadMoreMessage": "Meer laden",
|
|
6632
6699
|
"df.wise.ControlFeedback.maxLength": "Voer {maxLength} of minder tekens in.",
|
|
6633
6700
|
"df.wise.ControlFeedback.maximum": "Voer een getal in dat {maximum} of lager is.",
|
|
6634
6701
|
"df.wise.ControlFeedback.maximumDate": "Voer een datum in die op of voor {maximum} is.",
|
|
@@ -6676,6 +6743,7 @@ var pl_default = {
|
|
|
6676
6743
|
"df.wise.ArraySchema.minItemsError": "Prosimy doda\u0107 co najmniej {minItems}.",
|
|
6677
6744
|
"df.wise.ArraySchema.removeItem": "Usu\u0144",
|
|
6678
6745
|
"df.wise.ButtonLayout.buttonLoadingMessage": "To mo\u017Ce potrwa\u0107 kilka sekund",
|
|
6746
|
+
"df.wise.Collection.loadMoreMessage": "Za\u0142aduj wi\u0119cej",
|
|
6679
6747
|
"df.wise.ControlFeedback.maxLength": "Prosimy wprowadzi\u0107 do {maxLength} znak\xF3w.",
|
|
6680
6748
|
"df.wise.ControlFeedback.maximum": "Wprowad\u017A liczb\u0119 r\xF3wn\u0105 lub mniejsz\u0105 ni\u017C {maximum}.",
|
|
6681
6749
|
"df.wise.ControlFeedback.maximumDate": "Wprowad\u017A dat\u0119 nie p\xF3\u017Aniejsz\u0105 ni\u017C {maximum}.",
|
|
@@ -6723,6 +6791,7 @@ var pt_default = {
|
|
|
6723
6791
|
"df.wise.ArraySchema.minItemsError": "Adicione pelo menos {minItems}.",
|
|
6724
6792
|
"df.wise.ArraySchema.removeItem": "Remover",
|
|
6725
6793
|
"df.wise.ButtonLayout.buttonLoadingMessage": "Isso pode levar alguns segundos",
|
|
6794
|
+
"df.wise.Collection.loadMoreMessage": "Carregar mais",
|
|
6726
6795
|
"df.wise.ControlFeedback.maxLength": "Por favor, insira {maxLength} caracteres ou menos.",
|
|
6727
6796
|
"df.wise.ControlFeedback.maximum": "Por favor, insira um n\xFAmero que seja {maximum} ou menos.",
|
|
6728
6797
|
"df.wise.ControlFeedback.maximumDate": "Por favor, insira uma data que seja em ou antes de {maximum}.",
|
|
@@ -6770,6 +6839,7 @@ var ro_default = {
|
|
|
6770
6839
|
"df.wise.ArraySchema.minItemsError": "Te rug\u0103m s\u0103 adaugi cel pu\u021Bin {minItems}.",
|
|
6771
6840
|
"df.wise.ArraySchema.removeItem": "Elimin\u0103",
|
|
6772
6841
|
"df.wise.ButtonLayout.buttonLoadingMessage": "Acest lucru ar putea dura c\xE2teva secunde",
|
|
6842
|
+
"df.wise.Collection.loadMoreMessage": "\xCEncarc\u0103 mai multe",
|
|
6773
6843
|
"df.wise.ControlFeedback.maxLength": "Te rug\u0103m s\u0103 introduci {maxLength} sau mai pu\u021Bine caractere.",
|
|
6774
6844
|
"df.wise.ControlFeedback.maximum": "Te rug\u0103m s\u0103 introduci un num\u0103r egal cu {maximum} sau mai mic.",
|
|
6775
6845
|
"df.wise.ControlFeedback.maximumDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 de \xEEnainte de sau egal\u0103 cu {maximum}.",
|
|
@@ -6817,6 +6887,7 @@ var ru_default = {
|
|
|
6817
6887
|
"df.wise.ArraySchema.minItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0434\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u043F\u043E \u043A\u0440\u0430\u0439\u043D\u0435\u0439 \u043C\u0435\u0440\u0435 {minItems}.",
|
|
6818
6888
|
"df.wise.ArraySchema.removeItem": "\u0423\u0434\u0430\u043B\u0438\u0442\u044C",
|
|
6819
6889
|
"df.wise.ButtonLayout.buttonLoadingMessage": "\u042D\u0442\u043E \u043C\u043E\u0436\u0435\u0442 \u0437\u0430\u043D\u044F\u0442\u044C \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0441\u0435\u043A\u0443\u043D\u0434",
|
|
6890
|
+
"df.wise.Collection.loadMoreMessage": "\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0431\u043E\u043B\u044C\u0448\u0435",
|
|
6820
6891
|
"df.wise.ControlFeedback.maxLength": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 {maxLength} \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0438\u043B\u0438 \u043C\u0435\u043D\u044C\u0448\u0435.",
|
|
6821
6892
|
"df.wise.ControlFeedback.maximum": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0447\u0438\u0441\u043B\u043E, \u0440\u0430\u0432\u043D\u043E\u0435 {maximum} \u0438\u043B\u0438 \u043C\u0435\u043D\u044C\u0448\u0435.",
|
|
6822
6893
|
"df.wise.ControlFeedback.maximumDate": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443, \u0440\u0430\u0432\u043D\u0443\u044E {maximum} \u0438\u043B\u0438 \u0431\u043E\u043B\u0435\u0435 \u0440\u0430\u043D\u043D\u044E\u044E.",
|
|
@@ -6864,6 +6935,7 @@ var th_default = {
|
|
|
6864
6935
|
"df.wise.ArraySchema.minItemsError": "\u0E42\u0E1B\u0E23\u0E14\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22 {minItems}",
|
|
6865
6936
|
"df.wise.ArraySchema.removeItem": "\u0E25\u0E1A",
|
|
6866
6937
|
"df.wise.ButtonLayout.buttonLoadingMessage": "\u0E2D\u0E32\u0E08\u0E43\u0E0A\u0E49\u0E40\u0E27\u0E25\u0E32\u0E2A\u0E31\u0E01\u0E2A\u0E2D\u0E07\u0E2A\u0E32\u0E21\u0E27\u0E34\u0E19\u0E32\u0E17\u0E35",
|
|
6938
|
+
"df.wise.Collection.loadMoreMessage": "\u0E42\u0E2B\u0E25\u0E14\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21",
|
|
6867
6939
|
"df.wise.ControlFeedback.maxLength": "\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19 {maxLength} \u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23\u0E2B\u0E23\u0E37\u0E2D\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E19\u0E31\u0E49\u0E19",
|
|
6868
6940
|
"df.wise.ControlFeedback.maximum": "\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02 {maximum} \u0E2B\u0E23\u0E37\u0E2D\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32",
|
|
6869
6941
|
"df.wise.ControlFeedback.maximumDate": "\u0E42\u0E1B\u0E23\u0E14\u0E43\u0E2A\u0E48\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E40\u0E1B\u0E47\u0E19 {maximum} \u0E2B\u0E23\u0E37\u0E2D\u0E01\u0E48\u0E2D\u0E19\u0E2B\u0E19\u0E49\u0E32\u0E19\u0E31\u0E49\u0E19",
|
|
@@ -6911,6 +6983,7 @@ var tr_default = {
|
|
|
6911
6983
|
"df.wise.ArraySchema.minItemsError": "L\xFCtfen en az {minItems} ekleme yap\u0131n.",
|
|
6912
6984
|
"df.wise.ArraySchema.removeItem": "Kald\u0131r",
|
|
6913
6985
|
"df.wise.ButtonLayout.buttonLoadingMessage": "Bu birka\xE7 saniye s\xFCrebilir",
|
|
6986
|
+
"df.wise.Collection.loadMoreMessage": "Daha fazla y\xFCkle",
|
|
6914
6987
|
"df.wise.ControlFeedback.maxLength": "L\xFCtfen {maxLength} veya daha az karakter girin.",
|
|
6915
6988
|
"df.wise.ControlFeedback.maximum": "L\xFCtfen {maximum} veya daha d\xFC\u015F\xFCk bir say\u0131 girin.",
|
|
6916
6989
|
"df.wise.ControlFeedback.maximumDate": "L\xFCtfen {maximum} veya daha erken bir tarih girin.",
|
|
@@ -6958,6 +7031,7 @@ var zh_CN_default = {
|
|
|
6958
7031
|
"df.wise.ArraySchema.minItemsError": "\u8BF7\u81F3\u5C11\u6DFB\u52A0 {minItems} \u9879\u3002",
|
|
6959
7032
|
"df.wise.ArraySchema.removeItem": "\u79FB\u9664",
|
|
6960
7033
|
"df.wise.ButtonLayout.buttonLoadingMessage": "\u6B64\u8FC7\u7A0B\u53EF\u80FD\u9700\u8981\u51E0\u79D2\u949F",
|
|
7034
|
+
"df.wise.Collection.loadMoreMessage": "\u52A0\u8F7D\u66F4\u591A",
|
|
6961
7035
|
"df.wise.ControlFeedback.maxLength": "\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC7 {maxLength} \u4E2A\u5B57\u7B26\u3002",
|
|
6962
7036
|
"df.wise.ControlFeedback.maximum": "\u8BF7\u8F93\u5165\u4E00\u4E2A\u5C0F\u4E8E\u6216\u7B49\u4E8E {maximum} \u7684\u6570\u5B57\u3002",
|
|
6963
7037
|
"df.wise.ControlFeedback.maximumDate": "\u8BF7\u8F93\u5165 {maximum} \u6216\u4E4B\u524D\u7684\u65E5\u671F",
|
|
@@ -7005,6 +7079,7 @@ var zh_HK_default = {
|
|
|
7005
7079
|
"df.wise.ArraySchema.minItemsError": "\u8ACB\u81F3\u5C11\u6DFB\u52A0{minItems}\u9805\u3002",
|
|
7006
7080
|
"df.wise.ArraySchema.removeItem": "\u79FB\u9664",
|
|
7007
7081
|
"df.wise.ButtonLayout.buttonLoadingMessage": "\u6B64\u7A0B\u5E8F\u53EF\u80FD\u9700\u6642\u5E7E\u79D2",
|
|
7082
|
+
"df.wise.Collection.loadMoreMessage": "\u8F09\u5165\u66F4\u591A",
|
|
7008
7083
|
"df.wise.ControlFeedback.maxLength": "\u8ACB\u8F38\u5165\u6700\u591A{maxLength}\u500B\u5B57\u5143\u3002",
|
|
7009
7084
|
"df.wise.ControlFeedback.maximum": "\u8ACB\u8F38\u5165\u4E00\u500B\u5C0F\u65BC\u6216\u7B49\u65BC{maximum}\u7684\u6578\u5B57\u3002",
|
|
7010
7085
|
"df.wise.ControlFeedback.maximumDate": "\u8ACB\u8F38\u5165{maximum}\u6216\u4E4B\u524D\u7684\u65E5\u671F\u3002",
|