@wise/dynamic-flow-client-internal 4.19.0 → 4.20.0-experimental-1c8f72d
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 +3 -0
- package/build/i18n/de.json +3 -0
- package/build/i18n/en.json +2 -0
- package/build/i18n/es.json +3 -0
- package/build/i18n/fr.json +3 -0
- package/build/i18n/hu.json +3 -0
- package/build/i18n/id.json +3 -0
- package/build/i18n/it.json +3 -0
- package/build/i18n/ja.json +3 -0
- package/build/i18n/nl.json +3 -0
- package/build/i18n/pl.json +3 -0
- package/build/i18n/pt.json +3 -0
- package/build/i18n/ro.json +3 -0
- package/build/i18n/ru.json +3 -0
- package/build/i18n/th.json +3 -0
- package/build/i18n/tr.json +3 -0
- package/build/i18n/uk.json +3 -0
- package/build/i18n/zh_CN.json +3 -0
- package/build/i18n/zh_HK.json +3 -0
- package/build/main.js +149 -79
- package/build/main.mjs +135 -65
- package/build/types/dynamicFlow/messages.d.ts +13 -0
- package/package.json +8 -8
package/build/main.mjs
CHANGED
|
@@ -45,6 +45,7 @@ var de_default = {
|
|
|
45
45
|
"df.wise.ArraySchema.maxItemsError": "Bitte f\xFCge {maxItems} oder weniger hinzu.",
|
|
46
46
|
"df.wise.ArraySchema.minItemsError": "Bitte f\xFCge mindestens {minItems} hinzu.",
|
|
47
47
|
"df.wise.ArraySchema.removeItem": "Entfernen",
|
|
48
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
|
|
48
49
|
"df.wise.ControlFeedback.maxLength": "Bitte gib nicht mehr als {maxLength} Zeichen ein.",
|
|
49
50
|
"df.wise.ControlFeedback.maximum": "Bitte gib eine Zahl ein, die {maximum} oder weniger betr\xE4gt.",
|
|
50
51
|
"df.wise.ControlFeedback.maximumDate": "Bitte gib ein Datum ein, das am oder vor dem {maximum} liegt.",
|
|
@@ -55,6 +56,8 @@ var de_default = {
|
|
|
55
56
|
"df.wise.ControlFeedback.patternDate": "Bitte gib ein Datum im richtigen Format ein.",
|
|
56
57
|
"df.wise.ControlFeedback.required": "Bitte f\xFClle dieses Feld aus.",
|
|
57
58
|
"df.wise.ControlFeedback.type": "Falscher Typ",
|
|
59
|
+
"df.wise.CopyFeedback.copy": "In Zwischenablage kopiert",
|
|
60
|
+
"df.wise.CopyFeedback.copyFailed": "Kopieren in Zwischenablage fehlgeschlagen",
|
|
58
61
|
"df.wise.DynamicParagraph.copied": "In Zwischenablage kopiert",
|
|
59
62
|
"df.wise.DynamicParagraph.copy": "Kopieren",
|
|
60
63
|
"df.wise.ErrorBoundary.errorAlert": "Da ist etwas schiefgegangen.",
|
|
@@ -80,6 +83,7 @@ var en_default = {
|
|
|
80
83
|
"df.wise.ArraySchema.maxItemsError": "Please add {maxItems} or fewer.",
|
|
81
84
|
"df.wise.ArraySchema.minItemsError": "Please add at least {minItems}.",
|
|
82
85
|
"df.wise.ArraySchema.removeItem": "Remove",
|
|
86
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
|
|
83
87
|
"df.wise.ControlFeedback.maxLength": "Please enter {maxLength} or fewer characters.",
|
|
84
88
|
"df.wise.ControlFeedback.maximum": "Please enter a number that's {maximum} or less.",
|
|
85
89
|
"df.wise.ControlFeedback.maximumDate": "Please enter a date that's on or before {maximum}.",
|
|
@@ -90,6 +94,8 @@ var en_default = {
|
|
|
90
94
|
"df.wise.ControlFeedback.patternDate": "Please enter a date in the corrrect format.",
|
|
91
95
|
"df.wise.ControlFeedback.required": "Please fill out this field.",
|
|
92
96
|
"df.wise.ControlFeedback.type": "Incorrect type",
|
|
97
|
+
"df.wise.CopyFeedback.copy": "Copied to clipboard",
|
|
98
|
+
"df.wise.CopyFeedback.copyFailed": "Failed to copy to clipboard",
|
|
93
99
|
"df.wise.DynamicParagraph.copied": "Copied to clipboard",
|
|
94
100
|
"df.wise.DynamicParagraph.copy": "Copy",
|
|
95
101
|
"df.wise.ErrorBoundary.errorAlert": "Something went wrong.",
|
|
@@ -115,6 +121,7 @@ var es_default = {
|
|
|
115
121
|
"df.wise.ArraySchema.maxItemsError": "A\xF1ade {maxItems} o menos.",
|
|
116
122
|
"df.wise.ArraySchema.minItemsError": "A\xF1ade al menos {minItems}.",
|
|
117
123
|
"df.wise.ArraySchema.removeItem": "Eliminar",
|
|
124
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "Esto puede tardar unos segundos",
|
|
118
125
|
"df.wise.ControlFeedback.maxLength": "Introduce {maxLength} caracteres o menos.",
|
|
119
126
|
"df.wise.ControlFeedback.maximum": "Introduce una cifra igual o inferior a {maximum}.",
|
|
120
127
|
"df.wise.ControlFeedback.maximumDate": "Introduce una fecha que sea igual o anterior al {maximum}.",
|
|
@@ -125,6 +132,8 @@ var es_default = {
|
|
|
125
132
|
"df.wise.ControlFeedback.patternDate": "Introduce la fecha en un formato correcto.",
|
|
126
133
|
"df.wise.ControlFeedback.required": "Completa este campo.",
|
|
127
134
|
"df.wise.ControlFeedback.type": "Tipo incorrecto",
|
|
135
|
+
"df.wise.CopyFeedback.copy": "Copiado al portapapeles",
|
|
136
|
+
"df.wise.CopyFeedback.copyFailed": "Error al copiar al portapapeles",
|
|
128
137
|
"df.wise.DynamicParagraph.copied": "Copiado al portapapeles",
|
|
129
138
|
"df.wise.DynamicParagraph.copy": "Copiar",
|
|
130
139
|
"df.wise.ErrorBoundary.errorAlert": "Ha habido un error.",
|
|
@@ -150,6 +159,7 @@ var fr_default = {
|
|
|
150
159
|
"df.wise.ArraySchema.maxItemsError": "Veuillez ajouter {maxItems} ou moins.",
|
|
151
160
|
"df.wise.ArraySchema.minItemsError": "Veuillez ajouter au moins {minItems}.",
|
|
152
161
|
"df.wise.ArraySchema.removeItem": "Supprimer",
|
|
162
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
|
|
153
163
|
"df.wise.ControlFeedback.maxLength": "Veuillez saisir {maxLength} caract\xE8res ou moins.",
|
|
154
164
|
"df.wise.ControlFeedback.maximum": "Veuillez saisir un nombre inf\xE9rieur ou \xE9gal \xE0 {maximum}.",
|
|
155
165
|
"df.wise.ControlFeedback.maximumDate": "Veuillez saisir une date \xE9gale ou ant\xE9rieure au {maximum}.",
|
|
@@ -160,6 +170,8 @@ var fr_default = {
|
|
|
160
170
|
"df.wise.ControlFeedback.patternDate": "Veuillez saisir une date au format correct.",
|
|
161
171
|
"df.wise.ControlFeedback.required": "Champ obligatoire.",
|
|
162
172
|
"df.wise.ControlFeedback.type": "Type incorrect",
|
|
173
|
+
"df.wise.CopyFeedback.copy": "Copi\xE9 dans le presse-papier",
|
|
174
|
+
"df.wise.CopyFeedback.copyFailed": "Impossible de copier dans le presse-papier",
|
|
163
175
|
"df.wise.DynamicParagraph.copied": "Copi\xE9 dans le presse-papier",
|
|
164
176
|
"df.wise.DynamicParagraph.copy": "Copier",
|
|
165
177
|
"df.wise.ErrorBoundary.errorAlert": "Une erreur s'est produite.",
|
|
@@ -185,6 +197,7 @@ var hu_default = {
|
|
|
185
197
|
"df.wise.ArraySchema.maxItemsError": "K\xE9r\xFCnk, {maxItems} vagy ann\xE1l kevesebb t\xE9telt adj meg.",
|
|
186
198
|
"df.wise.ArraySchema.minItemsError": "K\xE9r\xFCnk, legal\xE1bb {minItems} t\xE9telt adj meg.",
|
|
187
199
|
"df.wise.ArraySchema.removeItem": "Elt\xE1vol\xEDt\xE1s",
|
|
200
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
|
|
188
201
|
"df.wise.ControlFeedback.maxLength": "K\xE9r\xFCnk, legfeljebb {maxLength} karaktert adj meg.",
|
|
189
202
|
"df.wise.ControlFeedback.maximum": "K\xE9r\xFCnk, add meg ezt vagy egy enn\xE9l kisebb sz\xE1mot: {maximum}.",
|
|
190
203
|
"df.wise.ControlFeedback.maximumDate": "K\xE9r\xFCnk, adj meg egy d\xE1tumot, ami megegyezik {maximum} napj\xE1val, vagy egy enn\xE9l kor\xE1bbit.",
|
|
@@ -195,6 +208,8 @@ var hu_default = {
|
|
|
195
208
|
"df.wise.ControlFeedback.patternDate": "K\xE9r\xFCnk, hogy a d\xE1tumot helyes form\xE1tumban add meg.",
|
|
196
209
|
"df.wise.ControlFeedback.required": "K\xE9r\xFCnk, t\xF6ltsd ki ezt a mez\u0151t.",
|
|
197
210
|
"df.wise.ControlFeedback.type": "Helytelen t\xEDpus",
|
|
211
|
+
"df.wise.CopyFeedback.copy": "V\xE1g\xF3lapra m\xE1solva",
|
|
212
|
+
"df.wise.CopyFeedback.copyFailed": "Nem siker\xFClt a v\xE1g\xF3lapra m\xE1solni",
|
|
198
213
|
"df.wise.DynamicParagraph.copied": "V\xE1g\xF3lapra m\xE1solva",
|
|
199
214
|
"df.wise.DynamicParagraph.copy": "M\xE1sol\xE1s",
|
|
200
215
|
"df.wise.ErrorBoundary.errorAlert": "Valami hiba t\xF6rt\xE9nt.",
|
|
@@ -220,6 +235,7 @@ var id_default = {
|
|
|
220
235
|
"df.wise.ArraySchema.maxItemsError": "Harap tambahkan {maxItems} atau kurang.",
|
|
221
236
|
"df.wise.ArraySchema.minItemsError": "Harap tambahkan setidaknya {minItems}.",
|
|
222
237
|
"df.wise.ArraySchema.removeItem": "Hapus",
|
|
238
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
|
|
223
239
|
"df.wise.ControlFeedback.maxLength": "Harap masukkan {maxLength} karakter atau kurang.",
|
|
224
240
|
"df.wise.ControlFeedback.maximum": "Harap masukkan angka paling besar {maximum} atau kurang dari itu.",
|
|
225
241
|
"df.wise.ControlFeedback.maximumDate": "Harap masukkan tanggal pada atau sebelum {maximum}.",
|
|
@@ -230,6 +246,8 @@ var id_default = {
|
|
|
230
246
|
"df.wise.ControlFeedback.patternDate": "Harap masukkan tanggal dalam format yang benar.",
|
|
231
247
|
"df.wise.ControlFeedback.required": "Harap isi kolom ini.",
|
|
232
248
|
"df.wise.ControlFeedback.type": "Tipe salah",
|
|
249
|
+
"df.wise.CopyFeedback.copy": "Disalin ke clipboard",
|
|
250
|
+
"df.wise.CopyFeedback.copyFailed": "Gagal menyalin ke clipboard",
|
|
233
251
|
"df.wise.DynamicParagraph.copied": "Disalin ke clipboard",
|
|
234
252
|
"df.wise.DynamicParagraph.copy": "Salin",
|
|
235
253
|
"df.wise.ErrorBoundary.errorAlert": "Terjadi kesalahan.",
|
|
@@ -255,6 +273,7 @@ var it_default = {
|
|
|
255
273
|
"df.wise.ArraySchema.maxItemsError": "Aggiungi al massimo {maxItems}.",
|
|
256
274
|
"df.wise.ArraySchema.minItemsError": "Aggiungi almeno {minItems}.",
|
|
257
275
|
"df.wise.ArraySchema.removeItem": "Rimuovi",
|
|
276
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "Potrebbero volerci un paio di secondi",
|
|
258
277
|
"df.wise.ControlFeedback.maxLength": "Inserisci un massimo di {maxLength} caratteri.",
|
|
259
278
|
"df.wise.ControlFeedback.maximum": "Inserisci un numero uguale o inferiore a {maximum}.",
|
|
260
279
|
"df.wise.ControlFeedback.maximumDate": "Inserisci una data corrispondente o precedente al {maximum}.",
|
|
@@ -265,6 +284,8 @@ var it_default = {
|
|
|
265
284
|
"df.wise.ControlFeedback.patternDate": "Inserisci la data in un formato corretto.",
|
|
266
285
|
"df.wise.ControlFeedback.required": "Compila questo campo.",
|
|
267
286
|
"df.wise.ControlFeedback.type": "Tipo errato",
|
|
287
|
+
"df.wise.CopyFeedback.copy": "Copiato negli appunti",
|
|
288
|
+
"df.wise.CopyFeedback.copyFailed": "Impossibile copiare negli appunti",
|
|
268
289
|
"df.wise.DynamicParagraph.copied": "Copiato negli appunti",
|
|
269
290
|
"df.wise.DynamicParagraph.copy": "Copia",
|
|
270
291
|
"df.wise.ErrorBoundary.errorAlert": "Qualcosa non ha funzionato.",
|
|
@@ -290,6 +311,7 @@ var ja_default = {
|
|
|
290
311
|
"df.wise.ArraySchema.maxItemsError": "{maxItems}\u30A2\u30A4\u30C6\u30E0\u4EE5\u4E0B\u3092\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
291
312
|
"df.wise.ArraySchema.minItemsError": "{minItems}\u30A2\u30A4\u30C6\u30E0\u4EE5\u4E0A\u3092\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
292
313
|
"df.wise.ArraySchema.removeItem": "\u524A\u9664\u3059\u308B",
|
|
314
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
|
|
293
315
|
"df.wise.ControlFeedback.maxLength": "{maxLength}\u6587\u5B57\u4EE5\u4E0B\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
294
316
|
"df.wise.ControlFeedback.maximum": "{maximum}\u4EE5\u4E0B\u306E\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
295
317
|
"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",
|
|
@@ -300,6 +322,8 @@ var ja_default = {
|
|
|
300
322
|
"df.wise.ControlFeedback.patternDate": "\u6B63\u3057\u3044\u5F62\u5F0F\u3067\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
301
323
|
"df.wise.ControlFeedback.required": "\u3053\u306E\u9805\u76EE\u306F\u5165\u529B\u5FC5\u9808\u3067\u3059\u3002",
|
|
302
324
|
"df.wise.ControlFeedback.type": "\u4E0D\u6B63\u306A\u30BF\u30A4\u30D7",
|
|
325
|
+
"df.wise.CopyFeedback.copy": "\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u3078\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F",
|
|
326
|
+
"df.wise.CopyFeedback.copyFailed": "\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F",
|
|
303
327
|
"df.wise.DynamicParagraph.copied": "\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u3078\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F",
|
|
304
328
|
"df.wise.DynamicParagraph.copy": "\u30B3\u30D4\u30FC\u3059\u308B",
|
|
305
329
|
"df.wise.ErrorBoundary.errorAlert": "\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002",
|
|
@@ -325,6 +349,7 @@ var pl_default = {
|
|
|
325
349
|
"df.wise.ArraySchema.maxItemsError": "Prosimy doda\u0107 maksymalnie {maxItems}.",
|
|
326
350
|
"df.wise.ArraySchema.minItemsError": "Prosimy doda\u0107 co najmniej {minItems}.",
|
|
327
351
|
"df.wise.ArraySchema.removeItem": "Usu\u0144",
|
|
352
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
|
|
328
353
|
"df.wise.ControlFeedback.maxLength": "Prosimy wprowadzi\u0107 do {maxLength} znak\xF3w.",
|
|
329
354
|
"df.wise.ControlFeedback.maximum": "Wprowad\u017A liczb\u0119 r\xF3wn\u0105 lub mniejsz\u0105 ni\u017C {maximum}.",
|
|
330
355
|
"df.wise.ControlFeedback.maximumDate": "Wprowad\u017A dat\u0119 nie p\xF3\u017Aniejsz\u0105 ni\u017C {maximum}.",
|
|
@@ -335,6 +360,8 @@ var pl_default = {
|
|
|
335
360
|
"df.wise.ControlFeedback.patternDate": "Wprowad\u017A dat\u0119 w prawid\u0142owym formacie.",
|
|
336
361
|
"df.wise.ControlFeedback.required": "Prosz\u0119 wype\u0142ni\u0107 to pole.",
|
|
337
362
|
"df.wise.ControlFeedback.type": "Nieprawid\u0142owy typ",
|
|
363
|
+
"df.wise.CopyFeedback.copy": "Skopiowano do schowka",
|
|
364
|
+
"df.wise.CopyFeedback.copyFailed": "Nie uda\u0142o si\u0119 skopiowa\u0107 do schowka",
|
|
338
365
|
"df.wise.DynamicParagraph.copied": "Skopiowano do schowka",
|
|
339
366
|
"df.wise.DynamicParagraph.copy": "Kopiuj",
|
|
340
367
|
"df.wise.ErrorBoundary.errorAlert": "Co\u015B posz\u0142o nie tak.",
|
|
@@ -360,6 +387,7 @@ var pt_default = {
|
|
|
360
387
|
"df.wise.ArraySchema.maxItemsError": "Adicione {maxItems} ou menos.",
|
|
361
388
|
"df.wise.ArraySchema.minItemsError": "Adicione pelo menos {minItems}.",
|
|
362
389
|
"df.wise.ArraySchema.removeItem": "Remover",
|
|
390
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
|
|
363
391
|
"df.wise.ControlFeedback.maxLength": "Por favor, insira {maxLength} caracteres ou menos.",
|
|
364
392
|
"df.wise.ControlFeedback.maximum": "Por favor, insira um n\xFAmero que seja {maximum} ou menos.",
|
|
365
393
|
"df.wise.ControlFeedback.maximumDate": "Por favor, insira uma data que seja em ou antes de {maximum}.",
|
|
@@ -370,6 +398,8 @@ var pt_default = {
|
|
|
370
398
|
"df.wise.ControlFeedback.patternDate": "Por favor, insira a data no formato correto.",
|
|
371
399
|
"df.wise.ControlFeedback.required": "Por favor, preencha o campo.",
|
|
372
400
|
"df.wise.ControlFeedback.type": "Tipo incorreto",
|
|
401
|
+
"df.wise.CopyFeedback.copy": "Copiado",
|
|
402
|
+
"df.wise.CopyFeedback.copyFailed": "Falha ao copiar para \xE1rea de transfer\xEAncia",
|
|
373
403
|
"df.wise.DynamicParagraph.copied": "Copiado",
|
|
374
404
|
"df.wise.DynamicParagraph.copy": "Copiar",
|
|
375
405
|
"df.wise.ErrorBoundary.errorAlert": "Algo deu errado.",
|
|
@@ -395,6 +425,7 @@ var ro_default = {
|
|
|
395
425
|
"df.wise.ArraySchema.maxItemsError": "Te rug\u0103m s\u0103 adaugi {maxItems} sau mai pu\u021Bine.",
|
|
396
426
|
"df.wise.ArraySchema.minItemsError": "Te rug\u0103m s\u0103 adaugi cel pu\u021Bin {minItems}.",
|
|
397
427
|
"df.wise.ArraySchema.removeItem": "Elimin\u0103",
|
|
428
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
|
|
398
429
|
"df.wise.ControlFeedback.maxLength": "Te rug\u0103m s\u0103 introduci {maxLength} sau mai pu\u021Bine caractere.",
|
|
399
430
|
"df.wise.ControlFeedback.maximum": "Te rug\u0103m s\u0103 introduci un num\u0103r egal cu {maximum} sau mai mic.",
|
|
400
431
|
"df.wise.ControlFeedback.maximumDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 de \xEEnainte de sau egal\u0103 cu {maximum}.",
|
|
@@ -405,6 +436,8 @@ var ro_default = {
|
|
|
405
436
|
"df.wise.ControlFeedback.patternDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 \xEEn formatul corect.",
|
|
406
437
|
"df.wise.ControlFeedback.required": "Te rug\u0103m s\u0103 completezi acest spa\u021Biu.",
|
|
407
438
|
"df.wise.ControlFeedback.type": "Tip incorect",
|
|
439
|
+
"df.wise.CopyFeedback.copy": "Copiat \xEEn clipboard",
|
|
440
|
+
"df.wise.CopyFeedback.copyFailed": "Copierea \xEEn clipboard a e\u0219uat",
|
|
408
441
|
"df.wise.DynamicParagraph.copied": "Copiat \xEEn clipboard",
|
|
409
442
|
"df.wise.DynamicParagraph.copy": "Copiaz\u0103",
|
|
410
443
|
"df.wise.ErrorBoundary.errorAlert": "Ceva nu a mers bine.",
|
|
@@ -430,6 +463,7 @@ var ru_default = {
|
|
|
430
463
|
"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.",
|
|
431
464
|
"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}.",
|
|
432
465
|
"df.wise.ArraySchema.removeItem": "\u0423\u0434\u0430\u043B\u0438\u0442\u044C",
|
|
466
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
|
|
433
467
|
"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.",
|
|
434
468
|
"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.",
|
|
435
469
|
"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.",
|
|
@@ -440,6 +474,8 @@ var ru_default = {
|
|
|
440
474
|
"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.",
|
|
441
475
|
"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.",
|
|
442
476
|
"df.wise.ControlFeedback.type": "\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0442\u0438\u043F",
|
|
477
|
+
"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",
|
|
478
|
+
"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",
|
|
443
479
|
"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",
|
|
444
480
|
"df.wise.DynamicParagraph.copy": "\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C",
|
|
445
481
|
"df.wise.ErrorBoundary.errorAlert": "\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A.",
|
|
@@ -465,6 +501,7 @@ var th_default = {
|
|
|
465
501
|
"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",
|
|
466
502
|
"df.wise.ArraySchema.minItemsError": "\u0E42\u0E1B\u0E23\u0E14\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22 {minItems}",
|
|
467
503
|
"df.wise.ArraySchema.removeItem": "\u0E25\u0E1A",
|
|
504
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
|
|
468
505
|
"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",
|
|
469
506
|
"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",
|
|
470
507
|
"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",
|
|
@@ -475,6 +512,8 @@ var th_default = {
|
|
|
475
512
|
"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",
|
|
476
513
|
"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",
|
|
477
514
|
"df.wise.ControlFeedback.type": "\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07",
|
|
515
|
+
"df.wise.CopyFeedback.copy": "\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E44\u0E1B\u0E22\u0E31\u0E07\u0E04\u0E25\u0E34\u0E1B\u0E1A\u0E2D\u0E23\u0E4C\u0E14",
|
|
516
|
+
"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",
|
|
478
517
|
"df.wise.DynamicParagraph.copied": "\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E44\u0E1B\u0E22\u0E31\u0E07\u0E04\u0E25\u0E34\u0E1B\u0E1A\u0E2D\u0E23\u0E4C\u0E14",
|
|
479
518
|
"df.wise.DynamicParagraph.copy": "\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01",
|
|
480
519
|
"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",
|
|
@@ -500,6 +539,7 @@ var tr_default = {
|
|
|
500
539
|
"df.wise.ArraySchema.maxItemsError": "L\xFCtfen {maxItems} veya daha az ekleme yap\u0131n",
|
|
501
540
|
"df.wise.ArraySchema.minItemsError": "L\xFCtfen en az {minItems} ekleme yap\u0131n.",
|
|
502
541
|
"df.wise.ArraySchema.removeItem": "Kald\u0131r",
|
|
542
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
|
|
503
543
|
"df.wise.ControlFeedback.maxLength": "L\xFCtfen {maxLength} veya daha az karakter girin.",
|
|
504
544
|
"df.wise.ControlFeedback.maximum": "L\xFCtfen {maximum} veya daha d\xFC\u015F\xFCk bir say\u0131 girin.",
|
|
505
545
|
"df.wise.ControlFeedback.maximumDate": "L\xFCtfen {maximum} veya daha erken bir tarih girin.",
|
|
@@ -510,6 +550,8 @@ var tr_default = {
|
|
|
510
550
|
"df.wise.ControlFeedback.patternDate": "L\xFCtfen tarihi do\u011Fru bi\xE7imde girin.",
|
|
511
551
|
"df.wise.ControlFeedback.required": "L\xFCtfen bu alan\u0131 doldurun.",
|
|
512
552
|
"df.wise.ControlFeedback.type": "Ge\xE7ersiz se\xE7im",
|
|
553
|
+
"df.wise.CopyFeedback.copy": "Panoya kopyaland\u0131",
|
|
554
|
+
"df.wise.CopyFeedback.copyFailed": "Panoya kopyalama ba\u015Far\u0131s\u0131z oldu",
|
|
513
555
|
"df.wise.DynamicParagraph.copied": "Panoya kopyaland\u0131",
|
|
514
556
|
"df.wise.DynamicParagraph.copy": "Kopyala",
|
|
515
557
|
"df.wise.ErrorBoundary.errorAlert": "Bir sorun olu\u015Ftu.",
|
|
@@ -535,6 +577,7 @@ var zh_CN_default = {
|
|
|
535
577
|
"df.wise.ArraySchema.maxItemsError": "\u8BF7\u6DFB\u52A0\u4E0D\u8D85\u8FC7 {maxItems} \u9879\u3002",
|
|
536
578
|
"df.wise.ArraySchema.minItemsError": "\u8BF7\u81F3\u5C11\u6DFB\u52A0 {minItems} \u9879\u3002",
|
|
537
579
|
"df.wise.ArraySchema.removeItem": "\u79FB\u9664",
|
|
580
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
|
|
538
581
|
"df.wise.ControlFeedback.maxLength": "\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC7 {maxLength} \u4E2A\u5B57\u7B26\u3002",
|
|
539
582
|
"df.wise.ControlFeedback.maximum": "\u8BF7\u8F93\u5165\u4E00\u4E2A\u5C0F\u4E8E\u6216\u7B49\u4E8E {maximum} \u7684\u6570\u5B57\u3002",
|
|
540
583
|
"df.wise.ControlFeedback.maximumDate": "\u8BF7\u8F93\u5165 {maximum} \u6216\u4E4B\u524D\u7684\u65E5\u671F",
|
|
@@ -545,6 +588,8 @@ var zh_CN_default = {
|
|
|
545
588
|
"df.wise.ControlFeedback.patternDate": "\u8BF7\u4EE5\u6B63\u786E\u7684\u683C\u5F0F\u8F93\u5165\u65E5\u671F",
|
|
546
589
|
"df.wise.ControlFeedback.required": "\u8BF7\u586B\u5199\u6B64\u5B57\u6BB5\u3002",
|
|
547
590
|
"df.wise.ControlFeedback.type": "\u7C7B\u578B\u9519\u8BEF",
|
|
591
|
+
"df.wise.CopyFeedback.copy": "\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F",
|
|
592
|
+
"df.wise.CopyFeedback.copyFailed": "\u590D\u5236\u5230\u526A\u8D34\u677F\u5931\u8D25",
|
|
548
593
|
"df.wise.DynamicParagraph.copied": "\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F",
|
|
549
594
|
"df.wise.DynamicParagraph.copy": "\u590D\u5236",
|
|
550
595
|
"df.wise.ErrorBoundary.errorAlert": "\u51FA\u9519\u4E86\u3002",
|
|
@@ -570,6 +615,7 @@ var zh_HK_default = {
|
|
|
570
615
|
"df.wise.ArraySchema.maxItemsError": "\u8ACB\u6DFB\u52A0\u4E0D\u8D85\u904E{maxItems}\u9805\u3002",
|
|
571
616
|
"df.wise.ArraySchema.minItemsError": "\u8ACB\u81F3\u5C11\u6DFB\u52A0{minItems}\u9805\u3002",
|
|
572
617
|
"df.wise.ArraySchema.removeItem": "\u79FB\u9664",
|
|
618
|
+
"df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
|
|
573
619
|
"df.wise.ControlFeedback.maxLength": "\u8ACB\u8F38\u5165\u6700\u591A{maxLength}\u500B\u5B57\u5143\u3002",
|
|
574
620
|
"df.wise.ControlFeedback.maximum": "\u8ACB\u8F38\u5165\u4E00\u500B\u5C0F\u65BC\u6216\u7B49\u65BC{maximum}\u7684\u6578\u5B57\u3002",
|
|
575
621
|
"df.wise.ControlFeedback.maximumDate": "\u8ACB\u8F38\u5165{maximum}\u6216\u4E4B\u524D\u7684\u65E5\u671F\u3002",
|
|
@@ -580,6 +626,8 @@ var zh_HK_default = {
|
|
|
580
626
|
"df.wise.ControlFeedback.patternDate": "\u8ACB\u4EE5\u6B63\u78BA\u683C\u5F0F\u8F38\u5165\u65E5\u671F\u3002",
|
|
581
627
|
"df.wise.ControlFeedback.required": "\u8ACB\u586B\u5BEB\u6B64\u6B04\u4F4D\u3002",
|
|
582
628
|
"df.wise.ControlFeedback.type": "\u932F\u8AA4\u7684\u985E\u578B",
|
|
629
|
+
"df.wise.CopyFeedback.copy": "\u8907\u88FD\u5230\u526A\u8CBC\u677F",
|
|
630
|
+
"df.wise.CopyFeedback.copyFailed": "\u7121\u6CD5\u8907\u88FD\u5230\u526A\u8CBC\u677F",
|
|
583
631
|
"df.wise.DynamicParagraph.copied": "\u8907\u88FD\u5230\u526A\u8CBC\u677F",
|
|
584
632
|
"df.wise.DynamicParagraph.copy": "\u8907\u88FD",
|
|
585
633
|
"df.wise.ErrorBoundary.errorAlert": "\u51FA\u4E86\u4E9B\u554F\u984C\u3002",
|
|
@@ -679,33 +727,8 @@ var loading_button_messages_default = defineMessages({
|
|
|
679
727
|
}
|
|
680
728
|
});
|
|
681
729
|
|
|
682
|
-
// ../renderers/src/ButtonRenderer/useLoading.ts
|
|
683
|
-
import { useEffect, useState } from "react";
|
|
684
|
-
var useLoading = (stepLoadingState, onClick) => {
|
|
685
|
-
const [isActive, setIsActive] = useState(false);
|
|
686
|
-
const [isLoading, setIsLoading] = useState(false);
|
|
687
|
-
useEffect(() => {
|
|
688
|
-
if (isActive && stepLoadingState !== "idle") {
|
|
689
|
-
setIsLoading(true);
|
|
690
|
-
}
|
|
691
|
-
if (isLoading && stepLoadingState === "idle") {
|
|
692
|
-
setIsLoading(false);
|
|
693
|
-
setIsActive(false);
|
|
694
|
-
}
|
|
695
|
-
}, [stepLoadingState, isActive, isLoading]);
|
|
696
|
-
return {
|
|
697
|
-
isLoading,
|
|
698
|
-
onClick: () => {
|
|
699
|
-
setIsActive(true);
|
|
700
|
-
onClick();
|
|
701
|
-
},
|
|
702
|
-
onBlur: () => {
|
|
703
|
-
setIsActive(false);
|
|
704
|
-
}
|
|
705
|
-
};
|
|
706
|
-
};
|
|
707
|
-
|
|
708
730
|
// ../renderers/src/ButtonRenderer/AddressValidationButtonRenderer.tsx
|
|
731
|
+
import { useEffect, useState } from "react";
|
|
709
732
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
710
733
|
var AddressValidationButtonRenderer = {
|
|
711
734
|
canRenderType: "button",
|
|
@@ -713,25 +736,29 @@ var AddressValidationButtonRenderer = {
|
|
|
713
736
|
render: AddressValidationButtonComponent
|
|
714
737
|
};
|
|
715
738
|
function AddressValidationButtonComponent(props) {
|
|
716
|
-
const { disabled, margin, title, stepLoadingState } = props;
|
|
739
|
+
const { disabled, margin, title, stepLoadingState, onClick } = props;
|
|
717
740
|
const { formatMessage } = useIntl();
|
|
718
|
-
const
|
|
741
|
+
const [spinny, setSpinny] = useState(false);
|
|
742
|
+
useEffect(() => {
|
|
743
|
+
if (stepLoadingState === "idle") {
|
|
744
|
+
setSpinny(false);
|
|
745
|
+
}
|
|
746
|
+
}, [stepLoadingState]);
|
|
719
747
|
return /* @__PURE__ */ jsxs("div", { className: `d-flex flex-column ${getMargin(margin)}`, children: [
|
|
720
748
|
/* @__PURE__ */ jsx(
|
|
721
749
|
Button,
|
|
722
750
|
{
|
|
723
751
|
v2: true,
|
|
724
752
|
block: true,
|
|
725
|
-
disabled:
|
|
753
|
+
disabled: stepLoadingState !== "idle" || disabled,
|
|
726
754
|
priority: "primary",
|
|
727
755
|
size: "md",
|
|
728
|
-
loading:
|
|
729
|
-
onBlur,
|
|
756
|
+
loading: spinny,
|
|
730
757
|
onClick,
|
|
731
758
|
children: title
|
|
732
759
|
}
|
|
733
760
|
),
|
|
734
|
-
|
|
761
|
+
spinny && /* @__PURE__ */ jsx(InlineAlert, { type: "warning", className: "m-x-auto", children: formatMessage(loading_button_messages_default.buttonLoadingMessage) })
|
|
735
762
|
] });
|
|
736
763
|
}
|
|
737
764
|
var AddressValidationButtonRenderer_default = AddressValidationButtonRenderer;
|
|
@@ -788,14 +815,20 @@ var BoxRenderer_default = BoxRenderer;
|
|
|
788
815
|
|
|
789
816
|
// ../renderers/src/ButtonRenderer/ButtonRenderer.tsx
|
|
790
817
|
import { Button as Button2 } from "@transferwise/components";
|
|
818
|
+
import { useEffect as useEffect2, useState as useState2 } from "react";
|
|
791
819
|
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
792
820
|
var ButtonRenderer = {
|
|
793
821
|
canRenderType: "button",
|
|
794
822
|
render: ButtonComponent
|
|
795
823
|
};
|
|
796
824
|
function ButtonComponent(props) {
|
|
797
|
-
const { control, context, disabled, margin, title, size, stepLoadingState } = props;
|
|
798
|
-
const
|
|
825
|
+
const { control, context, disabled, margin, title, size, stepLoadingState, onClick } = props;
|
|
826
|
+
const [spinny, setSpinny] = useState2(false);
|
|
827
|
+
useEffect2(() => {
|
|
828
|
+
if (stepLoadingState === "idle") {
|
|
829
|
+
setSpinny(false);
|
|
830
|
+
}
|
|
831
|
+
}, [stepLoadingState]);
|
|
799
832
|
const priority = mapControl(control);
|
|
800
833
|
const type = priority === "tertiary" ? void 0 : mapContext(context);
|
|
801
834
|
return /* @__PURE__ */ jsx4(
|
|
@@ -803,13 +836,15 @@ function ButtonComponent(props) {
|
|
|
803
836
|
{
|
|
804
837
|
block: true,
|
|
805
838
|
className: getMargin(margin),
|
|
806
|
-
disabled:
|
|
839
|
+
disabled: stepLoadingState !== "idle" || disabled,
|
|
807
840
|
priority,
|
|
808
841
|
size: mapSize(size),
|
|
809
|
-
loading:
|
|
842
|
+
loading: spinny,
|
|
810
843
|
type,
|
|
811
|
-
|
|
812
|
-
|
|
844
|
+
onClick: () => {
|
|
845
|
+
setSpinny(true);
|
|
846
|
+
onClick();
|
|
847
|
+
},
|
|
813
848
|
children: title
|
|
814
849
|
}
|
|
815
850
|
);
|
|
@@ -1282,7 +1317,7 @@ var external_confirmation_messages_default = defineMessages3({
|
|
|
1282
1317
|
|
|
1283
1318
|
// ../renderers/src/ExternalConfirmationRenderer.tsx
|
|
1284
1319
|
import { useIntl as useIntl3 } from "react-intl";
|
|
1285
|
-
import { useEffect as
|
|
1320
|
+
import { useEffect as useEffect3 } from "react";
|
|
1286
1321
|
import { Fragment, jsx as jsx20, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
1287
1322
|
var ExternalConfirmationRenderer = {
|
|
1288
1323
|
canRenderType: "external-confirmation",
|
|
@@ -1296,7 +1331,7 @@ function ExternalConfirmationRendererComponent({
|
|
|
1296
1331
|
onCancel
|
|
1297
1332
|
}) {
|
|
1298
1333
|
const { formatMessage } = useIntl3();
|
|
1299
|
-
|
|
1334
|
+
useEffect3(() => {
|
|
1300
1335
|
if (url) {
|
|
1301
1336
|
const w = window.open(url, "_blank");
|
|
1302
1337
|
if (w) {
|
|
@@ -1417,7 +1452,7 @@ var HeadingRenderer_default = HeadingRenderer;
|
|
|
1417
1452
|
|
|
1418
1453
|
// ../renderers/src/ImageRenderer/UrlImage.tsx
|
|
1419
1454
|
import { Image } from "@transferwise/components";
|
|
1420
|
-
import { useEffect as
|
|
1455
|
+
import { useEffect as useEffect4, useState as useState3 } from "react";
|
|
1421
1456
|
|
|
1422
1457
|
// ../renderers/src/utils/api-utils.ts
|
|
1423
1458
|
function isRelativePath(url = "") {
|
|
@@ -1436,8 +1471,8 @@ function UrlImage({
|
|
|
1436
1471
|
uri,
|
|
1437
1472
|
httpClient
|
|
1438
1473
|
}) {
|
|
1439
|
-
const [imageSource, setImageSource] =
|
|
1440
|
-
|
|
1474
|
+
const [imageSource, setImageSource] = useState3("");
|
|
1475
|
+
useEffect4(() => {
|
|
1441
1476
|
if (!uri.startsWith("urn:")) {
|
|
1442
1477
|
void getImageSource(httpClient, uri).then(setImageSource);
|
|
1443
1478
|
}
|
|
@@ -1792,7 +1827,7 @@ var MarkdownRenderer_default = MarkdownRenderer;
|
|
|
1792
1827
|
|
|
1793
1828
|
// ../renderers/src/ModalLayoutRenderer.tsx
|
|
1794
1829
|
import { Button as Button4, Modal as Modal2 } from "@transferwise/components";
|
|
1795
|
-
import { useState as
|
|
1830
|
+
import { useState as useState4 } from "react";
|
|
1796
1831
|
import { jsx as jsx35, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
1797
1832
|
var ModalLayoutRenderer = {
|
|
1798
1833
|
canRenderType: "modal-layout",
|
|
@@ -1800,7 +1835,7 @@ var ModalLayoutRenderer = {
|
|
|
1800
1835
|
};
|
|
1801
1836
|
var ModalLayoutRenderer_default = ModalLayoutRenderer;
|
|
1802
1837
|
function DFModal({ content, margin, trigger }) {
|
|
1803
|
-
const [visible, setVisible] =
|
|
1838
|
+
const [visible, setVisible] = useState4(false);
|
|
1804
1839
|
const { children, title } = content;
|
|
1805
1840
|
return /* @__PURE__ */ jsxs9("div", { className: getMargin(margin), children: [
|
|
1806
1841
|
/* @__PURE__ */ jsx35(Button4, { priority: "tertiary", block: true, onClick: () => setVisible(true), children: trigger.title }),
|
|
@@ -1830,7 +1865,7 @@ var ModalRenderer = {
|
|
|
1830
1865
|
|
|
1831
1866
|
// ../renderers/src/MultiSelectInputRenderer.tsx
|
|
1832
1867
|
import { SelectInput, SelectInputOptionContent } from "@transferwise/components";
|
|
1833
|
-
import { useState as
|
|
1868
|
+
import { useState as useState5 } from "react";
|
|
1834
1869
|
import { useIntl as useIntl4 } from "react-intl";
|
|
1835
1870
|
|
|
1836
1871
|
// ../renderers/src/messages/multi-select.messages.ts
|
|
@@ -1851,7 +1886,7 @@ var MultiSelectInputRenderer = {
|
|
|
1851
1886
|
};
|
|
1852
1887
|
function MultiSelectInputRendererComponent(props) {
|
|
1853
1888
|
const { formatMessage } = useIntl4();
|
|
1854
|
-
const [stagedIndices, setStagedIndices] =
|
|
1889
|
+
const [stagedIndices, setStagedIndices] = useState5();
|
|
1855
1890
|
const {
|
|
1856
1891
|
id,
|
|
1857
1892
|
autoComplete,
|
|
@@ -2170,7 +2205,7 @@ var ParagraphRenderer_default = ParagraphRenderer;
|
|
|
2170
2205
|
import { Button as Button6, Header as Header5, InlineAlert as InlineAlert3, Modal as Modal4, NavigationOption as NavigationOption2 } from "@transferwise/components";
|
|
2171
2206
|
import { Plus } from "@transferwise/icons";
|
|
2172
2207
|
import classNames6 from "classnames";
|
|
2173
|
-
import { useState as
|
|
2208
|
+
import { useState as useState6 } from "react";
|
|
2174
2209
|
import { useIntl as useIntl6 } from "react-intl";
|
|
2175
2210
|
|
|
2176
2211
|
// ../renderers/src/messages/repeatable.messages.ts
|
|
@@ -2219,7 +2254,7 @@ function Repeatable(props) {
|
|
|
2219
2254
|
onRemove
|
|
2220
2255
|
} = props;
|
|
2221
2256
|
const { formatMessage } = useIntl6();
|
|
2222
|
-
const [openModalType, setOpenModalType] =
|
|
2257
|
+
const [openModalType, setOpenModalType] = useState6(null);
|
|
2223
2258
|
const onAddItem = () => {
|
|
2224
2259
|
onAdd();
|
|
2225
2260
|
setOpenModalType("add");
|
|
@@ -2385,7 +2420,7 @@ var getFieldValue = (value, help, orientation, onClick) => {
|
|
|
2385
2420
|
|
|
2386
2421
|
// ../renderers/src/SearchRenderer/BlockSearchRendererComponent.tsx
|
|
2387
2422
|
import { Input as Input4, Markdown as Markdown4, NavigationOption as NavigationOption3, NavigationOptionsList as NavigationOptionsList2 } from "@transferwise/components";
|
|
2388
|
-
import { useState as
|
|
2423
|
+
import { useState as useState7 } from "react";
|
|
2389
2424
|
import { useIntl as useIntl8 } from "react-intl";
|
|
2390
2425
|
|
|
2391
2426
|
// ../renderers/src/messages/search.messages.ts
|
|
@@ -2458,7 +2493,7 @@ function BlockSearchRendererComponent({
|
|
|
2458
2493
|
trackEvent,
|
|
2459
2494
|
onChange
|
|
2460
2495
|
}) {
|
|
2461
|
-
const [hasSearched, setHasSearched] =
|
|
2496
|
+
const [hasSearched, setHasSearched] = useState7(false);
|
|
2462
2497
|
const { formatMessage } = useIntl8();
|
|
2463
2498
|
return /* @__PURE__ */ jsxs15("div", { className: getMargin(margin), children: [
|
|
2464
2499
|
/* @__PURE__ */ jsx45(FieldInput_default, { id, description: "", validation: void 0, help: "", label: title, children: /* @__PURE__ */ jsx45(
|
|
@@ -2530,7 +2565,7 @@ var BlockSearchRendererComponent_default = BlockSearchRendererComponent;
|
|
|
2530
2565
|
// ../renderers/src/SearchRenderer/InlineSearchRendererComponent.tsx
|
|
2531
2566
|
import { Markdown as Markdown5, Typeahead } from "@transferwise/components";
|
|
2532
2567
|
import { Search } from "@transferwise/icons";
|
|
2533
|
-
import { useState as
|
|
2568
|
+
import { useState as useState8 } from "react";
|
|
2534
2569
|
import { useIntl as useIntl9 } from "react-intl";
|
|
2535
2570
|
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
2536
2571
|
function InlineSearchRenderer({
|
|
@@ -2542,7 +2577,7 @@ function InlineSearchRenderer({
|
|
|
2542
2577
|
title,
|
|
2543
2578
|
trackEvent
|
|
2544
2579
|
}) {
|
|
2545
|
-
const [hasSearched, setHasSearched] =
|
|
2580
|
+
const [hasSearched, setHasSearched] = useState8(false);
|
|
2546
2581
|
const intl = useIntl9();
|
|
2547
2582
|
return /* @__PURE__ */ jsx46("div", { className: getMargin(margin), children: /* @__PURE__ */ jsx46(FieldInput_default, { id, description: "", validation: void 0, help: "", label: title, children: /* @__PURE__ */ jsx46(
|
|
2548
2583
|
Typeahead,
|
|
@@ -2675,7 +2710,7 @@ function RadioInputRendererComponent(props) {
|
|
|
2675
2710
|
|
|
2676
2711
|
// ../renderers/src/SelectInputRenderer/TabInputRendererComponent.tsx
|
|
2677
2712
|
import { Tabs } from "@transferwise/components";
|
|
2678
|
-
import { useEffect as
|
|
2713
|
+
import { useEffect as useEffect5 } from "react";
|
|
2679
2714
|
import { Fragment as Fragment6, jsx as jsx50, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
2680
2715
|
function TabInputRendererComponent(props) {
|
|
2681
2716
|
const {
|
|
@@ -2690,7 +2725,7 @@ function TabInputRendererComponent(props) {
|
|
|
2690
2725
|
validationState,
|
|
2691
2726
|
onSelect
|
|
2692
2727
|
} = props;
|
|
2693
|
-
|
|
2728
|
+
useEffect5(() => {
|
|
2694
2729
|
if (!isValidIndex(selectedIndex, options.length)) {
|
|
2695
2730
|
onSelect(0);
|
|
2696
2731
|
}
|
|
@@ -2803,7 +2838,7 @@ function SelectInputRendererComponent(props) {
|
|
|
2803
2838
|
}
|
|
2804
2839
|
|
|
2805
2840
|
// ../renderers/src/SelectInputRenderer/SegmentedInputRendererComponent.tsx
|
|
2806
|
-
import { useEffect as
|
|
2841
|
+
import { useEffect as useEffect6 } from "react";
|
|
2807
2842
|
import { SegmentedControl } from "@transferwise/components";
|
|
2808
2843
|
import { Fragment as Fragment8, jsx as jsx52, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
2809
2844
|
function SegmentedInputRendererComponent(props) {
|
|
@@ -2818,7 +2853,7 @@ function SegmentedInputRendererComponent(props) {
|
|
|
2818
2853
|
validationState,
|
|
2819
2854
|
onSelect
|
|
2820
2855
|
} = props;
|
|
2821
|
-
|
|
2856
|
+
useEffect6(() => {
|
|
2822
2857
|
if (!isValidIndex2(selectedIndex, options.length)) {
|
|
2823
2858
|
onSelect(0);
|
|
2824
2859
|
}
|
|
@@ -2923,12 +2958,12 @@ var mapStatus = (status) => {
|
|
|
2923
2958
|
|
|
2924
2959
|
// ../renderers/src/utils/useCustomTheme.ts
|
|
2925
2960
|
import { useTheme } from "@wise/components-theming";
|
|
2926
|
-
import { useEffect as
|
|
2961
|
+
import { useEffect as useEffect7, useMemo } from "react";
|
|
2927
2962
|
var ThemeRequiredEventName = "Theme Required";
|
|
2928
2963
|
var useCustomTheme = (theme, trackEvent) => {
|
|
2929
2964
|
const previousThemeHookValue = useTheme();
|
|
2930
2965
|
const previousTheme = useMemo(() => previousThemeHookValue.theme, []);
|
|
2931
|
-
|
|
2966
|
+
useEffect7(() => {
|
|
2932
2967
|
trackEvent(ThemeRequiredEventName, { theme });
|
|
2933
2968
|
return theme !== previousTheme ? () => {
|
|
2934
2969
|
trackEvent(ThemeRequiredEventName, { theme: previousTheme });
|
|
@@ -3012,7 +3047,7 @@ function StepRendererComponent(props) {
|
|
|
3012
3047
|
|
|
3013
3048
|
// ../renderers/src/TabsRenderer.tsx
|
|
3014
3049
|
import { Chips, SegmentedControl as SegmentedControl2, Tabs as Tabs2 } from "@transferwise/components";
|
|
3015
|
-
import { useState as
|
|
3050
|
+
import { useState as useState9 } from "react";
|
|
3016
3051
|
import { jsx as jsx59, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
3017
3052
|
var TabsRenderer = {
|
|
3018
3053
|
canRenderType: "tabs",
|
|
@@ -3031,7 +3066,7 @@ var TabsRenderer = {
|
|
|
3031
3066
|
}
|
|
3032
3067
|
};
|
|
3033
3068
|
function TabsRendererComponent({ uid, margin, tabs }) {
|
|
3034
|
-
const [selectedIndex, setSelectedIndex] =
|
|
3069
|
+
const [selectedIndex, setSelectedIndex] = useState9(0);
|
|
3035
3070
|
return /* @__PURE__ */ jsx59("div", { className: getMargin(margin), children: /* @__PURE__ */ jsx59(
|
|
3036
3071
|
Tabs2,
|
|
3037
3072
|
{
|
|
@@ -3052,7 +3087,7 @@ function TabsRendererComponent({ uid, margin, tabs }) {
|
|
|
3052
3087
|
}
|
|
3053
3088
|
function SegmentedTabsRendererComponent({ uid, margin, tabs }) {
|
|
3054
3089
|
var _a;
|
|
3055
|
-
const [selectedIndex, setSelectedIndex] =
|
|
3090
|
+
const [selectedIndex, setSelectedIndex] = useState9(0);
|
|
3056
3091
|
return /* @__PURE__ */ jsxs26("div", { className: getMargin(margin), children: [
|
|
3057
3092
|
/* @__PURE__ */ jsx59(
|
|
3058
3093
|
SegmentedControl2,
|
|
@@ -3074,7 +3109,7 @@ function SegmentedTabsRendererComponent({ uid, margin, tabs }) {
|
|
|
3074
3109
|
}
|
|
3075
3110
|
function ChipsTabsRendererComponent({ margin, tabs }) {
|
|
3076
3111
|
var _a;
|
|
3077
|
-
const [selectedIndex, setSelectedIndex] =
|
|
3112
|
+
const [selectedIndex, setSelectedIndex] = useState9(0);
|
|
3078
3113
|
return /* @__PURE__ */ jsxs26("div", { className: getMargin(margin), children: [
|
|
3079
3114
|
/* @__PURE__ */ jsx59("div", { className: "chips-container", children: /* @__PURE__ */ jsx59(
|
|
3080
3115
|
Chips,
|
|
@@ -3392,6 +3427,21 @@ var getTrackEvent = (onEvent, onAnalytics, onThemeChange) => (name, properties)
|
|
|
3392
3427
|
}
|
|
3393
3428
|
};
|
|
3394
3429
|
|
|
3430
|
+
// src/dynamicFlow/messages.ts
|
|
3431
|
+
import { defineMessages as defineMessages9 } from "react-intl";
|
|
3432
|
+
var messages_default = defineMessages9({
|
|
3433
|
+
copied: {
|
|
3434
|
+
id: "df.wise.CopyFeedback.copy",
|
|
3435
|
+
defaultMessage: "Copied to clipboard",
|
|
3436
|
+
description: "Appears in a snackbar when the copy operation succeeds."
|
|
3437
|
+
},
|
|
3438
|
+
copyFailed: {
|
|
3439
|
+
id: "df.wise.CopyFeedback.copyFailed",
|
|
3440
|
+
defaultMessage: "Failed to copy to clipboard",
|
|
3441
|
+
description: "Appears in a snackbar when the copy operation fails."
|
|
3442
|
+
}
|
|
3443
|
+
});
|
|
3444
|
+
|
|
3395
3445
|
// src/dynamicFlow/DynamicFlow.tsx
|
|
3396
3446
|
import { jsx as jsx63 } from "react/jsx-runtime";
|
|
3397
3447
|
var wiseRenderers = getWiseRenderers();
|
|
@@ -3411,6 +3461,8 @@ function DynamicFlowRevamp(props) {
|
|
|
3411
3461
|
onLink = openLinkInNewTab,
|
|
3412
3462
|
onThemeChange
|
|
3413
3463
|
} = props;
|
|
3464
|
+
const { formatMessage } = useIntl10();
|
|
3465
|
+
const createSnackBar = useSnackBarIfAvailable();
|
|
3414
3466
|
const httpClient = useWiseHttpClient(customFetch);
|
|
3415
3467
|
const mergedRenderers = useMemo2(() => [...renderers != null ? renderers : [], ...wiseRenderers], [renderers]);
|
|
3416
3468
|
const logEvent = useMemo2(() => getLogEvent(onLog), [onLog]);
|
|
@@ -3418,12 +3470,20 @@ function DynamicFlowRevamp(props) {
|
|
|
3418
3470
|
() => getTrackEvent(onEvent, onAnalytics, onThemeChange),
|
|
3419
3471
|
[onEvent, onAnalytics, onThemeChange]
|
|
3420
3472
|
);
|
|
3473
|
+
const onCopy = (copiedContent) => {
|
|
3474
|
+
if (copiedContent) {
|
|
3475
|
+
createSnackBar({ text: formatMessage(messages_default.copied) });
|
|
3476
|
+
} else {
|
|
3477
|
+
createSnackBar({ text: formatMessage(messages_default.copyFailed) });
|
|
3478
|
+
}
|
|
3479
|
+
};
|
|
3421
3480
|
const coreProps = __spreadProps(__spreadValues({}, props), {
|
|
3422
3481
|
httpClient,
|
|
3423
3482
|
renderers: mergedRenderers,
|
|
3424
3483
|
onEvent: trackEvent,
|
|
3425
3484
|
onLog: logEvent,
|
|
3426
|
-
onLink
|
|
3485
|
+
onLink,
|
|
3486
|
+
onCopy
|
|
3427
3487
|
});
|
|
3428
3488
|
return /* @__PURE__ */ jsx63("div", { className, children: /* @__PURE__ */ jsx63(DynamicFlowCoreRevamp, __spreadValues({}, coreProps)) });
|
|
3429
3489
|
}
|
|
@@ -3438,6 +3498,8 @@ var DynamicForm = forwardRef(function DynamicForm2(props, ref) {
|
|
|
3438
3498
|
onLink = openLinkInNewTab,
|
|
3439
3499
|
onThemeChange
|
|
3440
3500
|
} = props;
|
|
3501
|
+
const { formatMessage } = useIntl10();
|
|
3502
|
+
const createSnackBar = useSnackBarIfAvailable();
|
|
3441
3503
|
const httpClient = useWiseHttpClient(customFetch);
|
|
3442
3504
|
const mergedRenderers = useMemo2(() => [...renderers != null ? renderers : [], ...wiseRenderers], [renderers]);
|
|
3443
3505
|
const logEvent = useMemo2(() => getLogEvent(onLog), [onLog]);
|
|
@@ -3445,12 +3507,20 @@ var DynamicForm = forwardRef(function DynamicForm2(props, ref) {
|
|
|
3445
3507
|
() => getTrackEvent(onEvent, onAnalytics, onThemeChange),
|
|
3446
3508
|
[onEvent, onAnalytics, onThemeChange]
|
|
3447
3509
|
);
|
|
3510
|
+
const onCopy = (copiedContent) => {
|
|
3511
|
+
if (copiedContent) {
|
|
3512
|
+
createSnackBar({ text: formatMessage(messages_default.copied) });
|
|
3513
|
+
} else {
|
|
3514
|
+
createSnackBar({ text: formatMessage(messages_default.copyFailed) });
|
|
3515
|
+
}
|
|
3516
|
+
};
|
|
3448
3517
|
const coreProps = __spreadProps(__spreadValues({}, props), {
|
|
3449
3518
|
httpClient,
|
|
3450
3519
|
renderers: mergedRenderers,
|
|
3451
3520
|
onEvent: trackEvent,
|
|
3452
3521
|
onLog: logEvent,
|
|
3453
|
-
onLink
|
|
3522
|
+
onLink,
|
|
3523
|
+
onCopy
|
|
3454
3524
|
});
|
|
3455
3525
|
return /* @__PURE__ */ jsx63("div", { className, children: /* @__PURE__ */ jsx63(DynamicFormCore, __spreadProps(__spreadValues({}, coreProps), { ref })) });
|
|
3456
3526
|
});
|