@wise/dynamic-flow-client-internal 4.22.0 → 4.24.0-experimental-048a281
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/i18n/cs.json +1 -1
- package/build/i18n/es.json +1 -1
- package/build/i18n/pl.json +2 -2
- package/build/i18n/ro.json +1 -1
- package/build/main.css +7 -9
- package/build/main.js +2009 -1866
- package/build/main.mjs +1771 -1629
- package/build/types/index.d.ts +2 -1
- package/package.json +12 -12
package/build/main.mjs
CHANGED
|
@@ -32,1329 +32,495 @@ var __objRest = (source, exclude) => {
|
|
|
32
32
|
|
|
33
33
|
// src/index.ts
|
|
34
34
|
import { makeHttpClient } from "@wise/dynamic-flow-client";
|
|
35
|
-
import { findRendererPropsByType, isValidSchema, JsonSchemaForm } from "@wise/dynamic-flow-client";
|
|
36
35
|
|
|
37
|
-
// src/
|
|
38
|
-
import {
|
|
36
|
+
// ../renderers/src/AlertRenderer.tsx
|
|
37
|
+
import { Alert } from "@transferwise/components";
|
|
39
38
|
|
|
40
|
-
// src/
|
|
41
|
-
var
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"df.wise.ControlFeedback.patternDate": "Zadejte pros\xEDm datum ve spr\xE1vn\xE9m form\xE1tu.",
|
|
57
|
-
"df.wise.ControlFeedback.required": "Vypl\u0148te pros\xEDm toto pole.",
|
|
58
|
-
"df.wise.ControlFeedback.type": "Nespr\xE1vn\xFD typ",
|
|
59
|
-
"df.wise.CopyFeedback.copy": "Zkop\xEDrov\xE1no do schr\xE1nky",
|
|
60
|
-
"df.wise.CopyFeedback.copyFailed": "Kop\xEDrov\xE1n\xED do schr\xE1nky se nezda\u0159ilo",
|
|
61
|
-
"df.wise.Decision.all": "V\u0161e",
|
|
62
|
-
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
63
|
-
"df.wise.Decision.noResults": "\u017D\xE1dn\xE9 v\xFDsledky",
|
|
64
|
-
"df.wise.Decision.popular": "Popul\xE1rn\xED",
|
|
65
|
-
"df.wise.Decision.recent": "Ned\xE1vn\xE9",
|
|
66
|
-
"df.wise.Decision.results": "V\xFDsledky hled\xE1n\xED",
|
|
67
|
-
"df.wise.DynamicParagraph.copied": "Zkop\xEDrov\xE1no do schr\xE1nky",
|
|
68
|
-
"df.wise.DynamicParagraph.copy": "Kop\xEDrovat",
|
|
69
|
-
"df.wise.ErrorBoundary.errorAlert": "N\u011Bco se pokazilo.",
|
|
70
|
-
"df.wise.ErrorBoundary.retry": "Zkusit znovu",
|
|
71
|
-
"df.wise.ExternalConfirmation.cancel": "Zru\u0161it",
|
|
72
|
-
"df.wise.ExternalConfirmation.description": "Potvr\u010Fte, \u017Ee chcete otev\u0159\xEDt **{origin}** v nov\xE9 kart\u011B prohl\xED\u017Ee\u010De.",
|
|
73
|
-
"df.wise.ExternalConfirmation.open": "Otev\u0159\xEDt v nov\xE9 kart\u011B",
|
|
74
|
-
"df.wise.ExternalConfirmation.title": "Potvr\u010Fte",
|
|
75
|
-
"df.wise.Help.ariaLabel": "Pro v\xEDce informac\xED klikn\u011Bte sem.",
|
|
76
|
-
"df.wise.MultiSelect.summary": "{first} a {count} dal\u0161\xED(ch)",
|
|
77
|
-
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "Je n\xE1m l\xEDto, ale tento soubor je p\u0159\xEDli\u0161 velk\xFD. Nahrajte pros\xEDm men\u0161\xED soubor.",
|
|
78
|
-
"df.wise.MultipleFileUploadSchema.maxItemsError": "Nahrajte {maxItems} nebo m\xE9n\u011B soubor\u016F.",
|
|
79
|
-
"df.wise.MultipleFileUploadSchema.minItemsError": "Nahrajte pros\xEDm alespo\u0148 n\xE1sleduj\xEDc\xED po\u010Det soubor\u016F: {minItems}.",
|
|
80
|
-
"df.wise.PersistAsyncSchema.genericError": "N\u011Bco se pokazilo. Zkuste to pros\xEDm znovu.",
|
|
81
|
-
"df.wise.SearchLayout.loading": "Na\u010D\xEDt\xE1n\xED..."
|
|
39
|
+
// ../renderers/src/utils/layout-utils.ts
|
|
40
|
+
var getMargin = (size) => {
|
|
41
|
+
switch (size) {
|
|
42
|
+
case "xs":
|
|
43
|
+
return "m-b-0";
|
|
44
|
+
case "sm":
|
|
45
|
+
return "m-b-1";
|
|
46
|
+
case "md":
|
|
47
|
+
return "m-b-2";
|
|
48
|
+
case "lg":
|
|
49
|
+
return "m-b-3";
|
|
50
|
+
case "xl":
|
|
51
|
+
return "m-b-5";
|
|
52
|
+
default:
|
|
53
|
+
return "";
|
|
54
|
+
}
|
|
82
55
|
};
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
"df.wise.ControlFeedback.maxLength": "Bitte gib nicht mehr als {maxLength} Zeichen ein.",
|
|
94
|
-
"df.wise.ControlFeedback.maximum": "Bitte gib eine Zahl ein, die {maximum} oder weniger betr\xE4gt.",
|
|
95
|
-
"df.wise.ControlFeedback.maximumDate": "Bitte gib ein Datum ein, das am oder vor dem {maximum} liegt.",
|
|
96
|
-
"df.wise.ControlFeedback.minLength": "Bitte gib mindestens {minLength} Zeichen ein.",
|
|
97
|
-
"df.wise.ControlFeedback.minimum": "Bitte gib eine Zahl ein, die {minimum} oder mehr betr\xE4gt.",
|
|
98
|
-
"df.wise.ControlFeedback.minimumDate": "Bitte gib ein Datum ein, das am oder nach dem {minimum} liegt.",
|
|
99
|
-
"df.wise.ControlFeedback.pattern": "Bitte gib die Angabe im richtigen Format ein.",
|
|
100
|
-
"df.wise.ControlFeedback.patternDate": "Bitte gib ein Datum im richtigen Format ein.",
|
|
101
|
-
"df.wise.ControlFeedback.required": "Bitte f\xFClle dieses Feld aus.",
|
|
102
|
-
"df.wise.ControlFeedback.type": "Falscher Typ",
|
|
103
|
-
"df.wise.CopyFeedback.copy": "In Zwischenablage kopiert",
|
|
104
|
-
"df.wise.CopyFeedback.copyFailed": "Kopieren in Zwischenablage fehlgeschlagen",
|
|
105
|
-
"df.wise.Decision.all": "Alle",
|
|
106
|
-
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
107
|
-
"df.wise.Decision.noResults": "Keine Ergebnisse",
|
|
108
|
-
"df.wise.Decision.popular": "Beliebt",
|
|
109
|
-
"df.wise.Decision.recent": "Neu",
|
|
110
|
-
"df.wise.Decision.results": "Suchergebnisse",
|
|
111
|
-
"df.wise.DynamicParagraph.copied": "In Zwischenablage kopiert",
|
|
112
|
-
"df.wise.DynamicParagraph.copy": "Kopieren",
|
|
113
|
-
"df.wise.ErrorBoundary.errorAlert": "Da ist etwas schiefgegangen.",
|
|
114
|
-
"df.wise.ErrorBoundary.retry": "Erneut versuchen",
|
|
115
|
-
"df.wise.ExternalConfirmation.cancel": "Abbrechen",
|
|
116
|
-
"df.wise.ExternalConfirmation.description": "Bitte best\xE4tige, dass du **{origin}** in einem neuen Browser-Tab \xF6ffnen m\xF6chtest.",
|
|
117
|
-
"df.wise.ExternalConfirmation.open": "In neuem Tab \xF6ffnen",
|
|
118
|
-
"df.wise.ExternalConfirmation.title": "Bitte best\xE4tigen",
|
|
119
|
-
"df.wise.Help.ariaLabel": "Klicke hier f\xFCr mehr Informationen.",
|
|
120
|
-
"df.wise.MultiSelect.summary": "{first} und {count} weitere",
|
|
121
|
-
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "Diese Datei ist leider zu gro\xDF. Bitte lade eine kleinere Datei hoch.",
|
|
122
|
-
"df.wise.MultipleFileUploadSchema.maxItemsError": "Bitte lade {maxItems} oder weniger Dateien hoch.",
|
|
123
|
-
"df.wise.MultipleFileUploadSchema.minItemsError": "Bitte lade mindestens {minItems} Datei(en) hoch.",
|
|
124
|
-
"df.wise.PersistAsyncSchema.genericError": "Da ist etwas schiefgegangen. Versuche es bitte nochmal.",
|
|
125
|
-
"df.wise.SearchLayout.loading": "L\xE4dt..."
|
|
56
|
+
var getTextAlignment = (align) => {
|
|
57
|
+
switch (align) {
|
|
58
|
+
case "end":
|
|
59
|
+
return "text-xs-right";
|
|
60
|
+
case "center":
|
|
61
|
+
return "text-xs-center";
|
|
62
|
+
case "start":
|
|
63
|
+
default:
|
|
64
|
+
return "";
|
|
65
|
+
}
|
|
126
66
|
};
|
|
67
|
+
var getTextAlignmentAndMargin = (component) => `${getTextAlignment(component.align)} ${getMargin(component.margin)}`;
|
|
127
68
|
|
|
128
|
-
// src/
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
151
|
-
"df.wise.Decision.noResults": "No results",
|
|
152
|
-
"df.wise.Decision.popular": "Popular",
|
|
153
|
-
"df.wise.Decision.recent": "Recent",
|
|
154
|
-
"df.wise.Decision.results": "Search results",
|
|
155
|
-
"df.wise.DynamicParagraph.copied": "Copied to clipboard",
|
|
156
|
-
"df.wise.DynamicParagraph.copy": "Copy",
|
|
157
|
-
"df.wise.ErrorBoundary.errorAlert": "Something went wrong.",
|
|
158
|
-
"df.wise.ErrorBoundary.retry": "Retry",
|
|
159
|
-
"df.wise.ExternalConfirmation.cancel": "Cancel",
|
|
160
|
-
"df.wise.ExternalConfirmation.description": "Please confirm you want to open **{origin}** in a new browser tab.",
|
|
161
|
-
"df.wise.ExternalConfirmation.open": "Open in new tab",
|
|
162
|
-
"df.wise.ExternalConfirmation.title": "Please confirm",
|
|
163
|
-
"df.wise.Help.ariaLabel": "Click here for more info.",
|
|
164
|
-
"df.wise.MultiSelect.summary": "{first} and {count} more",
|
|
165
|
-
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "Sorry, that file is too big. Please upload a smaller file.",
|
|
166
|
-
"df.wise.MultipleFileUploadSchema.maxItemsError": "Please upload {maxItems} or fewer files.",
|
|
167
|
-
"df.wise.MultipleFileUploadSchema.minItemsError": "Please upload at least {minItems} file(s).",
|
|
168
|
-
"df.wise.PersistAsyncSchema.genericError": "Something went wrong, please try again.",
|
|
169
|
-
"df.wise.SearchLayout.loading": "Loading..."
|
|
69
|
+
// ../renderers/src/AlertRenderer.tsx
|
|
70
|
+
import { jsx } from "react/jsx-runtime";
|
|
71
|
+
var AlertRenderer = {
|
|
72
|
+
canRenderType: "alert",
|
|
73
|
+
render: ({ context, markdown, margin, callToAction }) => /* @__PURE__ */ jsx(
|
|
74
|
+
Alert,
|
|
75
|
+
{
|
|
76
|
+
type: context,
|
|
77
|
+
className: getMargin(margin),
|
|
78
|
+
message: markdown,
|
|
79
|
+
action: mapCtaToAlertAction(callToAction)
|
|
80
|
+
}
|
|
81
|
+
)
|
|
82
|
+
};
|
|
83
|
+
var mapCtaToAlertAction = (callToAction) => {
|
|
84
|
+
if (callToAction) {
|
|
85
|
+
return __spreadValues(__spreadValues({
|
|
86
|
+
text: callToAction.title,
|
|
87
|
+
"aria-label": callToAction.accessibilityDescription
|
|
88
|
+
}, "onClick" in callToAction ? { onClick: callToAction.onClick } : {}), callToAction.type === "link" ? { href: callToAction.href, target: "_blank" } : {});
|
|
89
|
+
}
|
|
90
|
+
return void 0;
|
|
170
91
|
};
|
|
92
|
+
var AlertRenderer_default = AlertRenderer;
|
|
171
93
|
|
|
172
|
-
// src/
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
"df.wise.Decision.all": "Todas",
|
|
194
|
-
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
195
|
-
"df.wise.Decision.noResults": "No hay resultados",
|
|
196
|
-
"df.wise.Decision.popular": "Populares",
|
|
197
|
-
"df.wise.Decision.recent": "Recientes",
|
|
198
|
-
"df.wise.Decision.results": "Resultados de b\xFAsqueda",
|
|
199
|
-
"df.wise.DynamicParagraph.copied": "Copiado al portapapeles",
|
|
200
|
-
"df.wise.DynamicParagraph.copy": "Copiar",
|
|
201
|
-
"df.wise.ErrorBoundary.errorAlert": "Ha habido un error.",
|
|
202
|
-
"df.wise.ErrorBoundary.retry": "Reintentar",
|
|
203
|
-
"df.wise.ExternalConfirmation.cancel": "Cancelar",
|
|
204
|
-
"df.wise.ExternalConfirmation.description": "Confirma que quieres abrir **{origin}** en una nueva pesta\xF1a del navegador.",
|
|
205
|
-
"df.wise.ExternalConfirmation.open": "Abrir en nueva pesta\xF1a",
|
|
206
|
-
"df.wise.ExternalConfirmation.title": "Por favor, confirma",
|
|
207
|
-
"df.wise.Help.ariaLabel": "Haz clic aqu\xED para obtener m\xE1s informaci\xF3n.",
|
|
208
|
-
"df.wise.MultiSelect.summary": "{first} y {count} m\xE1s",
|
|
209
|
-
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "Lo sentimos, el archivo pesa demasiado. Sube uno m\xE1s peque\xF1o.",
|
|
210
|
-
"df.wise.MultipleFileUploadSchema.maxItemsError": "Sube {maxItems} o menos archivos.",
|
|
211
|
-
"df.wise.MultipleFileUploadSchema.minItemsError": "Sube al menos {minItems} archivo(s).",
|
|
212
|
-
"df.wise.PersistAsyncSchema.genericError": "Ha habido un error. Int\xE9ntalo de nuevo.",
|
|
213
|
-
"df.wise.SearchLayout.loading": "Cargando..."
|
|
94
|
+
// ../renderers/src/BoxRenderer.tsx
|
|
95
|
+
import classNames from "classnames";
|
|
96
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
97
|
+
var BoxRenderer = {
|
|
98
|
+
canRenderType: "box",
|
|
99
|
+
render: ({ children, control, margin, width }) => {
|
|
100
|
+
const hasFixedWidth = width !== "xl";
|
|
101
|
+
const hasBorder = control === "bordered" || control === "bordered-web";
|
|
102
|
+
const contents = /* @__PURE__ */ jsx2(
|
|
103
|
+
"div",
|
|
104
|
+
{
|
|
105
|
+
className: classNames({
|
|
106
|
+
"df-box-renderer-border": hasBorder,
|
|
107
|
+
[`df-box-renderer-width-${width}`]: hasFixedWidth,
|
|
108
|
+
[getMargin(margin)]: !hasFixedWidth
|
|
109
|
+
}),
|
|
110
|
+
children
|
|
111
|
+
}
|
|
112
|
+
);
|
|
113
|
+
return hasFixedWidth ? /* @__PURE__ */ jsx2("div", { className: classNames("df-box-renderer-fixed-width", getMargin(margin)), children: contents }) : contents;
|
|
114
|
+
}
|
|
214
115
|
};
|
|
116
|
+
var BoxRenderer_default = BoxRenderer;
|
|
215
117
|
|
|
216
|
-
// src/
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
"df.wise.ArraySchema.addItemTitle": "Ajouter un \xE9l\xE9ment",
|
|
220
|
-
"df.wise.ArraySchema.editItem": "Enregistrer",
|
|
221
|
-
"df.wise.ArraySchema.maxItemsError": "Veuillez ajouter {maxItems} ou moins.",
|
|
222
|
-
"df.wise.ArraySchema.minItemsError": "Veuillez ajouter au moins {minItems}.",
|
|
223
|
-
"df.wise.ArraySchema.removeItem": "Supprimer",
|
|
224
|
-
"df.wise.ButtonLayout.buttonLoadingMessage": "Patientez quelques secondes",
|
|
225
|
-
"df.wise.ControlFeedback.maxLength": "Veuillez saisir {maxLength} caract\xE8res ou moins.",
|
|
226
|
-
"df.wise.ControlFeedback.maximum": "Veuillez saisir un nombre inf\xE9rieur ou \xE9gal \xE0 {maximum}.",
|
|
227
|
-
"df.wise.ControlFeedback.maximumDate": "Veuillez saisir une date \xE9gale ou ant\xE9rieure au {maximum}.",
|
|
228
|
-
"df.wise.ControlFeedback.minLength": "Veuillez saisir au moins {minLength} caract\xE8res.",
|
|
229
|
-
"df.wise.ControlFeedback.minimum": "Veuillez saisir un nombre sup\xE9rieur ou \xE9gal \xE0 {minimum}.",
|
|
230
|
-
"df.wise.ControlFeedback.minimumDate": "Veuillez saisir une date \xE9gale ou post\xE9rieure au {minimum}.",
|
|
231
|
-
"df.wise.ControlFeedback.pattern": "Veuillez saisir les informations dans le bon format.",
|
|
232
|
-
"df.wise.ControlFeedback.patternDate": "Veuillez saisir une date au format correct.",
|
|
233
|
-
"df.wise.ControlFeedback.required": "Champ obligatoire.",
|
|
234
|
-
"df.wise.ControlFeedback.type": "Type incorrect",
|
|
235
|
-
"df.wise.CopyFeedback.copy": "Copi\xE9 dans le presse-papier",
|
|
236
|
-
"df.wise.CopyFeedback.copyFailed": "Impossible de copier dans le presse-papier",
|
|
237
|
-
"df.wise.Decision.all": "Toutes",
|
|
238
|
-
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
239
|
-
"df.wise.Decision.noResults": "Aucun r\xE9sultat",
|
|
240
|
-
"df.wise.Decision.popular": "Populaires",
|
|
241
|
-
"df.wise.Decision.recent": "R\xE9cents",
|
|
242
|
-
"df.wise.Decision.results": "R\xE9sultats de recherche",
|
|
243
|
-
"df.wise.DynamicParagraph.copied": "Copi\xE9 dans le presse-papier",
|
|
244
|
-
"df.wise.DynamicParagraph.copy": "Copier",
|
|
245
|
-
"df.wise.ErrorBoundary.errorAlert": "Une erreur s'est produite.",
|
|
246
|
-
"df.wise.ErrorBoundary.retry": "R\xE9essayer",
|
|
247
|
-
"df.wise.ExternalConfirmation.cancel": "Annuler",
|
|
248
|
-
"df.wise.ExternalConfirmation.description": "Veuillez confirmer que vous souhaitez ouvrir **{origin}** dans un nouvel onglet.",
|
|
249
|
-
"df.wise.ExternalConfirmation.open": "Ouvrir dans un nouvel onglet",
|
|
250
|
-
"df.wise.ExternalConfirmation.title": "Veuillez confirmer",
|
|
251
|
-
"df.wise.Help.ariaLabel": "Cliquez ici pour plus d'informations.",
|
|
252
|
-
"df.wise.MultiSelect.summary": "{first} et {count} de plus",
|
|
253
|
-
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "Nous sommes d\xE9sol\xE9s, ce fichier est trop volumineux. Veuillez t\xE9l\xE9charger un fichier plus petit.",
|
|
254
|
-
"df.wise.MultipleFileUploadSchema.maxItemsError": "Veuillez t\xE9l\xE9charger {maxItems} fichiers ou moins.",
|
|
255
|
-
"df.wise.MultipleFileUploadSchema.minItemsError": "Veuillez t\xE9l\xE9charger au moins {minItems} fichier(s).",
|
|
256
|
-
"df.wise.PersistAsyncSchema.genericError": "Une erreur s'est produite, veuillez r\xE9essayer.",
|
|
257
|
-
"df.wise.SearchLayout.loading": "Chargement..."
|
|
258
|
-
};
|
|
259
|
-
|
|
260
|
-
// src/i18n/hu.json
|
|
261
|
-
var hu_default = {
|
|
262
|
-
"df.wise.ArraySchema.addItem": "Ment\xE9s",
|
|
263
|
-
"df.wise.ArraySchema.addItemTitle": "Elem hozz\xE1ad\xE1sa",
|
|
264
|
-
"df.wise.ArraySchema.editItem": "Ment\xE9s",
|
|
265
|
-
"df.wise.ArraySchema.maxItemsError": "K\xE9r\xFCnk, {maxItems} vagy ann\xE1l kevesebb t\xE9telt adj meg.",
|
|
266
|
-
"df.wise.ArraySchema.minItemsError": "K\xE9r\xFCnk, legal\xE1bb {minItems} t\xE9telt adj meg.",
|
|
267
|
-
"df.wise.ArraySchema.removeItem": "Elt\xE1vol\xEDt\xE1s",
|
|
268
|
-
"df.wise.ButtonLayout.buttonLoadingMessage": "Ez eltarthat n\xE9h\xE1ny m\xE1sodpercig",
|
|
269
|
-
"df.wise.ControlFeedback.maxLength": "K\xE9r\xFCnk, legfeljebb {maxLength} karaktert adj meg.",
|
|
270
|
-
"df.wise.ControlFeedback.maximum": "K\xE9r\xFCnk, add meg ezt vagy egy enn\xE9l kisebb sz\xE1mot: {maximum}.",
|
|
271
|
-
"df.wise.ControlFeedback.maximumDate": "K\xE9r\xFCnk, adj meg egy d\xE1tumot, ami megegyezik {maximum} napj\xE1val, vagy egy enn\xE9l kor\xE1bbit.",
|
|
272
|
-
"df.wise.ControlFeedback.minLength": "K\xE9r\xFCnk, legal\xE1bb {minLength} karaktert adj meg.",
|
|
273
|
-
"df.wise.ControlFeedback.minimum": "K\xE9r\xFCnk add meg ezt vagy egy enn\xE9l nagyobb sz\xE1mot: {minimum}.",
|
|
274
|
-
"df.wise.ControlFeedback.minimumDate": "K\xE9r\xFCnk, adj meg egy d\xE1tumot, ami megegyezik {minimum} napj\xE1val, vagy egy enn\xE9l k\xE9s\u0151bbit.",
|
|
275
|
-
"df.wise.ControlFeedback.pattern": "Helytelen form\xE1tum",
|
|
276
|
-
"df.wise.ControlFeedback.patternDate": "K\xE9r\xFCnk, hogy a d\xE1tumot helyes form\xE1tumban add meg.",
|
|
277
|
-
"df.wise.ControlFeedback.required": "K\xE9r\xFCnk, t\xF6ltsd ki ezt a mez\u0151t.",
|
|
278
|
-
"df.wise.ControlFeedback.type": "Helytelen t\xEDpus",
|
|
279
|
-
"df.wise.CopyFeedback.copy": "V\xE1g\xF3lapra m\xE1solva",
|
|
280
|
-
"df.wise.CopyFeedback.copyFailed": "Nem siker\xFClt a v\xE1g\xF3lapra m\xE1solni",
|
|
281
|
-
"df.wise.Decision.all": "\xD6sszes",
|
|
282
|
-
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
283
|
-
"df.wise.Decision.noResults": "Nincs tal\xE1lat",
|
|
284
|
-
"df.wise.Decision.popular": "N\xE9pszer\u0171",
|
|
285
|
-
"df.wise.Decision.recent": "Legut\xF3bbi",
|
|
286
|
-
"df.wise.Decision.results": "Keres\xE9si eredm\xE9nyek",
|
|
287
|
-
"df.wise.DynamicParagraph.copied": "V\xE1g\xF3lapra m\xE1solva",
|
|
288
|
-
"df.wise.DynamicParagraph.copy": "M\xE1sol\xE1s",
|
|
289
|
-
"df.wise.ErrorBoundary.errorAlert": "Valami hiba t\xF6rt\xE9nt.",
|
|
290
|
-
"df.wise.ErrorBoundary.retry": "\xDAjra",
|
|
291
|
-
"df.wise.ExternalConfirmation.cancel": "M\xE9gsem",
|
|
292
|
-
"df.wise.ExternalConfirmation.description": "K\xE9r\xFCnk, er\u0151s\xEDtsd meg, hogy a(z) **{origin}** alkalmaz\xE1st egy \xFAj b\xF6ng\xE9sz\u0151lapon szeretn\xE9d megnyitni.",
|
|
293
|
-
"df.wise.ExternalConfirmation.open": "Megnyit\xE1s \xFAj lapon",
|
|
294
|
-
"df.wise.ExternalConfirmation.title": "Meger\u0151s\xEDt\xE9s",
|
|
295
|
-
"df.wise.Help.ariaLabel": "Kattints ide tov\xE1bbi inform\xE1ci\xF3\xE9rt.",
|
|
296
|
-
"df.wise.MultiSelect.summary": "{first} \xE9s tov\xE1bbi {count}",
|
|
297
|
-
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "Sajnos ez a f\xE1jl t\xFAl nagy. K\xE9r\xFCnk, t\xF6lts fel egy kisebb f\xE1jlt.",
|
|
298
|
-
"df.wise.MultipleFileUploadSchema.maxItemsError": "K\xE9r\xFCnk, hogy legfeljebb {maxItems} f\xE1jlt t\xF6lts fel.",
|
|
299
|
-
"df.wise.MultipleFileUploadSchema.minItemsError": "K\xE9r\xFCnk, hogy legal\xE1bb {minItems} f\xE1jlt t\xF6lts fel.",
|
|
300
|
-
"df.wise.PersistAsyncSchema.genericError": "Valami hiba t\xF6rt\xE9nt. K\xE9r\xFCnk, pr\xF3b\xE1ld \xFAjra.",
|
|
301
|
-
"df.wise.SearchLayout.loading": "Bet\xF6lt\xE9s..."
|
|
302
|
-
};
|
|
118
|
+
// ../renderers/src/ButtonRenderer/AddressValidationButtonRenderer.tsx
|
|
119
|
+
import { Button, InlineAlert } from "@transferwise/components";
|
|
120
|
+
import { useIntl } from "react-intl";
|
|
303
121
|
|
|
304
|
-
// src/
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
"df.wise.ControlFeedback.maxLength": "Harap masukkan {maxLength} karakter atau kurang.",
|
|
314
|
-
"df.wise.ControlFeedback.maximum": "Harap masukkan angka paling besar {maximum} atau kurang dari itu.",
|
|
315
|
-
"df.wise.ControlFeedback.maximumDate": "Harap masukkan tanggal pada atau sebelum {maximum}.",
|
|
316
|
-
"df.wise.ControlFeedback.minLength": "Harap masukkan setidaknya {minLength} karakter.",
|
|
317
|
-
"df.wise.ControlFeedback.minimum": "Harap masukkan angka paling kecil {minimum} atau lebih dari itu.",
|
|
318
|
-
"df.wise.ControlFeedback.minimumDate": "Harap masukkan tanggal pada atau setelah {minimum}.",
|
|
319
|
-
"df.wise.ControlFeedback.pattern": "Mohon masukkan ini dalam format yang benar.",
|
|
320
|
-
"df.wise.ControlFeedback.patternDate": "Harap masukkan tanggal dalam format yang benar.",
|
|
321
|
-
"df.wise.ControlFeedback.required": "Harap isi kolom ini.",
|
|
322
|
-
"df.wise.ControlFeedback.type": "Tipe salah",
|
|
323
|
-
"df.wise.CopyFeedback.copy": "Disalin ke clipboard",
|
|
324
|
-
"df.wise.CopyFeedback.copyFailed": "Gagal menyalin ke clipboard",
|
|
325
|
-
"df.wise.Decision.all": "Semua",
|
|
326
|
-
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
327
|
-
"df.wise.Decision.noResults": "Tidak ada hasil",
|
|
328
|
-
"df.wise.Decision.popular": "Populer",
|
|
329
|
-
"df.wise.Decision.recent": "Terbaru",
|
|
330
|
-
"df.wise.Decision.results": "Hasil pencarian",
|
|
331
|
-
"df.wise.DynamicParagraph.copied": "Disalin ke clipboard",
|
|
332
|
-
"df.wise.DynamicParagraph.copy": "Salin",
|
|
333
|
-
"df.wise.ErrorBoundary.errorAlert": "Terjadi kesalahan.",
|
|
334
|
-
"df.wise.ErrorBoundary.retry": "Coba lagi",
|
|
335
|
-
"df.wise.ExternalConfirmation.cancel": "Batalkan",
|
|
336
|
-
"df.wise.ExternalConfirmation.description": "Harap konfirmasikan bahwa Anda ingin membuka **{origin}** di tab browser baru.",
|
|
337
|
-
"df.wise.ExternalConfirmation.open": "Buka di tab baru",
|
|
338
|
-
"df.wise.ExternalConfirmation.title": "Harap konfirmasi",
|
|
339
|
-
"df.wise.Help.ariaLabel": "Klik di sini untuk info selengkapnya.",
|
|
340
|
-
"df.wise.MultiSelect.summary": "{first} dan {count} lagi",
|
|
341
|
-
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "Maaf, file Anda terlalu besar. Silakan unggah file yang lebih kecil.",
|
|
342
|
-
"df.wise.MultipleFileUploadSchema.maxItemsError": "Harap unggah {maxItems} file atau kurang.",
|
|
343
|
-
"df.wise.MultipleFileUploadSchema.minItemsError": "Harap unggah sedikitnya {minItems} file.",
|
|
344
|
-
"df.wise.PersistAsyncSchema.genericError": "Terjadi kesalahan, mohon coba lagi.",
|
|
345
|
-
"df.wise.SearchLayout.loading": "Memuat ..."
|
|
346
|
-
};
|
|
122
|
+
// ../renderers/src/messages/loading-button.messages.ts
|
|
123
|
+
import { defineMessages } from "react-intl";
|
|
124
|
+
var loading_button_messages_default = defineMessages({
|
|
125
|
+
buttonLoadingMessage: {
|
|
126
|
+
id: "df.wise.ButtonLayout.buttonLoadingMessage",
|
|
127
|
+
defaultMessage: "This might take a few seconds",
|
|
128
|
+
description: "Message displayed below a button when it is in a loading state."
|
|
129
|
+
}
|
|
130
|
+
});
|
|
347
131
|
|
|
348
|
-
// src/
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
"df.wise.ArraySchema.removeItem": "Rimuovi",
|
|
356
|
-
"df.wise.ButtonLayout.buttonLoadingMessage": "Potrebbero volerci un paio di secondi",
|
|
357
|
-
"df.wise.ControlFeedback.maxLength": "Inserisci un massimo di {maxLength} caratteri.",
|
|
358
|
-
"df.wise.ControlFeedback.maximum": "Inserisci un numero uguale o inferiore a {maximum}.",
|
|
359
|
-
"df.wise.ControlFeedback.maximumDate": "Inserisci una data corrispondente o precedente al {maximum}.",
|
|
360
|
-
"df.wise.ControlFeedback.minLength": "Inserisci almeno {minLength} caratteri.",
|
|
361
|
-
"df.wise.ControlFeedback.minimum": "Inserisci un numero uguale o superiore a {minimum}.",
|
|
362
|
-
"df.wise.ControlFeedback.minimumDate": "Inserisci una data corrispondente o successiva al {minimum}.",
|
|
363
|
-
"df.wise.ControlFeedback.pattern": "Inseriscilo in un formato corretto.",
|
|
364
|
-
"df.wise.ControlFeedback.patternDate": "Inserisci la data in un formato corretto.",
|
|
365
|
-
"df.wise.ControlFeedback.required": "Compila questo campo.",
|
|
366
|
-
"df.wise.ControlFeedback.type": "Tipo errato",
|
|
367
|
-
"df.wise.CopyFeedback.copy": "Copiato negli appunti",
|
|
368
|
-
"df.wise.CopyFeedback.copyFailed": "Impossibile copiare negli appunti",
|
|
369
|
-
"df.wise.Decision.all": "Tutte",
|
|
370
|
-
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
371
|
-
"df.wise.Decision.noResults": "Nessun risultato",
|
|
372
|
-
"df.wise.Decision.popular": "Popolari",
|
|
373
|
-
"df.wise.Decision.recent": "Recenti",
|
|
374
|
-
"df.wise.Decision.results": "Risultati della ricerca",
|
|
375
|
-
"df.wise.DynamicParagraph.copied": "Copiato negli appunti",
|
|
376
|
-
"df.wise.DynamicParagraph.copy": "Copia",
|
|
377
|
-
"df.wise.ErrorBoundary.errorAlert": "Qualcosa non ha funzionato.",
|
|
378
|
-
"df.wise.ErrorBoundary.retry": "Riprova",
|
|
379
|
-
"df.wise.ExternalConfirmation.cancel": "Annulla",
|
|
380
|
-
"df.wise.ExternalConfirmation.description": "Conferma di voler aprire **{origin}** in una nuova scheda del browser.",
|
|
381
|
-
"df.wise.ExternalConfirmation.open": "Apri in una nuova scheda",
|
|
382
|
-
"df.wise.ExternalConfirmation.title": "Conferma",
|
|
383
|
-
"df.wise.Help.ariaLabel": "Clicca qui per maggiori informazioni.",
|
|
384
|
-
"df.wise.MultiSelect.summary": "{first} e altri {count}",
|
|
385
|
-
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "Spiacenti, il file \xE8 troppo grande. Carica un file di dimensioni inferiori.",
|
|
386
|
-
"df.wise.MultipleFileUploadSchema.maxItemsError": "Carica al massimo {maxItems} file.",
|
|
387
|
-
"df.wise.MultipleFileUploadSchema.minItemsError": "Carica almeno {minItems} file.",
|
|
388
|
-
"df.wise.PersistAsyncSchema.genericError": "Qualcosa \xE8 andato storto. Riprova.",
|
|
389
|
-
"df.wise.SearchLayout.loading": "Caricamento..."
|
|
132
|
+
// ../renderers/src/ButtonRenderer/AddressValidationButtonRenderer.tsx
|
|
133
|
+
import { useEffect, useState } from "react";
|
|
134
|
+
import { jsx as jsx3, jsxs } from "react/jsx-runtime";
|
|
135
|
+
var AddressValidationButtonRenderer = {
|
|
136
|
+
canRenderType: "button",
|
|
137
|
+
canRender: ({ control }) => control === "address-validation",
|
|
138
|
+
render: AddressValidationButtonComponent
|
|
390
139
|
};
|
|
140
|
+
function AddressValidationButtonComponent(props) {
|
|
141
|
+
const { disabled, margin, title, stepLoadingState, onClick } = props;
|
|
142
|
+
const { formatMessage } = useIntl();
|
|
143
|
+
const [spinny, setSpinny] = useState(false);
|
|
144
|
+
useEffect(() => {
|
|
145
|
+
if (stepLoadingState === "idle") {
|
|
146
|
+
setSpinny(false);
|
|
147
|
+
}
|
|
148
|
+
}, [stepLoadingState]);
|
|
149
|
+
return /* @__PURE__ */ jsxs("div", { className: `d-flex flex-column ${getMargin(margin)}`, children: [
|
|
150
|
+
/* @__PURE__ */ jsx3(
|
|
151
|
+
Button,
|
|
152
|
+
{
|
|
153
|
+
v2: true,
|
|
154
|
+
block: true,
|
|
155
|
+
disabled,
|
|
156
|
+
priority: "primary",
|
|
157
|
+
size: "md",
|
|
158
|
+
loading: spinny,
|
|
159
|
+
onClick: () => {
|
|
160
|
+
setSpinny(true);
|
|
161
|
+
onClick();
|
|
162
|
+
},
|
|
163
|
+
children: title
|
|
164
|
+
}
|
|
165
|
+
),
|
|
166
|
+
spinny && /* @__PURE__ */ jsx3(InlineAlert, { type: "warning", className: "m-x-auto", children: formatMessage(loading_button_messages_default.buttonLoadingMessage) })
|
|
167
|
+
] });
|
|
168
|
+
}
|
|
169
|
+
var AddressValidationButtonRenderer_default = AddressValidationButtonRenderer;
|
|
391
170
|
|
|
392
|
-
// src/
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
"df.wise.ArraySchema.removeItem": "\u524A\u9664\u3059\u308B",
|
|
400
|
-
"df.wise.ButtonLayout.buttonLoadingMessage": "\u6570\u79D2\u304B\u304B\u308B\u5834\u5408\u304C\u3042\u308A\u307E\u3059",
|
|
401
|
-
"df.wise.ControlFeedback.maxLength": "{maxLength}\u6587\u5B57\u4EE5\u4E0B\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
402
|
-
"df.wise.ControlFeedback.maximum": "{maximum}\u4EE5\u4E0B\u306E\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
403
|
-
"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",
|
|
404
|
-
"df.wise.ControlFeedback.minLength": "{minLength}\u6587\u5B57\u4EE5\u4E0A\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
405
|
-
"df.wise.ControlFeedback.minimum": "{minimum}\u4EE5\u4E0A\u306E\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
406
|
-
"df.wise.ControlFeedback.minimumDate": "{minimum}\u307E\u305F\u306F\u305D\u308C\u4EE5\u964D\u306E\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
407
|
-
"df.wise.ControlFeedback.pattern": "\u6B63\u3057\u3044\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
408
|
-
"df.wise.ControlFeedback.patternDate": "\u6B63\u3057\u3044\u5F62\u5F0F\u3067\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
409
|
-
"df.wise.ControlFeedback.required": "\u3053\u306E\u9805\u76EE\u306F\u5165\u529B\u5FC5\u9808\u3067\u3059\u3002",
|
|
410
|
-
"df.wise.ControlFeedback.type": "\u4E0D\u6B63\u306A\u30BF\u30A4\u30D7",
|
|
411
|
-
"df.wise.CopyFeedback.copy": "\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u3078\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F",
|
|
412
|
-
"df.wise.CopyFeedback.copyFailed": "\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F",
|
|
413
|
-
"df.wise.Decision.all": "\u3059\u3079\u3066",
|
|
414
|
-
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
415
|
-
"df.wise.Decision.noResults": "\u691C\u7D22\u7D50\u679C\u304C\u3042\u308A\u307E\u305B\u3093",
|
|
416
|
-
"df.wise.Decision.popular": "\u4EBA\u6C17",
|
|
417
|
-
"df.wise.Decision.recent": "\u6700\u8FD1",
|
|
418
|
-
"df.wise.Decision.results": "\u691C\u7D22\u7D50\u679C",
|
|
419
|
-
"df.wise.DynamicParagraph.copied": "\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u3078\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F",
|
|
420
|
-
"df.wise.DynamicParagraph.copy": "\u30B3\u30D4\u30FC\u3059\u308B",
|
|
421
|
-
"df.wise.ErrorBoundary.errorAlert": "\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002",
|
|
422
|
-
"df.wise.ErrorBoundary.retry": "\u3084\u308A\u76F4\u3059",
|
|
423
|
-
"df.wise.ExternalConfirmation.cancel": "\u30AD\u30E3\u30F3\u30BB\u30EB\u3059\u308B",
|
|
424
|
-
"df.wise.ExternalConfirmation.description": "\u65B0\u3057\u3044\u30D6\u30E9\u30A6\u30B6\u30BF\u30D6\u3067**{origin}**\u3092\u958B\u304F\u3053\u3068\u3092\u627F\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
425
|
-
"df.wise.ExternalConfirmation.open": "\u65B0\u3057\u3044\u30BF\u30D6\u3067\u958B\u304F",
|
|
426
|
-
"df.wise.ExternalConfirmation.title": "\u627F\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044",
|
|
427
|
-
"df.wise.Help.ariaLabel": "\u8A73\u7D30\u306F\u3053\u3061\u3089\u3092\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
428
|
-
"df.wise.MultiSelect.summary": "{first}\u3068\u305D\u306E\u4ED6{count}",
|
|
429
|
-
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "\u5927\u5909\u7533\u3057\u8A33\u3054\u3056\u3044\u307E\u305B\u3093\u304C\u3001\u30D5\u30A1\u30A4\u30EB\u304C\u5927\u304D\u3059\u304E\u307E\u3059\u3002\u3053\u308C\u3088\u308A\u5C0F\u3055\u3044\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
430
|
-
"df.wise.MultipleFileUploadSchema.maxItemsError": "{maxItems}\u500B\u4EE5\u4E0B\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
431
|
-
"df.wise.MultipleFileUploadSchema.minItemsError": "{minItems}\u500B\u4EE5\u4E0A\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
432
|
-
"df.wise.PersistAsyncSchema.genericError": "\u554F\u984C\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002\u518D\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002",
|
|
433
|
-
"df.wise.SearchLayout.loading": "\u8AAD\u307F\u8FBC\u307F\u4E2D\u2026"
|
|
171
|
+
// ../renderers/src/ButtonRenderer/ButtonRenderer.tsx
|
|
172
|
+
import { Button as Button2 } from "@transferwise/components";
|
|
173
|
+
import { useEffect as useEffect2, useState as useState2 } from "react";
|
|
174
|
+
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
175
|
+
var ButtonRenderer = {
|
|
176
|
+
canRenderType: "button",
|
|
177
|
+
render: ButtonComponent
|
|
434
178
|
};
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
"
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
"df.wise.Help.ariaLabel": "Klik hier voor meer informatie.",
|
|
472
|
-
"df.wise.MultiSelect.summary": "{first} en nog {count}",
|
|
473
|
-
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "Het bestand is te groot. Upload een kleiner bestand.",
|
|
474
|
-
"df.wise.MultipleFileUploadSchema.maxItemsError": "Upload {maxItems} of minder bestanden.",
|
|
475
|
-
"df.wise.MultipleFileUploadSchema.minItemsError": "Upload minimaal {minItems} bestand(en).",
|
|
476
|
-
"df.wise.PersistAsyncSchema.genericError": "Er is iets misgegaan, probeer het opnieuw.",
|
|
477
|
-
"df.wise.SearchLayout.loading": "Laden..."
|
|
179
|
+
function ButtonComponent(props) {
|
|
180
|
+
const { control, context, disabled, margin, title, size, stepLoadingState, onClick } = props;
|
|
181
|
+
const [spinny, setSpinny] = useState2(false);
|
|
182
|
+
useEffect2(() => {
|
|
183
|
+
if (stepLoadingState === "idle") {
|
|
184
|
+
setSpinny(false);
|
|
185
|
+
}
|
|
186
|
+
}, [stepLoadingState]);
|
|
187
|
+
const priority = mapControl(control);
|
|
188
|
+
const type = priority === "tertiary" ? void 0 : mapContext(context);
|
|
189
|
+
return /* @__PURE__ */ jsx4(
|
|
190
|
+
Button2,
|
|
191
|
+
{
|
|
192
|
+
block: true,
|
|
193
|
+
className: getMargin(margin),
|
|
194
|
+
disabled,
|
|
195
|
+
priority,
|
|
196
|
+
size: mapSize(size),
|
|
197
|
+
loading: spinny && stepLoadingState !== "idle",
|
|
198
|
+
type,
|
|
199
|
+
onClick: () => {
|
|
200
|
+
setSpinny(true);
|
|
201
|
+
onClick();
|
|
202
|
+
},
|
|
203
|
+
children: title
|
|
204
|
+
}
|
|
205
|
+
);
|
|
206
|
+
}
|
|
207
|
+
var mapContext = (context) => {
|
|
208
|
+
switch (context) {
|
|
209
|
+
case "neutral":
|
|
210
|
+
case "warning":
|
|
211
|
+
return "accent";
|
|
212
|
+
default:
|
|
213
|
+
return context;
|
|
214
|
+
}
|
|
478
215
|
};
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
"df.wise.ArraySchema.removeItem": "Usu\u0144",
|
|
488
|
-
"df.wise.ButtonLayout.buttonLoadingMessage": "To mo\u017Ce potrwa\u0107 kilka sekund",
|
|
489
|
-
"df.wise.ControlFeedback.maxLength": "Prosimy wprowadzi\u0107 do {maxLength} znak\xF3w.",
|
|
490
|
-
"df.wise.ControlFeedback.maximum": "Wprowad\u017A liczb\u0119 r\xF3wn\u0105 lub mniejsz\u0105 ni\u017C {maximum}.",
|
|
491
|
-
"df.wise.ControlFeedback.maximumDate": "Wprowad\u017A dat\u0119 nie p\xF3\u017Aniejsz\u0105 ni\u017C {maximum}.",
|
|
492
|
-
"df.wise.ControlFeedback.minLength": "Prosz\u0119 wpisa\u0107 co najmniej {minLength} znak\xF3w.",
|
|
493
|
-
"df.wise.ControlFeedback.minimum": "Wprowad\u017A liczb\u0119 r\xF3wn\u0105 lub wi\u0119ksz\u0105 ni\u017C {minimum}.",
|
|
494
|
-
"df.wise.ControlFeedback.minimumDate": "Wprowad\u017A dat\u0119 nie wcze\u015Bniejsz\u0105 ni\u017C {minimum}.",
|
|
495
|
-
"df.wise.ControlFeedback.pattern": "Wprowad\u017A t\u0119 warto\u015B\u0107 w prawid\u0142owym formacie.",
|
|
496
|
-
"df.wise.ControlFeedback.patternDate": "Wprowad\u017A dat\u0119 w prawid\u0142owym formacie.",
|
|
497
|
-
"df.wise.ControlFeedback.required": "Prosz\u0119 wype\u0142ni\u0107 to pole.",
|
|
498
|
-
"df.wise.ControlFeedback.type": "Nieprawid\u0142owy typ",
|
|
499
|
-
"df.wise.CopyFeedback.copy": "Skopiowano do schowka",
|
|
500
|
-
"df.wise.CopyFeedback.copyFailed": "Nie uda\u0142o si\u0119 skopiowa\u0107 do schowka",
|
|
501
|
-
"df.wise.Decision.all": "Wszystkie",
|
|
502
|
-
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
503
|
-
"df.wise.Decision.noResults": "Brak wynik\xF3w",
|
|
504
|
-
"df.wise.Decision.popular": "Popularne",
|
|
505
|
-
"df.wise.Decision.recent": "Ostatni",
|
|
506
|
-
"df.wise.Decision.results": "Wyniki wyszukiwania",
|
|
507
|
-
"df.wise.DynamicParagraph.copied": "Skopiowano do schowka",
|
|
508
|
-
"df.wise.DynamicParagraph.copy": "Kopiuj",
|
|
509
|
-
"df.wise.ErrorBoundary.errorAlert": "Co\u015B posz\u0142o nie tak.",
|
|
510
|
-
"df.wise.ErrorBoundary.retry": "Spr\xF3buj ponownie",
|
|
511
|
-
"df.wise.ExternalConfirmation.cancel": "Anuluj",
|
|
512
|
-
"df.wise.ExternalConfirmation.description": "Prosimy potwierdzi\u0107, \u017Ce chcesz otworzy\u0107 **{origin}** w nowej zak\u0142adce przegl\u0105darki.",
|
|
513
|
-
"df.wise.ExternalConfirmation.open": "Otw\xF3rz w nowej zak\u0142adce",
|
|
514
|
-
"df.wise.ExternalConfirmation.title": "Potwierd\u017A",
|
|
515
|
-
"df.wise.Help.ariaLabel": "Kliknij tutaj, \u017Ceby uzyska\u0107 wi\u0119cej informacji.",
|
|
516
|
-
"df.wise.MultiSelect.summary": "{first} oraz {count} wi\u0119cej",
|
|
517
|
-
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "Przepraszamy, ten plik jest zbyt du\u017Cy. Prze\u015Blij mniejszy plik.",
|
|
518
|
-
"df.wise.MultipleFileUploadSchema.maxItemsError": "Prze\u015Blij do {maxItems} plik\xF3w.",
|
|
519
|
-
"df.wise.MultipleFileUploadSchema.minItemsError": "Prze\u015Blij co najmniej nast\u0119puj\u0105c\u0105 liczb\u0119 plik\xF3w: {minItems}.",
|
|
520
|
-
"df.wise.PersistAsyncSchema.genericError": "Wyst\u0105pi\u0142 b\u0142\u0105d, prosimy spr\xF3bowa\u0107 ponownie.",
|
|
521
|
-
"df.wise.SearchLayout.loading": "\u0141adowanie..."
|
|
216
|
+
var mapControl = (control) => {
|
|
217
|
+
switch (control) {
|
|
218
|
+
case "primary":
|
|
219
|
+
case "tertiary":
|
|
220
|
+
return control;
|
|
221
|
+
default:
|
|
222
|
+
return "secondary";
|
|
223
|
+
}
|
|
522
224
|
};
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
"df.wise.ControlFeedback.minimumDate": "Por favor, insira uma data que seja em ou ap\xF3s {minimum}.",
|
|
539
|
-
"df.wise.ControlFeedback.pattern": "Por favor, insira essa informa\xE7\xE3o no formato correto.",
|
|
540
|
-
"df.wise.ControlFeedback.patternDate": "Por favor, insira a data no formato correto.",
|
|
541
|
-
"df.wise.ControlFeedback.required": "Por favor, preencha o campo.",
|
|
542
|
-
"df.wise.ControlFeedback.type": "Tipo incorreto",
|
|
543
|
-
"df.wise.CopyFeedback.copy": "Copiado",
|
|
544
|
-
"df.wise.CopyFeedback.copyFailed": "Falha ao copiar para \xE1rea de transfer\xEAncia",
|
|
545
|
-
"df.wise.Decision.all": "Todos",
|
|
546
|
-
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
547
|
-
"df.wise.Decision.noResults": "Nenhum resultado",
|
|
548
|
-
"df.wise.Decision.popular": "Populares",
|
|
549
|
-
"df.wise.Decision.recent": "Recente",
|
|
550
|
-
"df.wise.Decision.results": "Resultados da busca",
|
|
551
|
-
"df.wise.DynamicParagraph.copied": "Copiado",
|
|
552
|
-
"df.wise.DynamicParagraph.copy": "Copiar",
|
|
553
|
-
"df.wise.ErrorBoundary.errorAlert": "Algo deu errado.",
|
|
554
|
-
"df.wise.ErrorBoundary.retry": "Tentar novamente",
|
|
555
|
-
"df.wise.ExternalConfirmation.cancel": "Cancelar",
|
|
556
|
-
"df.wise.ExternalConfirmation.description": "Por favor, confirme que deseja abrir * *{origin}* * em uma nova aba do navegador.",
|
|
557
|
-
"df.wise.ExternalConfirmation.open": "Abrir em uma nova aba",
|
|
558
|
-
"df.wise.ExternalConfirmation.title": "Por favor, confirme",
|
|
559
|
-
"df.wise.Help.ariaLabel": "Clique aqui para mais informa\xE7\xF5es.",
|
|
560
|
-
"df.wise.MultiSelect.summary": "{first} e mais {count} ",
|
|
561
|
-
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "Este arquivo \xE9 muito grande. Por favor, envie um arquivo menor.",
|
|
562
|
-
"df.wise.MultipleFileUploadSchema.maxItemsError": "Por favor, envie {maxItems} ou menos arquivos.",
|
|
563
|
-
"df.wise.MultipleFileUploadSchema.minItemsError": "Por favor, envie pelo menos {minItems} arquivo(s).",
|
|
564
|
-
"df.wise.PersistAsyncSchema.genericError": "Ocorreu um erro. Por favor, tente novamente.",
|
|
565
|
-
"df.wise.SearchLayout.loading": "Carregando..."
|
|
225
|
+
var mapSize = (size) => {
|
|
226
|
+
if (!size) {
|
|
227
|
+
return void 0;
|
|
228
|
+
}
|
|
229
|
+
switch (size) {
|
|
230
|
+
case "xs":
|
|
231
|
+
case "sm":
|
|
232
|
+
return "sm";
|
|
233
|
+
case "lg":
|
|
234
|
+
case "xl":
|
|
235
|
+
return "lg";
|
|
236
|
+
case "md":
|
|
237
|
+
default:
|
|
238
|
+
return "md";
|
|
239
|
+
}
|
|
566
240
|
};
|
|
241
|
+
var ButtonRenderer_default = ButtonRenderer;
|
|
567
242
|
|
|
568
|
-
// src/
|
|
569
|
-
|
|
570
|
-
"df.wise.ArraySchema.addItem": "Salvare",
|
|
571
|
-
"df.wise.ArraySchema.addItemTitle": "Adaug\u0103 produs",
|
|
572
|
-
"df.wise.ArraySchema.editItem": "Salvare",
|
|
573
|
-
"df.wise.ArraySchema.maxItemsError": "Te rug\u0103m s\u0103 adaugi {maxItems} sau mai pu\u021Bine.",
|
|
574
|
-
"df.wise.ArraySchema.minItemsError": "Te rug\u0103m s\u0103 adaugi cel pu\u021Bin {minItems}.",
|
|
575
|
-
"df.wise.ArraySchema.removeItem": "Elimin\u0103",
|
|
576
|
-
"df.wise.ButtonLayout.buttonLoadingMessage": "Acest lucru ar putea dura c\xE2teva secunde",
|
|
577
|
-
"df.wise.ControlFeedback.maxLength": "Te rug\u0103m s\u0103 introduci {maxLength} sau mai pu\u021Bine caractere.",
|
|
578
|
-
"df.wise.ControlFeedback.maximum": "Te rug\u0103m s\u0103 introduci un num\u0103r egal cu {maximum} sau mai mic.",
|
|
579
|
-
"df.wise.ControlFeedback.maximumDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 de \xEEnainte de sau egal\u0103 cu {maximum}.",
|
|
580
|
-
"df.wise.ControlFeedback.minLength": "Te rug\u0103m s\u0103 introduci cel pu\u021Bin {minLength} caractere.",
|
|
581
|
-
"df.wise.ControlFeedback.minimum": "Te rug\u0103m s\u0103 introduci un num\u0103r egal cu {minimum} sau mai mare.",
|
|
582
|
-
"df.wise.ControlFeedback.minimumDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 de dup\u0103 sau egal\u0103 cu {minimum}.",
|
|
583
|
-
"df.wise.ControlFeedback.pattern": "Te rug\u0103m s\u0103 introduci acest lucru \xEEn formatul corect.",
|
|
584
|
-
"df.wise.ControlFeedback.patternDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 \xEEn formatul corect.",
|
|
585
|
-
"df.wise.ControlFeedback.required": "Te rug\u0103m s\u0103 completezi acest spa\u021Biu.",
|
|
586
|
-
"df.wise.ControlFeedback.type": "Tip incorect",
|
|
587
|
-
"df.wise.CopyFeedback.copy": "Copiat \xEEn clipboard",
|
|
588
|
-
"df.wise.CopyFeedback.copyFailed": "Copierea \xEEn clipboard a e\u0219uat",
|
|
589
|
-
"df.wise.Decision.all": "Toate",
|
|
590
|
-
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
591
|
-
"df.wise.Decision.noResults": "Niciun rezultat",
|
|
592
|
-
"df.wise.Decision.popular": "Populare",
|
|
593
|
-
"df.wise.Decision.recent": "Recente",
|
|
594
|
-
"df.wise.Decision.results": "Rezultatele c\u0103ut\u0103rii",
|
|
595
|
-
"df.wise.DynamicParagraph.copied": "Copiat \xEEn clipboard",
|
|
596
|
-
"df.wise.DynamicParagraph.copy": "Copiaz\u0103",
|
|
597
|
-
"df.wise.ErrorBoundary.errorAlert": "Ceva nu a mers bine.",
|
|
598
|
-
"df.wise.ErrorBoundary.retry": "\xCEncearc\u0103 din nou",
|
|
599
|
-
"df.wise.ExternalConfirmation.cancel": "Anuleaz\u0103",
|
|
600
|
-
"df.wise.ExternalConfirmation.description": "Te rug\u0103m s\u0103 confirmi c\u0103 vrei s\u0103 deschizi **{origin}** \xEEntr-o nou\u0103 fil\u0103 a browserului.",
|
|
601
|
-
"df.wise.ExternalConfirmation.open": "Deschide \xEEntr-o fil\u0103 nou\u0103",
|
|
602
|
-
"df.wise.ExternalConfirmation.title": "Te rug\u0103m s\u0103 confirmi",
|
|
603
|
-
"df.wise.Help.ariaLabel": "D\u0103 click aici pentru mai multe informa\u021Bii.",
|
|
604
|
-
"df.wise.MultiSelect.summary": "{first} \u0219i \xEEnc\u0103 {count}",
|
|
605
|
-
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "Ne pare r\u0103u, acel fi\u0219ier este prea mare. Te rug\u0103m s\u0103 \xEEncarci un fi\u0219ier mai mic.",
|
|
606
|
-
"df.wise.MultipleFileUploadSchema.maxItemsError": "Te rug\u0103m s\u0103 \xEEncarci {maxItems} fi\u0219iere sau mai pu\u021Bine.",
|
|
607
|
-
"df.wise.MultipleFileUploadSchema.minItemsError": "Te rug\u0103m s\u0103 \xEEncarci cel pu\u021Bin {minItems} fi\u0219ier(e).",
|
|
608
|
-
"df.wise.PersistAsyncSchema.genericError": "Ceva nu a mers bine, te rug\u0103m s\u0103 \xEEncerci din nou.",
|
|
609
|
-
"df.wise.SearchLayout.loading": "Se \xEEncarc\u0103..."
|
|
610
|
-
};
|
|
243
|
+
// ../renderers/src/components/FieldInput.tsx
|
|
244
|
+
import { Field } from "@transferwise/components";
|
|
611
245
|
|
|
612
|
-
// src/
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
"df.wise.ArraySchema.addItemTitle": "\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0443\u043D\u043A\u0442",
|
|
616
|
-
"df.wise.ArraySchema.editItem": "\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C",
|
|
617
|
-
"df.wise.ArraySchema.maxItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0434\u043E\u0431\u0430\u0432\u044C\u0442\u0435 {maxItems} \u0438\u043B\u0438 \u043C\u0435\u043D\u044C\u0448\u0435.",
|
|
618
|
-
"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}.",
|
|
619
|
-
"df.wise.ArraySchema.removeItem": "\u0423\u0434\u0430\u043B\u0438\u0442\u044C",
|
|
620
|
-
"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",
|
|
621
|
-
"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.",
|
|
622
|
-
"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.",
|
|
623
|
-
"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.",
|
|
624
|
-
"df.wise.ControlFeedback.minLength": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043F\u043E \u043A\u0440\u0430\u0439\u043D\u0435\u0439 \u043C\u0435\u0440\u0435 {minLength} \u0441\u0438\u043C\u0432\u043E\u043B\u0430(-\u043E\u0432).",
|
|
625
|
-
"df.wise.ControlFeedback.minimum": "\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 {minimum} \u0438\u043B\u0438 \u0431\u043E\u043B\u044C\u0448\u0435.",
|
|
626
|
-
"df.wise.ControlFeedback.minimumDate": "\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 {minimum} \u0438\u043B\u0438 \u0431\u043E\u043B\u0435\u0435 \u043F\u043E\u0437\u0434\u043D\u044E\u044E.",
|
|
627
|
-
"df.wise.ControlFeedback.pattern": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u044D\u0442\u043E \u0432 \u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u043E\u043C \u0444\u043E\u0440\u043C\u0430\u0442\u0435.",
|
|
628
|
-
"df.wise.ControlFeedback.patternDate": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443 \u0432 \u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u043E\u043C \u0444\u043E\u0440\u043C\u0430\u0442\u0435.",
|
|
629
|
-
"df.wise.ControlFeedback.required": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u043E\u0435 \u043F\u043E\u043B\u0435.",
|
|
630
|
-
"df.wise.ControlFeedback.type": "\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0442\u0438\u043F",
|
|
631
|
-
"df.wise.CopyFeedback.copy": "\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",
|
|
632
|
-
"df.wise.CopyFeedback.copyFailed": "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",
|
|
633
|
-
"df.wise.Decision.all": "\u0412\u0441\u0435",
|
|
634
|
-
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
635
|
-
"df.wise.Decision.noResults": "\u041D\u0435\u0442 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432",
|
|
636
|
-
"df.wise.Decision.popular": "\u041F\u043E\u043F\u0443\u043B\u044F\u0440\u043D\u044B\u0435",
|
|
637
|
-
"df.wise.Decision.recent": "\u041D\u0435\u0434\u0430\u0432\u043D\u0438\u0435",
|
|
638
|
-
"df.wise.Decision.results": "\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043F\u043E\u0438\u0441\u043A\u0430",
|
|
639
|
-
"df.wise.DynamicParagraph.copied": "\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",
|
|
640
|
-
"df.wise.DynamicParagraph.copy": "\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C",
|
|
641
|
-
"df.wise.ErrorBoundary.errorAlert": "\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A.",
|
|
642
|
-
"df.wise.ErrorBoundary.retry": "\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u043F\u043E\u043F\u044B\u0442\u043A\u0443",
|
|
643
|
-
"df.wise.ExternalConfirmation.cancel": "\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C",
|
|
644
|
-
"df.wise.ExternalConfirmation.description": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435, \u0447\u0442\u043E \u0432\u044B \u0445\u043E\u0442\u0438\u0442\u0435 \u043E\u0442\u043A\u0440\u044B\u0442\u044C **{origin}** \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.",
|
|
645
|
-
"df.wise.ExternalConfirmation.open": "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435",
|
|
646
|
-
"df.wise.ExternalConfirmation.title": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435",
|
|
647
|
-
"df.wise.Help.ariaLabel": "\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044C \u0434\u043B\u044F \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438.",
|
|
648
|
-
"df.wise.MultiSelect.summary": "{first} \u0438 \u0435\u0449\u0435 {count} \u0434\u0440\u0443\u0433\u0438\u0445",
|
|
649
|
-
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "\u0418\u0437\u0432\u0438\u043D\u0438\u0442\u0435, \u0444\u0430\u0439\u043B \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0439. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0444\u0430\u0439\u043B \u043C\u0435\u043D\u044C\u0448\u0435\u0433\u043E \u0440\u0430\u0437\u043C\u0435\u0440\u0430.",
|
|
650
|
-
"df.wise.MultipleFileUploadSchema.maxItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u043D\u0435 \u0431\u043E\u043B\u0435\u0435 {maxItems} \u0444\u0430\u0439\u043B\u043E\u0432.",
|
|
651
|
-
"df.wise.MultipleFileUploadSchema.minItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u043F\u043E \u043A\u0440\u0430\u0439\u043D\u0435\u0439 \u043C\u0435\u0440\u0435 {minItems} \u0444\u0430\u0439\u043B(-\u0430/\u043E\u0432).",
|
|
652
|
-
"df.wise.PersistAsyncSchema.genericError": "\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0435 \u0440\u0430\u0437.",
|
|
653
|
-
"df.wise.SearchLayout.loading": "\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430..."
|
|
654
|
-
};
|
|
246
|
+
// ../renderers/src/components/Help.tsx
|
|
247
|
+
import { Info, Markdown } from "@transferwise/components";
|
|
248
|
+
import { useIntl as useIntl2 } from "react-intl";
|
|
655
249
|
|
|
656
|
-
// src/
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
"
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
250
|
+
// ../renderers/src/messages/help.messages.ts
|
|
251
|
+
import { defineMessages as defineMessages2 } from "react-intl";
|
|
252
|
+
var help_messages_default = defineMessages2({
|
|
253
|
+
helpAria: {
|
|
254
|
+
id: "df.wise.Help.ariaLabel",
|
|
255
|
+
defaultMessage: "Click here for more info.",
|
|
256
|
+
description: "Aria label for help."
|
|
257
|
+
}
|
|
258
|
+
});
|
|
259
|
+
|
|
260
|
+
// ../renderers/src/components/Help.tsx
|
|
261
|
+
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
262
|
+
function Help({ help, onClick }) {
|
|
263
|
+
const intl = useIntl2();
|
|
264
|
+
return /* @__PURE__ */ jsx5(
|
|
265
|
+
Info,
|
|
266
|
+
{
|
|
267
|
+
className: "m-l-1",
|
|
268
|
+
content: /* @__PURE__ */ jsx5(Markdown, { config: { link: { target: "_blank" } }, children: help }),
|
|
269
|
+
presentation: "POPOVER",
|
|
270
|
+
size: "sm",
|
|
271
|
+
"aria-label": intl.formatMessage(help_messages_default.helpAria),
|
|
272
|
+
onClick
|
|
273
|
+
}
|
|
274
|
+
);
|
|
275
|
+
}
|
|
276
|
+
var Help_default = Help;
|
|
277
|
+
|
|
278
|
+
// ../renderers/src/components/LabelContentWithHelp.tsx
|
|
279
|
+
import { jsx as jsx6, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
280
|
+
function LabelContentWithHelp({ text, help }) {
|
|
281
|
+
return /* @__PURE__ */ jsxs2("div", { children: [
|
|
282
|
+
text,
|
|
283
|
+
/* @__PURE__ */ jsx6(Help_default, { help })
|
|
284
|
+
] });
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
// ../renderers/src/components/FieldInput.tsx
|
|
288
|
+
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
289
|
+
function FieldInput({ id, children, label, validation, description, help }) {
|
|
290
|
+
const labelContent = label && help ? /* @__PURE__ */ jsx7(LabelContentWithHelp, { text: label, help }) : label;
|
|
291
|
+
return /* @__PURE__ */ jsx7(
|
|
292
|
+
Field,
|
|
293
|
+
{
|
|
294
|
+
id,
|
|
295
|
+
label: labelContent,
|
|
296
|
+
description,
|
|
297
|
+
message: validation == null ? void 0 : validation.message,
|
|
298
|
+
sentiment: mapStatusToSentiment(validation),
|
|
299
|
+
children
|
|
300
|
+
}
|
|
301
|
+
);
|
|
302
|
+
}
|
|
303
|
+
var mapStatusToSentiment = (validation) => {
|
|
304
|
+
if (validation) {
|
|
305
|
+
if (validation.status === "valid") {
|
|
306
|
+
return "positive";
|
|
307
|
+
}
|
|
308
|
+
return "negative";
|
|
309
|
+
}
|
|
310
|
+
return void 0;
|
|
698
311
|
};
|
|
312
|
+
var FieldInput_default = FieldInput;
|
|
699
313
|
|
|
700
|
-
// src/
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
"df.wise.DynamicParagraph.copy": "Kopyala",
|
|
729
|
-
"df.wise.ErrorBoundary.errorAlert": "Bir sorun olu\u015Ftu.",
|
|
730
|
-
"df.wise.ErrorBoundary.retry": "Tekrar dene",
|
|
731
|
-
"df.wise.ExternalConfirmation.cancel": "\u0130ptal edin",
|
|
732
|
-
"df.wise.ExternalConfirmation.description": "L\xFCtfen yeni bir taray\u0131c\u0131 sekmesinde **{origin}** a\xE7mak istedi\u011Finizi onaylay\u0131n.",
|
|
733
|
-
"df.wise.ExternalConfirmation.open": "Yeni sekmede a\xE7",
|
|
734
|
-
"df.wise.ExternalConfirmation.title": "L\xFCtfen onaylay\u0131n",
|
|
735
|
-
"df.wise.Help.ariaLabel": "Ayr\u0131nt\u0131lar i\xE7in t\u0131klay\u0131n.",
|
|
736
|
-
"df.wise.MultiSelect.summary": "{first} ve {count} daha",
|
|
737
|
-
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "\xDCzg\xFCn\xFCz, bu dosya \xE7ok b\xFCy\xFCk. L\xFCtfen daha k\xFC\xE7\xFCk bir dosya y\xFCkleyin.",
|
|
738
|
-
"df.wise.MultipleFileUploadSchema.maxItemsError": "L\xFCtfen {maxItems} veya daha az dosya y\xFCkleyin.",
|
|
739
|
-
"df.wise.MultipleFileUploadSchema.minItemsError": "L\xFCtfen en az {minItems} dosya y\xFCkleyin.",
|
|
740
|
-
"df.wise.PersistAsyncSchema.genericError": "Bir \u015Feyler ters gitti, l\xFCtfen tekrar deneyin.",
|
|
741
|
-
"df.wise.SearchLayout.loading": "Y\xFCkleniyor..."
|
|
314
|
+
// ../renderers/src/CheckboxInputRenderer.tsx
|
|
315
|
+
import { Checkbox } from "@transferwise/components";
|
|
316
|
+
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
317
|
+
var CheckboxInputRenderer = {
|
|
318
|
+
canRenderType: "input-checkbox",
|
|
319
|
+
render: (props) => {
|
|
320
|
+
const _a = props, {
|
|
321
|
+
id,
|
|
322
|
+
control,
|
|
323
|
+
title = "",
|
|
324
|
+
description,
|
|
325
|
+
help,
|
|
326
|
+
type,
|
|
327
|
+
validationState,
|
|
328
|
+
value
|
|
329
|
+
} = _a, rest = __objRest(_a, [
|
|
330
|
+
"id",
|
|
331
|
+
"control",
|
|
332
|
+
"title",
|
|
333
|
+
"description",
|
|
334
|
+
"help",
|
|
335
|
+
"type",
|
|
336
|
+
"validationState",
|
|
337
|
+
"value"
|
|
338
|
+
]);
|
|
339
|
+
const checkboxProps = __spreadProps(__spreadValues({}, rest), { label: title, secondary: description, checked: value });
|
|
340
|
+
return /* @__PURE__ */ jsx8(FieldInput_default, { id, label: "", description: "", validation: validationState, help, children: /* @__PURE__ */ jsx8(Checkbox, __spreadValues({ id }, checkboxProps)) });
|
|
341
|
+
}
|
|
742
342
|
};
|
|
343
|
+
var CheckboxInputRenderer_default = CheckboxInputRenderer;
|
|
743
344
|
|
|
744
|
-
// src/
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
"df.wise.ControlFeedback.type": "\u7C7B\u578B\u9519\u8BEF",
|
|
763
|
-
"df.wise.CopyFeedback.copy": "\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F",
|
|
764
|
-
"df.wise.CopyFeedback.copyFailed": "\u590D\u5236\u5230\u526A\u8D34\u677F\u5931\u8D25",
|
|
765
|
-
"df.wise.Decision.all": "\u5168\u90E8",
|
|
766
|
-
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
767
|
-
"df.wise.Decision.noResults": "\u6682\u65E0\u7ED3\u679C",
|
|
768
|
-
"df.wise.Decision.popular": "\u70ED\u95E8",
|
|
769
|
-
"df.wise.Decision.recent": "\u6700\u8FD1",
|
|
770
|
-
"df.wise.Decision.results": "\u641C\u7D22\u7ED3\u679C",
|
|
771
|
-
"df.wise.DynamicParagraph.copied": "\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F",
|
|
772
|
-
"df.wise.DynamicParagraph.copy": "\u590D\u5236",
|
|
773
|
-
"df.wise.ErrorBoundary.errorAlert": "\u51FA\u9519\u4E86\u3002",
|
|
774
|
-
"df.wise.ErrorBoundary.retry": "\u91CD\u8BD5",
|
|
775
|
-
"df.wise.ExternalConfirmation.cancel": "\u53D6\u6D88",
|
|
776
|
-
"df.wise.ExternalConfirmation.description": "\u8BF7\u786E\u8BA4\u60A8\u662F\u5426\u8981\u5728\u65B0\u6807\u7B7E\u9875\u4E2D\u6253\u5F00**{origin}**\u3002",
|
|
777
|
-
"df.wise.ExternalConfirmation.open": "\u5728\u65B0\u6807\u7B7E\u9875\u4E2D\u6253\u5F00",
|
|
778
|
-
"df.wise.ExternalConfirmation.title": "\u8BF7\u786E\u8BA4",
|
|
779
|
-
"df.wise.Help.ariaLabel": "\u70B9\u51FB\u6B64\u5904\u83B7\u53D6\u66F4\u591A\u4FE1\u606F\u3002",
|
|
780
|
-
"df.wise.MultiSelect.summary": "{first} \u548C\u5176\u4ED6 {count} \u4E2A",
|
|
781
|
-
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "\u62B1\u6B49\uFF0C\u8BE5\u6587\u4EF6\u592A\u5927\u3002\u8BF7\u4E0A\u4F20\u4E00\u4E2A\u66F4\u5C0F\u7684\u6587\u4EF6\u3002",
|
|
782
|
-
"df.wise.MultipleFileUploadSchema.maxItemsError": "\u8BF7\u4E0A\u4F20\u4E0D\u8D85\u8FC7 {maxItems} \u4E2A\u6587\u4EF6\u3002",
|
|
783
|
-
"df.wise.MultipleFileUploadSchema.minItemsError": "\u8BF7\u4E0A\u4F20\u81F3\u5C11 {minItems} \u4E2A\u6587\u4EF6\u3002",
|
|
784
|
-
"df.wise.PersistAsyncSchema.genericError": "\u51FA\u9519\u4E86\uFF0C\u8BF7\u91CD\u8BD5\u3002",
|
|
785
|
-
"df.wise.SearchLayout.loading": "\u6B63\u5728\u52A0\u8F7D\u2026"
|
|
345
|
+
// ../renderers/src/ColumnsRenderer.tsx
|
|
346
|
+
import classNames2 from "classnames";
|
|
347
|
+
import { jsx as jsx9, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
348
|
+
var ColumnsRenderer = {
|
|
349
|
+
canRenderType: "columns",
|
|
350
|
+
render: ({ bias, margin, startChildren, endChildren }) => /* @__PURE__ */ jsxs3(
|
|
351
|
+
"div",
|
|
352
|
+
{
|
|
353
|
+
className: classNames2("df-columns-renderer-container", getMargin(margin), {
|
|
354
|
+
"df-columns-renderer-bias-start": bias === "start",
|
|
355
|
+
"df-columns-renderer-bias-end": bias === "end"
|
|
356
|
+
}),
|
|
357
|
+
children: [
|
|
358
|
+
/* @__PURE__ */ jsx9("div", { className: "df-columns-renderer-column", children: startChildren }),
|
|
359
|
+
/* @__PURE__ */ jsx9("div", { className: "df-columns-renderer-column", children: endChildren })
|
|
360
|
+
]
|
|
361
|
+
}
|
|
362
|
+
)
|
|
786
363
|
};
|
|
364
|
+
var ColumnsRenderer_default = ColumnsRenderer;
|
|
787
365
|
|
|
788
|
-
// src/
|
|
789
|
-
|
|
790
|
-
"df.wise.ArraySchema.addItem": "\u5132\u5B58",
|
|
791
|
-
"df.wise.ArraySchema.addItemTitle": "\u6DFB\u52A0\u9805\u76EE",
|
|
792
|
-
"df.wise.ArraySchema.editItem": "\u5132\u5B58",
|
|
793
|
-
"df.wise.ArraySchema.maxItemsError": "\u8ACB\u6DFB\u52A0\u4E0D\u8D85\u904E{maxItems}\u9805\u3002",
|
|
794
|
-
"df.wise.ArraySchema.minItemsError": "\u8ACB\u81F3\u5C11\u6DFB\u52A0{minItems}\u9805\u3002",
|
|
795
|
-
"df.wise.ArraySchema.removeItem": "\u79FB\u9664",
|
|
796
|
-
"df.wise.ButtonLayout.buttonLoadingMessage": "\u6B64\u7A0B\u5E8F\u53EF\u80FD\u9700\u6642\u5E7E\u79D2",
|
|
797
|
-
"df.wise.ControlFeedback.maxLength": "\u8ACB\u8F38\u5165\u6700\u591A{maxLength}\u500B\u5B57\u5143\u3002",
|
|
798
|
-
"df.wise.ControlFeedback.maximum": "\u8ACB\u8F38\u5165\u4E00\u500B\u5C0F\u65BC\u6216\u7B49\u65BC{maximum}\u7684\u6578\u5B57\u3002",
|
|
799
|
-
"df.wise.ControlFeedback.maximumDate": "\u8ACB\u8F38\u5165{maximum}\u6216\u4E4B\u524D\u7684\u65E5\u671F\u3002",
|
|
800
|
-
"df.wise.ControlFeedback.minLength": "\u8ACB\u8F38\u5165\u81F3\u5C11{minLength}\u500B\u5B57\u5143\u3002",
|
|
801
|
-
"df.wise.ControlFeedback.minimum": "\u8ACB\u8F38\u5165\u4E00\u500B\u5927\u65BC\u6216\u7B49\u65BC{minimum}\u7684\u6578\u5B57\u3002",
|
|
802
|
-
"df.wise.ControlFeedback.minimumDate": "\u8ACB\u8F38\u5165{minimum}\u6216\u4E4B\u5F8C\u7684\u65E5\u671F\u3002",
|
|
803
|
-
"df.wise.ControlFeedback.pattern": "\u8ACB\u4EE5\u6B63\u78BA\u683C\u5F0F\u8F38\u5165\u5185\u5BB9\u3002",
|
|
804
|
-
"df.wise.ControlFeedback.patternDate": "\u8ACB\u4EE5\u6B63\u78BA\u683C\u5F0F\u8F38\u5165\u65E5\u671F\u3002",
|
|
805
|
-
"df.wise.ControlFeedback.required": "\u8ACB\u586B\u5BEB\u6B64\u6B04\u4F4D\u3002",
|
|
806
|
-
"df.wise.ControlFeedback.type": "\u932F\u8AA4\u7684\u985E\u578B",
|
|
807
|
-
"df.wise.CopyFeedback.copy": "\u8907\u88FD\u5230\u526A\u8CBC\u677F",
|
|
808
|
-
"df.wise.CopyFeedback.copyFailed": "\u7121\u6CD5\u8907\u88FD\u5230\u526A\u8CBC\u677F",
|
|
809
|
-
"df.wise.Decision.all": "\u5168\u90E8",
|
|
810
|
-
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
811
|
-
"df.wise.Decision.noResults": "\u6C92\u6709\u7D50\u679C",
|
|
812
|
-
"df.wise.Decision.popular": "\u71B1\u9580",
|
|
813
|
-
"df.wise.Decision.recent": "\u6700\u8FD1\u7684",
|
|
814
|
-
"df.wise.Decision.results": "\u641C\u5C0B\u7D50\u679C",
|
|
815
|
-
"df.wise.DynamicParagraph.copied": "\u8907\u88FD\u5230\u526A\u8CBC\u677F",
|
|
816
|
-
"df.wise.DynamicParagraph.copy": "\u8907\u88FD",
|
|
817
|
-
"df.wise.ErrorBoundary.errorAlert": "\u51FA\u4E86\u4E9B\u554F\u984C\u3002",
|
|
818
|
-
"df.wise.ErrorBoundary.retry": "\u91CD\u8A66",
|
|
819
|
-
"df.wise.ExternalConfirmation.cancel": "\u53D6\u6D88",
|
|
820
|
-
"df.wise.ExternalConfirmation.description": "\u8ACB\u78BA\u8A8D\u4F60\u662F\u5426\u8981\u5728\u700F\u89BD\u5668\u7684\u65B0\u5206\u9801\u6253\u958B**{origin}**\u3002",
|
|
821
|
-
"df.wise.ExternalConfirmation.open": "\u5728\u65B0\u5206\u9801\u4E2D\u958B\u555F",
|
|
822
|
-
"df.wise.ExternalConfirmation.title": "\u8ACB\u78BA\u8A8D",
|
|
823
|
-
"df.wise.Help.ariaLabel": "\u6309\u6B64\u67E5\u770B\u8A73\u60C5\u3002",
|
|
824
|
-
"df.wise.MultiSelect.summary": "{first}\u548C\u5176\u4ED6{count}\u9805",
|
|
825
|
-
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "\u62B1\u6B49\uFF0C\u8A72\u6A94\u6848\u592A\u5927\u3002\u8ACB\u4E0A\u8F09\u4E00\u500B\u8F03\u5C0F\u7684\u6A94\u6848\u3002",
|
|
826
|
-
"df.wise.MultipleFileUploadSchema.maxItemsError": "\u8ACB\u4E0D\u8981\u4E0A\u8F09\u8D85\u904E{maxItems}\u500B\u6A94\u6848\u3002",
|
|
827
|
-
"df.wise.MultipleFileUploadSchema.minItemsError": "\u8ACB\u4E0A\u8F09\u81F3\u5C11{minItems}\u500B\u6A94\u6848\u3002",
|
|
828
|
-
"df.wise.PersistAsyncSchema.genericError": "\u51FA\u73FE\u4E86\u554F\u984C\uFF0C\u8ACB\u518D\u8A66\u4E00\u6B21\u3002",
|
|
829
|
-
"df.wise.SearchLayout.loading": "\u8F09\u5165\u4E2D\u2026"
|
|
830
|
-
};
|
|
831
|
-
|
|
832
|
-
// src/i18n/index.ts
|
|
833
|
-
var wiseTranslations = {
|
|
834
|
-
cs: cs_default,
|
|
835
|
-
en: en_default,
|
|
836
|
-
de: de_default,
|
|
837
|
-
es: es_default,
|
|
838
|
-
fr: fr_default,
|
|
839
|
-
hu: hu_default,
|
|
840
|
-
id: id_default,
|
|
841
|
-
it: it_default,
|
|
842
|
-
ja: ja_default,
|
|
843
|
-
nl: nl_default,
|
|
844
|
-
pl: pl_default,
|
|
845
|
-
pt: pt_default,
|
|
846
|
-
ro: ro_default,
|
|
847
|
-
ru: ru_default,
|
|
848
|
-
th: th_default,
|
|
849
|
-
tr: tr_default,
|
|
850
|
-
zh: zh_CN_default,
|
|
851
|
-
"zh-CN": zh_CN_default,
|
|
852
|
-
"zh-HK": zh_HK_default
|
|
853
|
-
};
|
|
854
|
-
var languages = Array.from(
|
|
855
|
-
/* @__PURE__ */ new Set([...Object.keys(coreTranslations), ...Object.keys(wiseTranslations)])
|
|
856
|
-
);
|
|
857
|
-
var translations = languages.reduce(
|
|
858
|
-
(acc, lang) => __spreadProps(__spreadValues({}, acc), { [lang]: __spreadValues(__spreadValues({}, coreTranslations[lang]), wiseTranslations[lang]) }),
|
|
859
|
-
{}
|
|
860
|
-
);
|
|
861
|
-
var i18n_default = translations;
|
|
862
|
-
|
|
863
|
-
// src/dynamicFlow/DynamicFlow.tsx
|
|
864
|
-
import { forwardRef, useCallback, useMemo as useMemo2 } from "react";
|
|
865
|
-
import { useIntl as useIntl12 } from "react-intl";
|
|
866
|
-
import {
|
|
867
|
-
DynamicFlow as DynamicFlowCoreLegacy,
|
|
868
|
-
DynamicFlowCoreRevamp,
|
|
869
|
-
DynamicFormCore
|
|
870
|
-
} from "@wise/dynamic-flow-client";
|
|
366
|
+
// ../renderers/src/components/VariableDateInput.tsx
|
|
367
|
+
import { DateInput, DateLookup } from "@transferwise/components";
|
|
871
368
|
|
|
872
|
-
// ../renderers/src/
|
|
873
|
-
|
|
874
|
-
import { useIntl } from "react-intl";
|
|
369
|
+
// ../renderers/src/validators/type-validators.ts
|
|
370
|
+
var isNumber = (value) => typeof value === "number" && !Number.isNaN(value);
|
|
875
371
|
|
|
876
|
-
// ../renderers/src/utils/
|
|
877
|
-
var
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
return "m-b-0";
|
|
881
|
-
case "sm":
|
|
882
|
-
return "m-b-1";
|
|
883
|
-
case "md":
|
|
884
|
-
return "m-b-2";
|
|
885
|
-
case "lg":
|
|
886
|
-
return "m-b-3";
|
|
887
|
-
case "xl":
|
|
888
|
-
return "m-b-5";
|
|
889
|
-
default:
|
|
890
|
-
return "";
|
|
372
|
+
// ../renderers/src/utils/value-utils.ts
|
|
373
|
+
var dateStringToDateOrNull = (dateString) => {
|
|
374
|
+
if (!dateString) {
|
|
375
|
+
return null;
|
|
891
376
|
}
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
case "end":
|
|
896
|
-
return "text-xs-right";
|
|
897
|
-
case "center":
|
|
898
|
-
return "text-xs-center";
|
|
899
|
-
case "start":
|
|
900
|
-
default:
|
|
901
|
-
return "";
|
|
377
|
+
const [year, month, date] = dateString.split("-").map((number) => Number.parseInt(number, 10));
|
|
378
|
+
if (!isNumber(year) || !isNumber(month) || !isNumber(date)) {
|
|
379
|
+
return null;
|
|
902
380
|
}
|
|
381
|
+
return new Date(year, month - 1, date);
|
|
903
382
|
};
|
|
904
|
-
var
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
description: "Message displayed below a button when it is in a loading state."
|
|
913
|
-
}
|
|
914
|
-
});
|
|
915
|
-
|
|
916
|
-
// ../renderers/src/ButtonRenderer/AddressValidationButtonRenderer.tsx
|
|
917
|
-
import { useEffect, useState } from "react";
|
|
918
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
919
|
-
var AddressValidationButtonRenderer = {
|
|
920
|
-
canRenderType: "button",
|
|
921
|
-
canRender: ({ control }) => control === "address-validation",
|
|
922
|
-
render: AddressValidationButtonComponent
|
|
383
|
+
var dateToDateString = (date) => {
|
|
384
|
+
const d = new Date(date);
|
|
385
|
+
const month = String(d.getMonth() + 1);
|
|
386
|
+
const day = String(d.getDate());
|
|
387
|
+
const year = d.getFullYear();
|
|
388
|
+
const formattedMonth = month.length < 2 ? `0${month}` : month;
|
|
389
|
+
const formattedDay = day.length < 2 ? `0${day}` : day;
|
|
390
|
+
return [year, formattedMonth, formattedDay].join("-");
|
|
923
391
|
};
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
392
|
+
|
|
393
|
+
// ../renderers/src/components/VariableDateInput.tsx
|
|
394
|
+
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
395
|
+
function VariableDateInput({
|
|
396
|
+
control,
|
|
397
|
+
inputProps
|
|
398
|
+
}) {
|
|
399
|
+
const {
|
|
400
|
+
autoComplete,
|
|
401
|
+
minimumDate,
|
|
402
|
+
maximumDate,
|
|
403
|
+
placeholder,
|
|
404
|
+
disabled,
|
|
405
|
+
onBlur,
|
|
406
|
+
onChange,
|
|
407
|
+
onFocus
|
|
408
|
+
} = inputProps;
|
|
409
|
+
if (control === "date-lookup") {
|
|
410
|
+
return /* @__PURE__ */ jsx10(
|
|
411
|
+
DateLookup,
|
|
936
412
|
{
|
|
937
|
-
|
|
938
|
-
|
|
413
|
+
value: dateStringToDateOrNull(inputProps.value),
|
|
414
|
+
min: dateStringToDateOrNull(minimumDate),
|
|
415
|
+
max: dateStringToDateOrNull(maximumDate),
|
|
416
|
+
placeholder,
|
|
939
417
|
disabled,
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
loading: spinny,
|
|
943
|
-
onClick: () => {
|
|
944
|
-
setSpinny(true);
|
|
945
|
-
onClick();
|
|
418
|
+
onChange: (date) => {
|
|
419
|
+
onChange(date !== null ? dateToDateString(date) : null);
|
|
946
420
|
},
|
|
947
|
-
|
|
421
|
+
onBlur,
|
|
422
|
+
onFocus
|
|
948
423
|
}
|
|
949
|
-
)
|
|
950
|
-
|
|
951
|
-
|
|
424
|
+
);
|
|
425
|
+
}
|
|
426
|
+
return /* @__PURE__ */ jsx10(
|
|
427
|
+
DateInput,
|
|
428
|
+
__spreadProps(__spreadValues({}, inputProps), {
|
|
429
|
+
dayAutoComplete: getAutocompleteString(autoComplete, "day"),
|
|
430
|
+
yearAutoComplete: getAutocompleteString(autoComplete, "year")
|
|
431
|
+
})
|
|
432
|
+
);
|
|
952
433
|
}
|
|
953
|
-
var
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
import { Alert } from "@transferwise/components";
|
|
957
|
-
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
958
|
-
var AlertRenderer = {
|
|
959
|
-
canRenderType: "alert",
|
|
960
|
-
render: ({ context, markdown, margin, callToAction }) => /* @__PURE__ */ jsx2(
|
|
961
|
-
Alert,
|
|
962
|
-
{
|
|
963
|
-
type: context,
|
|
964
|
-
className: getMargin(margin),
|
|
965
|
-
message: markdown,
|
|
966
|
-
action: mapCtaToAlertAction(callToAction)
|
|
967
|
-
}
|
|
968
|
-
)
|
|
969
|
-
};
|
|
970
|
-
var mapCtaToAlertAction = (callToAction) => {
|
|
971
|
-
if (callToAction) {
|
|
972
|
-
return __spreadValues(__spreadValues({
|
|
973
|
-
text: callToAction.title,
|
|
974
|
-
"aria-label": callToAction.accessibilityDescription
|
|
975
|
-
}, "onClick" in callToAction ? { onClick: callToAction.onClick } : {}), callToAction.type === "link" ? { href: callToAction.href, target: "_blank" } : {});
|
|
434
|
+
var getAutocompleteString = (value, suffix) => {
|
|
435
|
+
if (value === "bday") {
|
|
436
|
+
return `${value}-${suffix}`;
|
|
976
437
|
}
|
|
977
438
|
return void 0;
|
|
978
439
|
};
|
|
979
|
-
var
|
|
980
|
-
|
|
981
|
-
// ../renderers/src/BoxRenderer.tsx
|
|
982
|
-
import classNames from "classnames";
|
|
983
|
-
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
984
|
-
var BoxRenderer = {
|
|
985
|
-
canRenderType: "box",
|
|
986
|
-
render: ({ children, control, margin, width }) => {
|
|
987
|
-
const hasFixedWidth = width !== "xl";
|
|
988
|
-
const hasBorder = control === "bordered" || control === "bordered-web";
|
|
989
|
-
const contents = /* @__PURE__ */ jsx3(
|
|
990
|
-
"div",
|
|
991
|
-
{
|
|
992
|
-
className: classNames({
|
|
993
|
-
"df-box-renderer-border": hasBorder,
|
|
994
|
-
[`df-box-renderer-width-${width}`]: hasFixedWidth,
|
|
995
|
-
[getMargin(margin)]: !hasFixedWidth
|
|
996
|
-
}),
|
|
997
|
-
children
|
|
998
|
-
}
|
|
999
|
-
);
|
|
1000
|
-
return hasFixedWidth ? /* @__PURE__ */ jsx3("div", { className: classNames("df-box-renderer-fixed-width", getMargin(margin)), children: contents }) : contents;
|
|
1001
|
-
}
|
|
1002
|
-
};
|
|
1003
|
-
var BoxRenderer_default = BoxRenderer;
|
|
440
|
+
var VariableDateInput_default = VariableDateInput;
|
|
1004
441
|
|
|
1005
|
-
// ../renderers/src/
|
|
1006
|
-
import {
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
var ButtonRenderer = {
|
|
1010
|
-
canRenderType: "button",
|
|
1011
|
-
render: ButtonComponent
|
|
1012
|
-
};
|
|
1013
|
-
function ButtonComponent(props) {
|
|
1014
|
-
const { control, context, disabled, margin, title, size, stepLoadingState, onClick } = props;
|
|
1015
|
-
const [spinny, setSpinny] = useState2(false);
|
|
1016
|
-
useEffect2(() => {
|
|
1017
|
-
if (stepLoadingState === "idle") {
|
|
1018
|
-
setSpinny(false);
|
|
1019
|
-
}
|
|
1020
|
-
}, [stepLoadingState]);
|
|
1021
|
-
const priority = mapControl(control);
|
|
1022
|
-
const type = priority === "tertiary" ? void 0 : mapContext(context);
|
|
1023
|
-
return /* @__PURE__ */ jsx4(
|
|
1024
|
-
Button2,
|
|
1025
|
-
{
|
|
1026
|
-
block: true,
|
|
1027
|
-
className: getMargin(margin),
|
|
1028
|
-
disabled,
|
|
1029
|
-
priority,
|
|
1030
|
-
size: mapSize(size),
|
|
1031
|
-
loading: spinny,
|
|
1032
|
-
type,
|
|
1033
|
-
onClick: () => {
|
|
1034
|
-
setSpinny(true);
|
|
1035
|
-
onClick();
|
|
1036
|
-
},
|
|
1037
|
-
children: title
|
|
1038
|
-
}
|
|
1039
|
-
);
|
|
1040
|
-
}
|
|
1041
|
-
var mapContext = (context) => {
|
|
1042
|
-
switch (context) {
|
|
1043
|
-
case "neutral":
|
|
1044
|
-
case "warning":
|
|
1045
|
-
return "accent";
|
|
1046
|
-
default:
|
|
1047
|
-
return context;
|
|
1048
|
-
}
|
|
1049
|
-
};
|
|
1050
|
-
var mapControl = (control) => {
|
|
1051
|
-
switch (control) {
|
|
1052
|
-
case "primary":
|
|
1053
|
-
case "tertiary":
|
|
1054
|
-
return control;
|
|
1055
|
-
default:
|
|
1056
|
-
return "secondary";
|
|
1057
|
-
}
|
|
1058
|
-
};
|
|
1059
|
-
var mapSize = (size) => {
|
|
1060
|
-
if (!size) {
|
|
1061
|
-
return void 0;
|
|
1062
|
-
}
|
|
1063
|
-
switch (size) {
|
|
1064
|
-
case "xs":
|
|
1065
|
-
case "sm":
|
|
1066
|
-
return "sm";
|
|
1067
|
-
case "lg":
|
|
1068
|
-
case "xl":
|
|
1069
|
-
return "lg";
|
|
1070
|
-
case "md":
|
|
1071
|
-
default:
|
|
1072
|
-
return "md";
|
|
1073
|
-
}
|
|
1074
|
-
};
|
|
1075
|
-
var ButtonRenderer_default = ButtonRenderer;
|
|
1076
|
-
|
|
1077
|
-
// ../renderers/src/components/FieldInput.tsx
|
|
1078
|
-
import { Field } from "@transferwise/components";
|
|
1079
|
-
|
|
1080
|
-
// ../renderers/src/components/Help.tsx
|
|
1081
|
-
import { Info, Markdown } from "@transferwise/components";
|
|
1082
|
-
import { useIntl as useIntl2 } from "react-intl";
|
|
1083
|
-
|
|
1084
|
-
// ../renderers/src/messages/help.messages.ts
|
|
1085
|
-
import { defineMessages as defineMessages2 } from "react-intl";
|
|
1086
|
-
var help_messages_default = defineMessages2({
|
|
1087
|
-
helpAria: {
|
|
1088
|
-
id: "df.wise.Help.ariaLabel",
|
|
1089
|
-
defaultMessage: "Click here for more info.",
|
|
1090
|
-
description: "Aria label for help."
|
|
1091
|
-
}
|
|
1092
|
-
});
|
|
1093
|
-
|
|
1094
|
-
// ../renderers/src/components/Help.tsx
|
|
1095
|
-
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
1096
|
-
function Help({ help, onClick }) {
|
|
1097
|
-
const intl = useIntl2();
|
|
1098
|
-
return /* @__PURE__ */ jsx5(
|
|
1099
|
-
Info,
|
|
1100
|
-
{
|
|
1101
|
-
className: "m-l-1",
|
|
1102
|
-
content: /* @__PURE__ */ jsx5(Markdown, { config: { link: { target: "_blank" } }, children: help }),
|
|
1103
|
-
presentation: "POPOVER",
|
|
1104
|
-
size: "sm",
|
|
1105
|
-
"aria-label": intl.formatMessage(help_messages_default.helpAria),
|
|
1106
|
-
onClick
|
|
1107
|
-
}
|
|
1108
|
-
);
|
|
1109
|
-
}
|
|
1110
|
-
var Help_default = Help;
|
|
1111
|
-
|
|
1112
|
-
// ../renderers/src/components/LabelContentWithHelp.tsx
|
|
1113
|
-
import { jsx as jsx6, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
1114
|
-
function LabelContentWithHelp({ text, help }) {
|
|
1115
|
-
return /* @__PURE__ */ jsxs2("div", { children: [
|
|
1116
|
-
text,
|
|
1117
|
-
/* @__PURE__ */ jsx6(Help_default, { help })
|
|
1118
|
-
] });
|
|
1119
|
-
}
|
|
1120
|
-
|
|
1121
|
-
// ../renderers/src/components/FieldInput.tsx
|
|
1122
|
-
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
1123
|
-
function FieldInput({ id, children, label, validation, description, help }) {
|
|
1124
|
-
const labelContent = label && help ? /* @__PURE__ */ jsx7(LabelContentWithHelp, { text: label, help }) : label;
|
|
1125
|
-
return /* @__PURE__ */ jsx7(
|
|
1126
|
-
Field,
|
|
1127
|
-
{
|
|
1128
|
-
id,
|
|
1129
|
-
label: labelContent,
|
|
1130
|
-
description,
|
|
1131
|
-
message: validation == null ? void 0 : validation.message,
|
|
1132
|
-
sentiment: mapStatusToSentiment(validation),
|
|
1133
|
-
children
|
|
1134
|
-
}
|
|
1135
|
-
);
|
|
1136
|
-
}
|
|
1137
|
-
var mapStatusToSentiment = (validation) => {
|
|
1138
|
-
if (validation) {
|
|
1139
|
-
if (validation.status === "valid") {
|
|
1140
|
-
return "positive";
|
|
1141
|
-
}
|
|
1142
|
-
return "negative";
|
|
1143
|
-
}
|
|
1144
|
-
return void 0;
|
|
1145
|
-
};
|
|
1146
|
-
var FieldInput_default = FieldInput;
|
|
1147
|
-
|
|
1148
|
-
// ../renderers/src/CheckboxInputRenderer.tsx
|
|
1149
|
-
import { Checkbox } from "@transferwise/components";
|
|
1150
|
-
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
1151
|
-
var CheckboxInputRenderer = {
|
|
1152
|
-
canRenderType: "input-checkbox",
|
|
442
|
+
// ../renderers/src/DateInputRenderer.tsx
|
|
443
|
+
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
444
|
+
var DateInputRenderer = {
|
|
445
|
+
canRenderType: "input-date",
|
|
1153
446
|
render: (props) => {
|
|
1154
447
|
const _a = props, {
|
|
1155
448
|
id,
|
|
1156
449
|
control,
|
|
1157
|
-
title = "",
|
|
1158
450
|
description,
|
|
1159
|
-
help,
|
|
1160
451
|
type,
|
|
452
|
+
help,
|
|
453
|
+
title,
|
|
1161
454
|
validationState,
|
|
1162
|
-
value
|
|
455
|
+
value: initialValue
|
|
1163
456
|
} = _a, rest = __objRest(_a, [
|
|
1164
457
|
"id",
|
|
1165
458
|
"control",
|
|
1166
|
-
"title",
|
|
1167
459
|
"description",
|
|
1168
|
-
"help",
|
|
1169
460
|
"type",
|
|
461
|
+
"help",
|
|
462
|
+
"title",
|
|
1170
463
|
"validationState",
|
|
1171
464
|
"value"
|
|
1172
465
|
]);
|
|
1173
|
-
const
|
|
1174
|
-
|
|
466
|
+
const value = initialValue != null ? initialValue : "";
|
|
467
|
+
const inputProps = __spreadProps(__spreadValues({}, rest), { value, id });
|
|
468
|
+
return /* @__PURE__ */ jsx11(
|
|
469
|
+
FieldInput_default,
|
|
470
|
+
{
|
|
471
|
+
id,
|
|
472
|
+
label: title,
|
|
473
|
+
description,
|
|
474
|
+
validation: validationState,
|
|
475
|
+
help,
|
|
476
|
+
children: /* @__PURE__ */ jsx11(VariableDateInput_default, { control, inputProps })
|
|
477
|
+
}
|
|
478
|
+
);
|
|
1175
479
|
}
|
|
1176
480
|
};
|
|
1177
|
-
var
|
|
481
|
+
var DateInputRenderer_default = DateInputRenderer;
|
|
1178
482
|
|
|
1179
|
-
// ../renderers/src/
|
|
1180
|
-
import
|
|
1181
|
-
import {
|
|
1182
|
-
var ColumnsRenderer = {
|
|
1183
|
-
canRenderType: "columns",
|
|
1184
|
-
render: ({ bias, margin, startChildren, endChildren }) => /* @__PURE__ */ jsxs3(
|
|
1185
|
-
"div",
|
|
1186
|
-
{
|
|
1187
|
-
className: classNames2("df-columns-renderer-container", getMargin(margin), {
|
|
1188
|
-
"df-columns-renderer-bias-start": bias === "start",
|
|
1189
|
-
"df-columns-renderer-bias-end": bias === "end"
|
|
1190
|
-
}),
|
|
1191
|
-
children: [
|
|
1192
|
-
/* @__PURE__ */ jsx9("div", { className: "df-columns-renderer-column", children: startChildren }),
|
|
1193
|
-
/* @__PURE__ */ jsx9("div", { className: "df-columns-renderer-column", children: endChildren })
|
|
1194
|
-
]
|
|
1195
|
-
}
|
|
1196
|
-
)
|
|
1197
|
-
};
|
|
1198
|
-
var ColumnsRenderer_default = ColumnsRenderer;
|
|
483
|
+
// ../renderers/src/DecisionRenderer/DecisionRenderer.tsx
|
|
484
|
+
import { Header as Header2, SearchInput } from "@transferwise/components";
|
|
485
|
+
import { useIntl as useIntl4 } from "react-intl";
|
|
1199
486
|
|
|
1200
|
-
// ../renderers/src/
|
|
1201
|
-
import {
|
|
487
|
+
// ../renderers/src/messages/decision.messages.ts
|
|
488
|
+
import { defineMessages as defineMessages3 } from "react-intl";
|
|
489
|
+
var decision_messages_default = defineMessages3({
|
|
490
|
+
all: {
|
|
491
|
+
id: "df.wise.Decision.all",
|
|
492
|
+
defaultMessage: "All",
|
|
493
|
+
description: "Label for the group of options that encompasses all options"
|
|
494
|
+
},
|
|
495
|
+
popular: {
|
|
496
|
+
id: "df.wise.Decision.popular",
|
|
497
|
+
defaultMessage: "Popular",
|
|
498
|
+
description: "Label for the group of options that are tagged as popular"
|
|
499
|
+
},
|
|
500
|
+
recent: {
|
|
501
|
+
id: "df.wise.Decision.recent",
|
|
502
|
+
defaultMessage: "Recent",
|
|
503
|
+
description: "Label for the group of options that are tagged as recent"
|
|
504
|
+
},
|
|
505
|
+
filterPlaceholder: {
|
|
506
|
+
id: "df.wise.Decision.filterPlaceholder",
|
|
507
|
+
defaultMessage: "Start typing to search",
|
|
508
|
+
description: "Placeholder for the filter input"
|
|
509
|
+
},
|
|
510
|
+
results: {
|
|
511
|
+
id: "df.wise.Decision.results",
|
|
512
|
+
defaultMessage: "Search results",
|
|
513
|
+
description: "Label for the results section"
|
|
514
|
+
},
|
|
515
|
+
noResults: {
|
|
516
|
+
id: "df.wise.Decision.noResults",
|
|
517
|
+
defaultMessage: "No results",
|
|
518
|
+
description: "Message for if there are no results"
|
|
519
|
+
}
|
|
520
|
+
});
|
|
1202
521
|
|
|
1203
|
-
// ../renderers/src/
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
// ../renderers/src/utils/value-utils.ts
|
|
1207
|
-
var dateStringToDateOrNull = (dateString) => {
|
|
1208
|
-
if (!dateString) {
|
|
1209
|
-
return null;
|
|
1210
|
-
}
|
|
1211
|
-
const [year, month, date] = dateString.split("-").map((number) => Number.parseInt(number, 10));
|
|
1212
|
-
if (!isNumber(year) || !isNumber(month) || !isNumber(date)) {
|
|
1213
|
-
return null;
|
|
1214
|
-
}
|
|
1215
|
-
return new Date(year, month - 1, date);
|
|
1216
|
-
};
|
|
1217
|
-
var dateToDateString = (date) => {
|
|
1218
|
-
const d = new Date(date);
|
|
1219
|
-
const month = String(d.getMonth() + 1);
|
|
1220
|
-
const day = String(d.getDate());
|
|
1221
|
-
const year = d.getFullYear();
|
|
1222
|
-
const formattedMonth = month.length < 2 ? `0${month}` : month;
|
|
1223
|
-
const formattedDay = day.length < 2 ? `0${day}` : day;
|
|
1224
|
-
return [year, formattedMonth, formattedDay].join("-");
|
|
1225
|
-
};
|
|
1226
|
-
|
|
1227
|
-
// ../renderers/src/components/VariableDateInput.tsx
|
|
1228
|
-
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
1229
|
-
function VariableDateInput({
|
|
1230
|
-
control,
|
|
1231
|
-
inputProps
|
|
1232
|
-
}) {
|
|
1233
|
-
const {
|
|
1234
|
-
autoComplete,
|
|
1235
|
-
minimumDate,
|
|
1236
|
-
maximumDate,
|
|
1237
|
-
placeholder,
|
|
1238
|
-
disabled,
|
|
1239
|
-
onBlur,
|
|
1240
|
-
onChange,
|
|
1241
|
-
onFocus
|
|
1242
|
-
} = inputProps;
|
|
1243
|
-
if (control === "date-lookup") {
|
|
1244
|
-
return /* @__PURE__ */ jsx10(
|
|
1245
|
-
DateLookup,
|
|
1246
|
-
{
|
|
1247
|
-
value: dateStringToDateOrNull(inputProps.value),
|
|
1248
|
-
min: dateStringToDateOrNull(minimumDate),
|
|
1249
|
-
max: dateStringToDateOrNull(maximumDate),
|
|
1250
|
-
placeholder,
|
|
1251
|
-
disabled,
|
|
1252
|
-
onChange: (date) => {
|
|
1253
|
-
onChange(date !== null ? dateToDateString(date) : null);
|
|
1254
|
-
},
|
|
1255
|
-
onBlur,
|
|
1256
|
-
onFocus
|
|
1257
|
-
}
|
|
1258
|
-
);
|
|
1259
|
-
}
|
|
1260
|
-
return /* @__PURE__ */ jsx10(
|
|
1261
|
-
DateInput,
|
|
1262
|
-
__spreadProps(__spreadValues({}, inputProps), {
|
|
1263
|
-
dayAutoComplete: getAutocompleteString(autoComplete, "day"),
|
|
1264
|
-
yearAutoComplete: getAutocompleteString(autoComplete, "year")
|
|
1265
|
-
})
|
|
1266
|
-
);
|
|
1267
|
-
}
|
|
1268
|
-
var getAutocompleteString = (value, suffix) => {
|
|
1269
|
-
if (value === "bday") {
|
|
1270
|
-
return `${value}-${suffix}`;
|
|
1271
|
-
}
|
|
1272
|
-
return void 0;
|
|
1273
|
-
};
|
|
1274
|
-
var VariableDateInput_default = VariableDateInput;
|
|
1275
|
-
|
|
1276
|
-
// ../renderers/src/DateInputRenderer.tsx
|
|
1277
|
-
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
1278
|
-
var DateInputRenderer = {
|
|
1279
|
-
canRenderType: "input-date",
|
|
1280
|
-
render: (props) => {
|
|
1281
|
-
const _a = props, {
|
|
1282
|
-
id,
|
|
1283
|
-
control,
|
|
1284
|
-
description,
|
|
1285
|
-
type,
|
|
1286
|
-
help,
|
|
1287
|
-
title,
|
|
1288
|
-
validationState,
|
|
1289
|
-
value: initialValue
|
|
1290
|
-
} = _a, rest = __objRest(_a, [
|
|
1291
|
-
"id",
|
|
1292
|
-
"control",
|
|
1293
|
-
"description",
|
|
1294
|
-
"type",
|
|
1295
|
-
"help",
|
|
1296
|
-
"title",
|
|
1297
|
-
"validationState",
|
|
1298
|
-
"value"
|
|
1299
|
-
]);
|
|
1300
|
-
const value = initialValue != null ? initialValue : "";
|
|
1301
|
-
const inputProps = __spreadProps(__spreadValues({}, rest), { value, id });
|
|
1302
|
-
return /* @__PURE__ */ jsx11(
|
|
1303
|
-
FieldInput_default,
|
|
1304
|
-
{
|
|
1305
|
-
id,
|
|
1306
|
-
label: title,
|
|
1307
|
-
description,
|
|
1308
|
-
validation: validationState,
|
|
1309
|
-
help,
|
|
1310
|
-
children: /* @__PURE__ */ jsx11(VariableDateInput_default, { control, inputProps })
|
|
1311
|
-
}
|
|
1312
|
-
);
|
|
1313
|
-
}
|
|
1314
|
-
};
|
|
1315
|
-
var DateInputRenderer_default = DateInputRenderer;
|
|
1316
|
-
|
|
1317
|
-
// ../renderers/src/DecisionRenderer/DecisionRenderer.tsx
|
|
1318
|
-
import { Header as Header2, SearchInput } from "@transferwise/components";
|
|
1319
|
-
import { useIntl as useIntl4 } from "react-intl";
|
|
1320
|
-
|
|
1321
|
-
// ../renderers/src/messages/decision.messages.ts
|
|
1322
|
-
import { defineMessages as defineMessages3 } from "react-intl";
|
|
1323
|
-
var decision_messages_default = defineMessages3({
|
|
1324
|
-
all: {
|
|
1325
|
-
id: "df.wise.Decision.all",
|
|
1326
|
-
defaultMessage: "All",
|
|
1327
|
-
description: "Label for the group of options that encompasses all options"
|
|
1328
|
-
},
|
|
1329
|
-
popular: {
|
|
1330
|
-
id: "df.wise.Decision.popular",
|
|
1331
|
-
defaultMessage: "Popular",
|
|
1332
|
-
description: "Label for the group of options that are tagged as popular"
|
|
1333
|
-
},
|
|
1334
|
-
recent: {
|
|
1335
|
-
id: "df.wise.Decision.recent",
|
|
1336
|
-
defaultMessage: "Recent",
|
|
1337
|
-
description: "Label for the group of options that are tagged as recent"
|
|
1338
|
-
},
|
|
1339
|
-
filterPlaceholder: {
|
|
1340
|
-
id: "df.wise.Decision.filterPlaceholder",
|
|
1341
|
-
defaultMessage: "Start typing to search",
|
|
1342
|
-
description: "Placeholder for the filter input"
|
|
1343
|
-
},
|
|
1344
|
-
results: {
|
|
1345
|
-
id: "df.wise.Decision.results",
|
|
1346
|
-
defaultMessage: "Search results",
|
|
1347
|
-
description: "Label for the results section"
|
|
1348
|
-
},
|
|
1349
|
-
noResults: {
|
|
1350
|
-
id: "df.wise.Decision.noResults",
|
|
1351
|
-
defaultMessage: "No results",
|
|
1352
|
-
description: "Message for if there are no results"
|
|
1353
|
-
}
|
|
1354
|
-
});
|
|
1355
|
-
|
|
1356
|
-
// ../renderers/src/DecisionRenderer/DecisionRenderer.tsx
|
|
1357
|
-
import { useState as useState3 } from "react";
|
|
522
|
+
// ../renderers/src/DecisionRenderer/DecisionRenderer.tsx
|
|
523
|
+
import { useState as useState3 } from "react";
|
|
1358
524
|
|
|
1359
525
|
// ../renderers/src/DecisionRenderer/filter-and-sort-decision-options.ts
|
|
1360
526
|
function filterAndSortDecisionOptions(selectOptions, query) {
|
|
@@ -1483,9 +649,10 @@ var resolveUri = (uri, size) => {
|
|
|
1483
649
|
var _a, _b;
|
|
1484
650
|
const { name, qComponents = [] } = stringToURN(uri);
|
|
1485
651
|
if (isValidIconUrn(name)) {
|
|
652
|
+
const icon = /* @__PURE__ */ jsx16(DynamicIcon_default, { name: name.replace("urn:wise:icons:", "") });
|
|
1486
653
|
return {
|
|
1487
|
-
|
|
1488
|
-
backgroundColor: (_a = qComponents.find(([key]) => key === "background-color")) == null ? void 0 : _a[1]
|
|
654
|
+
icon,
|
|
655
|
+
backgroundColor: formatColor((_a = qComponents.find(([key]) => key === "background-color")) == null ? void 0 : _a[1])
|
|
1489
656
|
};
|
|
1490
657
|
}
|
|
1491
658
|
if (isUrnFlag(name)) {
|
|
@@ -1497,7 +664,7 @@ var resolveUri = (uri, size) => {
|
|
|
1497
664
|
const text = decodeURI(name.replace("data:text/plain,", ""));
|
|
1498
665
|
return {
|
|
1499
666
|
asset: text,
|
|
1500
|
-
backgroundColor: (_b = qComponents.find(([key]) => key === "background-color")) == null ? void 0 : _b[1]
|
|
667
|
+
backgroundColor: formatColor((_b = qComponents.find(([key]) => key === "background-color")) == null ? void 0 : _b[1])
|
|
1501
668
|
};
|
|
1502
669
|
}
|
|
1503
670
|
if (!uri.startsWith("urn:")) {
|
|
@@ -1505,6 +672,15 @@ var resolveUri = (uri, size) => {
|
|
|
1505
672
|
}
|
|
1506
673
|
return { asset: void 0 };
|
|
1507
674
|
};
|
|
675
|
+
var formatColor = (color) => {
|
|
676
|
+
if (!color) {
|
|
677
|
+
return void 0;
|
|
678
|
+
}
|
|
679
|
+
if (color.startsWith("#")) {
|
|
680
|
+
return color;
|
|
681
|
+
}
|
|
682
|
+
return `var(--color-${color.replace(/^base-|brand-/, "")})`;
|
|
683
|
+
};
|
|
1508
684
|
|
|
1509
685
|
// ../renderers/src/components/Media/AvatarMedia.tsx
|
|
1510
686
|
import { AvatarLayout, AvatarView } from "@transferwise/components";
|
|
@@ -1519,24 +695,29 @@ var AvatarMedia = ({
|
|
|
1519
695
|
return { asset: avatar.text };
|
|
1520
696
|
}
|
|
1521
697
|
return __spreadProps(__spreadValues({}, resolveUri(avatar.uri, size)), {
|
|
1522
|
-
badge: avatar.badgeUri ? resolveUri(avatar.badgeUri, 16)
|
|
698
|
+
badge: avatar.badgeUri ? resolveUri(avatar.badgeUri, 16) : void 0
|
|
1523
699
|
});
|
|
1524
700
|
};
|
|
1525
701
|
const avatars = content.map(getRenderableAvatar);
|
|
1526
702
|
if (avatars.length === 1) {
|
|
1527
|
-
const { badge, backgroundColor, asset } = avatars[0];
|
|
703
|
+
const { badge, backgroundColor, asset, icon } = avatars[0];
|
|
704
|
+
if (!asset && !icon) {
|
|
705
|
+
return null;
|
|
706
|
+
}
|
|
1528
707
|
return /* @__PURE__ */ jsx17(
|
|
1529
708
|
AvatarView,
|
|
1530
709
|
{
|
|
1531
710
|
"aria-label": accessibilityDescription,
|
|
1532
711
|
size,
|
|
1533
|
-
badge: {
|
|
712
|
+
badge: badge ? __spreadProps(__spreadValues({}, badge), {
|
|
713
|
+
type: "reference"
|
|
714
|
+
}) : void 0,
|
|
1534
715
|
style: { backgroundColor },
|
|
1535
|
-
children: asset
|
|
716
|
+
children: icon != null ? icon : asset
|
|
1536
717
|
}
|
|
1537
718
|
);
|
|
1538
719
|
}
|
|
1539
|
-
const avatarsWithoutBadges = avatars.map((_a) => {
|
|
720
|
+
const avatarsWithoutBadges = avatars.filter(({ asset }) => asset).slice(0, 2).map((_a) => {
|
|
1540
721
|
var _b = _a, { badge } = _b, rest = __objRest(_b, ["badge"]);
|
|
1541
722
|
return __spreadValues({}, rest);
|
|
1542
723
|
});
|
|
@@ -1557,7 +738,7 @@ import { jsx as jsx18 } from "react/jsx-runtime";
|
|
|
1557
738
|
var getBadgedMedia = (iconNode, imageNode, size) => {
|
|
1558
739
|
if (iconNode && imageNode) {
|
|
1559
740
|
if (imageNode && iconNode) {
|
|
1560
|
-
return /* @__PURE__ */ jsx18(AvatarView2, { size, badge: { asset: iconNode }, children: imageNode });
|
|
741
|
+
return /* @__PURE__ */ jsx18(AvatarView2, { size, badge: { asset: iconNode, type: "reference" }, children: imageNode });
|
|
1561
742
|
}
|
|
1562
743
|
}
|
|
1563
744
|
return null;
|
|
@@ -2012,9 +1193,9 @@ function UrnFlagImage({
|
|
|
2012
1193
|
// ../renderers/src/ImageRenderer/UrnIllustration.tsx
|
|
2013
1194
|
import {
|
|
2014
1195
|
Illustration,
|
|
2015
|
-
Illustration3D,
|
|
2016
1196
|
isIllustrationSupport3D
|
|
2017
1197
|
} from "@wise/art";
|
|
1198
|
+
import { useState as useState5 } from "react";
|
|
2018
1199
|
|
|
2019
1200
|
// ../renderers/src/ImageRenderer/isAnimated.ts
|
|
2020
1201
|
var isAnimated = (uri) => {
|
|
@@ -2023,8 +1204,39 @@ var isAnimated = (uri) => {
|
|
|
2023
1204
|
return (_a = rComponents == null ? void 0 : rComponents.some(([key, value]) => key === "type" && value === "animated")) != null ? _a : false;
|
|
2024
1205
|
};
|
|
2025
1206
|
|
|
2026
|
-
// ../renderers/src/ImageRenderer/
|
|
1207
|
+
// ../renderers/src/ImageRenderer/SafeIllustration3D.tsx
|
|
1208
|
+
import { Illustration3D } from "@wise/art";
|
|
1209
|
+
import { Component } from "react";
|
|
2027
1210
|
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
1211
|
+
var Illustration3DErrorBoundary = class extends Component {
|
|
1212
|
+
constructor(props) {
|
|
1213
|
+
super(props);
|
|
1214
|
+
this.state = { hasError: false };
|
|
1215
|
+
}
|
|
1216
|
+
static getDerivedStateFromError() {
|
|
1217
|
+
return { hasError: true };
|
|
1218
|
+
}
|
|
1219
|
+
componentDidCatch() {
|
|
1220
|
+
this.props.onError();
|
|
1221
|
+
}
|
|
1222
|
+
render() {
|
|
1223
|
+
if (this.state.hasError) {
|
|
1224
|
+
return null;
|
|
1225
|
+
}
|
|
1226
|
+
return this.props.children;
|
|
1227
|
+
}
|
|
1228
|
+
};
|
|
1229
|
+
var SafeIllustration3D = ({
|
|
1230
|
+
name,
|
|
1231
|
+
size,
|
|
1232
|
+
onError
|
|
1233
|
+
}) => {
|
|
1234
|
+
return /* @__PURE__ */ jsx33(Illustration3DErrorBoundary, { onError, children: /* @__PURE__ */ jsx33(Illustration3D, { name, size }) });
|
|
1235
|
+
};
|
|
1236
|
+
var SafeIllustration3D_default = SafeIllustration3D;
|
|
1237
|
+
|
|
1238
|
+
// ../renderers/src/ImageRenderer/UrnIllustration.tsx
|
|
1239
|
+
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
2028
1240
|
var urnPrefix = "urn:wise:illustrations:";
|
|
2029
1241
|
var isUrnIllustration = (uri) => uri.startsWith(urnPrefix);
|
|
2030
1242
|
function UrnIllustration({
|
|
@@ -2034,13 +1246,21 @@ function UrnIllustration({
|
|
|
2034
1246
|
size,
|
|
2035
1247
|
uri
|
|
2036
1248
|
}) {
|
|
1249
|
+
const [has3DFailed, setHas3DFailed] = useState5(false);
|
|
2037
1250
|
const illustrationSize = getIllustrationSize(size);
|
|
2038
1251
|
const illustrationName = getIllustrationName(uri);
|
|
2039
1252
|
const illustration3DName = getIllustration3DName(uri);
|
|
2040
|
-
if (illustration3DName && isAnimated(uri)) {
|
|
2041
|
-
return /* @__PURE__ */
|
|
1253
|
+
if (illustration3DName && isAnimated(uri) && !has3DFailed) {
|
|
1254
|
+
return /* @__PURE__ */ jsx34("div", { className: `df-image ${align} ${getMargin(margin)}`, children: /* @__PURE__ */ jsx34(
|
|
1255
|
+
SafeIllustration3D_default,
|
|
1256
|
+
{
|
|
1257
|
+
name: illustration3DName,
|
|
1258
|
+
size: illustrationSize,
|
|
1259
|
+
onError: () => setHas3DFailed(true)
|
|
1260
|
+
}
|
|
1261
|
+
) });
|
|
2042
1262
|
}
|
|
2043
|
-
return /* @__PURE__ */
|
|
1263
|
+
return /* @__PURE__ */ jsx34("div", { className: `df-image ${align} ${getMargin(margin)}`, children: /* @__PURE__ */ jsx34(
|
|
2044
1264
|
Illustration,
|
|
2045
1265
|
{
|
|
2046
1266
|
className: "df-illustration",
|
|
@@ -2060,24 +1280,24 @@ var getIllustration3DName = (uri) => {
|
|
|
2060
1280
|
};
|
|
2061
1281
|
|
|
2062
1282
|
// ../renderers/src/ImageRenderer/UrnImage.tsx
|
|
2063
|
-
import { jsx as
|
|
1283
|
+
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
2064
1284
|
var isUrnImage = (uri) => uri.startsWith("urn:");
|
|
2065
1285
|
function UrnImage(props) {
|
|
2066
1286
|
const { uri } = props;
|
|
2067
1287
|
if (isUrnIllustration(uri)) {
|
|
2068
|
-
return /* @__PURE__ */
|
|
1288
|
+
return /* @__PURE__ */ jsx35(UrnIllustration, __spreadValues({}, props));
|
|
2069
1289
|
}
|
|
2070
1290
|
if (isUrnFlag(uri)) {
|
|
2071
|
-
return /* @__PURE__ */
|
|
1291
|
+
return /* @__PURE__ */ jsx35(UrnFlagImage, __spreadValues({}, props));
|
|
2072
1292
|
}
|
|
2073
1293
|
return null;
|
|
2074
1294
|
}
|
|
2075
1295
|
|
|
2076
1296
|
// ../renderers/src/ImageRenderer/ImageRenderer.tsx
|
|
2077
|
-
import { jsx as
|
|
1297
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
2078
1298
|
var ImageRenderer = {
|
|
2079
1299
|
canRenderType: "image",
|
|
2080
|
-
render: (props) => isUrnImage(props.uri) ? /* @__PURE__ */
|
|
1300
|
+
render: (props) => isUrnImage(props.uri) ? /* @__PURE__ */ jsx36(UrnImage, __spreadValues({}, props)) : /* @__PURE__ */ jsx36(UrlImage, __spreadValues({}, props))
|
|
2081
1301
|
};
|
|
2082
1302
|
|
|
2083
1303
|
// ../renderers/src/ImageRenderer/index.tsx
|
|
@@ -2085,7 +1305,7 @@ var ImageRenderer_default = ImageRenderer;
|
|
|
2085
1305
|
|
|
2086
1306
|
// ../renderers/src/InstructionsRenderer.tsx
|
|
2087
1307
|
import { Header as Header4, InstructionsList } from "@transferwise/components";
|
|
2088
|
-
import { jsx as
|
|
1308
|
+
import { jsx as jsx37, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
2089
1309
|
var doContext = ["positive", "neutral"];
|
|
2090
1310
|
var dontContext = ["warning", "negative"];
|
|
2091
1311
|
var InstructionsRenderer = {
|
|
@@ -2094,8 +1314,8 @@ var InstructionsRenderer = {
|
|
|
2094
1314
|
const dos = items.filter((item) => doContext.includes(item.context)).map(({ text }) => text);
|
|
2095
1315
|
const donts = items.filter((item) => dontContext.includes(item.context)).map(({ text }) => text);
|
|
2096
1316
|
return /* @__PURE__ */ jsxs8("div", { className: getMargin(margin), children: [
|
|
2097
|
-
title ? /* @__PURE__ */
|
|
2098
|
-
/* @__PURE__ */
|
|
1317
|
+
title ? /* @__PURE__ */ jsx37(Header4, { title }) : null,
|
|
1318
|
+
/* @__PURE__ */ jsx37(InstructionsList, { dos, donts })
|
|
2099
1319
|
] });
|
|
2100
1320
|
}
|
|
2101
1321
|
};
|
|
@@ -2127,7 +1347,7 @@ function pick(obj, ...keys) {
|
|
|
2127
1347
|
}
|
|
2128
1348
|
|
|
2129
1349
|
// ../renderers/src/IntegerInputRenderer.tsx
|
|
2130
|
-
import { jsx as
|
|
1350
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
2131
1351
|
var IntegerInputRenderer = {
|
|
2132
1352
|
canRenderType: "input-integer",
|
|
2133
1353
|
render: (props) => {
|
|
@@ -2142,7 +1362,7 @@ var IntegerInputRenderer = {
|
|
|
2142
1362
|
"maximum",
|
|
2143
1363
|
"minimum"
|
|
2144
1364
|
);
|
|
2145
|
-
return /* @__PURE__ */
|
|
1365
|
+
return /* @__PURE__ */ jsx38(
|
|
2146
1366
|
FieldInput_default,
|
|
2147
1367
|
{
|
|
2148
1368
|
id,
|
|
@@ -2150,7 +1370,7 @@ var IntegerInputRenderer = {
|
|
|
2150
1370
|
description,
|
|
2151
1371
|
validation: validationState,
|
|
2152
1372
|
help,
|
|
2153
|
-
children: /* @__PURE__ */
|
|
1373
|
+
children: /* @__PURE__ */ jsx38(InputGroup, { addonStart: getInputGroupAddonStart(media), children: /* @__PURE__ */ jsx38(
|
|
2154
1374
|
Input,
|
|
2155
1375
|
__spreadValues({
|
|
2156
1376
|
id,
|
|
@@ -2175,12 +1395,12 @@ var IntegerInputRenderer_default = IntegerInputRenderer;
|
|
|
2175
1395
|
// ../renderers/src/ListRenderer.tsx
|
|
2176
1396
|
import { Body, Header as Header5 } from "@transferwise/components";
|
|
2177
1397
|
import classNames3 from "classnames";
|
|
2178
|
-
import { jsx as
|
|
1398
|
+
import { jsx as jsx39, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
2179
1399
|
var ListRenderer = {
|
|
2180
1400
|
canRenderType: "list",
|
|
2181
1401
|
render: ({ callToAction, control, margin, items, title }) => /* @__PURE__ */ jsxs9("div", { className: getMargin(margin), children: [
|
|
2182
|
-
(title || callToAction) && /* @__PURE__ */
|
|
2183
|
-
items.map((props) => /* @__PURE__ */
|
|
1402
|
+
(title || callToAction) && /* @__PURE__ */ jsx39(Header5, { as: "h2", title: title != null ? title : "", action: getListAction(callToAction) }),
|
|
1403
|
+
items.map((props) => /* @__PURE__ */ jsx39(DesignSystemListItem, __spreadProps(__spreadValues({}, props), { control }), props.title))
|
|
2184
1404
|
] })
|
|
2185
1405
|
};
|
|
2186
1406
|
var DesignSystemListItem = ({
|
|
@@ -2192,7 +1412,7 @@ var DesignSystemListItem = ({
|
|
|
2192
1412
|
media,
|
|
2193
1413
|
control,
|
|
2194
1414
|
tag
|
|
2195
|
-
}) => /* @__PURE__ */
|
|
1415
|
+
}) => /* @__PURE__ */ jsx39(
|
|
2196
1416
|
"label",
|
|
2197
1417
|
{
|
|
2198
1418
|
className: classNames3("np-option p-a-2", {
|
|
@@ -2200,7 +1420,7 @@ var DesignSystemListItem = ({
|
|
|
2200
1420
|
"np-option__container-aligned": true
|
|
2201
1421
|
}),
|
|
2202
1422
|
children: /* @__PURE__ */ jsxs9("div", { className: "media", children: [
|
|
2203
|
-
icon || image || media ? /* @__PURE__ */
|
|
1423
|
+
icon || image || media ? /* @__PURE__ */ jsx39("div", { className: "media-left", children: /* @__PURE__ */ jsx39(
|
|
2204
1424
|
ListItemMedia,
|
|
2205
1425
|
{
|
|
2206
1426
|
icon,
|
|
@@ -2210,12 +1430,12 @@ var DesignSystemListItem = ({
|
|
|
2210
1430
|
) }) : null,
|
|
2211
1431
|
/* @__PURE__ */ jsxs9("div", { className: "media-body", children: [
|
|
2212
1432
|
/* @__PURE__ */ jsxs9("div", { className: "d-flex justify-content-between", children: [
|
|
2213
|
-
/* @__PURE__ */
|
|
2214
|
-
/* @__PURE__ */
|
|
1433
|
+
/* @__PURE__ */ jsx39("h4", { className: "np-text-body-large-bold text-primary np-option__title", children: title }),
|
|
1434
|
+
/* @__PURE__ */ jsx39("h4", { className: "np-text-body-large-bold text-primary np-option__title", children: supportingValues == null ? void 0 : supportingValues.value })
|
|
2215
1435
|
] }),
|
|
2216
1436
|
/* @__PURE__ */ jsxs9("div", { className: "d-flex justify-content-between", children: [
|
|
2217
|
-
/* @__PURE__ */
|
|
2218
|
-
/* @__PURE__ */
|
|
1437
|
+
/* @__PURE__ */ jsx39(Body, { className: "d-block np-option__body", children: description }),
|
|
1438
|
+
/* @__PURE__ */ jsx39(Body, { className: "d-block np-option__body", children: supportingValues == null ? void 0 : supportingValues.subvalue })
|
|
2219
1439
|
] })
|
|
2220
1440
|
] })
|
|
2221
1441
|
] })
|
|
@@ -2228,9 +1448,9 @@ var ListItemMedia = ({
|
|
|
2228
1448
|
preferAvatar
|
|
2229
1449
|
}) => {
|
|
2230
1450
|
if (icon) {
|
|
2231
|
-
return /* @__PURE__ */
|
|
1451
|
+
return /* @__PURE__ */ jsx39("div", { className: "circle circle-sm text-primary circle-inverse", children: /* @__PURE__ */ jsx39(OptionMedia, { media, preferAvatar }) });
|
|
2232
1452
|
}
|
|
2233
|
-
return /* @__PURE__ */
|
|
1453
|
+
return /* @__PURE__ */ jsx39("div", { className: "np-option__no-media-circle", children: /* @__PURE__ */ jsx39(OptionMedia, { media, preferAvatar }) });
|
|
2234
1454
|
};
|
|
2235
1455
|
var getListAction = (callToAction) => {
|
|
2236
1456
|
if (callToAction) {
|
|
@@ -2246,10 +1466,10 @@ var ListRenderer_default = ListRenderer;
|
|
|
2246
1466
|
|
|
2247
1467
|
// ../renderers/src/LoadingIndicatorRenderer.tsx
|
|
2248
1468
|
import { Loader } from "@transferwise/components";
|
|
2249
|
-
import { jsx as
|
|
1469
|
+
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
2250
1470
|
var LoadingIndicatorRenderer = {
|
|
2251
1471
|
canRenderType: "loading-indicator",
|
|
2252
|
-
render: ({ margin, size }) => /* @__PURE__ */
|
|
1472
|
+
render: ({ margin, size }) => /* @__PURE__ */ jsx40(
|
|
2253
1473
|
Loader,
|
|
2254
1474
|
{
|
|
2255
1475
|
size,
|
|
@@ -2262,28 +1482,28 @@ var LoadingIndicatorRenderer_default = LoadingIndicatorRenderer;
|
|
|
2262
1482
|
|
|
2263
1483
|
// ../renderers/src/MarkdownRenderer.tsx
|
|
2264
1484
|
import { Markdown as Markdown3 } from "@transferwise/components";
|
|
2265
|
-
import { jsx as
|
|
1485
|
+
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
2266
1486
|
var MarkdownRenderer = {
|
|
2267
1487
|
canRenderType: "markdown",
|
|
2268
|
-
render: ({ content, align, margin }) => /* @__PURE__ */
|
|
1488
|
+
render: ({ content, align, margin }) => /* @__PURE__ */ jsx41("div", { className: getTextAlignmentAndMargin({ align, margin }), children: /* @__PURE__ */ jsx41(Markdown3, { className: "np-text-body-large", config: { link: { target: "_blank" } }, children: content }) })
|
|
2269
1489
|
};
|
|
2270
1490
|
var MarkdownRenderer_default = MarkdownRenderer;
|
|
2271
1491
|
|
|
2272
1492
|
// ../renderers/src/ModalLayoutRenderer.tsx
|
|
2273
1493
|
import { Button as Button4, Modal as Modal2 } from "@transferwise/components";
|
|
2274
|
-
import { useState as
|
|
2275
|
-
import { jsx as
|
|
1494
|
+
import { useState as useState6 } from "react";
|
|
1495
|
+
import { jsx as jsx42, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
2276
1496
|
var ModalLayoutRenderer = {
|
|
2277
1497
|
canRenderType: "modal-layout",
|
|
2278
|
-
render: (props) => /* @__PURE__ */
|
|
1498
|
+
render: (props) => /* @__PURE__ */ jsx42(DFModal, __spreadValues({}, props))
|
|
2279
1499
|
};
|
|
2280
1500
|
var ModalLayoutRenderer_default = ModalLayoutRenderer;
|
|
2281
1501
|
function DFModal({ content, margin, trigger }) {
|
|
2282
|
-
const [visible, setVisible] =
|
|
1502
|
+
const [visible, setVisible] = useState6(false);
|
|
2283
1503
|
const { children, title } = content;
|
|
2284
1504
|
return /* @__PURE__ */ jsxs10("div", { className: getMargin(margin), children: [
|
|
2285
|
-
/* @__PURE__ */
|
|
2286
|
-
/* @__PURE__ */
|
|
1505
|
+
/* @__PURE__ */ jsx42(Button4, { priority: "tertiary", block: true, onClick: () => setVisible(true), children: trigger.title }),
|
|
1506
|
+
/* @__PURE__ */ jsx42(
|
|
2287
1507
|
Modal2,
|
|
2288
1508
|
{
|
|
2289
1509
|
scroll: "content",
|
|
@@ -2299,17 +1519,17 @@ function DFModal({ content, margin, trigger }) {
|
|
|
2299
1519
|
|
|
2300
1520
|
// ../renderers/src/ModalRenderer.tsx
|
|
2301
1521
|
import { Modal as Modal3 } from "@transferwise/components";
|
|
2302
|
-
import { jsx as
|
|
1522
|
+
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
2303
1523
|
var ModalRenderer = {
|
|
2304
1524
|
canRenderType: "modal",
|
|
2305
1525
|
render: ({ title, children, open, onClose }) => {
|
|
2306
|
-
return /* @__PURE__ */
|
|
1526
|
+
return /* @__PURE__ */ jsx43(Modal3, { open, title, body: children, onClose });
|
|
2307
1527
|
}
|
|
2308
1528
|
};
|
|
2309
1529
|
|
|
2310
1530
|
// ../renderers/src/MultiSelectInputRenderer.tsx
|
|
2311
1531
|
import { SelectInput, SelectInputOptionContent } from "@transferwise/components";
|
|
2312
|
-
import { useState as
|
|
1532
|
+
import { useState as useState7 } from "react";
|
|
2313
1533
|
import { useIntl as useIntl6 } from "react-intl";
|
|
2314
1534
|
|
|
2315
1535
|
// ../renderers/src/messages/multi-select.messages.ts
|
|
@@ -2323,14 +1543,14 @@ var multi_select_messages_default = defineMessages5({
|
|
|
2323
1543
|
});
|
|
2324
1544
|
|
|
2325
1545
|
// ../renderers/src/MultiSelectInputRenderer.tsx
|
|
2326
|
-
import { jsx as
|
|
1546
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
2327
1547
|
var MultiSelectInputRenderer = {
|
|
2328
1548
|
canRenderType: "input-multi-select",
|
|
2329
|
-
render: (props) => /* @__PURE__ */
|
|
1549
|
+
render: (props) => /* @__PURE__ */ jsx44(MultiSelectInputRendererComponent, __spreadValues({}, props))
|
|
2330
1550
|
};
|
|
2331
1551
|
function MultiSelectInputRendererComponent(props) {
|
|
2332
1552
|
const { formatMessage } = useIntl6();
|
|
2333
|
-
const [stagedIndices, setStagedIndices] =
|
|
1553
|
+
const [stagedIndices, setStagedIndices] = useState7();
|
|
2334
1554
|
const {
|
|
2335
1555
|
id,
|
|
2336
1556
|
autoComplete,
|
|
@@ -2368,12 +1588,12 @@ function MultiSelectInputRendererComponent(props) {
|
|
|
2368
1588
|
const contentProps = {
|
|
2369
1589
|
title: option.title,
|
|
2370
1590
|
description: option.description,
|
|
2371
|
-
icon: /* @__PURE__ */
|
|
1591
|
+
icon: /* @__PURE__ */ jsx44(OptionMedia, { media: option.media, preferAvatar: false })
|
|
2372
1592
|
};
|
|
2373
|
-
return /* @__PURE__ */
|
|
1593
|
+
return /* @__PURE__ */ jsx44(SelectInputOptionContent, __spreadValues({}, contentProps));
|
|
2374
1594
|
};
|
|
2375
1595
|
const extraProps = { autoComplete };
|
|
2376
|
-
return /* @__PURE__ */
|
|
1596
|
+
return /* @__PURE__ */ jsx44(
|
|
2377
1597
|
FieldInput_default,
|
|
2378
1598
|
{
|
|
2379
1599
|
id,
|
|
@@ -2381,7 +1601,7 @@ function MultiSelectInputRendererComponent(props) {
|
|
|
2381
1601
|
help,
|
|
2382
1602
|
description,
|
|
2383
1603
|
validation: validationState,
|
|
2384
|
-
children: /* @__PURE__ */
|
|
1604
|
+
children: /* @__PURE__ */ jsx44(
|
|
2385
1605
|
SelectInput,
|
|
2386
1606
|
__spreadValues({
|
|
2387
1607
|
id,
|
|
@@ -2426,7 +1646,7 @@ import { UploadInput } from "@transferwise/components";
|
|
|
2426
1646
|
// ../renderers/src/components/UploadFieldInput.tsx
|
|
2427
1647
|
import { InlineAlert as InlineAlert2 } from "@transferwise/components";
|
|
2428
1648
|
import classNames4 from "classnames";
|
|
2429
|
-
import { jsx as
|
|
1649
|
+
import { jsx as jsx45, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
2430
1650
|
function UploadFieldInput({
|
|
2431
1651
|
id,
|
|
2432
1652
|
children,
|
|
@@ -2435,7 +1655,7 @@ function UploadFieldInput({
|
|
|
2435
1655
|
help,
|
|
2436
1656
|
validation
|
|
2437
1657
|
}) {
|
|
2438
|
-
const labelContent = label && help ? /* @__PURE__ */
|
|
1658
|
+
const labelContent = label && help ? /* @__PURE__ */ jsx45(LabelContentWithHelp, { text: label, help }) : label;
|
|
2439
1659
|
const descriptionId = description ? `${id}-description` : void 0;
|
|
2440
1660
|
return /* @__PURE__ */ jsxs11(
|
|
2441
1661
|
"div",
|
|
@@ -2444,9 +1664,9 @@ function UploadFieldInput({
|
|
|
2444
1664
|
"has-error": (validation == null ? void 0 : validation.status) === "invalid"
|
|
2445
1665
|
}),
|
|
2446
1666
|
children: [
|
|
2447
|
-
/* @__PURE__ */
|
|
1667
|
+
/* @__PURE__ */ jsx45("label", { htmlFor: id, className: "control-label", children: labelContent }),
|
|
2448
1668
|
children,
|
|
2449
|
-
(validation == null ? void 0 : validation.status) === "invalid" && /* @__PURE__ */
|
|
1669
|
+
(validation == null ? void 0 : validation.status) === "invalid" && /* @__PURE__ */ jsx45(InlineAlert2, { type: "negative", id: descriptionId, children: validation.message })
|
|
2450
1670
|
]
|
|
2451
1671
|
}
|
|
2452
1672
|
);
|
|
@@ -2481,7 +1701,7 @@ var getSizeLimit = (maxSize) => {
|
|
|
2481
1701
|
};
|
|
2482
1702
|
|
|
2483
1703
|
// ../renderers/src/MultiUploadInputRenderer.tsx
|
|
2484
|
-
import { jsx as
|
|
1704
|
+
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
2485
1705
|
var MultiUploadInputRenderer = {
|
|
2486
1706
|
canRenderType: "input-upload-multi",
|
|
2487
1707
|
render: (props) => {
|
|
@@ -2506,7 +1726,7 @@ var MultiUploadInputRenderer = {
|
|
|
2506
1726
|
};
|
|
2507
1727
|
const onDeleteFile = async (fileId) => onRemoveFile(value.findIndex((file) => file.id === fileId));
|
|
2508
1728
|
const descriptionId = description ? `${id}-description` : void 0;
|
|
2509
|
-
return /* @__PURE__ */
|
|
1729
|
+
return /* @__PURE__ */ jsx46(
|
|
2510
1730
|
UploadFieldInput_default,
|
|
2511
1731
|
{
|
|
2512
1732
|
id,
|
|
@@ -2514,7 +1734,7 @@ var MultiUploadInputRenderer = {
|
|
|
2514
1734
|
description,
|
|
2515
1735
|
validation: validationState,
|
|
2516
1736
|
help,
|
|
2517
|
-
children: /* @__PURE__ */
|
|
1737
|
+
children: /* @__PURE__ */ jsx46(
|
|
2518
1738
|
UploadInput,
|
|
2519
1739
|
{
|
|
2520
1740
|
id,
|
|
@@ -2538,7 +1758,7 @@ var MultiUploadInputRenderer_default = MultiUploadInputRenderer;
|
|
|
2538
1758
|
|
|
2539
1759
|
// ../renderers/src/NumberInputRenderer.tsx
|
|
2540
1760
|
import { Input as Input2, InputGroup as InputGroup2 } from "@transferwise/components";
|
|
2541
|
-
import { jsx as
|
|
1761
|
+
import { jsx as jsx47 } from "react/jsx-runtime";
|
|
2542
1762
|
var NumberInputRenderer = {
|
|
2543
1763
|
canRenderType: "input-number",
|
|
2544
1764
|
render: (props) => {
|
|
@@ -2552,7 +1772,7 @@ var NumberInputRenderer = {
|
|
|
2552
1772
|
"maximum",
|
|
2553
1773
|
"minimum"
|
|
2554
1774
|
);
|
|
2555
|
-
return /* @__PURE__ */
|
|
1775
|
+
return /* @__PURE__ */ jsx47(
|
|
2556
1776
|
FieldInput_default,
|
|
2557
1777
|
{
|
|
2558
1778
|
id,
|
|
@@ -2560,7 +1780,7 @@ var NumberInputRenderer = {
|
|
|
2560
1780
|
description,
|
|
2561
1781
|
validation: validationState,
|
|
2562
1782
|
help,
|
|
2563
|
-
children: /* @__PURE__ */
|
|
1783
|
+
children: /* @__PURE__ */ jsx47(InputGroup2, { addonStart: getInputGroupAddonStart(media), children: /* @__PURE__ */ jsx47(
|
|
2564
1784
|
Input2,
|
|
2565
1785
|
__spreadValues({
|
|
2566
1786
|
id,
|
|
@@ -2612,17 +1832,17 @@ var paragraph_messages_default = defineMessages6({
|
|
|
2612
1832
|
});
|
|
2613
1833
|
|
|
2614
1834
|
// ../renderers/src/ParagraphRenderer.tsx
|
|
2615
|
-
import { jsx as
|
|
1835
|
+
import { jsx as jsx48, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
2616
1836
|
var ParagraphRenderer = {
|
|
2617
1837
|
canRenderType: "paragraph",
|
|
2618
|
-
render: (props) => /* @__PURE__ */
|
|
1838
|
+
render: (props) => /* @__PURE__ */ jsx48(Paragraph, __spreadValues({}, props))
|
|
2619
1839
|
};
|
|
2620
1840
|
function Paragraph({ align, control, margin, text }) {
|
|
2621
1841
|
const className = getTextAlignmentAndMargin({ align, margin });
|
|
2622
|
-
return control === "copyable" ? /* @__PURE__ */
|
|
1842
|
+
return control === "copyable" ? /* @__PURE__ */ jsx48(CopyableParagraph, { className, align, text }) : /* @__PURE__ */ jsx48(StandardParagraph, { className, text });
|
|
2623
1843
|
}
|
|
2624
1844
|
function StandardParagraph({ text, className }) {
|
|
2625
|
-
return /* @__PURE__ */
|
|
1845
|
+
return /* @__PURE__ */ jsx48("p", { className: `np-text-body-large ${className}`, children: text });
|
|
2626
1846
|
}
|
|
2627
1847
|
function CopyableParagraph({
|
|
2628
1848
|
text,
|
|
@@ -2637,7 +1857,7 @@ function CopyableParagraph({
|
|
|
2637
1857
|
};
|
|
2638
1858
|
const inputAlignmentClasses = getTextAlignmentAndMargin({ align, margin: "sm" });
|
|
2639
1859
|
return /* @__PURE__ */ jsxs12("div", { className, children: [
|
|
2640
|
-
/* @__PURE__ */
|
|
1860
|
+
/* @__PURE__ */ jsx48(
|
|
2641
1861
|
Input3,
|
|
2642
1862
|
{
|
|
2643
1863
|
type: "text",
|
|
@@ -2646,7 +1866,7 @@ function CopyableParagraph({
|
|
|
2646
1866
|
className: classNames5("text-ellipsis", inputAlignmentClasses)
|
|
2647
1867
|
}
|
|
2648
1868
|
),
|
|
2649
|
-
/* @__PURE__ */
|
|
1869
|
+
/* @__PURE__ */ jsx48(Button5, { block: true, onClick: copy, children: formatMessage(paragraph_messages_default.copy) })
|
|
2650
1870
|
] });
|
|
2651
1871
|
}
|
|
2652
1872
|
var ParagraphRenderer_default = ParagraphRenderer;
|
|
@@ -2655,7 +1875,7 @@ var ParagraphRenderer_default = ParagraphRenderer;
|
|
|
2655
1875
|
import { Button as Button6, Header as Header6, InlineAlert as InlineAlert3, Modal as Modal4, NavigationOption as NavigationOption2 } from "@transferwise/components";
|
|
2656
1876
|
import { Plus } from "@transferwise/icons";
|
|
2657
1877
|
import classNames6 from "classnames";
|
|
2658
|
-
import { useState as
|
|
1878
|
+
import { useState as useState8 } from "react";
|
|
2659
1879
|
import { useIntl as useIntl8 } from "react-intl";
|
|
2660
1880
|
|
|
2661
1881
|
// ../renderers/src/messages/repeatable.messages.ts
|
|
@@ -2684,10 +1904,10 @@ var repeatable_messages_default = defineMessages7({
|
|
|
2684
1904
|
});
|
|
2685
1905
|
|
|
2686
1906
|
// ../renderers/src/RepeatableRenderer.tsx
|
|
2687
|
-
import { Fragment as Fragment4, jsx as
|
|
1907
|
+
import { Fragment as Fragment4, jsx as jsx49, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
2688
1908
|
var RepeatableRenderer = {
|
|
2689
1909
|
canRenderType: "repeatable",
|
|
2690
|
-
render: (props) => /* @__PURE__ */
|
|
1910
|
+
render: (props) => /* @__PURE__ */ jsx49(Repeatable, __spreadValues({}, props))
|
|
2691
1911
|
};
|
|
2692
1912
|
function Repeatable(props) {
|
|
2693
1913
|
const {
|
|
@@ -2704,7 +1924,7 @@ function Repeatable(props) {
|
|
|
2704
1924
|
onRemove
|
|
2705
1925
|
} = props;
|
|
2706
1926
|
const { formatMessage } = useIntl8();
|
|
2707
|
-
const [openModalType, setOpenModalType] =
|
|
1927
|
+
const [openModalType, setOpenModalType] = useState8(null);
|
|
2708
1928
|
const onAddItem = () => {
|
|
2709
1929
|
onAdd();
|
|
2710
1930
|
setOpenModalType("add");
|
|
@@ -2727,8 +1947,8 @@ function Repeatable(props) {
|
|
|
2727
1947
|
setOpenModalType(null);
|
|
2728
1948
|
};
|
|
2729
1949
|
return /* @__PURE__ */ jsxs13(Fragment4, { children: [
|
|
2730
|
-
title && /* @__PURE__ */
|
|
2731
|
-
description && /* @__PURE__ */
|
|
1950
|
+
title && /* @__PURE__ */ jsx49(Header6, { title }),
|
|
1951
|
+
description && /* @__PURE__ */ jsx49("p", { children: description }),
|
|
2732
1952
|
/* @__PURE__ */ jsxs13(
|
|
2733
1953
|
"div",
|
|
2734
1954
|
{
|
|
@@ -2736,30 +1956,30 @@ function Repeatable(props) {
|
|
|
2736
1956
|
"has-error": (validationState == null ? void 0 : validationState.status) === "invalid"
|
|
2737
1957
|
}),
|
|
2738
1958
|
children: [
|
|
2739
|
-
items == null ? void 0 : items.map((item, index) => /* @__PURE__ */
|
|
2740
|
-
/* @__PURE__ */
|
|
1959
|
+
items == null ? void 0 : items.map((item, index) => /* @__PURE__ */ jsx49(ItemSummaryOption, { item, onClick: () => onEditItem(index) }, item.id)),
|
|
1960
|
+
/* @__PURE__ */ jsx49(
|
|
2741
1961
|
NavigationOption2,
|
|
2742
1962
|
{
|
|
2743
|
-
media: /* @__PURE__ */
|
|
1963
|
+
media: /* @__PURE__ */ jsx49(Plus, {}),
|
|
2744
1964
|
title: addItemTitle || formatMessage(repeatable_messages_default.addItemTitle),
|
|
2745
1965
|
showMediaAtAllSizes: true,
|
|
2746
1966
|
onClick: () => onAddItem()
|
|
2747
1967
|
}
|
|
2748
1968
|
),
|
|
2749
|
-
(validationState == null ? void 0 : validationState.status) === "invalid" && /* @__PURE__ */
|
|
1969
|
+
(validationState == null ? void 0 : validationState.status) === "invalid" && /* @__PURE__ */ jsx49(InlineAlert3, { type: "negative", children: validationState.message })
|
|
2750
1970
|
]
|
|
2751
1971
|
}
|
|
2752
1972
|
),
|
|
2753
|
-
/* @__PURE__ */
|
|
1973
|
+
/* @__PURE__ */ jsx49(
|
|
2754
1974
|
Modal4,
|
|
2755
1975
|
{
|
|
2756
1976
|
open: openModalType !== null,
|
|
2757
1977
|
title: (openModalType === "add" ? addItemTitle : editItemTitle) || formatMessage(repeatable_messages_default.addItemTitle),
|
|
2758
1978
|
body: /* @__PURE__ */ jsxs13(Fragment4, { children: [
|
|
2759
|
-
/* @__PURE__ */
|
|
1979
|
+
/* @__PURE__ */ jsx49("div", { className: "m-b-2", children: editableItem }),
|
|
2760
1980
|
/* @__PURE__ */ jsxs13("div", { children: [
|
|
2761
|
-
/* @__PURE__ */
|
|
2762
|
-
/* @__PURE__ */
|
|
1981
|
+
/* @__PURE__ */ jsx49(Button6, { priority: "primary", block: true, className: "m-b-2", onClick: () => onSaveItem(), children: formatMessage(repeatable_messages_default.addItem) }),
|
|
1982
|
+
/* @__PURE__ */ jsx49(Button6, { priority: "secondary", type: "negative", block: true, onClick: () => onRemoveItem(), children: formatMessage(repeatable_messages_default.removeItem) })
|
|
2763
1983
|
] })
|
|
2764
1984
|
] }),
|
|
2765
1985
|
onClose: () => onCancelEdit()
|
|
@@ -2771,10 +1991,10 @@ function ItemSummaryOption({
|
|
|
2771
1991
|
item,
|
|
2772
1992
|
onClick
|
|
2773
1993
|
}) {
|
|
2774
|
-
return /* @__PURE__ */
|
|
1994
|
+
return /* @__PURE__ */ jsx49(
|
|
2775
1995
|
NavigationOption2,
|
|
2776
1996
|
{
|
|
2777
|
-
media: /* @__PURE__ */
|
|
1997
|
+
media: /* @__PURE__ */ jsx49(OptionMedia, { media: item.media, preferAvatar: false }),
|
|
2778
1998
|
title: item.title,
|
|
2779
1999
|
content: item.description,
|
|
2780
2000
|
showMediaAtAllSizes: true,
|
|
@@ -2809,28 +2029,34 @@ var getHeaderAction = (callToAction) => {
|
|
|
2809
2029
|
};
|
|
2810
2030
|
|
|
2811
2031
|
// ../renderers/src/ReviewRenderer.tsx
|
|
2812
|
-
import { Fragment as Fragment5, jsx as
|
|
2032
|
+
import { Fragment as Fragment5, jsx as jsx50, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
2813
2033
|
var ReviewRenderer = {
|
|
2814
2034
|
canRenderType: "review",
|
|
2035
|
+
extensions: {
|
|
2036
|
+
field: ({ label, value, help, analyticsId: fieldAnalyticsId, trackEvent, orientation }) => ({
|
|
2037
|
+
key: label,
|
|
2038
|
+
title: label,
|
|
2039
|
+
value: getFieldValue(
|
|
2040
|
+
value,
|
|
2041
|
+
help,
|
|
2042
|
+
orientation,
|
|
2043
|
+
() => trackEvent("Help Pressed", { layoutItemId: fieldAnalyticsId })
|
|
2044
|
+
)
|
|
2045
|
+
})
|
|
2046
|
+
},
|
|
2815
2047
|
render: ({ callToAction, control, fields, margin, title, trackEvent }) => {
|
|
2816
2048
|
const orientation = mapControlToDefinitionListLayout(control);
|
|
2817
2049
|
return /* @__PURE__ */ jsxs14("div", { className: getMargin(margin), children: [
|
|
2818
|
-
(title || callToAction) && /* @__PURE__ */
|
|
2819
|
-
/* @__PURE__ */
|
|
2050
|
+
(title || callToAction) && /* @__PURE__ */ jsx50(Header7, { title: title != null ? title : "", action: getHeaderAction(callToAction) }),
|
|
2051
|
+
/* @__PURE__ */ jsx50("div", { className: margin, children: /* @__PURE__ */ jsx50(
|
|
2820
2052
|
DefinitionList,
|
|
2821
2053
|
{
|
|
2822
2054
|
layout: orientation,
|
|
2823
2055
|
definitions: fields.map(
|
|
2824
|
-
(
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
value,
|
|
2829
|
-
help,
|
|
2830
|
-
orientation,
|
|
2831
|
-
() => trackEvent("Help Pressed", { layoutItemId: fieldAnalyticsId })
|
|
2832
|
-
)
|
|
2833
|
-
})
|
|
2056
|
+
(field) => ReviewRenderer.extensions.field(__spreadProps(__spreadValues({}, field), {
|
|
2057
|
+
orientation,
|
|
2058
|
+
trackEvent
|
|
2059
|
+
}))
|
|
2834
2060
|
)
|
|
2835
2061
|
}
|
|
2836
2062
|
) })
|
|
@@ -2856,13 +2082,13 @@ var mapControlToDefinitionListLayout = (control) => {
|
|
|
2856
2082
|
var getFieldValue = (value, help, orientation, onClick) => {
|
|
2857
2083
|
if (help) {
|
|
2858
2084
|
return orientation === "HORIZONTAL_RIGHT_ALIGNED" ? /* @__PURE__ */ jsxs14(Fragment5, { children: [
|
|
2859
|
-
/* @__PURE__ */
|
|
2085
|
+
/* @__PURE__ */ jsx50(Help_default, { help, onClick }),
|
|
2860
2086
|
" ",
|
|
2861
2087
|
value
|
|
2862
2088
|
] }) : /* @__PURE__ */ jsxs14(Fragment5, { children: [
|
|
2863
2089
|
value,
|
|
2864
2090
|
" ",
|
|
2865
|
-
/* @__PURE__ */
|
|
2091
|
+
/* @__PURE__ */ jsx50(Help_default, { help, onClick })
|
|
2866
2092
|
] });
|
|
2867
2093
|
}
|
|
2868
2094
|
return value;
|
|
@@ -2870,7 +2096,7 @@ var getFieldValue = (value, help, orientation, onClick) => {
|
|
|
2870
2096
|
|
|
2871
2097
|
// ../renderers/src/SearchRenderer/BlockSearchRendererComponent.tsx
|
|
2872
2098
|
import { Input as Input4, Markdown as Markdown4, NavigationOption as NavigationOption3, NavigationOptionsList as NavigationOptionsList2 } from "@transferwise/components";
|
|
2873
|
-
import { useState as
|
|
2099
|
+
import { useState as useState9 } from "react";
|
|
2874
2100
|
import { useIntl as useIntl10 } from "react-intl";
|
|
2875
2101
|
|
|
2876
2102
|
// ../renderers/src/messages/search.messages.ts
|
|
@@ -2908,7 +2134,7 @@ var generic_error_messages_default = defineMessages9({
|
|
|
2908
2134
|
|
|
2909
2135
|
// ../renderers/src/SearchRenderer/ErrorResult.tsx
|
|
2910
2136
|
import { Button as Button7 } from "@transferwise/components";
|
|
2911
|
-
import { jsx as
|
|
2137
|
+
import { jsx as jsx51, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
2912
2138
|
function ErrorResult({ state }) {
|
|
2913
2139
|
const intl = useIntl9();
|
|
2914
2140
|
const buttonVisualProps = {
|
|
@@ -2919,7 +2145,7 @@ function ErrorResult({ state }) {
|
|
|
2919
2145
|
return /* @__PURE__ */ jsxs15("p", { className: "m-t-2", children: [
|
|
2920
2146
|
intl.formatMessage(generic_error_messages_default.genericError),
|
|
2921
2147
|
"\xA0",
|
|
2922
|
-
/* @__PURE__ */
|
|
2148
|
+
/* @__PURE__ */ jsx51(
|
|
2923
2149
|
Button7,
|
|
2924
2150
|
__spreadProps(__spreadValues({}, buttonVisualProps), {
|
|
2925
2151
|
onClick: () => {
|
|
@@ -2932,7 +2158,7 @@ function ErrorResult({ state }) {
|
|
|
2932
2158
|
}
|
|
2933
2159
|
|
|
2934
2160
|
// ../renderers/src/SearchRenderer/BlockSearchRendererComponent.tsx
|
|
2935
|
-
import { Fragment as Fragment6, jsx as
|
|
2161
|
+
import { Fragment as Fragment6, jsx as jsx52, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
2936
2162
|
function BlockSearchRendererComponent({
|
|
2937
2163
|
id,
|
|
2938
2164
|
isLoading,
|
|
@@ -2943,10 +2169,10 @@ function BlockSearchRendererComponent({
|
|
|
2943
2169
|
trackEvent,
|
|
2944
2170
|
onChange
|
|
2945
2171
|
}) {
|
|
2946
|
-
const [hasSearched, setHasSearched] =
|
|
2172
|
+
const [hasSearched, setHasSearched] = useState9(false);
|
|
2947
2173
|
const { formatMessage } = useIntl10();
|
|
2948
2174
|
return /* @__PURE__ */ jsxs16("div", { className: getMargin(margin), children: [
|
|
2949
|
-
/* @__PURE__ */
|
|
2175
|
+
/* @__PURE__ */ jsx52(FieldInput_default, { id, description: "", validation: void 0, help: "", label: title, children: /* @__PURE__ */ jsx52(
|
|
2950
2176
|
Input4,
|
|
2951
2177
|
{
|
|
2952
2178
|
id,
|
|
@@ -2963,7 +2189,7 @@ function BlockSearchRendererComponent({
|
|
|
2963
2189
|
}
|
|
2964
2190
|
}
|
|
2965
2191
|
) }),
|
|
2966
|
-
isLoading ? /* @__PURE__ */
|
|
2192
|
+
isLoading ? /* @__PURE__ */ jsx52(Fragment6, { children: formatMessage(search_messages_default.loading) }) : /* @__PURE__ */ jsx52(SearchResultContent, { state, trackEvent })
|
|
2967
2193
|
] });
|
|
2968
2194
|
}
|
|
2969
2195
|
function SearchResultContent({
|
|
@@ -2972,26 +2198,26 @@ function SearchResultContent({
|
|
|
2972
2198
|
}) {
|
|
2973
2199
|
switch (state.type) {
|
|
2974
2200
|
case "error":
|
|
2975
|
-
return /* @__PURE__ */
|
|
2201
|
+
return /* @__PURE__ */ jsx52(ErrorResult, { state });
|
|
2976
2202
|
case "results":
|
|
2977
|
-
return /* @__PURE__ */
|
|
2203
|
+
return /* @__PURE__ */ jsx52(SearchResults, { state, trackEvent });
|
|
2978
2204
|
case "noResults":
|
|
2979
|
-
return /* @__PURE__ */
|
|
2205
|
+
return /* @__PURE__ */ jsx52(EmptySearchResult, { state });
|
|
2980
2206
|
case "pending":
|
|
2981
2207
|
default:
|
|
2982
2208
|
return null;
|
|
2983
2209
|
}
|
|
2984
2210
|
}
|
|
2985
2211
|
function EmptySearchResult({ state }) {
|
|
2986
|
-
return /* @__PURE__ */
|
|
2212
|
+
return /* @__PURE__ */ jsx52(Markdown4, { className: "m-t-2", config: { link: { target: "_blank" } }, children: state.message });
|
|
2987
2213
|
}
|
|
2988
2214
|
function SearchResults({
|
|
2989
2215
|
state,
|
|
2990
2216
|
trackEvent
|
|
2991
2217
|
}) {
|
|
2992
|
-
return /* @__PURE__ */
|
|
2218
|
+
return /* @__PURE__ */ jsx52(NavigationOptionsList2, { children: state.results.map((result) => {
|
|
2993
2219
|
const { media } = result;
|
|
2994
|
-
return /* @__PURE__ */
|
|
2220
|
+
return /* @__PURE__ */ jsx52(
|
|
2995
2221
|
NavigationOption3,
|
|
2996
2222
|
{
|
|
2997
2223
|
title: result.title,
|
|
@@ -3015,9 +2241,9 @@ var BlockSearchRendererComponent_default = BlockSearchRendererComponent;
|
|
|
3015
2241
|
// ../renderers/src/SearchRenderer/InlineSearchRendererComponent.tsx
|
|
3016
2242
|
import { Markdown as Markdown5, Typeahead } from "@transferwise/components";
|
|
3017
2243
|
import { Search } from "@transferwise/icons";
|
|
3018
|
-
import { useState as
|
|
2244
|
+
import { useState as useState10 } from "react";
|
|
3019
2245
|
import { useIntl as useIntl11 } from "react-intl";
|
|
3020
|
-
import { jsx as
|
|
2246
|
+
import { jsx as jsx53 } from "react/jsx-runtime";
|
|
3021
2247
|
function InlineSearchRenderer({
|
|
3022
2248
|
id,
|
|
3023
2249
|
isLoading,
|
|
@@ -3027,9 +2253,9 @@ function InlineSearchRenderer({
|
|
|
3027
2253
|
title,
|
|
3028
2254
|
trackEvent
|
|
3029
2255
|
}) {
|
|
3030
|
-
const [hasSearched, setHasSearched] =
|
|
2256
|
+
const [hasSearched, setHasSearched] = useState10(false);
|
|
3031
2257
|
const intl = useIntl11();
|
|
3032
|
-
return /* @__PURE__ */
|
|
2258
|
+
return /* @__PURE__ */ jsx53("div", { className: getMargin(margin), children: /* @__PURE__ */ jsx53(FieldInput_default, { id, description: "", validation: void 0, help: "", label: title, children: /* @__PURE__ */ jsx53(
|
|
3033
2259
|
Typeahead,
|
|
3034
2260
|
{
|
|
3035
2261
|
id: "typeahead-input-id",
|
|
@@ -3037,10 +2263,10 @@ function InlineSearchRenderer({
|
|
|
3037
2263
|
name: "typeahead-input-name",
|
|
3038
2264
|
size: "md",
|
|
3039
2265
|
maxHeight: 100,
|
|
3040
|
-
footer: /* @__PURE__ */
|
|
2266
|
+
footer: /* @__PURE__ */ jsx53(TypeaheadFooter, { state, isLoading }),
|
|
3041
2267
|
multiple: false,
|
|
3042
2268
|
clearable: false,
|
|
3043
|
-
addon: /* @__PURE__ */
|
|
2269
|
+
addon: /* @__PURE__ */ jsx53(Search, { size: 24 }),
|
|
3044
2270
|
options: state.type === "results" ? state.results.map(mapResultToTypeaheadOption) : [],
|
|
3045
2271
|
minQueryLength: 1,
|
|
3046
2272
|
onChange: (values) => {
|
|
@@ -3077,34 +2303,34 @@ function mapResultToTypeaheadOption(result) {
|
|
|
3077
2303
|
function TypeaheadFooter({ state, isLoading }) {
|
|
3078
2304
|
const { formatMessage } = useIntl11();
|
|
3079
2305
|
if (state.type === "noResults") {
|
|
3080
|
-
return /* @__PURE__ */
|
|
2306
|
+
return /* @__PURE__ */ jsx53(Markdown5, { className: "m-t-2 m-x-2", config: { link: { target: "_blank" } }, children: state.message });
|
|
3081
2307
|
}
|
|
3082
2308
|
if (state.type === "error") {
|
|
3083
|
-
return /* @__PURE__ */
|
|
2309
|
+
return /* @__PURE__ */ jsx53("div", { className: "m-t-2 m-x-2", children: /* @__PURE__ */ jsx53(ErrorResult, { state }) });
|
|
3084
2310
|
}
|
|
3085
2311
|
if (state.type === "pending" || isLoading) {
|
|
3086
|
-
return /* @__PURE__ */
|
|
2312
|
+
return /* @__PURE__ */ jsx53("p", { className: "m-t-2 m-x-2", children: formatMessage(search_messages_default.loading) });
|
|
3087
2313
|
}
|
|
3088
2314
|
return null;
|
|
3089
2315
|
}
|
|
3090
2316
|
var InlineSearchRendererComponent_default = InlineSearchRenderer;
|
|
3091
2317
|
|
|
3092
2318
|
// ../renderers/src/SearchRenderer/SearchRenderer.tsx
|
|
3093
|
-
import { jsx as
|
|
2319
|
+
import { jsx as jsx54 } from "react/jsx-runtime";
|
|
3094
2320
|
var SearchRenderer = {
|
|
3095
2321
|
canRenderType: "search",
|
|
3096
|
-
render: (props) => props.control === "inline" ? /* @__PURE__ */
|
|
2322
|
+
render: (props) => props.control === "inline" ? /* @__PURE__ */ jsx54(InlineSearchRendererComponent_default, __spreadValues({}, props)) : /* @__PURE__ */ jsx54(BlockSearchRendererComponent_default, __spreadValues({}, props))
|
|
3097
2323
|
};
|
|
3098
2324
|
var SearchRenderer_default = SearchRenderer;
|
|
3099
2325
|
|
|
3100
2326
|
// ../renderers/src/SectionRenderer.tsx
|
|
3101
2327
|
import { Header as Header8 } from "@transferwise/components";
|
|
3102
|
-
import { jsx as
|
|
2328
|
+
import { jsx as jsx55, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
3103
2329
|
var SectionRenderer = {
|
|
3104
2330
|
canRenderType: "section",
|
|
3105
2331
|
render: ({ children, callToAction, margin, title }) => {
|
|
3106
2332
|
return /* @__PURE__ */ jsxs17("section", { className: getMargin(margin), children: [
|
|
3107
|
-
(title || callToAction) && /* @__PURE__ */
|
|
2333
|
+
(title || callToAction) && /* @__PURE__ */ jsx55(Header8, { title: title != null ? title : "", action: getHeaderAction(callToAction) }),
|
|
3108
2334
|
children
|
|
3109
2335
|
] });
|
|
3110
2336
|
}
|
|
@@ -3113,7 +2339,7 @@ var SectionRenderer_default = SectionRenderer;
|
|
|
3113
2339
|
|
|
3114
2340
|
// ../renderers/src/SelectInputRenderer/RadioInputRendererComponent.tsx
|
|
3115
2341
|
import { RadioGroup } from "@transferwise/components";
|
|
3116
|
-
import { Fragment as Fragment7, jsx as
|
|
2342
|
+
import { Fragment as Fragment7, jsx as jsx56, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
3117
2343
|
function RadioInputRendererComponent(props) {
|
|
3118
2344
|
const {
|
|
3119
2345
|
id,
|
|
@@ -3128,7 +2354,7 @@ function RadioInputRendererComponent(props) {
|
|
|
3128
2354
|
onSelect
|
|
3129
2355
|
} = props;
|
|
3130
2356
|
return /* @__PURE__ */ jsxs18(Fragment7, { children: [
|
|
3131
|
-
/* @__PURE__ */
|
|
2357
|
+
/* @__PURE__ */ jsx56(
|
|
3132
2358
|
FieldInput_default,
|
|
3133
2359
|
{
|
|
3134
2360
|
id,
|
|
@@ -3136,7 +2362,7 @@ function RadioInputRendererComponent(props) {
|
|
|
3136
2362
|
help,
|
|
3137
2363
|
description,
|
|
3138
2364
|
validation: validationState,
|
|
3139
|
-
children: /* @__PURE__ */
|
|
2365
|
+
children: /* @__PURE__ */ jsx56("span", { children: /* @__PURE__ */ jsx56(
|
|
3140
2366
|
RadioGroup,
|
|
3141
2367
|
{
|
|
3142
2368
|
name: id,
|
|
@@ -3145,7 +2371,7 @@ function RadioInputRendererComponent(props) {
|
|
|
3145
2371
|
value: index,
|
|
3146
2372
|
secondary: option.description,
|
|
3147
2373
|
disabled: option.disabled || disabled,
|
|
3148
|
-
avatar: /* @__PURE__ */
|
|
2374
|
+
avatar: /* @__PURE__ */ jsx56(OptionMedia, { media: option.media, preferAvatar: false })
|
|
3149
2375
|
})),
|
|
3150
2376
|
selectedValue: selectedIndex != null ? selectedIndex : void 0,
|
|
3151
2377
|
onChange: onSelect
|
|
@@ -3161,7 +2387,7 @@ function RadioInputRendererComponent(props) {
|
|
|
3161
2387
|
// ../renderers/src/SelectInputRenderer/TabInputRendererComponent.tsx
|
|
3162
2388
|
import { Tabs } from "@transferwise/components";
|
|
3163
2389
|
import { useEffect as useEffect5 } from "react";
|
|
3164
|
-
import { Fragment as Fragment8, jsx as
|
|
2390
|
+
import { Fragment as Fragment8, jsx as jsx57, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
3165
2391
|
function TabInputRendererComponent(props) {
|
|
3166
2392
|
const {
|
|
3167
2393
|
id,
|
|
@@ -3181,7 +2407,7 @@ function TabInputRendererComponent(props) {
|
|
|
3181
2407
|
}
|
|
3182
2408
|
}, [selectedIndex, onSelect, options.length]);
|
|
3183
2409
|
return /* @__PURE__ */ jsxs19(Fragment8, { children: [
|
|
3184
|
-
/* @__PURE__ */
|
|
2410
|
+
/* @__PURE__ */ jsx57(
|
|
3185
2411
|
FieldInput_default,
|
|
3186
2412
|
{
|
|
3187
2413
|
id,
|
|
@@ -3189,7 +2415,7 @@ function TabInputRendererComponent(props) {
|
|
|
3189
2415
|
help,
|
|
3190
2416
|
description,
|
|
3191
2417
|
validation: validationState,
|
|
3192
|
-
children: /* @__PURE__ */
|
|
2418
|
+
children: /* @__PURE__ */ jsx57(
|
|
3193
2419
|
Tabs,
|
|
3194
2420
|
{
|
|
3195
2421
|
name: id,
|
|
@@ -3198,7 +2424,7 @@ function TabInputRendererComponent(props) {
|
|
|
3198
2424
|
title: option.title,
|
|
3199
2425
|
// if we pass null, we get some props-types console errors
|
|
3200
2426
|
// eslint-disable-next-line react/jsx-no-useless-fragment
|
|
3201
|
-
content: /* @__PURE__ */
|
|
2427
|
+
content: /* @__PURE__ */ jsx57(Fragment8, {}),
|
|
3202
2428
|
disabled: option.disabled || disabled
|
|
3203
2429
|
})),
|
|
3204
2430
|
onTabSelect: onSelect
|
|
@@ -3213,7 +2439,7 @@ var isValidIndex = (index, options) => index !== null && index >= 0 && index < o
|
|
|
3213
2439
|
|
|
3214
2440
|
// ../renderers/src/SelectInputRenderer/SelectInputRendererComponent.tsx
|
|
3215
2441
|
import { SelectInput as SelectInput2, SelectInputOptionContent as SelectInputOptionContent2 } from "@transferwise/components";
|
|
3216
|
-
import { Fragment as Fragment9, jsx as
|
|
2442
|
+
import { Fragment as Fragment9, jsx as jsx58, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
3217
2443
|
function SelectInputRendererComponent(props) {
|
|
3218
2444
|
const {
|
|
3219
2445
|
id,
|
|
@@ -3253,13 +2479,13 @@ function SelectInputRendererComponent(props) {
|
|
|
3253
2479
|
} : {
|
|
3254
2480
|
title: option.title,
|
|
3255
2481
|
description: option.description,
|
|
3256
|
-
icon: /* @__PURE__ */
|
|
2482
|
+
icon: /* @__PURE__ */ jsx58(OptionMedia, { media: option.media, preferAvatar: false })
|
|
3257
2483
|
};
|
|
3258
|
-
return /* @__PURE__ */
|
|
2484
|
+
return /* @__PURE__ */ jsx58(SelectInputOptionContent2, __spreadValues({}, contentProps));
|
|
3259
2485
|
};
|
|
3260
2486
|
const extraProps = { autoComplete };
|
|
3261
2487
|
return /* @__PURE__ */ jsxs20(Fragment9, { children: [
|
|
3262
|
-
/* @__PURE__ */
|
|
2488
|
+
/* @__PURE__ */ jsx58(
|
|
3263
2489
|
FieldInput_default,
|
|
3264
2490
|
{
|
|
3265
2491
|
id,
|
|
@@ -3267,7 +2493,7 @@ function SelectInputRendererComponent(props) {
|
|
|
3267
2493
|
help,
|
|
3268
2494
|
description,
|
|
3269
2495
|
validation: validationState,
|
|
3270
|
-
children: /* @__PURE__ */
|
|
2496
|
+
children: /* @__PURE__ */ jsx58(
|
|
3271
2497
|
SelectInput2,
|
|
3272
2498
|
__spreadValues({
|
|
3273
2499
|
name: id,
|
|
@@ -3290,7 +2516,7 @@ function SelectInputRendererComponent(props) {
|
|
|
3290
2516
|
// ../renderers/src/SelectInputRenderer/SegmentedInputRendererComponent.tsx
|
|
3291
2517
|
import { useEffect as useEffect6 } from "react";
|
|
3292
2518
|
import { SegmentedControl } from "@transferwise/components";
|
|
3293
|
-
import { Fragment as Fragment10, jsx as
|
|
2519
|
+
import { Fragment as Fragment10, jsx as jsx59, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
3294
2520
|
function SegmentedInputRendererComponent(props) {
|
|
3295
2521
|
const {
|
|
3296
2522
|
id,
|
|
@@ -3309,7 +2535,7 @@ function SegmentedInputRendererComponent(props) {
|
|
|
3309
2535
|
}
|
|
3310
2536
|
}, [selectedIndex, onSelect, options.length]);
|
|
3311
2537
|
return /* @__PURE__ */ jsxs21(Fragment10, { children: [
|
|
3312
|
-
/* @__PURE__ */
|
|
2538
|
+
/* @__PURE__ */ jsx59(
|
|
3313
2539
|
FieldInput_default,
|
|
3314
2540
|
{
|
|
3315
2541
|
id,
|
|
@@ -3317,7 +2543,7 @@ function SegmentedInputRendererComponent(props) {
|
|
|
3317
2543
|
help,
|
|
3318
2544
|
description,
|
|
3319
2545
|
validation: validationState,
|
|
3320
|
-
children: /* @__PURE__ */
|
|
2546
|
+
children: /* @__PURE__ */ jsx59(
|
|
3321
2547
|
SegmentedControl,
|
|
3322
2548
|
{
|
|
3323
2549
|
name: `${id}-segmented-control`,
|
|
@@ -3334,26 +2560,26 @@ function SegmentedInputRendererComponent(props) {
|
|
|
3334
2560
|
)
|
|
3335
2561
|
}
|
|
3336
2562
|
),
|
|
3337
|
-
/* @__PURE__ */
|
|
2563
|
+
/* @__PURE__ */ jsx59("div", { id: `${id}-children`, children })
|
|
3338
2564
|
] });
|
|
3339
2565
|
}
|
|
3340
2566
|
var isValidIndex2 = (index, options) => index !== null && index >= 0 && index < options;
|
|
3341
2567
|
|
|
3342
2568
|
// ../renderers/src/SelectInputRenderer/SelectInputRenderer.tsx
|
|
3343
|
-
import { jsx as
|
|
2569
|
+
import { jsx as jsx60 } from "react/jsx-runtime";
|
|
3344
2570
|
var SelectInputRenderer = {
|
|
3345
2571
|
canRenderType: "input-select",
|
|
3346
2572
|
render: (props) => {
|
|
3347
2573
|
switch (props.control) {
|
|
3348
2574
|
case "radio":
|
|
3349
|
-
return /* @__PURE__ */
|
|
2575
|
+
return /* @__PURE__ */ jsx60(RadioInputRendererComponent, __spreadValues({}, props));
|
|
3350
2576
|
case "tab":
|
|
3351
|
-
return props.options.length > 3 ? /* @__PURE__ */
|
|
2577
|
+
return props.options.length > 3 ? /* @__PURE__ */ jsx60(SelectInputRendererComponent, __spreadValues({}, props)) : /* @__PURE__ */ jsx60(TabInputRendererComponent, __spreadValues({}, props));
|
|
3352
2578
|
case "segmented":
|
|
3353
|
-
return props.options.length > 3 ? /* @__PURE__ */
|
|
2579
|
+
return props.options.length > 3 ? /* @__PURE__ */ jsx60(SelectInputRendererComponent, __spreadValues({}, props)) : /* @__PURE__ */ jsx60(SegmentedInputRendererComponent, __spreadValues({}, props));
|
|
3354
2580
|
case "select":
|
|
3355
2581
|
default:
|
|
3356
|
-
return /* @__PURE__ */
|
|
2582
|
+
return /* @__PURE__ */ jsx60(SelectInputRendererComponent, __spreadValues({}, props));
|
|
3357
2583
|
}
|
|
3358
2584
|
}
|
|
3359
2585
|
};
|
|
@@ -3361,17 +2587,17 @@ var SelectInputRenderer_default = SelectInputRenderer;
|
|
|
3361
2587
|
|
|
3362
2588
|
// ../renderers/src/StatusListRenderer.tsx
|
|
3363
2589
|
import { Header as Header9, Summary } from "@transferwise/components";
|
|
3364
|
-
import { jsx as
|
|
2590
|
+
import { jsx as jsx61, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
3365
2591
|
var StatusListRenderer = {
|
|
3366
2592
|
canRenderType: "status-list",
|
|
3367
2593
|
render: ({ margin, items, title }) => /* @__PURE__ */ jsxs22("div", { className: getMargin(margin), children: [
|
|
3368
|
-
title ? /* @__PURE__ */
|
|
3369
|
-
items.map(({ callToAction, description, icon, status, title: itemTitle }) => /* @__PURE__ */
|
|
2594
|
+
title ? /* @__PURE__ */ jsx61(Header9, { title, className: "m-b-2" }) : null,
|
|
2595
|
+
items.map(({ callToAction, description, icon, status, title: itemTitle }) => /* @__PURE__ */ jsx61(
|
|
3370
2596
|
Summary,
|
|
3371
2597
|
{
|
|
3372
2598
|
title: itemTitle,
|
|
3373
2599
|
description,
|
|
3374
|
-
icon: icon && "name" in icon ? /* @__PURE__ */
|
|
2600
|
+
icon: icon && "name" in icon ? /* @__PURE__ */ jsx61(DynamicIcon_default, { name: icon.name }) : null,
|
|
3375
2601
|
status: mapStatus(status),
|
|
3376
2602
|
action: getSummaryAction(callToAction)
|
|
3377
2603
|
},
|
|
@@ -3422,102 +2648,172 @@ var useCustomTheme = (theme, trackEvent) => {
|
|
|
3422
2648
|
}, []);
|
|
3423
2649
|
};
|
|
3424
2650
|
|
|
3425
|
-
// ../renderers/src/step/BackButton.tsx
|
|
3426
|
-
import {
|
|
2651
|
+
// ../renderers/src/step/topbar/BackButton.tsx
|
|
2652
|
+
import { IconButton } from "@transferwise/components";
|
|
3427
2653
|
import { ArrowLeft } from "@transferwise/icons";
|
|
3428
|
-
import { jsx as
|
|
2654
|
+
import { jsx as jsx62, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
3429
2655
|
function BackButton({ title, onClick }) {
|
|
3430
|
-
return /* @__PURE__ */
|
|
3431
|
-
"
|
|
2656
|
+
return /* @__PURE__ */ jsxs23(IconButton, { priority: "tertiary", onClick, children: [
|
|
2657
|
+
/* @__PURE__ */ jsx62("span", { className: "sr-only", children: title }),
|
|
2658
|
+
/* @__PURE__ */ jsx62(ArrowLeft, {})
|
|
2659
|
+
] });
|
|
2660
|
+
}
|
|
2661
|
+
|
|
2662
|
+
// ../renderers/src/step/topbar/Toolbar.tsx
|
|
2663
|
+
import { Button as Button8, IconButton as IconButton2 } from "@transferwise/components";
|
|
2664
|
+
import { jsx as jsx63, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
2665
|
+
var Toolbar = ({ items }) => {
|
|
2666
|
+
return (items == null ? void 0 : items.length) > 0 ? /* @__PURE__ */ jsx63("div", { className: "df-toolbar", children: items.map((item, index) => /* @__PURE__ */ jsx63(ToolbarButton, __spreadValues({}, item), `${item.type}-${index}-${item.title}`)) }) : null;
|
|
2667
|
+
};
|
|
2668
|
+
function ToolbarButton(props) {
|
|
2669
|
+
return prefersMedia(props.control) ? /* @__PURE__ */ jsx63(MediaToolbarButton, __spreadValues({}, props)) : /* @__PURE__ */ jsx63(TextToolbarButton, __spreadValues({}, props));
|
|
2670
|
+
}
|
|
2671
|
+
function MediaToolbarButton(props) {
|
|
2672
|
+
var _a;
|
|
2673
|
+
const { context, control, media, accessibilityDescription, disabled, onClick } = props;
|
|
2674
|
+
const priority = getPriority(control);
|
|
2675
|
+
const type = getSentiment(context);
|
|
2676
|
+
return /* @__PURE__ */ jsxs24(
|
|
2677
|
+
IconButton2,
|
|
3432
2678
|
{
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
2679
|
+
className: "df-toolbar-button",
|
|
2680
|
+
disabled,
|
|
2681
|
+
priority,
|
|
2682
|
+
size: 32,
|
|
2683
|
+
type,
|
|
3437
2684
|
onClick,
|
|
3438
2685
|
children: [
|
|
3439
|
-
/* @__PURE__ */
|
|
3440
|
-
|
|
2686
|
+
accessibilityDescription ? /* @__PURE__ */ jsx63("span", { className: "sr-only", children: accessibilityDescription }) : null,
|
|
2687
|
+
media ? (_a = getAddonStart(media)) == null ? void 0 : _a.value : null
|
|
3441
2688
|
]
|
|
3442
2689
|
}
|
|
3443
|
-
)
|
|
2690
|
+
);
|
|
2691
|
+
}
|
|
2692
|
+
function TextToolbarButton(props) {
|
|
2693
|
+
const { context, control, title, media, disabled, onClick } = props;
|
|
2694
|
+
const addonStart = media ? getAddonStart(media) : void 0;
|
|
2695
|
+
const priority = getPriority(control);
|
|
2696
|
+
const sentiment = getSentiment(context);
|
|
2697
|
+
return /* @__PURE__ */ jsx63(
|
|
2698
|
+
Button8,
|
|
2699
|
+
{
|
|
2700
|
+
v2: true,
|
|
2701
|
+
size: "sm",
|
|
2702
|
+
className: "df-toolbar-button",
|
|
2703
|
+
disabled,
|
|
2704
|
+
priority,
|
|
2705
|
+
addonStart,
|
|
2706
|
+
sentiment,
|
|
2707
|
+
onClick,
|
|
2708
|
+
children: title
|
|
2709
|
+
}
|
|
2710
|
+
);
|
|
2711
|
+
}
|
|
2712
|
+
var getAddonStart = (media) => {
|
|
2713
|
+
if (media.type === "avatar") {
|
|
2714
|
+
if (media.content.length === 1) {
|
|
2715
|
+
if (media.content[0].type === "text") {
|
|
2716
|
+
return { type: "icon", value: media.content[0].text };
|
|
2717
|
+
}
|
|
2718
|
+
if (media.content[0].type === "uri" && isValidIconUrn(media.content[0].uri)) {
|
|
2719
|
+
const { asset, icon } = resolveUri(media.content[0].uri, 24);
|
|
2720
|
+
return { type: "icon", value: icon != null ? icon : asset };
|
|
2721
|
+
}
|
|
2722
|
+
}
|
|
2723
|
+
return void 0;
|
|
2724
|
+
}
|
|
2725
|
+
};
|
|
2726
|
+
var getPriority = (control) => isKnownControl(control) && control.startsWith("primary") ? "primary" : "secondary";
|
|
2727
|
+
var prefersMedia = (control) => isKnownControl(control) && control.endsWith("-prefers-media");
|
|
2728
|
+
var knownControls = ["primary", "primary-prefers-media", "secondary", "secondary-prefers-media"];
|
|
2729
|
+
var isKnownControl = (control) => control !== void 0 && knownControls.includes(control);
|
|
2730
|
+
var getSentiment = (context) => {
|
|
2731
|
+
return "default";
|
|
2732
|
+
};
|
|
2733
|
+
|
|
2734
|
+
// ../renderers/src/step/topbar/TopBar.tsx
|
|
2735
|
+
import { jsx as jsx64, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
2736
|
+
function TopBar({ back, toolbar }) {
|
|
2737
|
+
return back || toolbar ? /* @__PURE__ */ jsxs25("div", { className: "d-flex m-b-2", children: [
|
|
2738
|
+
back ? /* @__PURE__ */ jsx64(BackButton, __spreadValues({}, back)) : null,
|
|
2739
|
+
toolbar ? /* @__PURE__ */ jsx64(Toolbar, __spreadValues({}, toolbar)) : null
|
|
2740
|
+
] }) : null;
|
|
3444
2741
|
}
|
|
3445
|
-
var BackButton_default = BackButton;
|
|
3446
2742
|
|
|
3447
2743
|
// ../renderers/src/step/SplashCelebrationStepRenderer.tsx
|
|
3448
|
-
import { jsx as
|
|
2744
|
+
import { jsx as jsx65, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
3449
2745
|
var SplashCelebrationStepRenderer = {
|
|
3450
2746
|
canRenderType: "step",
|
|
3451
2747
|
canRender: ({ control }) => control === "splash-celebration",
|
|
3452
2748
|
render: SplashCelebrationStepRendererComponent
|
|
3453
2749
|
};
|
|
3454
2750
|
function SplashCelebrationStepRendererComponent(props) {
|
|
3455
|
-
const { back, children, trackEvent } = props;
|
|
2751
|
+
const { back, toolbar, children, trackEvent } = props;
|
|
3456
2752
|
useCustomTheme("forest-green", trackEvent);
|
|
3457
|
-
return /* @__PURE__ */
|
|
3458
|
-
|
|
2753
|
+
return /* @__PURE__ */ jsxs26("div", { className: "splash-screen m-t-5", children: [
|
|
2754
|
+
/* @__PURE__ */ jsx65(TopBar, { back, toolbar }),
|
|
3459
2755
|
children
|
|
3460
2756
|
] });
|
|
3461
2757
|
}
|
|
3462
2758
|
|
|
3463
2759
|
// ../renderers/src/step/SplashStepRenderer.tsx
|
|
3464
|
-
import { jsx as
|
|
2760
|
+
import { jsx as jsx66, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
3465
2761
|
var SplashStepRenderer = {
|
|
3466
2762
|
canRenderType: "step",
|
|
3467
2763
|
canRender: ({ control }) => control === "splash",
|
|
3468
2764
|
render: SplashStepRendererComponent
|
|
3469
2765
|
};
|
|
3470
2766
|
function SplashStepRendererComponent(props) {
|
|
3471
|
-
const { back, children } = props;
|
|
3472
|
-
return /* @__PURE__ */
|
|
3473
|
-
|
|
2767
|
+
const { back, toolbar, children } = props;
|
|
2768
|
+
return /* @__PURE__ */ jsxs27("div", { className: "splash-screen m-t-5", children: [
|
|
2769
|
+
/* @__PURE__ */ jsx66(TopBar, { back, toolbar }),
|
|
3474
2770
|
children
|
|
3475
2771
|
] });
|
|
3476
2772
|
}
|
|
3477
2773
|
|
|
3478
2774
|
// ../renderers/src/step/StepRenderer.tsx
|
|
3479
2775
|
import { Alert as Alert2, Title as Title2 } from "@transferwise/components";
|
|
3480
|
-
import { Fragment as Fragment11, jsx as
|
|
2776
|
+
import { Fragment as Fragment11, jsx as jsx67, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
3481
2777
|
var StepRenderer = {
|
|
3482
2778
|
canRenderType: "step",
|
|
3483
2779
|
render: StepRendererComponent
|
|
3484
2780
|
};
|
|
3485
2781
|
function StepRendererComponent(props) {
|
|
3486
|
-
const { back, description, error, title, children } = props;
|
|
3487
|
-
return /* @__PURE__ */
|
|
3488
|
-
|
|
3489
|
-
title || description ? /* @__PURE__ */
|
|
3490
|
-
title ? /* @__PURE__ */
|
|
3491
|
-
description ? /* @__PURE__ */
|
|
2782
|
+
const { back, description, error, title, children, toolbar } = props;
|
|
2783
|
+
return /* @__PURE__ */ jsxs28(Fragment11, { children: [
|
|
2784
|
+
/* @__PURE__ */ jsx67(TopBar, { back, toolbar }),
|
|
2785
|
+
title || description ? /* @__PURE__ */ jsxs28("div", { className: "m-b-4", children: [
|
|
2786
|
+
title ? /* @__PURE__ */ jsx67(Title2, { as: "h1", type: "title-section", className: "text-xs-center m-b-2", children: title }) : void 0,
|
|
2787
|
+
description ? /* @__PURE__ */ jsx67("p", { className: "text-xs-center np-text-body-large", children: description }) : void 0
|
|
3492
2788
|
] }) : void 0,
|
|
3493
|
-
error ? /* @__PURE__ */
|
|
2789
|
+
error ? /* @__PURE__ */ jsx67(Alert2, { type: "negative", className: "m-b-2", message: error }) : void 0,
|
|
3494
2790
|
children
|
|
3495
2791
|
] });
|
|
3496
2792
|
}
|
|
3497
2793
|
|
|
3498
2794
|
// ../renderers/src/TabsRenderer.tsx
|
|
3499
2795
|
import { Chips, SegmentedControl as SegmentedControl2, Tabs as Tabs2 } from "@transferwise/components";
|
|
3500
|
-
import { useState as
|
|
3501
|
-
import { jsx as
|
|
2796
|
+
import { useState as useState11 } from "react";
|
|
2797
|
+
import { jsx as jsx68, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
3502
2798
|
var TabsRenderer = {
|
|
3503
2799
|
canRenderType: "tabs",
|
|
3504
2800
|
render: (props) => {
|
|
3505
2801
|
switch (props.control) {
|
|
3506
2802
|
case "segmented":
|
|
3507
2803
|
if (props.tabs.length > 3) {
|
|
3508
|
-
return /* @__PURE__ */
|
|
2804
|
+
return /* @__PURE__ */ jsx68(TabsRendererComponent, __spreadValues({}, props));
|
|
3509
2805
|
}
|
|
3510
|
-
return /* @__PURE__ */
|
|
2806
|
+
return /* @__PURE__ */ jsx68(SegmentedTabsRendererComponent, __spreadValues({}, props));
|
|
3511
2807
|
case "chips":
|
|
3512
|
-
return /* @__PURE__ */
|
|
2808
|
+
return /* @__PURE__ */ jsx68(ChipsTabsRendererComponent, __spreadValues({}, props));
|
|
3513
2809
|
default:
|
|
3514
|
-
return /* @__PURE__ */
|
|
2810
|
+
return /* @__PURE__ */ jsx68(TabsRendererComponent, __spreadValues({}, props));
|
|
3515
2811
|
}
|
|
3516
2812
|
}
|
|
3517
2813
|
};
|
|
3518
2814
|
function TabsRendererComponent({ uid, margin, tabs }) {
|
|
3519
|
-
const [selectedIndex, setSelectedIndex] =
|
|
3520
|
-
return /* @__PURE__ */
|
|
2815
|
+
const [selectedIndex, setSelectedIndex] = useState11(0);
|
|
2816
|
+
return /* @__PURE__ */ jsx68("div", { className: getMargin(margin), children: /* @__PURE__ */ jsx68(
|
|
3521
2817
|
Tabs2,
|
|
3522
2818
|
{
|
|
3523
2819
|
name: uid,
|
|
@@ -3525,7 +2821,7 @@ function TabsRendererComponent({ uid, margin, tabs }) {
|
|
|
3525
2821
|
tabs: tabs.map((option) => ({
|
|
3526
2822
|
title: option.title,
|
|
3527
2823
|
disabled: false,
|
|
3528
|
-
content: /* @__PURE__ */
|
|
2824
|
+
content: /* @__PURE__ */ jsxs29("div", { className: "m-t-2", children: [
|
|
3529
2825
|
" ",
|
|
3530
2826
|
option.children,
|
|
3531
2827
|
" "
|
|
@@ -3537,9 +2833,9 @@ function TabsRendererComponent({ uid, margin, tabs }) {
|
|
|
3537
2833
|
}
|
|
3538
2834
|
function SegmentedTabsRendererComponent({ uid, margin, tabs }) {
|
|
3539
2835
|
var _a;
|
|
3540
|
-
const [selectedIndex, setSelectedIndex] =
|
|
3541
|
-
return /* @__PURE__ */
|
|
3542
|
-
/* @__PURE__ */
|
|
2836
|
+
const [selectedIndex, setSelectedIndex] = useState11(0);
|
|
2837
|
+
return /* @__PURE__ */ jsxs29("div", { className: getMargin(margin), children: [
|
|
2838
|
+
/* @__PURE__ */ jsx68(
|
|
3543
2839
|
SegmentedControl2,
|
|
3544
2840
|
{
|
|
3545
2841
|
name: uid,
|
|
@@ -3554,14 +2850,14 @@ function SegmentedTabsRendererComponent({ uid, margin, tabs }) {
|
|
|
3554
2850
|
onChange: (value) => setSelectedIndex(Number(value))
|
|
3555
2851
|
}
|
|
3556
2852
|
),
|
|
3557
|
-
/* @__PURE__ */
|
|
2853
|
+
/* @__PURE__ */ jsx68("div", { id: `${uid}-children`, className: "m-t-2", children: (_a = tabs[selectedIndex]) == null ? void 0 : _a.children })
|
|
3558
2854
|
] });
|
|
3559
2855
|
}
|
|
3560
2856
|
function ChipsTabsRendererComponent({ margin, tabs }) {
|
|
3561
2857
|
var _a;
|
|
3562
|
-
const [selectedIndex, setSelectedIndex] =
|
|
3563
|
-
return /* @__PURE__ */
|
|
3564
|
-
/* @__PURE__ */
|
|
2858
|
+
const [selectedIndex, setSelectedIndex] = useState11(0);
|
|
2859
|
+
return /* @__PURE__ */ jsxs29("div", { className: getMargin(margin), children: [
|
|
2860
|
+
/* @__PURE__ */ jsx68("div", { className: "chips-container", children: /* @__PURE__ */ jsx68(
|
|
3565
2861
|
Chips,
|
|
3566
2862
|
{
|
|
3567
2863
|
chips: tabs.map((tab, index) => ({ label: tab.title, value: index })),
|
|
@@ -3569,7 +2865,7 @@ function ChipsTabsRendererComponent({ margin, tabs }) {
|
|
|
3569
2865
|
onChange: ({ selectedValue }) => setSelectedIndex(Number(selectedValue))
|
|
3570
2866
|
}
|
|
3571
2867
|
) }),
|
|
3572
|
-
/* @__PURE__ */
|
|
2868
|
+
/* @__PURE__ */ jsx68("div", { className: "m-t-2", children: (_a = tabs[selectedIndex]) == null ? void 0 : _a.children })
|
|
3573
2869
|
] });
|
|
3574
2870
|
}
|
|
3575
2871
|
|
|
@@ -3584,7 +2880,7 @@ import {
|
|
|
3584
2880
|
TextArea,
|
|
3585
2881
|
TextareaWithDisplayFormat
|
|
3586
2882
|
} from "@transferwise/components";
|
|
3587
|
-
import { jsx as
|
|
2883
|
+
import { jsx as jsx69 } from "react/jsx-runtime";
|
|
3588
2884
|
var commonKeys = [
|
|
3589
2885
|
"autoComplete",
|
|
3590
2886
|
"autoCapitalize",
|
|
@@ -3603,12 +2899,12 @@ function VariableTextInput(inputProps) {
|
|
|
3603
2899
|
const commonProps = __spreadProps(__spreadValues({}, pick(inputProps, ...commonKeys)), { name: id });
|
|
3604
2900
|
switch (control) {
|
|
3605
2901
|
case "email":
|
|
3606
|
-
return /* @__PURE__ */
|
|
2902
|
+
return /* @__PURE__ */ jsx69(TextInput, __spreadProps(__spreadValues({}, commonProps), { type: "email", onChange }));
|
|
3607
2903
|
case "password":
|
|
3608
|
-
return /* @__PURE__ */
|
|
2904
|
+
return /* @__PURE__ */ jsx69(TextInput, __spreadProps(__spreadValues({}, commonProps), { type: "password", onChange }));
|
|
3609
2905
|
case "numeric": {
|
|
3610
2906
|
const numericProps = __spreadProps(__spreadValues({}, commonProps), { type: "number", onWheel });
|
|
3611
|
-
return /* @__PURE__ */
|
|
2907
|
+
return /* @__PURE__ */ jsx69(
|
|
3612
2908
|
TextInput,
|
|
3613
2909
|
__spreadProps(__spreadValues({}, numericProps), {
|
|
3614
2910
|
onChange: (newValue) => {
|
|
@@ -3619,9 +2915,9 @@ function VariableTextInput(inputProps) {
|
|
|
3619
2915
|
);
|
|
3620
2916
|
}
|
|
3621
2917
|
case "phone-number":
|
|
3622
|
-
return /* @__PURE__ */
|
|
2918
|
+
return /* @__PURE__ */ jsx69(PhoneNumberInput, __spreadProps(__spreadValues({ initialValue: value }, commonProps), { onChange }));
|
|
3623
2919
|
default: {
|
|
3624
|
-
return /* @__PURE__ */
|
|
2920
|
+
return /* @__PURE__ */ jsx69(TextInput, __spreadProps(__spreadValues({}, commonProps), { type: "text", onChange }));
|
|
3625
2921
|
}
|
|
3626
2922
|
}
|
|
3627
2923
|
}
|
|
@@ -3629,11 +2925,11 @@ function TextInput(props) {
|
|
|
3629
2925
|
const _a = props, { control, displayFormat, onChange } = _a, commonProps = __objRest(_a, ["control", "displayFormat", "onChange"]);
|
|
3630
2926
|
const InputWithPattern = control === "textarea" ? TextareaWithDisplayFormat : InputWithDisplayFormat;
|
|
3631
2927
|
const InputWithoutPattern = control === "textarea" ? TextArea : Input5;
|
|
3632
|
-
return displayFormat ? /* @__PURE__ */
|
|
2928
|
+
return displayFormat ? /* @__PURE__ */ jsx69(InputWithPattern, __spreadProps(__spreadValues({ displayPattern: displayFormat }, commonProps), { onChange })) : /* @__PURE__ */ jsx69(InputWithoutPattern, __spreadProps(__spreadValues({}, commonProps), { onChange: (e) => onChange(e.target.value) }));
|
|
3633
2929
|
}
|
|
3634
2930
|
|
|
3635
2931
|
// ../renderers/src/TextInputRenderer.tsx
|
|
3636
|
-
import { jsx as
|
|
2932
|
+
import { jsx as jsx70 } from "react/jsx-runtime";
|
|
3637
2933
|
var TextInputRenderer = {
|
|
3638
2934
|
canRenderType: "input-text",
|
|
3639
2935
|
render: (props) => {
|
|
@@ -3666,7 +2962,7 @@ var TextInputRenderer = {
|
|
|
3666
2962
|
}
|
|
3667
2963
|
}
|
|
3668
2964
|
});
|
|
3669
|
-
return /* @__PURE__ */
|
|
2965
|
+
return /* @__PURE__ */ jsx70(
|
|
3670
2966
|
FieldInput_default,
|
|
3671
2967
|
{
|
|
3672
2968
|
id,
|
|
@@ -3674,171 +2970,1016 @@ var TextInputRenderer = {
|
|
|
3674
2970
|
description,
|
|
3675
2971
|
validation: validationState,
|
|
3676
2972
|
help,
|
|
3677
|
-
children: /* @__PURE__ */
|
|
2973
|
+
children: /* @__PURE__ */ jsx70(InputGroup3, { addonStart: getInputGroupAddonStart(media), children: /* @__PURE__ */ jsx70(VariableTextInput, __spreadValues({}, inputProps)) })
|
|
3678
2974
|
}
|
|
3679
2975
|
);
|
|
3680
2976
|
}
|
|
3681
2977
|
};
|
|
3682
|
-
var TextInputRenderer_default = TextInputRenderer;
|
|
3683
|
-
|
|
3684
|
-
// ../renderers/src/UploadInputRenderer.tsx
|
|
3685
|
-
import { Upload, UploadInput as UploadInput2 } from "@transferwise/components";
|
|
3686
|
-
|
|
3687
|
-
// ../renderers/src/utils/getRandomId.ts
|
|
3688
|
-
var getRandomId = () => Math.random().toString(36).substring(2);
|
|
2978
|
+
var TextInputRenderer_default = TextInputRenderer;
|
|
2979
|
+
|
|
2980
|
+
// ../renderers/src/UploadInputRenderer.tsx
|
|
2981
|
+
import { Upload, UploadInput as UploadInput2 } from "@transferwise/components";
|
|
2982
|
+
|
|
2983
|
+
// ../renderers/src/utils/getRandomId.ts
|
|
2984
|
+
var getRandomId = () => Math.random().toString(36).substring(2);
|
|
2985
|
+
|
|
2986
|
+
// ../renderers/src/UploadInputRenderer.tsx
|
|
2987
|
+
import { jsx as jsx71 } from "react/jsx-runtime";
|
|
2988
|
+
var UploadInputRenderer = {
|
|
2989
|
+
canRenderType: "input-upload",
|
|
2990
|
+
render: (props) => {
|
|
2991
|
+
const { id, accepts, title, description, disabled, maxSize, validationState, onUpload } = props;
|
|
2992
|
+
const onUploadFile = async (formData) => {
|
|
2993
|
+
const file = formData.get("file");
|
|
2994
|
+
return onUpload(file).then(() => ({
|
|
2995
|
+
id: getRandomId()
|
|
2996
|
+
}));
|
|
2997
|
+
};
|
|
2998
|
+
const onDeleteFile = async () => {
|
|
2999
|
+
await onUpload(null);
|
|
3000
|
+
};
|
|
3001
|
+
return (
|
|
3002
|
+
// We don't pass help here as there is no sensible place to display it
|
|
3003
|
+
/* @__PURE__ */ jsx71(
|
|
3004
|
+
UploadFieldInput_default,
|
|
3005
|
+
{
|
|
3006
|
+
id,
|
|
3007
|
+
label: void 0,
|
|
3008
|
+
description: void 0,
|
|
3009
|
+
validation: validationState,
|
|
3010
|
+
children: /* @__PURE__ */ jsx71(
|
|
3011
|
+
UploadInput2,
|
|
3012
|
+
{
|
|
3013
|
+
id,
|
|
3014
|
+
description,
|
|
3015
|
+
disabled,
|
|
3016
|
+
sizeLimit: getSizeLimit(maxSize),
|
|
3017
|
+
fileTypes: acceptsToFileTypes(accepts),
|
|
3018
|
+
uploadButtonTitle: title,
|
|
3019
|
+
onDeleteFile,
|
|
3020
|
+
onUploadFile
|
|
3021
|
+
}
|
|
3022
|
+
)
|
|
3023
|
+
}
|
|
3024
|
+
)
|
|
3025
|
+
);
|
|
3026
|
+
}
|
|
3027
|
+
};
|
|
3028
|
+
var LargeUploadRenderer = {
|
|
3029
|
+
canRenderType: "input-upload",
|
|
3030
|
+
canRender: (props) => props.control === "upload-large",
|
|
3031
|
+
render: (props) => {
|
|
3032
|
+
const _a = props, {
|
|
3033
|
+
id,
|
|
3034
|
+
accepts,
|
|
3035
|
+
control,
|
|
3036
|
+
title,
|
|
3037
|
+
description,
|
|
3038
|
+
disabled,
|
|
3039
|
+
help,
|
|
3040
|
+
type,
|
|
3041
|
+
validationState,
|
|
3042
|
+
maxSize = null,
|
|
3043
|
+
onUpload
|
|
3044
|
+
} = _a, rest = __objRest(_a, [
|
|
3045
|
+
"id",
|
|
3046
|
+
"accepts",
|
|
3047
|
+
"control",
|
|
3048
|
+
"title",
|
|
3049
|
+
"description",
|
|
3050
|
+
"disabled",
|
|
3051
|
+
"help",
|
|
3052
|
+
"type",
|
|
3053
|
+
"validationState",
|
|
3054
|
+
"maxSize",
|
|
3055
|
+
"onUpload"
|
|
3056
|
+
]);
|
|
3057
|
+
const uploadProps = __spreadProps(__spreadValues({}, rest), { id, name: id, maxSize });
|
|
3058
|
+
const onUploadFile = async (file, fileName) => {
|
|
3059
|
+
try {
|
|
3060
|
+
const convertedFile = file ? await toFile(file, fileName) : null;
|
|
3061
|
+
await onUpload(convertedFile);
|
|
3062
|
+
} catch (e) {
|
|
3063
|
+
await onUpload(null);
|
|
3064
|
+
throw e;
|
|
3065
|
+
}
|
|
3066
|
+
};
|
|
3067
|
+
const filetypes = acceptsToFileTypes(accepts);
|
|
3068
|
+
const usAccept = filetypes === "*" ? "*" : filetypes.join(",");
|
|
3069
|
+
return /* @__PURE__ */ jsx71(
|
|
3070
|
+
FieldInput_default,
|
|
3071
|
+
{
|
|
3072
|
+
id,
|
|
3073
|
+
label: title,
|
|
3074
|
+
description,
|
|
3075
|
+
validation: validationState,
|
|
3076
|
+
help,
|
|
3077
|
+
children: /* @__PURE__ */ jsx71(
|
|
3078
|
+
Upload,
|
|
3079
|
+
__spreadProps(__spreadValues({}, uploadProps), {
|
|
3080
|
+
usAccept,
|
|
3081
|
+
usDisabled: disabled,
|
|
3082
|
+
onSuccess: onUploadFile,
|
|
3083
|
+
onFailure: async () => onUpload(null),
|
|
3084
|
+
onCancel: async () => onUpload(null)
|
|
3085
|
+
})
|
|
3086
|
+
)
|
|
3087
|
+
}
|
|
3088
|
+
);
|
|
3089
|
+
}
|
|
3090
|
+
};
|
|
3091
|
+
|
|
3092
|
+
// ../renderers/src/getWiseRenderers.ts
|
|
3093
|
+
var getWiseRenderers = () => [
|
|
3094
|
+
AddressValidationButtonRenderer_default,
|
|
3095
|
+
AlertRenderer_default,
|
|
3096
|
+
CheckboxInputRenderer_default,
|
|
3097
|
+
BoxRenderer_default,
|
|
3098
|
+
ButtonRenderer_default,
|
|
3099
|
+
ColumnsRenderer_default,
|
|
3100
|
+
DateInputRenderer_default,
|
|
3101
|
+
DecisionRenderer_default,
|
|
3102
|
+
DividerRenderer_default,
|
|
3103
|
+
ExternalConfirmationRenderer_default,
|
|
3104
|
+
FormRenderer_default,
|
|
3105
|
+
FormSectionRenderer_default,
|
|
3106
|
+
HeadingRenderer_default,
|
|
3107
|
+
ImageRenderer_default,
|
|
3108
|
+
InstructionsRenderer_default,
|
|
3109
|
+
IntegerInputRenderer_default,
|
|
3110
|
+
LargeUploadRenderer,
|
|
3111
|
+
ListRenderer_default,
|
|
3112
|
+
LoadingIndicatorRenderer_default,
|
|
3113
|
+
MarkdownRenderer_default,
|
|
3114
|
+
ModalRenderer,
|
|
3115
|
+
ModalLayoutRenderer_default,
|
|
3116
|
+
MultiSelectInputRenderer_default,
|
|
3117
|
+
MultiUploadInputRenderer_default,
|
|
3118
|
+
NumberInputRenderer_default,
|
|
3119
|
+
ParagraphRenderer_default,
|
|
3120
|
+
RepeatableRenderer_default,
|
|
3121
|
+
ReviewRenderer_default,
|
|
3122
|
+
SearchRenderer_default,
|
|
3123
|
+
SelectInputRenderer_default,
|
|
3124
|
+
SectionRenderer_default,
|
|
3125
|
+
StatusListRenderer_default,
|
|
3126
|
+
TabsRenderer,
|
|
3127
|
+
TextInputRenderer_default,
|
|
3128
|
+
UploadInputRenderer,
|
|
3129
|
+
SplashStepRenderer,
|
|
3130
|
+
SplashCelebrationStepRenderer,
|
|
3131
|
+
StepRenderer
|
|
3132
|
+
];
|
|
3133
|
+
|
|
3134
|
+
// ../renderers/src/factories/createReviewRenderer.ts
|
|
3135
|
+
function createReviewRenderer(extensions = {}) {
|
|
3136
|
+
return __spreadProps(__spreadValues({}, ReviewRenderer_default), {
|
|
3137
|
+
extensions: __spreadValues(__spreadValues({}, ReviewRenderer_default.extensions), extensions)
|
|
3138
|
+
});
|
|
3139
|
+
}
|
|
3140
|
+
|
|
3141
|
+
// src/index.ts
|
|
3142
|
+
import { findRendererPropsByType, isValidSchema, JsonSchemaForm } from "@wise/dynamic-flow-client";
|
|
3143
|
+
|
|
3144
|
+
// src/i18n/index.ts
|
|
3145
|
+
import { translations as coreTranslations } from "@wise/dynamic-flow-client";
|
|
3146
|
+
|
|
3147
|
+
// src/i18n/cs.json
|
|
3148
|
+
var cs_default = {
|
|
3149
|
+
"df.wise.ArraySchema.addItem": "Ulo\u017Eit",
|
|
3150
|
+
"df.wise.ArraySchema.addItemTitle": "P\u0159idat polo\u017Eku",
|
|
3151
|
+
"df.wise.ArraySchema.editItem": "Ulo\u017Eit",
|
|
3152
|
+
"df.wise.ArraySchema.maxItemsError": "P\u0159idejte {maxItems} nebo m\xE9n\u011B.",
|
|
3153
|
+
"df.wise.ArraySchema.minItemsError": "P\u0159idejte alespo\u0148 {minItems}.",
|
|
3154
|
+
"df.wise.ArraySchema.removeItem": "Odebrat",
|
|
3155
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "M\u016F\u017Ee to trvat p\xE1r sekund",
|
|
3156
|
+
"df.wise.ControlFeedback.maxLength": "Zadejte {maxLength} nebo m\xE9n\u011B znak\u016F.",
|
|
3157
|
+
"df.wise.ControlFeedback.maximum": "Zadejte \u010D\xEDslo, kter\xE9 je {maximum} nebo men\u0161\xED.",
|
|
3158
|
+
"df.wise.ControlFeedback.maximumDate": "Zadejte datum, kter\xE9 je {maximum} nebo p\u0159edt\xEDm.",
|
|
3159
|
+
"df.wise.ControlFeedback.minLength": "Zadejte alespo\u0148 n\xE1sleduj\xEDc\xED po\u010Det znak\u016F: {minLength}.",
|
|
3160
|
+
"df.wise.ControlFeedback.minimum": "Zadejte \u010D\xEDslo, kter\xE9 je {minimum} nebo vy\u0161\u0161\xED.",
|
|
3161
|
+
"df.wise.ControlFeedback.minimumDate": "Zadejte datum, kter\xE9 je {minimum} nebo potom.",
|
|
3162
|
+
"df.wise.ControlFeedback.pattern": "Zadejte to pros\xEDm ve spr\xE1vn\xE9m form\xE1tu.",
|
|
3163
|
+
"df.wise.ControlFeedback.patternDate": "Zadejte pros\xEDm datum ve spr\xE1vn\xE9m form\xE1tu.",
|
|
3164
|
+
"df.wise.ControlFeedback.required": "Vypl\u0148te pros\xEDm toto pole.",
|
|
3165
|
+
"df.wise.ControlFeedback.type": "Nespr\xE1vn\xFD typ",
|
|
3166
|
+
"df.wise.CopyFeedback.copy": "Zkop\xEDrov\xE1no do schr\xE1nky",
|
|
3167
|
+
"df.wise.CopyFeedback.copyFailed": "Kop\xEDrov\xE1n\xED do schr\xE1nky se nezda\u0159ilo",
|
|
3168
|
+
"df.wise.Decision.all": "V\u0161e",
|
|
3169
|
+
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
3170
|
+
"df.wise.Decision.noResults": "\u017D\xE1dn\xE9 v\xFDsledky",
|
|
3171
|
+
"df.wise.Decision.popular": "Popul\xE1rn\xED",
|
|
3172
|
+
"df.wise.Decision.recent": "Ned\xE1vn\xE9",
|
|
3173
|
+
"df.wise.Decision.results": "V\xFDsledky hled\xE1n\xED",
|
|
3174
|
+
"df.wise.DynamicParagraph.copied": "Zkop\xEDrov\xE1no do schr\xE1nky",
|
|
3175
|
+
"df.wise.DynamicParagraph.copy": "Kop\xEDrovat",
|
|
3176
|
+
"df.wise.ErrorBoundary.errorAlert": "N\u011Bco se pokazilo.",
|
|
3177
|
+
"df.wise.ErrorBoundary.retry": "Zkusit znovu",
|
|
3178
|
+
"df.wise.ExternalConfirmation.cancel": "Zru\u0161it",
|
|
3179
|
+
"df.wise.ExternalConfirmation.description": "Potvr\u010Fte, \u017Ee chcete otev\u0159\xEDt **{origin}** v nov\xE9 kart\u011B prohl\xED\u017Ee\u010De.",
|
|
3180
|
+
"df.wise.ExternalConfirmation.open": "Otev\u0159\xEDt v nov\xE9 kart\u011B",
|
|
3181
|
+
"df.wise.ExternalConfirmation.title": "Potvr\u010Fte",
|
|
3182
|
+
"df.wise.Help.ariaLabel": "Pro v\xEDce informac\xED klikn\u011Bte sem.",
|
|
3183
|
+
"df.wise.MultiSelect.summary": "{first} a {count} dal\u0161\xED(ch)",
|
|
3184
|
+
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "Je n\xE1m l\xEDto, ale tento soubor je p\u0159\xEDli\u0161 velk\xFD. Nahrajte pros\xEDm men\u0161\xED soubor.",
|
|
3185
|
+
"df.wise.MultipleFileUploadSchema.maxItemsError": "Nahrajte {maxItems} nebo m\xE9n\u011B soubor\u016F.",
|
|
3186
|
+
"df.wise.MultipleFileUploadSchema.minItemsError": "Nahrajte pros\xEDm alespo\u0148 n\xE1sleduj\xEDc\xED po\u010Det soubor\u016F: {minItems}.",
|
|
3187
|
+
"df.wise.PersistAsyncSchema.genericError": "N\u011Bco se pokazilo. Zkuste to pros\xEDm znovu.",
|
|
3188
|
+
"df.wise.SearchLayout.loading": "Na\u010D\xEDt\xE1n\xED..."
|
|
3189
|
+
};
|
|
3190
|
+
|
|
3191
|
+
// src/i18n/de.json
|
|
3192
|
+
var de_default = {
|
|
3193
|
+
"df.wise.ArraySchema.addItem": "Speichern",
|
|
3194
|
+
"df.wise.ArraySchema.addItemTitle": "Artikel hinzuf\xFCgen",
|
|
3195
|
+
"df.wise.ArraySchema.editItem": "Speichern",
|
|
3196
|
+
"df.wise.ArraySchema.maxItemsError": "Bitte f\xFCge {maxItems} oder weniger hinzu.",
|
|
3197
|
+
"df.wise.ArraySchema.minItemsError": "Bitte f\xFCge mindestens {minItems} hinzu.",
|
|
3198
|
+
"df.wise.ArraySchema.removeItem": "Entfernen",
|
|
3199
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "Dies kann ein paar Sekunden dauern",
|
|
3200
|
+
"df.wise.ControlFeedback.maxLength": "Bitte gib nicht mehr als {maxLength} Zeichen ein.",
|
|
3201
|
+
"df.wise.ControlFeedback.maximum": "Bitte gib eine Zahl ein, die {maximum} oder weniger betr\xE4gt.",
|
|
3202
|
+
"df.wise.ControlFeedback.maximumDate": "Bitte gib ein Datum ein, das am oder vor dem {maximum} liegt.",
|
|
3203
|
+
"df.wise.ControlFeedback.minLength": "Bitte gib mindestens {minLength} Zeichen ein.",
|
|
3204
|
+
"df.wise.ControlFeedback.minimum": "Bitte gib eine Zahl ein, die {minimum} oder mehr betr\xE4gt.",
|
|
3205
|
+
"df.wise.ControlFeedback.minimumDate": "Bitte gib ein Datum ein, das am oder nach dem {minimum} liegt.",
|
|
3206
|
+
"df.wise.ControlFeedback.pattern": "Bitte gib die Angabe im richtigen Format ein.",
|
|
3207
|
+
"df.wise.ControlFeedback.patternDate": "Bitte gib ein Datum im richtigen Format ein.",
|
|
3208
|
+
"df.wise.ControlFeedback.required": "Bitte f\xFClle dieses Feld aus.",
|
|
3209
|
+
"df.wise.ControlFeedback.type": "Falscher Typ",
|
|
3210
|
+
"df.wise.CopyFeedback.copy": "In Zwischenablage kopiert",
|
|
3211
|
+
"df.wise.CopyFeedback.copyFailed": "Kopieren in Zwischenablage fehlgeschlagen",
|
|
3212
|
+
"df.wise.Decision.all": "Alle",
|
|
3213
|
+
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
3214
|
+
"df.wise.Decision.noResults": "Keine Ergebnisse",
|
|
3215
|
+
"df.wise.Decision.popular": "Beliebt",
|
|
3216
|
+
"df.wise.Decision.recent": "Neu",
|
|
3217
|
+
"df.wise.Decision.results": "Suchergebnisse",
|
|
3218
|
+
"df.wise.DynamicParagraph.copied": "In Zwischenablage kopiert",
|
|
3219
|
+
"df.wise.DynamicParagraph.copy": "Kopieren",
|
|
3220
|
+
"df.wise.ErrorBoundary.errorAlert": "Da ist etwas schiefgegangen.",
|
|
3221
|
+
"df.wise.ErrorBoundary.retry": "Erneut versuchen",
|
|
3222
|
+
"df.wise.ExternalConfirmation.cancel": "Abbrechen",
|
|
3223
|
+
"df.wise.ExternalConfirmation.description": "Bitte best\xE4tige, dass du **{origin}** in einem neuen Browser-Tab \xF6ffnen m\xF6chtest.",
|
|
3224
|
+
"df.wise.ExternalConfirmation.open": "In neuem Tab \xF6ffnen",
|
|
3225
|
+
"df.wise.ExternalConfirmation.title": "Bitte best\xE4tigen",
|
|
3226
|
+
"df.wise.Help.ariaLabel": "Klicke hier f\xFCr mehr Informationen.",
|
|
3227
|
+
"df.wise.MultiSelect.summary": "{first} und {count} weitere",
|
|
3228
|
+
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "Diese Datei ist leider zu gro\xDF. Bitte lade eine kleinere Datei hoch.",
|
|
3229
|
+
"df.wise.MultipleFileUploadSchema.maxItemsError": "Bitte lade {maxItems} oder weniger Dateien hoch.",
|
|
3230
|
+
"df.wise.MultipleFileUploadSchema.minItemsError": "Bitte lade mindestens {minItems} Datei(en) hoch.",
|
|
3231
|
+
"df.wise.PersistAsyncSchema.genericError": "Da ist etwas schiefgegangen. Versuche es bitte nochmal.",
|
|
3232
|
+
"df.wise.SearchLayout.loading": "L\xE4dt..."
|
|
3233
|
+
};
|
|
3234
|
+
|
|
3235
|
+
// src/i18n/en.json
|
|
3236
|
+
var en_default = {
|
|
3237
|
+
"df.wise.ArraySchema.addItem": "Save",
|
|
3238
|
+
"df.wise.ArraySchema.addItemTitle": "Add Item",
|
|
3239
|
+
"df.wise.ArraySchema.editItem": "Save",
|
|
3240
|
+
"df.wise.ArraySchema.maxItemsError": "Please add {maxItems} or fewer.",
|
|
3241
|
+
"df.wise.ArraySchema.minItemsError": "Please add at least {minItems}.",
|
|
3242
|
+
"df.wise.ArraySchema.removeItem": "Remove",
|
|
3243
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
|
|
3244
|
+
"df.wise.ControlFeedback.maxLength": "Please enter {maxLength} or fewer characters.",
|
|
3245
|
+
"df.wise.ControlFeedback.maximum": "Please enter a number that's {maximum} or less.",
|
|
3246
|
+
"df.wise.ControlFeedback.maximumDate": "Please enter a date that's on or before {maximum}.",
|
|
3247
|
+
"df.wise.ControlFeedback.minLength": "Please enter at least {minLength} characters.",
|
|
3248
|
+
"df.wise.ControlFeedback.minimum": "Please enter a number that's {minimum} or more.",
|
|
3249
|
+
"df.wise.ControlFeedback.minimumDate": "Please enter a date that's on or after {minimum}.",
|
|
3250
|
+
"df.wise.ControlFeedback.pattern": "Please enter this in the correct format.",
|
|
3251
|
+
"df.wise.ControlFeedback.patternDate": "Please enter a date in the corrrect format.",
|
|
3252
|
+
"df.wise.ControlFeedback.required": "Please fill out this field.",
|
|
3253
|
+
"df.wise.ControlFeedback.type": "Incorrect type",
|
|
3254
|
+
"df.wise.CopyFeedback.copy": "Copied to clipboard",
|
|
3255
|
+
"df.wise.CopyFeedback.copyFailed": "Failed to copy to clipboard",
|
|
3256
|
+
"df.wise.Decision.all": "All",
|
|
3257
|
+
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
3258
|
+
"df.wise.Decision.noResults": "No results",
|
|
3259
|
+
"df.wise.Decision.popular": "Popular",
|
|
3260
|
+
"df.wise.Decision.recent": "Recent",
|
|
3261
|
+
"df.wise.Decision.results": "Search results",
|
|
3262
|
+
"df.wise.DynamicParagraph.copied": "Copied to clipboard",
|
|
3263
|
+
"df.wise.DynamicParagraph.copy": "Copy",
|
|
3264
|
+
"df.wise.ErrorBoundary.errorAlert": "Something went wrong.",
|
|
3265
|
+
"df.wise.ErrorBoundary.retry": "Retry",
|
|
3266
|
+
"df.wise.ExternalConfirmation.cancel": "Cancel",
|
|
3267
|
+
"df.wise.ExternalConfirmation.description": "Please confirm you want to open **{origin}** in a new browser tab.",
|
|
3268
|
+
"df.wise.ExternalConfirmation.open": "Open in new tab",
|
|
3269
|
+
"df.wise.ExternalConfirmation.title": "Please confirm",
|
|
3270
|
+
"df.wise.Help.ariaLabel": "Click here for more info.",
|
|
3271
|
+
"df.wise.MultiSelect.summary": "{first} and {count} more",
|
|
3272
|
+
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "Sorry, that file is too big. Please upload a smaller file.",
|
|
3273
|
+
"df.wise.MultipleFileUploadSchema.maxItemsError": "Please upload {maxItems} or fewer files.",
|
|
3274
|
+
"df.wise.MultipleFileUploadSchema.minItemsError": "Please upload at least {minItems} file(s).",
|
|
3275
|
+
"df.wise.PersistAsyncSchema.genericError": "Something went wrong, please try again.",
|
|
3276
|
+
"df.wise.SearchLayout.loading": "Loading..."
|
|
3277
|
+
};
|
|
3278
|
+
|
|
3279
|
+
// src/i18n/es.json
|
|
3280
|
+
var es_default = {
|
|
3281
|
+
"df.wise.ArraySchema.addItem": "Guardar",
|
|
3282
|
+
"df.wise.ArraySchema.addItemTitle": "A\xF1adir elemento",
|
|
3283
|
+
"df.wise.ArraySchema.editItem": "Guardar",
|
|
3284
|
+
"df.wise.ArraySchema.maxItemsError": "A\xF1ade {maxItems} o menos.",
|
|
3285
|
+
"df.wise.ArraySchema.minItemsError": "A\xF1ade al menos {minItems}.",
|
|
3286
|
+
"df.wise.ArraySchema.removeItem": "Eliminar",
|
|
3287
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "Esto puede tardar unos segundos",
|
|
3288
|
+
"df.wise.ControlFeedback.maxLength": "Introduce {maxLength} caracteres o menos.",
|
|
3289
|
+
"df.wise.ControlFeedback.maximum": "Introduce una cifra igual o inferior a {maximum}.",
|
|
3290
|
+
"df.wise.ControlFeedback.maximumDate": "Introduce una fecha que sea igual o anterior al {maximum}.",
|
|
3291
|
+
"df.wise.ControlFeedback.minLength": "Introduce al menos {minLength} caracteres.",
|
|
3292
|
+
"df.wise.ControlFeedback.minimum": "Introduce una cifra igual o inferior a {minimum}.",
|
|
3293
|
+
"df.wise.ControlFeedback.minimumDate": "Introduce una fecha que sea igual o posterior al {minimum}.",
|
|
3294
|
+
"df.wise.ControlFeedback.pattern": "Utiliza el formato correcto.",
|
|
3295
|
+
"df.wise.ControlFeedback.patternDate": "Introduce la fecha en un formato correcto.",
|
|
3296
|
+
"df.wise.ControlFeedback.required": "Completa este campo.",
|
|
3297
|
+
"df.wise.ControlFeedback.type": "Tipo incorrecto",
|
|
3298
|
+
"df.wise.CopyFeedback.copy": "Copiado al portapapeles",
|
|
3299
|
+
"df.wise.CopyFeedback.copyFailed": "Error al copiar al portapapeles",
|
|
3300
|
+
"df.wise.Decision.all": "Todas",
|
|
3301
|
+
"df.wise.Decision.filterPlaceholder": "Empieza a escribir para buscar",
|
|
3302
|
+
"df.wise.Decision.noResults": "No hay resultados",
|
|
3303
|
+
"df.wise.Decision.popular": "Populares",
|
|
3304
|
+
"df.wise.Decision.recent": "Recientes",
|
|
3305
|
+
"df.wise.Decision.results": "Resultados de b\xFAsqueda",
|
|
3306
|
+
"df.wise.DynamicParagraph.copied": "Copiado al portapapeles",
|
|
3307
|
+
"df.wise.DynamicParagraph.copy": "Copiar",
|
|
3308
|
+
"df.wise.ErrorBoundary.errorAlert": "Ha habido un error.",
|
|
3309
|
+
"df.wise.ErrorBoundary.retry": "Reintentar",
|
|
3310
|
+
"df.wise.ExternalConfirmation.cancel": "Cancelar",
|
|
3311
|
+
"df.wise.ExternalConfirmation.description": "Confirma que quieres abrir **{origin}** en una nueva pesta\xF1a del navegador.",
|
|
3312
|
+
"df.wise.ExternalConfirmation.open": "Abrir en nueva pesta\xF1a",
|
|
3313
|
+
"df.wise.ExternalConfirmation.title": "Por favor, confirma",
|
|
3314
|
+
"df.wise.Help.ariaLabel": "Haz clic aqu\xED para obtener m\xE1s informaci\xF3n.",
|
|
3315
|
+
"df.wise.MultiSelect.summary": "{first} y {count} m\xE1s",
|
|
3316
|
+
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "Lo sentimos, el archivo pesa demasiado. Sube uno m\xE1s peque\xF1o.",
|
|
3317
|
+
"df.wise.MultipleFileUploadSchema.maxItemsError": "Sube {maxItems} o menos archivos.",
|
|
3318
|
+
"df.wise.MultipleFileUploadSchema.minItemsError": "Sube al menos {minItems} archivo(s).",
|
|
3319
|
+
"df.wise.PersistAsyncSchema.genericError": "Ha habido un error. Int\xE9ntalo de nuevo.",
|
|
3320
|
+
"df.wise.SearchLayout.loading": "Cargando..."
|
|
3321
|
+
};
|
|
3322
|
+
|
|
3323
|
+
// src/i18n/fr.json
|
|
3324
|
+
var fr_default = {
|
|
3325
|
+
"df.wise.ArraySchema.addItem": "Enregistrer",
|
|
3326
|
+
"df.wise.ArraySchema.addItemTitle": "Ajouter un \xE9l\xE9ment",
|
|
3327
|
+
"df.wise.ArraySchema.editItem": "Enregistrer",
|
|
3328
|
+
"df.wise.ArraySchema.maxItemsError": "Veuillez ajouter {maxItems} ou moins.",
|
|
3329
|
+
"df.wise.ArraySchema.minItemsError": "Veuillez ajouter au moins {minItems}.",
|
|
3330
|
+
"df.wise.ArraySchema.removeItem": "Supprimer",
|
|
3331
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "Patientez quelques secondes",
|
|
3332
|
+
"df.wise.ControlFeedback.maxLength": "Veuillez saisir {maxLength} caract\xE8res ou moins.",
|
|
3333
|
+
"df.wise.ControlFeedback.maximum": "Veuillez saisir un nombre inf\xE9rieur ou \xE9gal \xE0 {maximum}.",
|
|
3334
|
+
"df.wise.ControlFeedback.maximumDate": "Veuillez saisir une date \xE9gale ou ant\xE9rieure au {maximum}.",
|
|
3335
|
+
"df.wise.ControlFeedback.minLength": "Veuillez saisir au moins {minLength} caract\xE8res.",
|
|
3336
|
+
"df.wise.ControlFeedback.minimum": "Veuillez saisir un nombre sup\xE9rieur ou \xE9gal \xE0 {minimum}.",
|
|
3337
|
+
"df.wise.ControlFeedback.minimumDate": "Veuillez saisir une date \xE9gale ou post\xE9rieure au {minimum}.",
|
|
3338
|
+
"df.wise.ControlFeedback.pattern": "Veuillez saisir les informations dans le bon format.",
|
|
3339
|
+
"df.wise.ControlFeedback.patternDate": "Veuillez saisir une date au format correct.",
|
|
3340
|
+
"df.wise.ControlFeedback.required": "Champ obligatoire.",
|
|
3341
|
+
"df.wise.ControlFeedback.type": "Type incorrect",
|
|
3342
|
+
"df.wise.CopyFeedback.copy": "Copi\xE9 dans le presse-papier",
|
|
3343
|
+
"df.wise.CopyFeedback.copyFailed": "Impossible de copier dans le presse-papier",
|
|
3344
|
+
"df.wise.Decision.all": "Toutes",
|
|
3345
|
+
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
3346
|
+
"df.wise.Decision.noResults": "Aucun r\xE9sultat",
|
|
3347
|
+
"df.wise.Decision.popular": "Populaires",
|
|
3348
|
+
"df.wise.Decision.recent": "R\xE9cents",
|
|
3349
|
+
"df.wise.Decision.results": "R\xE9sultats de recherche",
|
|
3350
|
+
"df.wise.DynamicParagraph.copied": "Copi\xE9 dans le presse-papier",
|
|
3351
|
+
"df.wise.DynamicParagraph.copy": "Copier",
|
|
3352
|
+
"df.wise.ErrorBoundary.errorAlert": "Une erreur s'est produite.",
|
|
3353
|
+
"df.wise.ErrorBoundary.retry": "R\xE9essayer",
|
|
3354
|
+
"df.wise.ExternalConfirmation.cancel": "Annuler",
|
|
3355
|
+
"df.wise.ExternalConfirmation.description": "Veuillez confirmer que vous souhaitez ouvrir **{origin}** dans un nouvel onglet.",
|
|
3356
|
+
"df.wise.ExternalConfirmation.open": "Ouvrir dans un nouvel onglet",
|
|
3357
|
+
"df.wise.ExternalConfirmation.title": "Veuillez confirmer",
|
|
3358
|
+
"df.wise.Help.ariaLabel": "Cliquez ici pour plus d'informations.",
|
|
3359
|
+
"df.wise.MultiSelect.summary": "{first} et {count} de plus",
|
|
3360
|
+
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "Nous sommes d\xE9sol\xE9s, ce fichier est trop volumineux. Veuillez t\xE9l\xE9charger un fichier plus petit.",
|
|
3361
|
+
"df.wise.MultipleFileUploadSchema.maxItemsError": "Veuillez t\xE9l\xE9charger {maxItems} fichiers ou moins.",
|
|
3362
|
+
"df.wise.MultipleFileUploadSchema.minItemsError": "Veuillez t\xE9l\xE9charger au moins {minItems} fichier(s).",
|
|
3363
|
+
"df.wise.PersistAsyncSchema.genericError": "Une erreur s'est produite, veuillez r\xE9essayer.",
|
|
3364
|
+
"df.wise.SearchLayout.loading": "Chargement..."
|
|
3365
|
+
};
|
|
3366
|
+
|
|
3367
|
+
// src/i18n/hu.json
|
|
3368
|
+
var hu_default = {
|
|
3369
|
+
"df.wise.ArraySchema.addItem": "Ment\xE9s",
|
|
3370
|
+
"df.wise.ArraySchema.addItemTitle": "Elem hozz\xE1ad\xE1sa",
|
|
3371
|
+
"df.wise.ArraySchema.editItem": "Ment\xE9s",
|
|
3372
|
+
"df.wise.ArraySchema.maxItemsError": "K\xE9r\xFCnk, {maxItems} vagy ann\xE1l kevesebb t\xE9telt adj meg.",
|
|
3373
|
+
"df.wise.ArraySchema.minItemsError": "K\xE9r\xFCnk, legal\xE1bb {minItems} t\xE9telt adj meg.",
|
|
3374
|
+
"df.wise.ArraySchema.removeItem": "Elt\xE1vol\xEDt\xE1s",
|
|
3375
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "Ez eltarthat n\xE9h\xE1ny m\xE1sodpercig",
|
|
3376
|
+
"df.wise.ControlFeedback.maxLength": "K\xE9r\xFCnk, legfeljebb {maxLength} karaktert adj meg.",
|
|
3377
|
+
"df.wise.ControlFeedback.maximum": "K\xE9r\xFCnk, add meg ezt vagy egy enn\xE9l kisebb sz\xE1mot: {maximum}.",
|
|
3378
|
+
"df.wise.ControlFeedback.maximumDate": "K\xE9r\xFCnk, adj meg egy d\xE1tumot, ami megegyezik {maximum} napj\xE1val, vagy egy enn\xE9l kor\xE1bbit.",
|
|
3379
|
+
"df.wise.ControlFeedback.minLength": "K\xE9r\xFCnk, legal\xE1bb {minLength} karaktert adj meg.",
|
|
3380
|
+
"df.wise.ControlFeedback.minimum": "K\xE9r\xFCnk add meg ezt vagy egy enn\xE9l nagyobb sz\xE1mot: {minimum}.",
|
|
3381
|
+
"df.wise.ControlFeedback.minimumDate": "K\xE9r\xFCnk, adj meg egy d\xE1tumot, ami megegyezik {minimum} napj\xE1val, vagy egy enn\xE9l k\xE9s\u0151bbit.",
|
|
3382
|
+
"df.wise.ControlFeedback.pattern": "Helytelen form\xE1tum",
|
|
3383
|
+
"df.wise.ControlFeedback.patternDate": "K\xE9r\xFCnk, hogy a d\xE1tumot helyes form\xE1tumban add meg.",
|
|
3384
|
+
"df.wise.ControlFeedback.required": "K\xE9r\xFCnk, t\xF6ltsd ki ezt a mez\u0151t.",
|
|
3385
|
+
"df.wise.ControlFeedback.type": "Helytelen t\xEDpus",
|
|
3386
|
+
"df.wise.CopyFeedback.copy": "V\xE1g\xF3lapra m\xE1solva",
|
|
3387
|
+
"df.wise.CopyFeedback.copyFailed": "Nem siker\xFClt a v\xE1g\xF3lapra m\xE1solni",
|
|
3388
|
+
"df.wise.Decision.all": "\xD6sszes",
|
|
3389
|
+
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
3390
|
+
"df.wise.Decision.noResults": "Nincs tal\xE1lat",
|
|
3391
|
+
"df.wise.Decision.popular": "N\xE9pszer\u0171",
|
|
3392
|
+
"df.wise.Decision.recent": "Legut\xF3bbi",
|
|
3393
|
+
"df.wise.Decision.results": "Keres\xE9si eredm\xE9nyek",
|
|
3394
|
+
"df.wise.DynamicParagraph.copied": "V\xE1g\xF3lapra m\xE1solva",
|
|
3395
|
+
"df.wise.DynamicParagraph.copy": "M\xE1sol\xE1s",
|
|
3396
|
+
"df.wise.ErrorBoundary.errorAlert": "Valami hiba t\xF6rt\xE9nt.",
|
|
3397
|
+
"df.wise.ErrorBoundary.retry": "\xDAjra",
|
|
3398
|
+
"df.wise.ExternalConfirmation.cancel": "M\xE9gsem",
|
|
3399
|
+
"df.wise.ExternalConfirmation.description": "K\xE9r\xFCnk, er\u0151s\xEDtsd meg, hogy a(z) **{origin}** alkalmaz\xE1st egy \xFAj b\xF6ng\xE9sz\u0151lapon szeretn\xE9d megnyitni.",
|
|
3400
|
+
"df.wise.ExternalConfirmation.open": "Megnyit\xE1s \xFAj lapon",
|
|
3401
|
+
"df.wise.ExternalConfirmation.title": "Meger\u0151s\xEDt\xE9s",
|
|
3402
|
+
"df.wise.Help.ariaLabel": "Kattints ide tov\xE1bbi inform\xE1ci\xF3\xE9rt.",
|
|
3403
|
+
"df.wise.MultiSelect.summary": "{first} \xE9s tov\xE1bbi {count}",
|
|
3404
|
+
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "Sajnos ez a f\xE1jl t\xFAl nagy. K\xE9r\xFCnk, t\xF6lts fel egy kisebb f\xE1jlt.",
|
|
3405
|
+
"df.wise.MultipleFileUploadSchema.maxItemsError": "K\xE9r\xFCnk, hogy legfeljebb {maxItems} f\xE1jlt t\xF6lts fel.",
|
|
3406
|
+
"df.wise.MultipleFileUploadSchema.minItemsError": "K\xE9r\xFCnk, hogy legal\xE1bb {minItems} f\xE1jlt t\xF6lts fel.",
|
|
3407
|
+
"df.wise.PersistAsyncSchema.genericError": "Valami hiba t\xF6rt\xE9nt. K\xE9r\xFCnk, pr\xF3b\xE1ld \xFAjra.",
|
|
3408
|
+
"df.wise.SearchLayout.loading": "Bet\xF6lt\xE9s..."
|
|
3409
|
+
};
|
|
3410
|
+
|
|
3411
|
+
// src/i18n/id.json
|
|
3412
|
+
var id_default = {
|
|
3413
|
+
"df.wise.ArraySchema.addItem": "Simpan",
|
|
3414
|
+
"df.wise.ArraySchema.addItemTitle": "Tambahkan Item",
|
|
3415
|
+
"df.wise.ArraySchema.editItem": "Simpan",
|
|
3416
|
+
"df.wise.ArraySchema.maxItemsError": "Harap tambahkan {maxItems} atau kurang.",
|
|
3417
|
+
"df.wise.ArraySchema.minItemsError": "Harap tambahkan setidaknya {minItems}.",
|
|
3418
|
+
"df.wise.ArraySchema.removeItem": "Hapus",
|
|
3419
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
|
|
3420
|
+
"df.wise.ControlFeedback.maxLength": "Harap masukkan {maxLength} karakter atau kurang.",
|
|
3421
|
+
"df.wise.ControlFeedback.maximum": "Harap masukkan angka paling besar {maximum} atau kurang dari itu.",
|
|
3422
|
+
"df.wise.ControlFeedback.maximumDate": "Harap masukkan tanggal pada atau sebelum {maximum}.",
|
|
3423
|
+
"df.wise.ControlFeedback.minLength": "Harap masukkan setidaknya {minLength} karakter.",
|
|
3424
|
+
"df.wise.ControlFeedback.minimum": "Harap masukkan angka paling kecil {minimum} atau lebih dari itu.",
|
|
3425
|
+
"df.wise.ControlFeedback.minimumDate": "Harap masukkan tanggal pada atau setelah {minimum}.",
|
|
3426
|
+
"df.wise.ControlFeedback.pattern": "Mohon masukkan ini dalam format yang benar.",
|
|
3427
|
+
"df.wise.ControlFeedback.patternDate": "Harap masukkan tanggal dalam format yang benar.",
|
|
3428
|
+
"df.wise.ControlFeedback.required": "Harap isi kolom ini.",
|
|
3429
|
+
"df.wise.ControlFeedback.type": "Tipe salah",
|
|
3430
|
+
"df.wise.CopyFeedback.copy": "Disalin ke clipboard",
|
|
3431
|
+
"df.wise.CopyFeedback.copyFailed": "Gagal menyalin ke clipboard",
|
|
3432
|
+
"df.wise.Decision.all": "Semua",
|
|
3433
|
+
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
3434
|
+
"df.wise.Decision.noResults": "Tidak ada hasil",
|
|
3435
|
+
"df.wise.Decision.popular": "Populer",
|
|
3436
|
+
"df.wise.Decision.recent": "Terbaru",
|
|
3437
|
+
"df.wise.Decision.results": "Hasil pencarian",
|
|
3438
|
+
"df.wise.DynamicParagraph.copied": "Disalin ke clipboard",
|
|
3439
|
+
"df.wise.DynamicParagraph.copy": "Salin",
|
|
3440
|
+
"df.wise.ErrorBoundary.errorAlert": "Terjadi kesalahan.",
|
|
3441
|
+
"df.wise.ErrorBoundary.retry": "Coba lagi",
|
|
3442
|
+
"df.wise.ExternalConfirmation.cancel": "Batalkan",
|
|
3443
|
+
"df.wise.ExternalConfirmation.description": "Harap konfirmasikan bahwa Anda ingin membuka **{origin}** di tab browser baru.",
|
|
3444
|
+
"df.wise.ExternalConfirmation.open": "Buka di tab baru",
|
|
3445
|
+
"df.wise.ExternalConfirmation.title": "Harap konfirmasi",
|
|
3446
|
+
"df.wise.Help.ariaLabel": "Klik di sini untuk info selengkapnya.",
|
|
3447
|
+
"df.wise.MultiSelect.summary": "{first} dan {count} lagi",
|
|
3448
|
+
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "Maaf, file Anda terlalu besar. Silakan unggah file yang lebih kecil.",
|
|
3449
|
+
"df.wise.MultipleFileUploadSchema.maxItemsError": "Harap unggah {maxItems} file atau kurang.",
|
|
3450
|
+
"df.wise.MultipleFileUploadSchema.minItemsError": "Harap unggah sedikitnya {minItems} file.",
|
|
3451
|
+
"df.wise.PersistAsyncSchema.genericError": "Terjadi kesalahan, mohon coba lagi.",
|
|
3452
|
+
"df.wise.SearchLayout.loading": "Memuat ..."
|
|
3453
|
+
};
|
|
3454
|
+
|
|
3455
|
+
// src/i18n/it.json
|
|
3456
|
+
var it_default = {
|
|
3457
|
+
"df.wise.ArraySchema.addItem": "Salva",
|
|
3458
|
+
"df.wise.ArraySchema.addItemTitle": "Aggiungi elemento",
|
|
3459
|
+
"df.wise.ArraySchema.editItem": "Salva",
|
|
3460
|
+
"df.wise.ArraySchema.maxItemsError": "Aggiungi al massimo {maxItems}.",
|
|
3461
|
+
"df.wise.ArraySchema.minItemsError": "Aggiungi almeno {minItems}.",
|
|
3462
|
+
"df.wise.ArraySchema.removeItem": "Rimuovi",
|
|
3463
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "Potrebbero volerci un paio di secondi",
|
|
3464
|
+
"df.wise.ControlFeedback.maxLength": "Inserisci un massimo di {maxLength} caratteri.",
|
|
3465
|
+
"df.wise.ControlFeedback.maximum": "Inserisci un numero uguale o inferiore a {maximum}.",
|
|
3466
|
+
"df.wise.ControlFeedback.maximumDate": "Inserisci una data corrispondente o precedente al {maximum}.",
|
|
3467
|
+
"df.wise.ControlFeedback.minLength": "Inserisci almeno {minLength} caratteri.",
|
|
3468
|
+
"df.wise.ControlFeedback.minimum": "Inserisci un numero uguale o superiore a {minimum}.",
|
|
3469
|
+
"df.wise.ControlFeedback.minimumDate": "Inserisci una data corrispondente o successiva al {minimum}.",
|
|
3470
|
+
"df.wise.ControlFeedback.pattern": "Inseriscilo in un formato corretto.",
|
|
3471
|
+
"df.wise.ControlFeedback.patternDate": "Inserisci la data in un formato corretto.",
|
|
3472
|
+
"df.wise.ControlFeedback.required": "Compila questo campo.",
|
|
3473
|
+
"df.wise.ControlFeedback.type": "Tipo errato",
|
|
3474
|
+
"df.wise.CopyFeedback.copy": "Copiato negli appunti",
|
|
3475
|
+
"df.wise.CopyFeedback.copyFailed": "Impossibile copiare negli appunti",
|
|
3476
|
+
"df.wise.Decision.all": "Tutte",
|
|
3477
|
+
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
3478
|
+
"df.wise.Decision.noResults": "Nessun risultato",
|
|
3479
|
+
"df.wise.Decision.popular": "Popolari",
|
|
3480
|
+
"df.wise.Decision.recent": "Recenti",
|
|
3481
|
+
"df.wise.Decision.results": "Risultati della ricerca",
|
|
3482
|
+
"df.wise.DynamicParagraph.copied": "Copiato negli appunti",
|
|
3483
|
+
"df.wise.DynamicParagraph.copy": "Copia",
|
|
3484
|
+
"df.wise.ErrorBoundary.errorAlert": "Qualcosa non ha funzionato.",
|
|
3485
|
+
"df.wise.ErrorBoundary.retry": "Riprova",
|
|
3486
|
+
"df.wise.ExternalConfirmation.cancel": "Annulla",
|
|
3487
|
+
"df.wise.ExternalConfirmation.description": "Conferma di voler aprire **{origin}** in una nuova scheda del browser.",
|
|
3488
|
+
"df.wise.ExternalConfirmation.open": "Apri in una nuova scheda",
|
|
3489
|
+
"df.wise.ExternalConfirmation.title": "Conferma",
|
|
3490
|
+
"df.wise.Help.ariaLabel": "Clicca qui per maggiori informazioni.",
|
|
3491
|
+
"df.wise.MultiSelect.summary": "{first} e altri {count}",
|
|
3492
|
+
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "Spiacenti, il file \xE8 troppo grande. Carica un file di dimensioni inferiori.",
|
|
3493
|
+
"df.wise.MultipleFileUploadSchema.maxItemsError": "Carica al massimo {maxItems} file.",
|
|
3494
|
+
"df.wise.MultipleFileUploadSchema.minItemsError": "Carica almeno {minItems} file.",
|
|
3495
|
+
"df.wise.PersistAsyncSchema.genericError": "Qualcosa \xE8 andato storto. Riprova.",
|
|
3496
|
+
"df.wise.SearchLayout.loading": "Caricamento..."
|
|
3497
|
+
};
|
|
3498
|
+
|
|
3499
|
+
// src/i18n/ja.json
|
|
3500
|
+
var ja_default = {
|
|
3501
|
+
"df.wise.ArraySchema.addItem": "\u4FDD\u5B58\u3059\u308B",
|
|
3502
|
+
"df.wise.ArraySchema.addItemTitle": "\u30A2\u30A4\u30C6\u30E0\u3092\u8FFD\u52A0\u3059\u308B",
|
|
3503
|
+
"df.wise.ArraySchema.editItem": "\u4FDD\u5B58\u3059\u308B",
|
|
3504
|
+
"df.wise.ArraySchema.maxItemsError": "{maxItems}\u30A2\u30A4\u30C6\u30E0\u4EE5\u4E0B\u3092\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
3505
|
+
"df.wise.ArraySchema.minItemsError": "{minItems}\u30A2\u30A4\u30C6\u30E0\u4EE5\u4E0A\u3092\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
3506
|
+
"df.wise.ArraySchema.removeItem": "\u524A\u9664\u3059\u308B",
|
|
3507
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "\u6570\u79D2\u304B\u304B\u308B\u5834\u5408\u304C\u3042\u308A\u307E\u3059",
|
|
3508
|
+
"df.wise.ControlFeedback.maxLength": "{maxLength}\u6587\u5B57\u4EE5\u4E0B\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
3509
|
+
"df.wise.ControlFeedback.maximum": "{maximum}\u4EE5\u4E0B\u306E\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
3510
|
+
"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",
|
|
3511
|
+
"df.wise.ControlFeedback.minLength": "{minLength}\u6587\u5B57\u4EE5\u4E0A\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
3512
|
+
"df.wise.ControlFeedback.minimum": "{minimum}\u4EE5\u4E0A\u306E\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
3513
|
+
"df.wise.ControlFeedback.minimumDate": "{minimum}\u307E\u305F\u306F\u305D\u308C\u4EE5\u964D\u306E\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
3514
|
+
"df.wise.ControlFeedback.pattern": "\u6B63\u3057\u3044\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
3515
|
+
"df.wise.ControlFeedback.patternDate": "\u6B63\u3057\u3044\u5F62\u5F0F\u3067\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
3516
|
+
"df.wise.ControlFeedback.required": "\u3053\u306E\u9805\u76EE\u306F\u5165\u529B\u5FC5\u9808\u3067\u3059\u3002",
|
|
3517
|
+
"df.wise.ControlFeedback.type": "\u4E0D\u6B63\u306A\u30BF\u30A4\u30D7",
|
|
3518
|
+
"df.wise.CopyFeedback.copy": "\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u3078\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F",
|
|
3519
|
+
"df.wise.CopyFeedback.copyFailed": "\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F",
|
|
3520
|
+
"df.wise.Decision.all": "\u3059\u3079\u3066",
|
|
3521
|
+
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
3522
|
+
"df.wise.Decision.noResults": "\u691C\u7D22\u7D50\u679C\u304C\u3042\u308A\u307E\u305B\u3093",
|
|
3523
|
+
"df.wise.Decision.popular": "\u4EBA\u6C17",
|
|
3524
|
+
"df.wise.Decision.recent": "\u6700\u8FD1",
|
|
3525
|
+
"df.wise.Decision.results": "\u691C\u7D22\u7D50\u679C",
|
|
3526
|
+
"df.wise.DynamicParagraph.copied": "\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u3078\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F",
|
|
3527
|
+
"df.wise.DynamicParagraph.copy": "\u30B3\u30D4\u30FC\u3059\u308B",
|
|
3528
|
+
"df.wise.ErrorBoundary.errorAlert": "\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002",
|
|
3529
|
+
"df.wise.ErrorBoundary.retry": "\u3084\u308A\u76F4\u3059",
|
|
3530
|
+
"df.wise.ExternalConfirmation.cancel": "\u30AD\u30E3\u30F3\u30BB\u30EB\u3059\u308B",
|
|
3531
|
+
"df.wise.ExternalConfirmation.description": "\u65B0\u3057\u3044\u30D6\u30E9\u30A6\u30B6\u30BF\u30D6\u3067**{origin}**\u3092\u958B\u304F\u3053\u3068\u3092\u627F\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
3532
|
+
"df.wise.ExternalConfirmation.open": "\u65B0\u3057\u3044\u30BF\u30D6\u3067\u958B\u304F",
|
|
3533
|
+
"df.wise.ExternalConfirmation.title": "\u627F\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044",
|
|
3534
|
+
"df.wise.Help.ariaLabel": "\u8A73\u7D30\u306F\u3053\u3061\u3089\u3092\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
3535
|
+
"df.wise.MultiSelect.summary": "{first}\u3068\u305D\u306E\u4ED6{count}",
|
|
3536
|
+
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "\u5927\u5909\u7533\u3057\u8A33\u3054\u3056\u3044\u307E\u305B\u3093\u304C\u3001\u30D5\u30A1\u30A4\u30EB\u304C\u5927\u304D\u3059\u304E\u307E\u3059\u3002\u3053\u308C\u3088\u308A\u5C0F\u3055\u3044\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
3537
|
+
"df.wise.MultipleFileUploadSchema.maxItemsError": "{maxItems}\u500B\u4EE5\u4E0B\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
3538
|
+
"df.wise.MultipleFileUploadSchema.minItemsError": "{minItems}\u500B\u4EE5\u4E0A\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
3539
|
+
"df.wise.PersistAsyncSchema.genericError": "\u554F\u984C\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002\u518D\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002",
|
|
3540
|
+
"df.wise.SearchLayout.loading": "\u8AAD\u307F\u8FBC\u307F\u4E2D\u2026"
|
|
3541
|
+
};
|
|
3542
|
+
|
|
3543
|
+
// src/i18n/nl.json
|
|
3544
|
+
var nl_default = {
|
|
3545
|
+
"df.wise.ArraySchema.addItem": "Opslaan",
|
|
3546
|
+
"df.wise.ArraySchema.addItemTitle": "Item toevoegen",
|
|
3547
|
+
"df.wise.ArraySchema.editItem": "Opslaan",
|
|
3548
|
+
"df.wise.ArraySchema.maxItemsError": "Voeg {maxItems} of minder toe.",
|
|
3549
|
+
"df.wise.ArraySchema.minItemsError": "Voeg minimaal {minItems} toe.",
|
|
3550
|
+
"df.wise.ArraySchema.removeItem": "Verwijderen",
|
|
3551
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
|
|
3552
|
+
"df.wise.ControlFeedback.maxLength": "Voer {maxLength} of minder tekens in.",
|
|
3553
|
+
"df.wise.ControlFeedback.maximum": "Voer een getal in dat {maximum} of lager is.",
|
|
3554
|
+
"df.wise.ControlFeedback.maximumDate": "Voer een datum in die op of voor {maximum} is.",
|
|
3555
|
+
"df.wise.ControlFeedback.minLength": "Voer minimaal {minLength} tekens in.",
|
|
3556
|
+
"df.wise.ControlFeedback.minimum": "Voer een getal in dat {minimum} of hoger is.",
|
|
3557
|
+
"df.wise.ControlFeedback.minimumDate": "Voer een datum in die op of na {minimum} is.",
|
|
3558
|
+
"df.wise.ControlFeedback.pattern": "Voer dit in de juiste indeling in.",
|
|
3559
|
+
"df.wise.ControlFeedback.patternDate": "Voer een datum in de juiste indeling in.",
|
|
3560
|
+
"df.wise.ControlFeedback.required": "Vul dit veld in.",
|
|
3561
|
+
"df.wise.ControlFeedback.type": "Onjuist type",
|
|
3562
|
+
"df.wise.CopyFeedback.copy": "Naar klembord gekopieerd",
|
|
3563
|
+
"df.wise.CopyFeedback.copyFailed": "Naar klembord kopi\xEBren mislukt",
|
|
3564
|
+
"df.wise.Decision.all": "Alles",
|
|
3565
|
+
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
3566
|
+
"df.wise.Decision.noResults": "Niks gevonden",
|
|
3567
|
+
"df.wise.Decision.popular": "Populair",
|
|
3568
|
+
"df.wise.Decision.recent": "Recent",
|
|
3569
|
+
"df.wise.Decision.results": "Zoekresultaten",
|
|
3570
|
+
"df.wise.DynamicParagraph.copied": "Naar klembord gekopieerd",
|
|
3571
|
+
"df.wise.DynamicParagraph.copy": "Kopi\xEBren",
|
|
3572
|
+
"df.wise.ErrorBoundary.errorAlert": "Er is iets misgegaan.",
|
|
3573
|
+
"df.wise.ErrorBoundary.retry": "Opnieuw proberen",
|
|
3574
|
+
"df.wise.ExternalConfirmation.cancel": "Annuleren",
|
|
3575
|
+
"df.wise.ExternalConfirmation.description": "Bevestig dat je **{origin}** in een nieuw browsertabblad wilt openen.",
|
|
3576
|
+
"df.wise.ExternalConfirmation.open": "In nieuw tabblad openen",
|
|
3577
|
+
"df.wise.ExternalConfirmation.title": "Bevestigen",
|
|
3578
|
+
"df.wise.Help.ariaLabel": "Klik hier voor meer informatie.",
|
|
3579
|
+
"df.wise.MultiSelect.summary": "{first} en nog {count}",
|
|
3580
|
+
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "Het bestand is te groot. Upload een kleiner bestand.",
|
|
3581
|
+
"df.wise.MultipleFileUploadSchema.maxItemsError": "Upload {maxItems} of minder bestanden.",
|
|
3582
|
+
"df.wise.MultipleFileUploadSchema.minItemsError": "Upload minimaal {minItems} bestand(en).",
|
|
3583
|
+
"df.wise.PersistAsyncSchema.genericError": "Er is iets misgegaan, probeer het opnieuw.",
|
|
3584
|
+
"df.wise.SearchLayout.loading": "Laden..."
|
|
3585
|
+
};
|
|
3586
|
+
|
|
3587
|
+
// src/i18n/pl.json
|
|
3588
|
+
var pl_default = {
|
|
3589
|
+
"df.wise.ArraySchema.addItem": "Zapisz",
|
|
3590
|
+
"df.wise.ArraySchema.addItemTitle": "Dodaj pozycj\u0119",
|
|
3591
|
+
"df.wise.ArraySchema.editItem": "Zapisz",
|
|
3592
|
+
"df.wise.ArraySchema.maxItemsError": "Prosimy doda\u0107 maksymalnie {maxItems}.",
|
|
3593
|
+
"df.wise.ArraySchema.minItemsError": "Prosimy doda\u0107 co najmniej {minItems}.",
|
|
3594
|
+
"df.wise.ArraySchema.removeItem": "Usu\u0144",
|
|
3595
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "To mo\u017Ce potrwa\u0107 kilka sekund",
|
|
3596
|
+
"df.wise.ControlFeedback.maxLength": "Prosimy wprowadzi\u0107 do {maxLength} znak\xF3w.",
|
|
3597
|
+
"df.wise.ControlFeedback.maximum": "Wprowad\u017A liczb\u0119 r\xF3wn\u0105 lub mniejsz\u0105 ni\u017C {maximum}.",
|
|
3598
|
+
"df.wise.ControlFeedback.maximumDate": "Wprowad\u017A dat\u0119 nie p\xF3\u017Aniejsz\u0105 ni\u017C {maximum}.",
|
|
3599
|
+
"df.wise.ControlFeedback.minLength": "Prosz\u0119 wpisa\u0107 co najmniej {minLength} znak\xF3w.",
|
|
3600
|
+
"df.wise.ControlFeedback.minimum": "Wprowad\u017A liczb\u0119 r\xF3wn\u0105 lub wi\u0119ksz\u0105 ni\u017C {minimum}.",
|
|
3601
|
+
"df.wise.ControlFeedback.minimumDate": "Wprowad\u017A dat\u0119 nie wcze\u015Bniejsz\u0105 ni\u017C {minimum}.",
|
|
3602
|
+
"df.wise.ControlFeedback.pattern": "Wprowad\u017A t\u0119 warto\u015B\u0107 w prawid\u0142owym formacie.",
|
|
3603
|
+
"df.wise.ControlFeedback.patternDate": "Wprowad\u017A dat\u0119 w prawid\u0142owym formacie.",
|
|
3604
|
+
"df.wise.ControlFeedback.required": "Prosz\u0119 wype\u0142ni\u0107 to pole.",
|
|
3605
|
+
"df.wise.ControlFeedback.type": "Nieprawid\u0142owy typ",
|
|
3606
|
+
"df.wise.CopyFeedback.copy": "Skopiowano do schowka",
|
|
3607
|
+
"df.wise.CopyFeedback.copyFailed": "Nie uda\u0142o si\u0119 skopiowa\u0107 do schowka",
|
|
3608
|
+
"df.wise.Decision.all": "Wszystkie",
|
|
3609
|
+
"df.wise.Decision.filterPlaceholder": "Zacznij pisa\u0107, \u017Ceby wyszuka\u0107",
|
|
3610
|
+
"df.wise.Decision.noResults": "Brak wynik\xF3w",
|
|
3611
|
+
"df.wise.Decision.popular": "Popularne",
|
|
3612
|
+
"df.wise.Decision.recent": "Ostatnie",
|
|
3613
|
+
"df.wise.Decision.results": "Wyniki wyszukiwania",
|
|
3614
|
+
"df.wise.DynamicParagraph.copied": "Skopiowano do schowka",
|
|
3615
|
+
"df.wise.DynamicParagraph.copy": "Kopiuj",
|
|
3616
|
+
"df.wise.ErrorBoundary.errorAlert": "Co\u015B posz\u0142o nie tak.",
|
|
3617
|
+
"df.wise.ErrorBoundary.retry": "Spr\xF3buj ponownie",
|
|
3618
|
+
"df.wise.ExternalConfirmation.cancel": "Anuluj",
|
|
3619
|
+
"df.wise.ExternalConfirmation.description": "Prosimy potwierdzi\u0107, \u017Ce chcesz otworzy\u0107 **{origin}** w nowej zak\u0142adce przegl\u0105darki.",
|
|
3620
|
+
"df.wise.ExternalConfirmation.open": "Otw\xF3rz w nowej zak\u0142adce",
|
|
3621
|
+
"df.wise.ExternalConfirmation.title": "Potwierd\u017A",
|
|
3622
|
+
"df.wise.Help.ariaLabel": "Kliknij tutaj, \u017Ceby uzyska\u0107 wi\u0119cej informacji.",
|
|
3623
|
+
"df.wise.MultiSelect.summary": "{first} oraz {count} wi\u0119cej",
|
|
3624
|
+
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "Przepraszamy, ten plik jest zbyt du\u017Cy. Prze\u015Blij mniejszy plik.",
|
|
3625
|
+
"df.wise.MultipleFileUploadSchema.maxItemsError": "Prze\u015Blij do {maxItems} plik\xF3w.",
|
|
3626
|
+
"df.wise.MultipleFileUploadSchema.minItemsError": "Prze\u015Blij co najmniej nast\u0119puj\u0105c\u0105 liczb\u0119 plik\xF3w: {minItems}.",
|
|
3627
|
+
"df.wise.PersistAsyncSchema.genericError": "Wyst\u0105pi\u0142 b\u0142\u0105d, prosimy spr\xF3bowa\u0107 ponownie.",
|
|
3628
|
+
"df.wise.SearchLayout.loading": "\u0141adowanie..."
|
|
3629
|
+
};
|
|
3630
|
+
|
|
3631
|
+
// src/i18n/pt.json
|
|
3632
|
+
var pt_default = {
|
|
3633
|
+
"df.wise.ArraySchema.addItem": "Salvar",
|
|
3634
|
+
"df.wise.ArraySchema.addItemTitle": "Adicionar item",
|
|
3635
|
+
"df.wise.ArraySchema.editItem": "Salvar",
|
|
3636
|
+
"df.wise.ArraySchema.maxItemsError": "Adicione {maxItems} ou menos.",
|
|
3637
|
+
"df.wise.ArraySchema.minItemsError": "Adicione pelo menos {minItems}.",
|
|
3638
|
+
"df.wise.ArraySchema.removeItem": "Remover",
|
|
3639
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "Isso pode levar alguns segundos",
|
|
3640
|
+
"df.wise.ControlFeedback.maxLength": "Por favor, insira {maxLength} caracteres ou menos.",
|
|
3641
|
+
"df.wise.ControlFeedback.maximum": "Por favor, insira um n\xFAmero que seja {maximum} ou menos.",
|
|
3642
|
+
"df.wise.ControlFeedback.maximumDate": "Por favor, insira uma data que seja em ou antes de {maximum}.",
|
|
3643
|
+
"df.wise.ControlFeedback.minLength": "Por favor, insira pelo menos {minLength} caracteres.",
|
|
3644
|
+
"df.wise.ControlFeedback.minimum": "Por favor, insira um n\xFAmero que seja {minimum} ou mais.",
|
|
3645
|
+
"df.wise.ControlFeedback.minimumDate": "Por favor, insira uma data que seja em ou ap\xF3s {minimum}.",
|
|
3646
|
+
"df.wise.ControlFeedback.pattern": "Por favor, insira essa informa\xE7\xE3o no formato correto.",
|
|
3647
|
+
"df.wise.ControlFeedback.patternDate": "Por favor, insira a data no formato correto.",
|
|
3648
|
+
"df.wise.ControlFeedback.required": "Por favor, preencha o campo.",
|
|
3649
|
+
"df.wise.ControlFeedback.type": "Tipo incorreto",
|
|
3650
|
+
"df.wise.CopyFeedback.copy": "Copiado",
|
|
3651
|
+
"df.wise.CopyFeedback.copyFailed": "Falha ao copiar para \xE1rea de transfer\xEAncia",
|
|
3652
|
+
"df.wise.Decision.all": "Todos",
|
|
3653
|
+
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
3654
|
+
"df.wise.Decision.noResults": "Nenhum resultado",
|
|
3655
|
+
"df.wise.Decision.popular": "Populares",
|
|
3656
|
+
"df.wise.Decision.recent": "Recente",
|
|
3657
|
+
"df.wise.Decision.results": "Resultados da busca",
|
|
3658
|
+
"df.wise.DynamicParagraph.copied": "Copiado",
|
|
3659
|
+
"df.wise.DynamicParagraph.copy": "Copiar",
|
|
3660
|
+
"df.wise.ErrorBoundary.errorAlert": "Algo deu errado.",
|
|
3661
|
+
"df.wise.ErrorBoundary.retry": "Tentar novamente",
|
|
3662
|
+
"df.wise.ExternalConfirmation.cancel": "Cancelar",
|
|
3663
|
+
"df.wise.ExternalConfirmation.description": "Por favor, confirme que deseja abrir * *{origin}* * em uma nova aba do navegador.",
|
|
3664
|
+
"df.wise.ExternalConfirmation.open": "Abrir em uma nova aba",
|
|
3665
|
+
"df.wise.ExternalConfirmation.title": "Por favor, confirme",
|
|
3666
|
+
"df.wise.Help.ariaLabel": "Clique aqui para mais informa\xE7\xF5es.",
|
|
3667
|
+
"df.wise.MultiSelect.summary": "{first} e mais {count} ",
|
|
3668
|
+
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "Este arquivo \xE9 muito grande. Por favor, envie um arquivo menor.",
|
|
3669
|
+
"df.wise.MultipleFileUploadSchema.maxItemsError": "Por favor, envie {maxItems} ou menos arquivos.",
|
|
3670
|
+
"df.wise.MultipleFileUploadSchema.minItemsError": "Por favor, envie pelo menos {minItems} arquivo(s).",
|
|
3671
|
+
"df.wise.PersistAsyncSchema.genericError": "Ocorreu um erro. Por favor, tente novamente.",
|
|
3672
|
+
"df.wise.SearchLayout.loading": "Carregando..."
|
|
3673
|
+
};
|
|
3674
|
+
|
|
3675
|
+
// src/i18n/ro.json
|
|
3676
|
+
var ro_default = {
|
|
3677
|
+
"df.wise.ArraySchema.addItem": "Salvare",
|
|
3678
|
+
"df.wise.ArraySchema.addItemTitle": "Adaug\u0103 produs",
|
|
3679
|
+
"df.wise.ArraySchema.editItem": "Salvare",
|
|
3680
|
+
"df.wise.ArraySchema.maxItemsError": "Te rug\u0103m s\u0103 adaugi {maxItems} sau mai pu\u021Bine.",
|
|
3681
|
+
"df.wise.ArraySchema.minItemsError": "Te rug\u0103m s\u0103 adaugi cel pu\u021Bin {minItems}.",
|
|
3682
|
+
"df.wise.ArraySchema.removeItem": "Elimin\u0103",
|
|
3683
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "Acest lucru ar putea dura c\xE2teva secunde",
|
|
3684
|
+
"df.wise.ControlFeedback.maxLength": "Te rug\u0103m s\u0103 introduci {maxLength} sau mai pu\u021Bine caractere.",
|
|
3685
|
+
"df.wise.ControlFeedback.maximum": "Te rug\u0103m s\u0103 introduci un num\u0103r egal cu {maximum} sau mai mic.",
|
|
3686
|
+
"df.wise.ControlFeedback.maximumDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 de \xEEnainte de sau egal\u0103 cu {maximum}.",
|
|
3687
|
+
"df.wise.ControlFeedback.minLength": "Te rug\u0103m s\u0103 introduci cel pu\u021Bin {minLength} caractere.",
|
|
3688
|
+
"df.wise.ControlFeedback.minimum": "Te rug\u0103m s\u0103 introduci un num\u0103r egal cu {minimum} sau mai mare.",
|
|
3689
|
+
"df.wise.ControlFeedback.minimumDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 de dup\u0103 sau egal\u0103 cu {minimum}.",
|
|
3690
|
+
"df.wise.ControlFeedback.pattern": "Te rug\u0103m s\u0103 introduci acest lucru \xEEn formatul corect.",
|
|
3691
|
+
"df.wise.ControlFeedback.patternDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 \xEEn formatul corect.",
|
|
3692
|
+
"df.wise.ControlFeedback.required": "Te rug\u0103m s\u0103 completezi acest spa\u021Biu.",
|
|
3693
|
+
"df.wise.ControlFeedback.type": "Tip incorect",
|
|
3694
|
+
"df.wise.CopyFeedback.copy": "Copiat \xEEn clipboard",
|
|
3695
|
+
"df.wise.CopyFeedback.copyFailed": "Copierea \xEEn clipboard a e\u0219uat",
|
|
3696
|
+
"df.wise.Decision.all": "Toate",
|
|
3697
|
+
"df.wise.Decision.filterPlaceholder": "\xCEncepe s\u0103 tastezi pentru a c\u0103uta",
|
|
3698
|
+
"df.wise.Decision.noResults": "Niciun rezultat",
|
|
3699
|
+
"df.wise.Decision.popular": "Populare",
|
|
3700
|
+
"df.wise.Decision.recent": "Recente",
|
|
3701
|
+
"df.wise.Decision.results": "Rezultatele c\u0103ut\u0103rii",
|
|
3702
|
+
"df.wise.DynamicParagraph.copied": "Copiat \xEEn clipboard",
|
|
3703
|
+
"df.wise.DynamicParagraph.copy": "Copiaz\u0103",
|
|
3704
|
+
"df.wise.ErrorBoundary.errorAlert": "Ceva nu a mers bine.",
|
|
3705
|
+
"df.wise.ErrorBoundary.retry": "\xCEncearc\u0103 din nou",
|
|
3706
|
+
"df.wise.ExternalConfirmation.cancel": "Anuleaz\u0103",
|
|
3707
|
+
"df.wise.ExternalConfirmation.description": "Te rug\u0103m s\u0103 confirmi c\u0103 vrei s\u0103 deschizi **{origin}** \xEEntr-o nou\u0103 fil\u0103 a browserului.",
|
|
3708
|
+
"df.wise.ExternalConfirmation.open": "Deschide \xEEntr-o fil\u0103 nou\u0103",
|
|
3709
|
+
"df.wise.ExternalConfirmation.title": "Te rug\u0103m s\u0103 confirmi",
|
|
3710
|
+
"df.wise.Help.ariaLabel": "D\u0103 click aici pentru mai multe informa\u021Bii.",
|
|
3711
|
+
"df.wise.MultiSelect.summary": "{first} \u0219i \xEEnc\u0103 {count}",
|
|
3712
|
+
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "Ne pare r\u0103u, acel fi\u0219ier este prea mare. Te rug\u0103m s\u0103 \xEEncarci un fi\u0219ier mai mic.",
|
|
3713
|
+
"df.wise.MultipleFileUploadSchema.maxItemsError": "Te rug\u0103m s\u0103 \xEEncarci {maxItems} fi\u0219iere sau mai pu\u021Bine.",
|
|
3714
|
+
"df.wise.MultipleFileUploadSchema.minItemsError": "Te rug\u0103m s\u0103 \xEEncarci cel pu\u021Bin {minItems} fi\u0219ier(e).",
|
|
3715
|
+
"df.wise.PersistAsyncSchema.genericError": "Ceva nu a mers bine, te rug\u0103m s\u0103 \xEEncerci din nou.",
|
|
3716
|
+
"df.wise.SearchLayout.loading": "Se \xEEncarc\u0103..."
|
|
3717
|
+
};
|
|
3718
|
+
|
|
3719
|
+
// src/i18n/ru.json
|
|
3720
|
+
var ru_default = {
|
|
3721
|
+
"df.wise.ArraySchema.addItem": "\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C",
|
|
3722
|
+
"df.wise.ArraySchema.addItemTitle": "\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0443\u043D\u043A\u0442",
|
|
3723
|
+
"df.wise.ArraySchema.editItem": "\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C",
|
|
3724
|
+
"df.wise.ArraySchema.maxItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0434\u043E\u0431\u0430\u0432\u044C\u0442\u0435 {maxItems} \u0438\u043B\u0438 \u043C\u0435\u043D\u044C\u0448\u0435.",
|
|
3725
|
+
"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}.",
|
|
3726
|
+
"df.wise.ArraySchema.removeItem": "\u0423\u0434\u0430\u043B\u0438\u0442\u044C",
|
|
3727
|
+
"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",
|
|
3728
|
+
"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.",
|
|
3729
|
+
"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.",
|
|
3730
|
+
"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.",
|
|
3731
|
+
"df.wise.ControlFeedback.minLength": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043F\u043E \u043A\u0440\u0430\u0439\u043D\u0435\u0439 \u043C\u0435\u0440\u0435 {minLength} \u0441\u0438\u043C\u0432\u043E\u043B\u0430(-\u043E\u0432).",
|
|
3732
|
+
"df.wise.ControlFeedback.minimum": "\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 {minimum} \u0438\u043B\u0438 \u0431\u043E\u043B\u044C\u0448\u0435.",
|
|
3733
|
+
"df.wise.ControlFeedback.minimumDate": "\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 {minimum} \u0438\u043B\u0438 \u0431\u043E\u043B\u0435\u0435 \u043F\u043E\u0437\u0434\u043D\u044E\u044E.",
|
|
3734
|
+
"df.wise.ControlFeedback.pattern": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u044D\u0442\u043E \u0432 \u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u043E\u043C \u0444\u043E\u0440\u043C\u0430\u0442\u0435.",
|
|
3735
|
+
"df.wise.ControlFeedback.patternDate": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443 \u0432 \u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u043E\u043C \u0444\u043E\u0440\u043C\u0430\u0442\u0435.",
|
|
3736
|
+
"df.wise.ControlFeedback.required": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u043E\u0435 \u043F\u043E\u043B\u0435.",
|
|
3737
|
+
"df.wise.ControlFeedback.type": "\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0442\u0438\u043F",
|
|
3738
|
+
"df.wise.CopyFeedback.copy": "\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",
|
|
3739
|
+
"df.wise.CopyFeedback.copyFailed": "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",
|
|
3740
|
+
"df.wise.Decision.all": "\u0412\u0441\u0435",
|
|
3741
|
+
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
3742
|
+
"df.wise.Decision.noResults": "\u041D\u0435\u0442 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432",
|
|
3743
|
+
"df.wise.Decision.popular": "\u041F\u043E\u043F\u0443\u043B\u044F\u0440\u043D\u044B\u0435",
|
|
3744
|
+
"df.wise.Decision.recent": "\u041D\u0435\u0434\u0430\u0432\u043D\u0438\u0435",
|
|
3745
|
+
"df.wise.Decision.results": "\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043F\u043E\u0438\u0441\u043A\u0430",
|
|
3746
|
+
"df.wise.DynamicParagraph.copied": "\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",
|
|
3747
|
+
"df.wise.DynamicParagraph.copy": "\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C",
|
|
3748
|
+
"df.wise.ErrorBoundary.errorAlert": "\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A.",
|
|
3749
|
+
"df.wise.ErrorBoundary.retry": "\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u043F\u043E\u043F\u044B\u0442\u043A\u0443",
|
|
3750
|
+
"df.wise.ExternalConfirmation.cancel": "\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C",
|
|
3751
|
+
"df.wise.ExternalConfirmation.description": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435, \u0447\u0442\u043E \u0432\u044B \u0445\u043E\u0442\u0438\u0442\u0435 \u043E\u0442\u043A\u0440\u044B\u0442\u044C **{origin}** \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.",
|
|
3752
|
+
"df.wise.ExternalConfirmation.open": "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435",
|
|
3753
|
+
"df.wise.ExternalConfirmation.title": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435",
|
|
3754
|
+
"df.wise.Help.ariaLabel": "\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044C \u0434\u043B\u044F \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438.",
|
|
3755
|
+
"df.wise.MultiSelect.summary": "{first} \u0438 \u0435\u0449\u0435 {count} \u0434\u0440\u0443\u0433\u0438\u0445",
|
|
3756
|
+
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "\u0418\u0437\u0432\u0438\u043D\u0438\u0442\u0435, \u0444\u0430\u0439\u043B \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0439. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0444\u0430\u0439\u043B \u043C\u0435\u043D\u044C\u0448\u0435\u0433\u043E \u0440\u0430\u0437\u043C\u0435\u0440\u0430.",
|
|
3757
|
+
"df.wise.MultipleFileUploadSchema.maxItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u043D\u0435 \u0431\u043E\u043B\u0435\u0435 {maxItems} \u0444\u0430\u0439\u043B\u043E\u0432.",
|
|
3758
|
+
"df.wise.MultipleFileUploadSchema.minItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u043F\u043E \u043A\u0440\u0430\u0439\u043D\u0435\u0439 \u043C\u0435\u0440\u0435 {minItems} \u0444\u0430\u0439\u043B(-\u0430/\u043E\u0432).",
|
|
3759
|
+
"df.wise.PersistAsyncSchema.genericError": "\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0435 \u0440\u0430\u0437.",
|
|
3760
|
+
"df.wise.SearchLayout.loading": "\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430..."
|
|
3761
|
+
};
|
|
3762
|
+
|
|
3763
|
+
// src/i18n/th.json
|
|
3764
|
+
var th_default = {
|
|
3765
|
+
"df.wise.ArraySchema.addItem": "\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01",
|
|
3766
|
+
"df.wise.ArraySchema.addItemTitle": "\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",
|
|
3767
|
+
"df.wise.ArraySchema.editItem": "\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01",
|
|
3768
|
+
"df.wise.ArraySchema.maxItemsError": "\u0E42\u0E1B\u0E23\u0E14\u0E40\u0E1E\u0E34\u0E48\u0E21 {maxItems} \u0E2B\u0E23\u0E37\u0E2D\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32",
|
|
3769
|
+
"df.wise.ArraySchema.minItemsError": "\u0E42\u0E1B\u0E23\u0E14\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22 {minItems}",
|
|
3770
|
+
"df.wise.ArraySchema.removeItem": "\u0E25\u0E1A",
|
|
3771
|
+
"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",
|
|
3772
|
+
"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",
|
|
3773
|
+
"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",
|
|
3774
|
+
"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",
|
|
3775
|
+
"df.wise.ControlFeedback.minLength": "\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22 {minLength} \u0E15\u0E31\u0E27",
|
|
3776
|
+
"df.wise.ControlFeedback.minimum": "\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02 {minimum} \u0E2B\u0E23\u0E37\u0E2D\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32",
|
|
3777
|
+
"df.wise.ControlFeedback.minimumDate": "\u0E42\u0E1B\u0E23\u0E14\u0E43\u0E2A\u0E48\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E40\u0E1B\u0E47\u0E19 {minimum} \u0E2B\u0E23\u0E37\u0E2D\u0E2B\u0E25\u0E31\u0E07\u0E08\u0E32\u0E01\u0E19\u0E31\u0E49\u0E19",
|
|
3778
|
+
"df.wise.ControlFeedback.pattern": "\u0E42\u0E1B\u0E23\u0E14\u0E43\u0E2A\u0E48\u0E43\u0E19\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E17\u0E35\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07",
|
|
3779
|
+
"df.wise.ControlFeedback.patternDate": "\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E43\u0E19\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E17\u0E35\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07",
|
|
3780
|
+
"df.wise.ControlFeedback.required": "\u0E42\u0E1B\u0E23\u0E14\u0E43\u0E2A\u0E48\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E43\u0E19\u0E0A\u0E48\u0E2D\u0E07\u0E19\u0E35\u0E49",
|
|
3781
|
+
"df.wise.ControlFeedback.type": "\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07",
|
|
3782
|
+
"df.wise.CopyFeedback.copy": "\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E44\u0E1B\u0E22\u0E31\u0E07\u0E04\u0E25\u0E34\u0E1B\u0E1A\u0E2D\u0E23\u0E4C\u0E14",
|
|
3783
|
+
"df.wise.CopyFeedback.copyFailed": "\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E44\u0E1B\u0E22\u0E31\u0E07\u0E04\u0E25\u0E34\u0E1B\u0E1A\u0E2D\u0E23\u0E4C\u0E14\u0E44\u0E21\u0E48\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08",
|
|
3784
|
+
"df.wise.Decision.all": "\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14",
|
|
3785
|
+
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
3786
|
+
"df.wise.Decision.noResults": "\u0E44\u0E21\u0E48\u0E21\u0E35\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C",
|
|
3787
|
+
"df.wise.Decision.popular": "\u0E2A\u0E01\u0E38\u0E25\u0E22\u0E2D\u0E14\u0E19\u0E34\u0E22\u0E21",
|
|
3788
|
+
"df.wise.Decision.recent": "\u0E25\u0E48\u0E32\u0E2A\u0E38\u0E14",
|
|
3789
|
+
"df.wise.Decision.results": "\u0E1C\u0E25\u0E01\u0E32\u0E23\u0E04\u0E49\u0E19\u0E2B\u0E32",
|
|
3790
|
+
"df.wise.DynamicParagraph.copied": "\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E44\u0E1B\u0E22\u0E31\u0E07\u0E04\u0E25\u0E34\u0E1B\u0E1A\u0E2D\u0E23\u0E4C\u0E14",
|
|
3791
|
+
"df.wise.DynamicParagraph.copy": "\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01",
|
|
3792
|
+
"df.wise.ErrorBoundary.errorAlert": "\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E1A\u0E32\u0E07\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E02\u0E36\u0E49\u0E19",
|
|
3793
|
+
"df.wise.ErrorBoundary.retry": "\u0E25\u0E2D\u0E07\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",
|
|
3794
|
+
"df.wise.ExternalConfirmation.cancel": "\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01",
|
|
3795
|
+
"df.wise.ExternalConfirmation.description": "\u0E42\u0E1B\u0E23\u0E14\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19\u0E27\u0E48\u0E32\u0E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E40\u0E1B\u0E34\u0E14 **{origin}** \u0E40\u0E1B\u0E47\u0E19\u0E41\u0E17\u0E47\u0E1A\u0E43\u0E2B\u0E21\u0E48\u0E43\u0E19\u0E40\u0E1A\u0E23\u0E32\u0E27\u0E4C\u0E40\u0E0B\u0E2D\u0E23\u0E4C",
|
|
3796
|
+
"df.wise.ExternalConfirmation.open": "\u0E40\u0E1B\u0E34\u0E14\u0E43\u0E19\u0E41\u0E17\u0E47\u0E1A\u0E43\u0E2B\u0E21\u0E48",
|
|
3797
|
+
"df.wise.ExternalConfirmation.title": "\u0E42\u0E1B\u0E23\u0E14\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19",
|
|
3798
|
+
"df.wise.Help.ariaLabel": "\u0E04\u0E25\u0E34\u0E01\u0E17\u0E35\u0E48\u0E19\u0E35\u0E48\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E14\u0E39\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21",
|
|
3799
|
+
"df.wise.MultiSelect.summary": "{first} \u0E41\u0E25\u0E30\u0E2D\u0E35\u0E01 {count}",
|
|
3800
|
+
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E44\u0E1F\u0E25\u0E4C\u0E19\u0E31\u0E49\u0E19\u0E43\u0E2B\u0E0D\u0E48\u0E40\u0E01\u0E34\u0E19\u0E44\u0E1B \u0E42\u0E1B\u0E23\u0E14\u0E2D\u0E31\u0E1B\u0E42\u0E2B\u0E25\u0E14\u0E44\u0E1F\u0E25\u0E4C\u0E17\u0E35\u0E48\u0E21\u0E35\u0E02\u0E19\u0E32\u0E14\u0E40\u0E25\u0E47\u0E01\u0E25\u0E07",
|
|
3801
|
+
"df.wise.MultipleFileUploadSchema.maxItemsError": "\u0E42\u0E1B\u0E23\u0E14\u0E2D\u0E31\u0E1B\u0E42\u0E2B\u0E25\u0E14 {maxItems} \u0E44\u0E1F\u0E25\u0E4C\u0E2B\u0E23\u0E37\u0E2D\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32",
|
|
3802
|
+
"df.wise.MultipleFileUploadSchema.minItemsError": "\u0E42\u0E1B\u0E23\u0E14\u0E2D\u0E31\u0E1B\u0E42\u0E2B\u0E25\u0E14\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22 {minItems} \u0E44\u0E1F\u0E25\u0E4C",
|
|
3803
|
+
"df.wise.PersistAsyncSchema.genericError": "\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E1A\u0E32\u0E07\u0E2D\u0E22\u0E48\u0E32\u0E07 \u0E42\u0E1B\u0E23\u0E14\u0E25\u0E2D\u0E07\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",
|
|
3804
|
+
"df.wise.SearchLayout.loading": "\u0E01\u0E33\u0E25\u0E31\u0E07\u0E42\u0E2B\u0E25\u0E14..."
|
|
3805
|
+
};
|
|
3806
|
+
|
|
3807
|
+
// src/i18n/tr.json
|
|
3808
|
+
var tr_default = {
|
|
3809
|
+
"df.wise.ArraySchema.addItem": "Kaydet",
|
|
3810
|
+
"df.wise.ArraySchema.addItemTitle": "\xD6ge ekle",
|
|
3811
|
+
"df.wise.ArraySchema.editItem": "Kaydet",
|
|
3812
|
+
"df.wise.ArraySchema.maxItemsError": "L\xFCtfen {maxItems} veya daha az ekleme yap\u0131n",
|
|
3813
|
+
"df.wise.ArraySchema.minItemsError": "L\xFCtfen en az {minItems} ekleme yap\u0131n.",
|
|
3814
|
+
"df.wise.ArraySchema.removeItem": "Kald\u0131r",
|
|
3815
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "Bu birka\xE7 saniye s\xFCrebilir",
|
|
3816
|
+
"df.wise.ControlFeedback.maxLength": "L\xFCtfen {maxLength} veya daha az karakter girin.",
|
|
3817
|
+
"df.wise.ControlFeedback.maximum": "L\xFCtfen {maximum} veya daha d\xFC\u015F\xFCk bir say\u0131 girin.",
|
|
3818
|
+
"df.wise.ControlFeedback.maximumDate": "L\xFCtfen {maximum} veya daha erken bir tarih girin.",
|
|
3819
|
+
"df.wise.ControlFeedback.minLength": "En az {minLength} karakter girebilirsiniz.",
|
|
3820
|
+
"df.wise.ControlFeedback.minimum": "L\xFCtfen {minimum} veya daha y\xFCksek bir say\u0131 girin.",
|
|
3821
|
+
"df.wise.ControlFeedback.minimumDate": "L\xFCtfen {minimum} veya daha ge\xE7 bir tarih girin.",
|
|
3822
|
+
"df.wise.ControlFeedback.pattern": "Yanl\u0131\u015F bi\xE7im",
|
|
3823
|
+
"df.wise.ControlFeedback.patternDate": "L\xFCtfen tarihi do\u011Fru bi\xE7imde girin.",
|
|
3824
|
+
"df.wise.ControlFeedback.required": "L\xFCtfen bu alan\u0131 doldurun.",
|
|
3825
|
+
"df.wise.ControlFeedback.type": "Ge\xE7ersiz se\xE7im",
|
|
3826
|
+
"df.wise.CopyFeedback.copy": "Panoya kopyaland\u0131",
|
|
3827
|
+
"df.wise.CopyFeedback.copyFailed": "Panoya kopyalama ba\u015Far\u0131s\u0131z oldu",
|
|
3828
|
+
"df.wise.Decision.all": "T\xFCm\xFC",
|
|
3829
|
+
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
3830
|
+
"df.wise.Decision.noResults": "Sonu\xE7 yok",
|
|
3831
|
+
"df.wise.Decision.popular": "Pop\xFCler",
|
|
3832
|
+
"df.wise.Decision.recent": "Yak\u0131n zamanl\u0131",
|
|
3833
|
+
"df.wise.Decision.results": "Arama sonu\xE7lar\u0131",
|
|
3834
|
+
"df.wise.DynamicParagraph.copied": "Panoya kopyaland\u0131",
|
|
3835
|
+
"df.wise.DynamicParagraph.copy": "Kopyala",
|
|
3836
|
+
"df.wise.ErrorBoundary.errorAlert": "Bir sorun olu\u015Ftu.",
|
|
3837
|
+
"df.wise.ErrorBoundary.retry": "Tekrar dene",
|
|
3838
|
+
"df.wise.ExternalConfirmation.cancel": "\u0130ptal edin",
|
|
3839
|
+
"df.wise.ExternalConfirmation.description": "L\xFCtfen yeni bir taray\u0131c\u0131 sekmesinde **{origin}** a\xE7mak istedi\u011Finizi onaylay\u0131n.",
|
|
3840
|
+
"df.wise.ExternalConfirmation.open": "Yeni sekmede a\xE7",
|
|
3841
|
+
"df.wise.ExternalConfirmation.title": "L\xFCtfen onaylay\u0131n",
|
|
3842
|
+
"df.wise.Help.ariaLabel": "Ayr\u0131nt\u0131lar i\xE7in t\u0131klay\u0131n.",
|
|
3843
|
+
"df.wise.MultiSelect.summary": "{first} ve {count} daha",
|
|
3844
|
+
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "\xDCzg\xFCn\xFCz, bu dosya \xE7ok b\xFCy\xFCk. L\xFCtfen daha k\xFC\xE7\xFCk bir dosya y\xFCkleyin.",
|
|
3845
|
+
"df.wise.MultipleFileUploadSchema.maxItemsError": "L\xFCtfen {maxItems} veya daha az dosya y\xFCkleyin.",
|
|
3846
|
+
"df.wise.MultipleFileUploadSchema.minItemsError": "L\xFCtfen en az {minItems} dosya y\xFCkleyin.",
|
|
3847
|
+
"df.wise.PersistAsyncSchema.genericError": "Bir \u015Feyler ters gitti, l\xFCtfen tekrar deneyin.",
|
|
3848
|
+
"df.wise.SearchLayout.loading": "Y\xFCkleniyor..."
|
|
3849
|
+
};
|
|
3850
|
+
|
|
3851
|
+
// src/i18n/zh_CN.json
|
|
3852
|
+
var zh_CN_default = {
|
|
3853
|
+
"df.wise.ArraySchema.addItem": "\u4FDD\u5B58",
|
|
3854
|
+
"df.wise.ArraySchema.addItemTitle": "\u6DFB\u52A0\u9879\u76EE",
|
|
3855
|
+
"df.wise.ArraySchema.editItem": "\u4FDD\u5B58",
|
|
3856
|
+
"df.wise.ArraySchema.maxItemsError": "\u8BF7\u6DFB\u52A0\u4E0D\u8D85\u8FC7 {maxItems} \u9879\u3002",
|
|
3857
|
+
"df.wise.ArraySchema.minItemsError": "\u8BF7\u81F3\u5C11\u6DFB\u52A0 {minItems} \u9879\u3002",
|
|
3858
|
+
"df.wise.ArraySchema.removeItem": "\u79FB\u9664",
|
|
3859
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "\u6B64\u8FC7\u7A0B\u53EF\u80FD\u9700\u8981\u51E0\u79D2\u949F",
|
|
3860
|
+
"df.wise.ControlFeedback.maxLength": "\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC7 {maxLength} \u4E2A\u5B57\u7B26\u3002",
|
|
3861
|
+
"df.wise.ControlFeedback.maximum": "\u8BF7\u8F93\u5165\u4E00\u4E2A\u5C0F\u4E8E\u6216\u7B49\u4E8E {maximum} \u7684\u6570\u5B57\u3002",
|
|
3862
|
+
"df.wise.ControlFeedback.maximumDate": "\u8BF7\u8F93\u5165 {maximum} \u6216\u4E4B\u524D\u7684\u65E5\u671F",
|
|
3863
|
+
"df.wise.ControlFeedback.minLength": "\u8BF7\u81F3\u5C11\u8F93\u5165 {minLength} \u4E2A\u5B57\u7B26",
|
|
3864
|
+
"df.wise.ControlFeedback.minimum": "\u8BF7\u8F93\u5165\u4E00\u4E2A\u5927\u4E8E\u6216\u7B49\u4E8E {minimum} \u7684\u6570\u5B57",
|
|
3865
|
+
"df.wise.ControlFeedback.minimumDate": "\u8BF7\u8F93\u5165 {minimum} \u6216\u4E4B\u540E\u7684\u65E5\u671F",
|
|
3866
|
+
"df.wise.ControlFeedback.pattern": "\u8BF7\u4EE5\u6B63\u786E\u7684\u683C\u5F0F\u8F93\u5165",
|
|
3867
|
+
"df.wise.ControlFeedback.patternDate": "\u8BF7\u4EE5\u6B63\u786E\u7684\u683C\u5F0F\u8F93\u5165\u65E5\u671F",
|
|
3868
|
+
"df.wise.ControlFeedback.required": "\u8BF7\u586B\u5199\u6B64\u5B57\u6BB5\u3002",
|
|
3869
|
+
"df.wise.ControlFeedback.type": "\u7C7B\u578B\u9519\u8BEF",
|
|
3870
|
+
"df.wise.CopyFeedback.copy": "\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F",
|
|
3871
|
+
"df.wise.CopyFeedback.copyFailed": "\u590D\u5236\u5230\u526A\u8D34\u677F\u5931\u8D25",
|
|
3872
|
+
"df.wise.Decision.all": "\u5168\u90E8",
|
|
3873
|
+
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
3874
|
+
"df.wise.Decision.noResults": "\u6682\u65E0\u7ED3\u679C",
|
|
3875
|
+
"df.wise.Decision.popular": "\u70ED\u95E8",
|
|
3876
|
+
"df.wise.Decision.recent": "\u6700\u8FD1",
|
|
3877
|
+
"df.wise.Decision.results": "\u641C\u7D22\u7ED3\u679C",
|
|
3878
|
+
"df.wise.DynamicParagraph.copied": "\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F",
|
|
3879
|
+
"df.wise.DynamicParagraph.copy": "\u590D\u5236",
|
|
3880
|
+
"df.wise.ErrorBoundary.errorAlert": "\u51FA\u9519\u4E86\u3002",
|
|
3881
|
+
"df.wise.ErrorBoundary.retry": "\u91CD\u8BD5",
|
|
3882
|
+
"df.wise.ExternalConfirmation.cancel": "\u53D6\u6D88",
|
|
3883
|
+
"df.wise.ExternalConfirmation.description": "\u8BF7\u786E\u8BA4\u60A8\u662F\u5426\u8981\u5728\u65B0\u6807\u7B7E\u9875\u4E2D\u6253\u5F00**{origin}**\u3002",
|
|
3884
|
+
"df.wise.ExternalConfirmation.open": "\u5728\u65B0\u6807\u7B7E\u9875\u4E2D\u6253\u5F00",
|
|
3885
|
+
"df.wise.ExternalConfirmation.title": "\u8BF7\u786E\u8BA4",
|
|
3886
|
+
"df.wise.Help.ariaLabel": "\u70B9\u51FB\u6B64\u5904\u83B7\u53D6\u66F4\u591A\u4FE1\u606F\u3002",
|
|
3887
|
+
"df.wise.MultiSelect.summary": "{first} \u548C\u5176\u4ED6 {count} \u4E2A",
|
|
3888
|
+
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "\u62B1\u6B49\uFF0C\u8BE5\u6587\u4EF6\u592A\u5927\u3002\u8BF7\u4E0A\u4F20\u4E00\u4E2A\u66F4\u5C0F\u7684\u6587\u4EF6\u3002",
|
|
3889
|
+
"df.wise.MultipleFileUploadSchema.maxItemsError": "\u8BF7\u4E0A\u4F20\u4E0D\u8D85\u8FC7 {maxItems} \u4E2A\u6587\u4EF6\u3002",
|
|
3890
|
+
"df.wise.MultipleFileUploadSchema.minItemsError": "\u8BF7\u4E0A\u4F20\u81F3\u5C11 {minItems} \u4E2A\u6587\u4EF6\u3002",
|
|
3891
|
+
"df.wise.PersistAsyncSchema.genericError": "\u51FA\u9519\u4E86\uFF0C\u8BF7\u91CD\u8BD5\u3002",
|
|
3892
|
+
"df.wise.SearchLayout.loading": "\u6B63\u5728\u52A0\u8F7D\u2026"
|
|
3893
|
+
};
|
|
3689
3894
|
|
|
3690
|
-
//
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3895
|
+
// src/i18n/zh_HK.json
|
|
3896
|
+
var zh_HK_default = {
|
|
3897
|
+
"df.wise.ArraySchema.addItem": "\u5132\u5B58",
|
|
3898
|
+
"df.wise.ArraySchema.addItemTitle": "\u6DFB\u52A0\u9805\u76EE",
|
|
3899
|
+
"df.wise.ArraySchema.editItem": "\u5132\u5B58",
|
|
3900
|
+
"df.wise.ArraySchema.maxItemsError": "\u8ACB\u6DFB\u52A0\u4E0D\u8D85\u904E{maxItems}\u9805\u3002",
|
|
3901
|
+
"df.wise.ArraySchema.minItemsError": "\u8ACB\u81F3\u5C11\u6DFB\u52A0{minItems}\u9805\u3002",
|
|
3902
|
+
"df.wise.ArraySchema.removeItem": "\u79FB\u9664",
|
|
3903
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "\u6B64\u7A0B\u5E8F\u53EF\u80FD\u9700\u6642\u5E7E\u79D2",
|
|
3904
|
+
"df.wise.ControlFeedback.maxLength": "\u8ACB\u8F38\u5165\u6700\u591A{maxLength}\u500B\u5B57\u5143\u3002",
|
|
3905
|
+
"df.wise.ControlFeedback.maximum": "\u8ACB\u8F38\u5165\u4E00\u500B\u5C0F\u65BC\u6216\u7B49\u65BC{maximum}\u7684\u6578\u5B57\u3002",
|
|
3906
|
+
"df.wise.ControlFeedback.maximumDate": "\u8ACB\u8F38\u5165{maximum}\u6216\u4E4B\u524D\u7684\u65E5\u671F\u3002",
|
|
3907
|
+
"df.wise.ControlFeedback.minLength": "\u8ACB\u8F38\u5165\u81F3\u5C11{minLength}\u500B\u5B57\u5143\u3002",
|
|
3908
|
+
"df.wise.ControlFeedback.minimum": "\u8ACB\u8F38\u5165\u4E00\u500B\u5927\u65BC\u6216\u7B49\u65BC{minimum}\u7684\u6578\u5B57\u3002",
|
|
3909
|
+
"df.wise.ControlFeedback.minimumDate": "\u8ACB\u8F38\u5165{minimum}\u6216\u4E4B\u5F8C\u7684\u65E5\u671F\u3002",
|
|
3910
|
+
"df.wise.ControlFeedback.pattern": "\u8ACB\u4EE5\u6B63\u78BA\u683C\u5F0F\u8F38\u5165\u5185\u5BB9\u3002",
|
|
3911
|
+
"df.wise.ControlFeedback.patternDate": "\u8ACB\u4EE5\u6B63\u78BA\u683C\u5F0F\u8F38\u5165\u65E5\u671F\u3002",
|
|
3912
|
+
"df.wise.ControlFeedback.required": "\u8ACB\u586B\u5BEB\u6B64\u6B04\u4F4D\u3002",
|
|
3913
|
+
"df.wise.ControlFeedback.type": "\u932F\u8AA4\u7684\u985E\u578B",
|
|
3914
|
+
"df.wise.CopyFeedback.copy": "\u8907\u88FD\u5230\u526A\u8CBC\u677F",
|
|
3915
|
+
"df.wise.CopyFeedback.copyFailed": "\u7121\u6CD5\u8907\u88FD\u5230\u526A\u8CBC\u677F",
|
|
3916
|
+
"df.wise.Decision.all": "\u5168\u90E8",
|
|
3917
|
+
"df.wise.Decision.filterPlaceholder": "Start typing to search",
|
|
3918
|
+
"df.wise.Decision.noResults": "\u6C92\u6709\u7D50\u679C",
|
|
3919
|
+
"df.wise.Decision.popular": "\u71B1\u9580",
|
|
3920
|
+
"df.wise.Decision.recent": "\u6700\u8FD1\u7684",
|
|
3921
|
+
"df.wise.Decision.results": "\u641C\u5C0B\u7D50\u679C",
|
|
3922
|
+
"df.wise.DynamicParagraph.copied": "\u8907\u88FD\u5230\u526A\u8CBC\u677F",
|
|
3923
|
+
"df.wise.DynamicParagraph.copy": "\u8907\u88FD",
|
|
3924
|
+
"df.wise.ErrorBoundary.errorAlert": "\u51FA\u4E86\u4E9B\u554F\u984C\u3002",
|
|
3925
|
+
"df.wise.ErrorBoundary.retry": "\u91CD\u8A66",
|
|
3926
|
+
"df.wise.ExternalConfirmation.cancel": "\u53D6\u6D88",
|
|
3927
|
+
"df.wise.ExternalConfirmation.description": "\u8ACB\u78BA\u8A8D\u4F60\u662F\u5426\u8981\u5728\u700F\u89BD\u5668\u7684\u65B0\u5206\u9801\u6253\u958B**{origin}**\u3002",
|
|
3928
|
+
"df.wise.ExternalConfirmation.open": "\u5728\u65B0\u5206\u9801\u4E2D\u958B\u555F",
|
|
3929
|
+
"df.wise.ExternalConfirmation.title": "\u8ACB\u78BA\u8A8D",
|
|
3930
|
+
"df.wise.Help.ariaLabel": "\u6309\u6B64\u67E5\u770B\u8A73\u60C5\u3002",
|
|
3931
|
+
"df.wise.MultiSelect.summary": "{first}\u548C\u5176\u4ED6{count}\u9805",
|
|
3932
|
+
"df.wise.MultipleFileUploadSchema.maxFileSizeError": "\u62B1\u6B49\uFF0C\u8A72\u6A94\u6848\u592A\u5927\u3002\u8ACB\u4E0A\u8F09\u4E00\u500B\u8F03\u5C0F\u7684\u6A94\u6848\u3002",
|
|
3933
|
+
"df.wise.MultipleFileUploadSchema.maxItemsError": "\u8ACB\u4E0D\u8981\u4E0A\u8F09\u8D85\u904E{maxItems}\u500B\u6A94\u6848\u3002",
|
|
3934
|
+
"df.wise.MultipleFileUploadSchema.minItemsError": "\u8ACB\u4E0A\u8F09\u81F3\u5C11{minItems}\u500B\u6A94\u6848\u3002",
|
|
3935
|
+
"df.wise.PersistAsyncSchema.genericError": "\u51FA\u73FE\u4E86\u554F\u984C\uFF0C\u8ACB\u518D\u8A66\u4E00\u6B21\u3002",
|
|
3936
|
+
"df.wise.SearchLayout.loading": "\u8F09\u5165\u4E2D\u2026"
|
|
3731
3937
|
};
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
"disabled",
|
|
3755
|
-
"help",
|
|
3756
|
-
"type",
|
|
3757
|
-
"validationState",
|
|
3758
|
-
"maxSize",
|
|
3759
|
-
"onUpload"
|
|
3760
|
-
]);
|
|
3761
|
-
const uploadProps = __spreadProps(__spreadValues({}, rest), { id, name: id, maxSize });
|
|
3762
|
-
const onUploadFile = async (file, fileName) => {
|
|
3763
|
-
try {
|
|
3764
|
-
const convertedFile = file ? await toFile(file, fileName) : null;
|
|
3765
|
-
await onUpload(convertedFile);
|
|
3766
|
-
} catch (e) {
|
|
3767
|
-
await onUpload(null);
|
|
3768
|
-
throw e;
|
|
3769
|
-
}
|
|
3770
|
-
};
|
|
3771
|
-
const filetypes = acceptsToFileTypes(accepts);
|
|
3772
|
-
const usAccept = filetypes === "*" ? "*" : filetypes.join(",");
|
|
3773
|
-
return /* @__PURE__ */ jsx68(
|
|
3774
|
-
FieldInput_default,
|
|
3775
|
-
{
|
|
3776
|
-
id,
|
|
3777
|
-
label: title,
|
|
3778
|
-
description,
|
|
3779
|
-
validation: validationState,
|
|
3780
|
-
help,
|
|
3781
|
-
children: /* @__PURE__ */ jsx68(
|
|
3782
|
-
Upload,
|
|
3783
|
-
__spreadProps(__spreadValues({}, uploadProps), {
|
|
3784
|
-
usAccept,
|
|
3785
|
-
usDisabled: disabled,
|
|
3786
|
-
onSuccess: onUploadFile,
|
|
3787
|
-
onFailure: async () => onUpload(null),
|
|
3788
|
-
onCancel: async () => onUpload(null)
|
|
3789
|
-
})
|
|
3790
|
-
)
|
|
3791
|
-
}
|
|
3792
|
-
);
|
|
3793
|
-
}
|
|
3938
|
+
|
|
3939
|
+
// src/i18n/index.ts
|
|
3940
|
+
var wiseTranslations = {
|
|
3941
|
+
cs: cs_default,
|
|
3942
|
+
en: en_default,
|
|
3943
|
+
de: de_default,
|
|
3944
|
+
es: es_default,
|
|
3945
|
+
fr: fr_default,
|
|
3946
|
+
hu: hu_default,
|
|
3947
|
+
id: id_default,
|
|
3948
|
+
it: it_default,
|
|
3949
|
+
ja: ja_default,
|
|
3950
|
+
nl: nl_default,
|
|
3951
|
+
pl: pl_default,
|
|
3952
|
+
pt: pt_default,
|
|
3953
|
+
ro: ro_default,
|
|
3954
|
+
ru: ru_default,
|
|
3955
|
+
th: th_default,
|
|
3956
|
+
tr: tr_default,
|
|
3957
|
+
zh: zh_CN_default,
|
|
3958
|
+
"zh-CN": zh_CN_default,
|
|
3959
|
+
"zh-HK": zh_HK_default
|
|
3794
3960
|
};
|
|
3961
|
+
var languages = Array.from(
|
|
3962
|
+
/* @__PURE__ */ new Set([...Object.keys(coreTranslations), ...Object.keys(wiseTranslations)])
|
|
3963
|
+
);
|
|
3964
|
+
var translations = languages.reduce(
|
|
3965
|
+
(acc, lang) => __spreadProps(__spreadValues({}, acc), { [lang]: __spreadValues(__spreadValues({}, coreTranslations[lang]), wiseTranslations[lang]) }),
|
|
3966
|
+
{}
|
|
3967
|
+
);
|
|
3968
|
+
var i18n_default = translations;
|
|
3795
3969
|
|
|
3796
|
-
//
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
DateInputRenderer_default,
|
|
3805
|
-
DecisionRenderer_default,
|
|
3806
|
-
DividerRenderer_default,
|
|
3807
|
-
ExternalConfirmationRenderer_default,
|
|
3808
|
-
FormRenderer_default,
|
|
3809
|
-
FormSectionRenderer_default,
|
|
3810
|
-
HeadingRenderer_default,
|
|
3811
|
-
ImageRenderer_default,
|
|
3812
|
-
InstructionsRenderer_default,
|
|
3813
|
-
IntegerInputRenderer_default,
|
|
3814
|
-
LargeUploadRenderer,
|
|
3815
|
-
ListRenderer_default,
|
|
3816
|
-
LoadingIndicatorRenderer_default,
|
|
3817
|
-
MarkdownRenderer_default,
|
|
3818
|
-
ModalRenderer,
|
|
3819
|
-
ModalLayoutRenderer_default,
|
|
3820
|
-
MultiSelectInputRenderer_default,
|
|
3821
|
-
MultiUploadInputRenderer_default,
|
|
3822
|
-
NumberInputRenderer_default,
|
|
3823
|
-
ParagraphRenderer_default,
|
|
3824
|
-
RepeatableRenderer_default,
|
|
3825
|
-
ReviewRenderer_default,
|
|
3826
|
-
SearchRenderer_default,
|
|
3827
|
-
SelectInputRenderer_default,
|
|
3828
|
-
SectionRenderer_default,
|
|
3829
|
-
StatusListRenderer_default,
|
|
3830
|
-
TabsRenderer,
|
|
3831
|
-
TextInputRenderer_default,
|
|
3832
|
-
UploadInputRenderer,
|
|
3833
|
-
SplashStepRenderer,
|
|
3834
|
-
SplashCelebrationStepRenderer,
|
|
3835
|
-
StepRenderer
|
|
3836
|
-
];
|
|
3970
|
+
// src/dynamicFlow/DynamicFlow.tsx
|
|
3971
|
+
import { forwardRef, useCallback, useMemo as useMemo2 } from "react";
|
|
3972
|
+
import { useIntl as useIntl12 } from "react-intl";
|
|
3973
|
+
import {
|
|
3974
|
+
DynamicFlow as DynamicFlowCoreLegacy,
|
|
3975
|
+
DynamicFlowCoreRevamp,
|
|
3976
|
+
DynamicFormCore
|
|
3977
|
+
} from "@wise/dynamic-flow-client";
|
|
3837
3978
|
|
|
3838
3979
|
// src/dynamicFlow/telemetry/app-version.ts
|
|
3839
3980
|
var appVersion = (
|
|
3840
3981
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
3841
|
-
typeof process !== "undefined" ? "4.
|
|
3982
|
+
typeof process !== "undefined" ? "4.23.0" : "0.0.0"
|
|
3842
3983
|
);
|
|
3843
3984
|
|
|
3844
3985
|
// src/dynamicFlow/telemetry/getLogEvent.ts
|
|
@@ -3893,12 +4034,12 @@ var messages_default = defineMessages10({
|
|
|
3893
4034
|
});
|
|
3894
4035
|
|
|
3895
4036
|
// src/dynamicFlow/DynamicFlow.tsx
|
|
3896
|
-
import { jsx as
|
|
4037
|
+
import { jsx as jsx72 } from "react/jsx-runtime";
|
|
3897
4038
|
var wiseRenderers = getWiseRenderers();
|
|
3898
4039
|
function DynamicFlowLegacy(props) {
|
|
3899
4040
|
const { customFetch = globalThis.fetch } = props;
|
|
3900
4041
|
const coreProps = __spreadProps(__spreadValues({}, props), { httpClient: customFetch });
|
|
3901
|
-
return /* @__PURE__ */
|
|
4042
|
+
return /* @__PURE__ */ jsx72(DynamicFlowCoreLegacy, __spreadValues({}, coreProps));
|
|
3902
4043
|
}
|
|
3903
4044
|
function DynamicFlowRevamp(props) {
|
|
3904
4045
|
const {
|
|
@@ -3935,7 +4076,7 @@ function DynamicFlowRevamp(props) {
|
|
|
3935
4076
|
onLink,
|
|
3936
4077
|
onCopy
|
|
3937
4078
|
});
|
|
3938
|
-
return /* @__PURE__ */
|
|
4079
|
+
return /* @__PURE__ */ jsx72("div", { className, children: /* @__PURE__ */ jsx72(DynamicFlowCoreRevamp, __spreadValues({}, coreProps)) });
|
|
3939
4080
|
}
|
|
3940
4081
|
var DynamicForm = forwardRef(function DynamicForm2(props, ref) {
|
|
3941
4082
|
const {
|
|
@@ -3972,7 +4113,7 @@ var DynamicForm = forwardRef(function DynamicForm2(props, ref) {
|
|
|
3972
4113
|
onLink,
|
|
3973
4114
|
onCopy
|
|
3974
4115
|
});
|
|
3975
|
-
return /* @__PURE__ */
|
|
4116
|
+
return /* @__PURE__ */ jsx72("div", { className, children: /* @__PURE__ */ jsx72(DynamicFormCore, __spreadProps(__spreadValues({}, coreProps), { ref })) });
|
|
3976
4117
|
});
|
|
3977
4118
|
var useWiseHttpClient = (httpClient) => {
|
|
3978
4119
|
const { locale } = useIntl12();
|
|
@@ -4004,6 +4145,7 @@ export {
|
|
|
4004
4145
|
DynamicFlowRevamp,
|
|
4005
4146
|
DynamicForm,
|
|
4006
4147
|
JsonSchemaForm,
|
|
4148
|
+
createReviewRenderer,
|
|
4007
4149
|
findRendererPropsByType,
|
|
4008
4150
|
isValidSchema,
|
|
4009
4151
|
makeHttpClient as makeCustomFetch,
|