@wise/dynamic-flow-client-internal 5.25.3 → 5.27.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 +178 -100
- package/build/main.mjs +182 -104
- package/build/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +6 -6
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.27.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",
|
|
@@ -2429,15 +2469,31 @@ var useIsElementVisible = (elementRef) => {
|
|
|
2429
2469
|
useEffect6(() => {
|
|
2430
2470
|
const element = elementRef.current;
|
|
2431
2471
|
if (!element) return;
|
|
2432
|
-
const observer = new IntersectionObserver(
|
|
2433
|
-
|
|
2434
|
-
|
|
2472
|
+
const observer = new IntersectionObserver(
|
|
2473
|
+
([entry]) => {
|
|
2474
|
+
setIsVisible(entry.isIntersecting);
|
|
2475
|
+
},
|
|
2476
|
+
{ rootMargin: "1px" }
|
|
2477
|
+
);
|
|
2435
2478
|
observer.observe(element);
|
|
2436
2479
|
return () => observer.disconnect();
|
|
2437
2480
|
}, [elementRef]);
|
|
2438
2481
|
return isVisible;
|
|
2439
2482
|
};
|
|
2440
2483
|
|
|
2484
|
+
// ../renderers/src/CollectionRenderer/components/ContentComponent.tsx
|
|
2485
|
+
import { useIntl as useIntl4 } from "react-intl";
|
|
2486
|
+
|
|
2487
|
+
// ../renderers/src/messages/collection.messages.ts
|
|
2488
|
+
import { defineMessages as defineMessages5 } from "react-intl";
|
|
2489
|
+
var collection_messages_default = defineMessages5({
|
|
2490
|
+
loadMoreButton: {
|
|
2491
|
+
id: "df.wise.Collection.loadMoreMessage",
|
|
2492
|
+
defaultMessage: "Load more",
|
|
2493
|
+
description: "A message shown on a button to load more items in a list."
|
|
2494
|
+
}
|
|
2495
|
+
});
|
|
2496
|
+
|
|
2441
2497
|
// ../renderers/src/CollectionRenderer/components/ContentComponent.tsx
|
|
2442
2498
|
import { jsx as jsx33, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
2443
2499
|
var ContentComponent = (props) => {
|
|
@@ -2445,11 +2501,11 @@ var ContentComponent = (props) => {
|
|
|
2445
2501
|
const endOfContentRef = useRef3(null);
|
|
2446
2502
|
const isBottomVisible = useIsElementVisible(endOfContentRef);
|
|
2447
2503
|
useEffect7(() => {
|
|
2448
|
-
|
|
2449
|
-
if (
|
|
2450
|
-
|
|
2504
|
+
const shouldAutoLoad = isBottomVisible && status.type === "idle" && state.afterSectionsProps.length === 0;
|
|
2505
|
+
if (shouldAutoLoad && status.loadMore) {
|
|
2506
|
+
status.loadMore();
|
|
2451
2507
|
}
|
|
2452
|
-
}, [isBottomVisible, status]);
|
|
2508
|
+
}, [isBottomVisible, state.afterSectionsProps.length, status]);
|
|
2453
2509
|
const stateCount = state.sections.reduce(
|
|
2454
2510
|
(total, section) => section.items.length + total + (section.title ? 1 : 0),
|
|
2455
2511
|
0
|
|
@@ -2460,7 +2516,8 @@ var ContentComponent = (props) => {
|
|
|
2460
2516
|
type: "header",
|
|
2461
2517
|
title: section.title,
|
|
2462
2518
|
items: section.items,
|
|
2463
|
-
id: section.id
|
|
2519
|
+
id: section.id,
|
|
2520
|
+
callToAction: section.callToAction
|
|
2464
2521
|
}
|
|
2465
2522
|
] : [],
|
|
2466
2523
|
...section.items.map((item) => ({
|
|
@@ -2515,13 +2572,32 @@ var ContentComponent = (props) => {
|
|
|
2515
2572
|
})
|
|
2516
2573
|
}
|
|
2517
2574
|
),
|
|
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
|
-
] }),
|
|
2575
|
+
/* @__PURE__ */ jsx33("div", { ref: endOfContentRef, className: "d-flex m-x-auto m-y-2", children: /* @__PURE__ */ jsx33(PaginationComponent, { status, state }) }),
|
|
2522
2576
|
state.afterSections
|
|
2523
2577
|
] });
|
|
2524
2578
|
};
|
|
2579
|
+
var PaginationComponent = ({
|
|
2580
|
+
status,
|
|
2581
|
+
state
|
|
2582
|
+
}) => {
|
|
2583
|
+
const isPaginationError = status.type === "error" && status.reason === "pagination";
|
|
2584
|
+
const isPaginationLoading = status.type === "loading" && status.reason === "pagination";
|
|
2585
|
+
const loadMore = status.type === "idle" ? status.loadMore : void 0;
|
|
2586
|
+
if (!isPaginationError && !isPaginationLoading && !loadMore) {
|
|
2587
|
+
return null;
|
|
2588
|
+
}
|
|
2589
|
+
if (isPaginationError) {
|
|
2590
|
+
return /* @__PURE__ */ jsx33(LoadMoreButton, { onClick: status.retry });
|
|
2591
|
+
}
|
|
2592
|
+
if (state.afterSectionsProps.length > 0 && loadMore) {
|
|
2593
|
+
return /* @__PURE__ */ jsx33(LoadMoreButton, { onClick: loadMore });
|
|
2594
|
+
}
|
|
2595
|
+
return /* @__PURE__ */ jsx33(ProcessIndicator, { size: "xs", "data-testid": "collection-pagination-loader" });
|
|
2596
|
+
};
|
|
2597
|
+
var LoadMoreButton = ({ onClick }) => {
|
|
2598
|
+
const { formatMessage } = useIntl4();
|
|
2599
|
+
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) }) });
|
|
2600
|
+
};
|
|
2525
2601
|
|
|
2526
2602
|
// ../renderers/src/CollectionRenderer/components/FilterComponent.tsx
|
|
2527
2603
|
import { Chips } from "@transferwise/components";
|
|
@@ -2630,6 +2706,7 @@ var ItemComponent = (props) => {
|
|
|
2630
2706
|
description,
|
|
2631
2707
|
supportingValues,
|
|
2632
2708
|
media,
|
|
2709
|
+
disabled,
|
|
2633
2710
|
additionalInfo,
|
|
2634
2711
|
inlineAlert,
|
|
2635
2712
|
href,
|
|
@@ -2648,14 +2725,14 @@ var ItemComponent = (props) => {
|
|
|
2648
2725
|
{
|
|
2649
2726
|
title,
|
|
2650
2727
|
subtitle: description,
|
|
2728
|
+
disabled,
|
|
2651
2729
|
valueTitle: supportingValues == null ? void 0 : supportingValues.value,
|
|
2652
2730
|
valueSubtitle: supportingValues == null ? void 0 : supportingValues.subvalue,
|
|
2653
2731
|
media: getMedia(media, shouldUseAvatar(control, parentTags)),
|
|
2654
2732
|
prompt: getInlineAlert(inlineAlert),
|
|
2655
2733
|
additionalInfo: getAdditionalInfo(additionalInfo),
|
|
2656
2734
|
control: onClick || href ? getNavigationControl(onClick, href) : getCTAControl(callToAction, controlOptions)
|
|
2657
|
-
}
|
|
2658
|
-
title
|
|
2735
|
+
}
|
|
2659
2736
|
);
|
|
2660
2737
|
};
|
|
2661
2738
|
var getNavigationControl = (onClick, href) => {
|
|
@@ -2690,7 +2767,7 @@ var SearchComponent = ({ state, status, features }) => {
|
|
|
2690
2767
|
InputGroup,
|
|
2691
2768
|
{
|
|
2692
2769
|
addonStart: { content: /* @__PURE__ */ jsx38(Search, { size: 24 }) },
|
|
2693
|
-
addonEnd: status.type === "loading" ? { content: /* @__PURE__ */ jsx38(ProcessIndicator2, { size: "xs" }) } : void 0,
|
|
2770
|
+
addonEnd: status.type === "loading" ? { content: /* @__PURE__ */ jsx38(ProcessIndicator2, { size: "xs", "data-testid": "collection-search-loader" }) } : void 0,
|
|
2694
2771
|
children: /* @__PURE__ */ jsx38(
|
|
2695
2772
|
Input,
|
|
2696
2773
|
{
|
|
@@ -2739,17 +2816,22 @@ var createCollectionRenderer = (canRender, components) => {
|
|
|
2739
2816
|
};
|
|
2740
2817
|
|
|
2741
2818
|
// ../renderers/src/CollectionRenderer/CollectionRenderer.tsx
|
|
2819
|
+
import { useIntl as useIntl5 } from "react-intl";
|
|
2742
2820
|
import { Fragment as Fragment3, jsx as jsx41, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
2743
2821
|
var CollectionRendererComponent = (props) => {
|
|
2744
2822
|
const { status, Search: Search4, Filters, Results } = props;
|
|
2745
2823
|
return /* @__PURE__ */ jsxs7(Fragment3, { children: [
|
|
2746
2824
|
/* @__PURE__ */ jsx41(Search4, __spreadValues({}, props)),
|
|
2747
2825
|
/* @__PURE__ */ jsx41(Filters, __spreadValues({}, props)),
|
|
2748
|
-
status.type === "
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2826
|
+
status.type === "error" && status.reason === "search" ? /* @__PURE__ */ jsx41(SearchError, { retry: status.retry }) : /* @__PURE__ */ jsx41(Results, __spreadValues({}, props))
|
|
2827
|
+
] });
|
|
2828
|
+
};
|
|
2829
|
+
var SearchError = ({ retry }) => {
|
|
2830
|
+
const { formatMessage } = useIntl5();
|
|
2831
|
+
return /* @__PURE__ */ jsxs7(InlinePrompt, { width: "full", sentiment: "negative", children: [
|
|
2832
|
+
formatMessage(generic_error_messages_default.genericError),
|
|
2833
|
+
"\xA0",
|
|
2834
|
+
/* @__PURE__ */ jsx41(DSLink, { onClick: retry, children: formatMessage(generic_error_messages_default.retry) })
|
|
2753
2835
|
] });
|
|
2754
2836
|
};
|
|
2755
2837
|
var CollectionRenderer = createCollectionRenderer(() => true);
|
|
@@ -2939,11 +3021,11 @@ import { ListItem as ListItem7 } from "@transferwise/components";
|
|
|
2939
3021
|
// ../renderers/src/DecisionRenderer/DecisionWrapper.tsx
|
|
2940
3022
|
import { Header as Header3, SearchInput } from "@transferwise/components";
|
|
2941
3023
|
import { useState as useState9 } from "react";
|
|
2942
|
-
import { useIntl as
|
|
3024
|
+
import { useIntl as useIntl7 } from "react-intl";
|
|
2943
3025
|
|
|
2944
3026
|
// ../renderers/src/messages/filter.messages.ts
|
|
2945
|
-
import { defineMessages as
|
|
2946
|
-
var filter_messages_default =
|
|
3027
|
+
import { defineMessages as defineMessages6 } from "react-intl";
|
|
3028
|
+
var filter_messages_default = defineMessages6({
|
|
2947
3029
|
placeholder: {
|
|
2948
3030
|
id: "df.wise.filter.placeholder",
|
|
2949
3031
|
defaultMessage: "Start typing to search",
|
|
@@ -3010,11 +3092,11 @@ var normalizeAndRemoveAccents = (text) => text.trim().toLowerCase().normalize("N
|
|
|
3010
3092
|
|
|
3011
3093
|
// ../renderers/src/DecisionRenderer/GroupedDecisionList.tsx
|
|
3012
3094
|
import { Header as Header2, Section } from "@transferwise/components";
|
|
3013
|
-
import { useIntl as
|
|
3095
|
+
import { useIntl as useIntl6 } from "react-intl";
|
|
3014
3096
|
|
|
3015
3097
|
// ../renderers/src/messages/group.messages.ts
|
|
3016
|
-
import { defineMessages as
|
|
3017
|
-
var group_messages_default =
|
|
3098
|
+
import { defineMessages as defineMessages7 } from "react-intl";
|
|
3099
|
+
var group_messages_default = defineMessages7({
|
|
3018
3100
|
all: {
|
|
3019
3101
|
id: "df.wise.group.all",
|
|
3020
3102
|
defaultMessage: "All",
|
|
@@ -3055,7 +3137,7 @@ var isGroupedDecision = (options) => {
|
|
|
3055
3137
|
};
|
|
3056
3138
|
var GroupedDecisionList = (_a) => {
|
|
3057
3139
|
var _b = _a, { renderDecisionList: renderDecisionList2 } = _b, rest = __objRest(_b, ["renderDecisionList"]);
|
|
3058
|
-
const { formatMessage } =
|
|
3140
|
+
const { formatMessage } = useIntl6();
|
|
3059
3141
|
const { options } = rest;
|
|
3060
3142
|
const itemsByTag = [...getGroupsFromTags(groupingTags, options), { tag: "all", items: options }];
|
|
3061
3143
|
return /* @__PURE__ */ jsx45(Fragment4, { children: itemsByTag.map(({ tag, items }) => /* @__PURE__ */ jsxs9(Section, { children: [
|
|
@@ -3084,7 +3166,7 @@ var UnfilteredDecisionList = (_a) => {
|
|
|
3084
3166
|
return isGroupedDecision(rest.options) ? /* @__PURE__ */ jsx46(GroupedDecisionList, __spreadProps(__spreadValues({}, rest), { renderDecisionList: renderDecisionList2 })) : renderDecisionList2(rest);
|
|
3085
3167
|
};
|
|
3086
3168
|
var FilteredDecisionList = (props) => {
|
|
3087
|
-
const { formatMessage } =
|
|
3169
|
+
const { formatMessage } = useIntl7();
|
|
3088
3170
|
const [query, setQuery] = useState9("");
|
|
3089
3171
|
const { control, options, renderDecisionList: renderDecisionList2 } = props;
|
|
3090
3172
|
const filteredOptions = (query == null ? void 0 : query.length) > 0 ? filterAndSortItems(options, query) : options;
|
|
@@ -3176,8 +3258,8 @@ var DividerRenderer_default = DividerRenderer;
|
|
|
3176
3258
|
import { Button as Button5, Markdown as Markdown3, Modal } from "@transferwise/components";
|
|
3177
3259
|
|
|
3178
3260
|
// ../renderers/src/messages/external-confirmation.messages.ts
|
|
3179
|
-
import { defineMessages as
|
|
3180
|
-
var external_confirmation_messages_default =
|
|
3261
|
+
import { defineMessages as defineMessages8 } from "react-intl";
|
|
3262
|
+
var external_confirmation_messages_default = defineMessages8({
|
|
3181
3263
|
title: {
|
|
3182
3264
|
id: "df.wise.ExternalConfirmation.title",
|
|
3183
3265
|
defaultMessage: "Please confirm",
|
|
@@ -3201,7 +3283,7 @@ var external_confirmation_messages_default = defineMessages6({
|
|
|
3201
3283
|
});
|
|
3202
3284
|
|
|
3203
3285
|
// ../renderers/src/ExternalConfirmationRenderer.tsx
|
|
3204
|
-
import { useIntl as
|
|
3286
|
+
import { useIntl as useIntl8 } from "react-intl";
|
|
3205
3287
|
import { useEffect as useEffect9 } from "react";
|
|
3206
3288
|
import { Fragment as Fragment7, jsx as jsx49, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
3207
3289
|
var ExternalConfirmationRenderer = {
|
|
@@ -3214,7 +3296,7 @@ function ExternalConfirmationRendererComponent({
|
|
|
3214
3296
|
open,
|
|
3215
3297
|
onCancel
|
|
3216
3298
|
}) {
|
|
3217
|
-
const { formatMessage } =
|
|
3299
|
+
const { formatMessage } = useIntl8();
|
|
3218
3300
|
useEffect9(() => {
|
|
3219
3301
|
open();
|
|
3220
3302
|
}, []);
|
|
@@ -3681,7 +3763,7 @@ var ModalRenderer = {
|
|
|
3681
3763
|
// ../renderers/src/MoneyInputRenderer.tsx
|
|
3682
3764
|
import { MoneyInput } from "@transferwise/components";
|
|
3683
3765
|
import { useEffect as useEffect11 } from "react";
|
|
3684
|
-
import { useIntl as
|
|
3766
|
+
import { useIntl as useIntl9 } from "react-intl";
|
|
3685
3767
|
import { jsx as jsx64 } from "react/jsx-runtime";
|
|
3686
3768
|
var groupingTags2 = Object.keys(group_messages_default).filter((key) => key !== "all");
|
|
3687
3769
|
var MoneyInputRenderer = {
|
|
@@ -3708,7 +3790,7 @@ function MoneyInputRendererComponent(props) {
|
|
|
3708
3790
|
onCurrencyChange(0);
|
|
3709
3791
|
}
|
|
3710
3792
|
}, [selectedCurrencyIndex, onCurrencyChange, currencies.length]);
|
|
3711
|
-
const { formatMessage } =
|
|
3793
|
+
const { formatMessage } = useIntl9();
|
|
3712
3794
|
return /* @__PURE__ */ jsx64(
|
|
3713
3795
|
FieldInput_default,
|
|
3714
3796
|
{
|
|
@@ -3782,7 +3864,7 @@ function assertCurrencyCodeIsString(currencyCode) {
|
|
|
3782
3864
|
// ../renderers/src/MultiSelectInputRenderer/InlineComponent.tsx
|
|
3783
3865
|
import { ListItem as ListItem9, SearchInput as SearchInput2 } from "@transferwise/components";
|
|
3784
3866
|
import { useState as useState12 } from "react";
|
|
3785
|
-
import { useIntl as
|
|
3867
|
+
import { useIntl as useIntl10 } from "react-intl";
|
|
3786
3868
|
|
|
3787
3869
|
// ../renderers/src/utils/items-with-index.ts
|
|
3788
3870
|
var zipWithIndex = (items) => items.map((item, index) => __spreadProps(__spreadValues({}, item), {
|
|
@@ -3807,7 +3889,7 @@ function InlineComponent(props) {
|
|
|
3807
3889
|
} = props;
|
|
3808
3890
|
const optionsWithIndex = zipWithIndex(options);
|
|
3809
3891
|
const [query, setQuery] = useState12("");
|
|
3810
|
-
const { formatMessage } =
|
|
3892
|
+
const { formatMessage } = useIntl10();
|
|
3811
3893
|
const filtered = tags == null ? void 0 : tags.includes("filtered");
|
|
3812
3894
|
const filteredOptions = query ? filterAndSortItems(optionsWithIndex, filtered ? query : "") : optionsWithIndex;
|
|
3813
3895
|
return /* @__PURE__ */ jsxs16(Fragment8, { children: [
|
|
@@ -3880,11 +3962,11 @@ function InlineComponent(props) {
|
|
|
3880
3962
|
// ../renderers/src/MultiSelectInputRenderer/DefaultComponent.tsx
|
|
3881
3963
|
import { SelectInput, SelectInputOptionContent } from "@transferwise/components";
|
|
3882
3964
|
import { useState as useState13 } from "react";
|
|
3883
|
-
import { useIntl as
|
|
3965
|
+
import { useIntl as useIntl11 } from "react-intl";
|
|
3884
3966
|
|
|
3885
3967
|
// ../renderers/src/messages/multi-select.messages.ts
|
|
3886
|
-
import { defineMessages as
|
|
3887
|
-
var multi_select_messages_default =
|
|
3968
|
+
import { defineMessages as defineMessages9 } from "react-intl";
|
|
3969
|
+
var multi_select_messages_default = defineMessages9({
|
|
3888
3970
|
summary: {
|
|
3889
3971
|
id: "df.wise.MultiSelect.summary",
|
|
3890
3972
|
defaultMessage: "{first} and {count} more",
|
|
@@ -3895,7 +3977,7 @@ var multi_select_messages_default = defineMessages7({
|
|
|
3895
3977
|
// ../renderers/src/MultiSelectInputRenderer/DefaultComponent.tsx
|
|
3896
3978
|
import { jsx as jsx66 } from "react/jsx-runtime";
|
|
3897
3979
|
function DefaultComponent(props) {
|
|
3898
|
-
const { formatMessage } =
|
|
3980
|
+
const { formatMessage } = useIntl11();
|
|
3899
3981
|
const [stagedIndices, setStagedIndices] = useState13();
|
|
3900
3982
|
const {
|
|
3901
3983
|
id,
|
|
@@ -4228,7 +4310,7 @@ var NumberInputRenderer = {
|
|
|
4228
4310
|
var NumberInputRenderer_default = NumberInputRenderer;
|
|
4229
4311
|
|
|
4230
4312
|
// ../renderers/src/ParagraphRenderer.tsx
|
|
4231
|
-
import { useIntl as
|
|
4313
|
+
import { useIntl as useIntl12 } from "react-intl";
|
|
4232
4314
|
|
|
4233
4315
|
// ../renderers/src/hooks/useSnackBarIfAvailable.ts
|
|
4234
4316
|
import { SnackbarContext } from "@transferwise/components";
|
|
@@ -4244,8 +4326,8 @@ var import_classnames6 = __toESM(require_classnames());
|
|
|
4244
4326
|
import { Button as Button7, Input as Input4 } from "@transferwise/components";
|
|
4245
4327
|
|
|
4246
4328
|
// ../renderers/src/messages/paragraph.messages.ts
|
|
4247
|
-
import { defineMessages as
|
|
4248
|
-
var paragraph_messages_default =
|
|
4329
|
+
import { defineMessages as defineMessages10 } from "react-intl";
|
|
4330
|
+
var paragraph_messages_default = defineMessages10({
|
|
4249
4331
|
copy: {
|
|
4250
4332
|
id: "df.wise.DynamicParagraph.copy",
|
|
4251
4333
|
defaultMessage: "Copy",
|
|
@@ -4279,7 +4361,7 @@ function CopyableParagraph({
|
|
|
4279
4361
|
align,
|
|
4280
4362
|
className
|
|
4281
4363
|
}) {
|
|
4282
|
-
const { formatMessage } =
|
|
4364
|
+
const { formatMessage } = useIntl12();
|
|
4283
4365
|
const createSnackbar = useSnackBarIfAvailable();
|
|
4284
4366
|
const copy = () => {
|
|
4285
4367
|
navigator.clipboard.writeText(text).then(() => createSnackbar({ text: formatMessage(paragraph_messages_default.copied) })).catch(() => {
|
|
@@ -4329,11 +4411,11 @@ var import_classnames7 = __toESM(require_classnames());
|
|
|
4329
4411
|
import { Button as Button8, Header as Header6, InlineAlert as InlineAlert3, Modal as Modal4, NavigationOption } from "@transferwise/components";
|
|
4330
4412
|
import { Plus } from "@transferwise/icons";
|
|
4331
4413
|
import { useState as useState14 } from "react";
|
|
4332
|
-
import { useIntl as
|
|
4414
|
+
import { useIntl as useIntl13 } from "react-intl";
|
|
4333
4415
|
|
|
4334
4416
|
// ../renderers/src/messages/repeatable.messages.ts
|
|
4335
|
-
import { defineMessages as
|
|
4336
|
-
var repeatable_messages_default =
|
|
4417
|
+
import { defineMessages as defineMessages11 } from "react-intl";
|
|
4418
|
+
var repeatable_messages_default = defineMessages11({
|
|
4337
4419
|
addItemTitle: {
|
|
4338
4420
|
id: "df.wise.ArraySchema.addItemTitle",
|
|
4339
4421
|
defaultMessage: "Add Item",
|
|
@@ -4377,7 +4459,7 @@ function Repeatable(props) {
|
|
|
4377
4459
|
onSave,
|
|
4378
4460
|
onRemove
|
|
4379
4461
|
} = props;
|
|
4380
|
-
const { formatMessage } =
|
|
4462
|
+
const { formatMessage } = useIntl13();
|
|
4381
4463
|
const [openModalType, setOpenModalType] = useState14(null);
|
|
4382
4464
|
const { ref } = useScrollToError(validationState, features);
|
|
4383
4465
|
const onAddItem = () => {
|
|
@@ -4531,7 +4613,7 @@ var getFieldLabel = (label, help, onClick) => {
|
|
|
4531
4613
|
// ../renderers/src/ReviewRenderer.tsx
|
|
4532
4614
|
import { ListItem as ListItem10, Markdown as Markdown5, Popover } from "@transferwise/components";
|
|
4533
4615
|
import { QuestionMarkCircle } from "@transferwise/icons";
|
|
4534
|
-
import { useIntl as
|
|
4616
|
+
import { useIntl as useIntl14 } from "react-intl";
|
|
4535
4617
|
import { jsx as jsx76, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
4536
4618
|
var IGNORED_CONTROLS = [
|
|
4537
4619
|
"horizontal",
|
|
@@ -4553,7 +4635,7 @@ var Review = ({
|
|
|
4553
4635
|
title,
|
|
4554
4636
|
trackEvent
|
|
4555
4637
|
}) => {
|
|
4556
|
-
const intl =
|
|
4638
|
+
const intl = useIntl14();
|
|
4557
4639
|
return /* @__PURE__ */ jsxs21("div", { className: getMargin(margin), children: [
|
|
4558
4640
|
/* @__PURE__ */ jsx76(Header, { title, callToAction }),
|
|
4559
4641
|
fields.map((field) => {
|
|
@@ -4601,11 +4683,11 @@ var ReviewRenderer_default = ReviewRenderer2;
|
|
|
4601
4683
|
// ../renderers/src/SearchRenderer/BlockSearchRendererComponent.tsx
|
|
4602
4684
|
import { Input as Input5, InputGroup as InputGroup4, List, ListItem as ListItem11, Markdown as Markdown6 } from "@transferwise/components";
|
|
4603
4685
|
import { useState as useState15 } from "react";
|
|
4604
|
-
import { useIntl as
|
|
4686
|
+
import { useIntl as useIntl16 } from "react-intl";
|
|
4605
4687
|
|
|
4606
4688
|
// ../renderers/src/messages/search.messages.ts
|
|
4607
|
-
import { defineMessages as
|
|
4608
|
-
var search_messages_default =
|
|
4689
|
+
import { defineMessages as defineMessages12 } from "react-intl";
|
|
4690
|
+
var search_messages_default = defineMessages12({
|
|
4609
4691
|
loading: {
|
|
4610
4692
|
id: "df.wise.SearchLayout.loading",
|
|
4611
4693
|
defaultMessage: "Loading...",
|
|
@@ -4614,33 +4696,11 @@ var search_messages_default = defineMessages10({
|
|
|
4614
4696
|
});
|
|
4615
4697
|
|
|
4616
4698
|
// ../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
|
|
4699
|
+
import { useIntl as useIntl15 } from "react-intl";
|
|
4640
4700
|
import { Link as DSLink2 } from "@transferwise/components";
|
|
4641
4701
|
import { jsx as jsx77, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
4642
4702
|
function ErrorResult({ state }) {
|
|
4643
|
-
const intl =
|
|
4703
|
+
const intl = useIntl15();
|
|
4644
4704
|
return /* @__PURE__ */ jsxs22("p", { className: "m-t-2", children: [
|
|
4645
4705
|
intl.formatMessage(generic_error_messages_default.genericError),
|
|
4646
4706
|
"\xA0",
|
|
@@ -4664,7 +4724,7 @@ function BlockSearchRendererComponent({
|
|
|
4664
4724
|
onChange
|
|
4665
4725
|
}) {
|
|
4666
4726
|
const [hasSearched, setHasSearched] = useState15(false);
|
|
4667
|
-
const { formatMessage } =
|
|
4727
|
+
const { formatMessage } = useIntl16();
|
|
4668
4728
|
return /* @__PURE__ */ jsxs23("div", { className: getMargin(margin), children: [
|
|
4669
4729
|
/* @__PURE__ */ jsx78(
|
|
4670
4730
|
FieldInput_default,
|
|
@@ -4757,7 +4817,7 @@ var BlockSearchRendererComponent_default = BlockSearchRendererComponent;
|
|
|
4757
4817
|
import { Markdown as Markdown7, Typeahead } from "@transferwise/components";
|
|
4758
4818
|
import { Search as Search3 } from "@transferwise/icons";
|
|
4759
4819
|
import { useState as useState16 } from "react";
|
|
4760
|
-
import { useIntl as
|
|
4820
|
+
import { useIntl as useIntl17 } from "react-intl";
|
|
4761
4821
|
import { jsx as jsx79 } from "react/jsx-runtime";
|
|
4762
4822
|
function InlineSearchRenderer({
|
|
4763
4823
|
id,
|
|
@@ -4771,7 +4831,7 @@ function InlineSearchRenderer({
|
|
|
4771
4831
|
trackEvent
|
|
4772
4832
|
}) {
|
|
4773
4833
|
const [hasSearched, setHasSearched] = useState16(false);
|
|
4774
|
-
const intl =
|
|
4834
|
+
const intl = useIntl17();
|
|
4775
4835
|
return /* @__PURE__ */ jsx79("div", { className: getMargin(margin), children: /* @__PURE__ */ jsx79(
|
|
4776
4836
|
FieldInput_default,
|
|
4777
4837
|
{
|
|
@@ -4830,7 +4890,7 @@ function mapResultToTypeaheadOption(result) {
|
|
|
4830
4890
|
};
|
|
4831
4891
|
}
|
|
4832
4892
|
function TypeaheadFooter({ state, isLoading }) {
|
|
4833
|
-
const { formatMessage } =
|
|
4893
|
+
const { formatMessage } = useIntl17();
|
|
4834
4894
|
if (state.type === "layout") {
|
|
4835
4895
|
return /* @__PURE__ */ jsx79("div", { className: "m-x-1 m-y-1", children: state.layout });
|
|
4836
4896
|
}
|
|
@@ -5259,11 +5319,11 @@ var StatusListRenderer_default = StatusListRenderer;
|
|
|
5259
5319
|
|
|
5260
5320
|
// ../renderers/src/utils/useCustomTheme.ts
|
|
5261
5321
|
import { useTheme } from "@wise/components-theming";
|
|
5262
|
-
import { useEffect as useEffect14, useMemo
|
|
5322
|
+
import { useEffect as useEffect14, useMemo } from "react";
|
|
5263
5323
|
var ThemeRequiredEventName = "Theme Required";
|
|
5264
5324
|
var useCustomTheme = (theme, trackEvent) => {
|
|
5265
5325
|
const theming = useTheme();
|
|
5266
|
-
const previousTheme =
|
|
5326
|
+
const previousTheme = useMemo(() => theming.theme, []);
|
|
5267
5327
|
useEffect14(() => {
|
|
5268
5328
|
theming.setTheme(theme);
|
|
5269
5329
|
trackEvent(ThemeRequiredEventName, { theme });
|
|
@@ -5295,11 +5355,11 @@ var getHeaderStyle = (tags) => {
|
|
|
5295
5355
|
// ../renderers/src/step/topbar/BackButton.tsx
|
|
5296
5356
|
import { IconButton } from "@transferwise/components";
|
|
5297
5357
|
import { ArrowLeft } from "@transferwise/icons";
|
|
5298
|
-
import { useIntl as
|
|
5358
|
+
import { useIntl as useIntl18 } from "react-intl";
|
|
5299
5359
|
|
|
5300
5360
|
// ../renderers/src/messages/back.messages.ts
|
|
5301
|
-
import { defineMessages as
|
|
5302
|
-
var back_messages_default =
|
|
5361
|
+
import { defineMessages as defineMessages13 } from "react-intl";
|
|
5362
|
+
var back_messages_default = defineMessages13({
|
|
5303
5363
|
back: {
|
|
5304
5364
|
id: "df.wise.back.label",
|
|
5305
5365
|
defaultMessage: "Back",
|
|
@@ -5310,7 +5370,7 @@ var back_messages_default = defineMessages12({
|
|
|
5310
5370
|
// ../renderers/src/step/topbar/BackButton.tsx
|
|
5311
5371
|
import { jsx as jsx90, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
5312
5372
|
function BackButton({ title, onClick }) {
|
|
5313
|
-
const { formatMessage } =
|
|
5373
|
+
const { formatMessage } = useIntl18();
|
|
5314
5374
|
return /* @__PURE__ */ jsxs32(IconButton, { className: "df-back-button", priority: "tertiary", onClick, children: [
|
|
5315
5375
|
/* @__PURE__ */ jsx90("span", { className: "sr-only", children: title != null ? title : formatMessage(back_messages_default.back) }),
|
|
5316
5376
|
/* @__PURE__ */ jsx90(ArrowLeft, {})
|
|
@@ -6031,11 +6091,11 @@ var customEventsToAnalytics = {
|
|
|
6031
6091
|
|
|
6032
6092
|
// src/dynamicFlow/useOnCopy.tsx
|
|
6033
6093
|
import { useCallback as useCallback2 } from "react";
|
|
6034
|
-
import { useIntl as
|
|
6094
|
+
import { useIntl as useIntl19 } from "react-intl";
|
|
6035
6095
|
|
|
6036
6096
|
// src/dynamicFlow/messages.ts
|
|
6037
|
-
import { defineMessages as
|
|
6038
|
-
var messages_default =
|
|
6097
|
+
import { defineMessages as defineMessages14 } from "react-intl";
|
|
6098
|
+
var messages_default = defineMessages14({
|
|
6039
6099
|
copied: {
|
|
6040
6100
|
id: "df.wise.CopyFeedback.copy",
|
|
6041
6101
|
defaultMessage: "Copied to clipboard",
|
|
@@ -6050,7 +6110,7 @@ var messages_default = defineMessages13({
|
|
|
6050
6110
|
|
|
6051
6111
|
// src/dynamicFlow/useOnCopy.tsx
|
|
6052
6112
|
var useOnCopy = () => {
|
|
6053
|
-
const { formatMessage } =
|
|
6113
|
+
const { formatMessage } = useIntl19();
|
|
6054
6114
|
const createSnackBar = useSnackBarIfAvailable();
|
|
6055
6115
|
return useCallback2(
|
|
6056
6116
|
(copiedContent) => {
|
|
@@ -6066,9 +6126,9 @@ var useOnCopy = () => {
|
|
|
6066
6126
|
|
|
6067
6127
|
// src/dynamicFlow/useWiseHttpClient.tsx
|
|
6068
6128
|
import { useCallback as useCallback3 } from "react";
|
|
6069
|
-
import { useIntl as
|
|
6129
|
+
import { useIntl as useIntl20 } from "react-intl";
|
|
6070
6130
|
var useWiseHttpClient = (httpClient) => {
|
|
6071
|
-
const { locale } =
|
|
6131
|
+
const { locale } = useIntl20();
|
|
6072
6132
|
return useCallback3(
|
|
6073
6133
|
async (input, init = {}) => {
|
|
6074
6134
|
const headers = new Headers(init.headers);
|
|
@@ -6110,10 +6170,10 @@ var useWiseToCoreProps = (props) => {
|
|
|
6110
6170
|
onLog
|
|
6111
6171
|
} = props;
|
|
6112
6172
|
const httpClient = useWiseHttpClient(customFetch);
|
|
6113
|
-
const mergedRenderers =
|
|
6173
|
+
const mergedRenderers = useMemo2(() => getMergedRenderers(props), [renderers]);
|
|
6114
6174
|
const createSnackBar = useCreateSnackBar();
|
|
6115
|
-
const logEvent =
|
|
6116
|
-
const trackEvent =
|
|
6175
|
+
const logEvent = useMemo2(() => getLogEvent(onLog), [onLog]);
|
|
6176
|
+
const trackEvent = useMemo2(() => getTrackEvent(onEvent, onAnalytics), [onEvent, onAnalytics]);
|
|
6117
6177
|
const onCopy = useOnCopy();
|
|
6118
6178
|
return __spreadProps(__spreadValues({}, props), {
|
|
6119
6179
|
httpClient,
|
|
@@ -6206,6 +6266,7 @@ var cs_default = {
|
|
|
6206
6266
|
"df.wise.ArraySchema.minItemsError": "P\u0159idejte alespo\u0148 {minItems}.",
|
|
6207
6267
|
"df.wise.ArraySchema.removeItem": "Odebrat",
|
|
6208
6268
|
"df.wise.ButtonLayout.buttonLoadingMessage": "M\u016F\u017Ee to trvat p\xE1r sekund",
|
|
6269
|
+
"df.wise.Collection.loadMoreMessage": "Na\u010D\xEDst v\xEDce",
|
|
6209
6270
|
"df.wise.ControlFeedback.maxLength": "Zadejte {maxLength} nebo m\xE9n\u011B znak\u016F.",
|
|
6210
6271
|
"df.wise.ControlFeedback.maximum": "Zadejte \u010D\xEDslo, kter\xE9 je {maximum} nebo men\u0161\xED.",
|
|
6211
6272
|
"df.wise.ControlFeedback.maximumDate": "Zadejte datum, kter\xE9 je {maximum} nebo p\u0159edt\xEDm.",
|
|
@@ -6253,6 +6314,7 @@ var de_default = {
|
|
|
6253
6314
|
"df.wise.ArraySchema.minItemsError": "Bitte f\xFCge mindestens {minItems} hinzu.",
|
|
6254
6315
|
"df.wise.ArraySchema.removeItem": "Entfernen",
|
|
6255
6316
|
"df.wise.ButtonLayout.buttonLoadingMessage": "Dies kann ein paar Sekunden dauern",
|
|
6317
|
+
"df.wise.Collection.loadMoreMessage": "Mehr laden",
|
|
6256
6318
|
"df.wise.ControlFeedback.maxLength": "Bitte gib nicht mehr als {maxLength} Zeichen ein.",
|
|
6257
6319
|
"df.wise.ControlFeedback.maximum": "Bitte gib eine Zahl ein, die {maximum} oder weniger betr\xE4gt.",
|
|
6258
6320
|
"df.wise.ControlFeedback.maximumDate": "Bitte gib ein Datum ein, das am oder vor dem {maximum} liegt.",
|
|
@@ -6300,6 +6362,7 @@ var en_default = {
|
|
|
6300
6362
|
"df.wise.ArraySchema.minItemsError": "Please add at least {minItems}.",
|
|
6301
6363
|
"df.wise.ArraySchema.removeItem": "Remove",
|
|
6302
6364
|
"df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
|
|
6365
|
+
"df.wise.Collection.loadMoreMessage": "Load more",
|
|
6303
6366
|
"df.wise.ControlFeedback.maxLength": "Please enter {maxLength} or fewer characters.",
|
|
6304
6367
|
"df.wise.ControlFeedback.maximum": "Please enter a number that's {maximum} or less.",
|
|
6305
6368
|
"df.wise.ControlFeedback.maximumDate": "Please enter a date that's on or before {maximum}.",
|
|
@@ -6347,6 +6410,7 @@ var es_default = {
|
|
|
6347
6410
|
"df.wise.ArraySchema.minItemsError": "A\xF1ade al menos {minItems}.",
|
|
6348
6411
|
"df.wise.ArraySchema.removeItem": "Eliminar",
|
|
6349
6412
|
"df.wise.ButtonLayout.buttonLoadingMessage": "Esto puede tardar unos segundos",
|
|
6413
|
+
"df.wise.Collection.loadMoreMessage": "Cargar m\xE1s",
|
|
6350
6414
|
"df.wise.ControlFeedback.maxLength": "Introduce {maxLength} caracteres o menos.",
|
|
6351
6415
|
"df.wise.ControlFeedback.maximum": "Introduce una cifra igual o inferior a {maximum}.",
|
|
6352
6416
|
"df.wise.ControlFeedback.maximumDate": "Introduce una fecha que sea igual o anterior al {maximum}.",
|
|
@@ -6394,6 +6458,7 @@ var fr_default = {
|
|
|
6394
6458
|
"df.wise.ArraySchema.minItemsError": "Veuillez ajouter au moins {minItems}.",
|
|
6395
6459
|
"df.wise.ArraySchema.removeItem": "Supprimer",
|
|
6396
6460
|
"df.wise.ButtonLayout.buttonLoadingMessage": "Un instant, s'il vous pla\xEEt...",
|
|
6461
|
+
"df.wise.Collection.loadMoreMessage": "Charger plus",
|
|
6397
6462
|
"df.wise.ControlFeedback.maxLength": "Veuillez saisir {maxLength} caract\xE8res ou moins.",
|
|
6398
6463
|
"df.wise.ControlFeedback.maximum": "Veuillez saisir un nombre inf\xE9rieur ou \xE9gal \xE0 {maximum}.",
|
|
6399
6464
|
"df.wise.ControlFeedback.maximumDate": "Veuillez saisir une date \xE9gale ou ant\xE9rieure au {maximum}.",
|
|
@@ -6441,6 +6506,7 @@ var hu_default = {
|
|
|
6441
6506
|
"df.wise.ArraySchema.minItemsError": "K\xE9r\xFCnk, legal\xE1bb {minItems} t\xE9telt adj meg.",
|
|
6442
6507
|
"df.wise.ArraySchema.removeItem": "Elt\xE1vol\xEDt\xE1s",
|
|
6443
6508
|
"df.wise.ButtonLayout.buttonLoadingMessage": "Ez eltarthat n\xE9h\xE1ny m\xE1sodpercig",
|
|
6509
|
+
"df.wise.Collection.loadMoreMessage": "Tov\xE1bbiak bet\xF6lt\xE9se",
|
|
6444
6510
|
"df.wise.ControlFeedback.maxLength": "K\xE9r\xFCnk, legfeljebb {maxLength} karaktert adj meg.",
|
|
6445
6511
|
"df.wise.ControlFeedback.maximum": "K\xE9r\xFCnk, add meg ezt vagy egy enn\xE9l kisebb sz\xE1mot: {maximum}.",
|
|
6446
6512
|
"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 +6554,7 @@ var id_default = {
|
|
|
6488
6554
|
"df.wise.ArraySchema.minItemsError": "Harap tambahkan setidaknya {minItems}.",
|
|
6489
6555
|
"df.wise.ArraySchema.removeItem": "Hapus",
|
|
6490
6556
|
"df.wise.ButtonLayout.buttonLoadingMessage": "Ini mungkin memakan waktu beberapa detik",
|
|
6557
|
+
"df.wise.Collection.loadMoreMessage": "Muat lebih banyak",
|
|
6491
6558
|
"df.wise.ControlFeedback.maxLength": "Harap masukkan {maxLength} karakter atau kurang.",
|
|
6492
6559
|
"df.wise.ControlFeedback.maximum": "Harap masukkan angka paling besar {maximum} atau kurang dari itu.",
|
|
6493
6560
|
"df.wise.ControlFeedback.maximumDate": "Harap masukkan tanggal pada atau sebelum {maximum}.",
|
|
@@ -6535,6 +6602,7 @@ var it_default = {
|
|
|
6535
6602
|
"df.wise.ArraySchema.minItemsError": "Aggiungi almeno {minItems}.",
|
|
6536
6603
|
"df.wise.ArraySchema.removeItem": "Rimuovi",
|
|
6537
6604
|
"df.wise.ButtonLayout.buttonLoadingMessage": "Potrebbero volerci un paio di secondi",
|
|
6605
|
+
"df.wise.Collection.loadMoreMessage": "Carica altro",
|
|
6538
6606
|
"df.wise.ControlFeedback.maxLength": "Inserisci un massimo di {maxLength} caratteri.",
|
|
6539
6607
|
"df.wise.ControlFeedback.maximum": "Inserisci un numero uguale o inferiore a {maximum}.",
|
|
6540
6608
|
"df.wise.ControlFeedback.maximumDate": "Inserisci una data corrispondente o precedente al {maximum}.",
|
|
@@ -6582,6 +6650,7 @@ var ja_default = {
|
|
|
6582
6650
|
"df.wise.ArraySchema.minItemsError": "{minItems}\u30A2\u30A4\u30C6\u30E0\u4EE5\u4E0A\u3092\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
6583
6651
|
"df.wise.ArraySchema.removeItem": "\u524A\u9664\u3059\u308B",
|
|
6584
6652
|
"df.wise.ButtonLayout.buttonLoadingMessage": "\u6570\u79D2\u304B\u304B\u308B\u5834\u5408\u304C\u3042\u308A\u307E\u3059",
|
|
6653
|
+
"df.wise.Collection.loadMoreMessage": "\u3082\u3063\u3068\u898B\u308B",
|
|
6585
6654
|
"df.wise.ControlFeedback.maxLength": "{maxLength}\u6587\u5B57\u4EE5\u4E0B\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
6586
6655
|
"df.wise.ControlFeedback.maximum": "{maximum}\u4EE5\u4E0B\u306E\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
6587
6656
|
"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 +6698,7 @@ var nl_default = {
|
|
|
6629
6698
|
"df.wise.ArraySchema.minItemsError": "Voeg minimaal {minItems} toe.",
|
|
6630
6699
|
"df.wise.ArraySchema.removeItem": "Verwijderen",
|
|
6631
6700
|
"df.wise.ButtonLayout.buttonLoadingMessage": "Dit kan enkele seconden duren",
|
|
6701
|
+
"df.wise.Collection.loadMoreMessage": "Meer laden",
|
|
6632
6702
|
"df.wise.ControlFeedback.maxLength": "Voer {maxLength} of minder tekens in.",
|
|
6633
6703
|
"df.wise.ControlFeedback.maximum": "Voer een getal in dat {maximum} of lager is.",
|
|
6634
6704
|
"df.wise.ControlFeedback.maximumDate": "Voer een datum in die op of voor {maximum} is.",
|
|
@@ -6676,6 +6746,7 @@ var pl_default = {
|
|
|
6676
6746
|
"df.wise.ArraySchema.minItemsError": "Prosimy doda\u0107 co najmniej {minItems}.",
|
|
6677
6747
|
"df.wise.ArraySchema.removeItem": "Usu\u0144",
|
|
6678
6748
|
"df.wise.ButtonLayout.buttonLoadingMessage": "To mo\u017Ce potrwa\u0107 kilka sekund",
|
|
6749
|
+
"df.wise.Collection.loadMoreMessage": "Za\u0142aduj wi\u0119cej",
|
|
6679
6750
|
"df.wise.ControlFeedback.maxLength": "Prosimy wprowadzi\u0107 do {maxLength} znak\xF3w.",
|
|
6680
6751
|
"df.wise.ControlFeedback.maximum": "Wprowad\u017A liczb\u0119 r\xF3wn\u0105 lub mniejsz\u0105 ni\u017C {maximum}.",
|
|
6681
6752
|
"df.wise.ControlFeedback.maximumDate": "Wprowad\u017A dat\u0119 nie p\xF3\u017Aniejsz\u0105 ni\u017C {maximum}.",
|
|
@@ -6723,6 +6794,7 @@ var pt_default = {
|
|
|
6723
6794
|
"df.wise.ArraySchema.minItemsError": "Adicione pelo menos {minItems}.",
|
|
6724
6795
|
"df.wise.ArraySchema.removeItem": "Remover",
|
|
6725
6796
|
"df.wise.ButtonLayout.buttonLoadingMessage": "Isso pode levar alguns segundos",
|
|
6797
|
+
"df.wise.Collection.loadMoreMessage": "Carregar mais",
|
|
6726
6798
|
"df.wise.ControlFeedback.maxLength": "Por favor, insira {maxLength} caracteres ou menos.",
|
|
6727
6799
|
"df.wise.ControlFeedback.maximum": "Por favor, insira um n\xFAmero que seja {maximum} ou menos.",
|
|
6728
6800
|
"df.wise.ControlFeedback.maximumDate": "Por favor, insira uma data que seja em ou antes de {maximum}.",
|
|
@@ -6770,6 +6842,7 @@ var ro_default = {
|
|
|
6770
6842
|
"df.wise.ArraySchema.minItemsError": "Te rug\u0103m s\u0103 adaugi cel pu\u021Bin {minItems}.",
|
|
6771
6843
|
"df.wise.ArraySchema.removeItem": "Elimin\u0103",
|
|
6772
6844
|
"df.wise.ButtonLayout.buttonLoadingMessage": "Acest lucru ar putea dura c\xE2teva secunde",
|
|
6845
|
+
"df.wise.Collection.loadMoreMessage": "\xCEncarc\u0103 mai multe",
|
|
6773
6846
|
"df.wise.ControlFeedback.maxLength": "Te rug\u0103m s\u0103 introduci {maxLength} sau mai pu\u021Bine caractere.",
|
|
6774
6847
|
"df.wise.ControlFeedback.maximum": "Te rug\u0103m s\u0103 introduci un num\u0103r egal cu {maximum} sau mai mic.",
|
|
6775
6848
|
"df.wise.ControlFeedback.maximumDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 de \xEEnainte de sau egal\u0103 cu {maximum}.",
|
|
@@ -6817,6 +6890,7 @@ var ru_default = {
|
|
|
6817
6890
|
"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
6891
|
"df.wise.ArraySchema.removeItem": "\u0423\u0434\u0430\u043B\u0438\u0442\u044C",
|
|
6819
6892
|
"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",
|
|
6893
|
+
"df.wise.Collection.loadMoreMessage": "\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0431\u043E\u043B\u044C\u0448\u0435",
|
|
6820
6894
|
"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
6895
|
"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
6896
|
"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 +6938,7 @@ var th_default = {
|
|
|
6864
6938
|
"df.wise.ArraySchema.minItemsError": "\u0E42\u0E1B\u0E23\u0E14\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22 {minItems}",
|
|
6865
6939
|
"df.wise.ArraySchema.removeItem": "\u0E25\u0E1A",
|
|
6866
6940
|
"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",
|
|
6941
|
+
"df.wise.Collection.loadMoreMessage": "\u0E42\u0E2B\u0E25\u0E14\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21",
|
|
6867
6942
|
"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
6943
|
"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
6944
|
"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 +6986,7 @@ var tr_default = {
|
|
|
6911
6986
|
"df.wise.ArraySchema.minItemsError": "L\xFCtfen en az {minItems} ekleme yap\u0131n.",
|
|
6912
6987
|
"df.wise.ArraySchema.removeItem": "Kald\u0131r",
|
|
6913
6988
|
"df.wise.ButtonLayout.buttonLoadingMessage": "Bu birka\xE7 saniye s\xFCrebilir",
|
|
6989
|
+
"df.wise.Collection.loadMoreMessage": "Daha fazla y\xFCkle",
|
|
6914
6990
|
"df.wise.ControlFeedback.maxLength": "L\xFCtfen {maxLength} veya daha az karakter girin.",
|
|
6915
6991
|
"df.wise.ControlFeedback.maximum": "L\xFCtfen {maximum} veya daha d\xFC\u015F\xFCk bir say\u0131 girin.",
|
|
6916
6992
|
"df.wise.ControlFeedback.maximumDate": "L\xFCtfen {maximum} veya daha erken bir tarih girin.",
|
|
@@ -6958,6 +7034,7 @@ var zh_CN_default = {
|
|
|
6958
7034
|
"df.wise.ArraySchema.minItemsError": "\u8BF7\u81F3\u5C11\u6DFB\u52A0 {minItems} \u9879\u3002",
|
|
6959
7035
|
"df.wise.ArraySchema.removeItem": "\u79FB\u9664",
|
|
6960
7036
|
"df.wise.ButtonLayout.buttonLoadingMessage": "\u6B64\u8FC7\u7A0B\u53EF\u80FD\u9700\u8981\u51E0\u79D2\u949F",
|
|
7037
|
+
"df.wise.Collection.loadMoreMessage": "\u52A0\u8F7D\u66F4\u591A",
|
|
6961
7038
|
"df.wise.ControlFeedback.maxLength": "\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC7 {maxLength} \u4E2A\u5B57\u7B26\u3002",
|
|
6962
7039
|
"df.wise.ControlFeedback.maximum": "\u8BF7\u8F93\u5165\u4E00\u4E2A\u5C0F\u4E8E\u6216\u7B49\u4E8E {maximum} \u7684\u6570\u5B57\u3002",
|
|
6963
7040
|
"df.wise.ControlFeedback.maximumDate": "\u8BF7\u8F93\u5165 {maximum} \u6216\u4E4B\u524D\u7684\u65E5\u671F",
|
|
@@ -7005,6 +7082,7 @@ var zh_HK_default = {
|
|
|
7005
7082
|
"df.wise.ArraySchema.minItemsError": "\u8ACB\u81F3\u5C11\u6DFB\u52A0{minItems}\u9805\u3002",
|
|
7006
7083
|
"df.wise.ArraySchema.removeItem": "\u79FB\u9664",
|
|
7007
7084
|
"df.wise.ButtonLayout.buttonLoadingMessage": "\u6B64\u7A0B\u5E8F\u53EF\u80FD\u9700\u6642\u5E7E\u79D2",
|
|
7085
|
+
"df.wise.Collection.loadMoreMessage": "\u8F09\u5165\u66F4\u591A",
|
|
7008
7086
|
"df.wise.ControlFeedback.maxLength": "\u8ACB\u8F38\u5165\u6700\u591A{maxLength}\u500B\u5B57\u5143\u3002",
|
|
7009
7087
|
"df.wise.ControlFeedback.maximum": "\u8ACB\u8F38\u5165\u4E00\u500B\u5C0F\u65BC\u6216\u7B49\u65BC{maximum}\u7684\u6578\u5B57\u3002",
|
|
7010
7088
|
"df.wise.ControlFeedback.maximumDate": "\u8ACB\u8F38\u5165{maximum}\u6216\u4E4B\u524D\u7684\u65E5\u671F\u3002",
|