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