@wise/dynamic-flow-client-internal 2.1.2 → 2.1.3
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/main.js +520 -516
- package/build/main.min.js +1 -1
- package/package.json +2 -2
package/build/main.js
CHANGED
|
@@ -51,40 +51,40 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
51
51
|
var require_main_min = __commonJS({
|
|
52
52
|
"../core/build/main.min.js"(exports, module2) {
|
|
53
53
|
"use strict";
|
|
54
|
-
var
|
|
55
|
-
var
|
|
56
|
-
var
|
|
57
|
-
var
|
|
58
|
-
var
|
|
59
|
-
var
|
|
54
|
+
var wl = Object.create;
|
|
55
|
+
var $t = Object.defineProperty;
|
|
56
|
+
var Fl = Object.defineProperties;
|
|
57
|
+
var Cl = Object.getOwnPropertyDescriptor;
|
|
58
|
+
var xl = Object.getOwnPropertyDescriptors;
|
|
59
|
+
var Al = Object.getOwnPropertyNames;
|
|
60
60
|
var ja = Object.getOwnPropertySymbols;
|
|
61
|
-
var
|
|
61
|
+
var vl = Object.getPrototypeOf;
|
|
62
62
|
var Ua = Object.prototype.hasOwnProperty;
|
|
63
|
-
var
|
|
64
|
-
var Va = (e, t, r) => t in e ?
|
|
63
|
+
var Ol = Object.prototype.propertyIsEnumerable;
|
|
64
|
+
var Va = (e, t, r) => t in e ? $t(e, t, { enumerable: true, configurable: true, writable: true, value: r }) : e[t] = r;
|
|
65
65
|
var i = (e, t) => {
|
|
66
66
|
for (var r in t ||= {})
|
|
67
67
|
Ua.call(t, r) && Va(e, r, t[r]);
|
|
68
68
|
if (ja)
|
|
69
69
|
for (var r of ja(t))
|
|
70
|
-
|
|
70
|
+
Ol.call(t, r) && Va(e, r, t[r]);
|
|
71
71
|
return e;
|
|
72
72
|
};
|
|
73
|
-
var b = (e, t) =>
|
|
73
|
+
var b = (e, t) => Fl(e, xl(t));
|
|
74
74
|
var za = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports);
|
|
75
|
-
var
|
|
75
|
+
var Pl = (e, t) => {
|
|
76
76
|
for (var r in t)
|
|
77
|
-
|
|
77
|
+
$t(e, r, { get: t[r], enumerable: true });
|
|
78
78
|
};
|
|
79
79
|
var Ha = (e, t, r, o) => {
|
|
80
80
|
if (t && typeof t == "object" || typeof t == "function")
|
|
81
|
-
for (let a of
|
|
82
|
-
!Ua.call(e, a) && a !== r &&
|
|
81
|
+
for (let a of Al(t))
|
|
82
|
+
!Ua.call(e, a) && a !== r && $t(e, a, { get: () => t[a], enumerable: !(o = Cl(t, a)) || o.enumerable });
|
|
83
83
|
return e;
|
|
84
84
|
};
|
|
85
|
-
var qe = (e, t, r) => (r = e != null ?
|
|
86
|
-
var
|
|
87
|
-
var st = za((
|
|
85
|
+
var qe = (e, t, r) => (r = e != null ? wl(vl(e)) : {}, Ha(t || !e || !e.__esModule ? $t(r, "default", { value: e, enumerable: true }) : r, e));
|
|
86
|
+
var Ml = (e) => Ha($t({}, "__esModule", { value: true }), e);
|
|
87
|
+
var st = za((Rf, Rr) => {
|
|
88
88
|
(function() {
|
|
89
89
|
"use strict";
|
|
90
90
|
var e = {}.hasOwnProperty, t = "[native code]";
|
|
@@ -117,7 +117,7 @@ var require_main_min = __commonJS({
|
|
|
117
117
|
}) : window.classNames = r;
|
|
118
118
|
})();
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var em = za((ur, Aa) => {
|
|
121
121
|
(function(t, r) {
|
|
122
122
|
typeof ur == "object" && typeof Aa == "object" ? Aa.exports = r(require("react")) : typeof define == "function" && define.amd ? define(["react"], r) : typeof ur == "object" ? ur.Webcam = r(require("react")) : t.Webcam = r(t.React);
|
|
123
123
|
})(ur, function(e) {
|
|
@@ -312,21 +312,21 @@ var require_main_min = __commonJS({
|
|
|
312
312
|
} }).default;
|
|
313
313
|
});
|
|
314
314
|
});
|
|
315
|
-
var
|
|
316
|
-
|
|
317
|
-
module2.exports =
|
|
315
|
+
var ip = {};
|
|
316
|
+
Pl(ip, { DynamicFlow: () => Ra, JsonSchemaForm: () => sr, Layout: () => me, convertStepToLayout: () => Wt, inlineReferences: () => Ge, isValidSchema: () => $, makeHttpClient: () => vr, translations: () => fl });
|
|
317
|
+
module2.exports = Ml(ip);
|
|
318
318
|
function Wt(e, { displayStepTitle: t = true } = {}) {
|
|
319
319
|
if (e.layout)
|
|
320
|
-
return
|
|
320
|
+
return Hl(e, t);
|
|
321
321
|
switch (e.type) {
|
|
322
322
|
case "final":
|
|
323
|
-
return Il(e);
|
|
324
|
-
case "decision":
|
|
325
323
|
return Dl(e);
|
|
324
|
+
case "decision":
|
|
325
|
+
return Ll(e);
|
|
326
326
|
case "external":
|
|
327
|
-
return
|
|
327
|
+
return El(e);
|
|
328
328
|
default:
|
|
329
|
-
return
|
|
329
|
+
return Il(e);
|
|
330
330
|
}
|
|
331
331
|
}
|
|
332
332
|
function ho(e) {
|
|
@@ -337,25 +337,25 @@ var require_main_min = __commonJS({
|
|
|
337
337
|
}
|
|
338
338
|
return e.description && t.push(bo(e.description)), t;
|
|
339
339
|
}
|
|
340
|
-
function Ml(e) {
|
|
341
|
-
return [...ho(e), El(e)];
|
|
342
|
-
}
|
|
343
340
|
function El(e) {
|
|
344
|
-
return
|
|
341
|
+
return [...ho(e), kl(e)];
|
|
345
342
|
}
|
|
346
343
|
function kl(e) {
|
|
344
|
+
return { type: "external", requestUrl: e.requestUrl, polling: e.polling, responseHandlers: e.responseHandlers, retryTitle: e.retryTitle };
|
|
345
|
+
}
|
|
346
|
+
function Il(e) {
|
|
347
347
|
let t = ho(e);
|
|
348
|
-
if (e.reviewFields && t.push(
|
|
348
|
+
if (e.reviewFields && t.push(jl(e.reviewFields)), e.schemas && t.push(...Ul(e)), e.actions) {
|
|
349
349
|
let r = e.actions.map(Sr);
|
|
350
350
|
t.push(go(r, "md"));
|
|
351
351
|
}
|
|
352
352
|
return t;
|
|
353
353
|
}
|
|
354
|
-
function
|
|
354
|
+
function Dl(e) {
|
|
355
355
|
let t = [];
|
|
356
356
|
if (e.details) {
|
|
357
357
|
if (e.details.image) {
|
|
358
|
-
let r =
|
|
358
|
+
let r = Bl(e.details.image);
|
|
359
359
|
t.push(r);
|
|
360
360
|
}
|
|
361
361
|
e.details.title && t.push(So(e.details.title)), e.details.description && t.push(bo(e.details.description));
|
|
@@ -366,9 +366,9 @@ var require_main_min = __commonJS({
|
|
|
366
366
|
}
|
|
367
367
|
return t;
|
|
368
368
|
}
|
|
369
|
-
function
|
|
369
|
+
function Ll(e) {
|
|
370
370
|
let t = ho(e);
|
|
371
|
-
return e.options && t.push(
|
|
371
|
+
return e.options && t.push(Nl(e.options)), t;
|
|
372
372
|
}
|
|
373
373
|
function go(e, t) {
|
|
374
374
|
return { type: "box", width: t || "md", components: e };
|
|
@@ -379,48 +379,48 @@ var require_main_min = __commonJS({
|
|
|
379
379
|
function bo(e) {
|
|
380
380
|
return { type: "paragraph", text: e, align: "center" };
|
|
381
381
|
}
|
|
382
|
-
function Ll(e) {
|
|
383
|
-
return { type: "form", schema: e };
|
|
384
|
-
}
|
|
385
382
|
function Tl(e) {
|
|
386
|
-
return { type: "
|
|
383
|
+
return { type: "form", schema: e };
|
|
387
384
|
}
|
|
388
385
|
function Nl(e) {
|
|
386
|
+
return { type: "decision", options: e.map(Rl) };
|
|
387
|
+
}
|
|
388
|
+
function Rl(e) {
|
|
389
389
|
return { title: e.title, description: e.description, action: { title: e.title, method: "GET", url: e.url, disabled: e.disabled } };
|
|
390
390
|
}
|
|
391
391
|
function qa(e) {
|
|
392
392
|
return { type: "image", url: e.url, text: e.text, margin: e.margin || "lg", size: e.size || "md" };
|
|
393
393
|
}
|
|
394
|
-
function
|
|
394
|
+
function Bl(e) {
|
|
395
395
|
return typeof e == "string" ? { type: "image", url: e, text: void 0, margin: "lg", size: "md" } : qa(e);
|
|
396
396
|
}
|
|
397
397
|
function Sr(e) {
|
|
398
398
|
return { type: "button", action: b(i({}, e), { title: e.title }) };
|
|
399
399
|
}
|
|
400
|
-
function Bl(e) {
|
|
401
|
-
return { type: "review", title: e.title, fields: e.fields.map(jl) };
|
|
402
|
-
}
|
|
403
400
|
function jl(e) {
|
|
404
|
-
return {
|
|
401
|
+
return { type: "review", title: e.title, fields: e.fields.map(Vl) };
|
|
405
402
|
}
|
|
406
403
|
function Vl(e) {
|
|
404
|
+
return { label: e.title, value: e.value };
|
|
405
|
+
}
|
|
406
|
+
function Ul(e) {
|
|
407
407
|
let t = [];
|
|
408
408
|
if (e.schemas && e.schemas[0]) {
|
|
409
|
-
let r = e.schemas[0], o =
|
|
410
|
-
|
|
409
|
+
let r = e.schemas[0], o = Tl(r);
|
|
410
|
+
zl() ? t.push(o) : t.push(go([o], "md"));
|
|
411
411
|
}
|
|
412
412
|
return t;
|
|
413
413
|
}
|
|
414
|
-
function
|
|
414
|
+
function zl() {
|
|
415
415
|
return false;
|
|
416
416
|
}
|
|
417
|
-
function
|
|
417
|
+
function Hl(e, t) {
|
|
418
418
|
return [...t && e.title ? [So(e.title)] : [], ...e.description ? [bo(e.description)] : [], ...e.layout || []];
|
|
419
419
|
}
|
|
420
420
|
function Ge({ layout: e, schemas: t, actions: r, model: o }) {
|
|
421
|
-
return e ? t ? e.map((a) => a.type === "form" ?
|
|
421
|
+
return e ? t ? e.map((a) => a.type === "form" ? ql({ formComponent: a, schemas: t }) : a.type === "decision" ? Gl({ decisionComponent: a, actions: r }) : a.type === "button" ? _l({ actionComponent: a, actions: r }) : a.type === "box" ? $l({ boxComponent: a, schemas: t, actions: r, model: o }) : a.type === "columns" ? Wl({ columnsComponent: a, schemas: t, actions: r, model: o }) : a) : e : [];
|
|
422
422
|
}
|
|
423
|
-
function
|
|
423
|
+
function ql({ formComponent: e, schemas: t }) {
|
|
424
424
|
if (e.schemaId)
|
|
425
425
|
return { type: "form", margin: e.margin, schema: Ga(t, e.schemaId) };
|
|
426
426
|
if (e.schema && br(e.schema) && e.schema.$ref)
|
|
@@ -429,15 +429,15 @@ var require_main_min = __commonJS({
|
|
|
429
429
|
return i({}, e);
|
|
430
430
|
throw new Error('Invalid form layout component. Missing "schema" or "schemaId" properties.');
|
|
431
431
|
}
|
|
432
|
-
function
|
|
432
|
+
function Gl({ decisionComponent: e, actions: t }) {
|
|
433
433
|
var o;
|
|
434
|
-
let r = (o = e == null ? void 0 : e.options) == null ? void 0 : o.map((a) => a.action && br(a.action) ? b(i({}, a), { action:
|
|
434
|
+
let r = (o = e == null ? void 0 : e.options) == null ? void 0 : o.map((a) => a.action && br(a.action) ? b(i({}, a), { action: _a(t, a.action.$ref) }) : a);
|
|
435
435
|
return b(i({}, e), { options: r });
|
|
436
436
|
}
|
|
437
|
-
function
|
|
437
|
+
function _l({ actionComponent: e, actions: t }) {
|
|
438
438
|
var r;
|
|
439
439
|
if (e.action && br(e.action) && ((r = e.action) != null && r.$ref)) {
|
|
440
|
-
let o =
|
|
440
|
+
let o = _a(t, e.action.$ref);
|
|
441
441
|
return Sr(o);
|
|
442
442
|
}
|
|
443
443
|
return e;
|
|
@@ -445,7 +445,7 @@ var require_main_min = __commonJS({
|
|
|
445
445
|
function $l({ boxComponent: e, schemas: t, actions: r, model: o }) {
|
|
446
446
|
return b(i({}, e), { components: Ge({ layout: e.components, schemas: t, actions: r, model: o }) });
|
|
447
447
|
}
|
|
448
|
-
function
|
|
448
|
+
function Wl({ columnsComponent: e, schemas: t, actions: r, model: o }) {
|
|
449
449
|
return b(i({}, e), { left: Ge({ layout: e.left, schemas: t, actions: r, model: o }), right: Ge({ layout: e.right, schemas: t, actions: r, model: o }) });
|
|
450
450
|
}
|
|
451
451
|
function Ga(e, t) {
|
|
@@ -454,7 +454,7 @@ var require_main_min = __commonJS({
|
|
|
454
454
|
throw new Error(`Fatal Error. Schema not found. $id ${t}`);
|
|
455
455
|
return r;
|
|
456
456
|
}
|
|
457
|
-
function
|
|
457
|
+
function _a(e, t) {
|
|
458
458
|
let r = e.find((o) => o.$id === t);
|
|
459
459
|
if (!r)
|
|
460
460
|
throw new Error(`Fatal Error. Action not found. $id ${t}`);
|
|
@@ -464,24 +464,24 @@ var require_main_min = __commonJS({
|
|
|
464
464
|
return Object.prototype.hasOwnProperty.call(e, "$ref");
|
|
465
465
|
}
|
|
466
466
|
var xe = require("react");
|
|
467
|
-
var
|
|
467
|
+
var Zm = require("react-intl");
|
|
468
468
|
var wt = require("react");
|
|
469
469
|
var wr = require("react");
|
|
470
|
-
function
|
|
470
|
+
function $a() {
|
|
471
471
|
let [e, t] = (0, wr.useState)(0);
|
|
472
472
|
return { addPendingPromise: (0, wr.useCallback)((o) => {
|
|
473
|
-
t((a) => a + 1), o.catch(
|
|
473
|
+
t((a) => a + 1), o.catch(Jl).finally(() => Kl(() => t((a) => Math.max(0, a - 1))));
|
|
474
474
|
}, [t]), pendingPromises: e };
|
|
475
475
|
}
|
|
476
|
-
var
|
|
477
|
-
var
|
|
476
|
+
var Kl = (e) => setTimeout(() => e(), 0);
|
|
477
|
+
var Jl = () => {
|
|
478
478
|
};
|
|
479
479
|
var Xa = require("react/jsx-runtime");
|
|
480
480
|
var Wa = { loading: false, registerPersistAsyncPromise: (e) => {
|
|
481
481
|
} };
|
|
482
482
|
var Ka = (0, wt.createContext)(Wa);
|
|
483
483
|
var Ja = ({ loading: e, children: t }) => {
|
|
484
|
-
let { pendingPromises: r, addPendingPromise: o } =
|
|
484
|
+
let { pendingPromises: r, addPendingPromise: o } = $a(), a = (0, wt.useMemo)(() => ({ loading: e || r > 0, registerPersistAsyncPromise: o }), [e, r, o]);
|
|
485
485
|
return (0, Xa.jsx)(Ka.Provider, { value: a, children: t });
|
|
486
486
|
};
|
|
487
487
|
var Fr = () => (0, wt.useContext)(Ka) || Wa;
|
|
@@ -514,11 +514,11 @@ var require_main_min = __commonJS({
|
|
|
514
514
|
return ["https://", "http://", "data:"].some((t) => e.slice(0, t.length) === t && e.length > t.length) === false;
|
|
515
515
|
}
|
|
516
516
|
var vr = (e, t) => (r, o) => {
|
|
517
|
-
let a =
|
|
517
|
+
let a = Xl(r, e || ""), n = Yl(o == null ? void 0 : o.headers, t);
|
|
518
518
|
return fetch(a, b(i({}, o || {}), { headers: n }));
|
|
519
519
|
};
|
|
520
|
-
var
|
|
521
|
-
var
|
|
520
|
+
var Xl = (e, t) => typeof e == "string" && Ar(e) ? t + e : e;
|
|
521
|
+
var Yl = (e, t) => {
|
|
522
522
|
if (!e && !t)
|
|
523
523
|
return {};
|
|
524
524
|
let r = new Headers(e);
|
|
@@ -564,14 +564,14 @@ var require_main_min = __commonJS({
|
|
|
564
564
|
var J = (e) => typeof e == "undefined";
|
|
565
565
|
var At = (e) => k(e) && e.length === 0 || (L(e) || z(e)) && Object.keys(e).length === 0;
|
|
566
566
|
function an(e, t) {
|
|
567
|
-
return t.oneOf.some((r) =>
|
|
567
|
+
return t.oneOf.some((r) => _e(e, r) === e) ? e : null;
|
|
568
568
|
}
|
|
569
569
|
function nn(e, t) {
|
|
570
570
|
var o;
|
|
571
|
-
let r = t.oneOf.map((a) =>
|
|
571
|
+
let r = t.oneOf.map((a) => Zl(e, a)).filter((a) => a !== null);
|
|
572
572
|
return r.length === 0 ? null : (o = r.find((a) => a.some((n) => n !== null))) != null ? o : r[0];
|
|
573
573
|
}
|
|
574
|
-
function
|
|
574
|
+
function Zl(e, t) {
|
|
575
575
|
return !Le(t) || !Oe(t) ? null : Co(e, t);
|
|
576
576
|
}
|
|
577
577
|
function sn(e) {
|
|
@@ -606,20 +606,20 @@ var require_main_min = __commonJS({
|
|
|
606
606
|
function dn(e, t) {
|
|
607
607
|
return t.allOf.reduce((r, o) => {
|
|
608
608
|
let a = ie(e, o);
|
|
609
|
-
return
|
|
609
|
+
return _(a) ? i(i({}, r), a) : r;
|
|
610
610
|
}, {});
|
|
611
611
|
}
|
|
612
612
|
function un(e, t) {
|
|
613
|
-
return t.oneOf.map((r) => ie(e, r)).reduce((r, o) => M(r) ? o :
|
|
613
|
+
return t.oneOf.map((r) => ie(e, r)).reduce((r, o) => M(r) ? o : _(r) && _(o) ? pn(r, o) : M(o) ? r : o, null);
|
|
614
614
|
}
|
|
615
615
|
function pn(e, t) {
|
|
616
616
|
return Object.keys(t).reduce((r, o) => {
|
|
617
617
|
let a = e[o], n = t[o];
|
|
618
|
-
return
|
|
618
|
+
return _(a) && _(n) ? b(i({}, r), { [o]: pn(a, n) }) : b(i({}, r), { [o]: t[o] });
|
|
619
619
|
}, i({}, e));
|
|
620
620
|
}
|
|
621
|
-
var vt = (e, t) =>
|
|
622
|
-
function
|
|
621
|
+
var vt = (e, t) => _(e) ? ie(e, t) : xo(e) ? Ql(e, t) : _e(e, t);
|
|
622
|
+
function _e(e, t) {
|
|
623
623
|
if (M(e))
|
|
624
624
|
return null;
|
|
625
625
|
if (t.oneOf)
|
|
@@ -643,7 +643,7 @@ var require_main_min = __commonJS({
|
|
|
643
643
|
function ie(e, t) {
|
|
644
644
|
return Te(t) || Le(t) || M(e) ? null : t.allOf ? dn(e, t) : t.oneOf ? un(e, t) : !J(t.const) && e === t.const ? e : Pe(t) ? cn(e, t) : null;
|
|
645
645
|
}
|
|
646
|
-
function
|
|
646
|
+
function Ql(e, t) {
|
|
647
647
|
return fe(t) ? nn(e, t) : Le(t) ? Co(e, t) : null;
|
|
648
648
|
}
|
|
649
649
|
function Kt(e, t = false) {
|
|
@@ -673,7 +673,7 @@ var require_main_min = __commonJS({
|
|
|
673
673
|
function bn(e, t) {
|
|
674
674
|
return !R(t) || z(e) && e.length <= t;
|
|
675
675
|
}
|
|
676
|
-
function
|
|
676
|
+
function $e(e, t, r) {
|
|
677
677
|
if (t.const)
|
|
678
678
|
return Eo(e, t, r);
|
|
679
679
|
if (M(e))
|
|
@@ -690,7 +690,7 @@ var require_main_min = __commonJS({
|
|
|
690
690
|
case "array":
|
|
691
691
|
return Ot(e, t, r);
|
|
692
692
|
case "object":
|
|
693
|
-
return
|
|
693
|
+
return ec(e, t);
|
|
694
694
|
default:
|
|
695
695
|
return [];
|
|
696
696
|
}
|
|
@@ -732,71 +732,71 @@ var require_main_min = __commonJS({
|
|
|
732
732
|
function wn(e, t) {
|
|
733
733
|
return M(e) ? ["type"] : [];
|
|
734
734
|
}
|
|
735
|
-
function Ql(e, t) {
|
|
736
|
-
return $(e) ? z(t.required) ? t.required.map((o) => typeof e[o] != "undefined").reduce((o, a) => o && a, true) ? [] : ["required"] : [] : ["type"];
|
|
737
|
-
}
|
|
738
735
|
function ec(e, t) {
|
|
739
|
-
return
|
|
736
|
+
return _(e) ? z(t.required) ? t.required.map((o) => typeof e[o] != "undefined").reduce((o, a) => o && a, true) ? [] : ["required"] : [] : ["type"];
|
|
740
737
|
}
|
|
741
738
|
function tc(e, t) {
|
|
742
|
-
return !
|
|
739
|
+
return !Oo(e, t).length;
|
|
743
740
|
}
|
|
744
741
|
function rc(e, t) {
|
|
745
|
-
return !
|
|
742
|
+
return !kr(e, t).length;
|
|
746
743
|
}
|
|
747
744
|
function oc(e, t) {
|
|
748
|
-
return !
|
|
745
|
+
return !Po(e, t).length;
|
|
749
746
|
}
|
|
750
747
|
function ac(e, t) {
|
|
751
|
-
return !
|
|
748
|
+
return !Mo(e, t).length;
|
|
752
749
|
}
|
|
753
750
|
function nc(e, t) {
|
|
754
|
-
return !
|
|
751
|
+
return !Eo(e, t).length;
|
|
755
752
|
}
|
|
756
|
-
function ic(e, t
|
|
757
|
-
return t.
|
|
753
|
+
function ic(e, t) {
|
|
754
|
+
return !L(e) || t.type !== "object" || !L(t.properties) ? false : Object.keys(t.properties).map((r) => sc(e[r], t.properties[r], t.required && t.required.includes(r))).every((r) => r);
|
|
758
755
|
}
|
|
759
|
-
function sc(e, t) {
|
|
760
|
-
return t.
|
|
756
|
+
function sc(e, t, r) {
|
|
757
|
+
return t.hidden ? true : typeof e == "undefined" ? !r : $(e, t);
|
|
761
758
|
}
|
|
762
759
|
function mc(e, t) {
|
|
763
|
-
return
|
|
760
|
+
return t.type !== "array" || !L(t.items) || Ot(e, t).length > 0 ? false : Array.isArray(e) && Oe(t) && e.map((r) => $(r, t.items)).every((r) => r);
|
|
764
761
|
}
|
|
765
762
|
function lc(e, t) {
|
|
766
|
-
return z(t.
|
|
763
|
+
return z(t.oneOf) ? t.oneOf.some((r) => $(e, r)) : false;
|
|
767
764
|
}
|
|
768
765
|
function cc(e, t) {
|
|
766
|
+
return z(t.allOf) ? t.allOf.map((r) => $(e, r)).every((r) => r) : false;
|
|
767
|
+
}
|
|
768
|
+
function dc(e, t) {
|
|
769
769
|
return !wn(e, t).length;
|
|
770
770
|
}
|
|
771
|
-
function
|
|
771
|
+
function $(e, t) {
|
|
772
772
|
if (t.hidden)
|
|
773
773
|
return true;
|
|
774
774
|
if (t.oneOf)
|
|
775
|
-
return mc(e, t);
|
|
776
|
-
if (t.allOf)
|
|
777
775
|
return lc(e, t);
|
|
776
|
+
if (t.allOf)
|
|
777
|
+
return cc(e, t);
|
|
778
778
|
if (t.const)
|
|
779
|
-
return
|
|
779
|
+
return nc(e, t);
|
|
780
780
|
switch (t.type) {
|
|
781
781
|
case "string":
|
|
782
|
-
return ec(e, t);
|
|
783
|
-
case "number":
|
|
784
782
|
return tc(e, t);
|
|
785
|
-
case "
|
|
783
|
+
case "number":
|
|
786
784
|
return rc(e, t);
|
|
787
|
-
case "
|
|
785
|
+
case "integer":
|
|
788
786
|
return oc(e, t);
|
|
787
|
+
case "boolean":
|
|
788
|
+
return ac(e, t);
|
|
789
789
|
case "array":
|
|
790
|
-
return
|
|
790
|
+
return mc(e, t);
|
|
791
791
|
case "object":
|
|
792
|
-
return
|
|
792
|
+
return ic(e, t);
|
|
793
793
|
case "blob":
|
|
794
|
-
return
|
|
794
|
+
return dc(e, t);
|
|
795
795
|
default:
|
|
796
796
|
return false;
|
|
797
797
|
}
|
|
798
798
|
}
|
|
799
|
-
function
|
|
799
|
+
function uc(e) {
|
|
800
800
|
let t = new Date(e), r = `${t.getMonth() + 1}`, o = `${t.getDate()}`, a = t.getFullYear(), n = r.length < 2 ? `0${r}` : r, s = o.length < 2 ? `0${o}` : o;
|
|
801
801
|
return [a, n, s].join("-");
|
|
802
802
|
}
|
|
@@ -806,7 +806,7 @@ var require_main_min = __commonJS({
|
|
|
806
806
|
let [t, r, o] = e.split("-").map((a) => parseInt(a, 10));
|
|
807
807
|
return !R(t) || !R(r) || !R(o) ? null : new Date(t, r - 1, o);
|
|
808
808
|
};
|
|
809
|
-
var xn = (e) =>
|
|
809
|
+
var xn = (e) => uc(e);
|
|
810
810
|
var We = (e, t) => {
|
|
811
811
|
let r, o, a = () => {
|
|
812
812
|
r && (clearTimeout(r), r = null), o = null;
|
|
@@ -821,8 +821,8 @@ var require_main_min = __commonJS({
|
|
|
821
821
|
r !== null && (e(...o), a());
|
|
822
822
|
}, n;
|
|
823
823
|
};
|
|
824
|
-
var Ke = (e, t) => e === t ? true : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((r, o) => Ke(r, t[o])) : !!(An(e) && An(t) &&
|
|
825
|
-
var
|
|
824
|
+
var Ke = (e, t) => e === t ? true : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((r, o) => Ke(r, t[o])) : !!(An(e) && An(t) && pc(e, t));
|
|
825
|
+
var pc = (e, t) => {
|
|
826
826
|
let r = Object.keys(e), o = Object.keys(t);
|
|
827
827
|
return r.length === o.length && r.every((a) => Object.prototype.hasOwnProperty.call(t, a) && Ke(e[a], t[a]));
|
|
828
828
|
};
|
|
@@ -850,11 +850,11 @@ var require_main_min = __commonJS({
|
|
|
850
850
|
function Jt(e) {
|
|
851
851
|
return !!e && !ye(e);
|
|
852
852
|
}
|
|
853
|
-
var
|
|
854
|
-
var
|
|
855
|
-
var
|
|
853
|
+
var fc = (e) => !!e.readOnly && Te(e);
|
|
854
|
+
var yc = (e) => !!e.oneOf && !!e.promotion;
|
|
855
|
+
var hc = /* @__PURE__ */ new Set(["string", "number", "integer", "boolean"]);
|
|
856
856
|
function Te(e) {
|
|
857
|
-
return
|
|
857
|
+
return hc.has(e.type || "") || "const" in e && e.const !== void 0;
|
|
858
858
|
}
|
|
859
859
|
function Pe(e) {
|
|
860
860
|
return e.type === "object";
|
|
@@ -884,25 +884,25 @@ var require_main_min = __commonJS({
|
|
|
884
884
|
function Dr(e) {
|
|
885
885
|
return !!e.persistAsync;
|
|
886
886
|
}
|
|
887
|
-
function
|
|
888
|
-
return Dr(e) && (Pt(e.persistAsync.schema) ||
|
|
887
|
+
function gc(e) {
|
|
888
|
+
return Dr(e) && (Pt(e.persistAsync.schema) || Sc(e.persistAsync.schema));
|
|
889
889
|
}
|
|
890
890
|
var Io = (e) => Te(e) && !!e.validationAsync;
|
|
891
|
-
function
|
|
891
|
+
function Sc(e) {
|
|
892
892
|
return e.type === "string" && e.format === "base64url";
|
|
893
893
|
}
|
|
894
894
|
function Pn(e) {
|
|
895
895
|
return e.type === "string" && e.format === "base64url";
|
|
896
896
|
}
|
|
897
|
-
var Mn = (e) => Le(e) && Oe(e) &&
|
|
898
|
-
var it = (e) =>
|
|
899
|
-
var En = (e) =>
|
|
900
|
-
var
|
|
901
|
-
var
|
|
897
|
+
var Mn = (e) => Le(e) && Oe(e) && gc(e.items);
|
|
898
|
+
var it = (e) => fc(e) ? "readOnly" : Dr(e) ? "persistAsync" : Io(e) ? "validationAsync" : Pe(e) ? "object" : Le(e) ? "array" : yc(e) ? "promotedOneOf" : fe(e) ? "oneOf" : ko(e) ? "allOf" : Te(e) ? "basic" : null;
|
|
899
|
+
var En = (e) => bc(e) && wc(e) && Fc(e);
|
|
900
|
+
var bc = (e) => !e.type || e.type === "form";
|
|
901
|
+
var wc = (e) => {
|
|
902
902
|
var t;
|
|
903
903
|
return ((t = e == null ? void 0 : e.actions) == null ? void 0 : t.length) === 1;
|
|
904
904
|
};
|
|
905
|
-
var
|
|
905
|
+
var Fc = (e) => {
|
|
906
906
|
if (!e.schemas)
|
|
907
907
|
return false;
|
|
908
908
|
let t = Lr(e.schemas);
|
|
@@ -915,8 +915,8 @@ var require_main_min = __commonJS({
|
|
|
915
915
|
return Pn(o) ? o.source === "camera" : false;
|
|
916
916
|
};
|
|
917
917
|
var Lr = (e) => e.filter((t) => Pe(t) ? Object.values((t == null ? void 0 : t.properties) || {}).find((r) => (r == null ? void 0 : r.hidden) !== true) : (t == null ? void 0 : t.hidden) !== true);
|
|
918
|
-
var
|
|
919
|
-
var Do = (e) => M(e) ||
|
|
918
|
+
var _ = (e) => typeof e == "object" && e !== null && e.constructor === Object;
|
|
919
|
+
var Do = (e) => M(e) || _(e);
|
|
920
920
|
var Lo = (e) => ve(e) || R(e) || k(e) || M(e);
|
|
921
921
|
var Tr = (e) => k(e) || M(e);
|
|
922
922
|
var xo = (e) => z(e) ? e.length === 0 ? true : e.every((t) => typeof t == "string" || typeof t == "number" || typeof t == "boolean" || typeof t == "object") : false;
|
|
@@ -966,32 +966,32 @@ var require_main_min = __commonJS({
|
|
|
966
966
|
e && t(e.onError.action);
|
|
967
967
|
}, [t, e]) });
|
|
968
968
|
}
|
|
969
|
-
var
|
|
970
|
-
var
|
|
969
|
+
var Xs = require("react");
|
|
970
|
+
var Ys = require("react-intl");
|
|
971
971
|
var Nn = require("react-intl");
|
|
972
972
|
var Qt = (0, Nn.defineMessages)({ genericError: { id: "dynamicFlows.PersistAsyncSchema.genericError", defaultMessage: "Something went wrong, please try again later!", description: "Generic error message for persist async schema" } });
|
|
973
973
|
var St = require("react");
|
|
974
|
-
var
|
|
974
|
+
var _s = require("react-intl");
|
|
975
975
|
var Rn = { DAY_MONTH_YEAR: "day-month-year", MONTH_YEAR: "month-year" };
|
|
976
976
|
var B = { RADIO: "radio", CHECKBOX: "checkbox", SELECT: "select", FILE: "file", DATE: "date", DATETIME: "date-time", DATELOOKUP: "date-lookup", TEL: "tel", NUMBER: "number", HIDDEN: "hidden", PASSWORD: "password", TEXT: "text", TEXTAREA: "textarea", UPLOAD: "upload", TAB: "tab" };
|
|
977
977
|
var Bn = { SHORT: "short", LONG: "long" };
|
|
978
978
|
var jn = { EXTRA_SMALL: "xs", SMALL: "sm", MEDIUM: "md", LARGE: "lg", EXTRA_LARGE: "xl" };
|
|
979
|
-
var
|
|
979
|
+
var qs = qe(st());
|
|
980
980
|
var le = require("react");
|
|
981
|
-
var
|
|
981
|
+
var _n = require("@transferwise/components");
|
|
982
982
|
var Et = require("@transferwise/components");
|
|
983
983
|
var Un = require("react/jsx-runtime");
|
|
984
|
-
var Mt = (e) =>
|
|
985
|
-
var Fc = (e) => xc.some((t) => e === `flag-${t}`);
|
|
984
|
+
var Mt = (e) => Cc(e) || xc(e);
|
|
986
985
|
var Cc = (e) => Ac.some((t) => e === `flag-${t}`);
|
|
986
|
+
var xc = (e) => vc.some((t) => e === `flag-${t}`);
|
|
987
987
|
var Vn = ({ name: e }) => {
|
|
988
988
|
if (!Mt(e))
|
|
989
989
|
return null;
|
|
990
990
|
let t = e.substring(5);
|
|
991
991
|
return (0, Un.jsx)("img", { src: `https://wise.com/web-art/assets/flags/${t}.svg`, alt: "", "data-testid": `img-flag-${t}` });
|
|
992
992
|
};
|
|
993
|
-
var
|
|
994
|
-
var
|
|
993
|
+
var Ac = ["aed", "ars", "aud", "bdt", "bgn", "bhd", "bnd", "brl", "bwp", "cad", "chf", "clp", "cny", "cop", "crc", "czk", "dkk", "egp", "eur", "fjd", "gbp", "gel", "ghs", "gtq", "hkd", "hrk", "huf", "idr", "ils", "imp", "inr", "isk", "jmd", "jpy", "kes", "krw", "kwd", "lak", "lkr", "lsl", "mad", "mur", "mxn", "myr", "mzn", "nad", "ngn", "nok", "npr", "nzd", "omr", "pab", "pen", "php", "pkr", "pln", "qar", "ron", "rub", "sar", "sek", "sgd", "thb", "tmt", "try", "twd", "tzs", "uah", "ugx", "usd", "uyu", "vnd", "xof", "zar", "zmw"];
|
|
994
|
+
var vc = ["ad", "ae", "ar", "at", "au", "bd", "be", "bg", "bh", "bn", "br", "bw", "ca", "ch", "cl", "cn", "co", "cr", "cy", "cz", "de", "dk", "ee", "eg", "es", "eu", "fi", "fj", "fr", "gb", "ge", "gg", "gh", "gp", "gr", "gt", "hk", "hr", "hu", "id", "ie", "il", "im", "in", "is", "it", "je", "jm", "jp", "ke", "kr", "kw", "la", "li", "lk", "ls", "lt", "lu", "lv", "ma", "mc", "mt", "mu", "mx", "my", "mz", "na", "ng", "nl", "no", "np", "nz", "om", "pa", "pe", "ph", "pk", "pl", "pt", "qa", "ro", "ru", "sa", "se", "sg", "si", "sk", "sm", "th", "tm", "tr", "tw", "tz", "ua", "ug", "us", "uy", "va", "vn", "wi", "xo", "za", "zm"];
|
|
995
995
|
var zn = qe(require("@transferwise/icons"));
|
|
996
996
|
var Gn = require("react/jsx-runtime");
|
|
997
997
|
var Br = (e) => {
|
|
@@ -1004,17 +1004,17 @@ var require_main_min = __commonJS({
|
|
|
1004
1004
|
let t = qn(e), r = zn[t];
|
|
1005
1005
|
return (0, Gn.jsx)(r, { size: 24 });
|
|
1006
1006
|
};
|
|
1007
|
-
var qn = (e) => e.split("-").map(
|
|
1008
|
-
var
|
|
1007
|
+
var qn = (e) => e.split("-").map(Oc).join("");
|
|
1008
|
+
var Oc = (e) => {
|
|
1009
1009
|
var t;
|
|
1010
1010
|
return `${(t = e[0]) == null ? void 0 : t.toUpperCase()}${e.slice(1)}`;
|
|
1011
1011
|
};
|
|
1012
1012
|
var To = require("react/jsx-runtime");
|
|
1013
|
-
var
|
|
1013
|
+
var Pc = ({ type: e }) => Mt(e) ? (0, To.jsx)(Vn, { name: e }) : Br(e) ? (0, To.jsx)(Hn, { name: e }) : null;
|
|
1014
1014
|
function No(e) {
|
|
1015
1015
|
return Br(e) || Mt(e);
|
|
1016
1016
|
}
|
|
1017
|
-
var Je =
|
|
1017
|
+
var Je = Pc;
|
|
1018
1018
|
var er = require("react/jsx-runtime");
|
|
1019
1019
|
var mt = ({ icon: e, image: t }) => {
|
|
1020
1020
|
if (e != null && e.name)
|
|
@@ -1043,7 +1043,7 @@ var require_main_min = __commonJS({
|
|
|
1043
1043
|
return "";
|
|
1044
1044
|
}
|
|
1045
1045
|
};
|
|
1046
|
-
var
|
|
1046
|
+
var Mc = (e) => {
|
|
1047
1047
|
switch (e) {
|
|
1048
1048
|
case "right":
|
|
1049
1049
|
return "text-xs-right";
|
|
@@ -1054,13 +1054,13 @@ var require_main_min = __commonJS({
|
|
|
1054
1054
|
return "";
|
|
1055
1055
|
}
|
|
1056
1056
|
};
|
|
1057
|
-
var Ne = (e) => `${
|
|
1058
|
-
var
|
|
1059
|
-
var
|
|
1057
|
+
var Ne = (e) => `${Mc(e.align)} ${U(e.margin)}`;
|
|
1058
|
+
var $n = require("react/jsx-runtime");
|
|
1059
|
+
var Ec = (e) => {
|
|
1060
1060
|
let t = e.component;
|
|
1061
|
-
return (0,
|
|
1061
|
+
return (0, $n.jsx)(_n.Alert, { type: Ic(kc(t.context)), className: U(t.margin), message: t.markdown });
|
|
1062
1062
|
};
|
|
1063
|
-
var
|
|
1063
|
+
var kc = (e) => {
|
|
1064
1064
|
switch (e) {
|
|
1065
1065
|
case "success":
|
|
1066
1066
|
return "positive";
|
|
@@ -1075,15 +1075,15 @@ var require_main_min = __commonJS({
|
|
|
1075
1075
|
return e;
|
|
1076
1076
|
}
|
|
1077
1077
|
};
|
|
1078
|
-
var
|
|
1079
|
-
var se =
|
|
1078
|
+
var Ic = (e) => !e || !["neutral", "warning", "negative", "positive"].includes(e) ? "neutral" : e;
|
|
1079
|
+
var se = Ec;
|
|
1080
1080
|
var lt = require("react/jsx-runtime");
|
|
1081
|
-
var
|
|
1081
|
+
var Dc = (e) => {
|
|
1082
1082
|
let t = e.component, r = U(t.margin || t.border ? "lg" : "xs");
|
|
1083
|
-
return !t.width || t.width === "xl" ? (0, lt.jsx)("div", { className: r + Wn(t.border), children: (0, lt.jsx)(me, { components: t.components, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }) : (0, lt.jsx)("div", { className: "row", children: (0, lt.jsx)("div", { className: r +
|
|
1083
|
+
return !t.width || t.width === "xl" ? (0, lt.jsx)("div", { className: r + Wn(t.border), children: (0, lt.jsx)(me, { components: t.components, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }) : (0, lt.jsx)("div", { className: "row", children: (0, lt.jsx)("div", { className: r + Lc(t), children: (0, lt.jsx)("div", { className: Wn(t.border), children: (0, lt.jsx)(me, { components: t.components, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }) }) });
|
|
1084
1084
|
};
|
|
1085
1085
|
var Wn = (e) => e ? " well p-b-0" : "";
|
|
1086
|
-
var
|
|
1086
|
+
var Lc = (e) => {
|
|
1087
1087
|
switch (e.width) {
|
|
1088
1088
|
case "xs":
|
|
1089
1089
|
return " col-md-4 col-md-offset-4";
|
|
@@ -1098,18 +1098,18 @@ var require_main_min = __commonJS({
|
|
|
1098
1098
|
return " col-xs-12";
|
|
1099
1099
|
}
|
|
1100
1100
|
};
|
|
1101
|
-
var Ro =
|
|
1101
|
+
var Ro = Dc;
|
|
1102
1102
|
var Yn = require("@transferwise/components");
|
|
1103
|
-
var
|
|
1103
|
+
var Tc = { primary: "primary", secondary: "secondary", link: "tertiary", positive: "primary", negative: "primary" };
|
|
1104
1104
|
var Kn = (e) => {
|
|
1105
1105
|
var r;
|
|
1106
1106
|
let t = e.action.type;
|
|
1107
|
-
return (r = e.control) != null ? r : t ?
|
|
1107
|
+
return (r = e.control) != null ? r : t ? Tc[t] : "secondary";
|
|
1108
1108
|
};
|
|
1109
|
-
var
|
|
1109
|
+
var Nc = { primary: "neutral", secondary: "neutral", link: "neutral", positive: "positive", negative: "negative" };
|
|
1110
1110
|
var Jn = (e) => {
|
|
1111
1111
|
var o;
|
|
1112
|
-
let t = e.action.type, r = (o = e.context) != null ? o : t ?
|
|
1112
|
+
let t = e.action.type, r = (o = e.context) != null ? o : t ? Nc[t] : "neutral";
|
|
1113
1113
|
return r === "neutral" ? "accent" : r;
|
|
1114
1114
|
};
|
|
1115
1115
|
var Xn = (e) => {
|
|
@@ -1126,36 +1126,36 @@ var require_main_min = __commonJS({
|
|
|
1126
1126
|
}
|
|
1127
1127
|
};
|
|
1128
1128
|
var Zn = require("react/jsx-runtime");
|
|
1129
|
-
var
|
|
1129
|
+
var Rc = (e) => {
|
|
1130
1130
|
var u;
|
|
1131
1131
|
let { component: t, onAction: r } = e, o = t.action, a = Jn(t), n = Kn(t), { loading: s } = Fr(), l = U(t.margin || "md");
|
|
1132
1132
|
return (0, Zn.jsx)(Yn.Button, { size: Xn(t.size), type: a, priority: n, block: true, className: l, disabled: t.disabled || o.disabled || s, onClick: () => r(o), children: (u = t.title) != null ? u : o.title });
|
|
1133
1133
|
};
|
|
1134
|
-
var Bo =
|
|
1134
|
+
var Bo = Rc;
|
|
1135
1135
|
var ct = require("react/jsx-runtime");
|
|
1136
|
-
var
|
|
1137
|
-
let t = e.component, { leftWidth: r, rightWidth: o } =
|
|
1136
|
+
var Bc = (e) => {
|
|
1137
|
+
let t = e.component, { leftWidth: r, rightWidth: o } = jc(t.bias);
|
|
1138
1138
|
return (0, ct.jsxs)("div", { className: `${U(t.margin || "xs")} row`, children: [(0, ct.jsx)("div", { className: `${r} m-b-0`, children: (0, ct.jsx)(me, { components: t.left, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }), (0, ct.jsx)("div", { className: `${o} m-b-0`, children: (0, ct.jsx)(me, { components: t.right, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) })] });
|
|
1139
1139
|
};
|
|
1140
|
-
var
|
|
1141
|
-
var jo =
|
|
1140
|
+
var jc = (e) => e === "left" ? { leftWidth: "col-md-8", rightWidth: "col-md-4" } : e === "right" ? { leftWidth: "col-md-4", rightWidth: "col-md-8" } : { leftWidth: "col-md-6", rightWidth: "col-md-6" };
|
|
1141
|
+
var jo = Bc;
|
|
1142
1142
|
var Vr = require("@transferwise/components");
|
|
1143
1143
|
var jr = require("react/jsx-runtime");
|
|
1144
|
-
var
|
|
1145
|
-
var Vo =
|
|
1144
|
+
var Vc = ({ component: e, onAction: t }) => (0, jr.jsx)("div", { className: U(e.margin), children: (0, jr.jsx)(Vr.NavigationOptionsList, { children: e.options.map((r) => (0, jr.jsx)(Vr.NavigationOption, { title: r.title, content: r.description, disabled: r.disabled, media: mt(r), showMediaCircle: false, showMediaAtAllSizes: true, onClick: () => t(r.action) }, JSON.stringify(r))) }) });
|
|
1145
|
+
var Vo = Vc;
|
|
1146
1146
|
var Qn = require("react/jsx-runtime");
|
|
1147
|
-
var
|
|
1147
|
+
var Uc = ({ component: e }) => {
|
|
1148
1148
|
let r = `m-t-0 ${U(e.margin)}`;
|
|
1149
1149
|
return (0, Qn.jsx)("hr", { className: r });
|
|
1150
1150
|
};
|
|
1151
|
-
var Uo =
|
|
1151
|
+
var Uo = Uc;
|
|
1152
1152
|
var kt = require("@transferwise/components");
|
|
1153
1153
|
var Ur = require("react");
|
|
1154
1154
|
var ri = require("react-intl");
|
|
1155
1155
|
var ei = require("react-intl");
|
|
1156
1156
|
var ti = (0, ei.defineMessages)({ retryTitle: { id: "dynamicFlows.DynamicExternal.retryTitle", defaultMessage: "Reopen window", description: "" } });
|
|
1157
1157
|
var Xe = require("react/jsx-runtime");
|
|
1158
|
-
var
|
|
1158
|
+
var zc = ({ component: e, onAction: t }) => {
|
|
1159
1159
|
let { requestUrl: r, responseHandlers: o, polling: a, retryTitle: n } = e, s = (0, ri.useIntl)(), l = (0, Ur.useCallback)(() => window.open(r, "df-external-window"), [r]);
|
|
1160
1160
|
(0, Ur.useEffect)(() => {
|
|
1161
1161
|
l();
|
|
@@ -1163,20 +1163,20 @@ var require_main_min = __commonJS({
|
|
|
1163
1163
|
let u = a && o ? b(i({}, a), { responseHandlers: o }) : void 0;
|
|
1164
1164
|
return Tn(u, t), (0, Xe.jsxs)(Xe.Fragment, { children: [(0, Xe.jsx)(kt.Loader, { size: kt.Size.LARGE, classNames: { "tw-loader": "tw-loader m-x-auto" } }), (0, Xe.jsx)("br", {}), (0, Xe.jsx)(kt.Button, { priority: "tertiary", block: true, onClick: l, children: n || s.formatMessage(ti.retryTitle) })] });
|
|
1165
1165
|
};
|
|
1166
|
-
var zo =
|
|
1166
|
+
var zo = zc;
|
|
1167
1167
|
var Fs = require("react");
|
|
1168
1168
|
var oi = qe(st());
|
|
1169
1169
|
var ai = require("react");
|
|
1170
1170
|
var Ee = require("react/jsx-runtime");
|
|
1171
|
-
var
|
|
1172
|
-
var
|
|
1173
|
-
var
|
|
1171
|
+
var Hc = (e, t) => t.map((r) => ie(e, r) || {});
|
|
1172
|
+
var qc = (e) => e.reduce((t, r) => i(i({}, r), t), {});
|
|
1173
|
+
var Gc = (e) => ({ "col-xs-12": true, "col-sm-6": e === "md", "col-sm-4": e === "sm" });
|
|
1174
1174
|
var ni = (e) => {
|
|
1175
1175
|
let t = (a, n) => {
|
|
1176
1176
|
let s = e.schema.allOf[a];
|
|
1177
|
-
r[a] = ie(n.model, s) || {}, o(r), e.onChange(b(i({}, n), { model:
|
|
1178
|
-
}, [r, o] = (0, ai.useState)(
|
|
1179
|
-
return (0, Ee.jsxs)(Ee.Fragment, { children: [e.schema.title && (0, Ee.jsx)("h3", { className: "page-header", children: e.schema.title }), e.schema.description && (0, Ee.jsx)("p", { children: e.schema.description }), (0, Ee.jsx)("div", { className: "row", children: e.schema.allOf.map((a, n) => (0, Ee.jsx)("div", { className: (0, oi.default)(
|
|
1177
|
+
r[a] = ie(n.model, s) || {}, o(r), e.onChange(b(i({}, n), { model: qc(r) }));
|
|
1178
|
+
}, [r, o] = (0, ai.useState)(Hc(e.model, e.schema.allOf));
|
|
1179
|
+
return (0, Ee.jsxs)(Ee.Fragment, { children: [e.schema.title && (0, Ee.jsx)("h3", { className: "page-header", children: e.schema.title }), e.schema.description && (0, Ee.jsx)("p", { children: e.schema.description }), (0, Ee.jsx)("div", { className: "row", children: e.schema.allOf.map((a, n) => (0, Ee.jsx)("div", { className: (0, oi.default)(Gc(a.width)), children: (0, Ee.jsx)(ue, { schema: a, model: r[n], errors: e.errors, submitted: e.submitted, disabled: e.disabled, onChange: (s) => t(n, b(i({}, s), { model: s.model })), onPersistAsync: e.onPersistAsync }) }, n)) })] });
|
|
1180
1180
|
};
|
|
1181
1181
|
ni.defaultProps = { disabled: false };
|
|
1182
1182
|
var Ho = ni;
|
|
@@ -1191,11 +1191,11 @@ var require_main_min = __commonJS({
|
|
|
1191
1191
|
var Re = require("react/jsx-runtime");
|
|
1192
1192
|
var mi = (e) => {
|
|
1193
1193
|
var l;
|
|
1194
|
-
let t =
|
|
1194
|
+
let t = _c(e.schema), r = i(i(i({}, t), e.validationMessages), e.schema.validationMessages), o = (e.submitted || !e.changed) && !!e.errors, a = !o && (e.submitted || e.changed && e.blurred) && !!((l = e.validations) != null && l.length), n = e.focused && e.schema.description && !a, s = !!e.infoMessage;
|
|
1195
1195
|
return (0, Re.jsxs)("div", { children: [o ? (0, Re.jsx)(zr.InlineAlert, { type: "error", children: e.errors }) : null, a ? (0, Re.jsx)(zr.InlineAlert, { type: "error", children: e.validations.map((u) => (0, Re.jsx)("div", { children: r[u] }, u)) }) : null, (n || s) && (0, Re.jsxs)(zr.InlineAlert, { type: "info", children: [n && (0, Re.jsx)("div", { children: e.schema.description }), s && (0, Re.jsx)("div", { children: e.infoMessage })] })] });
|
|
1196
1196
|
};
|
|
1197
1197
|
mi.defaultProps = { errors: "", validations: [], validationMessages: {}, validationAsyncSuccessMessage: null };
|
|
1198
|
-
function
|
|
1198
|
+
function _c(e) {
|
|
1199
1199
|
let { formatMessage: t, locale: r } = (0, si.useIntl)(), o = { type: t(he.type), minimum: t(he.minimum, { minimum: e.minimum }), maximum: t(he.maximum, { maximum: e.maximum }), minLength: t(he.minLength, { minLength: e.minLength }), maxLength: t(he.maxLength, { maxLength: e.maxLength }), pattern: t(he.pattern), required: t(he.required) };
|
|
1200
1200
|
if (e.format === "date") {
|
|
1201
1201
|
let a = { pattern: t(he.patternDate), minimum: e.minimum ? t(he.minimumDate, { minimum: (0, qo.formatDate)(new Date(e.minimum), r, { timeZone: "UTC", dateStyle: "long" }) }) : void 0, maximum: e.maximum ? t(he.maximumDate, { maximum: (0, qo.formatDate)(new Date(e.maximum), r, { timeZone: "UTC", dateStyle: "long" }) }) : void 0 };
|
|
@@ -1256,7 +1256,7 @@ var require_main_min = __commonJS({
|
|
|
1256
1256
|
t({ model: N, triggerSchema: r, triggerModel: N });
|
|
1257
1257
|
}
|
|
1258
1258
|
let S = Si(u).map((T) => T.id), h = Ot(S, r, e.required), F = !!e.errors || (s || e.submitted) && !!h.length, w = "accepts" in g && g.accepts, v = "maxSize" in g && g.maxSize, O = b(i(i({ multiple: true, className: "form-control", files: u, fileInputName: n, id: n }, w ? { fileTypes: w } : void 0), v ? { sizeLimit: Ir(v) } : void 0), { sizeLimitErrorMessage: ((C = g.validationMessages) == null ? void 0 : C.maxSize) || a.maxFileSizeErrorMessage, maxFiles: e.schema.maxItems, maxFilesErrorMessage: ((D = e.schema.validationMessages) == null ? void 0 : D.maxItems) || a.maxItemsErrorMessage, uploadButtonTitle: g.title, description: g.description, disabled: e.disabled, onUploadFile: (T) => m(T.get(n)), onFilesChange: p, onDeleteFile: () => Promise.resolve() });
|
|
1259
|
-
return (0, It.jsxs)("div", { className: (0, bi.default)("form-group", { "has-error": F }), children: [(0, It.jsx)("label", { className: "d-block control-label", htmlFor: n, children: e.schema.title }), (0, It.jsx)(Hr.UploadInput, i({}, O)), (0, It.jsx)(Be, { changed: s, submitted: e.submitted, errors: e.errors, schema: e.schema, validations: h, validationMessages:
|
|
1259
|
+
return (0, It.jsxs)("div", { className: (0, bi.default)("form-group", { "has-error": F }), children: [(0, It.jsx)("label", { className: "d-block control-label", htmlFor: n, children: e.schema.title }), (0, It.jsx)(Hr.UploadInput, i({}, O)), (0, It.jsx)(Be, { changed: s, submitted: e.submitted, errors: e.errors, schema: e.schema, validations: h, validationMessages: Kc(r, !!e.required, a), infoMessage: null, focused: false, blurred: true })] });
|
|
1260
1260
|
};
|
|
1261
1261
|
wi.defaultProps = { errors: null, required: false };
|
|
1262
1262
|
var Go = wi;
|
|
@@ -1264,18 +1264,18 @@ var require_main_min = __commonJS({
|
|
|
1264
1264
|
return e.filter((t) => !t.error && t.status === "succeeded");
|
|
1265
1265
|
}
|
|
1266
1266
|
function $c(e) {
|
|
1267
|
-
return e.map((t) =>
|
|
1267
|
+
return e.map((t) => Wc(t) ? { id: t, status: Hr.Status.SUCCEEDED } : null).filter((t) => t !== null);
|
|
1268
1268
|
}
|
|
1269
|
-
function
|
|
1269
|
+
function Wc(e) {
|
|
1270
1270
|
return R(e) || k(e);
|
|
1271
1271
|
}
|
|
1272
|
-
function
|
|
1272
|
+
function Kc(e, t, r) {
|
|
1273
1273
|
let { minItems: o, maxItems: a } = e;
|
|
1274
1274
|
return i(i(i({}, t && { required: r.requiredMessage }), o && { minItems: r.minItemsErrorMessage }), a && { maxItems: r.maxItemsErrorMessage });
|
|
1275
1275
|
}
|
|
1276
1276
|
var Lt = require("@transferwise/components");
|
|
1277
1277
|
var ki = require("@transferwise/icons");
|
|
1278
|
-
var
|
|
1278
|
+
var _r = require("react");
|
|
1279
1279
|
var Ii = require("react-intl");
|
|
1280
1280
|
var Ci = require("@transferwise/components");
|
|
1281
1281
|
var Ai = require("react/jsx-runtime");
|
|
@@ -1284,13 +1284,13 @@ var require_main_min = __commonJS({
|
|
|
1284
1284
|
var dt = (0, vi.defineMessages)({ addItemTitle: { id: "dynamicFlows.ArraySchema.addItemTitle", defaultMessage: "Add Item", description: "Label on the button used to open a form to add an item" }, addItem: { id: "dynamicFlows.ArraySchema.addItem", defaultMessage: "Save", description: "Label on the add button used to submit a form that adds an item" }, editItem: { id: "dynamicFlows.ArraySchema.editItem", defaultMessage: "Save", description: "Label on the edit button used to submit a form that edits an item" }, removeItem: { id: "dynamicFlows.ArraySchema.removeItem", defaultMessage: "Remove", description: "Label on the remove button used to confirm deletion of an item" } });
|
|
1285
1285
|
var Oi = require("react-intl");
|
|
1286
1286
|
var Mi = require("react/jsx-runtime");
|
|
1287
|
-
var
|
|
1288
|
-
let { formatMessage: l } = (0, Oi.useIntl)(), u = { layout: [{ type: "form", schema: t.items }, { type: "button", control: "primary", action: { url: e, title: l(e === "add" ? dt.addItem : dt.editItem) } }, { type: "button", context: "negative", action: { url: "remove", title: l(dt.removeItem) } }], title: "", actions: [], schemas: [] };
|
|
1287
|
+
var Jc = ({ type: e, schema: t, model: r, errors: o, submitted: a, onModelChange: n, onAction: s }) => {
|
|
1288
|
+
let { formatMessage: l } = (0, Oi.useIntl)(), u = { layout: [{ type: "form", schema: t.items }, { type: "button", control: "primary", action: { url: e, title: l(e === "add" ? dt.addItem : dt.editItem) } }, ...e === "edit" ? [{ type: "button", context: "negative", action: { url: "remove", title: l(dt.removeItem) } }] : []], title: "", actions: [], schemas: [] };
|
|
1289
1289
|
return (0, Mi.jsx)(qr, { step: u, model: r, stepLayoutOptions: { displayStepTitle: false }, submitted: a, formErrors: o, globalError: null, onAction: (c) => {
|
|
1290
1290
|
s(c.url);
|
|
1291
1291
|
}, onModelChange: n });
|
|
1292
1292
|
};
|
|
1293
|
-
var Pi =
|
|
1293
|
+
var Pi = Jc;
|
|
1294
1294
|
var Gr = (e, t) => {
|
|
1295
1295
|
let r = rr(e, t);
|
|
1296
1296
|
if (r >= 0)
|
|
@@ -1302,19 +1302,19 @@ var require_main_min = __commonJS({
|
|
|
1302
1302
|
if (o >= 0)
|
|
1303
1303
|
return o;
|
|
1304
1304
|
}
|
|
1305
|
-
return nt(e) &&
|
|
1305
|
+
return nt(e) && _(t) && Object.keys(t).length >= 1 ? Dt(e, t) : nt(e) && !J(e.default) && _(e.default) && Object.keys(e.default).length >= 1 ? Dt(e, e.default) : null;
|
|
1306
1306
|
};
|
|
1307
|
-
var rr = (e, t) => e.oneOf.findIndex((r) => !J(t) &&
|
|
1307
|
+
var rr = (e, t) => e.oneOf.findIndex((r) => !J(t) && $(t, r));
|
|
1308
1308
|
function Dt(e, t) {
|
|
1309
1309
|
if (t == null)
|
|
1310
1310
|
return null;
|
|
1311
|
-
let r = e.oneOf.map((o) =>
|
|
1311
|
+
let r = e.oneOf.map((o) => Xc(o).reduce((a, [n, s]) => ye(s) && s.const === t[n] ? a + 2 : Jt(s) && typeof t[n] != "undefined" ? a + 1 : a, 0));
|
|
1312
1312
|
return r.every((o) => o === r[0]) ? null : r.indexOf(Math.max(...r));
|
|
1313
1313
|
}
|
|
1314
|
-
function
|
|
1314
|
+
function Xc(e) {
|
|
1315
1315
|
return e.properties !== null && typeof e.properties == "object" ? Object.entries(e.properties) : [];
|
|
1316
1316
|
}
|
|
1317
|
-
var
|
|
1317
|
+
var _o = (e, t, r = {}) => {
|
|
1318
1318
|
let { defaultTitle: o = "", defaultDescription: a = "", defaultIcon: n, defaultImage: s } = r, l = Ye({ schema: e, model: t, providesProp: "providesTitle", getValueFromSchema: Ei }), u = Ye({ schema: e, model: t, providesProp: "providesDescription", getValueFromSchema: Ei }), c = Ye({ schema: e, model: t, providesProp: "providesIcon", getValueFromSchema: (g) => {
|
|
1319
1319
|
var f;
|
|
1320
1320
|
return (f = g.icon) != null ? f : null;
|
|
@@ -1326,32 +1326,32 @@ var require_main_min = __commonJS({
|
|
|
1326
1326
|
};
|
|
1327
1327
|
var Ye = (e) => {
|
|
1328
1328
|
let { schema: t, model: r, providesProp: o, getValueFromSchema: a } = e;
|
|
1329
|
-
if (
|
|
1329
|
+
if (ed(t.summary, o))
|
|
1330
1330
|
return a(t, r);
|
|
1331
1331
|
switch (it(t)) {
|
|
1332
1332
|
case "object":
|
|
1333
|
-
return Xc(e);
|
|
1334
|
-
case "oneOf":
|
|
1335
1333
|
return Yc(e);
|
|
1336
|
-
case "
|
|
1334
|
+
case "oneOf":
|
|
1337
1335
|
return Zc(e);
|
|
1336
|
+
case "allOf":
|
|
1337
|
+
return Qc(e);
|
|
1338
1338
|
default:
|
|
1339
1339
|
return null;
|
|
1340
1340
|
}
|
|
1341
1341
|
};
|
|
1342
|
-
var
|
|
1342
|
+
var Yc = (e) => {
|
|
1343
1343
|
let { schema: t, model: r } = e, o = t;
|
|
1344
1344
|
for (let a in o.properties) {
|
|
1345
|
-
let n = o.properties[a], s =
|
|
1345
|
+
let n = o.properties[a], s = _(r) && a in r ? r[a] : null, l = Ye(b(i({}, e), { schema: n, model: s }));
|
|
1346
1346
|
if (l)
|
|
1347
1347
|
return l;
|
|
1348
1348
|
}
|
|
1349
1349
|
return null;
|
|
1350
1350
|
};
|
|
1351
|
-
var
|
|
1351
|
+
var Zc = (e) => {
|
|
1352
1352
|
let { schema: t, model: r } = e;
|
|
1353
1353
|
if (nt(t)) {
|
|
1354
|
-
if (
|
|
1354
|
+
if (!_(r))
|
|
1355
1355
|
return null;
|
|
1356
1356
|
let n = Dt(t, r);
|
|
1357
1357
|
if (n === null || n < 0)
|
|
@@ -1362,7 +1362,7 @@ var require_main_min = __commonJS({
|
|
|
1362
1362
|
let o = t, a = Gr(o, r);
|
|
1363
1363
|
return a === null || a < 0 ? null : Ye(b(i({}, e), { schema: o.oneOf[a] }));
|
|
1364
1364
|
};
|
|
1365
|
-
var
|
|
1365
|
+
var Qc = (e) => {
|
|
1366
1366
|
let { schema: t } = e, r = t;
|
|
1367
1367
|
for (let o of r.allOf) {
|
|
1368
1368
|
let a = Ye(b(i({}, e), { schema: o }));
|
|
@@ -1372,14 +1372,14 @@ var require_main_min = __commonJS({
|
|
|
1372
1372
|
return null;
|
|
1373
1373
|
};
|
|
1374
1374
|
var Ei = (e, t) => ye(e) ? e.title ? e.title : k(e.const) ? e.const : null : Tr(t) ? t : null;
|
|
1375
|
-
var
|
|
1375
|
+
var ed = (e, t) => !!e && Object.hasOwnProperty.call(e, t) && !!e[t];
|
|
1376
1376
|
var ge = require("react/jsx-runtime");
|
|
1377
|
-
var
|
|
1378
|
-
let [n, s] = (0,
|
|
1377
|
+
var td = ({ schema: e, model: t, errors: r, submitted: o, onChange: a }) => {
|
|
1378
|
+
let [n, s] = (0, _r.useState)(null), [l, u] = (0, _r.useState)(() => {
|
|
1379
1379
|
if (L(t) && !z(t))
|
|
1380
1380
|
throw new Error("RepeatableSchema does not support object models. Ensure your array schema is wrapped inside an object schema.");
|
|
1381
|
-
return t ? t.map((h) =>
|
|
1382
|
-
}), [c, d] = (0,
|
|
1381
|
+
return t ? t.map((h) => _o(e.items, h, e == null ? void 0 : e.summary)) : null;
|
|
1382
|
+
}), [c, d] = (0, _r.useState)({ item: null, model: null }), g = (h) => {
|
|
1383
1383
|
let F = h ? h.map(({ value: w }) => w) : null;
|
|
1384
1384
|
a({ model: F, triggerSchema: e.items, triggerModel: F });
|
|
1385
1385
|
}, f = () => {
|
|
@@ -1387,14 +1387,14 @@ var require_main_min = __commonJS({
|
|
|
1387
1387
|
}, m = (h) => {
|
|
1388
1388
|
d({ item: h, model: h.value }), s("edit");
|
|
1389
1389
|
}, p = (h) => {
|
|
1390
|
-
let F = h === "remove" ? null :
|
|
1390
|
+
let F = h === "remove" ? null : _o(e.items, c.model, e == null ? void 0 : e.summary), w = rd(h, { originalItem: c.item, updatedItem: F, itemSummaries: l });
|
|
1391
1391
|
u(w), g(w), d({ item: null, model: null }), s(null);
|
|
1392
1392
|
}, y = () => {
|
|
1393
1393
|
d({ item: null, model: null }), s(null);
|
|
1394
1394
|
}, { formatMessage: S } = (0, Ii.useIntl)();
|
|
1395
1395
|
return (0, ge.jsxs)(ge.Fragment, { children: [e.title && (0, ge.jsx)(Lt.Header, { title: e.title }), l && l.map((h) => (0, ge.jsx)(xi, { item: h, onClick: () => m(h) }, JSON.stringify(h))), (0, ge.jsx)(Lt.NavigationOption, { onClick: f, media: (0, ge.jsx)(ki.Plus, {}), title: e.addItemTitle || S(dt.addItemTitle) }), (0, ge.jsx)(Lt.Modal, { open: n !== null, onClose: y, title: (n === "add" ? e.addItemTitle : e.editItemTitle) || S(dt.addItemTitle), body: (0, ge.jsx)(Pi, { type: n != null ? n : "add", schema: e, model: c.model, errors: r, submitted: o, onAction: p, onModelChange: ({ model: h }) => d(b(i({}, c), { model: h })) }) })] });
|
|
1396
1396
|
};
|
|
1397
|
-
var
|
|
1397
|
+
var rd = (e, { originalItem: t, updatedItem: r, itemSummaries: o }) => {
|
|
1398
1398
|
if (e === "remove")
|
|
1399
1399
|
return (o || []).filter((a) => a !== t);
|
|
1400
1400
|
if (!r)
|
|
@@ -1408,14 +1408,14 @@ var require_main_min = __commonJS({
|
|
|
1408
1408
|
return null;
|
|
1409
1409
|
}
|
|
1410
1410
|
};
|
|
1411
|
-
var Di =
|
|
1412
|
-
var
|
|
1411
|
+
var Di = td;
|
|
1412
|
+
var $o = require("react/jsx-runtime");
|
|
1413
1413
|
var Li = (e) => {
|
|
1414
1414
|
let { schema: t } = e;
|
|
1415
1415
|
if (Mn(t))
|
|
1416
|
-
return (0,
|
|
1416
|
+
return (0, $o.jsx)(Go, b(i({}, e), { schema: t }));
|
|
1417
1417
|
if (Oe(t))
|
|
1418
|
-
return (0,
|
|
1418
|
+
return (0, $o.jsx)(Di, b(i({}, e), { schema: t }));
|
|
1419
1419
|
throw new Error("Invalid array list schema");
|
|
1420
1420
|
};
|
|
1421
1421
|
Li.defaultProps = { errors: null, required: false };
|
|
@@ -1430,19 +1430,19 @@ var require_main_min = __commonJS({
|
|
|
1430
1430
|
Ni.defaultProps = { required: false };
|
|
1431
1431
|
var Wo = Ni;
|
|
1432
1432
|
var Bi = qe(st());
|
|
1433
|
-
var
|
|
1433
|
+
var $r = require("react");
|
|
1434
1434
|
var je = require("react/jsx-runtime");
|
|
1435
|
-
var
|
|
1435
|
+
var od = (e) => ({ "col-xs-12": true, "col-sm-6": e === "md", "col-sm-4": e === "sm" });
|
|
1436
1436
|
var ji = (e) => {
|
|
1437
|
-
let [t, r] = (0,
|
|
1437
|
+
let [t, r] = (0, $r.useState)(() => i({}, ie(e.model, e.schema))), o = (c, d) => {
|
|
1438
1438
|
d.model !== null ? t[c] = d.model : delete t[c], r(t), e.onChange(b(i({}, d), { model: t }));
|
|
1439
1439
|
}, a = (c) => e.schema.required && e.schema.required.includes(c);
|
|
1440
|
-
(0,
|
|
1440
|
+
(0, $r.useEffect)(() => {
|
|
1441
1441
|
let c = ie(t, e.schema) || {};
|
|
1442
1442
|
r(c), Ke(c, t) || e.onChange({ model: c, triggerSchema: e.schema, triggerModel: c });
|
|
1443
1443
|
}, [e.schema]);
|
|
1444
1444
|
let n = /* @__PURE__ */ new Set([...e.schema.displayOrder || [], ...Object.keys(e.schema.properties)]), s = (c) => typeof e.schema.properties[c] != "undefined", l = Array.from(n).filter(s), u = e.errors;
|
|
1445
|
-
return (0, je.jsxs)("fieldset", { children: [e.schema.title && !e.hideTitle && (0, je.jsxs)("legend", { children: [" ", e.schema.title, " "] }), e.schema.description && !e.hideTitle && (0, je.jsxs)("p", { children: [" ", e.schema.description, " "] }), e.schema.alert && (0, je.jsx)(se, { component: e.schema.alert }), (0, je.jsx)("div", { className: "row", children: l.map((c) => (0, je.jsx)("div", { className: (0, Bi.default)(
|
|
1445
|
+
return (0, je.jsxs)("fieldset", { children: [e.schema.title && !e.hideTitle && (0, je.jsxs)("legend", { children: [" ", e.schema.title, " "] }), e.schema.description && !e.hideTitle && (0, je.jsxs)("p", { children: [" ", e.schema.description, " "] }), e.schema.alert && (0, je.jsx)(se, { component: e.schema.alert }), (0, je.jsx)("div", { className: "row", children: l.map((c) => (0, je.jsx)("div", { className: (0, Bi.default)(od(e.schema.properties[c].width)), children: (0, je.jsx)(ue, { schema: e.schema.properties[c], model: e.model && e.model[c], errors: u && u[c], submitted: e.submitted, required: a(c), disabled: e.disabled, onChange: (d) => o(c, d), onPersistAsync: e.onPersistAsync }) }, c)) })] });
|
|
1446
1446
|
};
|
|
1447
1447
|
ji.defaultProps = { hideTitle: false, disabled: false };
|
|
1448
1448
|
var or = ji;
|
|
@@ -1453,14 +1453,14 @@ var require_main_min = __commonJS({
|
|
|
1453
1453
|
var Vi = require("react-intl");
|
|
1454
1454
|
var Ui = (0, Vi.defineMessages)({ helpAria: { id: "dynamicFlows.Help.ariaLabel", defaultMessage: "Click here for more info.", description: "Aria label for help." } });
|
|
1455
1455
|
var Ko = require("react/jsx-runtime");
|
|
1456
|
-
var
|
|
1456
|
+
var ad = (e) => {
|
|
1457
1457
|
let t = (0, zi.useIntl)();
|
|
1458
1458
|
return (0, Ko.jsx)(Wr.Info, { className: "m-l-1", content: (0, Ko.jsx)(Wr.Markdown, { children: e.help.markdown }), presentation: "POPOVER", size: "sm", "aria-label": t.formatMessage(Ui.helpAria) });
|
|
1459
1459
|
};
|
|
1460
|
-
var Ve =
|
|
1460
|
+
var Ve = ad;
|
|
1461
1461
|
var Ji = require("react");
|
|
1462
1462
|
var W = require("@transferwise/components");
|
|
1463
|
-
var
|
|
1463
|
+
var _i = require("react");
|
|
1464
1464
|
var Tt = (e, t = {}) => {
|
|
1465
1465
|
let { coerceValue: r = false } = t;
|
|
1466
1466
|
if (!M(e)) {
|
|
@@ -1532,7 +1532,7 @@ var require_main_min = __commonJS({
|
|
|
1532
1532
|
console.warn(`Value with type ${e} passed to control that only accepts type ${t}. Falling back to ${r}`);
|
|
1533
1533
|
};
|
|
1534
1534
|
var X = require("react/jsx-runtime");
|
|
1535
|
-
var Nt = class extends
|
|
1535
|
+
var Nt = class extends _i.PureComponent {
|
|
1536
1536
|
constructor(r) {
|
|
1537
1537
|
super(r);
|
|
1538
1538
|
this.getAutocompleteStatus = () => this.props.autoComplete ? "on" : "disabled";
|
|
@@ -1629,20 +1629,20 @@ var require_main_min = __commonJS({
|
|
|
1629
1629
|
Se.Type = B, Se.Size = jn, Se.MonthFormat = Bn, Se.DateMode = Rn, Se.defaultProps = { autoComplete: true, countryCode: null, disabled: false, displayPattern: null, id: null, label: "", max: null, maxDate: null, maxLength: null, min: null, minDate: null, minLength: null, mode: Nt.DateMode.DAY_MONTH_YEAR, monthFormat: Nt.MonthFormat.LONG, onBlur: null, onFocus: null, onSearchChange: null, options: [], placeholder: null, readOnly: false, required: false, searchPlaceholder: null, searchValue: "", selectedOption: null, size: Nt.Size.MEDIUM, step: 1, type: Nt.Type.TEXT, uploadProps: {}, value: null };
|
|
1630
1630
|
var Ze = require("@transferwise/components");
|
|
1631
1631
|
var be = require("react/jsx-runtime");
|
|
1632
|
-
var
|
|
1632
|
+
var $i = (e, t) => {
|
|
1633
1633
|
switch (t) {
|
|
1634
1634
|
case "select":
|
|
1635
|
-
return
|
|
1635
|
+
return id(e);
|
|
1636
1636
|
case "radio":
|
|
1637
1637
|
default:
|
|
1638
|
-
return
|
|
1638
|
+
return nd(e);
|
|
1639
1639
|
}
|
|
1640
1640
|
};
|
|
1641
|
-
var
|
|
1642
|
-
var
|
|
1643
|
-
var
|
|
1644
|
-
var
|
|
1645
|
-
var
|
|
1641
|
+
var nd = (e) => i(i(i({ label: e.title, value: e.const }, Wi(e.title, e.description)), Rt(e)), Ki(e.disabled));
|
|
1642
|
+
var id = (e) => i(i(i(i(i({ label: e.title, value: e.const }, Wi(e.title, e.description)), ld(e.icon)), md(e.image)), Ki(e.disabled)), sd(e.keywords));
|
|
1643
|
+
var sd = (e) => z(e) ? { searchStrings: e } : {};
|
|
1644
|
+
var md = (e) => e != null && e.url ? { icon: (0, be.jsx)("div", { className: "media", children: (0, be.jsx)("div", { className: "np-option__no-media-circle", children: (0, be.jsx)("img", { src: e.url, alt: e.name || "" }) }) }) } : null;
|
|
1645
|
+
var ld = (e) => e != null && e.name && Mt(e.name) ? { currency: e.name.substring(5) } : e != null && e.name && No(e.name) ? { icon: (0, be.jsx)(Je, { type: e.name }) } : e != null && e.text ? { icon: (0, be.jsx)("span", { children: e.text }) } : null;
|
|
1646
1646
|
var Rt = ({ image: e, icon: t }) => e != null && e.url ? { avatar: (0, be.jsx)(Ze.Avatar, { type: Ze.AvatarType.THUMBNAIL, children: (0, be.jsx)("img", { src: e.url, alt: "" }) }) } : t != null && t.name && No(t.name) ? { avatar: (0, be.jsx)(Ze.Avatar, { type: Ze.AvatarType.ICON, children: (0, be.jsx)(Je, { type: t.name }) }) } : t != null && t.text ? { avatar: (0, be.jsx)(Ze.Avatar, { type: Ze.AvatarType.INITIALS, children: t.text }) } : null;
|
|
1647
1647
|
var Kr = ({ accepts: e }) => i({}, z(e) && { usAccept: e.join(",") });
|
|
1648
1648
|
var Wi = (e, t) => {
|
|
@@ -1654,7 +1654,7 @@ var require_main_min = __commonJS({
|
|
|
1654
1654
|
return { disabled: e };
|
|
1655
1655
|
};
|
|
1656
1656
|
var Yi = require("react/jsx-runtime");
|
|
1657
|
-
var
|
|
1657
|
+
var cd = (e) => e === "string" || e === "number";
|
|
1658
1658
|
var Yo = (e) => {
|
|
1659
1659
|
if (fe(e))
|
|
1660
1660
|
return e.control === B.TAB && e.oneOf.length > 3 ? B.SELECT : e.oneOf.length === 2 && !e.control ? B.RADIO : e.control || B.SELECT;
|
|
@@ -1675,25 +1675,25 @@ var require_main_min = __commonJS({
|
|
|
1675
1675
|
}
|
|
1676
1676
|
return e.type === "boolean" ? "checkbox" : e.type === "integer" ? "number" : e.type;
|
|
1677
1677
|
};
|
|
1678
|
-
var
|
|
1678
|
+
var dd = (e, t) => e.oneOf ? e.oneOf.map((r) => $i(r, t)) : null;
|
|
1679
1679
|
var Xi = (e) => {
|
|
1680
|
-
let { id: t, schema: r, value: o, disabled: a, onChange: n, onFocus: s, onBlur: l, onSearchChange: u } = e, c = xt(), d = (h) =>
|
|
1681
|
-
n(
|
|
1680
|
+
let { id: t, schema: r, value: o, disabled: a, onChange: n, onFocus: s, onBlur: l, onSearchChange: u } = e, c = xt(), d = (h) => cd(r.type) && (M(h) || J(h)) ? "" : h, g = (h, F) => {
|
|
1681
|
+
n(_e(h, r), F);
|
|
1682
1682
|
}, f = Yo(r);
|
|
1683
1683
|
(0, Ji.useEffect)(() => {
|
|
1684
|
-
|
|
1684
|
+
ud(r, c, f);
|
|
1685
1685
|
}, [JSON.stringify(r), c, f]);
|
|
1686
|
-
let m = r.values ||
|
|
1686
|
+
let m = r.values || dd(r, f), p = { onFocus: s, onBlur: l, onSearchChange: u, onChange: g }, y = d(o), S = { id: t, name: t, label: r.title, options: m || [], placeholder: r.placeholder, autoComplete: !r.help, disabled: a || r.disabled, displayPattern: r.displayFormat, uploadProps: Kr(r) };
|
|
1687
1687
|
return (0, Yi.jsx)(Se, i(i({ type: f, value: y }, p), S));
|
|
1688
1688
|
};
|
|
1689
1689
|
Xi.defaultProps = { value: null, onFocus: null, onBlur: null, onSearchChange: null, disabled: false };
|
|
1690
|
-
var
|
|
1690
|
+
var ud = (e, t, r) => {
|
|
1691
1691
|
fe(e) && e.oneOf.length === 2 && !e.control && t.warning("Deprecation warning", 'A oneOf schema with 2 options and no control type currently renders as a "radio" but will be changed to render as a "select". Please specify control radio to retain the existing behaviour.'), r === "file" && t.warning("Deprecation warning", "Please use a persist-async blob schema instead of string with base64url for file uploads. The base64url does not perform well on low end devices. Support for this schema will be removed in a later release."), e.values && t.warning("Deprecated schema", "Schema.values is a legacy approach. Please use oneOf.");
|
|
1692
1692
|
};
|
|
1693
1693
|
var ar = Xi;
|
|
1694
1694
|
var oe = require("react/jsx-runtime");
|
|
1695
1695
|
var Qi = (e) => {
|
|
1696
|
-
let t = Q(), [r, o] = (0, ke.useState)(false), [a, n] = (0, ke.useState)(false), [s, l] = (0, ke.useState)(false), u = (0, ke.useMemo)(() => e.schema.$id || Me(), [e.schema.$id]), [c, d] = (0, ke.useState)(Gr(e.schema, e.model)), [g, f] = (0, ke.useState)(
|
|
1696
|
+
let t = Q(), [r, o] = (0, ke.useState)(false), [a, n] = (0, ke.useState)(false), [s, l] = (0, ke.useState)(false), u = (0, ke.useMemo)(() => e.schema.$id || Me(), [e.schema.$id]), [c, d] = (0, ke.useState)(Gr(e.schema, e.model)), [g, f] = (0, ke.useState)(hd(e.model, e.schema.oneOf)), m = Dn(t, 200), p = (C) => {
|
|
1697
1697
|
m("Dynamic Flow - OneOf Searched", { oneOfId: e.schema.analyticsId, searchValueLength: C.length });
|
|
1698
1698
|
};
|
|
1699
1699
|
if ((0, ke.useEffect)(() => {
|
|
@@ -1716,27 +1716,27 @@ var require_main_min = __commonJS({
|
|
|
1716
1716
|
} else
|
|
1717
1717
|
e.onChange({ model: g[C], triggerSchema: T, triggerModel: g[C], type: D });
|
|
1718
1718
|
D !== "init" && e.schema.analyticsId && t("Dynamic Flow - OneOf Selected", { oneOfId: e.schema.analyticsId, schemaId: T == null ? void 0 : T.analyticsId });
|
|
1719
|
-
}, w =
|
|
1720
|
-
return (0, oe.jsxs)(oe.Fragment, { children: [(e.schema.oneOf.length > 1 || ye(e.schema.oneOf[0])) && (0, oe.jsxs)(oe.Fragment, { children: [(0, oe.jsxs)("div", { className: (0, Zi.default)(O), children: [
|
|
1719
|
+
}, w = gd(e.schema), v = fd(e, c), O = { "form-group": true, "has-error": !r && e.errors && !At(e.errors) || (e.submitted || r && s) && v.length };
|
|
1720
|
+
return (0, oe.jsxs)(oe.Fragment, { children: [(e.schema.oneOf.length > 1 || ye(e.schema.oneOf[0])) && (0, oe.jsxs)(oe.Fragment, { children: [(0, oe.jsxs)("div", { className: (0, Zi.default)(O), children: [pd(e.schema, u), (0, oe.jsx)(ar, { id: u, schema: w, value: c, disabled: e.disabled, onChange: F, onFocus: S, onBlur: h, onSearchChange: p }), (0, oe.jsx)(Be, { changed: r, focused: a, blurred: s, submitted: e.submitted, errors: yd(e.errors), schema: e.schema, validations: v, infoMessage: null })] }), e.schema.alert && (0, oe.jsx)(se, { component: e.schema.alert })] }), Jt(e.schema.oneOf[c]) && (0, oe.jsx)(ue, { schema: e.schema.oneOf[c], model: g[c], errors: e.errors, submitted: e.submitted, hideTitle: true, disabled: e.disabled, onChange: (C) => y(c, C), onPersistAsync: e.onPersistAsync })] });
|
|
1721
1721
|
};
|
|
1722
|
-
function
|
|
1722
|
+
function pd(e, t) {
|
|
1723
1723
|
let r = e.help ? (0, oe.jsx)(Ve, { help: e.help }) : null, o = ye(e.oneOf[0]) ? (0, oe.jsxs)("label", { className: "control-label d-inline", htmlFor: t, children: [e.title, " ", r] }) : (0, oe.jsxs)("h4", { className: "m-b-2", children: [e.title, " ", r] });
|
|
1724
1724
|
return e.title ? o : r;
|
|
1725
1725
|
}
|
|
1726
|
-
function
|
|
1726
|
+
function fd(e, t) {
|
|
1727
1727
|
let r = e.schema.oneOf[t != null ? t : -1];
|
|
1728
|
-
return ye(r) ?
|
|
1728
|
+
return ye(r) ? $e(r.const, e.schema, !!e.required) : t === null || t < 0 ? $e(null, e.schema, !!e.required) : [];
|
|
1729
1729
|
}
|
|
1730
|
-
function
|
|
1730
|
+
function yd(e) {
|
|
1731
1731
|
return typeof e == "string" ? e : null;
|
|
1732
1732
|
}
|
|
1733
|
-
function
|
|
1733
|
+
function hd(e, t) {
|
|
1734
1734
|
return t.map((r) => vt(e, r));
|
|
1735
1735
|
}
|
|
1736
|
-
function
|
|
1737
|
-
return b(i({}, e), { oneOf: e.oneOf.map(
|
|
1736
|
+
function gd(e) {
|
|
1737
|
+
return b(i({}, e), { oneOf: e.oneOf.map(Sd) });
|
|
1738
1738
|
}
|
|
1739
|
-
function
|
|
1739
|
+
function Sd(e, t) {
|
|
1740
1740
|
let { title: r, description: o, disabled: a = false, icon: n, image: s, keywords: l } = e;
|
|
1741
1741
|
return { title: r, description: o, disabled: a, icon: n, image: s, const: t, keywords: l };
|
|
1742
1742
|
}
|
|
@@ -1755,7 +1755,7 @@ var require_main_min = __commonJS({
|
|
|
1755
1755
|
var as = (e) => {
|
|
1756
1756
|
let [t, r] = (0, pt.useState)({}), [o, a] = (0, pt.useState)(null), [n, s] = (0, pt.useState)([]), [l, u] = (0, pt.useState)(false), c = ee(), d = Q();
|
|
1757
1757
|
(0, pt.useEffect)(() => {
|
|
1758
|
-
e.submitted && s(
|
|
1758
|
+
e.submitted && s($e(e.model, e.schema, !!e.required));
|
|
1759
1759
|
}, [e.model, e.submitted]);
|
|
1760
1760
|
let f = async (w, v) => {
|
|
1761
1761
|
let O = await w.json(), C = ta(e.schema.persistAsync.idProperty, O);
|
|
@@ -1819,41 +1819,41 @@ var require_main_min = __commonJS({
|
|
|
1819
1819
|
var fs = ps;
|
|
1820
1820
|
var Ue = require("react/jsx-runtime");
|
|
1821
1821
|
var hs = (e) => e.promoted === true;
|
|
1822
|
-
var
|
|
1822
|
+
var bd = (e) => {
|
|
1823
1823
|
var l;
|
|
1824
|
-
let [t, r] = (0, ys.useState)(is(e.schema, e.model) || ((l = e.schema.promotion) == null ? void 0 : l.default) || "promoted"), o = e.schema.alert, a = e.schema.oneOf.find(hs), n =
|
|
1824
|
+
let [t, r] = (0, ys.useState)(is(e.schema, e.model) || ((l = e.schema.promotion) == null ? void 0 : l.default) || "promoted"), o = e.schema.alert, a = e.schema.oneOf.find(hs), n = wd(a), s = Fd(e.schema);
|
|
1825
1825
|
return (0, Ue.jsxs)(Ue.Fragment, { children: [o && (0, Ue.jsx)(se, { component: o }), (0, Ue.jsx)(fs, { id: e.schema.$id, title: e.schema.title, promotedOneOf: a, promotion: e.schema.promotion, selection: t, setSelection: r }), t === "promoted" && (0, Ue.jsx)(or, b(i({}, e), { schema: n })), t === "other" && (0, Ue.jsx)(ue, b(i({}, e), { schema: s }))] });
|
|
1826
1826
|
};
|
|
1827
|
-
function
|
|
1827
|
+
function wd(e) {
|
|
1828
1828
|
return b(i({}, e), { title: void 0, description: void 0 });
|
|
1829
1829
|
}
|
|
1830
|
-
function
|
|
1830
|
+
function Fd(e) {
|
|
1831
1831
|
var o, a, n;
|
|
1832
1832
|
let t = (o = e.promotion) != null && o.displayTwice ? [...e.oneOf] : e.oneOf.filter((s) => !hs(s)), r = (n = (a = e.promotion) == null ? void 0 : a.other.heading) == null ? void 0 : n.text;
|
|
1833
1833
|
return t.length === 1 ? b(i({}, t[0]), { title: r }) : t.length > 1 ? { title: r, oneOf: t, control: e.control } : null;
|
|
1834
1834
|
}
|
|
1835
|
-
var na =
|
|
1835
|
+
var na = bd;
|
|
1836
1836
|
var Xr = require("@transferwise/components");
|
|
1837
1837
|
var Ss = require("react-intl");
|
|
1838
1838
|
var gs = require("react-intl");
|
|
1839
1839
|
var ia = (0, gs.defineMessages)({ yes: { id: "dynamicFlows.ReadOnlySchema.yes", defaultMessage: "Yes", description: "Yes, used for boolean schemas with a value of true." }, no: { id: "dynamicFlows.ReadOnlySchema.no", defaultMessage: "No", description: "No: used for boolean schemas with a value of false." } });
|
|
1840
1840
|
var jt = require("react/jsx-runtime");
|
|
1841
|
-
var
|
|
1842
|
-
let { title: r = "" } = e, { formatMessage: o } = (0, Ss.useIntl)(), a =
|
|
1841
|
+
var Cd = ({ schema: e, model: t }) => {
|
|
1842
|
+
let { title: r = "" } = e, { formatMessage: o } = (0, Ss.useIntl)(), a = xd({ schema: e, model: t, formatMessage: o });
|
|
1843
1843
|
return (0, jt.jsx)(Xr.DefinitionList, { layout: Xr.Layout.VERTICAL_ONE_COLUMN, definitions: [{ title: r, value: a, key: "" }] });
|
|
1844
1844
|
};
|
|
1845
|
-
var sa =
|
|
1846
|
-
function
|
|
1847
|
-
return Te(e) ? fe(e) ?
|
|
1848
|
-
}
|
|
1849
|
-
function xd(e, t) {
|
|
1850
|
-
let r = Ad(e, t);
|
|
1851
|
-
return r ? vd(r) : t;
|
|
1845
|
+
var sa = Cd;
|
|
1846
|
+
function xd({ schema: e, model: t, formatMessage: r }) {
|
|
1847
|
+
return Te(e) ? fe(e) ? Ad(e, t) : e.type === "boolean" && ve(t) ? r(t ? ia.yes : ia.no) : t && t.toString() || "" : "";
|
|
1852
1848
|
}
|
|
1853
1849
|
function Ad(e, t) {
|
|
1850
|
+
let r = vd(e, t);
|
|
1851
|
+
return r ? Od(r) : t;
|
|
1852
|
+
}
|
|
1853
|
+
function vd(e, t) {
|
|
1854
1854
|
return e.oneOf.find((r) => "const" in r ? t === r.const : false);
|
|
1855
1855
|
}
|
|
1856
|
-
function
|
|
1856
|
+
function Od(e) {
|
|
1857
1857
|
let t = e.title && e.description ? `${e.title} - ${e.description}` : e.title || "", r = Rt({ icon: e.icon });
|
|
1858
1858
|
return r != null && r.avatar ? (0, jt.jsxs)(jt.Fragment, { children: [r.avatar, " ", t] }) : t;
|
|
1859
1859
|
}
|
|
@@ -1884,17 +1884,17 @@ var require_main_min = __commonJS({
|
|
|
1884
1884
|
return (0, ws.jsx)(ft, i({}, { submitted: a || p, model: l, errors: f || n, infoMessage: d, onChange: (N) => {
|
|
1885
1885
|
s(b(i({}, N), { triggerSchema: t, triggerModel: N.model })), m(null), g(null), u(N.model);
|
|
1886
1886
|
}, onBlur: () => {
|
|
1887
|
-
!M(l) && !Ke(l, c.current) &&
|
|
1887
|
+
!M(l) && !Ke(l, c.current) && $(l, t) && O(l, t.validationAsync);
|
|
1888
1888
|
}, required: o, schema: t }));
|
|
1889
1889
|
};
|
|
1890
1890
|
bs.defaultProps = { required: false };
|
|
1891
1891
|
var ma = bs;
|
|
1892
1892
|
var pe = require("react/jsx-runtime");
|
|
1893
1893
|
var Cs = require("react");
|
|
1894
|
-
var
|
|
1894
|
+
var Pd = (e) => {
|
|
1895
1895
|
let { schema: t, model: r = null, errors: o = null, hideTitle: a = false, disabled: n = false } = e, s = b(i({}, e), { model: r, errors: o, hideTitle: a, disabled: n }), l = it(t), u = xt();
|
|
1896
1896
|
switch ((0, Fs.useEffect)(() => {
|
|
1897
|
-
|
|
1897
|
+
Md(t, r, o) || u.error("Invalid schema or model", `Schema of type ${l || "undefined"} requested, but schema did not pass validation.`);
|
|
1898
1898
|
}, [JSON.stringify(t), JSON.stringify(r), JSON.stringify(o), l, u]), l) {
|
|
1899
1899
|
case "readOnly":
|
|
1900
1900
|
return (0, pe.jsx)(sa, i({}, s));
|
|
@@ -1919,8 +1919,8 @@ var require_main_min = __commonJS({
|
|
|
1919
1919
|
}
|
|
1920
1920
|
return (0, pe.jsx)(pe.Fragment, {});
|
|
1921
1921
|
};
|
|
1922
|
-
var ue =
|
|
1923
|
-
var
|
|
1922
|
+
var ue = Pd;
|
|
1923
|
+
var Md = (e, t, r) => {
|
|
1924
1924
|
switch (it(e)) {
|
|
1925
1925
|
case "persistAsync":
|
|
1926
1926
|
return Dr(e) && Tr(t) && Xt(r);
|
|
@@ -1937,29 +1937,29 @@ var require_main_min = __commonJS({
|
|
|
1937
1937
|
case "oneOf":
|
|
1938
1938
|
return fe(e);
|
|
1939
1939
|
case "allOf":
|
|
1940
|
-
return ko(e) &&
|
|
1940
|
+
return ko(e) && _(t);
|
|
1941
1941
|
}
|
|
1942
1942
|
return false;
|
|
1943
1943
|
};
|
|
1944
1944
|
var yt = require("react/jsx-runtime");
|
|
1945
|
-
var
|
|
1945
|
+
var Ed = (e) => {
|
|
1946
1946
|
let t = i({ model: null, errors: null, disabled: false, baseUrl: "" }, e);
|
|
1947
|
-
return Mr() || t.baseUrl == null ? (0, yt.jsx)(ue, i({}, t)) : (0, yt.jsx)(
|
|
1947
|
+
return Mr() || t.baseUrl == null ? (0, yt.jsx)(ue, i({}, t)) : (0, yt.jsx)(kd, { baseUrl: t.baseUrl, onEvent: t.onEvent, onLog: t.onLog, children: (0, yt.jsx)(ue, i({}, t)) });
|
|
1948
1948
|
};
|
|
1949
|
-
var sr =
|
|
1950
|
-
var
|
|
1949
|
+
var sr = Ed;
|
|
1950
|
+
var kd = ({ baseUrl: e, onEvent: t, onLog: r, children: o }) => (0, yt.jsx)(Er, { flowId: "JsonSchemaForm", stepId: "JsonSchemaForm", onLog: r != null ? r : xs, children: (0, yt.jsx)(Cr, { metadata: { flowId: "JsonSchemaForm", stepId: "JsonSchemaForm" }, onEvent: t != null ? t : xs, children: (0, yt.jsx)(Pr, { baseUrl: e, children: o }) }) });
|
|
1951
1951
|
var xs = () => {
|
|
1952
1952
|
};
|
|
1953
1953
|
var la = require("react/jsx-runtime");
|
|
1954
|
-
var
|
|
1954
|
+
var Id = (e) => {
|
|
1955
1955
|
let t = e.component, r = t.schema;
|
|
1956
1956
|
return (0, la.jsx)("div", { className: U(t.margin || "md"), children: (0, la.jsx)(sr, { schema: r, model: e.model, submitted: e.submitted, errors: e.errors, onChange: (o) => {
|
|
1957
1957
|
e.onModelChange(i({ formSchema: r }, o));
|
|
1958
1958
|
}, onPersistAsync: e.onPersistAsync }) });
|
|
1959
1959
|
};
|
|
1960
|
-
var ca =
|
|
1960
|
+
var ca = Id;
|
|
1961
1961
|
var Vt = require("react/jsx-runtime");
|
|
1962
|
-
var
|
|
1962
|
+
var Dd = (e) => {
|
|
1963
1963
|
let { text: t, size: r = "md", align: o = "left", margin: a = "md" } = e.component, n = Ne({ align: o, margin: a });
|
|
1964
1964
|
switch (r) {
|
|
1965
1965
|
case "xs":
|
|
@@ -1975,7 +1975,7 @@ var require_main_min = __commonJS({
|
|
|
1975
1975
|
return (0, Vt.jsx)("h3", { className: n, children: t });
|
|
1976
1976
|
}
|
|
1977
1977
|
};
|
|
1978
|
-
var da =
|
|
1978
|
+
var da = Dd;
|
|
1979
1979
|
var ua = require("@transferwise/components");
|
|
1980
1980
|
var mr = require("react/jsx-runtime");
|
|
1981
1981
|
var pa = ({ component: e }) => {
|
|
@@ -1986,43 +1986,43 @@ var require_main_min = __commonJS({
|
|
|
1986
1986
|
var As = require("@transferwise/components");
|
|
1987
1987
|
var Yr = require("react");
|
|
1988
1988
|
var ya = require("react/jsx-runtime");
|
|
1989
|
-
var
|
|
1989
|
+
var Ld = ({ component: e }) => {
|
|
1990
1990
|
let { url: t, size: r, text: o, margin: a, accessibilityDescription: n } = e, s = ee(), [l, u] = (0, Yr.useState)("");
|
|
1991
1991
|
(0, Yr.useEffect)(() => {
|
|
1992
|
-
|
|
1992
|
+
Nd(s, t).then(u);
|
|
1993
1993
|
}, [t, s]);
|
|
1994
1994
|
let c = { alt: n || o || "", src: l, stretch: true, shrink: true };
|
|
1995
1995
|
return l ? (0, ya.jsx)("div", { className: `df-image ${r || "md"}`, children: (0, ya.jsx)(As.Image, i({ className: `img-responsive ${U(a || "md")}` }, c)) }) : null;
|
|
1996
1996
|
};
|
|
1997
|
-
var
|
|
1997
|
+
var Td = (e) => new Promise((t, r) => {
|
|
1998
1998
|
let o = new FileReader();
|
|
1999
1999
|
o.addEventListener("loadend", () => t(o.result)), o.addEventListener("error", (a) => r(a)), o.readAsDataURL(e);
|
|
2000
2000
|
});
|
|
2001
|
-
var
|
|
2001
|
+
var Nd = async (e, t) => {
|
|
2002
2002
|
var r;
|
|
2003
2003
|
try {
|
|
2004
2004
|
return Ar(t) || (t == null ? void 0 : t.indexOf(`${(r = window == null ? void 0 : window.location) == null ? void 0 : r.origin}/`)) === 0 ? e(t, { method: "GET", headers: { "Content-Type": "image/image" }, credentials: "same-origin" }).then((o) => {
|
|
2005
2005
|
if (o.ok)
|
|
2006
2006
|
return o.blob();
|
|
2007
2007
|
throw new Error("Image fetching failed");
|
|
2008
|
-
}).then(
|
|
2008
|
+
}).then(Td).catch(() => t) : t;
|
|
2009
2009
|
} catch (o) {
|
|
2010
2010
|
return t;
|
|
2011
2011
|
}
|
|
2012
2012
|
};
|
|
2013
|
-
var ha =
|
|
2013
|
+
var ha = Ld;
|
|
2014
2014
|
var Zr = require("@transferwise/components");
|
|
2015
2015
|
var lr = require("react/jsx-runtime");
|
|
2016
|
-
var
|
|
2017
|
-
var
|
|
2018
|
-
var
|
|
2019
|
-
let { items: t } = e, r = t.filter((a) =>
|
|
2016
|
+
var Rd = ["positive", "neutral"];
|
|
2017
|
+
var Bd = ["warning", "negative"];
|
|
2018
|
+
var jd = ({ component: e }) => {
|
|
2019
|
+
let { items: t } = e, r = t.filter((a) => Rd.includes(a.context)).map(({ text: a }) => a), o = t.filter((a) => Bd.includes(a.context)).map(({ text: a }) => a);
|
|
2020
2020
|
return (0, lr.jsxs)("div", { className: U(e.margin || "md"), children: [e.title ? (0, lr.jsx)(Zr.Header, { title: e.title }) : null, (0, lr.jsx)(Zr.InstructionsList, { dos: r, donts: o })] });
|
|
2021
2021
|
};
|
|
2022
|
-
var ga =
|
|
2022
|
+
var ga = jd;
|
|
2023
2023
|
var q = require("react/jsx-runtime");
|
|
2024
2024
|
var Y = (e) => JSON.stringify(e);
|
|
2025
|
-
var
|
|
2025
|
+
var Vd = (e) => {
|
|
2026
2026
|
let { components: t, model: r, submitted: o, errors: a, onModelChange: n, onAction: s, onPersistAsync: l, baseUrl: u } = e, c = (d) => {
|
|
2027
2027
|
switch (d.type) {
|
|
2028
2028
|
case "heading":
|
|
@@ -2068,25 +2068,25 @@ var require_main_min = __commonJS({
|
|
|
2068
2068
|
};
|
|
2069
2069
|
return Mr() || u == null ? (0, q.jsx)(q.Fragment, { children: t.map(c) }) : (0, q.jsx)(Pr, { baseUrl: u, children: t.map(c) });
|
|
2070
2070
|
};
|
|
2071
|
-
var me =
|
|
2071
|
+
var me = Vd;
|
|
2072
2072
|
var vs = require("@transferwise/components");
|
|
2073
2073
|
var Ut = require("react/jsx-runtime");
|
|
2074
|
-
var
|
|
2075
|
-
var
|
|
2076
|
-
let a = i(i({ key: `${e}/${t || ""}`, title: e, description: t }, r != null && r.name ? { icon: (0, Ut.jsx)(Je, { type: r.name }) } : {}), o ? { status:
|
|
2074
|
+
var Ud = ({ component: e }) => (0, Ut.jsxs)("div", { className: U(e.margin || "md"), children: [e.title ? (0, Ut.jsxs)("h4", { className: "m-b-2", children: [" ", e.title, " "] }) : null, e.items.map(zd)] });
|
|
2075
|
+
var zd = ({ title: e, description: t, icon: r, status: o }) => {
|
|
2076
|
+
let a = i(i({ key: `${e}/${t || ""}`, title: e, description: t }, r != null && r.name ? { icon: (0, Ut.jsx)(Je, { type: r.name }) } : {}), o ? { status: Gd[o] } : {});
|
|
2077
2077
|
return (0, Ut.jsx)(vs.Summary, i({}, a));
|
|
2078
2078
|
};
|
|
2079
|
-
var
|
|
2080
|
-
var
|
|
2081
|
-
var
|
|
2082
|
-
var Sa =
|
|
2079
|
+
var Hd = { done: "done", pending: "pending", "not-done": "notDone" };
|
|
2080
|
+
var qd = { positive: "done", warning: "pending", neutral: "notDone" };
|
|
2081
|
+
var Gd = i(i({}, Hd), qd);
|
|
2082
|
+
var Sa = Ud;
|
|
2083
2083
|
var Os = require("@transferwise/components");
|
|
2084
2084
|
var Ps = require("react/jsx-runtime");
|
|
2085
|
-
var
|
|
2085
|
+
var _d = ({ component: e }) => {
|
|
2086
2086
|
let { margin: t, size: r = "md" } = e;
|
|
2087
2087
|
return (0, Ps.jsx)(Os.Loader, { size: r, classNames: { "tw-loader": `tw-loader m-x-auto ${U(t)}` }, "data-testid": "loading-indicator" });
|
|
2088
2088
|
};
|
|
2089
|
-
var cr =
|
|
2089
|
+
var cr = _d;
|
|
2090
2090
|
var Ds = require("@transferwise/components");
|
|
2091
2091
|
var Ls = require("react-intl");
|
|
2092
2092
|
var Ms = require("react-intl");
|
|
@@ -2100,30 +2100,30 @@ var require_main_min = __commonJS({
|
|
|
2100
2100
|
function $d() {
|
|
2101
2101
|
}
|
|
2102
2102
|
var Qe = require("react/jsx-runtime");
|
|
2103
|
-
var
|
|
2104
|
-
var
|
|
2105
|
-
var
|
|
2103
|
+
var Wd = ({ component: e }) => e.control === "copyable" ? (0, Qe.jsx)(Jd, { component: e }) : (0, Qe.jsx)(Kd, { component: e });
|
|
2104
|
+
var Kd = ({ component: e }) => (0, Qe.jsxs)("p", { className: Ne(e), children: [" ", e.text, " "] });
|
|
2105
|
+
var Jd = ({ component: e }) => {
|
|
2106
2106
|
let { formatMessage: t } = (0, Ls.useIntl)(), r = Is(), { text: o } = e, a = () => {
|
|
2107
2107
|
var s;
|
|
2108
|
-
(s = navigator.clipboard) == null || s.writeText(o).then(() => r({ text: t(Ca.copied) })).catch(
|
|
2108
|
+
(s = navigator.clipboard) == null || s.writeText(o).then(() => r({ text: t(Ca.copied) })).catch(Xd);
|
|
2109
2109
|
}, n = Ne({ align: e.align, margin: "sm" }) + " form-control";
|
|
2110
2110
|
return (0, Qe.jsxs)("div", { className: Ne(e), children: [(0, Qe.jsx)("input", { type: "text", className: n, value: o, readOnly: true, style: { textOverflow: "ellipsis" } }), (0, Qe.jsx)(Ds.Button, { block: true, onClick: a, children: t(Ca.copy) })] });
|
|
2111
2111
|
};
|
|
2112
|
-
function
|
|
2112
|
+
function Xd() {
|
|
2113
2113
|
}
|
|
2114
|
-
var ba =
|
|
2114
|
+
var ba = Wd;
|
|
2115
2115
|
var Ts = require("@transferwise/components");
|
|
2116
2116
|
var ae = require("react/jsx-runtime");
|
|
2117
|
-
var
|
|
2118
|
-
var
|
|
2119
|
-
var
|
|
2120
|
-
var
|
|
2117
|
+
var Yd = (e, t) => t.fields.map(({ label: r, value: o, help: a }, n) => ({ key: String(n), title: r, value: Zd(o, a, e) }));
|
|
2118
|
+
var Zd = (e, t, r) => t ? r === "HORIZONTAL_RIGHT_ALIGNED" ? (0, ae.jsxs)(ae.Fragment, { children: [(0, ae.jsx)(Ve, { help: t }), " ", e] }) : (0, ae.jsxs)(ae.Fragment, { children: [e, " ", (0, ae.jsx)(Ve, { help: t })] }) : e;
|
|
2119
|
+
var Qd = (e) => (e.control || e.orientation) === "horizontal" ? "HORIZONTAL_RIGHT_ALIGNED" : "VERTICAL_ONE_COLUMN";
|
|
2120
|
+
var eu = (e) => {
|
|
2121
2121
|
let t = e.component, r = U(t.margin || "xs"), o = (n) => (0, ae.jsx)("a", { href: n.url, className: "pull-right", role: "button", onClick: (s) => {
|
|
2122
2122
|
s.preventDefault(), e.onAction(n);
|
|
2123
|
-
}, children: n.title }), a =
|
|
2124
|
-
return (0, ae.jsxs)(ae.Fragment, { children: [t.title && (0, ae.jsxs)("h6", { className: "m-b-2", children: [t.title, t.action && o(t.action)] }), (0, ae.jsx)("div", { className: r, children: (0, ae.jsx)(Ts.DefinitionList, { layout: a, definitions:
|
|
2123
|
+
}, children: n.title }), a = Qd(t);
|
|
2124
|
+
return (0, ae.jsxs)(ae.Fragment, { children: [t.title && (0, ae.jsxs)("h6", { className: "m-b-2", children: [t.title, t.action && o(t.action)] }), (0, ae.jsx)("div", { className: r, children: (0, ae.jsx)(Ts.DefinitionList, { layout: a, definitions: Yd(a, t) }) })] });
|
|
2125
2125
|
};
|
|
2126
|
-
var wa =
|
|
2126
|
+
var wa = eu;
|
|
2127
2127
|
var to = require("react");
|
|
2128
2128
|
var Ns = require("@transferwise/components");
|
|
2129
2129
|
var Qr = require("react/jsx-runtime");
|
|
@@ -2141,8 +2141,8 @@ var require_main_min = __commonJS({
|
|
|
2141
2141
|
}, children: t.formatMessage(zt.retry) })] });
|
|
2142
2142
|
};
|
|
2143
2143
|
var Ht = require("react");
|
|
2144
|
-
var
|
|
2145
|
-
var
|
|
2144
|
+
var zs = { "Content-Type": "application/json" };
|
|
2145
|
+
var Hs = (e) => {
|
|
2146
2146
|
let [t, r] = (0, Ht.useState)({ status: "idle" }), o = (0, Ht.useRef)(null), a = ee(), n = (0, Ht.useCallback)(async (c, { url: d, method: g, param: f } = e) => {
|
|
2147
2147
|
var p;
|
|
2148
2148
|
if ((p = o.current) == null || p.abort(), !c) {
|
|
@@ -2153,8 +2153,8 @@ var require_main_min = __commonJS({
|
|
|
2153
2153
|
let m = o.current.signal;
|
|
2154
2154
|
r({ status: "loading" });
|
|
2155
2155
|
try {
|
|
2156
|
-
let
|
|
2157
|
-
s(
|
|
2156
|
+
let S = await (g === "GET" ? a(ou(d, f, c), { method: g, signal: m, headers: zs }) : a(d, { method: g, signal: m, headers: zs, body: JSON.stringify({ [f]: c }) }));
|
|
2157
|
+
s(S, c);
|
|
2158
2158
|
} catch (y) {
|
|
2159
2159
|
l(y, c);
|
|
2160
2160
|
}
|
|
@@ -2174,10 +2174,14 @@ var require_main_min = __commonJS({
|
|
|
2174
2174
|
};
|
|
2175
2175
|
var tu = (e) => L(e) && "results" in e && z(e.results) && e.results.every((t) => L(t) && "title" in t && "type" in t && "value" in t);
|
|
2176
2176
|
var ru = (e) => e instanceof DOMException && e.name === "AbortError";
|
|
2177
|
+
var ou = (e, t, r) => {
|
|
2178
|
+
let [o, a] = e.split("?"), n = new URLSearchParams(a);
|
|
2179
|
+
return n.set(t, r), `${o}?${n.toString()}`;
|
|
2180
|
+
};
|
|
2177
2181
|
var gt = require("react/jsx-runtime");
|
|
2178
|
-
var
|
|
2179
|
-
var
|
|
2180
|
-
let [r, o] = (0, to.useState)(""), { title: a, margin: n, url: s, method: l, param: u, emptyMessage: c } = e, { status: d, results: g, search: f } =
|
|
2182
|
+
var au = 400;
|
|
2183
|
+
var nu = ({ component: e, onAction: t }) => {
|
|
2184
|
+
let [r, o] = (0, to.useState)(""), { title: a, margin: n, url: s, method: l, param: u, emptyMessage: c } = e, { status: d, results: g, search: f } = Hs({ url: s, method: l, param: u }), m = (0, to.useMemo)(() => We(f, au), [f]), p = (h) => {
|
|
2181
2185
|
o(h), m(h);
|
|
2182
2186
|
}, y = ({ type: h, value: F }) => {
|
|
2183
2187
|
if (h === "action" && t(F), h === "search") {
|
|
@@ -2190,24 +2194,24 @@ var require_main_min = __commonJS({
|
|
|
2190
2194
|
};
|
|
2191
2195
|
return (0, gt.jsxs)("div", { className: U(n), children: [(0, gt.jsx)(Rs, { title: a, value: r, onChange: p }), d === "loading" && (0, gt.jsx)(cr, { component: { type: "loading-indicator", size: "sm" } }), d === "error" && (0, gt.jsx)(Us, { onRetrySearch: S }), d === "success" && (0, gt.jsx)(Vs, { results: g, emptyMessage: c, onSelect: y })] });
|
|
2192
2196
|
};
|
|
2193
|
-
var Fa =
|
|
2197
|
+
var Fa = nu;
|
|
2194
2198
|
var ce = require("react/jsx-runtime");
|
|
2195
2199
|
var xa = (e) => M(e) || J(e);
|
|
2196
|
-
var
|
|
2197
|
-
var
|
|
2200
|
+
var iu = (e) => e.type === "boolean" && xa(e.default) ? false : e.default;
|
|
2201
|
+
var Gs = (e) => {
|
|
2198
2202
|
var G, A, j;
|
|
2199
2203
|
let t = (E) => {
|
|
2200
2204
|
f(true), o(a(E), "user");
|
|
2201
|
-
}, r = (E) =>
|
|
2205
|
+
}, r = (E) => $e(E, e.schema, e.required), o = (E, H) => {
|
|
2202
2206
|
u(E);
|
|
2203
2207
|
let Ae = r(E);
|
|
2204
2208
|
F(Ae);
|
|
2205
2209
|
let ne = E;
|
|
2206
2210
|
d(ne), ne !== c && e.onChange({ model: ne, triggerSchema: e.schema, triggerModel: ne, lastTriggerModel: c, type: H });
|
|
2207
|
-
}, a = (E) =>
|
|
2211
|
+
}, a = (E) => _e(E, e.schema), n = () => p(true), s = () => {
|
|
2208
2212
|
p(false), S(true), e.onBlur && e.onBlur();
|
|
2209
2213
|
}, [l, u] = (0, le.useState)((G = e.model) != null ? G : null), [c, d] = (0, le.useState)((A = e.model) != null ? A : null), [g, f] = (0, le.useState)(false), [m, p] = (0, le.useState)(false), [y, S] = (0, le.useState)(false), [h, F] = (0, le.useState)([]), w = (0, le.useMemo)(() => e.schema.$id || Me(), [e.schema.$id]), v = () => {
|
|
2210
|
-
let E =
|
|
2214
|
+
let E = iu(e.schema);
|
|
2211
2215
|
xa(l) && !xa(E) && o(E, "init"), e.schema.const && o(e.schema.const, "init");
|
|
2212
2216
|
}, O = () => {
|
|
2213
2217
|
F(r(l));
|
|
@@ -2218,21 +2222,21 @@ var require_main_min = __commonJS({
|
|
|
2218
2222
|
E !== l && u(E);
|
|
2219
2223
|
}, [e.model]);
|
|
2220
2224
|
let T = { "form-group": true, "has-error": (e.submitted || !g) && !!e.errors || (e.submitted || g && y) && !!h.length, "has-info": m && !!e.schema.description || !!e.infoMessage }, P = e.schema.format !== "file" && e.schema.type !== "boolean", N = e.schema.help;
|
|
2221
|
-
return D ? null : (0, ce.jsxs)(ce.Fragment, { children: [e.schema.alert && (0, ce.jsx)(se, { component: e.schema.alert }), (0, ce.jsxs)("div", { className: (0,
|
|
2225
|
+
return D ? null : (0, ce.jsxs)(ce.Fragment, { children: [e.schema.alert && (0, ce.jsx)(se, { component: e.schema.alert }), (0, ce.jsxs)("div", { className: (0, qs.default)(T), children: [P && (0, ce.jsxs)("div", { className: "d-inline-block", children: [(0, ce.jsx)("label", { className: "control-label d-inline", htmlFor: w, children: e.schema.title }), !!N && (0, ce.jsx)(Ve, { help: N })] }), !P && !!N && (0, ce.jsx)(Ve, { help: N }), (0, ce.jsx)(ar, { id: w, schema: e.schema, value: l, disabled: !!e.disabled, onChange: t, onFocus: n, onBlur: s }), (0, ce.jsx)(Be, { changed: g, focused: m, blurred: y, submitted: e.submitted, errors: (j = e.errors) != null ? j : null, schema: e.schema, validations: h, infoMessage: e.infoMessage })] })] });
|
|
2222
2226
|
};
|
|
2223
|
-
|
|
2224
|
-
var ft =
|
|
2225
|
-
var
|
|
2227
|
+
Gs.defaultProps = { required: false, disabled: false, onBlur: null };
|
|
2228
|
+
var ft = Gs;
|
|
2229
|
+
var Ks = require("react/jsx-runtime");
|
|
2226
2230
|
var ta = (e, t) => t[e];
|
|
2227
2231
|
var $s = (e, t) => {
|
|
2228
2232
|
var r;
|
|
2229
2233
|
return (r = t.validation) == null ? void 0 : r[e];
|
|
2230
2234
|
};
|
|
2231
|
-
var
|
|
2232
|
-
var
|
|
2233
|
-
let { schema: t, required: r, submitted: o, errors: a, onChange: n, onPersistAsync: s } = e, l = (0,
|
|
2235
|
+
var su = /* @__PURE__ */ new Set([B.RADIO, B.SELECT, B.DATELOOKUP, B.FILE, B.UPLOAD]);
|
|
2236
|
+
var Ws = (e) => {
|
|
2237
|
+
let { schema: t, required: r, submitted: o, errors: a, onChange: n, onPersistAsync: s } = e, l = (0, _s.useIntl)(), u = ee(), c = Q(), [d, g] = (0, St.useState)(null), f = Js(d), [m, p] = (0, St.useState)(null), [y, S] = (0, St.useState)(false), [h, F] = (0, St.useState)(null);
|
|
2234
2238
|
(0, St.useEffect)(() => {
|
|
2235
|
-
|
|
2239
|
+
su.has(Yo(t.persistAsync.schema)) && C();
|
|
2236
2240
|
}, [d]);
|
|
2237
2241
|
let w = () => p(l.formatMessage(Qt.genericError)), v = async (P, N) => {
|
|
2238
2242
|
let G = O(), A = { [N.param]: P };
|
|
@@ -2266,16 +2270,16 @@ var require_main_min = __commonJS({
|
|
|
2266
2270
|
}, D = () => {
|
|
2267
2271
|
C();
|
|
2268
2272
|
}, T = ({ model: P }) => {
|
|
2269
|
-
p(null),
|
|
2273
|
+
p(null), $(P, t.persistAsync.schema) && g(P);
|
|
2270
2274
|
};
|
|
2271
|
-
return (0,
|
|
2275
|
+
return (0, Ks.jsx)(ft, { required: r, submitted: o || y, schema: t.persistAsync.schema, errors: m || a, model: null, infoMessage: null, onChange: T, onBlur: D });
|
|
2272
2276
|
};
|
|
2273
|
-
|
|
2274
|
-
var Qo =
|
|
2277
|
+
Ws.defaultProps = { required: false };
|
|
2278
|
+
var Qo = Ws;
|
|
2275
2279
|
var Fi = (e) => {
|
|
2276
|
-
let [t, r] = (0,
|
|
2280
|
+
let [t, r] = (0, Xs.useState)(null), o = ee(), a = (0, Ys.useIntl)(), { schema: n } = e;
|
|
2277
2281
|
async function s(f) {
|
|
2278
|
-
let m = f instanceof Blob ? !Pt(n) :
|
|
2282
|
+
let m = f instanceof Blob ? !Pt(n) : !$(f, n);
|
|
2279
2283
|
return (M(f) || m) && g(), await c(f);
|
|
2280
2284
|
}
|
|
2281
2285
|
let l = () => {
|
|
@@ -2284,7 +2288,7 @@ var require_main_min = __commonJS({
|
|
|
2284
2288
|
return r(f), f.signal;
|
|
2285
2289
|
};
|
|
2286
2290
|
function u(f) {
|
|
2287
|
-
let m = Pt(n), p = l(), y = e.param, S = m ?
|
|
2291
|
+
let m = Pt(n), p = l(), y = e.param, S = m ? mu(y, f) : JSON.stringify({ [y]: f });
|
|
2288
2292
|
return { method: e.method, headers: i({}, !m && { "Content-Type": "application/json" }), body: S, signal: p };
|
|
2289
2293
|
}
|
|
2290
2294
|
async function c(f) {
|
|
@@ -2315,21 +2319,21 @@ var require_main_min = __commonJS({
|
|
|
2315
2319
|
throw new Error(a.formatMessage(Qt.genericError));
|
|
2316
2320
|
}
|
|
2317
2321
|
let g = (f) => {
|
|
2318
|
-
let m =
|
|
2322
|
+
let m = lu(f) ? f.message : a.formatMessage(Qt.genericError);
|
|
2319
2323
|
throw new Error(m);
|
|
2320
2324
|
};
|
|
2321
2325
|
return s;
|
|
2322
2326
|
};
|
|
2323
|
-
function
|
|
2327
|
+
function mu(e, t) {
|
|
2324
2328
|
let r = new FormData();
|
|
2325
2329
|
return t !== null && r.append(e, t), r;
|
|
2326
2330
|
}
|
|
2327
|
-
function
|
|
2331
|
+
function lu(e) {
|
|
2328
2332
|
return L(e) && "message" in e && typeof e.message == "string";
|
|
2329
2333
|
}
|
|
2330
2334
|
var et = require("react");
|
|
2331
2335
|
function Nr({ asyncFn: e, interval: t, maxAttempts: r, maxConsecutiveFails: o, onPollingResponse: a, onFailure: n }) {
|
|
2332
|
-
let s = (0, et.useRef)(a), l = (0, et.useRef)(n), u = (0, et.useMemo)(() =>
|
|
2336
|
+
let s = (0, et.useRef)(a), l = (0, et.useRef)(n), u = (0, et.useMemo)(() => cu(e, r, o, (c) => s.current(c), () => l.current()), [e, r, o]);
|
|
2333
2337
|
(0, et.useEffect)(() => {
|
|
2334
2338
|
if (t > 0) {
|
|
2335
2339
|
let c = setInterval(() => {
|
|
@@ -2341,7 +2345,7 @@ var require_main_min = __commonJS({
|
|
|
2341
2345
|
s.current = a, l.current = n;
|
|
2342
2346
|
}, [a, n]);
|
|
2343
2347
|
}
|
|
2344
|
-
function
|
|
2348
|
+
function cu(e, t, r, o, a) {
|
|
2345
2349
|
let n = true, s = 0, l = 0;
|
|
2346
2350
|
return e ? () => {
|
|
2347
2351
|
n && (l++, e().then((u) => {
|
|
@@ -2355,14 +2359,14 @@ var require_main_min = __commonJS({
|
|
|
2355
2359
|
};
|
|
2356
2360
|
}
|
|
2357
2361
|
var ro = require("react");
|
|
2358
|
-
var
|
|
2362
|
+
var Js = (e) => {
|
|
2359
2363
|
let t = (0, ro.useRef)();
|
|
2360
2364
|
return (0, ro.useEffect)(() => {
|
|
2361
2365
|
t.current = e;
|
|
2362
2366
|
}, [e]), t.current;
|
|
2363
2367
|
};
|
|
2364
2368
|
var dr = require("react");
|
|
2365
|
-
function
|
|
2369
|
+
function Zs(e, t) {
|
|
2366
2370
|
let r = ee(), o = (0, dr.useMemo)(() => {
|
|
2367
2371
|
if (e)
|
|
2368
2372
|
return () => r(e.url).then((n) => {
|
|
@@ -2375,44 +2379,44 @@ var require_main_min = __commonJS({
|
|
|
2375
2379
|
e && t(e.onError.action);
|
|
2376
2380
|
}, [t, e]) });
|
|
2377
2381
|
}
|
|
2378
|
-
var
|
|
2379
|
-
var
|
|
2382
|
+
var Qs = require("react/jsx-runtime");
|
|
2383
|
+
var du = (e, t) => {
|
|
2380
2384
|
var o;
|
|
2381
2385
|
if (At(e))
|
|
2382
2386
|
return [];
|
|
2383
2387
|
let r = Wt(e, t);
|
|
2384
2388
|
return Ge({ layout: r, schemas: e.schemas || [], actions: e.actions || [], model: (o = e.model) != null ? o : null });
|
|
2385
2389
|
};
|
|
2386
|
-
var
|
|
2387
|
-
let { stepSpecification: t, stepLayoutOptions: r, submitted: o, model: a, formErrors: n, onModelChange: s } = e, l =
|
|
2390
|
+
var uu = (e) => {
|
|
2391
|
+
let { stepSpecification: t, stepLayoutOptions: r, submitted: o, model: a, formErrors: n, onModelChange: s } = e, l = du(t, r), { loading: u, registerPersistAsyncPromise: c } = Fr(), d = Q(), g = u ? () => {
|
|
2388
2392
|
d("Dynamic Flow - onAction supressed", { reason: "LayoutStep - loading state" });
|
|
2389
2393
|
} : e.onAction;
|
|
2390
|
-
return
|
|
2394
|
+
return Zs(t.polling, g), (0, Qs.jsx)(me, { components: l, submitted: o, model: a, errors: n, onAction: g, onModelChange: s, onPersistAsync: c });
|
|
2391
2395
|
};
|
|
2392
|
-
var oo =
|
|
2396
|
+
var oo = uu;
|
|
2393
2397
|
var mo = require("react");
|
|
2394
2398
|
var Ce = require("react");
|
|
2395
|
-
var
|
|
2396
|
-
var
|
|
2397
|
-
var em = require("react-intl");
|
|
2398
|
-
var pr = (0, em.defineMessages)({ reviewSubmit: { id: "dynamicFlows.CameraCapture.reviewSubmit", defaultMessage: "Yes, submit", description: "Accept and submit the image taken with the camera" }, reviewRetry: { id: "dynamicFlows.CameraCapture.reviewRetry", defaultMessage: "No, try again", description: "Image taken with camera is not good, don't submit, and retake the image" }, reviewInstructions: { id: "dynamicFlows.CameraCapture.reviewInstructions", defaultMessage: "Is your picture clear, readable and complete?", description: "After taking an image with the camera, prompt user to review the image" } });
|
|
2399
|
-
var Fe = require("@transferwise/components");
|
|
2399
|
+
var Cm = require("react-intl");
|
|
2400
|
+
var xm = qe(em());
|
|
2400
2401
|
var tm = require("react-intl");
|
|
2402
|
+
var pr = (0, tm.defineMessages)({ reviewSubmit: { id: "dynamicFlows.CameraCapture.reviewSubmit", defaultMessage: "Yes, submit", description: "Accept and submit the image taken with the camera" }, reviewRetry: { id: "dynamicFlows.CameraCapture.reviewRetry", defaultMessage: "No, try again", description: "Image taken with camera is not good, don't submit, and retake the image" }, reviewInstructions: { id: "dynamicFlows.CameraCapture.reviewInstructions", defaultMessage: "Is your picture clear, readable and complete?", description: "After taking an image with the camera, prompt user to review the image" } });
|
|
2403
|
+
var Fe = require("@transferwise/components");
|
|
2404
|
+
var rm = require("react-intl");
|
|
2401
2405
|
var we = require("react/jsx-runtime");
|
|
2402
|
-
var
|
|
2403
|
-
var
|
|
2404
|
-
let r = (0,
|
|
2406
|
+
var om = ({ onCapture: e }) => (0, we.jsx)("div", { className: "bottom-bar", children: (0, we.jsx)(pu, { onClick: e }) });
|
|
2407
|
+
var am = ({ onSubmit: e, onRetry: t }) => {
|
|
2408
|
+
let r = (0, rm.useIntl)();
|
|
2405
2409
|
return (0, we.jsx)("div", { className: "bottom-bar p-x-2", children: (0, we.jsx)("div", { className: "row", children: (0, we.jsxs)("div", { className: "col-xs-12 col-md-6 col-md-offset-3", children: [(0, we.jsx)(Fe.Button, { className: "m-b-1", block: true, size: Fe.Size.MEDIUM, type: Fe.ControlType.ACCENT, onClick: e, children: r.formatMessage(pr.reviewSubmit) }), (0, we.jsx)(Fe.Button, { className: "m-b-2", block: true, size: Fe.Size.MEDIUM, type: Fe.ControlType.ACCENT, priority: Fe.Priority.SECONDARY, onClick: t, children: r.formatMessage(pr.reviewRetry) })] }) }) });
|
|
2406
2410
|
};
|
|
2407
|
-
var
|
|
2411
|
+
var pu = ({ onClick: e }) => (0, we.jsx)("button", { type: "button", className: "camera-capture-btn m-b-2", "data-testid": "camera-capture-button", onClick: e, children: (0, we.jsx)("span", { className: "camera-capture-btn-inner" }) });
|
|
2408
2412
|
var no = require("react");
|
|
2409
|
-
var
|
|
2413
|
+
var nm = (e) => {
|
|
2410
2414
|
var r;
|
|
2411
2415
|
let { facingMode: t } = ((r = ao(e)) == null ? void 0 : r.getSettings()) || {};
|
|
2412
2416
|
return t === "user" || t === void 0;
|
|
2413
2417
|
};
|
|
2414
|
-
var
|
|
2415
|
-
var
|
|
2418
|
+
var im = (e) => !!((e == null ? void 0 : e.label) || "").match(/camera2? 0/g);
|
|
2419
|
+
var sm = async (e) => {
|
|
2416
2420
|
let t = document.createElement("canvas");
|
|
2417
2421
|
if (e) {
|
|
2418
2422
|
t.setAttribute("height", `${e.videoHeight}`), t.setAttribute("width", `${e.videoWidth}`);
|
|
@@ -2421,15 +2425,15 @@ var require_main_min = __commonJS({
|
|
|
2421
2425
|
}
|
|
2422
2426
|
return t;
|
|
2423
2427
|
};
|
|
2424
|
-
var
|
|
2428
|
+
var mm = async () => {
|
|
2425
2429
|
var e, t;
|
|
2426
2430
|
return (await ((t = (e = navigator == null ? void 0 : navigator.mediaDevices) == null ? void 0 : e.enumerateDevices) == null ? void 0 : t.call(e)) || []).filter((r) => r.kind === "videoinput");
|
|
2427
2431
|
};
|
|
2428
|
-
var
|
|
2432
|
+
var lm = async () => {
|
|
2429
2433
|
var e, t;
|
|
2430
2434
|
return (await ((t = (e = navigator == null ? void 0 : navigator.mediaDevices) == null ? void 0 : e.enumerateDevices) == null ? void 0 : t.call(e)) || []).filter((r) => r.kind === "videoinput").map((r) => r.label);
|
|
2431
2435
|
};
|
|
2432
|
-
var
|
|
2436
|
+
var cm = async (e) => {
|
|
2433
2437
|
var r, o, a;
|
|
2434
2438
|
let t = va(e);
|
|
2435
2439
|
return (a = (await ((o = (r = navigator == null ? void 0 : navigator.mediaDevices) == null ? void 0 : r.enumerateDevices) == null ? void 0 : o.call(r)) || []).filter((n) => n.kind === "videoinput").find((n) => n.deviceId === (t == null ? void 0 : t.deviceId))) == null ? void 0 : a.label;
|
|
@@ -2442,14 +2446,14 @@ var require_main_min = __commonJS({
|
|
|
2442
2446
|
var t, r;
|
|
2443
2447
|
return (r = (t = ao(e)) == null ? void 0 : t.getCapabilities) == null ? void 0 : r.call(t);
|
|
2444
2448
|
};
|
|
2445
|
-
var
|
|
2449
|
+
var dm = (e) => {
|
|
2446
2450
|
let [t, r] = (0, no.useState)(), o = { facingMode: e === "front" ? "user" : "environment", height: { min: 480, max: 1080, ideal: 720 }, width: { min: 640, max: 1920, ideal: 1280 }, frameRate: 30, aspectRatio: 16 / 9 };
|
|
2447
2451
|
(0, no.useEffect)(() => {
|
|
2448
2452
|
a(e).then(r);
|
|
2449
2453
|
}, [e]);
|
|
2450
2454
|
let a = async (n) => {
|
|
2451
2455
|
if (n === "back") {
|
|
2452
|
-
let s = (await
|
|
2456
|
+
let s = (await mm()).find(im);
|
|
2453
2457
|
if (s != null && s.deviceId)
|
|
2454
2458
|
return b(i({}, o), { deviceId: { exact: s.deviceId } });
|
|
2455
2459
|
}
|
|
@@ -2459,14 +2463,14 @@ var require_main_min = __commonJS({
|
|
|
2459
2463
|
};
|
|
2460
2464
|
var io = require("react");
|
|
2461
2465
|
var K = require("react/jsx-runtime");
|
|
2462
|
-
var
|
|
2463
|
-
var
|
|
2464
|
-
var
|
|
2465
|
-
var
|
|
2466
|
-
var
|
|
2467
|
-
var
|
|
2468
|
-
var
|
|
2469
|
-
var
|
|
2466
|
+
var fu = 92;
|
|
2467
|
+
var um = 120;
|
|
2468
|
+
var yu = 40;
|
|
2469
|
+
var hu = 32;
|
|
2470
|
+
var gu = 48;
|
|
2471
|
+
var Su = 40;
|
|
2472
|
+
var pm = 800;
|
|
2473
|
+
var bu = ({ overlay: e, outline: t, imageUrl: r, title: o, instructions: a, reviewInstructions: n }) => {
|
|
2470
2474
|
let s = (0, io.useRef)(null);
|
|
2471
2475
|
(0, io.useEffect)(() => {
|
|
2472
2476
|
let f = We(() => {
|
|
@@ -2478,50 +2482,50 @@ var require_main_min = __commonJS({
|
|
|
2478
2482
|
}, 100);
|
|
2479
2483
|
return window.addEventListener("resize", f), () => window.removeEventListener("resize", f);
|
|
2480
2484
|
});
|
|
2481
|
-
let l = (r ?
|
|
2485
|
+
let l = (r ? yu : 0) + (o ? hu : 0) + (a ? gu : 0), u = (0, K.jsxs)(K.Fragment, { children: [r && (0, K.jsx)("img", { className: "camera-capture-img", src: r, alt: "" }), o && (0, K.jsx)("h4", { className: "camera-capture-title", children: o }), a && (0, K.jsx)("small", { className: "camera-capture-instructions", children: a })] }), c = fu + l;
|
|
2482
2486
|
if (n) {
|
|
2483
|
-
l = c -
|
|
2484
|
-
let f =
|
|
2487
|
+
l = c - um, u = (0, K.jsx)("small", { className: "camera-capture-instructions", children: n });
|
|
2488
|
+
let f = um + Su;
|
|
2485
2489
|
c < f && (u = (0, K.jsx)(K.Fragment, {}));
|
|
2486
2490
|
}
|
|
2487
|
-
let d = { x: "50%", y: "5%", width: `min(90%, ${
|
|
2491
|
+
let d = { x: "50%", y: "5%", width: `min(90%, ${pm}px)`, height: `calc(90% - ${c}px)`, style: { transform: `translateX(max(-45%, -${pm / 2}px))` } }, g = { style: { left: "5%", top: `calc(100% - ${c}px - 5%)`, height: `calc(${l}px + 5%)`, width: "90%" } };
|
|
2488
2492
|
return (0, K.jsxs)("svg", { ref: s, xmlns: "http://www.w3.org/2000/svg", children: [(0, K.jsx)("defs", { children: (0, K.jsxs)("mask", { id: "mask", children: [(0, K.jsx)("rect", { width: "100%", height: "100%", fill: "#fff" }), (0, K.jsx)("image", i({ href: e }, d))] }) }), e && (0, K.jsx)("rect", { width: "100%", height: "100%", mask: "url(#mask)", fillOpacity: "0.72" }), t && (0, K.jsx)("image", i({ href: t }, d)), (0, K.jsx)("foreignObject", { width: "100%", height: "100%", children: (0, K.jsx)("div", b(i({ className: "camera-capture-text-and-image-container" }, g), { children: u })) })] });
|
|
2489
2493
|
};
|
|
2490
|
-
var Oa =
|
|
2491
|
-
var
|
|
2492
|
-
var
|
|
2493
|
-
var
|
|
2494
|
-
var so = (0,
|
|
2494
|
+
var Oa = bu;
|
|
2495
|
+
var ym = require("@transferwise/components");
|
|
2496
|
+
var hm = require("react-intl");
|
|
2497
|
+
var fm = require("react-intl");
|
|
2498
|
+
var so = (0, fm.defineMessages)({ title: { id: "dynamicFlows.CameraCapture.NoCameraAccess.title", defaultMessage: "We can't access your camera", description: "Title of standalone page prompting missing camera permissions" }, paragraph: { id: "dynamicFlows.CameraCapture.NoCameraAccess.paragraph", defaultMessage: "Enable camera access in your browser's settings to get going again.", description: "Further text of standalone page prompting missing camera permissions" }, action: { id: "dynamicFlows.CameraCapture.NoCameraAccess.action", defaultMessage: "Enable camera access", description: "Action to ask for camera permissions again" } });
|
|
2495
2499
|
var ze = require("react/jsx-runtime");
|
|
2496
|
-
var
|
|
2497
|
-
let t = (0,
|
|
2498
|
-
return (0, ze.jsx)("div", { id: "no-camera-access", children: (0, ze.jsx)("div", { className: "container p-t-5", children: (0, ze.jsx)("div", { className: "row", children: (0, ze.jsxs)("div", { className: "col-md-6 col-md-offset-3", children: [(0, ze.jsx)("h2", { className: "text-xs-center m-b-3", children: t.formatMessage(so.title) }), (0, ze.jsx)("p", { className: "text-xs-center m-b-5", children: t.formatMessage(so.paragraph) }), (0, ze.jsx)(
|
|
2500
|
+
var wu = ({ onAction: e }) => {
|
|
2501
|
+
let t = (0, hm.useIntl)();
|
|
2502
|
+
return (0, ze.jsx)("div", { id: "no-camera-access", children: (0, ze.jsx)("div", { className: "container p-t-5", children: (0, ze.jsx)("div", { className: "row", children: (0, ze.jsxs)("div", { className: "col-md-6 col-md-offset-3", children: [(0, ze.jsx)("h2", { className: "text-xs-center m-b-3", children: t.formatMessage(so.title) }), (0, ze.jsx)("p", { className: "text-xs-center m-b-5", children: t.formatMessage(so.paragraph) }), (0, ze.jsx)(ym.Button, { block: true, onClick: e, children: t.formatMessage(so.action) })] }) }) }) });
|
|
2499
2503
|
};
|
|
2500
|
-
var Pa =
|
|
2504
|
+
var Pa = wu;
|
|
2505
|
+
var Sm = require("react-intl");
|
|
2501
2506
|
var gm = require("react-intl");
|
|
2502
|
-
var
|
|
2503
|
-
var Ma = (0, hm.defineMessages)({ title: { id: "dynamicFlows.CameraCapture.CameraNotSupported.title", defaultMessage: "Camera not supported", description: "Title of standalone page prompting that camera is not available on users browser" }, paragraph: { id: "dynamicFlows.CameraCapture.CameraNotSupported.paragraph", defaultMessage: "The browser you're using doesn't have support for a camera. Try a different browser, device, or download our mobile app.", description: "Further text of standalone page prompting that camera is not available on user's browser" } });
|
|
2507
|
+
var Ma = (0, gm.defineMessages)({ title: { id: "dynamicFlows.CameraCapture.CameraNotSupported.title", defaultMessage: "Camera not supported", description: "Title of standalone page prompting that camera is not available on users browser" }, paragraph: { id: "dynamicFlows.CameraCapture.CameraNotSupported.paragraph", defaultMessage: "The browser you're using doesn't have support for a camera. Try a different browser, device, or download our mobile app.", description: "Further text of standalone page prompting that camera is not available on user's browser" } });
|
|
2504
2508
|
var tt = require("react/jsx-runtime");
|
|
2505
|
-
var
|
|
2506
|
-
let e = (0,
|
|
2509
|
+
var Fu = () => {
|
|
2510
|
+
let e = (0, Sm.useIntl)();
|
|
2507
2511
|
return (0, tt.jsx)("div", { id: "camera-not-supported", children: (0, tt.jsx)("div", { className: "container p-t-5", children: (0, tt.jsx)("div", { className: "row", children: (0, tt.jsxs)("div", { className: "col-md-6 col-md-offset-3", children: [(0, tt.jsx)("h2", { className: "text-xs-center m-b-3", children: e.formatMessage(Ma.title) }), (0, tt.jsx)("p", { className: "text-xs-center m-b-5", children: e.formatMessage(Ma.paragraph) })] }) }) }) });
|
|
2508
2512
|
};
|
|
2509
|
-
var Ea =
|
|
2510
|
-
var
|
|
2511
|
-
var
|
|
2512
|
-
var
|
|
2513
|
-
var
|
|
2513
|
+
var Ea = Fu;
|
|
2514
|
+
var bm = (e) => e == null ? void 0 : e("Dynamic Flow - Camera Permission Denied", {});
|
|
2515
|
+
var wm = async (e, t, r) => e == null ? void 0 : e("Dynamic Flow - Camera Feed Started", await Cu(t, r));
|
|
2516
|
+
var Fm = (e, t) => e == null ? void 0 : e("Dynamic Flow - Camera Not Supported", { Error: t });
|
|
2517
|
+
var Cu = async (e, t) => {
|
|
2514
2518
|
var n;
|
|
2515
2519
|
let r = ao(t), o = va(t), a = (n = r == null ? void 0 : r.getSettings) == null ? void 0 : n.call(r);
|
|
2516
|
-
return b(i({}, r && { "Available Video Devices (by label)": await
|
|
2520
|
+
return b(i({}, r && { "Available Video Devices (by label)": await lm(), "Active Video Device (by label)": await cm(t), "Camera Capabilities": o, "Camera Settings": a }), { "Camera Direction (Asked)": e == null ? void 0 : e.direction });
|
|
2517
2521
|
};
|
|
2518
2522
|
var te = require("react/jsx-runtime");
|
|
2519
|
-
var
|
|
2520
|
-
let [c, d] = (0, Ce.useState)("CAPTURE"), [g, f] = (0, Ce.useState)(false), [m, p] = (0, Ce.useState)(false), [y, S] = (0, Ce.useState)(), h = (0, Ce.useRef)(null), { videoConstraints: F } =
|
|
2523
|
+
var xu = ({ direction: e = "back", overlay: t = "", outline: r = "", imageUrl: o = "", title: a = "", instructions: n = "", showReview: s = false, onCapture: l, onEvent: u }) => {
|
|
2524
|
+
let [c, d] = (0, Ce.useState)("CAPTURE"), [g, f] = (0, Ce.useState)(false), [m, p] = (0, Ce.useState)(false), [y, S] = (0, Ce.useState)(), h = (0, Ce.useRef)(null), { videoConstraints: F } = dm(e), w = (0, Cm.useIntl)(), v = (0, Ce.useCallback)(async () => {
|
|
2521
2525
|
var A, j, E, H, Ae, ne;
|
|
2522
2526
|
if ((A = h == null ? void 0 : h.current) != null && A.video && ((E = (j = h == null ? void 0 : h.current) == null ? void 0 : j.video) == null ? void 0 : E.readyState) >= 3) {
|
|
2523
2527
|
(Ae = (H = h == null ? void 0 : h.current) == null ? void 0 : H.video) == null || Ae.pause();
|
|
2524
|
-
let re = await
|
|
2528
|
+
let re = await sm((ne = h == null ? void 0 : h.current) == null ? void 0 : ne.video);
|
|
2525
2529
|
re == null || re.toBlob((de) => {
|
|
2526
2530
|
if (de)
|
|
2527
2531
|
if (s) {
|
|
@@ -2533,57 +2537,57 @@ var require_main_min = __commonJS({
|
|
|
2533
2537
|
}
|
|
2534
2538
|
}, [h, s, S, d, l, g]), O = (0, Ce.useCallback)((A) => {
|
|
2535
2539
|
if (A instanceof DOMException && (A == null ? void 0 : A.name) === "NotAllowedError") {
|
|
2536
|
-
d("NO_CAMERA_ACCESS"),
|
|
2540
|
+
d("NO_CAMERA_ACCESS"), bm(u);
|
|
2537
2541
|
return;
|
|
2538
2542
|
}
|
|
2539
|
-
d("CAMERA_NOT_SUPPORTED"),
|
|
2543
|
+
d("CAMERA_NOT_SUPPORTED"), Fm(u, A);
|
|
2540
2544
|
}, [d, u]), C = (0, Ce.useCallback)((A) => {
|
|
2541
|
-
p(true), f(
|
|
2545
|
+
p(true), f(nm(A)), wm(u, { direction: e }, A);
|
|
2542
2546
|
}, [f, u, e]), D = () => {
|
|
2543
2547
|
l((y == null ? void 0 : y.blob) || null);
|
|
2544
2548
|
}, T = () => {
|
|
2545
2549
|
d("CAPTURE"), S(void 0);
|
|
2546
|
-
}, P = () => d("CAPTURE"), N = (0, te.jsxs)(te.Fragment, { children: [F && (0, te.jsx)(
|
|
2550
|
+
}, P = () => d("CAPTURE"), N = (0, te.jsxs)(te.Fragment, { children: [F && (0, te.jsx)(xm.default, { ref: h, audio: false, videoConstraints: F, mirrored: g, onUserMediaError: O, onUserMedia: C }), (0, te.jsx)(Oa, { overlay: t, outline: r, imageUrl: o, title: a, instructions: n }), m && (0, te.jsx)(om, { onCapture: () => void v() })] }), G = (0, te.jsxs)(te.Fragment, { children: [(0, te.jsx)("img", { className: "review-image", src: y == null ? void 0 : y.source, alt: "" }), (0, te.jsx)(Oa, { overlay: t, imageUrl: o, title: a, instructions: n, reviewInstructions: w.formatMessage(pr.reviewInstructions) }), (0, te.jsx)(am, { onSubmit: D, onRetry: T })] });
|
|
2547
2551
|
return (0, te.jsxs)("section", { className: "camera-capture", children: [c === "CAPTURE" && N, c === "REVIEW" && G, c === "NO_CAMERA_ACCESS" && (0, te.jsx)(Pa, { onAction: P }), c === "CAMERA_NOT_SUPPORTED" && (0, te.jsx)(Ea, {})] });
|
|
2548
2552
|
};
|
|
2549
|
-
var ka =
|
|
2550
|
-
var
|
|
2551
|
-
function
|
|
2553
|
+
var ka = xu;
|
|
2554
|
+
var vm = require("react/jsx-runtime");
|
|
2555
|
+
function Au(e) {
|
|
2552
2556
|
return new Promise((t, r) => {
|
|
2553
2557
|
let o = new FileReader();
|
|
2554
2558
|
o.onloadend = () => t(o.result), o.readAsDataURL(e);
|
|
2555
2559
|
});
|
|
2556
2560
|
}
|
|
2557
|
-
var
|
|
2558
|
-
let { step: t, model: r, onModelChange: o, onAction: a } = e, n = Q(), s =
|
|
2561
|
+
var vu = (e) => {
|
|
2562
|
+
let { step: t, model: r, onModelChange: o, onAction: a } = e, n = Q(), s = Am(t), l = Ou(t), u = Pu(t), { title: c, image: d, cameraConfig: g } = l, { assets: f, direction: m, instructions: p } = g || {}, { overlay: y, outline: S } = f || {}, { url: h } = d || {}, [F, w] = (0, mo.useState)(false);
|
|
2559
2563
|
(0, mo.useEffect)(() => {
|
|
2560
2564
|
F && a(u);
|
|
2561
2565
|
}, [r]);
|
|
2562
2566
|
let v = async (O) => {
|
|
2563
2567
|
let { $id: C } = l;
|
|
2564
2568
|
if (O) {
|
|
2565
|
-
let D = await
|
|
2569
|
+
let D = await Au(O), T = { [C || ""]: D };
|
|
2566
2570
|
w(true), o({ model: T, formSchema: s, triggerModel: D, triggerSchema: l });
|
|
2567
2571
|
}
|
|
2568
2572
|
};
|
|
2569
|
-
return (0,
|
|
2573
|
+
return (0, vm.jsx)(ka, { overlay: y, outline: S, title: c, imageUrl: h, instructions: p, direction: m, onEvent: n, onCapture: (O) => {
|
|
2570
2574
|
v(O);
|
|
2571
2575
|
} });
|
|
2572
2576
|
};
|
|
2573
|
-
var lo =
|
|
2574
|
-
function
|
|
2577
|
+
var lo = vu;
|
|
2578
|
+
function Am(e) {
|
|
2575
2579
|
let r = Lr(e.schemas || [])[0];
|
|
2576
2580
|
if (!r || !Pe(r))
|
|
2577
2581
|
throw new Error("The first schema in a camera step is expected to be of type object and have at least one property with a schema...");
|
|
2578
2582
|
return r;
|
|
2579
2583
|
}
|
|
2580
|
-
function
|
|
2581
|
-
let t =
|
|
2584
|
+
function Ou(e) {
|
|
2585
|
+
let t = Am(e), r = Object.values(t.properties)[0];
|
|
2582
2586
|
if (!r)
|
|
2583
2587
|
throw new Error("The first schema in a camera step is expected to be of type object and have at least one property with a schema...");
|
|
2584
2588
|
return r;
|
|
2585
2589
|
}
|
|
2586
|
-
function
|
|
2590
|
+
function Pu(e) {
|
|
2587
2591
|
var t, r;
|
|
2588
2592
|
if (!e.schemas || ((t = Lr(e.schemas)) == null ? void 0 : t.length) !== 1)
|
|
2589
2593
|
throw new Error("camera step expects 1 non-hidden object schema");
|
|
@@ -2591,70 +2595,70 @@ var require_main_min = __commonJS({
|
|
|
2591
2595
|
throw new Error("camera step expects 1 action");
|
|
2592
2596
|
return e.actions[0];
|
|
2593
2597
|
}
|
|
2594
|
-
var
|
|
2595
|
-
var
|
|
2596
|
-
var fr = (0,
|
|
2597
|
-
var
|
|
2598
|
-
var
|
|
2598
|
+
var Mm = require("react-intl");
|
|
2599
|
+
var Om = require("react-intl");
|
|
2600
|
+
var fr = (0, Om.defineMessages)({ title: { id: "dynamicFlows.ExternalConfirmation.title", defaultMessage: "Please confirm", description: "Heading for the confirmation screen." }, description: { id: "dynamicFlows.ExternalConfirmation.description", defaultMessage: "Please confirm you want to open **{origin}** in a new browser tab.", description: "Description for the confirmation screen." }, open: { id: "dynamicFlows.ExternalConfirmation.open", defaultMessage: "Open in new tab", description: "Button text confirming opening a new browser tab." }, cancel: { id: "dynamicFlows.ExternalConfirmation.cancel", defaultMessage: "Cancel", description: "Button text rejecting opening a new browser tab." } });
|
|
2601
|
+
var Em = require("react/jsx-runtime");
|
|
2602
|
+
var Pm = () => {
|
|
2599
2603
|
};
|
|
2600
|
-
var
|
|
2601
|
-
let { formatMessage: r } = (0,
|
|
2602
|
-
return (0,
|
|
2604
|
+
var Mu = ({ url: e, onClose: t }) => {
|
|
2605
|
+
let { formatMessage: r } = (0, Mm.useIntl)();
|
|
2606
|
+
return (0, Em.jsx)(me, { components: [{ type: "box", width: "lg", components: [{ type: "heading", text: r(fr.title), size: "lg", align: "center", margin: "xl" }, { type: "info", markdown: r(fr.description, { origin: Eu(e) }), align: "center", margin: "xl" }, { type: "box", width: "md", components: [{ type: "button", action: { title: r(fr.open), type: "primary", url: e, exit: true } }, { type: "button", action: { title: r(fr.cancel), type: "link", url: "", exit: true } }] }] }], submitted: false, onAction: (o) => {
|
|
2603
2607
|
o.url && window.open(o.url, "_blank"), t();
|
|
2604
|
-
}, onModelChange:
|
|
2608
|
+
}, onModelChange: Pm, onPersistAsync: Pm });
|
|
2605
2609
|
};
|
|
2606
|
-
var co =
|
|
2607
|
-
function
|
|
2610
|
+
var co = Mu;
|
|
2611
|
+
function Eu(e) {
|
|
2608
2612
|
try {
|
|
2609
2613
|
return new URL(e).origin;
|
|
2610
2614
|
} catch (t) {
|
|
2611
2615
|
return e;
|
|
2612
2616
|
}
|
|
2613
2617
|
}
|
|
2614
|
-
var
|
|
2615
|
-
var
|
|
2618
|
+
var km = require("@transferwise/components");
|
|
2619
|
+
var Im = require("@transferwise/icons");
|
|
2616
2620
|
var qt = require("react/jsx-runtime");
|
|
2617
|
-
var
|
|
2621
|
+
var ku = ({ title: e, action: t, onAction: r }) => (0, qt.jsxs)("a", { onClick: (o) => {
|
|
2618
2622
|
o.preventDefault(), r(b(i({}, t), { skipValidation: true }));
|
|
2619
|
-
}, href: "/", className: "df-back-btn", "aria-label": e, children: [(0, qt.jsx)("span", { className: "sr-only", children: e }), (0, qt.jsx)(
|
|
2620
|
-
var
|
|
2623
|
+
}, href: "/", className: "df-back-btn", "aria-label": e, children: [(0, qt.jsx)("span", { className: "sr-only", children: e }), (0, qt.jsx)(km.Avatar, { type: "icon", children: (0, qt.jsx)(Im.ArrowLeft, { size: "24" }) })] });
|
|
2624
|
+
var Dm = ku;
|
|
2621
2625
|
var De = require("react/jsx-runtime");
|
|
2622
2626
|
var qr = (e) => {
|
|
2623
2627
|
var u, c;
|
|
2624
2628
|
let { step: t, globalError: r, onAction: o } = e, a = (u = t == null ? void 0 : t.external) == null ? void 0 : u.url, n = (c = t == null ? void 0 : t.navigation) == null ? void 0 : c.backButton, { requiresManualTrigger: s, dismissConfirmation: l } = Ln(a);
|
|
2625
|
-
return t === void 0 ? null : a && s ? (0, De.jsx)(co, { url: a, onClose: l }) : En(t) ? (0, De.jsx)(lo, b(i({}, e), { step: t })) : (0, De.jsxs)(De.Fragment, { children: [n && (0, De.jsx)(
|
|
2629
|
+
return t === void 0 ? null : a && s ? (0, De.jsx)(co, { url: a, onClose: l }) : En(t) ? (0, De.jsx)(lo, b(i({}, e), { step: t })) : (0, De.jsxs)(De.Fragment, { children: [n && (0, De.jsx)(Dm, b(i({}, n), { onAction: o })), r ? (0, De.jsx)(se, { component: { context: "negative", markdown: r, margin: "lg" } }) : null, (0, De.jsx)(oo, b(i({}, e), { stepSpecification: t }))] });
|
|
2626
2630
|
};
|
|
2627
|
-
var
|
|
2628
|
-
var
|
|
2629
|
-
function
|
|
2630
|
-
let t = (0,
|
|
2631
|
+
var Lm = require("react");
|
|
2632
|
+
var Iu = 1e3;
|
|
2633
|
+
function Tm(e) {
|
|
2634
|
+
let t = (0, Lm.useRef)(/* @__PURE__ */ new Map()), r = (o) => {
|
|
2631
2635
|
if (t.current.has(o))
|
|
2632
2636
|
return t.current.get(o);
|
|
2633
|
-
let a = We((n, s, l) => e(n, s, l),
|
|
2637
|
+
let a = We((n, s, l) => e(n, s, l), Iu);
|
|
2634
2638
|
return t.current.set(o, a), a;
|
|
2635
2639
|
};
|
|
2636
2640
|
return function(o, a, n, s) {
|
|
2637
2641
|
let l = r(o);
|
|
2638
|
-
l(o, a, n), (!s || !
|
|
2642
|
+
l(o, a, n), (!s || !Du(s)) && l.flush();
|
|
2639
2643
|
};
|
|
2640
2644
|
}
|
|
2641
|
-
var
|
|
2645
|
+
var Du = (e) => it(e) === "basic" && e.type !== "boolean" && e.format !== "base64url";
|
|
2642
2646
|
var Gt = require("react");
|
|
2643
|
-
var
|
|
2647
|
+
var Bm = (e) => {
|
|
2644
2648
|
var m, p;
|
|
2645
|
-
let [t, r] = (0, Gt.useState)((m = e == null ? void 0 : e.errors) == null ? void 0 : m.validation), [o, a] = (0, Gt.useState)((p = e == null ? void 0 : e.errors) == null ? void 0 : p.error), [n, s] = (0, Gt.useState)({ step: e || void 0, models: e != null && e.model ?
|
|
2649
|
+
let [t, r] = (0, Gt.useState)((m = e == null ? void 0 : e.errors) == null ? void 0 : m.validation), [o, a] = (0, Gt.useState)((p = e == null ? void 0 : e.errors) == null ? void 0 : p.error), [n, s] = (0, Gt.useState)({ step: e || void 0, models: e != null && e.model ? Nm(e.model, Rm(e)) : {}, etag: void 0 }), { step: l, models: u, etag: c } = n, d = (y, S) => {
|
|
2646
2650
|
var h, F, w, v;
|
|
2647
|
-
s((O) => ({ step: y, models: y.model ?
|
|
2651
|
+
s((O) => ({ step: y, models: y.model ? Nm(y.model, Rm(y)) : O.models, etag: S })), r((F = (h = y == null ? void 0 : y.errors) == null ? void 0 : h.validation) != null ? F : null), a((v = (w = y == null ? void 0 : y.errors) == null ? void 0 : w.error) != null ? v : null);
|
|
2648
2652
|
}, g = (y, S, h) => {
|
|
2649
2653
|
s((F) => {
|
|
2650
2654
|
let w = b(i({}, F.models), { [y]: S }), v = { step: F.step, models: w, etag: F.etag };
|
|
2651
2655
|
return h(w), v;
|
|
2652
2656
|
});
|
|
2653
|
-
}, f = (0, Gt.useMemo)(() =>
|
|
2657
|
+
}, f = (0, Gt.useMemo)(() => Tu(u, Lu(l)), [u, l]);
|
|
2654
2658
|
return { formErrors: t, globalError: o, step: l, models: u, etag: c, modelIsValid: f, setFormErrors: r, setGlobalError: a, setStepAndEtag: d, setSchemaModel: g };
|
|
2655
2659
|
};
|
|
2656
|
-
var
|
|
2657
|
-
var
|
|
2660
|
+
var Nm = (e, t = []) => t.reduce((r, o) => (o.$id || console.warn("Schema without $id property found."), b(i({}, r), { [o.$id || ""]: ie(e, o) || {} })), {});
|
|
2661
|
+
var Rm = (e) => [...uo((e == null ? void 0 : e.layout) || []), ...(e == null ? void 0 : e.schemas) || []];
|
|
2658
2662
|
var uo = (e) => e.flatMap((t) => {
|
|
2659
2663
|
switch (t.type) {
|
|
2660
2664
|
case "columns":
|
|
@@ -2662,12 +2666,12 @@ var require_main_min = __commonJS({
|
|
|
2662
2666
|
case "box":
|
|
2663
2667
|
return uo(t.components);
|
|
2664
2668
|
case "form":
|
|
2665
|
-
return
|
|
2669
|
+
return jm(t.schema) ? [t.schema] : [];
|
|
2666
2670
|
default:
|
|
2667
2671
|
return [];
|
|
2668
2672
|
}
|
|
2669
2673
|
});
|
|
2670
|
-
var
|
|
2674
|
+
var Lu = (e) => [...Ia((e == null ? void 0 : e.layout) || []).map((t) => ((e == null ? void 0 : e.schemas) || []).find((r) => r.$id === t)).filter(Boolean), ...uo((e == null ? void 0 : e.layout) || [])];
|
|
2671
2675
|
var Ia = (e) => e.flatMap((t) => {
|
|
2672
2676
|
switch (t.type) {
|
|
2673
2677
|
case "columns":
|
|
@@ -2675,33 +2679,33 @@ var require_main_min = __commonJS({
|
|
|
2675
2679
|
case "box":
|
|
2676
2680
|
return Ia(t.components);
|
|
2677
2681
|
case "form":
|
|
2678
|
-
return [
|
|
2682
|
+
return [Nu(t)];
|
|
2679
2683
|
default:
|
|
2680
2684
|
return [];
|
|
2681
2685
|
}
|
|
2682
2686
|
}).filter(Boolean);
|
|
2683
|
-
var
|
|
2684
|
-
var
|
|
2685
|
-
var
|
|
2687
|
+
var Tu = (e, t = []) => !(t != null && t.some((r) => (r.$id || console.warn("Schema without $id property found."), !$(e[r.$id || ""] || {}, r))));
|
|
2688
|
+
var Nu = (e) => e.schema && !jm(e.schema) ? e.schema.$ref : e.schemaId;
|
|
2689
|
+
var jm = (e) => e !== void 0 && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "$ref") === false;
|
|
2686
2690
|
var po = require("@transferwise/components");
|
|
2687
|
-
var
|
|
2688
|
-
var
|
|
2689
|
-
function
|
|
2690
|
-
let r = i({ size: po.Size.EXTRA_LARGE, initial: true, submission: false }, e), [o, a] = (0,
|
|
2691
|
+
var Vm = require("react");
|
|
2692
|
+
var zm = require("react/jsx-runtime");
|
|
2693
|
+
function Um(e, t) {
|
|
2694
|
+
let r = i({ size: po.Size.EXTRA_LARGE, initial: true, submission: false }, e), [o, a] = (0, Vm.useState)(t), s = r.initial && o === "initial" || r.submission && o === "submission" ? (0, zm.jsx)(po.Loader, { size: r.size, classNames: { "tw-loader": "tw-loader m-x-auto" }, "data-testid": "loader" }) : null;
|
|
2691
2695
|
return { isLoading: o !== "idle", setLoadingState: a, loader: s };
|
|
2692
2696
|
}
|
|
2693
|
-
var
|
|
2697
|
+
var _m = require("react");
|
|
2694
2698
|
var fo = require("@transferwise/components");
|
|
2695
|
-
var
|
|
2696
|
-
var
|
|
2697
|
-
var
|
|
2698
|
-
let { formatMessage: t } = (0,
|
|
2699
|
-
return (0,
|
|
2699
|
+
var Hm = require("react-intl");
|
|
2700
|
+
var Gm = require("react/jsx-runtime");
|
|
2701
|
+
var qm = ({ onDismiss: e }) => {
|
|
2702
|
+
let { formatMessage: t } = (0, Hm.useIntl)();
|
|
2703
|
+
return (0, Gm.jsx)(fo.Alert, { action: { text: t(zt.retry), href: window.location.href }, message: t(zt.errorAlert), type: fo.Sentiment.NEGATIVE, className: "m-b-3", onDismiss: e });
|
|
2700
2704
|
};
|
|
2701
|
-
var
|
|
2702
|
-
var
|
|
2705
|
+
var _t = require("react/jsx-runtime");
|
|
2706
|
+
var Ru = () => {
|
|
2703
2707
|
};
|
|
2704
|
-
var Da = class extends
|
|
2708
|
+
var Da = class extends _m.Component {
|
|
2705
2709
|
constructor(r) {
|
|
2706
2710
|
super(r);
|
|
2707
2711
|
this.handleErrorReset = () => {
|
|
@@ -2713,23 +2717,23 @@ var require_main_min = __commonJS({
|
|
|
2713
2717
|
return { hasError: true, isFatalError: true };
|
|
2714
2718
|
}
|
|
2715
2719
|
componentDidCatch(r) {
|
|
2716
|
-
let { onError: o =
|
|
2720
|
+
let { onError: o = Ru } = this.props;
|
|
2717
2721
|
o(r);
|
|
2718
2722
|
}
|
|
2719
2723
|
render() {
|
|
2720
2724
|
let { children: r } = this.props, { hasError: o, isFatalError: a } = this.state;
|
|
2721
|
-
return (0,
|
|
2725
|
+
return (0, _t.jsxs)(_t.Fragment, { children: [o && (0, _t.jsx)(qm, { onDismiss: this.handleErrorReset }), !a && r] });
|
|
2722
2726
|
}
|
|
2723
2727
|
};
|
|
2724
2728
|
var La = Da;
|
|
2725
|
-
var
|
|
2729
|
+
var Bu = async (e) => {
|
|
2726
2730
|
switch (e.headers.get("X-Df-ResponseType")) {
|
|
2727
2731
|
case "step":
|
|
2728
2732
|
return $m(e);
|
|
2729
2733
|
case "exit":
|
|
2730
|
-
return
|
|
2734
|
+
return Km(e);
|
|
2731
2735
|
case "action":
|
|
2732
|
-
return
|
|
2736
|
+
return Wm(e);
|
|
2733
2737
|
default:
|
|
2734
2738
|
throw new Error("Unsupported X-Df-ResponseType. Allowed values are 'step', 'action', 'exit'.");
|
|
2735
2739
|
}
|
|
@@ -2741,7 +2745,7 @@ var require_main_min = __commonJS({
|
|
|
2741
2745
|
let r = e.headers.get("etag") || void 0;
|
|
2742
2746
|
return { type: "step", step: t, etag: r };
|
|
2743
2747
|
};
|
|
2744
|
-
var
|
|
2748
|
+
var Wm = async (e) => {
|
|
2745
2749
|
let t = await yr(e);
|
|
2746
2750
|
if (!L(t))
|
|
2747
2751
|
throw new Error("Incorrect response body in response. Expected an object.");
|
|
@@ -2750,17 +2754,17 @@ var require_main_min = __commonJS({
|
|
|
2750
2754
|
let r = t.action;
|
|
2751
2755
|
return r.exit === true && L(r.result) ? { type: "exit", result: r.result } : { type: "action", action: t.action };
|
|
2752
2756
|
};
|
|
2753
|
-
var
|
|
2754
|
-
var
|
|
2757
|
+
var Km = async (e) => ({ type: "exit", result: await Ta(e) });
|
|
2758
|
+
var Jm = async (e) => {
|
|
2755
2759
|
var r, o;
|
|
2756
2760
|
if (Na(e), (r = e.headers) != null && r.has("X-Df-ResponseType"))
|
|
2757
|
-
return
|
|
2761
|
+
return Bu(e);
|
|
2758
2762
|
if ((o = e.headers) != null && o.has("X-Df-Exit"))
|
|
2759
|
-
return
|
|
2763
|
+
return Km(e);
|
|
2760
2764
|
let t = await yr(e.clone());
|
|
2761
|
-
return L(t) && t.action ?
|
|
2765
|
+
return L(t) && t.action ? Wm(e) : $m(e);
|
|
2762
2766
|
};
|
|
2763
|
-
var
|
|
2767
|
+
var Xm = async (e) => {
|
|
2764
2768
|
Na(e);
|
|
2765
2769
|
let t = await yr(e);
|
|
2766
2770
|
if (!L(t))
|
|
@@ -2782,17 +2786,17 @@ var require_main_min = __commonJS({
|
|
|
2782
2786
|
}
|
|
2783
2787
|
};
|
|
2784
2788
|
var Na = (e) => {
|
|
2785
|
-
if (!
|
|
2789
|
+
if (!ju(e))
|
|
2786
2790
|
throw new Error("Incorrect type of response from fetch. Expected object of type Response.");
|
|
2787
2791
|
if (e.bodyUsed)
|
|
2788
2792
|
throw new Error("The body of the provided Response object has already been used. Every request must respond with a new Response object.");
|
|
2789
2793
|
};
|
|
2790
|
-
var
|
|
2794
|
+
var ju = (e) => typeof e == "object" && e !== null && "clone" in e && "bodyUsed" in e;
|
|
2791
2795
|
var rt = require("react/jsx-runtime");
|
|
2792
|
-
var
|
|
2796
|
+
var Ym = () => {
|
|
2793
2797
|
};
|
|
2794
|
-
var
|
|
2795
|
-
let { locale: d } = (0,
|
|
2798
|
+
var Vu = ({ flowId: e, httpClient: t, initialAction: r, initialStep: o, loaderConfig: a, displayStepTitle: n = true, onCompletion: s, onError: l, onEvent: u = Ym, onLog: c = Ym }) => {
|
|
2799
|
+
let { locale: d } = (0, Zm.useIntl)(), { formErrors: g, globalError: f, step: m, models: p, etag: y, modelIsValid: S, setFormErrors: h, setGlobalError: F, setStepAndEtag: w, setSchemaModel: v } = Bm(o), [O, C] = (0, xe.useState)(false), { isLoading: D, loader: T, setLoadingState: P } = Um(a, o ? "idle" : "initial"), N = at("critical", c, e, (m == null ? void 0 : m.id) || (m == null ? void 0 : m.key)), G = (0, xe.useMemo)(() => {
|
|
2796
2800
|
var x;
|
|
2797
2801
|
return i({ flowId: e, stepId: (m == null ? void 0 : m.id) || (m == null ? void 0 : m.key) }, (x = m == null ? void 0 : m.analytics) != null ? x : {});
|
|
2798
2802
|
}, [e, m]), A = (0, xe.useMemo)(() => wo(u, G), [u, G]), j = (0, xe.useCallback)(({ action: x, data: V, etag: I }) => {
|
|
@@ -2825,7 +2829,7 @@ var require_main_min = __commonJS({
|
|
|
2825
2829
|
}, ne = async (x, V) => {
|
|
2826
2830
|
let I = await Ta(x);
|
|
2827
2831
|
de(i(i({}, I), V));
|
|
2828
|
-
}, re =
|
|
2832
|
+
}, re = Tm(H), de = (0, xe.useCallback)((x) => {
|
|
2829
2833
|
A("Dynamic Flow - Flow Finished", { result: "success" }), s(x);
|
|
2830
2834
|
}, [s, A]);
|
|
2831
2835
|
(0, xe.useEffect)(() => {
|
|
@@ -2843,34 +2847,34 @@ var require_main_min = __commonJS({
|
|
|
2843
2847
|
return;
|
|
2844
2848
|
}
|
|
2845
2849
|
if (!x.ok) {
|
|
2846
|
-
let Z = await
|
|
2847
|
-
|
|
2850
|
+
let Z = await Xm(x);
|
|
2851
|
+
hl(Z);
|
|
2848
2852
|
return;
|
|
2849
2853
|
}
|
|
2850
|
-
let I = await
|
|
2851
|
-
I.type === "action" ? E(I.action, I.action.data) : I.type === "exit" ? de(I.result) :
|
|
2854
|
+
let I = await Jm(x);
|
|
2855
|
+
I.type === "action" ? E(I.action, I.action.data) : I.type === "exit" ? de(I.result) : yl(I.step, I.etag, V);
|
|
2852
2856
|
} catch (I) {
|
|
2853
2857
|
return gr(I, "Error parsing fetch response", V, x.status);
|
|
2854
2858
|
}
|
|
2855
|
-
},
|
|
2859
|
+
}, yl = (x, V, I) => {
|
|
2856
2860
|
w(x, V), P("idle"), I === "submission" ? (C(false), A("Dynamic Flow - Step Started", i({ stepId: x.id || x.key }, x == null ? void 0 : x.analytics))) : A("Dynamic Flow - Step Refreshed", { status: "success" });
|
|
2857
|
-
},
|
|
2861
|
+
}, hl = async (x) => {
|
|
2858
2862
|
let V = x.refreshUrl || x.refreshFormUrl;
|
|
2859
2863
|
V && await H(V, yo(p), y), x.validation && h(x.validation), x.error && F(x.error), P("idle");
|
|
2860
2864
|
}, gr = (x, V, I, Z) => {
|
|
2861
2865
|
N("Error fetching", V), I === "refresh" && A("Dynamic Flow - Step Refreshed", { status: "failure" }), A("Dynamic Flow - Flow Finished", { status: "failure" }), l(x, Z), P("idle");
|
|
2862
|
-
},
|
|
2866
|
+
}, gl = (x) => {
|
|
2863
2867
|
let { model: V, formSchema: I } = x, { $id: Z = "" } = I;
|
|
2864
|
-
F(null),
|
|
2865
|
-
|
|
2868
|
+
F(null), _(V) || N("Invalid model on change", "onModelChange was called but the model argument is not an object"), v(Z, V, (bt) => {
|
|
2869
|
+
Sl(x, bt);
|
|
2866
2870
|
});
|
|
2867
|
-
},
|
|
2871
|
+
}, Sl = (x, V) => {
|
|
2868
2872
|
let { triggerSchema: I } = x;
|
|
2869
|
-
if (
|
|
2873
|
+
if (Hu(x)) {
|
|
2870
2874
|
let Z = I.refreshUrl || I.refreshFormUrl, He = (m == null ? void 0 : m.refreshUrl) || (m == null ? void 0 : m.refreshFormUrl), bt = Z || He;
|
|
2871
2875
|
bt && re(bt, yo(V), y, I);
|
|
2872
2876
|
}
|
|
2873
|
-
},
|
|
2877
|
+
}, bl = async (x) => {
|
|
2874
2878
|
if (D || x.disabled)
|
|
2875
2879
|
return;
|
|
2876
2880
|
if (x.exit && !x.url) {
|
|
@@ -2878,38 +2882,38 @@ var require_main_min = __commonJS({
|
|
|
2878
2882
|
return;
|
|
2879
2883
|
}
|
|
2880
2884
|
let V = x.exit ? Ae : E, { data: I, method: Z, skipValidation: He } = x, bt = i(i({}, yo(p)), I);
|
|
2881
|
-
|
|
2885
|
+
zu(Z) ? (h(null), He || C(true), (S || He) && await V(x, bt)) : await V(x);
|
|
2882
2886
|
};
|
|
2883
2887
|
return (0, rt.jsx)(Er, { flowId: e, stepId: (m == null ? void 0 : m.id) || (m == null ? void 0 : m.key), onLog: c, children: (0, rt.jsx)(Cr, { metadata: G, onEvent: u, children: (0, rt.jsx)(Ja, { loading: D, children: (0, rt.jsx)(en, { httpClient: t, children: T !== null ? T : (0, rt.jsx)(qr, { step: m, model: yo(p), submitted: O, globalError: f, formErrors: g, stepLayoutOptions: { displayStepTitle: n }, onAction: (x) => {
|
|
2884
|
-
|
|
2885
|
-
}, onModelChange:
|
|
2888
|
+
bl(x);
|
|
2889
|
+
}, onModelChange: gl }) }) }) }) });
|
|
2886
2890
|
};
|
|
2887
|
-
var
|
|
2888
|
-
var Ra =
|
|
2891
|
+
var Uu = (e) => (0, rt.jsx)(La, { onError: e.onError, children: (0, rt.jsx)(Vu, i({}, e)) });
|
|
2892
|
+
var Ra = Uu;
|
|
2889
2893
|
var yo = (e) => Object.values(e).reduce((t, r) => i(i({}, t), r), {});
|
|
2890
|
-
var
|
|
2891
|
-
var
|
|
2892
|
-
let { type: t, triggerSchema: r, triggerModel: o, lastTriggerModel: a = null } = e, n = () =>
|
|
2894
|
+
var zu = (e = "POST") => ["POST", "PUT", "PATCH"].includes(e.toUpperCase());
|
|
2895
|
+
var Hu = (e) => {
|
|
2896
|
+
let { type: t, triggerSchema: r, triggerModel: o, lastTriggerModel: a = null } = e, n = () => $(o, r), s = () => $(a, r), l = (r == null ? void 0 : r.refreshStepOnChange) || (r == null ? void 0 : r.refreshFormOnChange);
|
|
2893
2897
|
return t !== "init" && l && (n() || s());
|
|
2894
2898
|
};
|
|
2895
|
-
var
|
|
2896
|
-
var
|
|
2897
|
-
var
|
|
2898
|
-
var
|
|
2899
|
-
var
|
|
2900
|
-
var
|
|
2901
|
-
var
|
|
2902
|
-
var
|
|
2903
|
-
var
|
|
2904
|
-
var
|
|
2905
|
-
var
|
|
2906
|
-
var
|
|
2907
|
-
var
|
|
2908
|
-
var
|
|
2899
|
+
var Qm = { "dynamicFlows.ArraySchema.addItem": "Speichern", "dynamicFlows.ArraySchema.addItemTitle": "Artikel hinzuf\xFCgen", "dynamicFlows.ArraySchema.editItem": "Speichern", "dynamicFlows.ArraySchema.maxItemsError": "Bitte f\xFCge {maxItems} oder weniger hinzu.", "dynamicFlows.ArraySchema.minItemsError": "Bitte f\xFCge mindestens {minItems} hinzu.", "dynamicFlows.ArraySchema.removeItem": "Entfernen", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Der von dir verwendete Browser unterst\xFCtzt keine Kameras. Bitte verwende einen anderen Browser oder ein anderes Ger\xE4t, oder lade unsere App herunter", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Kamera wird nicht unterst\xFCtzt", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Kamerazugriff genehmigen", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Aktiviere den Kamerazugriff in den Einstellungen deines Browsers, um weitermachen zu k\xF6nnen.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Wir k\xF6nnen nicht auf deine Kamera zugreifen", "dynamicFlows.CameraCapture.reviewInstructions": "Ist das aufgenommene Bild deutlich erkennbar und vollst\xE4ndig?", "dynamicFlows.CameraCapture.reviewRetry": "Nein, erneut versuchen", "dynamicFlows.CameraCapture.reviewSubmit": "Ja, senden", "dynamicFlows.ControlFeedback.maxLength": "Bitte gib nicht mehr als {maxLength} Zeichen ein.", "dynamicFlows.ControlFeedback.maximum": "Bitte gib eine Zahl ein, die {maximum} oder weniger betr\xE4gt.", "dynamicFlows.ControlFeedback.maximumDate": "Bitte gib ein Datum ein, das am oder vor dem {maximum} liegt.", "dynamicFlows.ControlFeedback.minLength": "Bitte gib mindestens {minLength} Zeichen ein.", "dynamicFlows.ControlFeedback.minimum": "Bitte gib eine Zahl ein, die {minimum} oder mehr betr\xE4gt.", "dynamicFlows.ControlFeedback.minimumDate": "Bitte gib ein Datum ein, das am oder nach dem {minimum} liegt.", "dynamicFlows.ControlFeedback.pattern": "Bitte gib die Angabe im richtigen Format ein.", "dynamicFlows.ControlFeedback.patternDate": "Bitte gib ein Datum im richtigen Format ein.", "dynamicFlows.ControlFeedback.required": "Bitte f\xFClle dieses Feld aus.", "dynamicFlows.ControlFeedback.type": "Falscher Typ", "dynamicFlows.DynamicExternal.retryTitle": "Fenster erneut \xF6ffnen", "dynamicFlows.DynamicParagraph.copied": "In Zwischenablage kopiert", "dynamicFlows.DynamicParagraph.copy": "Kopieren", "dynamicFlows.ErrorBoundary.errorAlert": "Hoppla \u2013 da ist was schiefgelaufen...", "dynamicFlows.ErrorBoundary.retry": "Erneut versuchen", "dynamicFlows.ExternalConfirmation.cancel": "Abbrechen", "dynamicFlows.ExternalConfirmation.description": "Bitte best\xE4tige, dass du **{origin}** in einem neuen Browser-Tab \xF6ffnen m\xF6chtest.", "dynamicFlows.ExternalConfirmation.open": "In neuem Tab \xF6ffnen", "dynamicFlows.ExternalConfirmation.title": "Bitte best\xE4tigen", "dynamicFlows.Help.ariaLabel": "Klicke hier f\xFCr mehr Informationen.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Diese Datei ist leider zu gro\xDF. Bitte lade eine kleinere Datei hoch.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Bitte lade {maxItems} oder weniger Dateien hoch.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Bitte lade mindestens {minItems} Datei(en) hoch.", "dynamicFlows.PersistAsyncSchema.genericError": "Da ist etwas schiefgelaufen. Probiere es bitte sp\xE4ter noch einmal.", "dynamicFlows.ReadOnlySchema.no": "Nein", "dynamicFlows.ReadOnlySchema.yes": "Ja" };
|
|
2900
|
+
var el = { "dynamicFlows.ArraySchema.addItem": "Save", "dynamicFlows.ArraySchema.addItemTitle": "Add Item", "dynamicFlows.ArraySchema.editItem": "Save", "dynamicFlows.ArraySchema.maxItemsError": "Please add {maxItems} or fewer.", "dynamicFlows.ArraySchema.minItemsError": "Please add at least {minItems}.", "dynamicFlows.ArraySchema.removeItem": "Remove", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "The browser you're using doesn't have support for a camera. Try a different browser, device, or download our mobile app.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Camera not supported", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Enable camera access", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Enable camera access in your browser's settings to get going again.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "We can't access your camera", "dynamicFlows.CameraCapture.reviewInstructions": "Is your picture clear, readable and complete?", "dynamicFlows.CameraCapture.reviewRetry": "No, try again", "dynamicFlows.CameraCapture.reviewSubmit": "Yes, submit", "dynamicFlows.ControlFeedback.maxLength": "Please enter {maxLength} or fewer characters.", "dynamicFlows.ControlFeedback.maximum": "Please enter a number that's {maximum} or less.", "dynamicFlows.ControlFeedback.maximumDate": "Please enter a date that's on or before {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Please enter at least {minLength} characters.", "dynamicFlows.ControlFeedback.minimum": "Please enter a number that's {minimum} or more.", "dynamicFlows.ControlFeedback.minimumDate": "Please enter a date that's on or after {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Please enter this in the correct format.", "dynamicFlows.ControlFeedback.patternDate": "Please enter a date in the corrrect format.", "dynamicFlows.ControlFeedback.required": "Please fill out this field.", "dynamicFlows.ControlFeedback.type": "Incorrect type", "dynamicFlows.DynamicExternal.retryTitle": "Reopen window", "dynamicFlows.DynamicParagraph.copied": "Copied to clipboard", "dynamicFlows.DynamicParagraph.copy": "Copy", "dynamicFlows.ErrorBoundary.errorAlert": "Oops. Something went wrong...", "dynamicFlows.ErrorBoundary.retry": "Retry", "dynamicFlows.ExternalConfirmation.cancel": "Cancel", "dynamicFlows.ExternalConfirmation.description": "Please confirm you want to open **{origin}** in a new browser tab.", "dynamicFlows.ExternalConfirmation.open": "Open in new tab", "dynamicFlows.ExternalConfirmation.title": "Please confirm", "dynamicFlows.Help.ariaLabel": "Click here for more info.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Sorry, that file is too big. Please upload a smaller file.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Please upload {maxItems} or fewer files.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Please upload at least {minItems} file(s).", "dynamicFlows.PersistAsyncSchema.genericError": "Something went wrong, please try again later!", "dynamicFlows.ReadOnlySchema.no": "No", "dynamicFlows.ReadOnlySchema.yes": "Yes" };
|
|
2901
|
+
var tl = { "dynamicFlows.ArraySchema.addItem": "Guardar", "dynamicFlows.ArraySchema.addItemTitle": "Add Item", "dynamicFlows.ArraySchema.editItem": "Guardar", "dynamicFlows.ArraySchema.maxItemsError": "A\xF1ade {maxItems} o menos.", "dynamicFlows.ArraySchema.minItemsError": "A\xF1ade al menos {minItems}.", "dynamicFlows.ArraySchema.removeItem": "Eliminar", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "El navegador que est\xE1s utilizando no es compatible con una c\xE1mara. Prueba con otro navegador, dispositivo o descarga nuestra app m\xF3vil.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "C\xE1mara no compatible", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Habilitar acceso a la c\xE1mara", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Habilita el acceso a la c\xE1mara en la configuraci\xF3n de tu navegador para volver a activarla.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "No podemos acceder a tu c\xE1mara", "dynamicFlows.CameraCapture.reviewInstructions": "\xBFTu foto es clara, legible y completa?", "dynamicFlows.CameraCapture.reviewRetry": "No, intentar de nuevo", "dynamicFlows.CameraCapture.reviewSubmit": "S\xED, enviar", "dynamicFlows.ControlFeedback.maxLength": "Introduce {maxLength} caracteres o menos.", "dynamicFlows.ControlFeedback.maximum": "Introduce una cifra igual o inferior a {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "Introduce una fecha que sea igual o anterior al {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Introduce al menos {minLength} caracteres.", "dynamicFlows.ControlFeedback.minimum": "Introduce una cifra igual o inferior a {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "Introduce una fecha que sea igual o posterior al {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Utiliza el formato correcto.", "dynamicFlows.ControlFeedback.patternDate": "Introduce la fecha en un formato correcto.", "dynamicFlows.ControlFeedback.required": "Completa este campo.", "dynamicFlows.ControlFeedback.type": "Tipo incorrecto", "dynamicFlows.DynamicExternal.retryTitle": "Reabrir ventana", "dynamicFlows.DynamicParagraph.copied": "Copiado al portapapeles", "dynamicFlows.DynamicParagraph.copy": "Copiar", "dynamicFlows.ErrorBoundary.errorAlert": "Vaya. Algo ha salido mal...", "dynamicFlows.ErrorBoundary.retry": "Reintentar", "dynamicFlows.ExternalConfirmation.cancel": "Cancelar", "dynamicFlows.ExternalConfirmation.description": "Confirma que quieres abrir **{origin}** en una nueva pesta\xF1a del navegador.", "dynamicFlows.ExternalConfirmation.open": "Abrir en nueva pesta\xF1a", "dynamicFlows.ExternalConfirmation.title": "Por favor, confirma", "dynamicFlows.Help.ariaLabel": "Haz clic aqu\xED para obtener m\xE1s informaci\xF3n.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Lo sentimos, el archivo pesa demasiado. Sube uno m\xE1s peque\xF1o.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Sube {maxItems} o menos archivos.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Sube al menos {minItems} archivo(s).", "dynamicFlows.PersistAsyncSchema.genericError": "Algo ha ido mal. Int\xE9ntalo de nuevo m\xE1s tarde.", "dynamicFlows.ReadOnlySchema.no": "No", "dynamicFlows.ReadOnlySchema.yes": "S\xED" };
|
|
2902
|
+
var rl = { "dynamicFlows.ArraySchema.addItem": "Enregistrer", "dynamicFlows.ArraySchema.addItemTitle": "Ajouter un \xE9l\xE9ment", "dynamicFlows.ArraySchema.editItem": "Enregistrer", "dynamicFlows.ArraySchema.maxItemsError": "Veuillez ajouter {maxItems} ou moins.", "dynamicFlows.ArraySchema.minItemsError": "Veuillez ajouter au moins {minItems}.", "dynamicFlows.ArraySchema.removeItem": "Supprimer", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Le navigateur que vous utilisez ne prend pas en charge l'appareil photo. Veuillez essayer un autre navigateur, un autre appareil ou t\xE9l\xE9charger notre appli.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Appareil photo non pris en charge", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Autoriser l'acc\xE8s \xE0 l'appareil photo", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Autorisez l'acc\xE8s \xE0 l'appareil photo depuis les param\xE8tres de votre navigateur.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Nous n'avons pas acc\xE8s \xE0 votre appareil photo", "dynamicFlows.CameraCapture.reviewInstructions": "Votre image est-elle claire, lisible et dans son int\xE9gralit\xE9\xA0?", "dynamicFlows.CameraCapture.reviewRetry": "Non, r\xE9essayer", "dynamicFlows.CameraCapture.reviewSubmit": "Oui, confirmer", "dynamicFlows.ControlFeedback.maxLength": "Veuillez saisir {maxLength} caract\xE8res ou moins.", "dynamicFlows.ControlFeedback.maximum": "Veuillez saisir un nombre inf\xE9rieur ou \xE9gal \xE0 {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "Veuillez saisir une date \xE9gale ou ant\xE9rieure au {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Veuillez saisir au moins {minLength} caract\xE8res.", "dynamicFlows.ControlFeedback.minimum": "Veuillez saisir un nombre sup\xE9rieur ou \xE9gal \xE0 {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "Veuillez saisir une date \xE9gale ou post\xE9rieure au {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Veuillez saisir les informations dans le bon format.", "dynamicFlows.ControlFeedback.patternDate": "Veuillez saisir une date au format correct.", "dynamicFlows.ControlFeedback.required": "Champ obligatoire.", "dynamicFlows.ControlFeedback.type": "Type incorrect", "dynamicFlows.DynamicExternal.retryTitle": "Rouvrir la fen\xEAtre", "dynamicFlows.DynamicParagraph.copied": "Copi\xE9 dans le presse-papier", "dynamicFlows.DynamicParagraph.copy": "Copier", "dynamicFlows.ErrorBoundary.errorAlert": "Oups\xA0! Une erreur s'est produite...", "dynamicFlows.ErrorBoundary.retry": "R\xE9essayer", "dynamicFlows.ExternalConfirmation.cancel": "Annuler", "dynamicFlows.ExternalConfirmation.description": "Veuillez confirmer que vous souhaitez ouvrir **{origin}** dans un nouvel onglet.", "dynamicFlows.ExternalConfirmation.open": "Ouvrir dans un nouvel onglet", "dynamicFlows.ExternalConfirmation.title": "Veuillez confirmer", "dynamicFlows.Help.ariaLabel": "Cliquez ici pour plus d'informations.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Nous sommes d\xE9sol\xE9s, ce fichier est trop volumineux. Veuillez t\xE9l\xE9charger un fichier plus petit.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Veuillez t\xE9l\xE9charger {maxItems} fichiers ou moins.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Veuillez t\xE9l\xE9charger au moins {minItems} fichier(s).", "dynamicFlows.PersistAsyncSchema.genericError": "Un probl\xE8me est survenu, veuillez r\xE9essayer plus tard !", "dynamicFlows.ReadOnlySchema.no": "Non", "dynamicFlows.ReadOnlySchema.yes": "Oui" };
|
|
2903
|
+
var ol = { "dynamicFlows.ArraySchema.addItem": "Ment\xE9s", "dynamicFlows.ArraySchema.addItemTitle": "Elem hozz\xE1ad\xE1sa", "dynamicFlows.ArraySchema.editItem": "Ment\xE9s", "dynamicFlows.ArraySchema.maxItemsError": "K\xE9r\xFCnk, {maxItems} vagy ann\xE1l kevesebb t\xE9telt adj meg.", "dynamicFlows.ArraySchema.minItemsError": "K\xE9r\xFCnk, legal\xE1bb {minItems} t\xE9telt adj meg.", "dynamicFlows.ArraySchema.removeItem": "Elt\xE1vol\xEDt\xE1sra", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Az \xE1ltalad haszn\xE1lt b\xF6ng\xE9sz\u0151 nem t\xE1mogatja a kamera haszn\xE1lat\xE1t. K\xE9r\xFCnk, pr\xF3b\xE1lkozz m\xE1s b\xF6ng\xE9sz\u0151vel, eszk\xF6zzel vagy t\xF6ltsd le az appot", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Kamera nem t\xE1mogatott", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Kamer\xE1hoz val\xF3 hozz\xE1f\xE9r\xE9s enged\xE9lyez\xE9se", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Nem tudunk hozz\xE1f\xE9rni a kamer\xE1dhoz. Ezt a telefonod be\xE1ll\xEDt\xE1saiban enged\xE9lyezheted", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Nem tudunk hozz\xE1f\xE9rni a kamer\xE1dhoz", "dynamicFlows.CameraCapture.reviewInstructions": "Tiszta, olvashat\xF3, teljes k\xE9pet k\xE9sz\xEDtett\xE9l?", "dynamicFlows.CameraCapture.reviewRetry": "Nem, pr\xF3b\xE1ljuk \xFAjra", "dynamicFlows.CameraCapture.reviewSubmit": "Igen, elk\xFCld\xF6m", "dynamicFlows.ControlFeedback.maxLength": "K\xE9r\xFCnk, legfeljebb {maxLength} karaktert adj meg.", "dynamicFlows.ControlFeedback.maximum": "K\xE9r\xFCnk, add meg ezt vagy egy enn\xE9l kisebb sz\xE1mot: {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "K\xE9r\xFCnk, adj meg egy d\xE1tumot, ami megegyezik {maximum} napj\xE1val, vagy egy enn\xE9l kor\xE1bbit.", "dynamicFlows.ControlFeedback.minLength": "K\xE9r\xFCnk, legal\xE1bb {minLength} karaktert adj meg.", "dynamicFlows.ControlFeedback.minimum": "K\xE9r\xFCnk add meg ezt vagy egy enn\xE9l nagyobb sz\xE1mot: {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "K\xE9r\xFCnk, adj meg egy d\xE1tumot, ami megegyezik {minimum} napj\xE1val, vagy egy enn\xE9l k\xE9s\u0151bbit.", "dynamicFlows.ControlFeedback.pattern": "Helytelen form\xE1tum", "dynamicFlows.ControlFeedback.patternDate": "K\xE9r\xFCnk, hogy a d\xE1tumot helyes form\xE1tumban add meg.", "dynamicFlows.ControlFeedback.required": "K\xE9r\xFCnk, t\xF6ltsd ki ezt a mez\u0151t.", "dynamicFlows.ControlFeedback.type": "Helytelen t\xEDpus", "dynamicFlows.DynamicExternal.retryTitle": "Ablak \xFAjranyit\xE1sa", "dynamicFlows.DynamicParagraph.copied": "V\xE1g\xF3lapra m\xE1solva", "dynamicFlows.DynamicParagraph.copy": "M\xE1sol\xE1s", "dynamicFlows.ErrorBoundary.errorAlert": "Hopp\xE1! Valami hiba t\xF6rt\xE9nt...", "dynamicFlows.ErrorBoundary.retry": "\xDAjra", "dynamicFlows.ExternalConfirmation.cancel": "M\xE9gsem", "dynamicFlows.ExternalConfirmation.description": "K\xE9r\xFCnk, er\u0151s\xEDtsd meg, hogy a(z) **{origin}** alkalmaz\xE1st egy \xFAj b\xF6ng\xE9sz\u0151lapon szeretn\xE9d megnyitni.", "dynamicFlows.ExternalConfirmation.open": "Megnyit\xE1s \xFAj lapon", "dynamicFlows.ExternalConfirmation.title": "Meger\u0151s\xEDt\xE9s", "dynamicFlows.Help.ariaLabel": "Kattints ide tov\xE1bbi inform\xE1ci\xF3\xE9rt.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Sajnos ez a f\xE1jl t\xFAl nagy. K\xE9r\xFCnk, t\xF6lts fel egy kisebb f\xE1jlt.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "K\xE9r\xFCnk, hogy legfeljebb {maxItems} f\xE1jlt t\xF6lts fel.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "K\xE9r\xFCnk, hogy legal\xE1bb {minItems} f\xE1jlt t\xF6lts fel.", "dynamicFlows.PersistAsyncSchema.genericError": "Valami hiba t\xF6rt\xE9nt. K\xE9r\xFCnk, pr\xF3b\xE1ld \xFAjra k\xE9s\u0151bb!", "dynamicFlows.ReadOnlySchema.no": "Nem", "dynamicFlows.ReadOnlySchema.yes": "Igen" };
|
|
2904
|
+
var al = { "dynamicFlows.ArraySchema.addItem": "Simpan", "dynamicFlows.ArraySchema.addItemTitle": "Tambahkan Item", "dynamicFlows.ArraySchema.editItem": "Simpan", "dynamicFlows.ArraySchema.maxItemsError": "Harap tambahkan {maxItems} atau kurang.", "dynamicFlows.ArraySchema.minItemsError": "Harap tambahkan setidaknya {minItems}.", "dynamicFlows.ArraySchema.removeItem": "Hapus", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Browser yang Anda gunakan tidak mendukung kamera. Silakan coba browser, perangkat yang lain, atau unduh aplikasi seluler kami.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Kamera tidak didukung", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Izinkan akses kamera", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Untuk melanjutkan lagi, aktifkan akses kamera di pengaturan browser Anda.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Kami tidak dapat mengakses kamera Anda", "dynamicFlows.CameraCapture.reviewInstructions": "Apakah gambar Anda jelas, dapat dibaca, dan lengkap?", "dynamicFlows.CameraCapture.reviewRetry": "Tidak, coba lagi", "dynamicFlows.CameraCapture.reviewSubmit": "Ya, kirim", "dynamicFlows.ControlFeedback.maxLength": "Harap masukkan {maxLength} karakter atau kurang.", "dynamicFlows.ControlFeedback.maximum": "Harap masukkan angka paling besar {maximum} atau kurang dari itu.", "dynamicFlows.ControlFeedback.maximumDate": "Harap masukkan tanggal pada atau sebelum {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Harap masukkan setidaknya {minLength} karakter.", "dynamicFlows.ControlFeedback.minimum": "Harap masukkan angka paling kecil {minimum} atau lebih dari itu.", "dynamicFlows.ControlFeedback.minimumDate": "Harap masukkan tanggal pada atau setelah {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Mohon masukkan ini dalam format yang benar.", "dynamicFlows.ControlFeedback.patternDate": "Harap masukkan tanggal dalam format yang benar.", "dynamicFlows.ControlFeedback.required": "Harap isi kolom ini.", "dynamicFlows.ControlFeedback.type": "Tipe salah", "dynamicFlows.DynamicExternal.retryTitle": "Buka window kembali", "dynamicFlows.DynamicParagraph.copied": "Disalin ke clipboard", "dynamicFlows.DynamicParagraph.copy": "Salin", "dynamicFlows.ErrorBoundary.errorAlert": "Ups! Terjadi kesalahan...", "dynamicFlows.ErrorBoundary.retry": "Coba lagi", "dynamicFlows.ExternalConfirmation.cancel": "Batalkan", "dynamicFlows.ExternalConfirmation.description": "Harap konfirmasikan bahwa Anda ingin membuka **{origin}** di tab browser baru.", "dynamicFlows.ExternalConfirmation.open": "Buka di tab baru", "dynamicFlows.ExternalConfirmation.title": "Harap konfirmasi", "dynamicFlows.Help.ariaLabel": "Klik di sini untuk info selengkapnya.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Maaf, file Anda terlalu besar. Silakan unggah file yang lebih kecil.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Harap unggah {maxItems} file atau kurang.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Harap unggah sedikitnya {minItems} file.", "dynamicFlows.PersistAsyncSchema.genericError": "Terjadi kesalahan, mohon coba lagi nanti!", "dynamicFlows.ReadOnlySchema.no": "Tidak", "dynamicFlows.ReadOnlySchema.yes": "Ya" };
|
|
2905
|
+
var nl = { "dynamicFlows.ArraySchema.addItem": "Salva", "dynamicFlows.ArraySchema.addItemTitle": "Aggiungi elemento", "dynamicFlows.ArraySchema.editItem": "Salva", "dynamicFlows.ArraySchema.maxItemsError": "Aggiungi al massimo {maxItems}.", "dynamicFlows.ArraySchema.minItemsError": "Aggiungi almeno {minItems}.", "dynamicFlows.ArraySchema.removeItem": "Rimuovi", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Il browser che stai usando non supporta la videocamera. Prova con un altro browser o dispositivo, oppure scarica la nostra app", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Videocamera non supportata", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Consenti l'accesso alla fotocamera", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Non abbiamo accesso alla tua fotocamera. Puoi abilitare l'accesso nelle impostazioni del tuo browser", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Accesso alla fotocamera disabilitato", "dynamicFlows.CameraCapture.reviewInstructions": "La tua foto \xE8 chiara, ben leggibile e completa?", "dynamicFlows.CameraCapture.reviewRetry": "No, riprova", "dynamicFlows.CameraCapture.reviewSubmit": "S\xEC, invia", "dynamicFlows.ControlFeedback.maxLength": "Inserisci un massimo di {maxLength} caratteri.", "dynamicFlows.ControlFeedback.maximum": "Inserisci un numero uguale o inferiore a {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "Inserisci una data corrispondente o precedente al {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Inserisci almeno {minLength} caratteri.", "dynamicFlows.ControlFeedback.minimum": "Inserisci un numero uguale o superiore a {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "Inserisci una data corrispondente o successiva al {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Inseriscilo in un formato corretto.", "dynamicFlows.ControlFeedback.patternDate": "Inserisci la data in un formato corretto.", "dynamicFlows.ControlFeedback.required": "Compila questo campo.", "dynamicFlows.ControlFeedback.type": "Tipo errato", "dynamicFlows.DynamicExternal.retryTitle": "Riapri la finestra", "dynamicFlows.DynamicParagraph.copied": "Copiato negli appunti", "dynamicFlows.DynamicParagraph.copy": "Copia", "dynamicFlows.ErrorBoundary.errorAlert": "Ops! Qualcosa \xE8 andato storto...", "dynamicFlows.ErrorBoundary.retry": "Riprova", "dynamicFlows.ExternalConfirmation.cancel": "Annulla", "dynamicFlows.ExternalConfirmation.description": "Conferma di voler aprire **{origin}** in una nuova scheda del browser.", "dynamicFlows.ExternalConfirmation.open": "Apri in una nuova scheda", "dynamicFlows.ExternalConfirmation.title": "Conferma", "dynamicFlows.Help.ariaLabel": "Clicca qui per maggiori informazioni.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Spiacenti, il file \xE8 troppo grande. Carica un file di dimensioni inferiori.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Carica al massimo {maxItems} file.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Carica almeno {minItems} file.", "dynamicFlows.PersistAsyncSchema.genericError": "Qualcosa \xE8 andato storto. Riprova pi\xF9 tardi!", "dynamicFlows.ReadOnlySchema.no": "No", "dynamicFlows.ReadOnlySchema.yes": "S\xEC" };
|
|
2906
|
+
var il = { "dynamicFlows.ArraySchema.addItem": "\u4FDD\u5B58\u3059\u308B", "dynamicFlows.ArraySchema.addItemTitle": "\u30A2\u30A4\u30C6\u30E0\u3092\u8FFD\u52A0\u3059\u308B", "dynamicFlows.ArraySchema.editItem": "\u4FDD\u5B58\u3059\u308B", "dynamicFlows.ArraySchema.maxItemsError": "{maxItems}\u30A2\u30A4\u30C6\u30E0\u4EE5\u4E0B\u3092\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ArraySchema.minItemsError": "{minItems}\u30A2\u30A4\u30C6\u30E0\u4EE5\u4E0A\u3092\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ArraySchema.removeItem": "\u524A\u9664\u3059\u308B", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "\u304A\u5BA2\u69D8\u306E\u30D6\u30E9\u30A6\u30B6\u3067\u306F\u30AB\u30E1\u30E9\u304C\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u5225\u306E\u30D6\u30E9\u30A6\u30B6\u307E\u305F\u306F\u30C7\u30D0\u30A4\u30B9\u3092\u4F7F\u7528\u3059\u308B\u304B\u3001\u30E2\u30D0\u30A4\u30EB\u30A2\u30D7\u30EA\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.CameraCapture.CameraNotSupported.title": "\u30AB\u30E1\u30E9\u304C\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093", "dynamicFlows.CameraCapture.NoCameraAccess.action": "\u30AB\u30E1\u30E9\u3078\u306E\u30A2\u30AF\u30BB\u30B9\u3092\u8A31\u53EF\u3059\u308B", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "\u30D6\u30E9\u30A6\u30B6\u306E\u8A2D\u5B9A\u3067\u30AB\u30E1\u30E9\u3078\u306E\u30A2\u30AF\u30BB\u30B9\u3092\u6709\u52B9\u306B\u3057\u3066\u3001\u518D\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.CameraCapture.NoCameraAccess.title": "\u30AB\u30E1\u30E9\u3078\u306E\u30A2\u30AF\u30BB\u30B9\u304C\u8A31\u53EF\u3055\u308C\u3066\u3044\u307E\u305B\u3093", "dynamicFlows.CameraCapture.reviewInstructions": "\u5199\u771F\u304C\u9BAE\u660E\u3067\u3001\u3059\u3079\u3066\u306E\u60C5\u5831\u304C\u8AAD\u307F\u53D6\u308C\u6B20\u3051\u3066\u3044\u308B\u90E8\u5206\u306A\u3069\u306F\u3042\u308A\u307E\u305B\u3093\u304B\uFF1F", "dynamicFlows.CameraCapture.reviewRetry": "\u3044\u3044\u3048\u3001\u64AE\u308A\u76F4\u3059", "dynamicFlows.CameraCapture.reviewSubmit": "\u306F\u3044\u3001\u9001\u4FE1\u3059\u308B", "dynamicFlows.ControlFeedback.maxLength": "{maxLength}\u6587\u5B57\u4EE5\u4E0B\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.maximum": "{maximum}\u4EE5\u4E0B\u306E\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.maximumDate": "{maximum}\u307E\u305F\u306F\u305D\u308C\u4EE5\u524D\u306E\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.minLength": "{minLength}\u6587\u5B57\u4EE5\u4E0A\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.minimum": "{minimum}\u4EE5\u4E0A\u306E\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.minimumDate": "{minimum}\u307E\u305F\u306F\u305D\u308C\u4EE5\u964D\u306E\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.pattern": "\u6B63\u3057\u3044\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.patternDate": "\u6B63\u3057\u3044\u5F62\u5F0F\u3067\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.required": "\u3053\u306E\u9805\u76EE\u306F\u5165\u529B\u5FC5\u9808\u3067\u3059\u3002", "dynamicFlows.ControlFeedback.type": "\u4E0D\u6B63\u306A\u30BF\u30A4\u30D7", "dynamicFlows.DynamicExternal.retryTitle": "\u30A6\u30A3\u30F3\u30C9\u30A6\u3092\u3082\u3046\u4E00\u5EA6\u958B\u304F", "dynamicFlows.DynamicParagraph.copied": "\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u3078\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F", "dynamicFlows.DynamicParagraph.copy": "\u30B3\u30D4\u30FC\u3059\u308B", "dynamicFlows.ErrorBoundary.errorAlert": "\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F...", "dynamicFlows.ErrorBoundary.retry": "\u3084\u308A\u76F4\u3059", "dynamicFlows.ExternalConfirmation.cancel": "\u30AD\u30E3\u30F3\u30BB\u30EB\u3059\u308B", "dynamicFlows.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", "dynamicFlows.ExternalConfirmation.open": "\u65B0\u3057\u3044\u30BF\u30D6\u3067\u958B\u304F", "dynamicFlows.ExternalConfirmation.title": "\u627F\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044", "dynamicFlows.Help.ariaLabel": "\u8A73\u7D30\u306F\u3053\u3061\u3089\u3092\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.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", "dynamicFlows.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", "dynamicFlows.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", "dynamicFlows.PersistAsyncSchema.genericError": "\u554F\u984C\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002\u518D\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ReadOnlySchema.no": "\u3044\u3044\u3048", "dynamicFlows.ReadOnlySchema.yes": "\u306F\u3044" };
|
|
2907
|
+
var sl = { "dynamicFlows.ArraySchema.addItem": "Zapisz", "dynamicFlows.ArraySchema.addItemTitle": "Dodaj pozycj\u0119", "dynamicFlows.ArraySchema.editItem": "Zapisz", "dynamicFlows.ArraySchema.maxItemsError": "Prosimy doda\u0107 maksymalnie {maxItems}.", "dynamicFlows.ArraySchema.minItemsError": "Prosimy doda\u0107 co najmniej {minItems}.", "dynamicFlows.ArraySchema.removeItem": "Usu\u0144", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Przegl\u0105darka, kt\xF3rej u\u017Cywasz, nie obs\u0142uguje aparatu. Wypr\xF3buj inn\u0105 przegl\u0105dark\u0119 lub urz\u0105dzenie albo pobierz nasz\u0105 aplikacj\u0119 mobiln\u0105.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Aparat nie jest obs\u0142ugiwany", "dynamicFlows.CameraCapture.NoCameraAccess.action": "W\u0142\u0105cz dost\u0119p do aparatu", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "W\u0142\u0105cz dost\u0119p do aparatu w ustawieniach przegl\u0105darki, \u017Ceby rozpocz\u0105\u0107 ponownie.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Nie mo\u017Cemy uzyska\u0107 dost\u0119pu do Twojego aparatu", "dynamicFlows.CameraCapture.reviewInstructions": "Czy Twoje zdj\u0119cie jest wyra\u017Ane, czytelne i kompletne?", "dynamicFlows.CameraCapture.reviewRetry": "Nie, spr\xF3buj ponownie", "dynamicFlows.CameraCapture.reviewSubmit": "Tak, prze\u015Blij", "dynamicFlows.ControlFeedback.maxLength": "Prosimy wprowadzi\u0107 do {maxLength} znak\xF3w.", "dynamicFlows.ControlFeedback.maximum": "Wprowad\u017A liczb\u0119 r\xF3wn\u0105 lub mniejsz\u0105 ni\u017C {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "Wprowad\u017A dat\u0119 nie p\xF3\u017Aniejsz\u0105 ni\u017C {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Prosz\u0119 wpisa\u0107 co najmniej {minLength} znak\xF3w.", "dynamicFlows.ControlFeedback.minimum": "Wprowad\u017A liczb\u0119 r\xF3wn\u0105 lub wi\u0119ksz\u0105 ni\u017C {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "Wprowad\u017A dat\u0119 nie wcze\u015Bniejsz\u0105 ni\u017C {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Wprowad\u017A t\u0119 warto\u015B\u0107 w prawid\u0142owym formacie.", "dynamicFlows.ControlFeedback.patternDate": "Wprowad\u017A dat\u0119 w prawid\u0142owym formacie.", "dynamicFlows.ControlFeedback.required": "Prosz\u0119 wype\u0142ni\u0107 to pole.", "dynamicFlows.ControlFeedback.type": "Nieprawid\u0142owy typ", "dynamicFlows.DynamicExternal.retryTitle": "Otw\xF3rz okno ponownie", "dynamicFlows.DynamicParagraph.copied": "Skopiowano do schowka", "dynamicFlows.DynamicParagraph.copy": "Kopiuj", "dynamicFlows.ErrorBoundary.errorAlert": "Ups! Wyst\u0105pi\u0142 b\u0142\u0105d...", "dynamicFlows.ErrorBoundary.retry": "Spr\xF3buj ponownie", "dynamicFlows.ExternalConfirmation.cancel": "Anuluj", "dynamicFlows.ExternalConfirmation.description": "Prosimy potwierdzi\u0107, \u017Ce chcesz otworzy\u0107 **{origin}** w nowej zak\u0142adce przegl\u0105darki.", "dynamicFlows.ExternalConfirmation.open": "Otw\xF3rz w nowej zak\u0142adce", "dynamicFlows.ExternalConfirmation.title": "Potwierd\u017A", "dynamicFlows.Help.ariaLabel": "Kliknij tutaj, \u017Ceby uzyska\u0107 wi\u0119cej informacji.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Przepraszamy, ten plik jest zbyt du\u017Cy. Prze\u015Blij mniejszy plik.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Prze\u015Blij do {maxItems} plik\xF3w.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Prze\u015Blij co najmniej nast\u0119puj\u0105c\u0105 liczb\u0119 plik\xF3w: {minItems}.", "dynamicFlows.PersistAsyncSchema.genericError": "Wyst\u0105pi\u0142 b\u0142\u0105d, spr\xF3buj ponownie p\xF3\u017Aniej!", "dynamicFlows.ReadOnlySchema.no": "Nie", "dynamicFlows.ReadOnlySchema.yes": "Tak" };
|
|
2908
|
+
var ml = { "dynamicFlows.ArraySchema.addItem": "Salvar", "dynamicFlows.ArraySchema.addItemTitle": "Add Item", "dynamicFlows.ArraySchema.editItem": "Salvar", "dynamicFlows.ArraySchema.maxItemsError": "Adicione {maxItems} ou menos.", "dynamicFlows.ArraySchema.minItemsError": "Adicione pelo menos {minItems}.", "dynamicFlows.ArraySchema.removeItem": "Remover", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "O navegador que voc\xEA est\xE1 usando n\xE3o permite o uso da c\xE2mera. Por favor, tente com outro navegador ou computador, ou baixe o nosso aplicativo", "dynamicFlows.CameraCapture.CameraNotSupported.title": "C\xE2mera indispon\xEDvel", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Permitir acesso \xE0 c\xE2mera", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Ative o acesso \xE0 c\xE2mera nas configura\xE7\xF5es do navegador para continuar.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "N\xE3o temos acesso \xE0 sua c\xE2mera", "dynamicFlows.CameraCapture.reviewInstructions": "A sua foto est\xE1 clara, leg\xEDvel e aparece por inteiro?", "dynamicFlows.CameraCapture.reviewRetry": "N\xE3o, tentar novamente", "dynamicFlows.CameraCapture.reviewSubmit": "Sim, enviar", "dynamicFlows.ControlFeedback.maxLength": "Por favor, insira {maxLength} caracteres ou menos.", "dynamicFlows.ControlFeedback.maximum": "Por favor, insira um n\xFAmero que seja {maximum} ou menos.", "dynamicFlows.ControlFeedback.maximumDate": "Por favor, insira uma data que seja em ou antes de {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Por favor, insira pelo menos {minLength} caracteres.", "dynamicFlows.ControlFeedback.minimum": "Por favor, insira um n\xFAmero que seja {minimum} ou mais.", "dynamicFlows.ControlFeedback.minimumDate": "Por favor, insira uma data que seja em ou ap\xF3s {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Por favor, insira essa informa\xE7\xE3o no formato correto.", "dynamicFlows.ControlFeedback.patternDate": "Por favor, insira a data no formato correto.", "dynamicFlows.ControlFeedback.required": "Por favor, preencha o campo.", "dynamicFlows.ControlFeedback.type": "Tipo incorreto", "dynamicFlows.DynamicExternal.retryTitle": "Reabrir janela", "dynamicFlows.DynamicParagraph.copied": "Copiado", "dynamicFlows.DynamicParagraph.copy": "Copiar", "dynamicFlows.ErrorBoundary.errorAlert": "Ops! Algo deu errado...", "dynamicFlows.ErrorBoundary.retry": "Tentar novamente", "dynamicFlows.ExternalConfirmation.cancel": "Cancelar", "dynamicFlows.ExternalConfirmation.description": "Por favor, confirme que deseja abrir * *{origin}* * em uma nova aba do navegador.", "dynamicFlows.ExternalConfirmation.open": "Abrir em uma nova aba", "dynamicFlows.ExternalConfirmation.title": "Por favor, confirme", "dynamicFlows.Help.ariaLabel": "Clique aqui para mais informa\xE7\xF5es.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Este arquivo \xE9 muito grande. Por favor, envie um arquivo menor.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Por favor, envie {maxItems} ou menos arquivos.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Por favor, envie pelo menos {minItems} arquivo(s).", "dynamicFlows.PersistAsyncSchema.genericError": "Algo deu errado. Por favor, tente novamente mais tarde!", "dynamicFlows.ReadOnlySchema.no": "N\xE3o", "dynamicFlows.ReadOnlySchema.yes": "Sim" };
|
|
2909
|
+
var ll = { "dynamicFlows.ArraySchema.addItem": "Salvare", "dynamicFlows.ArraySchema.addItemTitle": "Adaug\u0103 produs", "dynamicFlows.ArraySchema.editItem": "Salvare", "dynamicFlows.ArraySchema.maxItemsError": "Te rug\u0103m s\u0103 adaugi {maxItems} sau mai pu\u021Bine.", "dynamicFlows.ArraySchema.minItemsError": "Te rug\u0103m s\u0103 adaugi cel pu\u021Bin {minItems}.", "dynamicFlows.ArraySchema.removeItem": "Elimin\u0103", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Browserul pe care \xEEl folose\u0219ti nu poate folosi o camer\u0103 foto. Te rug\u0103m s\u0103 \xEEncerci alt browser, alt dispozitiv sau s\u0103 descarci aplica\u021Bia noastr\u0103.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Camera nu este acceptat\u0103", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Permite acces la camer\u0103", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Permite accesul la camera foto \xEEn set\u0103rile browserului t\u0103u, pentru a re\xEEncepe.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Nu \xEE\u021Bi putem accesa camera", "dynamicFlows.CameraCapture.reviewInstructions": "Imaginea ta este clar\u0103, lizibil\u0103 \u0219i complet\u0103?", "dynamicFlows.CameraCapture.reviewRetry": "Nu, \xEEncearc\u0103 din nou", "dynamicFlows.CameraCapture.reviewSubmit": "Da, trimite", "dynamicFlows.ControlFeedback.maxLength": "Te rug\u0103m s\u0103 introduci {maxLength} sau mai pu\u021Bine caractere.", "dynamicFlows.ControlFeedback.maximum": "Te rug\u0103m s\u0103 introduci un num\u0103r egal cu {maximum} sau mai mic.", "dynamicFlows.ControlFeedback.maximumDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 de \xEEnainte de sau egal\u0103 cu {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Te rug\u0103m s\u0103 introduci cel pu\u021Bin {minLength} caractere.", "dynamicFlows.ControlFeedback.minimum": "Te rug\u0103m s\u0103 introduci un num\u0103r egal cu {minimum} sau mai mare.", "dynamicFlows.ControlFeedback.minimumDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 de dup\u0103 sau egal\u0103 cu {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Te rug\u0103m s\u0103 introduci acest lucru \xEEn formatul corect.", "dynamicFlows.ControlFeedback.patternDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 \xEEn formatul corect.", "dynamicFlows.ControlFeedback.required": "Te rug\u0103m s\u0103 completezi acest spa\u021Biu.", "dynamicFlows.ControlFeedback.type": "Tip incorect", "dynamicFlows.DynamicExternal.retryTitle": "Redeschide fereastra", "dynamicFlows.DynamicParagraph.copied": "Copiat \xEEn clipboard", "dynamicFlows.DynamicParagraph.copy": "Copiaz\u0103", "dynamicFlows.ErrorBoundary.errorAlert": "Ups! Ceva nu a mers bine...", "dynamicFlows.ErrorBoundary.retry": "\xCEncearc\u0103 din nou", "dynamicFlows.ExternalConfirmation.cancel": "Anuleaz\u0103", "dynamicFlows.ExternalConfirmation.description": "Te rug\u0103m s\u0103 confirmi c\u0103 vrei s\u0103 deschizi **{origin}** \xEEntr-o nou\u0103 fil\u0103 a browserului.", "dynamicFlows.ExternalConfirmation.open": "Deschide \xEEntr-o fil\u0103 nou\u0103", "dynamicFlows.ExternalConfirmation.title": "Te rug\u0103m s\u0103 confirmi", "dynamicFlows.Help.ariaLabel": "D\u0103 click aici pentru mai multe informa\u021Bii.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Ne pare r\u0103u, acel fi\u0219ier este prea mare. Te rug\u0103m s\u0103 \xEEncarci un fi\u0219ier mai mic.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Te rug\u0103m s\u0103 \xEEncarci {maxItems} fi\u0219iere sau mai pu\u021Bine.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Te rug\u0103m s\u0103 \xEEncarci cel pu\u021Bin {minItems} fi\u0219ier(e).", "dynamicFlows.PersistAsyncSchema.genericError": "Ceva nu a mers bine. Te rug\u0103m s\u0103 \xEEncerci din nou mai t\xE2rziu!", "dynamicFlows.ReadOnlySchema.no": "Nu", "dynamicFlows.ReadOnlySchema.yes": "Da" };
|
|
2910
|
+
var cl = { "dynamicFlows.ArraySchema.addItem": "\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C", "dynamicFlows.ArraySchema.addItemTitle": "\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0443\u043D\u043A\u0442", "dynamicFlows.ArraySchema.editItem": "\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C", "dynamicFlows.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.", "dynamicFlows.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}.", "dynamicFlows.ArraySchema.removeItem": "\u0423\u0434\u0430\u043B\u0438\u0442\u044C", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0439 \u0432\u0430\u043C\u0438 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043A\u0430\u043C\u0435\u0440\u0443. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0434\u0440\u0443\u0433\u043E\u0439 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0438\u043B\u0438 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E, \u0438\u043B\u0438 \u0441\u043A\u0430\u0447\u0430\u0439\u0442\u0435 \u043D\u0430\u0448\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "\u041A\u0430\u043C\u0435\u0440\u0430 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F", "dynamicFlows.CameraCapture.NoCameraAccess.action": "\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F \u043A \u043A\u0430\u043C\u0435\u0440\u0435", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u0435 \u0434\u043E\u0441\u0442\u0443\u043F \u043A \u043A\u0430\u043C\u0435\u0440\u0435 \u0432 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445 \u0432\u0430\u0448\u0435\u0433\u043E \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430, \u0447\u0442\u043E\u0431\u044B \u043F\u043E\u043F\u0440\u043E\u0431\u043E\u0432\u0430\u0442\u044C \u0441\u043D\u043E\u0432\u0430.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "\u041C\u044B \u043D\u0435 \u043C\u043E\u0436\u0435\u043C \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F \u043A \u0432\u0430\u0448\u0435\u0439 \u043A\u0430\u043C\u0435\u0440\u0435", "dynamicFlows.CameraCapture.reviewInstructions": "\u0412\u0430\u0448\u0430 \u0444\u043E\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u044F \u0447\u0435\u0442\u043A\u0430\u044F, \u043B\u0435\u0433\u043A\u043E \u0447\u0438\u0442\u0430\u0435\u043C\u0430\u044F \u0438 \u043D\u0435 \u043E\u0431\u0440\u0435\u0437\u0430\u043D\u0430?", "dynamicFlows.CameraCapture.reviewRetry": "\u041D\u0435\u0442, \u043F\u043E\u043F\u0440\u043E\u0431\u043E\u0432\u0430\u0442\u044C \u0435\u0449\u0435 \u0440\u0430\u0437", "dynamicFlows.CameraCapture.reviewSubmit": "\u0414\u0430, \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C", "dynamicFlows.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.", "dynamicFlows.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.", "dynamicFlows.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.", "dynamicFlows.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).", "dynamicFlows.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.", "dynamicFlows.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.", "dynamicFlows.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.", "dynamicFlows.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.", "dynamicFlows.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.", "dynamicFlows.ControlFeedback.type": "\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0442\u0438\u043F", "dynamicFlows.DynamicExternal.retryTitle": "\u041F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u043E\u043A\u043D\u043E", "dynamicFlows.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", "dynamicFlows.DynamicParagraph.copy": "\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C", "dynamicFlows.ErrorBoundary.errorAlert": "\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A...", "dynamicFlows.ErrorBoundary.retry": "\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u043F\u043E\u043F\u044B\u0442\u043A\u0443", "dynamicFlows.ExternalConfirmation.cancel": "\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C", "dynamicFlows.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.", "dynamicFlows.ExternalConfirmation.open": "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435", "dynamicFlows.ExternalConfirmation.title": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435", "dynamicFlows.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.", "dynamicFlows.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.", "dynamicFlows.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.", "dynamicFlows.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).", "dynamicFlows.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\u0432\u0442\u043E\u0440\u0438\u0442\u0435 \u043F\u043E\u043F\u044B\u0442\u043A\u0443 \u043F\u043E\u0437\u0436\u0435!", "dynamicFlows.ReadOnlySchema.no": "\u041D\u0435\u0442", "dynamicFlows.ReadOnlySchema.yes": "\u0414\u0430" };
|
|
2911
|
+
var dl = { "dynamicFlows.ArraySchema.addItem": "\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01", "dynamicFlows.ArraySchema.addItemTitle": "Add Item", "dynamicFlows.ArraySchema.editItem": "\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01", "dynamicFlows.ArraySchema.maxItemsError": "\u0E42\u0E1B\u0E23\u0E14\u0E40\u0E1E\u0E34\u0E48\u0E21 {maxItems} \u0E2B\u0E23\u0E37\u0E2D\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32", "dynamicFlows.ArraySchema.minItemsError": "\u0E42\u0E1B\u0E23\u0E14\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22 {minItems}", "dynamicFlows.ArraySchema.removeItem": "\u0E25\u0E1A", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "\u0E40\u0E1A\u0E23\u0E32\u0E27\u0E4C\u0E40\u0E0B\u0E2D\u0E23\u0E4C\u0E17\u0E35\u0E48\u0E04\u0E38\u0E13\u0E43\u0E0A\u0E49\u0E44\u0E21\u0E48\u0E23\u0E2D\u0E07\u0E23\u0E31\u0E1A\u0E01\u0E25\u0E49\u0E2D\u0E07 \u0E43\u0E2B\u0E49\u0E25\u0E2D\u0E07\u0E43\u0E0A\u0E49\u0E40\u0E1A\u0E23\u0E32\u0E27\u0E4C\u0E40\u0E0B\u0E2D\u0E23\u0E4C\u0E41\u0E25\u0E30\u0E2D\u0E38\u0E1B\u0E01\u0E23\u0E13\u0E4C\u0E2D\u0E37\u0E48\u0E19 \u0E2B\u0E23\u0E37\u0E2D\u0E14\u0E32\u0E27\u0E19\u0E4C\u0E42\u0E2B\u0E25\u0E14\u0E41\u0E2D\u0E1B\u0E21\u0E37\u0E2D\u0E16\u0E37\u0E2D\u0E02\u0E2D\u0E07\u0E40\u0E23\u0E32\u0E14\u0E39", "dynamicFlows.CameraCapture.CameraNotSupported.title": "\u0E44\u0E21\u0E48\u0E23\u0E2D\u0E07\u0E23\u0E31\u0E1A\u0E01\u0E25\u0E49\u0E2D\u0E07", "dynamicFlows.CameraCapture.NoCameraAccess.action": "\u0E40\u0E1B\u0E34\u0E14\u0E43\u0E0A\u0E49\u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07\u0E01\u0E25\u0E49\u0E2D\u0E07", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "\u0E40\u0E1B\u0E34\u0E14\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07\u0E01\u0E25\u0E49\u0E2D\u0E07\u0E43\u0E19\u0E01\u0E32\u0E23\u0E15\u0E31\u0E49\u0E07\u0E04\u0E48\u0E32\u0E40\u0E1A\u0E23\u0E32\u0E27\u0E4C\u0E40\u0E0B\u0E2D\u0E23\u0E4C\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E40\u0E23\u0E34\u0E48\u0E21\u0E15\u0E49\u0E19\u0E43\u0E2B\u0E21\u0E48\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07", "dynamicFlows.CameraCapture.NoCameraAccess.title": "\u0E40\u0E23\u0E32\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07\u0E01\u0E25\u0E49\u0E2D\u0E07\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E44\u0E14\u0E49", "dynamicFlows.CameraCapture.reviewInstructions": "\u0E23\u0E39\u0E1B\u0E20\u0E32\u0E1E\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E0A\u0E31\u0E14\u0E40\u0E08\u0E19 \u0E2D\u0E48\u0E32\u0E19\u0E44\u0E14\u0E49 \u0E41\u0E25\u0E30\u0E04\u0E23\u0E1A\u0E16\u0E49\u0E27\u0E19\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48", "dynamicFlows.CameraCapture.reviewRetry": "\u0E44\u0E21\u0E48 \u0E25\u0E2D\u0E07\u0E2D\u0E35\u0E01\u0E17\u0E31\u0E49\u0E07", "dynamicFlows.CameraCapture.reviewSubmit": "\u0E43\u0E0A\u0E48 \u0E2A\u0E48\u0E07\u0E40\u0E25\u0E22", "dynamicFlows.ControlFeedback.maxLength": "\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19 {maxLength} \u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E2B\u0E23\u0E37\u0E2D\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32", "dynamicFlows.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", "dynamicFlows.ControlFeedback.maximumDate": "\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48\u0E15\u0E23\u0E07\u0E1E\u0E2D\u0E14\u0E35\u0E2B\u0E23\u0E37\u0E2D\u0E01\u0E48\u0E2D\u0E19 {maximum}", "dynamicFlows.ControlFeedback.minLength": "\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22 {minLength} \u0E15\u0E31\u0E27", "dynamicFlows.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", "dynamicFlows.ControlFeedback.minimumDate": "\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48\u0E15\u0E23\u0E07\u0E1E\u0E2D\u0E14\u0E35\u0E2B\u0E23\u0E37\u0E2D\u0E2B\u0E25\u0E31\u0E07 {minimum}", "dynamicFlows.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", "dynamicFlows.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", "dynamicFlows.ControlFeedback.required": "\u0E42\u0E1B\u0E23\u0E14\u0E43\u0E2A\u0E48\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E43\u0E19\u0E0A\u0E48\u0E2D\u0E07\u0E19\u0E35\u0E49", "dynamicFlows.ControlFeedback.type": "\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07", "dynamicFlows.DynamicExternal.retryTitle": "\u0E40\u0E1B\u0E34\u0E14\u0E2B\u0E19\u0E49\u0E32\u0E15\u0E48\u0E32\u0E07\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07", "dynamicFlows.DynamicParagraph.copied": "\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E44\u0E1B\u0E22\u0E31\u0E07\u0E04\u0E25\u0E34\u0E1B\u0E1A\u0E2D\u0E23\u0E4C\u0E14", "dynamicFlows.DynamicParagraph.copy": "\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01", "dynamicFlows.ErrorBoundary.errorAlert": "\u0E2D\u0E4A\u0E30 \u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E1A\u0E32\u0E07\u0E2D\u0E22\u0E48\u0E32\u0E07...", "dynamicFlows.ErrorBoundary.retry": "\u0E25\u0E2D\u0E07\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07", "dynamicFlows.ExternalConfirmation.cancel": "\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01", "dynamicFlows.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", "dynamicFlows.ExternalConfirmation.open": "\u0E40\u0E1B\u0E34\u0E14\u0E43\u0E19\u0E41\u0E17\u0E47\u0E1A\u0E43\u0E2B\u0E21\u0E48", "dynamicFlows.ExternalConfirmation.title": "\u0E42\u0E1B\u0E23\u0E14\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19", "dynamicFlows.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", "dynamicFlows.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", "dynamicFlows.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", "dynamicFlows.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", "dynamicFlows.PersistAsyncSchema.genericError": "\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14 \u0E42\u0E1B\u0E23\u0E14\u0E25\u0E2D\u0E07\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07\u0E20\u0E32\u0E22\u0E2B\u0E25\u0E31\u0E07!", "dynamicFlows.ReadOnlySchema.no": "\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48", "dynamicFlows.ReadOnlySchema.yes": "\u0E43\u0E0A\u0E48" };
|
|
2912
|
+
var ul = { "dynamicFlows.ArraySchema.addItem": "Kaydet", "dynamicFlows.ArraySchema.addItemTitle": "Add Item", "dynamicFlows.ArraySchema.editItem": "Kaydet", "dynamicFlows.ArraySchema.maxItemsError": "L\xFCtfen {maxItems} veya daha az ekleme yap\u0131n", "dynamicFlows.ArraySchema.minItemsError": "L\xFCtfen en az {minItems} ekleme yap\u0131n.", "dynamicFlows.ArraySchema.removeItem": "Kald\u0131r", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Kulland\u0131\u011F\u0131n\u0131z taray\u0131c\u0131da kamera deste\u011Fi yok. Farkl\u0131 bir taray\u0131c\u0131 / cihaz deneyin veya mobil uygulamam\u0131z\u0131 indirin.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Kamera desteklenmiyor", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Kamera eri\u015Fimi verin", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Tekrar ba\u015Flamak i\xE7in taray\u0131c\u0131n\u0131z\u0131n ayarlar\u0131nda kamera eri\u015Fimini etkinle\u015Ftirin.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Kameran\u0131za eri\u015Femiyoruz", "dynamicFlows.CameraCapture.reviewInstructions": "Foto\u011Fraf\u0131n\u0131z net, okunakl\u0131 ve eksiksiz mi?", "dynamicFlows.CameraCapture.reviewRetry": "Hay\u0131r, tekrar dene", "dynamicFlows.CameraCapture.reviewSubmit": "Evet, g\xF6nder", "dynamicFlows.ControlFeedback.maxLength": "L\xFCtfen {maxLength} veya daha az karakter girin.", "dynamicFlows.ControlFeedback.maximum": "L\xFCtfen {maximum} veya daha d\xFC\u015F\xFCk bir say\u0131 girin.", "dynamicFlows.ControlFeedback.maximumDate": "L\xFCtfen {maximum} veya daha erken bir tarih girin.", "dynamicFlows.ControlFeedback.minLength": "En az {minLength} karakter girebilirsiniz.", "dynamicFlows.ControlFeedback.minimum": "L\xFCtfen {minimum} veya daha y\xFCksek bir say\u0131 girin.", "dynamicFlows.ControlFeedback.minimumDate": "L\xFCtfen {minimum} veya daha ge\xE7 bir tarih girin.", "dynamicFlows.ControlFeedback.pattern": "Yanl\u0131\u015F bi\xE7im", "dynamicFlows.ControlFeedback.patternDate": "L\xFCtfen tarihi do\u011Fru bi\xE7imde girin.", "dynamicFlows.ControlFeedback.required": "L\xFCtfen bu alan\u0131 doldurun.", "dynamicFlows.ControlFeedback.type": "Ge\xE7ersiz se\xE7im", "dynamicFlows.DynamicExternal.retryTitle": "Pencereyi yeniden a\xE7", "dynamicFlows.DynamicParagraph.copied": "Panoya kopyaland\u0131", "dynamicFlows.DynamicParagraph.copy": "Kopyala", "dynamicFlows.ErrorBoundary.errorAlert": "Aman\u0131n! Bir \u015Feyler ters gitti...", "dynamicFlows.ErrorBoundary.retry": "Tekrar dene", "dynamicFlows.ExternalConfirmation.cancel": "\u0130ptal edin", "dynamicFlows.ExternalConfirmation.description": "L\xFCtfen yeni bir taray\u0131c\u0131 sekmesinde **{origin}** a\xE7mak istedi\u011Finizi onaylay\u0131n.", "dynamicFlows.ExternalConfirmation.open": "Yeni sekmede a\xE7", "dynamicFlows.ExternalConfirmation.title": "L\xFCtfen onaylay\u0131n", "dynamicFlows.Help.ariaLabel": "Ayr\u0131nt\u0131lar i\xE7in t\u0131klay\u0131n.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\xDCzg\xFCn\xFCz, bu dosya \xE7ok b\xFCy\xFCk. L\xFCtfen daha k\xFC\xE7\xFCk bir dosya y\xFCkleyin.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "L\xFCtfen {maxItems} veya daha az dosya y\xFCkleyin.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "L\xFCtfen en az {minItems} dosya y\xFCkleyin.", "dynamicFlows.PersistAsyncSchema.genericError": "Bir \u015Feyler ters gitti, l\xFCtfen tekrar deneyin", "dynamicFlows.ReadOnlySchema.no": "Hay\u0131r", "dynamicFlows.ReadOnlySchema.yes": "Evet" };
|
|
2909
2913
|
var Ba = { "dynamicFlows.ArraySchema.addItem": "\u4FDD\u5B58", "dynamicFlows.ArraySchema.addItemTitle": "Add Item", "dynamicFlows.ArraySchema.editItem": "\u4FDD\u5B58", "dynamicFlows.ArraySchema.maxItemsError": "\u8BF7\u6DFB\u52A0 {maxItems} \u4E2A\u6216\u66F4\u5C11\u3002", "dynamicFlows.ArraySchema.minItemsError": "\u8BF7\u81F3\u5C11\u6DFB\u52A0 {minItems}\u3002", "dynamicFlows.ArraySchema.removeItem": "\u5220\u9664", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "The browser you're using doesn't have support for a camera. Try a different browser, device, or download our mobile app.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "\u4E0D\u652F\u6301\u6444\u50CF\u5934", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Enable camera access", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Enable camera access in your browser's settings to get going again.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "We can't access your camera", "dynamicFlows.CameraCapture.reviewInstructions": "\u60A8\u7684\u56FE\u7247\u662F\u5426\u6E05\u6670\u3001\u53EF\u8BFB\u548C\u5B8C\u6574\uFF1F", "dynamicFlows.CameraCapture.reviewRetry": "\u5426\uFF0C\u91CD\u8BD5", "dynamicFlows.CameraCapture.reviewSubmit": "\u662F\uFF0C\u63D0\u4EA4", "dynamicFlows.ControlFeedback.maxLength": "\u8BF7\u8F93\u5165 {maxLength} \u4E2A\u6216\u66F4\u5C11\u5B57\u7B26", "dynamicFlows.ControlFeedback.maximum": "\u8BF7\u8F93\u5165\u4E00\u4E2A\u5C0F\u4E8E\u6216\u7B49\u4E8E {maximum} \u7684\u6570\u5B57", "dynamicFlows.ControlFeedback.maximumDate": "\u8BF7\u8F93\u5165 {maximum} \u6216\u4E4B\u524D\u7684\u65E5\u671F", "dynamicFlows.ControlFeedback.minLength": "\u8BF7\u81F3\u5C11\u8F93\u5165 {minLength} \u4E2A\u5B57\u7B26", "dynamicFlows.ControlFeedback.minimum": "\u8BF7\u8F93\u5165\u4E00\u4E2A\u5927\u4E8E\u6216\u7B49\u4E8E {minimum} \u7684\u6570\u5B57", "dynamicFlows.ControlFeedback.minimumDate": "\u8BF7\u8F93\u5165 {minimum} \u6216\u4E4B\u540E\u7684\u65E5\u671F", "dynamicFlows.ControlFeedback.pattern": "\u8BF7\u4EE5\u6B63\u786E\u7684\u683C\u5F0F\u8F93\u5165", "dynamicFlows.ControlFeedback.patternDate": "\u8BF7\u4EE5\u6B63\u786E\u7684\u683C\u5F0F\u8F93\u5165\u65E5\u671F", "dynamicFlows.ControlFeedback.required": "\u8BF7\u586B\u5199\u6B64\u5B57\u6BB5\u3002", "dynamicFlows.ControlFeedback.type": "\u7C7B\u578B\u4E0D\u6B63\u786E", "dynamicFlows.DynamicExternal.retryTitle": "\u91CD\u65B0\u6253\u5F00\u7A97\u53E3", "dynamicFlows.DynamicParagraph.copied": "\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F", "dynamicFlows.DynamicParagraph.copy": "\u590D\u5236", "dynamicFlows.ErrorBoundary.errorAlert": "\u7CDF\u7CD5\u3002\u51FA\u95EE\u9898\u4E86\u2026", "dynamicFlows.ErrorBoundary.retry": "\u91CD\u8BD5", "dynamicFlows.ExternalConfirmation.cancel": "\u53D6\u6D88", "dynamicFlows.ExternalConfirmation.description": "Please confirm you want to open **{origin}** in a new browser tab.", "dynamicFlows.ExternalConfirmation.open": "Open in new tab", "dynamicFlows.ExternalConfirmation.title": "Please confirm", "dynamicFlows.Help.ariaLabel": "\u70B9\u51FB\u6B64\u5904\u83B7\u53D6\u66F4\u591A\u4FE1\u606F\u3002", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\u62B1\u6B49\uFF0C\u8BE5\u6587\u4EF6\u592A\u5927\u3002\u8BF7\u4E0A\u4F20\u4E00\u4E2A\u66F4\u5C0F\u7684\u6587\u4EF6\u3002", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "\u8BF7\u4E0A\u4F20 {maxItems} \u4E2A\u6216\u66F4\u5C11\u7684\u6587\u4EF6\u3002", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "\u8BF7\u81F3\u5C11\u4E0A\u4F20 {minItems} \u4E2A\u6587\u4EF6\u3002", "dynamicFlows.PersistAsyncSchema.genericError": "\u51FA\u73B0\u4E00\u4E9B\u95EE\u9898\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\uFF01", "dynamicFlows.ReadOnlySchema.no": "\u5426", "dynamicFlows.ReadOnlySchema.yes": "\u662F" };
|
|
2910
|
-
var
|
|
2911
|
-
var
|
|
2912
|
-
var
|
|
2914
|
+
var pl = { "dynamicFlows.ArraySchema.addItem": "\u5132\u5B58", "dynamicFlows.ArraySchema.addItemTitle": "\u6DFB\u52A0\u9805\u76EE", "dynamicFlows.ArraySchema.editItem": "\u5132\u5B58", "dynamicFlows.ArraySchema.maxItemsError": "\u8ACB\u6DFB\u52A0\u4E0D\u8D85\u904E{maxItems}\u9805\u3002", "dynamicFlows.ArraySchema.minItemsError": "\u8ACB\u81F3\u5C11\u6DFB\u52A0{minItems}\u9805\u3002", "dynamicFlows.ArraySchema.removeItem": "\u79FB\u9664", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "\u4F60\u76EE\u524D\u4F7F\u7528\u7684\u700F\u89BD\u5668\u4E0D\u652F\u6301\u76F8\u6A5F\u3002\u8ACB\u5617\u8A66\u4F7F\u7528\u5176\u4ED6\u700F\u89BD\u5668\u6216\u5176\u4ED6\u88DD\u7F6E\uFF0C\u6216\u8005\u4F60\u53EF\u4EE5\u4E0B\u8F09\u6211\u5011\u7684\u61C9\u7528\u7A0B\u5F0F\u3002", "dynamicFlows.CameraCapture.CameraNotSupported.title": "\u4E0D\u652F\u6301\u76F8\u6A5F", "dynamicFlows.CameraCapture.NoCameraAccess.action": "\u5141\u8A31\u53D6\u7528\u76F8\u6A5F", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "\u4F60\u53EF\u4EE5\u5728\u700F\u89BD\u5668\u7684\u8A2D\u5B9A\u4E2D\u958B\u555F\u76F8\u6A5F\u5B58\u53D6\u6B0A\u9650\u3002", "dynamicFlows.CameraCapture.NoCameraAccess.title": "\u6211\u5011\u7121\u6CD5\u53D6\u7528\u4F60\u7684\u76F8\u6A5F", "dynamicFlows.CameraCapture.reviewInstructions": "\u4F60\u7684\u7167\u7247\u662F\u5426\u5B8C\u6574\u3001\u6E05\u6670\u53CA\u53EF\u8B80\uFF1F", "dynamicFlows.CameraCapture.reviewRetry": "\u5426\uFF0C\u518D\u8A66\u4E00\u6B21", "dynamicFlows.CameraCapture.reviewSubmit": "\u662F\uFF0C\u63D0\u4EA4", "dynamicFlows.ControlFeedback.maxLength": "\u8ACB\u8F38\u5165\u6700\u591A{maxLength}\u500B\u5B57\u5143\u3002", "dynamicFlows.ControlFeedback.maximum": "\u8ACB\u8F38\u5165\u4E00\u500B\u5C0F\u65BC\u6216\u7B49\u65BC{maximum}\u7684\u6578\u5B57\u3002", "dynamicFlows.ControlFeedback.maximumDate": "\u8ACB\u8F38\u5165{maximum}\u6216\u4E4B\u524D\u7684\u65E5\u671F\u3002", "dynamicFlows.ControlFeedback.minLength": "\u8ACB\u8F38\u5165\u81F3\u5C11{minLength}\u500B\u5B57\u5143\u3002", "dynamicFlows.ControlFeedback.minimum": "\u8ACB\u8F38\u5165\u4E00\u500B\u5927\u65BC\u6216\u7B49\u65BC{minimum}\u7684\u6578\u5B57\u3002", "dynamicFlows.ControlFeedback.minimumDate": "\u8ACB\u8F38\u5165{minimum}\u6216\u4E4B\u5F8C\u7684\u65E5\u671F\u3002", "dynamicFlows.ControlFeedback.pattern": "\u8ACB\u4EE5\u6B63\u78BA\u683C\u5F0F\u8F38\u5165\u5185\u5BB9\u3002", "dynamicFlows.ControlFeedback.patternDate": "\u8ACB\u4EE5\u6B63\u78BA\u683C\u5F0F\u8F38\u5165\u65E5\u671F\u3002", "dynamicFlows.ControlFeedback.required": "\u8ACB\u586B\u5BEB\u6B64\u6B04\u4F4D\u3002", "dynamicFlows.ControlFeedback.type": "\u932F\u8AA4\u7684\u985E\u578B", "dynamicFlows.DynamicExternal.retryTitle": "\u91CD\u65B0\u6253\u958B\u8996\u7A97", "dynamicFlows.DynamicParagraph.copied": "\u8907\u88FD\u5230\u526A\u8CBC\u677F", "dynamicFlows.DynamicParagraph.copy": "\u8907\u88FD", "dynamicFlows.ErrorBoundary.errorAlert": "\u5662\uFF01\u51FA\u4E86\u4E9B\u554F\u984C...", "dynamicFlows.ErrorBoundary.retry": "\u91CD\u8A66", "dynamicFlows.ExternalConfirmation.cancel": "\u53D6\u6D88", "dynamicFlows.ExternalConfirmation.description": "\u8ACB\u78BA\u8A8D\u4F60\u662F\u5426\u8981\u5728\u700F\u89BD\u5668\u7684\u65B0\u5206\u9801\u6253\u958B**{origin}**\u3002", "dynamicFlows.ExternalConfirmation.open": "\u5728\u65B0\u5206\u9801\u4E2D\u958B\u555F", "dynamicFlows.ExternalConfirmation.title": "\u8ACB\u78BA\u8A8D", "dynamicFlows.Help.ariaLabel": "\u6309\u6B64\u67E5\u770B\u8A73\u60C5\u3002", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\u62B1\u6B49\uFF0C\u8A72\u6A94\u6848\u592A\u5927\u3002\u8ACB\u4E0A\u8F09\u4E00\u500B\u8F03\u5C0F\u7684\u6A94\u6848\u3002", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "\u8ACB\u4E0D\u8981\u4E0A\u8F09\u8D85\u904E{maxItems}\u500B\u6A94\u6848\u3002", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "\u8ACB\u4E0A\u8F09\u81F3\u5C11{minItems}\u500B\u6A94\u6848\u3002", "dynamicFlows.PersistAsyncSchema.genericError": "\u51FA\u4E86\u4E9B\u554F\u984C\uFF0C\u8ACB\u7A0D\u5F8C\u518D\u8A66\u3002", "dynamicFlows.ReadOnlySchema.no": "\u5426", "dynamicFlows.ReadOnlySchema.yes": "\u662F" };
|
|
2915
|
+
var np = { en: el, de: Qm, es: tl, fr: rl, hu: ol, id: al, it: nl, ja: il, pl: sl, pt: ml, ro: ll, ru: cl, th: dl, tr: ul, zh: Ba, "zh-CN": Ba, "zh-HK": pl };
|
|
2916
|
+
var fl = np;
|
|
2913
2917
|
}
|
|
2914
2918
|
});
|
|
2915
2919
|
|