@wise/dynamic-flow-client-internal 2.8.5 → 2.8.7
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 +744 -732
- 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 zm = Object.create;
|
|
55
|
+
var Zt = Object.defineProperty;
|
|
56
|
+
var jm = Object.defineProperties;
|
|
57
|
+
var Vm = Object.getOwnPropertyDescriptor;
|
|
58
|
+
var Um = Object.getOwnPropertyDescriptors;
|
|
59
|
+
var Hm = Object.getOwnPropertyNames;
|
|
60
60
|
var rn = Object.getOwnPropertySymbols;
|
|
61
|
-
var
|
|
61
|
+
var qm = Object.getPrototypeOf;
|
|
62
62
|
var on = Object.prototype.hasOwnProperty;
|
|
63
|
-
var
|
|
64
|
-
var an = (e, t, r) => t in e ?
|
|
63
|
+
var Gm = Object.prototype.propertyIsEnumerable;
|
|
64
|
+
var an = (e, t, r) => t in e ? Zt(e, t, { enumerable: true, configurable: true, writable: true, value: r }) : e[t] = r;
|
|
65
65
|
var s = (e, t) => {
|
|
66
66
|
for (var r in t || (t = {}))
|
|
67
67
|
on.call(t, r) && an(e, r, t[r]);
|
|
68
68
|
if (rn)
|
|
69
69
|
for (var r of rn(t))
|
|
70
|
-
|
|
70
|
+
Gm.call(t, r) && an(e, r, t[r]);
|
|
71
71
|
return e;
|
|
72
72
|
};
|
|
73
|
-
var C = (e, t) =>
|
|
73
|
+
var C = (e, t) => jm(e, Um(t));
|
|
74
74
|
var Aa = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports);
|
|
75
|
-
var
|
|
75
|
+
var Wm = (e, t) => {
|
|
76
76
|
for (var r in t)
|
|
77
|
-
|
|
77
|
+
Zt(e, r, { get: t[r], enumerable: true });
|
|
78
78
|
};
|
|
79
79
|
var nn = (e, t, r, a) => {
|
|
80
80
|
if (t && typeof t == "object" || typeof t == "function")
|
|
81
|
-
for (let o of
|
|
82
|
-
!on.call(e, o) && o !== r &&
|
|
81
|
+
for (let o of Hm(t))
|
|
82
|
+
!on.call(e, o) && o !== r && Zt(e, o, { get: () => t[o], enumerable: !(a = Vm(t, o)) || a.enumerable });
|
|
83
83
|
return e;
|
|
84
84
|
};
|
|
85
|
-
var Ee = (e, t, r) => (r = e != null ?
|
|
86
|
-
var
|
|
87
|
-
var Xe = Aa((
|
|
85
|
+
var Ee = (e, t, r) => (r = e != null ? zm(qm(e)) : {}, nn(t || !e || !e.__esModule ? Zt(r, "default", { value: e, enumerable: true }) : r, e));
|
|
86
|
+
var $m = (e) => nn(Zt({}, "__esModule", { value: true }), e);
|
|
87
|
+
var Xe = Aa((sf, Ur) => {
|
|
88
88
|
"use strict";
|
|
89
89
|
(function() {
|
|
90
90
|
"use strict";
|
|
@@ -118,11 +118,11 @@ var require_main_min = __commonJS({
|
|
|
118
118
|
}) : window.classNames = r;
|
|
119
119
|
})();
|
|
120
120
|
});
|
|
121
|
-
var
|
|
121
|
+
var Fc = Aa((hr, jo) => {
|
|
122
122
|
"use strict";
|
|
123
123
|
(function(t, r) {
|
|
124
|
-
typeof
|
|
125
|
-
})(
|
|
124
|
+
typeof hr == "object" && typeof jo == "object" ? jo.exports = r(require("react")) : typeof define == "function" && define.amd ? define(["react"], r) : typeof hr == "object" ? hr.Webcam = r(require("react")) : t.Webcam = r(t.React);
|
|
125
|
+
})(hr, function(e) {
|
|
126
126
|
return function(t) {
|
|
127
127
|
var r = {};
|
|
128
128
|
function a(o) {
|
|
@@ -314,11 +314,11 @@ var require_main_min = __commonJS({
|
|
|
314
314
|
} }).default;
|
|
315
315
|
});
|
|
316
316
|
});
|
|
317
|
-
var
|
|
317
|
+
var Mc = Aa((jF, wr) => {
|
|
318
318
|
"use strict";
|
|
319
319
|
(function() {
|
|
320
320
|
"use strict";
|
|
321
|
-
var e = typeof window != "undefined" && typeof window.document != "undefined" ? window.document : {}, t = typeof
|
|
321
|
+
var e = typeof window != "undefined" && typeof window.document != "undefined" ? window.document : {}, t = typeof wr != "undefined" && wr.exports, r = function() {
|
|
322
322
|
for (var n, i = [["requestFullscreen", "exitFullscreen", "fullscreenElement", "fullscreenEnabled", "fullscreenchange", "fullscreenerror"], ["webkitRequestFullscreen", "webkitExitFullscreen", "webkitFullscreenElement", "webkitFullscreenEnabled", "webkitfullscreenchange", "webkitfullscreenerror"], ["webkitRequestFullScreen", "webkitCancelFullScreen", "webkitCurrentFullScreenElement", "webkitCancelFullScreen", "webkitfullscreenchange", "webkitfullscreenerror"], ["mozRequestFullScreen", "mozCancelFullScreen", "mozFullScreenElement", "mozFullScreenEnabled", "mozfullscreenchange", "mozfullscreenerror"], ["msRequestFullscreen", "msExitFullscreen", "msFullscreenElement", "msFullscreenEnabled", "MSFullscreenChange", "MSFullscreenError"]], c = 0, l = i.length, m = {}; c < l; c++)
|
|
323
323
|
if (n = i[c], n && n[1] in e) {
|
|
324
324
|
for (c = 0; c < n.length; c++)
|
|
@@ -362,7 +362,7 @@ var require_main_min = __commonJS({
|
|
|
362
362
|
c && e.removeEventListener(c, i, false);
|
|
363
363
|
}, raw: r };
|
|
364
364
|
if (!r) {
|
|
365
|
-
t ?
|
|
365
|
+
t ? wr.exports = { isEnabled: false } : window.screenfull = { isEnabled: false };
|
|
366
366
|
return;
|
|
367
367
|
}
|
|
368
368
|
Object.defineProperties(o, { isFullscreen: { get: function() {
|
|
@@ -371,24 +371,24 @@ var require_main_min = __commonJS({
|
|
|
371
371
|
return e[r.fullscreenElement];
|
|
372
372
|
} }, isEnabled: { enumerable: true, get: function() {
|
|
373
373
|
return !!e[r.fullscreenEnabled];
|
|
374
|
-
} } }), t ?
|
|
374
|
+
} } }), t ? wr.exports = o : window.screenfull = o;
|
|
375
375
|
})();
|
|
376
376
|
});
|
|
377
|
-
var
|
|
378
|
-
|
|
379
|
-
module2.exports =
|
|
380
|
-
function
|
|
377
|
+
var Tp = {};
|
|
378
|
+
Wm(Tp, { DynamicFlow: () => Qo, JsonSchemaForm: () => en, Layout: () => ne, convertStepToLayout: () => Qt, inlineReferences: () => ze, isValidSchema: () => G, makeHttpClient: () => kr, translations: () => Nm });
|
|
379
|
+
module2.exports = $m(Tp);
|
|
380
|
+
function Qt(e, { displayStepTitle: t = true } = {}) {
|
|
381
381
|
if (e.layout)
|
|
382
|
-
return
|
|
382
|
+
return il(e, t);
|
|
383
383
|
switch (e.type) {
|
|
384
384
|
case "final":
|
|
385
|
-
return
|
|
385
|
+
return Xm(e);
|
|
386
386
|
case "decision":
|
|
387
|
-
return
|
|
387
|
+
return Ym(e);
|
|
388
388
|
case "external":
|
|
389
|
-
return
|
|
389
|
+
return _m(e);
|
|
390
390
|
default:
|
|
391
|
-
return
|
|
391
|
+
return Jm(e);
|
|
392
392
|
}
|
|
393
393
|
}
|
|
394
394
|
function Oa(e) {
|
|
@@ -399,38 +399,38 @@ var require_main_min = __commonJS({
|
|
|
399
399
|
}
|
|
400
400
|
return e.description && t.push(ka(e.description)), t;
|
|
401
401
|
}
|
|
402
|
-
function
|
|
403
|
-
return [...Oa(e),
|
|
402
|
+
function _m(e) {
|
|
403
|
+
return [...Oa(e), Km(e)];
|
|
404
404
|
}
|
|
405
|
-
function
|
|
405
|
+
function Km(e) {
|
|
406
406
|
return { type: "external", requestUrl: e.requestUrl, polling: e.polling, responseHandlers: e.responseHandlers, retryTitle: e.retryTitle };
|
|
407
407
|
}
|
|
408
|
-
function
|
|
408
|
+
function Jm(e) {
|
|
409
409
|
let t = Oa(e);
|
|
410
|
-
if (e.reviewFields && t.push(
|
|
411
|
-
let r = e.actions.map(
|
|
410
|
+
if (e.reviewFields && t.push(rl(e.reviewFields)), e.schemas && t.push(...ol(e)), e.actions) {
|
|
411
|
+
let r = e.actions.map(Ar);
|
|
412
412
|
t.push(Pa(r, "md"));
|
|
413
413
|
}
|
|
414
414
|
return t;
|
|
415
415
|
}
|
|
416
|
-
function
|
|
416
|
+
function Xm(e) {
|
|
417
417
|
let t = [];
|
|
418
418
|
if (e.details) {
|
|
419
419
|
if (e.details.image) {
|
|
420
|
-
let r =
|
|
420
|
+
let r = tl(e.details.image);
|
|
421
421
|
t.push(r);
|
|
422
422
|
}
|
|
423
423
|
e.details.title && t.push(Ma(e.details.title)), e.details.description && t.push(ka(e.details.description));
|
|
424
424
|
}
|
|
425
425
|
if (e.actions) {
|
|
426
|
-
let r = e.actions.map((a) =>
|
|
426
|
+
let r = e.actions.map((a) => Ar(C(s({}, a), { type: a.type || "primary" })));
|
|
427
427
|
t.push(Pa(r, "md"));
|
|
428
428
|
}
|
|
429
429
|
return t;
|
|
430
430
|
}
|
|
431
|
-
function
|
|
431
|
+
function Ym(e) {
|
|
432
432
|
let t = Oa(e);
|
|
433
|
-
return e.options && t.push(
|
|
433
|
+
return e.options && t.push(Qm(e.options)), t;
|
|
434
434
|
}
|
|
435
435
|
function Pa(e, t) {
|
|
436
436
|
return { type: "box", width: t || "md", components: e };
|
|
@@ -441,66 +441,66 @@ var require_main_min = __commonJS({
|
|
|
441
441
|
function ka(e) {
|
|
442
442
|
return { type: "paragraph", text: e, align: "center" };
|
|
443
443
|
}
|
|
444
|
-
function
|
|
444
|
+
function Zm(e) {
|
|
445
445
|
return { type: "form", schema: e };
|
|
446
446
|
}
|
|
447
|
-
function
|
|
448
|
-
return { type: "decision", options: e.map(
|
|
447
|
+
function Qm(e) {
|
|
448
|
+
return { type: "decision", options: e.map(el) };
|
|
449
449
|
}
|
|
450
|
-
function
|
|
450
|
+
function el(e) {
|
|
451
451
|
return { title: e.title, description: e.description, action: { title: e.title, method: "GET", url: e.url, disabled: e.disabled } };
|
|
452
452
|
}
|
|
453
453
|
function sn(e) {
|
|
454
454
|
return { type: "image", url: e.url, text: e.text, margin: e.margin || "lg", size: e.size || "md" };
|
|
455
455
|
}
|
|
456
|
-
function
|
|
456
|
+
function tl(e) {
|
|
457
457
|
return typeof e == "string" ? { type: "image", url: e, text: void 0, margin: "lg", size: "md" } : sn(e);
|
|
458
458
|
}
|
|
459
|
-
function
|
|
459
|
+
function Ar(e) {
|
|
460
460
|
return { type: "button", action: C(s({}, e), { title: e.title }) };
|
|
461
461
|
}
|
|
462
|
-
function
|
|
463
|
-
return { type: "review", title: e.title, fields: e.fields.map(
|
|
462
|
+
function rl(e) {
|
|
463
|
+
return { type: "review", title: e.title, fields: e.fields.map(al) };
|
|
464
464
|
}
|
|
465
|
-
function
|
|
465
|
+
function al(e) {
|
|
466
466
|
return { label: e.title, value: e.value };
|
|
467
467
|
}
|
|
468
|
-
function
|
|
468
|
+
function ol(e) {
|
|
469
469
|
let t = [];
|
|
470
470
|
if (e.schemas && e.schemas[0]) {
|
|
471
|
-
let r = e.schemas[0], a =
|
|
472
|
-
|
|
471
|
+
let r = e.schemas[0], a = Zm(r);
|
|
472
|
+
nl() ? t.push(a) : t.push(Pa([a], "md"));
|
|
473
473
|
}
|
|
474
474
|
return t;
|
|
475
475
|
}
|
|
476
|
-
function
|
|
476
|
+
function nl() {
|
|
477
477
|
return false;
|
|
478
478
|
}
|
|
479
|
-
function
|
|
479
|
+
function il(e, t) {
|
|
480
480
|
return [...t && e.title ? [Ma(e.title)] : [], ...e.description ? [ka(e.description)] : [], ...e.layout || []];
|
|
481
481
|
}
|
|
482
482
|
function ze({ layout: e, schemas: t, actions: r, model: a }) {
|
|
483
|
-
return e ? t ? e.map((o) => o.type === "form" ?
|
|
483
|
+
return e ? t ? e.map((o) => o.type === "form" ? sl({ formComponent: o, schemas: t }) : o.type === "decision" ? cl({ decisionComponent: o, actions: r }) : o.type === "button" ? ml({ actionComponent: o, actions: r }) : o.type === "box" ? C(s({}, o), { components: ze({ layout: o.components, schemas: t, actions: r, model: a }) }) : o.type === "modal" ? C(s({}, o), { components: ze({ layout: o.content.components, schemas: t, actions: r, model: a }) }) : o.type === "columns" ? C(s({}, o), { left: ze({ layout: o.left, schemas: t, actions: r, model: a }), right: ze({ layout: o.right, schemas: t, actions: r, model: a }) }) : o) : e : [];
|
|
484
484
|
}
|
|
485
|
-
function
|
|
485
|
+
function sl({ formComponent: e, schemas: t }) {
|
|
486
486
|
if (e.schemaId)
|
|
487
487
|
return { type: "form", margin: e.margin, schema: cn(t, e.schemaId) };
|
|
488
|
-
if (e.schema &&
|
|
488
|
+
if (e.schema && Or(e.schema) && e.schema.$ref)
|
|
489
489
|
return { type: "form", margin: e.margin, schema: cn(t, e.schema.$ref) };
|
|
490
|
-
if (e.schema && !
|
|
490
|
+
if (e.schema && !Or(e.schema))
|
|
491
491
|
return s({}, e);
|
|
492
492
|
throw new Error('Invalid form layout component. Missing "schema" or "schemaId" properties.');
|
|
493
493
|
}
|
|
494
|
-
function
|
|
494
|
+
function cl({ decisionComponent: e, actions: t }) {
|
|
495
495
|
var a;
|
|
496
|
-
let r = (a = e == null ? void 0 : e.options) == null ? void 0 : a.map((o) => o.action &&
|
|
496
|
+
let r = (a = e == null ? void 0 : e.options) == null ? void 0 : a.map((o) => o.action && Or(o.action) ? C(s({}, o), { action: mn(t, o.action.$ref) }) : o);
|
|
497
497
|
return C(s({}, e), { options: r });
|
|
498
498
|
}
|
|
499
|
-
function
|
|
499
|
+
function ml({ actionComponent: e, actions: t }) {
|
|
500
500
|
var r;
|
|
501
|
-
if (e.action &&
|
|
501
|
+
if (e.action && Or(e.action) && ((r = e.action) != null && r.$ref)) {
|
|
502
502
|
let a = mn(t, e.action.$ref);
|
|
503
|
-
return
|
|
503
|
+
return Ar(a);
|
|
504
504
|
}
|
|
505
505
|
return e;
|
|
506
506
|
}
|
|
@@ -516,21 +516,21 @@ var require_main_min = __commonJS({
|
|
|
516
516
|
throw new Error(`Fatal Error. Action not found. $id ${t}`);
|
|
517
517
|
return r;
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function Or(e) {
|
|
520
520
|
return Object.hasOwnProperty.call(e, "$ref");
|
|
521
521
|
}
|
|
522
522
|
var Me = require("react");
|
|
523
|
-
var
|
|
523
|
+
var Cm = require("react-intl");
|
|
524
524
|
var vt = require("react");
|
|
525
|
-
var
|
|
525
|
+
var Pr = require("react");
|
|
526
526
|
function ln() {
|
|
527
|
-
let [e, t] = (0,
|
|
528
|
-
return { addPendingPromise: (0,
|
|
529
|
-
t((o) => o + 1), a.catch(
|
|
527
|
+
let [e, t] = (0, Pr.useState)(0);
|
|
528
|
+
return { addPendingPromise: (0, Pr.useCallback)((a) => {
|
|
529
|
+
t((o) => o + 1), a.catch(dl).finally(() => ll(() => t((o) => Math.max(0, o - 1))));
|
|
530
530
|
}, [t]), pendingPromises: e };
|
|
531
531
|
}
|
|
532
|
-
var
|
|
533
|
-
var
|
|
532
|
+
var ll = (e) => setTimeout(() => e(), 0);
|
|
533
|
+
var dl = () => {
|
|
534
534
|
};
|
|
535
535
|
var yn = require("react/jsx-runtime");
|
|
536
536
|
var dn = { loading: false, registerPersistAsyncPromise: (e) => {
|
|
@@ -540,17 +540,17 @@ var require_main_min = __commonJS({
|
|
|
540
540
|
let { pendingPromises: r, addPendingPromise: a } = ln(), o = (0, vt.useMemo)(() => ({ loading: e || r > 0, registerPersistAsyncPromise: a }), [e, r, a]);
|
|
541
541
|
return (0, yn.jsx)(un.Provider, { value: o, children: t });
|
|
542
542
|
};
|
|
543
|
-
var
|
|
544
|
-
var
|
|
543
|
+
var At = () => (0, vt.useContext)(un) || dn;
|
|
544
|
+
var Ot = require("react");
|
|
545
545
|
var hn = require("react/jsx-runtime");
|
|
546
|
-
var fn = (0,
|
|
546
|
+
var fn = (0, Ot.createContext)({ triggerEvent: () => {
|
|
547
547
|
} });
|
|
548
548
|
function Mr({ metadata: e, children: t, onEvent: r }) {
|
|
549
|
-
let a = (0,
|
|
549
|
+
let a = (0, Ot.useMemo)(() => ({ triggerEvent: Ea(r, e) }), [r, e]);
|
|
550
550
|
return (0, hn.jsx)(fn.Provider, { value: a, children: t });
|
|
551
551
|
}
|
|
552
552
|
function re() {
|
|
553
|
-
let { triggerEvent: e } = (0,
|
|
553
|
+
let { triggerEvent: e } = (0, Ot.useContext)(fn);
|
|
554
554
|
return e;
|
|
555
555
|
}
|
|
556
556
|
var Ea = (e, t) => (r, a = {}) => {
|
|
@@ -561,11 +561,11 @@ var require_main_min = __commonJS({
|
|
|
561
561
|
};
|
|
562
562
|
var ct = require("react");
|
|
563
563
|
var kr = (e, t) => (r, a) => {
|
|
564
|
-
let o =
|
|
564
|
+
let o = ul(r, e || ""), n = pl(a == null ? void 0 : a.headers, t);
|
|
565
565
|
return fetch(o, C(s({}, a != null ? a : {}), { headers: n }));
|
|
566
566
|
};
|
|
567
|
-
var
|
|
568
|
-
var
|
|
567
|
+
var ul = (e, t) => typeof e == "string" && yl(e) ? t + e : e;
|
|
568
|
+
var pl = (e, t) => {
|
|
569
569
|
if (!e && !t)
|
|
570
570
|
return {};
|
|
571
571
|
let r = new Headers(e);
|
|
@@ -573,7 +573,7 @@ var require_main_min = __commonJS({
|
|
|
573
573
|
r.set(a, o);
|
|
574
574
|
return r;
|
|
575
575
|
};
|
|
576
|
-
function
|
|
576
|
+
function yl(e = "") {
|
|
577
577
|
return !["https://", "http://", "data:"].some((t) => e.startsWith(t) && e.length > t.length);
|
|
578
578
|
}
|
|
579
579
|
var Ia = require("react/jsx-runtime");
|
|
@@ -590,7 +590,7 @@ var require_main_min = __commonJS({
|
|
|
590
590
|
return e != null ? e : fetch;
|
|
591
591
|
};
|
|
592
592
|
var wn = () => !!(0, ct.useContext)(Er);
|
|
593
|
-
var
|
|
593
|
+
var Pt = require("react");
|
|
594
594
|
var Sn = require("react/jsx-runtime");
|
|
595
595
|
var mt = (e, t, r = "UNKNOWN-FLOW-ID", a = "UNKNOWN-FLOW-ID") => (o, n, i) => {
|
|
596
596
|
try {
|
|
@@ -598,22 +598,22 @@ var require_main_min = __commonJS({
|
|
|
598
598
|
} catch (c) {
|
|
599
599
|
}
|
|
600
600
|
};
|
|
601
|
-
var Cn = (0,
|
|
601
|
+
var Cn = (0, Pt.createContext)(null);
|
|
602
602
|
function Dr({ flowId: e, stepId: t, children: r, onLog: a }) {
|
|
603
|
-
let o = (0,
|
|
603
|
+
let o = (0, Pt.useMemo)(() => ({ debug: mt("debug", a, e, t), info: mt("info", a, e, t), warning: mt("warning", a, e, t), error: mt("error", a, e, t), critical: mt("critical", a, e, t) }), [a, e, t]);
|
|
604
604
|
return (0, Sn.jsx)(Cn.Provider, { value: o, children: r });
|
|
605
605
|
}
|
|
606
|
-
var
|
|
607
|
-
let e = (0,
|
|
606
|
+
var Mt = () => {
|
|
607
|
+
let e = (0, Pt.useContext)(Cn);
|
|
608
608
|
if (e == null)
|
|
609
609
|
throw new Error("Logging context not found. Did you forget to wrap your component in a <LogProvider />?");
|
|
610
610
|
return e;
|
|
611
611
|
};
|
|
612
612
|
var Da = require("react");
|
|
613
613
|
var bn = require("react/jsx-runtime");
|
|
614
|
-
var
|
|
614
|
+
var fl = (0, Da.createContext)([]);
|
|
615
615
|
function Fn({ features: e, children: t }) {
|
|
616
|
-
return (0, bn.jsx)(
|
|
616
|
+
return (0, bn.jsx)(fl.Provider, { value: e, children: t });
|
|
617
617
|
}
|
|
618
618
|
function xn(e) {
|
|
619
619
|
return e >= 200 && e < 300;
|
|
@@ -632,20 +632,20 @@ var require_main_min = __commonJS({
|
|
|
632
632
|
var j = (e) => Array.isArray(e);
|
|
633
633
|
var I = (e) => e === null;
|
|
634
634
|
var Y = (e) => typeof e == "undefined";
|
|
635
|
-
var
|
|
635
|
+
var kt = (e) => L(e) && e.length === 0 || (R(e) || j(e)) && Object.keys(e).length === 0;
|
|
636
636
|
function On(e, t) {
|
|
637
637
|
return t.oneOf.some((r) => $e(e, r) === e) ? e : null;
|
|
638
638
|
}
|
|
639
639
|
function Pn(e, t) {
|
|
640
640
|
var a;
|
|
641
|
-
let r = t.oneOf.map((o) =>
|
|
641
|
+
let r = t.oneOf.map((o) => hl(e, o)).filter((o) => o !== null);
|
|
642
642
|
return r.length === 0 ? null : (a = r.find((o) => o.some((n) => n !== null))) != null ? a : r[0];
|
|
643
643
|
}
|
|
644
|
-
function
|
|
644
|
+
function hl(e, t) {
|
|
645
645
|
return !je(t) || !De(t) ? null : La(e, t);
|
|
646
646
|
}
|
|
647
647
|
function Mn(e) {
|
|
648
|
-
return L(e) && !
|
|
648
|
+
return L(e) && !kt(e) ? e : null;
|
|
649
649
|
}
|
|
650
650
|
function kn(e) {
|
|
651
651
|
return z(e) ? e : null;
|
|
@@ -661,12 +661,12 @@ var require_main_min = __commonJS({
|
|
|
661
661
|
if (!e.every((a) => typeof a === r))
|
|
662
662
|
return new Array(e.length).fill(null);
|
|
663
663
|
}
|
|
664
|
-
return e.map((r) =>
|
|
664
|
+
return e.map((r) => Et(r, t.items));
|
|
665
665
|
}
|
|
666
666
|
function In(e, t) {
|
|
667
667
|
return Object.keys(t.properties).reduce((r, a) => {
|
|
668
668
|
if (e && !Y(e[a])) {
|
|
669
|
-
let o = e[a], n = t.properties[a], i =
|
|
669
|
+
let o = e[a], n = t.properties[a], i = Et(o, n);
|
|
670
670
|
if (!I(i))
|
|
671
671
|
return C(s({}, r), { [a]: i });
|
|
672
672
|
}
|
|
@@ -688,7 +688,7 @@ var require_main_min = __commonJS({
|
|
|
688
688
|
return $(o) && $(n) ? C(s({}, r), { [a]: Tn(o, n) }) : C(s({}, r), { [a]: t[a] });
|
|
689
689
|
}, s({}, e));
|
|
690
690
|
}
|
|
691
|
-
var
|
|
691
|
+
var Et = (e, t) => $(e) ? ce(e, t) : Ta(e) ? gl(e, t) : $e(e, t);
|
|
692
692
|
function $e(e, t) {
|
|
693
693
|
if (I(e))
|
|
694
694
|
return null;
|
|
@@ -713,10 +713,10 @@ var require_main_min = __commonJS({
|
|
|
713
713
|
function ce(e, t) {
|
|
714
714
|
return Ve(t) || je(t) || I(e) ? null : t.allOf ? Dn(e, t) : t.oneOf ? Ln(e, t) : !Y(t.const) && e === t.const ? e : Le(t) ? In(e, t) : null;
|
|
715
715
|
}
|
|
716
|
-
function
|
|
716
|
+
function gl(e, t) {
|
|
717
717
|
return ge(t) ? Pn(e, t) : je(t) ? La(e, t) : null;
|
|
718
718
|
}
|
|
719
|
-
function
|
|
719
|
+
function er(e, t = false) {
|
|
720
720
|
return !t || !Y(e);
|
|
721
721
|
}
|
|
722
722
|
function Rn(e, t = false) {
|
|
@@ -758,9 +758,9 @@ var require_main_min = __commonJS({
|
|
|
758
758
|
case "boolean":
|
|
759
759
|
return ja(e, t, r);
|
|
760
760
|
case "array":
|
|
761
|
-
return
|
|
761
|
+
return It(e, t, r);
|
|
762
762
|
case "object":
|
|
763
|
-
return
|
|
763
|
+
return wl(e, t);
|
|
764
764
|
default:
|
|
765
765
|
return [];
|
|
766
766
|
}
|
|
@@ -771,13 +771,13 @@ var require_main_min = __commonJS({
|
|
|
771
771
|
if (e === "" && r)
|
|
772
772
|
return ["required"];
|
|
773
773
|
let a = [];
|
|
774
|
-
return
|
|
774
|
+
return er(e, r) || a.push("required"), Nn(e, t.minLength) || a.push("minLength"), Bn(e, t.maxLength) || a.push("maxLength"), zn(e, t.pattern) || a.push("pattern"), Na(e, t.minimum) || a.push("minimum"), Ra(e, t.maximum) || a.push("maximum"), a;
|
|
775
775
|
}
|
|
776
776
|
function Tr(e, t, r) {
|
|
777
777
|
if (!z(e) && !I(e))
|
|
778
778
|
return ["type"];
|
|
779
779
|
let a = [];
|
|
780
|
-
return
|
|
780
|
+
return er(e, r) || a.push("required"), Na(e, t.minimum) || a.push("minimum"), Ra(e, t.maximum) || a.push("maximum"), a;
|
|
781
781
|
}
|
|
782
782
|
function za(e, t, r) {
|
|
783
783
|
return An(e) ? Tr(e, t, r) : ["type"];
|
|
@@ -786,12 +786,12 @@ var require_main_min = __commonJS({
|
|
|
786
786
|
if (!Ie(e) && !I(e))
|
|
787
787
|
return ["type"];
|
|
788
788
|
let a = [];
|
|
789
|
-
return
|
|
789
|
+
return er(e, r) || a.push("required"), a;
|
|
790
790
|
}
|
|
791
791
|
function Va(e, t, r) {
|
|
792
|
-
return
|
|
792
|
+
return er(e, r) ? e !== t.const ? ["const"] : [] : ["required"];
|
|
793
793
|
}
|
|
794
|
-
function
|
|
794
|
+
function It(e, t, r) {
|
|
795
795
|
if (!j(e) && !I(e))
|
|
796
796
|
return ["type"];
|
|
797
797
|
if (!Rn(e, r))
|
|
@@ -802,69 +802,69 @@ var require_main_min = __commonJS({
|
|
|
802
802
|
function Un(e, t) {
|
|
803
803
|
return I(e) ? ["type"] : [];
|
|
804
804
|
}
|
|
805
|
-
function
|
|
805
|
+
function wl(e, t) {
|
|
806
806
|
return $(e) ? j(t.required) ? t.required.map((a) => typeof e[a] != "undefined").reduce((a, o) => a && o, true) ? [] : ["required"] : [] : ["type"];
|
|
807
807
|
}
|
|
808
|
-
function
|
|
808
|
+
function Cl(e, t) {
|
|
809
809
|
return !Ba(e, t).length;
|
|
810
810
|
}
|
|
811
|
-
function
|
|
811
|
+
function Sl(e, t) {
|
|
812
812
|
return !Tr(e, t).length;
|
|
813
813
|
}
|
|
814
|
-
function
|
|
814
|
+
function Fl(e, t) {
|
|
815
815
|
return !za(e, t).length;
|
|
816
816
|
}
|
|
817
|
-
function
|
|
817
|
+
function bl(e, t) {
|
|
818
818
|
return !ja(e, t).length;
|
|
819
819
|
}
|
|
820
|
-
function
|
|
820
|
+
function xl(e, t) {
|
|
821
821
|
return !Va(e, t).length;
|
|
822
822
|
}
|
|
823
|
-
function
|
|
824
|
-
return !R(e) || t.type !== "object" || !R(t.properties) ? false : Object.keys(t.properties).map((r) =>
|
|
823
|
+
function vl(e, t) {
|
|
824
|
+
return !R(e) || t.type !== "object" || !R(t.properties) ? false : Object.keys(t.properties).map((r) => Al(e[r], t.properties[r], t.required && t.required.includes(r))).every((r) => r);
|
|
825
825
|
}
|
|
826
|
-
function
|
|
826
|
+
function Al(e, t, r) {
|
|
827
827
|
return t.hidden ? true : typeof e == "undefined" ? !r : G(e, t);
|
|
828
828
|
}
|
|
829
|
-
function
|
|
830
|
-
return t.type !== "array" || !R(t.items) ||
|
|
829
|
+
function Ol(e, t) {
|
|
830
|
+
return t.type !== "array" || !R(t.items) || It(e, t).length > 0 ? false : Array.isArray(e) && De(t) && e.map((r) => G(r, t.items)).every((r) => r);
|
|
831
831
|
}
|
|
832
|
-
function
|
|
832
|
+
function Pl(e, t) {
|
|
833
833
|
return j(t.oneOf) ? t.oneOf.some((r) => G(e, r)) : false;
|
|
834
834
|
}
|
|
835
|
-
function
|
|
835
|
+
function Ml(e, t) {
|
|
836
836
|
return j(t.allOf) ? t.allOf.map((r) => G(e, r)).every((r) => r) : false;
|
|
837
837
|
}
|
|
838
|
-
function
|
|
838
|
+
function kl(e, t) {
|
|
839
839
|
return !Un(e, t).length;
|
|
840
840
|
}
|
|
841
841
|
function G(e, t) {
|
|
842
842
|
if (t.oneOf)
|
|
843
|
-
return
|
|
843
|
+
return Pl(e, t);
|
|
844
844
|
if (t.allOf)
|
|
845
|
-
return
|
|
845
|
+
return Ml(e, t);
|
|
846
846
|
if (t.const)
|
|
847
|
-
return
|
|
847
|
+
return xl(e, t);
|
|
848
848
|
switch (t.type) {
|
|
849
849
|
case "string":
|
|
850
|
-
return
|
|
850
|
+
return Cl(e, t);
|
|
851
851
|
case "number":
|
|
852
|
-
return
|
|
852
|
+
return Sl(e, t);
|
|
853
853
|
case "integer":
|
|
854
|
-
return
|
|
854
|
+
return Fl(e, t);
|
|
855
855
|
case "boolean":
|
|
856
|
-
return
|
|
856
|
+
return bl(e, t);
|
|
857
857
|
case "array":
|
|
858
|
-
return
|
|
858
|
+
return Ol(e, t);
|
|
859
859
|
case "object":
|
|
860
|
-
return
|
|
860
|
+
return vl(e, t);
|
|
861
861
|
case "blob":
|
|
862
|
-
return
|
|
862
|
+
return kl(e, t);
|
|
863
863
|
default:
|
|
864
864
|
return false;
|
|
865
865
|
}
|
|
866
866
|
}
|
|
867
|
-
function
|
|
867
|
+
function El(e) {
|
|
868
868
|
let t = new Date(e), r = String(t.getMonth() + 1), a = String(t.getDate()), o = t.getFullYear(), n = r.length < 2 ? `0${r}` : r, i = a.length < 2 ? `0${a}` : a;
|
|
869
869
|
return [o, n, i].join("-");
|
|
870
870
|
}
|
|
@@ -874,7 +874,7 @@ var require_main_min = __commonJS({
|
|
|
874
874
|
let [t, r, a] = e.split("-").map((o) => parseInt(o, 10));
|
|
875
875
|
return !z(t) || !z(r) || !z(a) ? null : new Date(t, r - 1, a);
|
|
876
876
|
};
|
|
877
|
-
var qn = (e) =>
|
|
877
|
+
var qn = (e) => El(e);
|
|
878
878
|
var Ke = (e, t) => {
|
|
879
879
|
let r, a, o = () => {
|
|
880
880
|
r && (clearTimeout(r), r = null), a = null;
|
|
@@ -889,8 +889,8 @@ var require_main_min = __commonJS({
|
|
|
889
889
|
r !== null && (e(...a), o());
|
|
890
890
|
}, n;
|
|
891
891
|
};
|
|
892
|
-
var Je = (e, t) => e === t ? true : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((r, a) => Je(r, t[a])) : !!(Gn(e) && Gn(t) &&
|
|
893
|
-
var
|
|
892
|
+
var Je = (e, t) => e === t ? true : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((r, a) => Je(r, t[a])) : !!(Gn(e) && Gn(t) && Il(e, t));
|
|
893
|
+
var Il = (e, t) => {
|
|
894
894
|
let r = Object.keys(e), a = Object.keys(t);
|
|
895
895
|
return r.length === a.length && r.every((o) => Object.hasOwnProperty.call(t, o) && Je(e[o], t[o]));
|
|
896
896
|
};
|
|
@@ -915,14 +915,14 @@ var require_main_min = __commonJS({
|
|
|
915
915
|
function we(e) {
|
|
916
916
|
return !Y(e == null ? void 0 : e.const);
|
|
917
917
|
}
|
|
918
|
-
function
|
|
918
|
+
function tr(e) {
|
|
919
919
|
return !!e && !we(e);
|
|
920
920
|
}
|
|
921
|
-
var
|
|
922
|
-
var
|
|
923
|
-
var
|
|
921
|
+
var Dl = (e) => !!e.readOnly && Ve(e);
|
|
922
|
+
var Ll = (e) => !!e.oneOf && !!e.promotion;
|
|
923
|
+
var Tl = /* @__PURE__ */ new Set(["string", "number", "integer", "boolean"]);
|
|
924
924
|
function Ve(e) {
|
|
925
|
-
return
|
|
925
|
+
return Tl.has(e.type || "") || "const" in e && e.const !== void 0;
|
|
926
926
|
}
|
|
927
927
|
function Le(e) {
|
|
928
928
|
return e.type === "object";
|
|
@@ -936,7 +936,7 @@ var require_main_min = __commonJS({
|
|
|
936
936
|
function Ua(e) {
|
|
937
937
|
return !!e.allOf;
|
|
938
938
|
}
|
|
939
|
-
function
|
|
939
|
+
function Dt(e) {
|
|
940
940
|
return e.type === "blob";
|
|
941
941
|
}
|
|
942
942
|
function je(e) {
|
|
@@ -952,25 +952,25 @@ var require_main_min = __commonJS({
|
|
|
952
952
|
function Br(e) {
|
|
953
953
|
return !!e.persistAsync;
|
|
954
954
|
}
|
|
955
|
-
function
|
|
956
|
-
return Br(e) && (
|
|
955
|
+
function Rl(e) {
|
|
956
|
+
return Br(e) && (Dt(e.persistAsync.schema) || Nl(e.persistAsync.schema));
|
|
957
957
|
}
|
|
958
958
|
var Ha = (e) => Ve(e) && !!e.validationAsync;
|
|
959
|
-
function
|
|
959
|
+
function Nl(e) {
|
|
960
960
|
return e.type === "string" && e.format === "base64url";
|
|
961
961
|
}
|
|
962
962
|
function _n(e) {
|
|
963
963
|
return e.type === "string" && e.format === "base64url";
|
|
964
964
|
}
|
|
965
|
-
var Kn = (e) => je(e) && De(e) &&
|
|
966
|
-
var dt = (e) =>
|
|
967
|
-
var Jn = (e) =>
|
|
968
|
-
var
|
|
969
|
-
var
|
|
965
|
+
var Kn = (e) => je(e) && De(e) && Rl(e.items);
|
|
966
|
+
var dt = (e) => Dl(e) ? "readOnly" : Br(e) ? "persistAsync" : Ha(e) ? "validationAsync" : Le(e) ? "object" : je(e) ? "array" : Ll(e) ? "promotedOneOf" : ge(e) ? "oneOf" : Ua(e) ? "allOf" : Ve(e) ? "basic" : null;
|
|
967
|
+
var Jn = (e) => Bl(e) && zl(e) && jl(e);
|
|
968
|
+
var Bl = (e) => !e.type || e.type === "form";
|
|
969
|
+
var zl = (e) => {
|
|
970
970
|
var t;
|
|
971
971
|
return ((t = e == null ? void 0 : e.actions) == null ? void 0 : t.length) === 1;
|
|
972
972
|
};
|
|
973
|
-
var
|
|
973
|
+
var jl = (e) => {
|
|
974
974
|
if (!e.schemas)
|
|
975
975
|
return false;
|
|
976
976
|
let t = zr(e.schemas);
|
|
@@ -989,11 +989,11 @@ var require_main_min = __commonJS({
|
|
|
989
989
|
var jr = (e) => L(e) || I(e);
|
|
990
990
|
var Ta = (e) => j(e) ? e.length === 0 ? true : e.every((t) => typeof t == "string" || typeof t == "number" || typeof t == "boolean" || typeof t == "object") : false;
|
|
991
991
|
var Xn = (e) => I(e) ? true : Ta(e);
|
|
992
|
-
var
|
|
993
|
-
var Yn = () =>
|
|
994
|
-
var
|
|
995
|
-
var
|
|
996
|
-
var
|
|
992
|
+
var rr = (e) => L(e) || I(e);
|
|
993
|
+
var Yn = () => Ul() && (Hl() || Vl());
|
|
994
|
+
var Vl = (e = window.navigator.userAgent) => /mobi|\b(iphone|android|blackberry|webos|windows phone)\b/i.test(e);
|
|
995
|
+
var Ul = (e = window.screen.width, t = window.screen.height) => e < 768 || t < 768;
|
|
996
|
+
var Hl = (e = window.navigator, t = window.matchMedia) => {
|
|
997
997
|
if ("maxTouchPoints" in e)
|
|
998
998
|
return e.maxTouchPoints > 0;
|
|
999
999
|
let r = t == null ? void 0 : t("(pointer:coarse)");
|
|
@@ -1003,16 +1003,16 @@ var require_main_min = __commonJS({
|
|
|
1003
1003
|
function Qn(e, t) {
|
|
1004
1004
|
return (0, Zn.useCallback)(Ke(e, t), [e, t]);
|
|
1005
1005
|
}
|
|
1006
|
-
var
|
|
1006
|
+
var ar = require("react");
|
|
1007
1007
|
function ei(e) {
|
|
1008
|
-
let [t, r] = (0,
|
|
1009
|
-
return (0,
|
|
1008
|
+
let [t, r] = (0, ar.useState)(null), [a, o] = (0, ar.useState)(false), n = () => o(true);
|
|
1009
|
+
return (0, ar.useEffect)(() => {
|
|
1010
1010
|
e && (o(false), r(window.open(e, "_blank")));
|
|
1011
1011
|
}, [e]), { requiresManualTrigger: !!(e && !t && !a), dismissConfirmation: n };
|
|
1012
1012
|
}
|
|
1013
|
-
var
|
|
1013
|
+
var or = require("react");
|
|
1014
1014
|
function ti(e, t) {
|
|
1015
|
-
let r = ae(), a = (0,
|
|
1015
|
+
let r = ae(), a = (0, or.useMemo)(() => {
|
|
1016
1016
|
if (e)
|
|
1017
1017
|
return () => r(e.url).then((n) => {
|
|
1018
1018
|
if (n.ok)
|
|
@@ -1026,7 +1026,7 @@ var require_main_min = __commonJS({
|
|
|
1026
1026
|
}).catch((n) => {
|
|
1027
1027
|
throw new Error(n.message === "failed" ? "failed" : "network failed");
|
|
1028
1028
|
});
|
|
1029
|
-
}, [e, r]), o = (0,
|
|
1029
|
+
}, [e, r]), o = (0, or.useCallback)((n) => {
|
|
1030
1030
|
let c = ((e == null ? void 0 : e.responseHandlers) || []).find((l) => l.result === n.result);
|
|
1031
1031
|
if (c != null && c.action) {
|
|
1032
1032
|
let { action: l } = c;
|
|
@@ -1041,36 +1041,36 @@ var require_main_min = __commonJS({
|
|
|
1041
1041
|
}
|
|
1042
1042
|
return true;
|
|
1043
1043
|
}, [e == null ? void 0 : e.responseHandlers, t]);
|
|
1044
|
-
Vr({ asyncFn: a, interval: (e == null ? void 0 : e.interval) || 0, maxAttempts: (e == null ? void 0 : e.maxAttempts) || 0, maxConsecutiveFails: (e == null ? void 0 : e.maxConsecutiveFails) || 0, onPollingResponse: o, onFailure: (0,
|
|
1044
|
+
Vr({ asyncFn: a, interval: (e == null ? void 0 : e.interval) || 0, maxAttempts: (e == null ? void 0 : e.maxAttempts) || 0, maxConsecutiveFails: (e == null ? void 0 : e.maxConsecutiveFails) || 0, onPollingResponse: o, onFailure: (0, or.useCallback)(() => {
|
|
1045
1045
|
e && t(e.onError.action);
|
|
1046
1046
|
}, [t, e]) });
|
|
1047
1047
|
}
|
|
1048
|
-
var
|
|
1049
|
-
var
|
|
1048
|
+
var gc = require("react");
|
|
1049
|
+
var wc = require("react-intl");
|
|
1050
1050
|
var ri = require("react-intl");
|
|
1051
|
-
var
|
|
1051
|
+
var nr = (0, ri.defineMessages)({ genericError: { id: "dynamicFlows.PersistAsyncSchema.genericError", defaultMessage: "Something went wrong, please try again later!", description: "Generic error message for persist async schema" } });
|
|
1052
1052
|
var bt = require("react");
|
|
1053
|
-
var
|
|
1053
|
+
var uc = require("react-intl");
|
|
1054
1054
|
var ai = { DAY_MONTH_YEAR: "day-month-year", MONTH_YEAR: "month-year" };
|
|
1055
1055
|
var N = { RADIO: "radio", CHECKBOX: "checkbox", SELECT: "select", EMAIL: "email", FILE: "file", DATE: "date", DATETIME: "date-time", DATELOOKUP: "date-lookup", TEL: "tel", NUMERIC: "numeric", NUMBER: "number", HIDDEN: "hidden", PASSWORD: "password", TEXT: "text", TEXTAREA: "textarea", UPLOAD: "upload", TAB: "tab" };
|
|
1056
1056
|
var oi = { SHORT: "short", LONG: "long" };
|
|
1057
1057
|
var ni = { EXTRA_SMALL: "xs", SMALL: "sm", MEDIUM: "md", LARGE: "lg", EXTRA_LARGE: "xl" };
|
|
1058
|
-
var
|
|
1058
|
+
var lc = Ee(Xe());
|
|
1059
1059
|
var de = require("react");
|
|
1060
1060
|
var ui = require("@transferwise/components");
|
|
1061
|
-
var
|
|
1061
|
+
var Tt = require("@transferwise/components");
|
|
1062
1062
|
var si = require("react/jsx-runtime");
|
|
1063
|
-
var
|
|
1063
|
+
var Lt = (e) => ql(e) || Gl(e);
|
|
1064
|
+
var ql = (e) => Wl.some((t) => e === `flag-${t}`);
|
|
1064
1065
|
var Gl = (e) => $l.some((t) => e === `flag-${t}`);
|
|
1065
|
-
var Wl = (e) => _l.some((t) => e === `flag-${t}`);
|
|
1066
1066
|
var ii = ({ name: e }) => {
|
|
1067
|
-
if (!
|
|
1067
|
+
if (!Lt(e))
|
|
1068
1068
|
return null;
|
|
1069
1069
|
let t = e.substring(5);
|
|
1070
1070
|
return (0, si.jsx)("img", { src: `https://wise.com/web-art/assets/flags/${t}.svg`, alt: "", "data-testid": `img-flag-${t}` });
|
|
1071
1071
|
};
|
|
1072
|
-
var
|
|
1073
|
-
var
|
|
1072
|
+
var Wl = ["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"];
|
|
1073
|
+
var $l = ["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"];
|
|
1074
1074
|
var ci = Ee(require("@transferwise/icons"));
|
|
1075
1075
|
var di = require("react/jsx-runtime");
|
|
1076
1076
|
var Hr = (e) => {
|
|
@@ -1083,26 +1083,26 @@ var require_main_min = __commonJS({
|
|
|
1083
1083
|
let t = li(e), r = ci[t];
|
|
1084
1084
|
return (0, di.jsx)(r, { size: 24 });
|
|
1085
1085
|
};
|
|
1086
|
-
var li = (e) => e.split("-").map(
|
|
1087
|
-
var
|
|
1086
|
+
var li = (e) => e.split("-").map(_l).join("");
|
|
1087
|
+
var _l = (e) => {
|
|
1088
1088
|
var t;
|
|
1089
1089
|
return `${(t = e[0]) == null ? void 0 : t.toUpperCase()}${e.slice(1)}`;
|
|
1090
1090
|
};
|
|
1091
1091
|
var Wa = require("react/jsx-runtime");
|
|
1092
|
-
var
|
|
1092
|
+
var Kl = ({ type: e }) => Lt(e) ? (0, Wa.jsx)(ii, { name: e }) : Hr(e) ? (0, Wa.jsx)(mi, { name: e }) : null;
|
|
1093
1093
|
function $a(e) {
|
|
1094
|
-
return Hr(e) ||
|
|
1094
|
+
return Hr(e) || Lt(e);
|
|
1095
1095
|
}
|
|
1096
|
-
var Ye =
|
|
1097
|
-
var
|
|
1096
|
+
var Ye = Kl;
|
|
1097
|
+
var ir = require("react/jsx-runtime");
|
|
1098
1098
|
var ut = ({ icon: e, image: t }) => {
|
|
1099
1099
|
if (e != null && e.name)
|
|
1100
|
-
return (0,
|
|
1100
|
+
return (0, ir.jsx)(Tt.Avatar, { type: Tt.AvatarType.ICON, children: (0, ir.jsx)(Ye, { type: e.name }) });
|
|
1101
1101
|
if (e != null && e.text)
|
|
1102
|
-
return (0,
|
|
1102
|
+
return (0, ir.jsx)(Tt.Avatar, { type: Tt.AvatarType.INITIALS, children: e.text });
|
|
1103
1103
|
if (t != null && t.url) {
|
|
1104
1104
|
let { url: r, text: a } = t;
|
|
1105
|
-
return (0,
|
|
1105
|
+
return (0, ir.jsx)("img", { src: r, alt: a });
|
|
1106
1106
|
}
|
|
1107
1107
|
return null;
|
|
1108
1108
|
};
|
|
@@ -1122,7 +1122,7 @@ var require_main_min = __commonJS({
|
|
|
1122
1122
|
return "";
|
|
1123
1123
|
}
|
|
1124
1124
|
};
|
|
1125
|
-
var
|
|
1125
|
+
var Jl = (e) => {
|
|
1126
1126
|
switch (e) {
|
|
1127
1127
|
case "right":
|
|
1128
1128
|
return "text-xs-right";
|
|
@@ -1133,13 +1133,13 @@ var require_main_min = __commonJS({
|
|
|
1133
1133
|
return "";
|
|
1134
1134
|
}
|
|
1135
1135
|
};
|
|
1136
|
-
var Ce = (e) => `${
|
|
1136
|
+
var Ce = (e) => `${Jl(e.align)} ${V(e.margin)}`;
|
|
1137
1137
|
var pi = require("react/jsx-runtime");
|
|
1138
|
-
var
|
|
1138
|
+
var Xl = (e) => {
|
|
1139
1139
|
let t = e.component;
|
|
1140
|
-
return (0, pi.jsx)(ui.Alert, { type:
|
|
1140
|
+
return (0, pi.jsx)(ui.Alert, { type: Zl(Yl(t.context)), className: V(t.margin), message: t.markdown });
|
|
1141
1141
|
};
|
|
1142
|
-
var
|
|
1142
|
+
var Yl = (e) => {
|
|
1143
1143
|
switch (e) {
|
|
1144
1144
|
case "success":
|
|
1145
1145
|
return "positive";
|
|
@@ -1154,15 +1154,15 @@ var require_main_min = __commonJS({
|
|
|
1154
1154
|
return e;
|
|
1155
1155
|
}
|
|
1156
1156
|
};
|
|
1157
|
-
var
|
|
1158
|
-
var se =
|
|
1157
|
+
var Zl = (e) => !e || !["neutral", "warning", "negative", "positive"].includes(e) ? "neutral" : e;
|
|
1158
|
+
var se = Xl;
|
|
1159
1159
|
var pt = require("react/jsx-runtime");
|
|
1160
|
-
var
|
|
1160
|
+
var Ql = (e) => {
|
|
1161
1161
|
let t = e.component, r = V(t.margin || t.border ? "lg" : "xs");
|
|
1162
|
-
return !t.width || t.width === "xl" ? (0, pt.jsx)("div", { className: r + yi(t.border), children: (0, pt.jsx)(ne, { components: t.components, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }) : (0, pt.jsx)("div", { className: "row", children: (0, pt.jsx)("div", { className: r +
|
|
1162
|
+
return !t.width || t.width === "xl" ? (0, pt.jsx)("div", { className: r + yi(t.border), children: (0, pt.jsx)(ne, { components: t.components, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }) : (0, pt.jsx)("div", { className: "row", children: (0, pt.jsx)("div", { className: r + ed(t), children: (0, pt.jsx)("div", { className: yi(t.border), children: (0, pt.jsx)(ne, { components: t.components, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }) }) });
|
|
1163
1163
|
};
|
|
1164
1164
|
var yi = (e) => e ? " well p-b-0" : "";
|
|
1165
|
-
var
|
|
1165
|
+
var ed = (e) => {
|
|
1166
1166
|
switch (e.width) {
|
|
1167
1167
|
case "xs":
|
|
1168
1168
|
return " col-md-4 col-md-offset-4";
|
|
@@ -1177,18 +1177,18 @@ var require_main_min = __commonJS({
|
|
|
1177
1177
|
return " col-xs-12";
|
|
1178
1178
|
}
|
|
1179
1179
|
};
|
|
1180
|
-
var _a =
|
|
1180
|
+
var _a = Ql;
|
|
1181
1181
|
var wi = require("@transferwise/components");
|
|
1182
|
-
var
|
|
1182
|
+
var td = { primary: "primary", secondary: "secondary", link: "tertiary", positive: "primary", negative: "primary" };
|
|
1183
1183
|
var fi = (e) => {
|
|
1184
1184
|
var r;
|
|
1185
1185
|
let t = e.action.type;
|
|
1186
|
-
return (r = e.control) != null ? r : t ?
|
|
1186
|
+
return (r = e.control) != null ? r : t ? td[t] : "secondary";
|
|
1187
1187
|
};
|
|
1188
|
-
var
|
|
1188
|
+
var rd = { primary: "neutral", secondary: "neutral", link: "neutral", positive: "positive", negative: "negative" };
|
|
1189
1189
|
var hi = (e) => {
|
|
1190
1190
|
var a;
|
|
1191
|
-
let t = e.action.type, r = (a = e.context) != null ? a : t ?
|
|
1191
|
+
let t = e.action.type, r = (a = e.context) != null ? a : t ? rd[t] : "neutral";
|
|
1192
1192
|
return r === "neutral" ? "accent" : r;
|
|
1193
1193
|
};
|
|
1194
1194
|
var gi = (e) => {
|
|
@@ -1205,66 +1205,70 @@ var require_main_min = __commonJS({
|
|
|
1205
1205
|
}
|
|
1206
1206
|
};
|
|
1207
1207
|
var Ci = require("react/jsx-runtime");
|
|
1208
|
-
var
|
|
1208
|
+
var ad = (e) => {
|
|
1209
1209
|
var l;
|
|
1210
|
-
let { component: t, onAction: r } = e, a = t.action, o = hi(t), n = fi(t), { loading: i } =
|
|
1210
|
+
let { component: t, onAction: r } = e, a = t.action, o = hi(t), n = fi(t), { loading: i } = At(), c = V(t.margin || "md");
|
|
1211
1211
|
return (0, Ci.jsx)(wi.Button, { size: gi(t.size), type: n === "tertiary" ? void 0 : o, priority: n, block: true, className: c, disabled: t.disabled || a.disabled || i, onClick: () => r(a), children: (l = t.title) != null ? l : a.title });
|
|
1212
1212
|
};
|
|
1213
|
-
var Ka =
|
|
1213
|
+
var Ka = ad;
|
|
1214
1214
|
var yt = require("react/jsx-runtime");
|
|
1215
|
-
var
|
|
1216
|
-
let t = e.component, { leftWidth: r, rightWidth: a } =
|
|
1215
|
+
var od = (e) => {
|
|
1216
|
+
let t = e.component, { leftWidth: r, rightWidth: a } = nd(t.bias);
|
|
1217
1217
|
return (0, yt.jsxs)("div", { className: `${V(t.margin || "xs")} row`, children: [(0, yt.jsx)("div", { className: `${r} m-b-0`, children: (0, yt.jsx)(ne, { components: t.left, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }), (0, yt.jsx)("div", { className: `${a} m-b-0`, children: (0, yt.jsx)(ne, { components: t.right, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) })] });
|
|
1218
1218
|
};
|
|
1219
|
-
var
|
|
1220
|
-
var Ja =
|
|
1219
|
+
var nd = (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" };
|
|
1220
|
+
var Ja = od;
|
|
1221
1221
|
var Gr = require("@transferwise/components");
|
|
1222
1222
|
var qr = require("react/jsx-runtime");
|
|
1223
|
-
function
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1223
|
+
function id({ component: e, onAction: t }) {
|
|
1224
|
+
let { loading: r } = At();
|
|
1225
|
+
return (0, qr.jsx)("div", { className: V(e.margin), children: (0, qr.jsx)(Gr.NavigationOptionsList, { children: e.options.map((a) => {
|
|
1226
|
+
var o;
|
|
1227
|
+
return (0, qr.jsx)(Gr.NavigationOption, { title: a.title, content: a.description, disabled: (o = a.disabled) != null ? o : r, media: ut(a), showMediaCircle: false, showMediaAtAllSizes: true, onClick: () => t(a.action) }, JSON.stringify(a));
|
|
1228
|
+
}) }) });
|
|
1229
|
+
}
|
|
1230
|
+
var Xa = id;
|
|
1227
1231
|
var Si = require("react/jsx-runtime");
|
|
1228
|
-
var
|
|
1232
|
+
var sd = ({ component: e }) => {
|
|
1229
1233
|
let r = `m-t-0 ${V(e.margin)}`;
|
|
1230
1234
|
return (0, Si.jsx)("hr", { className: r });
|
|
1231
1235
|
};
|
|
1232
|
-
var Ya =
|
|
1233
|
-
var
|
|
1236
|
+
var Ya = sd;
|
|
1237
|
+
var Rt = require("@transferwise/components");
|
|
1234
1238
|
var Wr = require("react");
|
|
1235
1239
|
var xi = require("react-intl");
|
|
1236
1240
|
var Fi = require("react-intl");
|
|
1237
1241
|
var bi = (0, Fi.defineMessages)({ retryTitle: { id: "dynamicFlows.DynamicExternal.retryTitle", defaultMessage: "Reopen window", description: "" } });
|
|
1238
1242
|
var Ze = require("react/jsx-runtime");
|
|
1239
|
-
var
|
|
1243
|
+
var cd = ({ component: e, onAction: t }) => {
|
|
1240
1244
|
let { requestUrl: r, responseHandlers: a, polling: o, retryTitle: n } = e, i = (0, xi.useIntl)(), c = (0, Wr.useCallback)(() => window.open(r, "df-external-window"), [r]);
|
|
1241
1245
|
(0, Wr.useEffect)(() => {
|
|
1242
1246
|
c();
|
|
1243
1247
|
}, [c]);
|
|
1244
1248
|
let l = o && a ? C(s({}, o), { responseHandlers: a }) : void 0;
|
|
1245
|
-
return ti(l, t), (0, Ze.jsxs)(Ze.Fragment, { children: [(0, Ze.jsx)(
|
|
1249
|
+
return ti(l, t), (0, Ze.jsxs)(Ze.Fragment, { children: [(0, Ze.jsx)(Rt.Loader, { size: Rt.Size.LARGE, classNames: { "tw-loader": "tw-loader m-x-auto" } }), (0, Ze.jsx)("br", {}), (0, Ze.jsx)(Rt.Button, { priority: "tertiary", block: true, onClick: c, children: n || i.formatMessage(bi.retryTitle) })] });
|
|
1246
1250
|
};
|
|
1247
|
-
var Za =
|
|
1248
|
-
var
|
|
1251
|
+
var Za = cd;
|
|
1252
|
+
var qs = require("react");
|
|
1249
1253
|
var vi = require("@transferwise/components");
|
|
1250
1254
|
var Ai = Ee(Xe());
|
|
1251
1255
|
var Oi = require("react");
|
|
1252
1256
|
var Re = require("react/jsx-runtime");
|
|
1253
|
-
var
|
|
1254
|
-
var
|
|
1255
|
-
var
|
|
1257
|
+
var md = (e, t) => t.map((r) => ce(e, r) || {});
|
|
1258
|
+
var ld = (e) => e.reduce((t, r) => s(s({}, r), t), {});
|
|
1259
|
+
var dd = (e) => ({ "col-xs-12": true, "col-sm-6": e === "md", "col-sm-4": e === "sm" });
|
|
1256
1260
|
function Pi(e) {
|
|
1257
1261
|
let t = (o, n) => {
|
|
1258
1262
|
let i = e.schema.allOf[o];
|
|
1259
|
-
r[o] = ce(n.model, i) || {}, a(r), e.onChange(C(s({}, n), { model:
|
|
1260
|
-
}, [r, a] = (0, Oi.useState)(
|
|
1261
|
-
return (0, Re.jsxs)(Re.Fragment, { children: [e.schema.title && (0, Re.jsx)(vi.Header, { title: e.schema.title }), e.schema.description && (0, Re.jsx)("p", { children: e.schema.description }), (0, Re.jsx)("div", { className: "row", children: e.schema.allOf.map((o, n) => (0, Re.jsx)("div", { className: (0, Ai.default)(
|
|
1263
|
+
r[o] = ce(n.model, i) || {}, a(r), e.onChange(C(s({}, n), { model: ld(r) }));
|
|
1264
|
+
}, [r, a] = (0, Oi.useState)(md(e.model, e.schema.allOf));
|
|
1265
|
+
return (0, Re.jsxs)(Re.Fragment, { children: [e.schema.title && (0, Re.jsx)(vi.Header, { title: e.schema.title }), e.schema.description && (0, Re.jsx)("p", { children: e.schema.description }), (0, Re.jsx)("div", { className: "row", children: e.schema.allOf.map((o, n) => (0, Re.jsx)("div", { className: (0, Ai.default)(dd(o.width)), children: (0, Re.jsx)(me, { schema: o, model: r[n], errors: e.errors, submitted: e.submitted, disabled: e.disabled, onChange: (i) => t(n, C(s({}, i), { model: i.model })), onPersistAsync: e.onPersistAsync }) }, n)) })] });
|
|
1262
1266
|
}
|
|
1263
1267
|
Pi.defaultProps = { disabled: false };
|
|
1264
1268
|
var Qa = Pi;
|
|
1265
1269
|
var _r = require("@transferwise/components");
|
|
1266
1270
|
var Ui = Ee(Xe());
|
|
1267
|
-
var
|
|
1271
|
+
var sr = require("react");
|
|
1268
1272
|
var $r = require("@transferwise/components");
|
|
1269
1273
|
var eo = require("@transferwise/formatting");
|
|
1270
1274
|
var ki = require("react-intl");
|
|
@@ -1273,11 +1277,11 @@ var require_main_min = __commonJS({
|
|
|
1273
1277
|
var Ue = require("react/jsx-runtime");
|
|
1274
1278
|
function Ei(e) {
|
|
1275
1279
|
var c;
|
|
1276
|
-
let t =
|
|
1280
|
+
let t = ud(e.schema), r = s(s(s({}, t), e.validationMessages), e.schema.validationMessages), a = (e.submitted || !e.changed) && !!e.errors, o = !a && (e.submitted || e.changed && e.blurred) && !!((c = e.validations) != null && c.length), n = e.schema.description && !a && !o, i = !!e.infoMessage;
|
|
1277
1281
|
return (0, Ue.jsxs)("div", { id: e.id, children: [a ? (0, Ue.jsx)($r.InlineAlert, { type: "error", children: e.errors }) : null, o ? (0, Ue.jsx)($r.InlineAlert, { type: "error", children: e.validations.map((l) => (0, Ue.jsx)("div", { children: r[l] }, l)) }) : null, (n || i) && (0, Ue.jsxs)($r.InlineAlert, { type: "info", children: [n && (0, Ue.jsx)("div", { children: e.schema.description }), i && (0, Ue.jsx)("div", { children: e.infoMessage })] })] });
|
|
1278
1282
|
}
|
|
1279
1283
|
Ei.defaultProps = { errors: "", validations: [], validationMessages: {}, validationAsyncSuccessMessage: null };
|
|
1280
|
-
function
|
|
1284
|
+
function ud(e) {
|
|
1281
1285
|
let { formatMessage: t, locale: r } = (0, ki.useIntl)(), a = { type: t(Se.type), minimum: t(Se.minimum, { minimum: e.minimum }), maximum: t(Se.maximum, { maximum: e.maximum }), minLength: t(Se.minLength, { minLength: e.minLength }), maxLength: t(Se.maxLength, { maxLength: e.maxLength }), pattern: t(Se.pattern), required: t(Se.required) };
|
|
1282
1286
|
if (e.format === "date") {
|
|
1283
1287
|
let o = { pattern: t(Se.patternDate), minimum: e.minimum ? t(Se.minimumDate, { minimum: (0, eo.formatDate)(new Date(e.minimum), r, { timeZone: "UTC", dateStyle: "long" }) }) : void 0, maximum: e.maximum ? t(Se.maximumDate, { maximum: (0, eo.formatDate)(new Date(e.maximum), r, { timeZone: "UTC", dateStyle: "long" }) }) : void 0 };
|
|
@@ -1319,7 +1323,7 @@ var require_main_min = __commonJS({
|
|
|
1319
1323
|
var ft = require("react/jsx-runtime");
|
|
1320
1324
|
function Hi(e) {
|
|
1321
1325
|
var M, E;
|
|
1322
|
-
let { onChange: t, schema: r } = e, a = re(), o = ji(r), n = (0,
|
|
1326
|
+
let { onChange: t, schema: r } = e, a = re(), o = ji(r), n = (0, sr.useMemo)(() => r.$id || Te(), [r.$id]), [i, c] = (0, sr.useState)(false), [l, m] = (0, sr.useState)(() => pd(e.model || [])), p = qi(r.items.persistAsync), h = r.items.persistAsync.schema, y = Dt(h), u = async (P) => {
|
|
1323
1327
|
c(true);
|
|
1324
1328
|
try {
|
|
1325
1329
|
let D = await Ii(P, y);
|
|
@@ -1337,25 +1341,25 @@ var require_main_min = __commonJS({
|
|
|
1337
1341
|
let U = Vi(P).map((ee) => ee.id);
|
|
1338
1342
|
t({ model: U, triggerSchema: r, triggerModel: U });
|
|
1339
1343
|
}
|
|
1340
|
-
let w = Vi(l).map((P) => P.id), S =
|
|
1341
|
-
return (0, ft.jsxs)("div", { className: (0, Ui.default)("form-group", { "has-error": F }), children: [(0, ft.jsx)("label", { className: "d-block control-label", htmlFor: n, children: e.schema.title }), (0, ft.jsx)("div", { "aria-describedby": x, children: (0, ft.jsx)(_r.UploadInput, s({}, O)) }), (0, ft.jsx)(He, { id: x, changed: i, submitted: e.submitted, errors: e.errors, schema: e.schema, validations: S, validationMessages:
|
|
1344
|
+
let w = Vi(l).map((P) => P.id), S = It(w, r, e.required), F = !!e.errors || (i || e.submitted) && !!S.length, g = "accepts" in h && h.accepts, v = "maxSize" in h && h.maxSize, O = C(s(s({ multiple: true, className: "form-control", files: l, fileInputName: n, id: n }, g ? { fileTypes: g } : void 0), v ? { sizeLimit: Nr(v) } : void 0), { sizeLimitErrorMessage: ((M = h.validationMessages) == null ? void 0 : M.maxSize) || o.maxFileSizeErrorMessage, maxFiles: e.schema.maxItems, maxFilesErrorMessage: ((E = e.schema.validationMessages) == null ? void 0 : E.maxItems) || o.maxItemsErrorMessage, uploadButtonTitle: h.title, description: h.description, disabled: e.disabled, onUploadFile: (P) => u(P.get(n)), onFilesChange: d, onDeleteFile: () => Promise.resolve() }), x = `${n}-feedback`;
|
|
1345
|
+
return (0, ft.jsxs)("div", { className: (0, Ui.default)("form-group", { "has-error": F }), children: [(0, ft.jsx)("label", { className: "d-block control-label", htmlFor: n, children: e.schema.title }), (0, ft.jsx)("div", { "aria-describedby": x, children: (0, ft.jsx)(_r.UploadInput, s({}, O)) }), (0, ft.jsx)(He, { id: x, changed: i, submitted: e.submitted, errors: e.errors, schema: e.schema, validations: S, validationMessages: fd(r, !!e.required, o), infoMessage: null, focused: false, blurred: true })] });
|
|
1342
1346
|
}
|
|
1343
1347
|
Hi.defaultProps = { errors: null, required: false };
|
|
1344
1348
|
var to = Hi;
|
|
1345
1349
|
function Vi(e) {
|
|
1346
1350
|
return e.filter((t) => !t.error && t.status === "succeeded");
|
|
1347
1351
|
}
|
|
1348
|
-
function
|
|
1349
|
-
return e.map((t) =>
|
|
1352
|
+
function pd(e) {
|
|
1353
|
+
return e.map((t) => yd(t) ? { id: t, status: _r.Status.SUCCEEDED } : null).filter((t) => t !== null);
|
|
1350
1354
|
}
|
|
1351
|
-
function
|
|
1355
|
+
function yd(e) {
|
|
1352
1356
|
return z(e) || L(e);
|
|
1353
1357
|
}
|
|
1354
|
-
function
|
|
1358
|
+
function fd(e, t, r) {
|
|
1355
1359
|
let { minItems: a, maxItems: o } = e;
|
|
1356
1360
|
return s(s(s({}, t && { required: r.requiredMessage }), a && { minItems: r.minItemsErrorMessage }), o && { maxItems: r.maxItemsErrorMessage });
|
|
1357
1361
|
}
|
|
1358
|
-
var
|
|
1362
|
+
var Bt = require("@transferwise/components");
|
|
1359
1363
|
var Zi = require("@transferwise/icons");
|
|
1360
1364
|
var Xr = require("react");
|
|
1361
1365
|
var Qi = require("react-intl");
|
|
@@ -1366,37 +1370,37 @@ var require_main_min = __commonJS({
|
|
|
1366
1370
|
var ht = (0, _i.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" } });
|
|
1367
1371
|
var Ki = require("react-intl");
|
|
1368
1372
|
var Xi = require("react/jsx-runtime");
|
|
1369
|
-
function
|
|
1373
|
+
function hd({ type: e, schema: t, model: r, errors: a, submitted: o, onModelChange: n, onAction: i }) {
|
|
1370
1374
|
let { formatMessage: c } = (0, Ki.useIntl)(), l = { layout: [{ type: "form", schema: t.items }, { type: "button", control: "primary", action: { url: e, title: c(e === "add" ? ht.addItem : ht.editItem) } }, ...e === "edit" ? [{ type: "button", context: "negative", action: { url: "remove", title: c(ht.removeItem) } }] : []], title: "", actions: [], schemas: [] };
|
|
1371
1375
|
return (0, Xi.jsx)(Kr, { step: l, model: r, stepLayoutOptions: { displayStepTitle: false }, submitted: o, formErrors: a, globalError: null, onAction: (m) => {
|
|
1372
1376
|
i(m.url);
|
|
1373
1377
|
}, onModelChange: n });
|
|
1374
1378
|
}
|
|
1375
|
-
var Ji =
|
|
1379
|
+
var Ji = hd;
|
|
1376
1380
|
var Jr = (e, t) => {
|
|
1377
|
-
let r =
|
|
1381
|
+
let r = cr(e, t);
|
|
1378
1382
|
if (r >= 0)
|
|
1379
1383
|
return r;
|
|
1380
|
-
if (e.oneOf.length === 1 &&
|
|
1384
|
+
if (e.oneOf.length === 1 && tr(e.oneOf[0]))
|
|
1381
1385
|
return 0;
|
|
1382
1386
|
if (we(e.oneOf[0])) {
|
|
1383
|
-
let a =
|
|
1387
|
+
let a = cr(e, e.default);
|
|
1384
1388
|
if (a >= 0)
|
|
1385
1389
|
return a;
|
|
1386
1390
|
}
|
|
1387
|
-
return lt(e) && $(t) && Object.keys(t).length >= 1 ?
|
|
1391
|
+
return lt(e) && $(t) && Object.keys(t).length >= 1 ? Nt(e, t) : lt(e) && !Y(e.default) && $(e.default) && Object.keys(e.default).length >= 1 ? Nt(e, e.default) : null;
|
|
1388
1392
|
};
|
|
1389
|
-
var
|
|
1393
|
+
var cr = (e, t) => {
|
|
1390
1394
|
let r = (a) => !Y(t) && G(t, a);
|
|
1391
1395
|
return e.oneOf.filter(r).length === 1 ? e.oneOf.findIndex(r) : -1;
|
|
1392
1396
|
};
|
|
1393
|
-
function
|
|
1397
|
+
function Nt(e, t) {
|
|
1394
1398
|
if (t == null)
|
|
1395
1399
|
return null;
|
|
1396
|
-
let r = e.oneOf.map((a) =>
|
|
1400
|
+
let r = e.oneOf.map((a) => gd(a).reduce((o, [n, i]) => we(i) && i.const === t[n] ? o + 2 : tr(i) && typeof t[n] != "undefined" ? o + 1 : o, 0));
|
|
1397
1401
|
return r.every((a) => a === r[0]) ? null : r.indexOf(Math.max(...r));
|
|
1398
1402
|
}
|
|
1399
|
-
function
|
|
1403
|
+
function gd(e) {
|
|
1400
1404
|
return e.properties !== null && typeof e.properties == "object" ? Object.entries(e.properties) : [];
|
|
1401
1405
|
}
|
|
1402
1406
|
var ro = (e, t, r = {}) => {
|
|
@@ -1411,20 +1415,20 @@ var require_main_min = __commonJS({
|
|
|
1411
1415
|
};
|
|
1412
1416
|
var Qe = (e) => {
|
|
1413
1417
|
let { schema: t, model: r, providesProp: a, getValueFromSchema: o } = e;
|
|
1414
|
-
if (
|
|
1418
|
+
if (Fd(t.summary, a))
|
|
1415
1419
|
return o(t, r);
|
|
1416
1420
|
switch (dt(t)) {
|
|
1417
1421
|
case "object":
|
|
1418
|
-
return
|
|
1422
|
+
return wd(e);
|
|
1419
1423
|
case "oneOf":
|
|
1420
|
-
return
|
|
1424
|
+
return Cd(e);
|
|
1421
1425
|
case "allOf":
|
|
1422
|
-
return
|
|
1426
|
+
return Sd(e);
|
|
1423
1427
|
default:
|
|
1424
1428
|
return null;
|
|
1425
1429
|
}
|
|
1426
1430
|
};
|
|
1427
|
-
var
|
|
1431
|
+
var wd = (e) => {
|
|
1428
1432
|
let { schema: t, model: r } = e, a = t;
|
|
1429
1433
|
for (let o in a.properties) {
|
|
1430
1434
|
let n = a.properties[o], i = $(r) && o in r ? r[o] : null, c = Qe(C(s({}, e), { schema: n, model: i }));
|
|
@@ -1433,12 +1437,12 @@ var require_main_min = __commonJS({
|
|
|
1433
1437
|
}
|
|
1434
1438
|
return null;
|
|
1435
1439
|
};
|
|
1436
|
-
var
|
|
1440
|
+
var Cd = (e) => {
|
|
1437
1441
|
let { schema: t, model: r } = e;
|
|
1438
1442
|
if (lt(t)) {
|
|
1439
1443
|
if (!$(r))
|
|
1440
1444
|
return null;
|
|
1441
|
-
let n =
|
|
1445
|
+
let n = Nt(t, r);
|
|
1442
1446
|
if (n === null || n < 0)
|
|
1443
1447
|
return null;
|
|
1444
1448
|
let i = t.oneOf[n];
|
|
@@ -1447,7 +1451,7 @@ var require_main_min = __commonJS({
|
|
|
1447
1451
|
let a = t, o = Jr(a, r);
|
|
1448
1452
|
return o === null || o < 0 ? null : Qe(C(s({}, e), { schema: a.oneOf[o] }));
|
|
1449
1453
|
};
|
|
1450
|
-
var
|
|
1454
|
+
var Sd = (e) => {
|
|
1451
1455
|
let { schema: t } = e, r = t;
|
|
1452
1456
|
for (let a of r.allOf) {
|
|
1453
1457
|
let o = Qe(C(s({}, e), { schema: a }));
|
|
@@ -1457,9 +1461,9 @@ var require_main_min = __commonJS({
|
|
|
1457
1461
|
return null;
|
|
1458
1462
|
};
|
|
1459
1463
|
var Yi = (e, t) => we(e) ? e.title ? e.title : L(e.const) ? e.const : null : jr(t) ? t : null;
|
|
1460
|
-
var
|
|
1464
|
+
var Fd = (e, t) => !!e && Object.hasOwnProperty.call(e, t) && !!e[t];
|
|
1461
1465
|
var Fe = require("react/jsx-runtime");
|
|
1462
|
-
var
|
|
1466
|
+
var bd = ({ schema: e, model: t, errors: r, submitted: a, onChange: o }) => {
|
|
1463
1467
|
let [n, i] = (0, Xr.useState)(null), [c, l] = (0, Xr.useState)(() => {
|
|
1464
1468
|
if (R(t) && !j(t))
|
|
1465
1469
|
throw new Error("RepeatableSchema does not support object models. Ensure your array schema is wrapped inside an object schema.");
|
|
@@ -1476,14 +1480,14 @@ var require_main_min = __commonJS({
|
|
|
1476
1480
|
let F = S === "remove" ? null : ro(e.items, m.model, e == null ? void 0 : e.summary);
|
|
1477
1481
|
if (S !== "remove" && !G((v = F == null ? void 0 : F.value) != null ? v : null, e.items))
|
|
1478
1482
|
return;
|
|
1479
|
-
let g =
|
|
1483
|
+
let g = xd(S, { originalItem: m.item, updatedItem: F, itemSummaries: c });
|
|
1480
1484
|
l(g), h(g), p({ item: null, model: null }), i(null);
|
|
1481
1485
|
}, f = () => {
|
|
1482
1486
|
p({ item: null, model: null }), i(null);
|
|
1483
1487
|
}, { formatMessage: w } = (0, Qi.useIntl)();
|
|
1484
|
-
return (0, Fe.jsxs)(Fe.Fragment, { children: [e.title && (0, Fe.jsx)(
|
|
1488
|
+
return (0, Fe.jsxs)(Fe.Fragment, { children: [e.title && (0, Fe.jsx)(Bt.Header, { title: e.title }), c && c.map((S) => (0, Fe.jsx)(Wi, { item: S, onClick: () => u(S) }, JSON.stringify(S))), (0, Fe.jsx)(Bt.NavigationOption, { onClick: y, media: (0, Fe.jsx)(Zi.Plus, {}), title: e.addItemTitle || w(ht.addItemTitle), showMediaAtAllSizes: true }), (0, Fe.jsx)(Bt.Modal, { open: n !== null, onClose: f, title: (n === "add" ? e.addItemTitle : e.editItemTitle) || w(ht.addItemTitle), body: (0, Fe.jsx)(Ji, { type: n != null ? n : "add", schema: e, model: m.model, errors: r, submitted: a, onAction: d, onModelChange: ({ model: S }) => p(C(s({}, m), { model: S })) }) })] });
|
|
1485
1489
|
};
|
|
1486
|
-
var
|
|
1490
|
+
var xd = (e, { originalItem: t, updatedItem: r, itemSummaries: a }) => {
|
|
1487
1491
|
if (e === "remove")
|
|
1488
1492
|
return (a || []).filter((o) => o !== t);
|
|
1489
1493
|
if (!r)
|
|
@@ -1497,7 +1501,7 @@ var require_main_min = __commonJS({
|
|
|
1497
1501
|
return null;
|
|
1498
1502
|
}
|
|
1499
1503
|
};
|
|
1500
|
-
var es =
|
|
1504
|
+
var es = bd;
|
|
1501
1505
|
var ao = require("react/jsx-runtime");
|
|
1502
1506
|
var ts = (e) => {
|
|
1503
1507
|
let { schema: t } = e;
|
|
@@ -1521,7 +1525,7 @@ var require_main_min = __commonJS({
|
|
|
1521
1525
|
var ns = Ee(Xe());
|
|
1522
1526
|
var Yr = require("react");
|
|
1523
1527
|
var fe = require("react/jsx-runtime");
|
|
1524
|
-
var
|
|
1528
|
+
var vd = (e) => ({ "col-xs-12": true, "col-sm-6": e === "md", "col-sm-4": e === "sm" });
|
|
1525
1529
|
function is(e) {
|
|
1526
1530
|
let [t, r] = (0, Yr.useState)(() => s({}, ce(e.model, e.schema))), a = (m, p) => {
|
|
1527
1531
|
p.model !== null ? t[m] = p.model : delete t[m], r(t), e.onChange(C(s({}, p), { model: t }));
|
|
@@ -1531,27 +1535,27 @@ var require_main_min = __commonJS({
|
|
|
1531
1535
|
r(m), Je(m, t) || e.onChange({ model: m, triggerSchema: e.schema, triggerModel: m });
|
|
1532
1536
|
}, [e.schema]);
|
|
1533
1537
|
let n = /* @__PURE__ */ new Set([...e.schema.displayOrder || [], ...Object.keys(e.schema.properties)]), i = (m) => typeof e.schema.properties[m] != "undefined", c = Array.from(n).filter(i), l = e.errors;
|
|
1534
|
-
return (0, fe.jsxs)(fe.Fragment, { children: [e.schema.alert && (0, fe.jsx)(se, { component: e.schema.alert }), (0, fe.jsxs)("fieldset", { children: [e.schema.title && !e.hideTitle && (0, fe.jsxs)("legend", { children: [" ", e.schema.title, " "] }), e.schema.description && !e.hideTitle && (0, fe.jsxs)("p", { children: [" ", e.schema.description, " "] }), (0, fe.jsx)("div", { className: "row", children: c.map((m) => (0, fe.jsx)("div", { className: (0, ns.default)(
|
|
1538
|
+
return (0, fe.jsxs)(fe.Fragment, { children: [e.schema.alert && (0, fe.jsx)(se, { component: e.schema.alert }), (0, fe.jsxs)("fieldset", { children: [e.schema.title && !e.hideTitle && (0, fe.jsxs)("legend", { children: [" ", e.schema.title, " "] }), e.schema.description && !e.hideTitle && (0, fe.jsxs)("p", { children: [" ", e.schema.description, " "] }), (0, fe.jsx)("div", { className: "row", children: c.map((m) => (0, fe.jsx)("div", { className: (0, ns.default)(vd(e.schema.properties[m].width)), children: (0, fe.jsx)(me, { schema: e.schema.properties[m], model: e.model && e.model[m], errors: l == null ? void 0 : l[m], submitted: e.submitted, required: o(m), disabled: e.disabled, onChange: (p) => a(m, p), onPersistAsync: e.onPersistAsync }) }, m)) })] })] });
|
|
1535
1539
|
}
|
|
1536
1540
|
is.defaultProps = { hideTitle: false, disabled: false };
|
|
1537
|
-
var
|
|
1538
|
-
var
|
|
1539
|
-
var
|
|
1541
|
+
var mr = is;
|
|
1542
|
+
var Cs = require("@transferwise/components");
|
|
1543
|
+
var Ss = Ee(Xe());
|
|
1540
1544
|
var Ne = require("react");
|
|
1541
1545
|
var Zr = require("@transferwise/components");
|
|
1542
1546
|
var ms = require("react-intl");
|
|
1543
1547
|
var ss = require("react-intl");
|
|
1544
1548
|
var cs = (0, ss.defineMessages)({ helpAria: { id: "dynamicFlows.Help.ariaLabel", defaultMessage: "Click here for more info.", description: "Aria label for help." } });
|
|
1545
1549
|
var no = require("react/jsx-runtime");
|
|
1546
|
-
|
|
1550
|
+
function Ad(e) {
|
|
1547
1551
|
let t = (0, ms.useIntl)();
|
|
1548
1552
|
return (0, no.jsx)(Zr.Info, { className: "m-l-1", content: (0, no.jsx)(Zr.Markdown, { children: e.help.markdown }), presentation: "POPOVER", size: "sm", "aria-label": t.formatMessage(cs.helpAria) });
|
|
1549
|
-
}
|
|
1550
|
-
var qe =
|
|
1551
|
-
var
|
|
1553
|
+
}
|
|
1554
|
+
var qe = Ad;
|
|
1555
|
+
var gs = require("react");
|
|
1552
1556
|
var _ = require("@transferwise/components");
|
|
1553
1557
|
var ys = require("react");
|
|
1554
|
-
var
|
|
1558
|
+
var zt = (e, t = {}) => {
|
|
1555
1559
|
let { coerceValue: r = false } = t;
|
|
1556
1560
|
if (!I(e)) {
|
|
1557
1561
|
if (R(e)) {
|
|
@@ -1691,9 +1695,9 @@ var require_main_min = __commonJS({
|
|
|
1691
1695
|
A.target instanceof HTMLElement && A.target.blur();
|
|
1692
1696
|
}, "aria-describedby": U });
|
|
1693
1697
|
case N.HIDDEN:
|
|
1694
|
-
return (0, Z.jsx)("input", { type: "hidden", name: r, value:
|
|
1698
|
+
return (0, Z.jsx)("input", { type: "hidden", name: r, value: zt(P, { coerceValue: true }), id: x });
|
|
1695
1699
|
case N.PASSWORD:
|
|
1696
|
-
return (0, Z.jsx)("input", { autoComplete: this.getAutocompleteValue(), className: "form-control", disabled: l, id: x, placeholder: a, readOnly: m, required: p, type: "password", value:
|
|
1700
|
+
return (0, Z.jsx)("input", { autoComplete: this.getAutocompleteValue(), className: "form-control", disabled: l, id: x, placeholder: a, readOnly: m, required: p, type: "password", value: zt(P, { coerceValue: true }), onBlur: this.handleOnBlur, onChange: this.handleInputOnChange, onFocus: this.handleOnFocus, "aria-describedby": U });
|
|
1697
1701
|
case N.DATE:
|
|
1698
1702
|
case N.DATETIME:
|
|
1699
1703
|
return (0, Z.jsx)(_.DateInput, { disabled: l, size: F, value: ds(P), mode: D, monthFormat: O, onBlur: this.handleOnBlur, onChange: this.handleOnChange, onFocus: this.handleOnFocus });
|
|
@@ -1702,9 +1706,9 @@ var require_main_min = __commonJS({
|
|
|
1702
1706
|
this.handleOnChange(qn(A));
|
|
1703
1707
|
}, onBlur: this.handleOnBlur, onFocus: this.handleOnFocus });
|
|
1704
1708
|
case N.TEL:
|
|
1705
|
-
return (0, Z.jsx)(_.PhoneNumberInput, { disabled: l, countryCode: n, placeholder: a, required: p, searchPlaceholder: f, size: F, initialValue:
|
|
1709
|
+
return (0, Z.jsx)(_.PhoneNumberInput, { disabled: l, countryCode: n, placeholder: a, required: p, searchPlaceholder: f, size: F, initialValue: zt(P), onBlur: this.handleOnBlur, onChange: this.handleOnChange, onFocus: this.handleOnFocus });
|
|
1706
1710
|
case N.TEXTAREA: {
|
|
1707
|
-
let A = { className: "form-control tw-form-control", id: x, name: r, placeholder: a, value:
|
|
1711
|
+
let A = { className: "form-control tw-form-control", id: x, name: r, placeholder: a, value: zt(P, { coerceValue: true }), readOnly: m, required: p, minLength: h, maxLength: y, onFocus: this.handleOnFocus, onBlur: this.handleOnBlur, disabled: l, autoComplete: this.getAutocompleteValue() };
|
|
1708
1712
|
return this.props.displayPattern ? (0, Z.jsx)(_.TextareaWithDisplayFormat, C(s({ displayPattern: this.props.displayPattern }, A), { onChange: this.handleOnChange })) : (0, Z.jsx)("textarea", C(s({}, A), { onChange: this.handleInputOnChange, "aria-describedby": U }));
|
|
1709
1713
|
}
|
|
1710
1714
|
case N.FILE:
|
|
@@ -1719,69 +1723,73 @@ var require_main_min = __commonJS({
|
|
|
1719
1723
|
case N.TEXT:
|
|
1720
1724
|
case N.EMAIL:
|
|
1721
1725
|
default: {
|
|
1722
|
-
let A = { type: i === N.EMAIL ? "email" : "text", className: "form-control", id: x, name: r, placeholder: a, value:
|
|
1726
|
+
let A = { type: i === N.EMAIL ? "email" : "text", className: "form-control", id: x, name: r, placeholder: a, value: zt(P, { coerceValue: true }), readOnly: m, required: p, minLength: h, maxLength: y, onFocus: this.handleOnFocus, onBlur: this.handleOnBlur, disabled: l, autoComplete: this.getAutocompleteValue() };
|
|
1723
1727
|
return this.props.displayPattern ? (0, Z.jsx)(_.InputWithDisplayFormat, C(s({ displayPattern: this.props.displayPattern }, A), { onChange: this.handleOnChange })) : (0, Z.jsx)("input", C(s({}, A), { onChange: this.handleInputOnChange, "aria-describedby": U }));
|
|
1724
1728
|
}
|
|
1725
1729
|
}
|
|
1726
1730
|
}
|
|
1727
1731
|
};
|
|
1728
1732
|
be.Type = N, be.Size = ni, be.MonthFormat = oi, be.DateMode = ai, be.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: be.DateMode.DAY_MONTH_YEAR, monthFormat: be.MonthFormat.LONG, onBlur: null, onFocus: null, onSearchChange: null, options: [], placeholder: null, readOnly: false, required: false, searchPlaceholder: null, searchValue: "", selectedOption: null, size: be.Size.MEDIUM, step: 1, type: be.Type.TEXT, uploadProps: {}, value: null };
|
|
1729
|
-
var
|
|
1733
|
+
var jt = be;
|
|
1730
1734
|
var et = require("@transferwise/components");
|
|
1731
1735
|
var xe = require("react/jsx-runtime");
|
|
1732
1736
|
var fs = (e, t) => {
|
|
1733
1737
|
switch (t) {
|
|
1734
1738
|
case "select":
|
|
1735
|
-
return
|
|
1739
|
+
return Pd(e);
|
|
1736
1740
|
case "radio":
|
|
1737
1741
|
default:
|
|
1738
|
-
return
|
|
1742
|
+
return Od(e);
|
|
1739
1743
|
}
|
|
1740
1744
|
};
|
|
1741
|
-
var
|
|
1742
|
-
var
|
|
1743
|
-
var
|
|
1744
|
-
var
|
|
1745
|
-
var
|
|
1746
|
-
var
|
|
1745
|
+
var Od = (e) => s(s(s({ label: e.title, value: e.const }, Dd(e.title, e.description)), Vt(e)), hs(e.disabled));
|
|
1746
|
+
var Pd = (e) => s(s(s(s(s({ label: e.title, value: e.const }, Id(e.title, e.description)), Ed(e.icon)), kd(e.image)), hs(e.disabled)), Md(e.keywords));
|
|
1747
|
+
var Md = (e) => j(e) ? { searchStrings: e } : {};
|
|
1748
|
+
var kd = (e) => e != null && e.url ? { icon: (0, xe.jsx)("div", { className: "media", children: (0, xe.jsx)("div", { className: "np-option__no-media-circle", children: (0, xe.jsx)("img", { src: e.url, alt: e.name || "" }) }) }) } : null;
|
|
1749
|
+
var Ed = (e) => e != null && e.name && Lt(e.name) ? { currency: e.name.substring(5) } : e != null && e.name && $a(e.name) ? { icon: (0, xe.jsx)(Ye, { type: e.name }) } : e != null && e.text ? { icon: (0, xe.jsx)("span", { children: e.text }) } : null;
|
|
1750
|
+
var Vt = ({ image: e, icon: t }) => e != null && e.url ? { avatar: (0, xe.jsx)(et.Avatar, { type: et.AvatarType.THUMBNAIL, children: (0, xe.jsx)("img", { src: e.url, alt: "" }) }) } : t != null && t.name && $a(t.name) ? { avatar: (0, xe.jsx)(et.Avatar, { type: et.AvatarType.ICON, children: (0, xe.jsx)(Ye, { type: t.name }) }) } : t != null && t.text ? { avatar: (0, xe.jsx)(et.Avatar, { type: et.AvatarType.INITIALS, children: t.text }) } : null;
|
|
1747
1751
|
var Qr = ({ accepts: e }) => s({}, j(e) && { usAccept: e.join(",") });
|
|
1748
|
-
var
|
|
1752
|
+
var Id = (e, t) => {
|
|
1749
1753
|
if (e && t)
|
|
1750
1754
|
return { [(e + t).length > 50 ? "secondary" : "note"]: t };
|
|
1751
1755
|
};
|
|
1752
|
-
var
|
|
1756
|
+
var Dd = (e, t) => {
|
|
1757
|
+
if (e && t)
|
|
1758
|
+
return { note: t };
|
|
1759
|
+
};
|
|
1760
|
+
var hs = (e) => {
|
|
1753
1761
|
if (!Y(e) && !I(e))
|
|
1754
1762
|
return { disabled: e };
|
|
1755
1763
|
};
|
|
1756
1764
|
var mo = require("react/jsx-runtime");
|
|
1757
|
-
var
|
|
1758
|
-
var lo = (e) => ge(e) ? e.control === N.TAB && e.oneOf.length > 3 ? N.SELECT : e.oneOf.length === 2 && !e.control ? N.RADIO : e.control || N.SELECT : Rr(e) ?
|
|
1759
|
-
var
|
|
1760
|
-
var
|
|
1761
|
-
var
|
|
1762
|
-
var
|
|
1763
|
-
function
|
|
1764
|
-
let { id: t, schema: r, value: a, disabled: o, onChange: n, onFocus: i, onBlur: c, onSearchChange: l, describedBy: m } = e, p =
|
|
1765
|
+
var Ld = (e) => e === "string" || e === "number";
|
|
1766
|
+
var lo = (e) => ge(e) ? e.control === N.TAB && e.oneOf.length > 3 ? N.SELECT : e.oneOf.length === 2 && !e.control ? N.RADIO : e.control || N.SELECT : Rr(e) ? Td(e) : "control" in e && e.control ? e.control : e.type === "boolean" ? "checkbox" : e.type === "integer" ? "number" : e.type;
|
|
1767
|
+
var Td = ({ format: e, control: t }) => t ? Rd[t] || t : e && Nd[e] || "text";
|
|
1768
|
+
var Rd = { "date-lookup": "date-lookup", password: "password", textarea: "textarea", email: "email", numeric: "numeric", "phone-number": "tel" };
|
|
1769
|
+
var Nd = { date: "date", email: "email", base64url: "file", password: "password", "phone-number": "tel" };
|
|
1770
|
+
var Bd = (e, t) => e.oneOf ? e.oneOf.map((r) => fs(r, t)) : null;
|
|
1771
|
+
function ws(e) {
|
|
1772
|
+
let { id: t, schema: r, value: a, disabled: o, onChange: n, onFocus: i, onBlur: c, onSearchChange: l, describedBy: m } = e, p = Mt(), h = (F) => Ld(r.type) && (I(F) || Y(F)) ? "" : F, y = (F, g) => {
|
|
1765
1773
|
n($e(F, r), g);
|
|
1766
1774
|
}, u = lo(r);
|
|
1767
|
-
(0,
|
|
1768
|
-
|
|
1775
|
+
(0, gs.useEffect)(() => {
|
|
1776
|
+
zd(r, p, u);
|
|
1769
1777
|
}, [JSON.stringify(r), p, u]);
|
|
1770
|
-
let d = r.values ||
|
|
1771
|
-
return (0, mo.jsx)("div", { "aria-describedby": m, children: (0, mo.jsx)(
|
|
1778
|
+
let d = r.values || Bd(r, u), f = { onFocus: i, onBlur: c, onSearchChange: l, onChange: y }, w = h(a), S = { id: t, name: t, label: r.title, options: d || [], placeholder: r.placeholder, autoComplete: !r.help, autocompleteHint: r.autocompleteHint, disabled: o || r.disabled, displayPattern: r.displayFormat, uploadProps: Qr(r), describedBy: m };
|
|
1779
|
+
return (0, mo.jsx)("div", { "aria-describedby": m, children: (0, mo.jsx)(jt, s(s({ type: u, value: w }, f), S)) });
|
|
1772
1780
|
}
|
|
1773
|
-
|
|
1774
|
-
var
|
|
1781
|
+
ws.defaultProps = { value: null, onFocus: null, onBlur: null, onSearchChange: null, disabled: false };
|
|
1782
|
+
var zd = (e, t, r) => {
|
|
1775
1783
|
ge(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.");
|
|
1776
1784
|
};
|
|
1777
|
-
var
|
|
1785
|
+
var lr = ws;
|
|
1778
1786
|
var Q = require("react/jsx-runtime");
|
|
1779
|
-
function
|
|
1780
|
-
let t = re(), [r, a] = (0, Ne.useState)(false), [o, n] = (0, Ne.useState)(false), [i, c] = (0, Ne.useState)(false), l = (0, Ne.useMemo)(() => e.schema.$id || Te(), [e.schema.$id]), [m, p] = (0, Ne.useState)(Jr(e.schema, e.model)), [h, y] = (0, Ne.useState)(
|
|
1787
|
+
function Fs(e) {
|
|
1788
|
+
let t = re(), [r, a] = (0, Ne.useState)(false), [o, n] = (0, Ne.useState)(false), [i, c] = (0, Ne.useState)(false), l = (0, Ne.useMemo)(() => e.schema.$id || Te(), [e.schema.$id]), [m, p] = (0, Ne.useState)(Jr(e.schema, e.model)), [h, y] = (0, Ne.useState)(Hd(e.model, e.schema.oneOf)), u = Qn(t, 200), d = (M) => {
|
|
1781
1789
|
u("Dynamic Flow - OneOf Searched", { oneOfId: e.schema.analyticsId, searchValueLength: M.length });
|
|
1782
1790
|
};
|
|
1783
1791
|
if ((0, Ne.useEffect)(() => {
|
|
1784
|
-
let M =
|
|
1792
|
+
let M = cr(e.schema, e.model), E = cr(e.schema, e.schema.default);
|
|
1785
1793
|
M === -1 && E >= 0 && F(E, "init");
|
|
1786
1794
|
}, [e.schema]), !j(e.schema.oneOf))
|
|
1787
1795
|
return console.error("Incorrect format", e.schema), null;
|
|
@@ -1800,44 +1808,44 @@ var require_main_min = __commonJS({
|
|
|
1800
1808
|
} else
|
|
1801
1809
|
e.onChange({ model: h[M], triggerSchema: P, triggerModel: h[M], type: E });
|
|
1802
1810
|
E !== "init" && e.schema.analyticsId && t("Dynamic Flow - OneOf Selected", { oneOfId: e.schema.analyticsId, schemaId: P == null ? void 0 : P.analyticsId });
|
|
1803
|
-
}, g =
|
|
1804
|
-
return (0, Q.jsxs)(Q.Fragment, { children: [(e.schema.oneOf.length > 1 || we(e.schema.oneOf[0])) && (0, Q.jsxs)(Q.Fragment, { children: [e.schema.alert && (0, Q.jsx)(se, { component: e.schema.alert }), (0, Q.jsxs)("div", { className: (0,
|
|
1811
|
+
}, g = qd(e.schema), v = Vd(e, m), O = { "form-group": true, "has-error": !r && e.errors && !kt(e.errors) || (e.submitted || r && i) && v.length }, x = `${l}-feedback`;
|
|
1812
|
+
return (0, Q.jsxs)(Q.Fragment, { children: [(e.schema.oneOf.length > 1 || we(e.schema.oneOf[0])) && (0, Q.jsxs)(Q.Fragment, { children: [e.schema.alert && (0, Q.jsx)(se, { component: e.schema.alert }), (0, Q.jsxs)("div", { className: (0, Ss.default)(O), children: [jd(e.schema, l), (0, Q.jsx)(lr, { id: l, schema: g, value: m, disabled: e.disabled, describedBy: x, onChange: F, onFocus: w, onBlur: S, onSearchChange: d }), (0, Q.jsx)(He, { id: x, changed: r, focused: o, blurred: i, submitted: e.submitted, errors: Ud(e.errors), schema: e.schema, validations: v, infoMessage: null })] })] }), tr(e.schema.oneOf[m]) && (0, Q.jsx)(me, { schema: e.schema.oneOf[m], model: h[m], errors: e.errors, submitted: e.submitted, hideTitle: true, disabled: e.disabled, onChange: (M) => f(m, M), onPersistAsync: e.onPersistAsync })] });
|
|
1805
1813
|
}
|
|
1806
|
-
function
|
|
1814
|
+
function jd(e, t) {
|
|
1807
1815
|
var o;
|
|
1808
|
-
let r = e.help ? (0, Q.jsx)(qe, { help: e.help }) : null, a = we(e.oneOf[0]) ? (0, Q.jsx)("div", { className: "m-b-1", children: (0, Q.jsxs)("label", { className: "control-label d-inline", htmlFor: t, children: [e.title, " ", r] }) }) : (0, Q.jsx)(Q.Fragment, { children: r ? (0, Q.jsxs)("h4", { className: "m-b-2", children: [e.title, " ", r] }) : (0, Q.jsx)(
|
|
1816
|
+
let r = e.help ? (0, Q.jsx)(qe, { help: e.help }) : null, a = we(e.oneOf[0]) ? (0, Q.jsx)("div", { className: "m-b-1", children: (0, Q.jsxs)("label", { className: "control-label d-inline", htmlFor: t, children: [e.title, " ", r] }) }) : (0, Q.jsx)(Q.Fragment, { children: r ? (0, Q.jsxs)("h4", { className: "m-b-2", children: [e.title, " ", r] }) : (0, Q.jsx)(Cs.Header, { title: (o = e.title) != null ? o : "" }) });
|
|
1809
1817
|
return e.title ? a : r;
|
|
1810
1818
|
}
|
|
1811
|
-
function
|
|
1819
|
+
function Vd(e, t) {
|
|
1812
1820
|
let r = e.schema.oneOf[t != null ? t : -1];
|
|
1813
1821
|
return we(r) ? _e(r.const, e.schema, !!e.required) : t === null || t < 0 ? _e(null, e.schema, !!e.required) : [];
|
|
1814
1822
|
}
|
|
1815
|
-
function
|
|
1823
|
+
function Ud(e) {
|
|
1816
1824
|
return typeof e == "string" ? e : null;
|
|
1817
1825
|
}
|
|
1818
|
-
function
|
|
1819
|
-
return t.map((r) =>
|
|
1826
|
+
function Hd(e, t) {
|
|
1827
|
+
return t.map((r) => Et(e, r));
|
|
1820
1828
|
}
|
|
1821
|
-
function
|
|
1822
|
-
return C(s({}, e), { oneOf: e.oneOf.map(
|
|
1829
|
+
function qd(e) {
|
|
1830
|
+
return C(s({}, e), { oneOf: e.oneOf.map(Gd) });
|
|
1823
1831
|
}
|
|
1824
|
-
function
|
|
1832
|
+
function Gd(e, t) {
|
|
1825
1833
|
let { title: r, description: a, disabled: o = false, icon: n, image: i, keywords: c } = e;
|
|
1826
1834
|
return { title: r, description: a, disabled: o, icon: n, image: i, const: t, keywords: c };
|
|
1827
1835
|
}
|
|
1828
|
-
|
|
1829
|
-
var uo =
|
|
1830
|
-
var
|
|
1836
|
+
Fs.defaultProps = { required: false, disabled: false };
|
|
1837
|
+
var uo = Fs;
|
|
1838
|
+
var As = Ee(Xe());
|
|
1831
1839
|
var wt = require("react");
|
|
1832
1840
|
var ea = require("@transferwise/components");
|
|
1833
|
-
var
|
|
1834
|
-
var
|
|
1835
|
-
function
|
|
1836
|
-
let { id: t, httpClient: r = fetch, httpOptions: a, fileId: o, idProperty: n, usAccept: i, maxSize: c, usPlaceholder: l, onSuccess: m, onFailure: p, onCancel: h } = e, y = re(), u = (0,
|
|
1837
|
-
return (0,
|
|
1841
|
+
var bs = require("react");
|
|
1842
|
+
var vs = require("react/jsx-runtime");
|
|
1843
|
+
function xs(e) {
|
|
1844
|
+
let { id: t, httpClient: r = fetch, httpOptions: a, fileId: o, idProperty: n, usAccept: i, maxSize: c, usPlaceholder: l, onSuccess: m, onFailure: p, onCancel: h } = e, y = re(), u = (0, bs.useMemo)(() => o ? [{ id: o, status: ea.Status.SUCCEEDED }] : [], [o]), d = (f) => (y("Dynamic Flow - PersistAsync", { status: "pending", schemaId: t }), r(String(a.url), { method: a.method || "POST", body: f }).then((w) => w.ok ? (m == null || m(w.clone()), w.json().then((S) => ({ id: S[n] }))) : (p == null || p({ response: w }), Promise.reject())));
|
|
1845
|
+
return (0, vs.jsx)(ea.UploadInput, { id: t, fileInputName: a.fileInputName, files: u, uploadButtonTitle: e.usLabel, sizeLimit: c ? Nr(c) : void 0, fileTypes: i, description: l, onUploadFile: d, onDeleteFile: (f) => (h == null || h(), Promise.resolve()) });
|
|
1838
1846
|
}
|
|
1839
|
-
var
|
|
1840
|
-
function
|
|
1847
|
+
var Ut = require("react/jsx-runtime");
|
|
1848
|
+
function Os(e) {
|
|
1841
1849
|
let [t, r] = (0, wt.useState)({}), [a, o] = (0, wt.useState)(null), [n, i] = (0, wt.useState)([]), [c, l] = (0, wt.useState)(false), m = ae(), p = re();
|
|
1842
1850
|
(0, wt.useEffect)(() => {
|
|
1843
1851
|
e.submitted && i(_e(e.model, e.schema, !!e.required));
|
|
@@ -1854,98 +1862,98 @@ var require_main_min = __commonJS({
|
|
|
1854
1862
|
}, d = () => {
|
|
1855
1863
|
o(null), e.onChange({ model: null, triggerSchema: e.schema, triggerModel: null }), l(true);
|
|
1856
1864
|
}, { url: f, method: w } = e.schema.persistAsync, S = a || n, F = { "form-group": true, "has-error": (e.submitted || c) && !!S.length }, g = e.schema.$id || e.schema.persistAsync.schema.$id || e.schema.persistAsync.idProperty, v = `${g}-feedback`;
|
|
1857
|
-
return (0,
|
|
1865
|
+
return (0, Ut.jsxs)("div", { className: (0, As.default)(F), children: [(0, Ut.jsx)("div", { "aria-describedby": v, children: (0, Ut.jsx)(xs, s({ id: g, fileId: e.model, idProperty: e.schema.persistAsync.idProperty, animationDelay: 0, maxSize: e.schema.persistAsync.schema.maxSize, usLabel: e.schema.title || e.schema.persistAsync.schema.title, usPlaceholder: e.schema.description || e.schema.persistAsync.schema.description, httpOptions: { url: f, method: w, fileInputName: e.schema.persistAsync.param }, httpClient: m, onSuccess: y, onFailure: u, onCancel: d }, Qr(e.schema.persistAsync.schema))) }), (0, Ut.jsx)(He, { id: v, blurred: true, focused: false, changed: c, submitted: e.submitted, errors: e.errors, schema: e.schema, validations: S, validationMessages: s({ required: "Value is required..." }, t), infoMessage: null })] });
|
|
1858
1866
|
}
|
|
1859
|
-
|
|
1860
|
-
var yo =
|
|
1867
|
+
Os.defaultProps = { required: false };
|
|
1868
|
+
var yo = Os;
|
|
1861
1869
|
var ho = require("react/jsx-runtime");
|
|
1862
|
-
function
|
|
1870
|
+
function Ps(e) {
|
|
1863
1871
|
let { schema: t } = e;
|
|
1864
1872
|
return t.persistAsync.schema.type === "blob" ? (0, ho.jsx)(yo, s({}, e)) : (0, ho.jsx)(po, s({}, e));
|
|
1865
1873
|
}
|
|
1866
|
-
|
|
1867
|
-
var go =
|
|
1868
|
-
var
|
|
1869
|
-
var
|
|
1870
|
-
let r =
|
|
1874
|
+
Ps.defaultProps = { required: false };
|
|
1875
|
+
var go = Ps;
|
|
1876
|
+
var Bs = require("react");
|
|
1877
|
+
var Ms = (e, t) => {
|
|
1878
|
+
let r = Nt(e, t);
|
|
1871
1879
|
return r !== null ? e.oneOf[r].promoted ? "promoted" : "other" : null;
|
|
1872
1880
|
};
|
|
1873
|
-
var
|
|
1881
|
+
var ks = require("@transferwise/components");
|
|
1874
1882
|
var wo = require("react/jsx-runtime");
|
|
1875
|
-
var
|
|
1883
|
+
var Es = (e) => {
|
|
1876
1884
|
let { id: t, selection: r, setSelection: a } = e, { promoted: o, other: n, checkedMeans: i } = e.promotion, c = i === "other" ? n.title : (o == null ? void 0 : o.title) || e.promotedOneOf.title, l = i === "other" ? "other" : "promoted", m = i === "other" ? "promoted" : "other", p = r === l;
|
|
1877
|
-
return (0, wo.jsx)("div", { className: "form-group", children: (0, wo.jsx)(
|
|
1885
|
+
return (0, wo.jsx)("div", { className: "form-group", children: (0, wo.jsx)(ks.Checkbox, { id: t, label: c, checked: p, onChange: () => {
|
|
1878
1886
|
a(p ? m : l);
|
|
1879
1887
|
} }) });
|
|
1880
1888
|
};
|
|
1881
|
-
|
|
1882
|
-
var
|
|
1883
|
-
var
|
|
1884
|
-
var
|
|
1885
|
-
function
|
|
1889
|
+
Es.defaultProps = {};
|
|
1890
|
+
var Is = Es;
|
|
1891
|
+
var Ds = require("@transferwise/components");
|
|
1892
|
+
var dr = require("react/jsx-runtime");
|
|
1893
|
+
function Ls(e) {
|
|
1886
1894
|
var l, m;
|
|
1887
|
-
let { id: t, selection: r, setSelection: a, promotion: o, promotedOneOf: n, title: i } = e, c = [s({ value: "promoted", label: ((l = o.promoted) == null ? void 0 : l.title) || n.title, secondary: ((m = o.promoted) == null ? void 0 : m.description) || n.description },
|
|
1888
|
-
return (0,
|
|
1895
|
+
let { id: t, selection: r, setSelection: a, promotion: o, promotedOneOf: n, title: i } = e, c = [s({ value: "promoted", label: ((l = o.promoted) == null ? void 0 : l.title) || n.title, secondary: ((m = o.promoted) == null ? void 0 : m.description) || n.description }, Vt(n)), s({ value: "other", label: o.other.title, secondary: o.other.description }, Vt(o.other))];
|
|
1896
|
+
return (0, dr.jsxs)("div", { className: "form-group", children: [i && (0, dr.jsx)("label", { className: "control-label", htmlFor: t, children: i }), (0, dr.jsx)(Ds.RadioGroup, { name: "promoted-selection", selectedValue: r, radios: c, id: t, onChange: a })] });
|
|
1889
1897
|
}
|
|
1890
|
-
|
|
1891
|
-
var
|
|
1892
|
-
var
|
|
1893
|
-
function
|
|
1898
|
+
Ls.defaultProps = { title: void 0 };
|
|
1899
|
+
var Ts = Ls;
|
|
1900
|
+
var Ht = require("react/jsx-runtime");
|
|
1901
|
+
function Rs(e) {
|
|
1894
1902
|
switch (e.promotion.control || "radio") {
|
|
1895
1903
|
case "radio":
|
|
1896
|
-
return (0,
|
|
1904
|
+
return (0, Ht.jsx)(Ts, s({}, e));
|
|
1897
1905
|
case "checkbox":
|
|
1898
|
-
return (0,
|
|
1906
|
+
return (0, Ht.jsx)(Is, s({}, e));
|
|
1899
1907
|
default:
|
|
1900
|
-
return (0,
|
|
1908
|
+
return (0, Ht.jsx)(Ht.Fragment, {});
|
|
1901
1909
|
}
|
|
1902
1910
|
}
|
|
1903
|
-
|
|
1904
|
-
var
|
|
1911
|
+
Rs.defaultProps = { id: Te(), title: void 0 };
|
|
1912
|
+
var Ns = Rs;
|
|
1905
1913
|
var Ge = require("react/jsx-runtime");
|
|
1906
|
-
var
|
|
1907
|
-
var
|
|
1914
|
+
var zs = (e) => e.promoted === true;
|
|
1915
|
+
var Wd = (e) => {
|
|
1908
1916
|
var c;
|
|
1909
|
-
let [t, r] = (0,
|
|
1910
|
-
return (0, Ge.jsxs)(Ge.Fragment, { children: [a && (0, Ge.jsx)(se, { component: a }), (0, Ge.jsx)(
|
|
1917
|
+
let [t, r] = (0, Bs.useState)(Ms(e.schema, e.model) || ((c = e.schema.promotion) == null ? void 0 : c.default) || "promoted"), a = e.schema.alert, o = e.schema.oneOf.find(zs), n = $d(o), i = _d(e.schema);
|
|
1918
|
+
return (0, Ge.jsxs)(Ge.Fragment, { children: [a && (0, Ge.jsx)(se, { component: a }), (0, Ge.jsx)(Ns, { id: e.schema.$id, title: e.schema.title, promotedOneOf: o, promotion: e.schema.promotion, selection: t, setSelection: r }), t === "promoted" && (0, Ge.jsx)(mr, C(s({}, e), { schema: n })), t === "other" && (0, Ge.jsx)(me, C(s({}, e), { schema: i }))] });
|
|
1911
1919
|
};
|
|
1912
|
-
function
|
|
1920
|
+
function $d(e) {
|
|
1913
1921
|
return C(s({}, e), { title: void 0, description: void 0 });
|
|
1914
1922
|
}
|
|
1915
|
-
function
|
|
1923
|
+
function _d(e) {
|
|
1916
1924
|
var a, o, n;
|
|
1917
|
-
let t = (a = e.promotion) != null && a.displayTwice ? [...e.oneOf] : e.oneOf.filter((i) => !
|
|
1925
|
+
let t = (a = e.promotion) != null && a.displayTwice ? [...e.oneOf] : e.oneOf.filter((i) => !zs(i)), r = (n = (o = e.promotion) == null ? void 0 : o.other.heading) == null ? void 0 : n.text;
|
|
1918
1926
|
return t.length === 1 ? C(s({}, t[0]), { title: r }) : t.length > 1 ? { title: r, oneOf: t, control: e.control } : null;
|
|
1919
1927
|
}
|
|
1920
|
-
var Co =
|
|
1928
|
+
var Co = Wd;
|
|
1921
1929
|
var ta = require("@transferwise/components");
|
|
1922
|
-
var Us = require("react-intl");
|
|
1923
1930
|
var Vs = require("react-intl");
|
|
1924
|
-
var
|
|
1925
|
-
var
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
var Fo = _d;
|
|
1931
|
-
function Kd({ schema: e, model: t, formatMessage: r }) {
|
|
1932
|
-
return Ve(e) ? ge(e) ? Jd(e, t) : e.type === "boolean" && Ie(t) ? r(t ? So.yes : So.no) : t && t.toString() || "" : "";
|
|
1931
|
+
var js = require("react-intl");
|
|
1932
|
+
var So = (0, js.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." } });
|
|
1933
|
+
var qt = require("react/jsx-runtime");
|
|
1934
|
+
function Kd({ schema: e, model: t }) {
|
|
1935
|
+
let { title: r = "" } = e, { formatMessage: a } = (0, Vs.useIntl)(), o = Jd({ schema: e, model: t, formatMessage: a });
|
|
1936
|
+
return (0, qt.jsx)(ta.DefinitionList, { layout: ta.Layout.VERTICAL_ONE_COLUMN, definitions: [{ title: r, value: o, key: "" }] });
|
|
1933
1937
|
}
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
return
|
|
1938
|
+
var Fo = Kd;
|
|
1939
|
+
function Jd({ schema: e, model: t, formatMessage: r }) {
|
|
1940
|
+
return Ve(e) ? ge(e) ? Xd(e, t) : e.type === "boolean" && Ie(t) ? r(t ? So.yes : So.no) : t && t.toString() || "" : "";
|
|
1937
1941
|
}
|
|
1938
1942
|
function Xd(e, t) {
|
|
1943
|
+
let r = Yd(e, t);
|
|
1944
|
+
return r ? Zd(r) : t;
|
|
1945
|
+
}
|
|
1946
|
+
function Yd(e, t) {
|
|
1939
1947
|
return e.oneOf.find((r) => "const" in r ? t === r.const : false);
|
|
1940
1948
|
}
|
|
1941
|
-
function
|
|
1942
|
-
let t = e.title && e.description ? `${e.title} - ${e.description}` : e.title || "", r =
|
|
1943
|
-
return r != null && r.avatar ? (0,
|
|
1949
|
+
function Zd(e) {
|
|
1950
|
+
let t = e.title && e.description ? `${e.title} - ${e.description}` : e.title || "", r = Vt({ icon: e.icon });
|
|
1951
|
+
return r != null && r.avatar ? (0, qt.jsxs)(qt.Fragment, { children: [r.avatar, " ", t] }) : t;
|
|
1944
1952
|
}
|
|
1945
1953
|
var Be = require("react");
|
|
1946
|
-
var
|
|
1947
|
-
function
|
|
1948
|
-
let { schema: t, model: r, required: a, submitted: o, errors: n, onChange: i } = e, [c, l] = (0, Be.useState)(r), m = (0, Be.useRef)(null), [p, h] = (0, Be.useState)(null), [y, u] = (0, Be.useState)(null), [d, f] = (0, Be.useState)(false), [w, S] = (0, Be.useState)(null), F = ae(), g = re(), v =
|
|
1954
|
+
var Hs = require("react/jsx-runtime");
|
|
1955
|
+
function Us(e) {
|
|
1956
|
+
let { schema: t, model: r, required: a, submitted: o, errors: n, onChange: i } = e, [c, l] = (0, Be.useState)(r), m = (0, Be.useRef)(null), [p, h] = (0, Be.useState)(null), [y, u] = (0, Be.useState)(null), [d, f] = (0, Be.useState)(false), [w, S] = (0, Be.useState)(null), F = ae(), g = re(), v = Mt();
|
|
1949
1957
|
(0, Be.useEffect)(() => {
|
|
1950
1958
|
t.validationAsync.method || v.warning("Invalid schema or model", 'ValidationAsyncSchema without a "method" property would have defaulted to "GET" in previous versions. Now defaults to "POST".', {});
|
|
1951
1959
|
}, [v, t.validationAsync.method]);
|
|
@@ -1966,20 +1974,20 @@ var require_main_min = __commonJS({
|
|
|
1966
1974
|
let D = new AbortController();
|
|
1967
1975
|
return S(D), D.signal;
|
|
1968
1976
|
};
|
|
1969
|
-
return (0,
|
|
1977
|
+
return (0, Hs.jsx)(Ct, s({}, { submitted: o || d, model: c, errors: y || n, infoMessage: p, onChange: (D) => {
|
|
1970
1978
|
i(C(s({}, D), { triggerSchema: t, triggerModel: D.model })), u(null), h(null), l(D.model);
|
|
1971
1979
|
}, onBlur: () => {
|
|
1972
1980
|
!I(c) && !Je(c, m.current) && G(c, t) && O(c, t.validationAsync);
|
|
1973
1981
|
}, required: a, schema: t }));
|
|
1974
1982
|
}
|
|
1975
|
-
|
|
1976
|
-
var bo =
|
|
1983
|
+
Us.defaultProps = { required: false };
|
|
1984
|
+
var bo = Us;
|
|
1977
1985
|
var he = require("react/jsx-runtime");
|
|
1978
|
-
var
|
|
1979
|
-
function
|
|
1980
|
-
let { schema: t, model: r = null, errors: a = null, hideTitle: o = false, disabled: n = false } = e, i = C(s({}, e), { model: r, errors: a, hideTitle: o, disabled: n }), c = dt(t), l =
|
|
1981
|
-
switch ((0,
|
|
1982
|
-
|
|
1986
|
+
var Gs = require("react");
|
|
1987
|
+
function Qd(e) {
|
|
1988
|
+
let { schema: t, model: r = null, errors: a = null, hideTitle: o = false, disabled: n = false } = e, i = C(s({}, e), { model: r, errors: a, hideTitle: o, disabled: n }), c = dt(t), l = Mt();
|
|
1989
|
+
switch ((0, qs.useEffect)(() => {
|
|
1990
|
+
eu(t, r, a) || l.error("Invalid schema or model", `Schema of type ${c || "undefined"} requested, but schema did not pass validation.`);
|
|
1983
1991
|
}, [JSON.stringify(t), JSON.stringify(r), JSON.stringify(a), c, l]), c) {
|
|
1984
1992
|
case "readOnly":
|
|
1985
1993
|
return (0, he.jsx)(Fo, s({}, i));
|
|
@@ -1992,7 +2000,7 @@ var require_main_min = __commonJS({
|
|
|
1992
2000
|
return (0, he.jsx)(Ct, s({}, m));
|
|
1993
2001
|
}
|
|
1994
2002
|
case "object":
|
|
1995
|
-
return (0,
|
|
2003
|
+
return (0, Gs.createElement)(mr, C(s({}, i), { key: JSON.stringify(t) }));
|
|
1996
2004
|
case "array":
|
|
1997
2005
|
return (0, he.jsx)(oo, s({}, i));
|
|
1998
2006
|
case "promotedOneOf":
|
|
@@ -2004,19 +2012,19 @@ var require_main_min = __commonJS({
|
|
|
2004
2012
|
}
|
|
2005
2013
|
return (0, he.jsx)(he.Fragment, {});
|
|
2006
2014
|
}
|
|
2007
|
-
var me =
|
|
2008
|
-
var
|
|
2015
|
+
var me = Qd;
|
|
2016
|
+
var eu = (e, t, r) => {
|
|
2009
2017
|
switch (dt(e)) {
|
|
2010
2018
|
case "persistAsync":
|
|
2011
|
-
return Br(e) && jr(t) &&
|
|
2019
|
+
return Br(e) && jr(t) && rr(r);
|
|
2012
2020
|
case "validationAsync":
|
|
2013
|
-
return Ha(e) && Ga(t) &&
|
|
2021
|
+
return Ha(e) && Ga(t) && rr(r);
|
|
2014
2022
|
case "basic":
|
|
2015
|
-
return Ve(e) && Ga(t) &&
|
|
2023
|
+
return Ve(e) && Ga(t) && rr(r);
|
|
2016
2024
|
case "object":
|
|
2017
2025
|
return Le(e) && qa(t);
|
|
2018
2026
|
case "array":
|
|
2019
|
-
return je(e) && Xn(t) &&
|
|
2027
|
+
return je(e) && Xn(t) && rr(r);
|
|
2020
2028
|
case "promotedOneOf":
|
|
2021
2029
|
return lt(e) && qa(t);
|
|
2022
2030
|
case "oneOf":
|
|
@@ -2027,21 +2035,21 @@ var require_main_min = __commonJS({
|
|
|
2027
2035
|
return false;
|
|
2028
2036
|
};
|
|
2029
2037
|
var xo = require("react/jsx-runtime");
|
|
2030
|
-
function
|
|
2038
|
+
function tu({ component: e, model: t = null, errors: r = null, submitted: a, onModelChange: o, onPersistAsync: n }) {
|
|
2031
2039
|
let i = e.schema;
|
|
2032
2040
|
return (0, xo.jsx)("div", { className: V(e.margin || "md"), children: (0, xo.jsx)(me, { schema: i, model: t, errors: r, submitted: a, onChange: (c) => {
|
|
2033
2041
|
o(s({ formSchema: i }, c));
|
|
2034
2042
|
}, onPersistAsync: n }) });
|
|
2035
2043
|
}
|
|
2036
|
-
var vo =
|
|
2044
|
+
var vo = tu;
|
|
2037
2045
|
var ra = require("@transferwise/components");
|
|
2038
|
-
var
|
|
2046
|
+
var Ws = Ee(Xe());
|
|
2039
2047
|
var ve = require("react/jsx-runtime");
|
|
2040
|
-
var
|
|
2041
|
-
let { text: t, size: r = "md", align: a = "left", margin: o = "md", control: n } = e.component, i = (0,
|
|
2042
|
-
return n === "display" ? (0, ve.jsx)(
|
|
2048
|
+
var ru = (e) => {
|
|
2049
|
+
let { text: t, size: r = "md", align: a = "left", margin: o = "md", control: n } = e.component, i = (0, Ws.default)(Ce({ align: a, margin: o }));
|
|
2050
|
+
return n === "display" ? (0, ve.jsx)(ou, { size: r, text: t, classes: i }) : (0, ve.jsx)(au, { size: r, text: t, classes: i });
|
|
2043
2051
|
};
|
|
2044
|
-
var
|
|
2052
|
+
var au = ({ size: e, text: t, classes: r }) => {
|
|
2045
2053
|
switch (e) {
|
|
2046
2054
|
case "xs":
|
|
2047
2055
|
return (0, ve.jsx)("h5", { className: r, children: t });
|
|
@@ -2056,7 +2064,7 @@ var require_main_min = __commonJS({
|
|
|
2056
2064
|
return (0, ve.jsx)("h3", { className: r, children: t });
|
|
2057
2065
|
}
|
|
2058
2066
|
};
|
|
2059
|
-
var
|
|
2067
|
+
var ou = ({ size: e, text: t, classes: r }) => {
|
|
2060
2068
|
switch (e) {
|
|
2061
2069
|
case "xs":
|
|
2062
2070
|
case "sm":
|
|
@@ -2069,54 +2077,54 @@ var require_main_min = __commonJS({
|
|
|
2069
2077
|
return (0, ve.jsx)(ra.Display, { type: "display-medium", className: r, children: t });
|
|
2070
2078
|
}
|
|
2071
2079
|
};
|
|
2072
|
-
var Ao =
|
|
2080
|
+
var Ao = ru;
|
|
2073
2081
|
var Oo = require("@transferwise/components");
|
|
2074
|
-
var
|
|
2082
|
+
var ur = require("react/jsx-runtime");
|
|
2075
2083
|
var Po = ({ component: e }) => {
|
|
2076
2084
|
let { content: t, align: r, margin: a } = e;
|
|
2077
|
-
return (0,
|
|
2085
|
+
return (0, ur.jsx)("div", { className: Ce({ align: r, margin: a }), children: (0, ur.jsx)(Oo.Markdown, { config: { link: { target: "_blank" } }, children: t }) });
|
|
2078
2086
|
};
|
|
2079
|
-
var Mo = ({ component: e }) => (0,
|
|
2080
|
-
var
|
|
2087
|
+
var Mo = ({ component: e }) => (0, ur.jsx)("div", { className: Ce(e), children: (0, ur.jsx)(Oo.Markdown, { config: { link: { target: "_blank" } }, children: e.markdown }) });
|
|
2088
|
+
var $s = require("@transferwise/components");
|
|
2081
2089
|
var aa = require("react");
|
|
2082
2090
|
var ko = require("react/jsx-runtime");
|
|
2083
|
-
function
|
|
2091
|
+
function nu({ component: e }) {
|
|
2084
2092
|
let { url: t, size: r, text: a, margin: o, accessibilityDescription: n } = e, i = ae(), [c, l] = (0, aa.useState)("");
|
|
2085
2093
|
(0, aa.useEffect)(() => {
|
|
2086
|
-
|
|
2094
|
+
su(i, t).then(l);
|
|
2087
2095
|
}, [t, i]);
|
|
2088
2096
|
let m = { alt: n || a || "", src: c, stretch: true, shrink: true };
|
|
2089
|
-
return c ? (0, ko.jsx)("div", { className: `df-image ${r || "md"}`, children: (0, ko.jsx)(
|
|
2097
|
+
return c ? (0, ko.jsx)("div", { className: `df-image ${r || "md"}`, children: (0, ko.jsx)($s.Image, s({ className: `img-responsive ${V(o || "md")}` }, m)) }) : null;
|
|
2090
2098
|
}
|
|
2091
|
-
var
|
|
2099
|
+
var iu = (e) => new Promise((t, r) => {
|
|
2092
2100
|
let a = new FileReader();
|
|
2093
2101
|
a.addEventListener("loadend", () => t(a.result)), a.addEventListener("error", (o) => r(o)), a.readAsDataURL(e);
|
|
2094
2102
|
});
|
|
2095
|
-
var
|
|
2103
|
+
var su = async (e, t) => {
|
|
2096
2104
|
var r;
|
|
2097
2105
|
try {
|
|
2098
2106
|
return vn(t) || t != null && t.startsWith(`${(r = window == null ? void 0 : window.location) == null ? void 0 : r.origin}/`) ? e(t, { method: "GET", headers: { "Content-Type": "image/image" }, credentials: "same-origin" }).then((a) => {
|
|
2099
2107
|
if (a.ok)
|
|
2100
2108
|
return a.blob();
|
|
2101
2109
|
throw new Error("Image fetching failed");
|
|
2102
|
-
}).then(
|
|
2110
|
+
}).then(iu).catch(() => t) : t;
|
|
2103
2111
|
} catch (a) {
|
|
2104
2112
|
return t;
|
|
2105
2113
|
}
|
|
2106
2114
|
};
|
|
2107
|
-
var Eo =
|
|
2115
|
+
var Eo = nu;
|
|
2108
2116
|
var oa = require("@transferwise/components");
|
|
2109
|
-
var
|
|
2110
|
-
var
|
|
2111
|
-
var
|
|
2112
|
-
var
|
|
2113
|
-
let { items: t } = e, r = t.filter((o) =>
|
|
2114
|
-
return (0,
|
|
2115
|
-
};
|
|
2116
|
-
var Io =
|
|
2117
|
+
var pr = require("react/jsx-runtime");
|
|
2118
|
+
var cu = ["positive", "neutral"];
|
|
2119
|
+
var mu = ["warning", "negative"];
|
|
2120
|
+
var lu = ({ component: e }) => {
|
|
2121
|
+
let { items: t } = e, r = t.filter((o) => cu.includes(o.context)).map(({ text: o }) => o), a = t.filter((o) => mu.includes(o.context)).map(({ text: o }) => o);
|
|
2122
|
+
return (0, pr.jsxs)("div", { className: V(e.margin || "md"), children: [e.title ? (0, pr.jsx)(oa.Header, { title: e.title }) : null, (0, pr.jsx)(oa.InstructionsList, { dos: r, donts: a })] });
|
|
2123
|
+
};
|
|
2124
|
+
var Io = lu;
|
|
2117
2125
|
var H = require("react/jsx-runtime");
|
|
2118
2126
|
var K = (e) => JSON.stringify(e);
|
|
2119
|
-
function
|
|
2127
|
+
function du(e) {
|
|
2120
2128
|
let { components: t, model: r, submitted: a, errors: o, onModelChange: n, onAction: i, onPersistAsync: c, baseUrl: l } = e, m = (p) => {
|
|
2121
2129
|
switch (p.type) {
|
|
2122
2130
|
case "heading":
|
|
@@ -2153,7 +2161,7 @@ var require_main_min = __commonJS({
|
|
|
2153
2161
|
case "status-list":
|
|
2154
2162
|
return (0, H.jsx)(Do, { component: p, onAction: i }, K(p));
|
|
2155
2163
|
case "loading-indicator":
|
|
2156
|
-
return (0, H.jsx)(
|
|
2164
|
+
return (0, H.jsx)(yr, { component: p }, K(p));
|
|
2157
2165
|
case "search":
|
|
2158
2166
|
return (0, H.jsx)(Ro, { component: p, onAction: i }, K(p));
|
|
2159
2167
|
case "modal":
|
|
@@ -2164,82 +2172,86 @@ var require_main_min = __commonJS({
|
|
|
2164
2172
|
};
|
|
2165
2173
|
return wn() || l == null ? (0, H.jsx)(H.Fragment, { children: t.map(m) }) : (0, H.jsx)(Ir, { baseUrl: l, children: t.map(m) });
|
|
2166
2174
|
}
|
|
2167
|
-
var ne =
|
|
2175
|
+
var ne = du;
|
|
2168
2176
|
var na = require("@transferwise/components");
|
|
2169
|
-
var
|
|
2170
|
-
var
|
|
2171
|
-
var
|
|
2172
|
-
let o = s(s({ key: `${e}/${t || ""}`, title: e, description: t }, r != null && r.name ? { icon: (0,
|
|
2173
|
-
return (0,
|
|
2174
|
-
};
|
|
2175
|
-
var
|
|
2176
|
-
var
|
|
2177
|
-
var
|
|
2178
|
-
var Do =
|
|
2179
|
-
var
|
|
2180
|
-
var
|
|
2181
|
-
var
|
|
2177
|
+
var Gt = require("react/jsx-runtime");
|
|
2178
|
+
var uu = ({ component: e }) => (0, Gt.jsxs)("div", { className: V(e.margin || "md"), children: [e.title ? (0, Gt.jsx)(na.Header, { title: e.title }) : null, e.items.map(pu)] });
|
|
2179
|
+
var pu = ({ title: e, description: t, icon: r, status: a }) => {
|
|
2180
|
+
let o = s(s({ key: `${e}/${t || ""}`, title: e, description: t }, r != null && r.name ? { icon: (0, Gt.jsx)(Ye, { type: r.name }) } : {}), a ? { status: hu[a] } : {});
|
|
2181
|
+
return (0, Gt.jsx)(na.Summary, s({}, o));
|
|
2182
|
+
};
|
|
2183
|
+
var yu = { done: "done", pending: "pending", "not-done": "notDone" };
|
|
2184
|
+
var fu = { positive: "done", warning: "pending", neutral: "notDone" };
|
|
2185
|
+
var hu = s(s({}, yu), fu);
|
|
2186
|
+
var Do = uu;
|
|
2187
|
+
var _s = require("@transferwise/components");
|
|
2188
|
+
var Ks = require("react/jsx-runtime");
|
|
2189
|
+
var gu = ({ component: e }) => {
|
|
2182
2190
|
let { margin: t = "md", size: r = "md" } = e;
|
|
2183
|
-
return (0,
|
|
2191
|
+
return (0, Ks.jsx)(_s.Loader, { size: r, classNames: { "tw-loader": `tw-loader m-x-auto ${V(t)}` }, "data-testid": "loading-indicator" });
|
|
2184
2192
|
};
|
|
2185
|
-
var
|
|
2186
|
-
var
|
|
2187
|
-
var
|
|
2188
|
-
var
|
|
2189
|
-
var Bo = (0,
|
|
2190
|
-
var
|
|
2191
|
-
var
|
|
2192
|
-
function
|
|
2193
|
-
let e = (0,
|
|
2194
|
-
return e ? e.createSnackbar :
|
|
2193
|
+
var yr = gu;
|
|
2194
|
+
var Qs = require("@transferwise/components");
|
|
2195
|
+
var ec = require("react-intl");
|
|
2196
|
+
var Js = require("react-intl");
|
|
2197
|
+
var Bo = (0, Js.defineMessages)({ copy: { id: "dynamicFlows.DynamicParagraph.copy", defaultMessage: "Copy", description: "Copy to clipboard button label." }, copied: { id: "dynamicFlows.DynamicParagraph.copied", defaultMessage: "Copied to clipboard", description: "Appears in a snackbar when the copy operation succeeds." } });
|
|
2198
|
+
var Xs = require("@transferwise/components");
|
|
2199
|
+
var Ys = require("react");
|
|
2200
|
+
function Zs() {
|
|
2201
|
+
let e = (0, Ys.useContext)(Xs.SnackbarContext);
|
|
2202
|
+
return e ? e.createSnackbar : wu;
|
|
2195
2203
|
}
|
|
2196
|
-
function
|
|
2204
|
+
function wu() {
|
|
2197
2205
|
}
|
|
2198
2206
|
var tt = require("react/jsx-runtime");
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2207
|
+
function Cu({ component: e }) {
|
|
2208
|
+
return e.control === "copyable" ? (0, tt.jsx)(Fu, { component: e }) : (0, tt.jsx)(Su, { component: e });
|
|
2209
|
+
}
|
|
2210
|
+
function Su({ component: e }) {
|
|
2211
|
+
return (0, tt.jsxs)("p", { className: Ce(e), children: [" ", e.text, " "] });
|
|
2212
|
+
}
|
|
2213
|
+
function Fu({ component: e }) {
|
|
2214
|
+
let { formatMessage: t } = (0, ec.useIntl)(), r = Zs(), { text: a } = e, o = () => {
|
|
2203
2215
|
var i;
|
|
2204
|
-
(i = navigator.clipboard) == null || i.writeText(a).then(() => r({ text: t(Bo.copied) })).catch(
|
|
2205
|
-
}, n = Ce({ align: e.align, margin: "sm" })
|
|
2206
|
-
return (0, tt.jsxs)("div", { className: Ce(e), children: [(0, tt.jsx)("input", { type: "text", className: n, value: a, readOnly: true, style: { textOverflow: "ellipsis" } }), (0, tt.jsx)(
|
|
2207
|
-
};
|
|
2208
|
-
function Fu() {
|
|
2216
|
+
(i = navigator.clipboard) == null || i.writeText(a).then(() => r({ text: t(Bo.copied) })).catch(bu);
|
|
2217
|
+
}, n = `${Ce({ align: e.align, margin: "sm" })} form-control`;
|
|
2218
|
+
return (0, tt.jsxs)("div", { className: Ce(e), children: [(0, tt.jsx)("input", { type: "text", className: n, value: a, readOnly: true, style: { textOverflow: "ellipsis" } }), (0, tt.jsx)(Qs.Button, { block: true, onClick: o, children: t(Bo.copy) })] });
|
|
2209
2219
|
}
|
|
2210
|
-
|
|
2220
|
+
function bu() {
|
|
2221
|
+
}
|
|
2222
|
+
var Lo = Cu;
|
|
2211
2223
|
var ia = require("@transferwise/components");
|
|
2212
2224
|
var le = require("react/jsx-runtime");
|
|
2213
|
-
var
|
|
2214
|
-
var
|
|
2215
|
-
var
|
|
2216
|
-
function
|
|
2225
|
+
var xu = (e, t) => t.fields.map(({ label: r, value: a, help: o }, n) => ({ key: String(n), title: r, value: vu(a, o, e) }));
|
|
2226
|
+
var vu = (e, t, r) => t ? r === "HORIZONTAL_RIGHT_ALIGNED" ? (0, le.jsxs)(le.Fragment, { children: [(0, le.jsx)(qe, { help: t }), " ", e] }) : (0, le.jsxs)(le.Fragment, { children: [e, " ", (0, le.jsx)(qe, { help: t })] }) : e;
|
|
2227
|
+
var Au = (e) => (e.control || e.orientation) === "horizontal" ? "HORIZONTAL_RIGHT_ALIGNED" : "VERTICAL_ONE_COLUMN";
|
|
2228
|
+
function Ou(e) {
|
|
2217
2229
|
let t = e.component, r = V(t.margin || "xs"), a = (c, l) => ({ text: c != null ? c : "", href: l.url, onClick: (m) => {
|
|
2218
2230
|
m.preventDefault(), l && e.onAction(l);
|
|
2219
|
-
} }), o =
|
|
2220
|
-
return (0, le.jsxs)("div", { className: r, children: [t.title && (0, le.jsx)(ia.Header, { title: t.title, action: n || i || void 0 }), (0, le.jsx)("div", { className: r, children: (0, le.jsx)(ia.DefinitionList, { layout: o, definitions:
|
|
2231
|
+
} }), o = Au(t), n = t.callToAction ? a(t.callToAction.title, t.callToAction.action) : null, i = !n && t.action ? a(t.action.title || "", t.action) : null;
|
|
2232
|
+
return (0, le.jsxs)("div", { className: r, children: [t.title && (0, le.jsx)(ia.Header, { title: t.title, action: n || i || void 0 }), (0, le.jsx)("div", { className: r, children: (0, le.jsx)(ia.DefinitionList, { layout: o, definitions: xu(o, t) }) })] });
|
|
2221
2233
|
}
|
|
2222
|
-
var To =
|
|
2234
|
+
var To = Ou;
|
|
2223
2235
|
var ma = require("react");
|
|
2224
|
-
var
|
|
2236
|
+
var tc = require("@transferwise/components");
|
|
2225
2237
|
var sa = require("react/jsx-runtime");
|
|
2226
|
-
var
|
|
2238
|
+
var rc = ({ title: e, value: t, onFocus: r, onChange: a }) => (0, sa.jsxs)("label", { className: "control-label d-inline", children: [e, (0, sa.jsx)(tc.Input, { type: "text", value: t, className: "m-t-1", onFocus: r, onChange: (o) => a(o.currentTarget.value) })] });
|
|
2227
2239
|
var ca = require("@transferwise/components");
|
|
2228
|
-
var nc = require("react-intl");
|
|
2229
2240
|
var oc = require("react-intl");
|
|
2230
|
-
var
|
|
2241
|
+
var ac = require("react-intl");
|
|
2242
|
+
var Wt = (0, ac.defineMessages)({ errorAlert: { id: "dynamicFlows.ErrorBoundary.errorAlert", defaultMessage: "Oops. Something went wrong...", description: "Generic error message for when something has gone wrong." }, retry: { id: "dynamicFlows.ErrorBoundary.retry", defaultMessage: "Retry", description: "Usually this follows the generic error and contains a link." } });
|
|
2231
2243
|
var St = require("react/jsx-runtime");
|
|
2232
|
-
var
|
|
2233
|
-
var
|
|
2234
|
-
let t = (0,
|
|
2235
|
-
return (0, St.jsxs)("p", { className: "m-t-2", children: [t.formatMessage(
|
|
2244
|
+
var nc = ({ results: e, emptyMessage: t, onSelect: r }) => e.length === 0 ? (0, St.jsx)("p", { className: "m-t-2", children: t }) : (0, St.jsx)(ca.NavigationOptionsList, { children: e.map((a) => (0, St.jsx)(ca.NavigationOption, { title: a.title, content: a.description, media: ut(a), showMediaCircle: false, showMediaAtAllSizes: true, onClick: () => r(a) }, JSON.stringify(a))) });
|
|
2245
|
+
var ic = ({ onRetrySearch: e }) => {
|
|
2246
|
+
let t = (0, oc.useIntl)();
|
|
2247
|
+
return (0, St.jsxs)("p", { className: "m-t-2", children: [t.formatMessage(Wt.errorAlert), "\xA0", (0, St.jsx)("a", { href: "/", onClick: (r) => {
|
|
2236
2248
|
r.preventDefault(), e();
|
|
2237
|
-
}, children: t.formatMessage(
|
|
2249
|
+
}, children: t.formatMessage(Wt.retry) })] });
|
|
2238
2250
|
};
|
|
2239
|
-
var
|
|
2240
|
-
var
|
|
2241
|
-
var
|
|
2242
|
-
let [t, r] = (0,
|
|
2251
|
+
var $t = require("react");
|
|
2252
|
+
var sc = { "Content-Type": "application/json" };
|
|
2253
|
+
var cc = (e) => {
|
|
2254
|
+
let [t, r] = (0, $t.useState)({ status: "idle" }), a = (0, $t.useRef)(null), o = ae(), n = (0, $t.useCallback)(async (m, { url: p, method: h, param: y } = e) => {
|
|
2243
2255
|
var d;
|
|
2244
2256
|
if ((d = a.current) == null || d.abort(), !m) {
|
|
2245
2257
|
r({ status: "idle" });
|
|
@@ -2249,7 +2261,7 @@ var require_main_min = __commonJS({
|
|
|
2249
2261
|
let { signal: u } = a.current;
|
|
2250
2262
|
r({ status: "loading" });
|
|
2251
2263
|
try {
|
|
2252
|
-
let w = await (h === "GET" ? o(
|
|
2264
|
+
let w = await (h === "GET" ? o(ku(p, y, m), { method: h, signal: u, headers: sc }) : o(p, { method: h, signal: u, headers: sc, body: JSON.stringify({ [y]: m }) }));
|
|
2253
2265
|
i(w, m);
|
|
2254
2266
|
} catch (f) {
|
|
2255
2267
|
c(f, m);
|
|
@@ -2257,27 +2269,27 @@ var require_main_min = __commonJS({
|
|
|
2257
2269
|
}, [o, JSON.stringify(e)]), i = async (m, p) => {
|
|
2258
2270
|
if (m.ok) {
|
|
2259
2271
|
let h = await m.json().catch(() => null);
|
|
2260
|
-
if (
|
|
2272
|
+
if (Pu(h)) {
|
|
2261
2273
|
r({ status: "success", results: h.results });
|
|
2262
2274
|
return;
|
|
2263
2275
|
}
|
|
2264
2276
|
}
|
|
2265
2277
|
r({ status: "error" });
|
|
2266
2278
|
}, c = (m, p) => {
|
|
2267
|
-
|
|
2279
|
+
Mu(m) || r({ status: "error" });
|
|
2268
2280
|
}, l = t.status === "success" ? t.results : [];
|
|
2269
2281
|
return { status: t.status, results: l, search: n };
|
|
2270
2282
|
};
|
|
2271
|
-
var
|
|
2272
|
-
var
|
|
2273
|
-
var
|
|
2283
|
+
var Pu = (e) => R(e) && "results" in e && j(e.results) && e.results.every((t) => R(t) && "title" in t && "type" in t && "value" in t);
|
|
2284
|
+
var Mu = (e) => e instanceof DOMException && e.name === "AbortError";
|
|
2285
|
+
var ku = (e, t, r) => {
|
|
2274
2286
|
let [a, o] = e.split("?"), n = new URLSearchParams(o);
|
|
2275
2287
|
return n.set(t, r), `${a}?${n.toString()}`;
|
|
2276
2288
|
};
|
|
2277
2289
|
var Ft = require("react/jsx-runtime");
|
|
2278
|
-
var
|
|
2279
|
-
function
|
|
2280
|
-
let [r, a] = (0, ma.useState)(""), { title: o, margin: n, url: i, method: c, param: l, emptyMessage: m } = e, { status: p, results: h, search: y } =
|
|
2290
|
+
var Eu = 400;
|
|
2291
|
+
function Iu({ component: e, onAction: t }) {
|
|
2292
|
+
let [r, a] = (0, ma.useState)(""), { title: o, margin: n, url: i, method: c, param: l, emptyMessage: m } = e, { status: p, results: h, search: y } = cc({ url: i, method: c, param: l }), u = re(), d = (0, ma.useMemo)(() => Ke(y, Eu), [y]), f = () => {
|
|
2281
2293
|
u("Dynamic Flow - Search Started", {});
|
|
2282
2294
|
}, w = (g) => {
|
|
2283
2295
|
a(g), d(g);
|
|
@@ -2290,21 +2302,21 @@ var require_main_min = __commonJS({
|
|
|
2290
2302
|
}, F = () => {
|
|
2291
2303
|
a(r), y(r);
|
|
2292
2304
|
};
|
|
2293
|
-
return (0, Ft.jsxs)("div", { className: V(n || "md"), children: [(0, Ft.jsx)(
|
|
2305
|
+
return (0, Ft.jsxs)("div", { className: V(n || "md"), children: [(0, Ft.jsx)(rc, { title: o, value: r, onChange: w, onFocus: f }), p === "loading" && (0, Ft.jsx)(yr, { component: { type: "loading-indicator", size: "sm" } }), p === "error" && (0, Ft.jsx)(ic, { onRetrySearch: F }), p === "success" && (0, Ft.jsx)(nc, { results: h, emptyMessage: m, onSelect: S })] });
|
|
2294
2306
|
}
|
|
2295
|
-
var Ro =
|
|
2307
|
+
var Ro = Iu;
|
|
2296
2308
|
var la = require("@transferwise/components");
|
|
2297
|
-
var
|
|
2298
|
-
var
|
|
2299
|
-
var
|
|
2300
|
-
let [t, r] = (0,
|
|
2301
|
-
return (0,
|
|
2309
|
+
var mc = require("react");
|
|
2310
|
+
var _t = require("react/jsx-runtime");
|
|
2311
|
+
var Du = (e) => {
|
|
2312
|
+
let [t, r] = (0, mc.useState)(false), { component: a, onAction: o } = e, { margin: n = "md" } = a;
|
|
2313
|
+
return (0, _t.jsxs)("div", { className: Ce({ margin: n }), children: [(0, _t.jsx)(la.Button, { priority: "tertiary", block: true, onClick: () => r(true), children: a.trigger.title }), (0, _t.jsx)(la.Modal, { scroll: "content", onClose: () => r(false), open: t, size: "lg", body: (0, _t.jsx)(ne, C(s({}, e), { components: a.content.components, onAction: o })) })] });
|
|
2302
2314
|
};
|
|
2303
|
-
var No =
|
|
2315
|
+
var No = Du;
|
|
2304
2316
|
var ue = require("react/jsx-runtime");
|
|
2305
2317
|
var zo = (e) => I(e) || Y(e);
|
|
2306
|
-
var
|
|
2307
|
-
var
|
|
2318
|
+
var Lu = (e) => e.type === "boolean" && zo(e.default) ? false : e.default;
|
|
2319
|
+
var dc = (e) => {
|
|
2308
2320
|
var ee, A, B;
|
|
2309
2321
|
let t = (k) => {
|
|
2310
2322
|
y(true), a(o(k), "user");
|
|
@@ -2317,7 +2329,7 @@ var require_main_min = __commonJS({
|
|
|
2317
2329
|
}, o = (k) => $e(k, e.schema), n = () => d(true), i = () => {
|
|
2318
2330
|
d(false), w(true), e.onBlur && e.onBlur();
|
|
2319
2331
|
}, [c, l] = (0, de.useState)((ee = e.model) != null ? ee : null), [m, p] = (0, de.useState)((A = e.model) != null ? A : null), [h, y] = (0, de.useState)(false), [u, d] = (0, de.useState)(false), [f, w] = (0, de.useState)(false), [S, F] = (0, de.useState)([]), g = (0, de.useMemo)(() => e.schema.$id || Te(), [e.schema.$id]), v = () => {
|
|
2320
|
-
let k =
|
|
2332
|
+
let k = Lu(e.schema);
|
|
2321
2333
|
zo(c) && !zo(k) && a(k, "init"), e.schema.const && a(e.schema.const, "init");
|
|
2322
2334
|
}, O = () => {
|
|
2323
2335
|
F(r(c));
|
|
@@ -2328,23 +2340,23 @@ var require_main_min = __commonJS({
|
|
|
2328
2340
|
k !== c && l(k);
|
|
2329
2341
|
}, [e.model]);
|
|
2330
2342
|
let E = { "form-group": true, "has-error": (e.submitted || !h) && !!e.errors || (e.submitted || h && f) && !!S.length, "has-info": !!e.schema.description || !!e.infoMessage }, P = e.schema.format !== "file" && e.schema.type !== "boolean", D = e.schema.help, U = `${g}-feedback`;
|
|
2331
|
-
return M ? null : (0, ue.jsxs)(ue.Fragment, { children: [e.schema.alert && (0, ue.jsx)(se, { component: e.schema.alert }), (0, ue.jsxs)("div", { className: (0,
|
|
2343
|
+
return M ? null : (0, ue.jsxs)(ue.Fragment, { children: [e.schema.alert && (0, ue.jsx)(se, { component: e.schema.alert }), (0, ue.jsxs)("div", { className: (0, lc.default)(E), children: [P && (0, ue.jsxs)("div", { className: "d-inline-block m-b-1", children: [(0, ue.jsx)("label", { className: "control-label d-inline", htmlFor: g, children: e.schema.title }), !!D && (0, ue.jsx)(qe, { help: D })] }), !P && !!D && (0, ue.jsx)(qe, { help: D }), (0, ue.jsx)(lr, { id: g, schema: e.schema, value: c, disabled: !!e.disabled, onChange: t, onFocus: n, onBlur: i, describedBy: U }), (0, ue.jsx)(He, { id: U, changed: h, focused: u, blurred: f, submitted: e.submitted, errors: (B = e.errors) != null ? B : null, schema: e.schema, validations: S, infoMessage: e.infoMessage })] })] });
|
|
2332
2344
|
};
|
|
2333
|
-
|
|
2334
|
-
var Ct =
|
|
2335
|
-
var
|
|
2345
|
+
dc.defaultProps = { required: false, disabled: false, onBlur: null };
|
|
2346
|
+
var Ct = dc;
|
|
2347
|
+
var fc = require("react/jsx-runtime");
|
|
2336
2348
|
var fo = (e, t) => t[e];
|
|
2337
|
-
var
|
|
2349
|
+
var pc = (e, t) => {
|
|
2338
2350
|
var r;
|
|
2339
2351
|
return (r = t.validation) == null ? void 0 : r[e];
|
|
2340
2352
|
};
|
|
2341
|
-
var
|
|
2342
|
-
function
|
|
2343
|
-
let { schema: t, required: r, submitted: a, errors: o, onChange: n, onPersistAsync: i } = e, c = (0,
|
|
2353
|
+
var Tu = /* @__PURE__ */ new Set([N.RADIO, N.SELECT, N.DATELOOKUP, N.FILE, N.UPLOAD]);
|
|
2354
|
+
function yc(e) {
|
|
2355
|
+
let { schema: t, required: r, submitted: a, errors: o, onChange: n, onPersistAsync: i } = e, c = (0, uc.useIntl)(), l = ae(), m = re(), [p, h] = (0, bt.useState)(null), y = hc(p), [u, d] = (0, bt.useState)(null), [f, w] = (0, bt.useState)(false), [S, F] = (0, bt.useState)(null);
|
|
2344
2356
|
(0, bt.useEffect)(() => {
|
|
2345
|
-
|
|
2357
|
+
Tu.has(lo(t.persistAsync.schema)) && x();
|
|
2346
2358
|
}, [p]);
|
|
2347
|
-
let g = () => d(c.formatMessage(
|
|
2359
|
+
let g = () => d(c.formatMessage(nr.genericError)), v = async (P, D) => {
|
|
2348
2360
|
let U = O(), ee = { [D.param]: P };
|
|
2349
2361
|
w(true);
|
|
2350
2362
|
try {
|
|
@@ -2378,14 +2390,14 @@ var require_main_min = __commonJS({
|
|
|
2378
2390
|
}, E = ({ model: P }) => {
|
|
2379
2391
|
d(null), G(P, t.persistAsync.schema) && h(P);
|
|
2380
2392
|
};
|
|
2381
|
-
return (0,
|
|
2393
|
+
return (0, fc.jsx)(Ct, { required: r, submitted: a || f, schema: t.persistAsync.schema, errors: u || o, model: null, infoMessage: null, onChange: E, onBlur: M });
|
|
2382
2394
|
}
|
|
2383
|
-
|
|
2384
|
-
var po =
|
|
2395
|
+
yc.defaultProps = { required: false };
|
|
2396
|
+
var po = yc;
|
|
2385
2397
|
var qi = (e) => {
|
|
2386
|
-
let [t, r] = (0,
|
|
2398
|
+
let [t, r] = (0, gc.useState)(null), a = ae(), o = (0, wc.useIntl)(), { schema: n } = e;
|
|
2387
2399
|
async function i(y) {
|
|
2388
|
-
let u = y instanceof Blob ? !
|
|
2400
|
+
let u = y instanceof Blob ? !Dt(n) : !G(y, n);
|
|
2389
2401
|
return (I(y) || u) && h(), await m(y);
|
|
2390
2402
|
}
|
|
2391
2403
|
let c = () => {
|
|
@@ -2394,7 +2406,7 @@ var require_main_min = __commonJS({
|
|
|
2394
2406
|
return r(y), y.signal;
|
|
2395
2407
|
};
|
|
2396
2408
|
function l(y) {
|
|
2397
|
-
let u =
|
|
2409
|
+
let u = Dt(n), d = c(), f = e.param, w = u ? Ru(f, y) : JSON.stringify({ [f]: y });
|
|
2398
2410
|
return { method: e.method, headers: s({}, !u && { "Content-Type": "application/json" }), body: w, signal: d };
|
|
2399
2411
|
}
|
|
2400
2412
|
async function m(y) {
|
|
@@ -2417,29 +2429,29 @@ var require_main_min = __commonJS({
|
|
|
2417
2429
|
if (y.status === 422) {
|
|
2418
2430
|
let u = await y.json();
|
|
2419
2431
|
if (R(u)) {
|
|
2420
|
-
let d =
|
|
2432
|
+
let d = pc(e.param, u);
|
|
2421
2433
|
if (L(d))
|
|
2422
2434
|
throw new Error(d);
|
|
2423
2435
|
}
|
|
2424
2436
|
}
|
|
2425
|
-
throw new Error(o.formatMessage(
|
|
2437
|
+
throw new Error(o.formatMessage(nr.genericError));
|
|
2426
2438
|
}
|
|
2427
2439
|
let h = (y) => {
|
|
2428
|
-
let u =
|
|
2440
|
+
let u = Nu(y) ? y.message : o.formatMessage(nr.genericError);
|
|
2429
2441
|
throw new Error(u);
|
|
2430
2442
|
};
|
|
2431
2443
|
return i;
|
|
2432
2444
|
};
|
|
2433
|
-
function
|
|
2445
|
+
function Ru(e, t) {
|
|
2434
2446
|
let r = new FormData();
|
|
2435
2447
|
return t !== null && r.append(e, t), r;
|
|
2436
2448
|
}
|
|
2437
|
-
function
|
|
2449
|
+
function Nu(e) {
|
|
2438
2450
|
return R(e) && "message" in e && typeof e.message == "string";
|
|
2439
2451
|
}
|
|
2440
2452
|
var rt = require("react");
|
|
2441
2453
|
function Vr({ asyncFn: e, interval: t, maxAttempts: r, maxConsecutiveFails: a, onPollingResponse: o, onFailure: n }) {
|
|
2442
|
-
let i = (0, rt.useRef)(o), c = (0, rt.useRef)(n), l = (0, rt.useMemo)(() =>
|
|
2454
|
+
let i = (0, rt.useRef)(o), c = (0, rt.useRef)(n), l = (0, rt.useMemo)(() => Bu(e, r, a, (m) => i.current(m), () => c.current()), [e, r, a]);
|
|
2443
2455
|
(0, rt.useEffect)(() => {
|
|
2444
2456
|
if (t > 0) {
|
|
2445
2457
|
let m = setInterval(() => {
|
|
@@ -2451,7 +2463,7 @@ var require_main_min = __commonJS({
|
|
|
2451
2463
|
i.current = o, c.current = n;
|
|
2452
2464
|
}, [o, n]);
|
|
2453
2465
|
}
|
|
2454
|
-
function
|
|
2466
|
+
function Bu(e, t, r, a, o) {
|
|
2455
2467
|
let n = true, i = 0, c = 0;
|
|
2456
2468
|
return e ? () => {
|
|
2457
2469
|
n && (c++, e().then((l) => {
|
|
@@ -2465,15 +2477,15 @@ var require_main_min = __commonJS({
|
|
|
2465
2477
|
};
|
|
2466
2478
|
}
|
|
2467
2479
|
var da = require("react");
|
|
2468
|
-
var
|
|
2480
|
+
var hc = (e) => {
|
|
2469
2481
|
let t = (0, da.useRef)();
|
|
2470
2482
|
return (0, da.useEffect)(() => {
|
|
2471
2483
|
t.current = e;
|
|
2472
2484
|
}, [e]), t.current;
|
|
2473
2485
|
};
|
|
2474
|
-
var
|
|
2475
|
-
function
|
|
2476
|
-
let r = ae(), a = (0,
|
|
2486
|
+
var fr = require("react");
|
|
2487
|
+
function Cc(e, t) {
|
|
2488
|
+
let r = ae(), a = (0, fr.useMemo)(() => {
|
|
2477
2489
|
if (e)
|
|
2478
2490
|
return () => r(e.url).then((n) => {
|
|
2479
2491
|
if (n.ok)
|
|
@@ -2482,65 +2494,65 @@ var require_main_min = __commonJS({
|
|
|
2482
2494
|
}).catch((n) => {
|
|
2483
2495
|
throw new Error(n.message === "failed" ? "failed" : "network failed");
|
|
2484
2496
|
});
|
|
2485
|
-
}, [e, r]), o = (0,
|
|
2486
|
-
Vr({ asyncFn: a, interval: 1e3 * ((e == null ? void 0 : e.interval) || 0), maxAttempts: (e == null ? void 0 : e.maxAttempts) || 0, maxConsecutiveFails: 1, onPollingResponse: o, onFailure: (0,
|
|
2497
|
+
}, [e, r]), o = (0, fr.useCallback)((n) => n != null && n.action ? (t(n.action), false) : true, [t]);
|
|
2498
|
+
Vr({ asyncFn: a, interval: 1e3 * ((e == null ? void 0 : e.interval) || 0), maxAttempts: (e == null ? void 0 : e.maxAttempts) || 0, maxConsecutiveFails: 1, onPollingResponse: o, onFailure: (0, fr.useCallback)(() => {
|
|
2487
2499
|
e && t(e.onError.action);
|
|
2488
2500
|
}, [t, e]) });
|
|
2489
2501
|
}
|
|
2490
|
-
var
|
|
2491
|
-
var
|
|
2502
|
+
var Sc = require("react/jsx-runtime");
|
|
2503
|
+
var zu = (e, t) => {
|
|
2492
2504
|
var a;
|
|
2493
|
-
if (
|
|
2505
|
+
if (kt(e))
|
|
2494
2506
|
return [];
|
|
2495
|
-
let r =
|
|
2507
|
+
let r = Qt(e, t);
|
|
2496
2508
|
return ze({ layout: r, schemas: e.schemas || [], actions: e.actions || [], model: (a = e.model) != null ? a : null });
|
|
2497
2509
|
};
|
|
2498
|
-
var
|
|
2499
|
-
let { stepSpecification: t, stepLayoutOptions: r, submitted: a, model: o, formErrors: n, onModelChange: i } = e, c =
|
|
2510
|
+
var ju = (e) => {
|
|
2511
|
+
let { stepSpecification: t, stepLayoutOptions: r, submitted: a, model: o, formErrors: n, onModelChange: i } = e, c = zu(t, r), { loading: l, registerPersistAsyncPromise: m } = At(), p = re(), h = l ? () => {
|
|
2500
2512
|
p("Dynamic Flow - onAction supressed", { reason: "LayoutStep - loading state" });
|
|
2501
2513
|
} : e.onAction;
|
|
2502
|
-
return
|
|
2514
|
+
return Cc(t.polling, h), (0, Sc.jsx)(ne, { components: c, submitted: a, model: o, errors: n, onAction: h, onModelChange: i, onPersistAsync: m });
|
|
2503
2515
|
};
|
|
2504
|
-
var ua =
|
|
2516
|
+
var ua = ju;
|
|
2505
2517
|
var ga = require("react");
|
|
2506
2518
|
var oe = require("react");
|
|
2507
|
-
var
|
|
2508
|
-
var
|
|
2509
|
-
var
|
|
2510
|
-
var pe = (0,
|
|
2519
|
+
var Hc = require("react-intl");
|
|
2520
|
+
var qc = Ee(Fc());
|
|
2521
|
+
var bc = require("react-intl");
|
|
2522
|
+
var pe = (0, bc.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" }, cameraNotSupportedTitle: { id: "dynamicFlows.CameraCapture.CameraNotSupported.title", defaultMessage: "Camera not supported", description: "Title of standalone page prompting that camera is not available on users browser" }, cameraNotSupportedParagraph: { 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" }, noCameraAccessTitle: { id: "dynamicFlows.CameraCapture.NoCameraAccess.title", defaultMessage: "We can't access your camera", description: "Title of standalone page prompting missing camera permissions" }, noCameraAccessParagraph: { 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" }, noCameraAccessAction: { id: "dynamicFlows.CameraCapture.NoCameraAccess.action", defaultMessage: "Enable camera access", description: "Action to ask for camera permissions again" }, cameraConnectionIssueTitle: { id: "dynamicFlows.CameraCapture.CameraConnectionIssue.title", defaultMessage: "We can't access your camera", description: "Title of standalone page prompting that there was an issue connecting to a camera" }, cameraConnectionIssueParagraph: { id: "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph", defaultMessage: "Please check if it is connected and try again.", description: "Further text of standalone page prompting that there was an issue connecting to a camera" }, cameraConnectionIssueAction: { id: "dynamicFlows.CameraCapture.CameraConnectionIssue.action", defaultMessage: "Try again", description: "Action to try using camera again" } });
|
|
2511
2523
|
var Oe = require("@transferwise/components");
|
|
2512
|
-
var
|
|
2524
|
+
var xc = require("react-intl");
|
|
2513
2525
|
var Ae = require("react/jsx-runtime");
|
|
2514
|
-
var Vo = ({ onCapture: e }) => (0, Ae.jsx)("div", { className: "bottom-bar", children: (0, Ae.jsx)(
|
|
2526
|
+
var Vo = ({ onCapture: e }) => (0, Ae.jsx)("div", { className: "bottom-bar", children: (0, Ae.jsx)(Vu, { onClick: e }) });
|
|
2515
2527
|
var Uo = ({ onSubmit: e, onRetry: t }) => {
|
|
2516
|
-
let r = (0,
|
|
2528
|
+
let r = (0, xc.useIntl)();
|
|
2517
2529
|
return (0, Ae.jsx)("div", { className: "bottom-bar p-x-2", children: (0, Ae.jsx)("div", { className: "row", children: (0, Ae.jsxs)("div", { className: "col-xs-12 col-md-6 col-md-offset-3", children: [(0, Ae.jsx)(Oe.Button, { className: "m-b-1", block: true, size: Oe.Size.MEDIUM, type: Oe.ControlType.ACCENT, onClick: e, children: r.formatMessage(pe.reviewSubmit) }), (0, Ae.jsx)(Oe.Button, { className: "m-b-2", block: true, size: Oe.Size.MEDIUM, type: Oe.ControlType.ACCENT, priority: Oe.Priority.SECONDARY, onClick: t, children: r.formatMessage(pe.reviewRetry) })] }) }) });
|
|
2518
2530
|
};
|
|
2519
|
-
var
|
|
2520
|
-
var
|
|
2521
|
-
var
|
|
2522
|
-
var
|
|
2523
|
-
var
|
|
2524
|
-
function
|
|
2525
|
-
let e = (0,
|
|
2526
|
-
return (0,
|
|
2527
|
-
}
|
|
2528
|
-
var Ho =
|
|
2529
|
-
var
|
|
2531
|
+
var Vu = ({ onClick: e }) => (0, Ae.jsx)("button", { type: "button", className: "camera-capture-btn m-b-2", "data-testid": "camera-capture-button", onClick: e, children: (0, Ae.jsx)("span", { className: "camera-capture-btn-inner" }) });
|
|
2532
|
+
var Oc = require("react-intl");
|
|
2533
|
+
var vc = require("react-intl");
|
|
2534
|
+
var Ac = (0, vc.defineMessages)({ text: { id: "dynamicFlows.CameraCapture.rotatePhone.text", defaultMessage: "Rotate your phone to portrait view to take a photo", description: "Prompt the user to rotate their phone from landscape to portrait mode when attempting to take a photo" } });
|
|
2535
|
+
var gr = require("react/jsx-runtime");
|
|
2536
|
+
function Uu() {
|
|
2537
|
+
let e = (0, Oc.useIntl)();
|
|
2538
|
+
return (0, gr.jsxs)("div", { className: "orientation-lock-overlay", children: [(0, gr.jsx)("img", { className: "m-b-3", src: "https://wise.com/public-resources/assets/camera-guidelines/icon-rotate-phone.svg", width: "96", height: "96", alt: "" }), (0, gr.jsx)("p", { className: "text-center m-b-0", children: e.formatMessage(Ac.text) })] });
|
|
2539
|
+
}
|
|
2540
|
+
var Ho = Uu;
|
|
2541
|
+
var Pc = require("@transferwise/components");
|
|
2530
2542
|
var at = require("react/jsx-runtime");
|
|
2531
|
-
function
|
|
2532
|
-
return (0, at.jsx)("div", { className: "container p-t-5", children: (0, at.jsx)("div", { className: "row", children: (0, at.jsxs)("div", { className: "col-md-6 col-md-offset-3", children: [(0, at.jsx)("h2", { className: "text-xs-center m-b-3", children: e }), (0, at.jsx)("p", { className: "text-xs-center m-b-5", children: t }), a && r && (0, at.jsx)(
|
|
2543
|
+
function Hu({ title: e, description: t, actionButton: r, onAction: a }) {
|
|
2544
|
+
return (0, at.jsx)("div", { className: "container p-t-5", children: (0, at.jsx)("div", { className: "row", children: (0, at.jsxs)("div", { className: "col-md-6 col-md-offset-3", children: [(0, at.jsx)("h2", { className: "text-xs-center m-b-3", children: e }), (0, at.jsx)("p", { className: "text-xs-center m-b-5", children: t }), a && r && (0, at.jsx)(Pc.Button, { block: true, onClick: a, children: r })] }) }) });
|
|
2533
2545
|
}
|
|
2534
|
-
var qo =
|
|
2546
|
+
var qo = Hu;
|
|
2535
2547
|
var ot = require("react");
|
|
2536
|
-
var
|
|
2537
|
-
var
|
|
2548
|
+
var Kt = Ee(Mc());
|
|
2549
|
+
var kc = (e) => {
|
|
2538
2550
|
var r;
|
|
2539
2551
|
let { facingMode: t } = ((r = pa(e)) == null ? void 0 : r.getSettings()) || {};
|
|
2540
2552
|
return t === "user" || t === void 0;
|
|
2541
2553
|
};
|
|
2542
|
-
var
|
|
2543
|
-
var
|
|
2554
|
+
var Ec = (e) => !!((e == null ? void 0 : e.label) || "").match(/camera2? 0/g);
|
|
2555
|
+
var Ic = async (e) => {
|
|
2544
2556
|
let t = document.createElement("canvas");
|
|
2545
2557
|
if (e) {
|
|
2546
2558
|
t.setAttribute("height", `${e.videoHeight}`), t.setAttribute("width", `${e.videoWidth}`);
|
|
@@ -2551,15 +2563,15 @@ var require_main_min = __commonJS({
|
|
|
2551
2563
|
}
|
|
2552
2564
|
return t;
|
|
2553
2565
|
};
|
|
2554
|
-
var
|
|
2566
|
+
var Dc = async () => {
|
|
2555
2567
|
var e, t;
|
|
2556
2568
|
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");
|
|
2557
2569
|
};
|
|
2558
|
-
var
|
|
2570
|
+
var Lc = async () => {
|
|
2559
2571
|
var e, t;
|
|
2560
2572
|
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);
|
|
2561
2573
|
};
|
|
2562
|
-
var
|
|
2574
|
+
var Tc = async (e) => {
|
|
2563
2575
|
var r, a, o;
|
|
2564
2576
|
let t = Go(e);
|
|
2565
2577
|
return (o = (await ((a = (r = navigator == null ? void 0 : navigator.mediaDevices) == null ? void 0 : r.enumerateDevices) == null ? void 0 : a.call(r)) || []).filter((n) => n.kind === "videoinput").find((n) => n.deviceId === (t == null ? void 0 : t.deviceId))) == null ? void 0 : o.label;
|
|
@@ -2572,37 +2584,37 @@ var require_main_min = __commonJS({
|
|
|
2572
2584
|
var t, r;
|
|
2573
2585
|
return (r = (t = pa(e)) == null ? void 0 : t.getCapabilities) == null ? void 0 : r.call(t);
|
|
2574
2586
|
};
|
|
2575
|
-
var ya = (e, t, r) => t == null ? void 0 : t(e, { Error:
|
|
2576
|
-
var
|
|
2577
|
-
var
|
|
2578
|
-
var
|
|
2587
|
+
var ya = (e, t, r) => t == null ? void 0 : t(e, { Error: qu(r) });
|
|
2588
|
+
var qu = (e) => e instanceof DOMException ? JSON.stringify({ name: e == null ? void 0 : e.name, message: e == null ? void 0 : e.message }) : e;
|
|
2589
|
+
var Rc = async (e, t, r) => e == null ? void 0 : e("Dynamic Flow - Camera Feed Started", await Gu(t, r));
|
|
2590
|
+
var Gu = async (e, t) => {
|
|
2579
2591
|
var n;
|
|
2580
2592
|
let r = pa(t), a = Go(t), o = (n = r == null ? void 0 : r.getSettings) == null ? void 0 : n.call(r);
|
|
2581
|
-
return C(s({}, r && { "Available Video Devices (by label)": await
|
|
2593
|
+
return C(s({}, r && { "Available Video Devices (by label)": await Lc(), "Active Video Device (by label)": await Tc(t), "Camera Capabilities": a, "Camera Settings": o }), { "Camera Direction (Asked)": e == null ? void 0 : e.direction });
|
|
2582
2594
|
};
|
|
2583
|
-
var
|
|
2595
|
+
var Nc = (e) => {
|
|
2584
2596
|
e == null || e("Dynamic Flow - Camera Orientation Lock Overlay Shown", {});
|
|
2585
2597
|
};
|
|
2586
|
-
var
|
|
2598
|
+
var Bc = (e) => {
|
|
2587
2599
|
e == null || e("Dynamic Flow - Camera Orientation Locked", {});
|
|
2588
2600
|
};
|
|
2589
|
-
var
|
|
2601
|
+
var zc = (e, t) => {
|
|
2590
2602
|
let r = (0, ot.useCallback)(() => {
|
|
2591
|
-
window.screen.orientation && "lock" in window.screen.orientation && typeof window.screen.orientation.lock == "function" && window.screen.orientation.lock("portrait").then(() =>
|
|
2603
|
+
window.screen.orientation && "lock" in window.screen.orientation && typeof window.screen.orientation.lock == "function" && window.screen.orientation.lock("portrait").then(() => Bc(t)).catch(Wo);
|
|
2592
2604
|
}, [t]), a = (0, ot.useCallback)(() => {
|
|
2593
2605
|
var c, l, m;
|
|
2594
2606
|
return (m = (l = (c = window == null ? void 0 : window.screen) == null ? void 0 : c.orientation) == null ? void 0 : l.unlock) == null ? void 0 : m.call(l);
|
|
2595
2607
|
}, []), o = (0, ot.useCallback)(() => {
|
|
2596
2608
|
setTimeout(() => {
|
|
2597
|
-
e && !
|
|
2609
|
+
e && !Kt.default.isFullscreen && Kt.default.isEnabled && Kt.default.request(document.documentElement, { navigationUI: "show" }).then(() => {
|
|
2598
2610
|
r();
|
|
2599
2611
|
}).catch(Wo);
|
|
2600
2612
|
}, 100);
|
|
2601
2613
|
}, [e, r]), n = (0, ot.useCallback)(() => {
|
|
2602
|
-
|
|
2614
|
+
Kt.default.isFullscreen && Kt.default.exit().catch(Wo), a();
|
|
2603
2615
|
}, [a]), i = (0, ot.useCallback)((c) => {
|
|
2604
2616
|
var l, m;
|
|
2605
|
-
(l = c == null ? void 0 : c.target) != null && l.type.includes("landscape") && (m = window.screen) != null && m.orientation &&
|
|
2617
|
+
(l = c == null ? void 0 : c.target) != null && l.type.includes("landscape") && (m = window.screen) != null && m.orientation && Nc(t);
|
|
2606
2618
|
}, [t]);
|
|
2607
2619
|
return (0, ot.useEffect)(() => {
|
|
2608
2620
|
var c, l;
|
|
@@ -2615,14 +2627,14 @@ var require_main_min = __commonJS({
|
|
|
2615
2627
|
var Wo = () => {
|
|
2616
2628
|
};
|
|
2617
2629
|
var fa = require("react");
|
|
2618
|
-
var
|
|
2630
|
+
var jc = (e) => {
|
|
2619
2631
|
let [t, r] = (0, fa.useState)(), a = { facingMode: e === "front" ? "user" : "environment", height: { min: 480, max: 1080, ideal: 720 }, width: { min: 640, max: 1920, ideal: 1280 }, frameRate: 30, aspectRatio: 16 / 9 };
|
|
2620
2632
|
(0, fa.useEffect)(() => {
|
|
2621
2633
|
o(e).then(r);
|
|
2622
2634
|
}, [e]);
|
|
2623
2635
|
let o = async (n) => {
|
|
2624
2636
|
if (n === "back") {
|
|
2625
|
-
let i = (await
|
|
2637
|
+
let i = (await Dc()).find(Ec);
|
|
2626
2638
|
if (i != null && i.deviceId)
|
|
2627
2639
|
return C(s({}, a), { deviceId: { exact: i.deviceId } });
|
|
2628
2640
|
}
|
|
@@ -2632,14 +2644,14 @@ var require_main_min = __commonJS({
|
|
|
2632
2644
|
};
|
|
2633
2645
|
var ha = require("react");
|
|
2634
2646
|
var J = require("react/jsx-runtime");
|
|
2635
|
-
var
|
|
2636
|
-
var
|
|
2637
|
-
var
|
|
2638
|
-
var
|
|
2639
|
-
var
|
|
2640
|
-
var
|
|
2641
|
-
var
|
|
2642
|
-
function
|
|
2647
|
+
var Wu = 92;
|
|
2648
|
+
var Vc = 120;
|
|
2649
|
+
var $u = 40;
|
|
2650
|
+
var _u = 32;
|
|
2651
|
+
var Ku = 48;
|
|
2652
|
+
var Ju = 40;
|
|
2653
|
+
var Uc = 800;
|
|
2654
|
+
function Xu({ overlay: e, outline: t, imageUrl: r, title: a, instructions: o, reviewInstructions: n }) {
|
|
2643
2655
|
let i = (0, ha.useRef)(null);
|
|
2644
2656
|
(0, ha.useEffect)(() => {
|
|
2645
2657
|
let y = Ke(() => {
|
|
@@ -2651,23 +2663,23 @@ var require_main_min = __commonJS({
|
|
|
2651
2663
|
}, 100);
|
|
2652
2664
|
return window.addEventListener("resize", y), () => window.removeEventListener("resize", y);
|
|
2653
2665
|
});
|
|
2654
|
-
let c = (r ?
|
|
2666
|
+
let c = (r ? $u : 0) + (a ? _u : 0) + (o ? Ku : 0), l = (0, J.jsxs)(J.Fragment, { children: [r && (0, J.jsx)("img", { className: "camera-capture-img", src: r, alt: "" }), a && (0, J.jsx)("h4", { className: "camera-capture-title", children: a }), o && (0, J.jsx)("small", { className: "camera-capture-instructions", children: o })] }), m = Wu + c;
|
|
2655
2667
|
if (n) {
|
|
2656
|
-
c = m -
|
|
2657
|
-
let y =
|
|
2668
|
+
c = m - Vc, l = (0, J.jsx)("small", { className: "camera-capture-instructions", children: n });
|
|
2669
|
+
let y = Vc + Ju;
|
|
2658
2670
|
m < y && (l = (0, J.jsx)(J.Fragment, {}));
|
|
2659
2671
|
}
|
|
2660
|
-
let p = { x: "50%", y: "5%", width: `min(90%, ${
|
|
2672
|
+
let p = { x: "50%", y: "5%", width: `min(90%, ${Uc}px)`, height: `calc(90% - ${m}px)`, style: { transform: `translateX(max(-45%, -${Uc / 2}px))` } }, h = { style: { left: "5%", top: `calc(100% - ${m}px - 5%)`, height: `calc(${c}px + 5%)`, width: "90%" } };
|
|
2661
2673
|
return (0, J.jsxs)("svg", { ref: i, xmlns: "http://www.w3.org/2000/svg", children: [(0, J.jsx)("defs", { children: (0, J.jsxs)("mask", { id: "mask", children: [(0, J.jsx)("rect", { width: "100%", height: "100%", fill: "#fff" }), (0, J.jsx)("image", s({ href: e }, p))] }) }), e && (0, J.jsx)("rect", { width: "100%", height: "100%", mask: "url(#mask)", fillOpacity: "0.72" }), t && (0, J.jsx)("image", s({ href: t }, p)), (0, J.jsx)("foreignObject", { width: "100%", height: "100%", children: (0, J.jsx)("div", C(s({ className: "camera-capture-text-and-image-container" }, h), { children: l })) })] });
|
|
2662
2674
|
}
|
|
2663
|
-
var $o =
|
|
2675
|
+
var $o = Xu;
|
|
2664
2676
|
var ye = require("react/jsx-runtime");
|
|
2665
|
-
function
|
|
2666
|
-
let [m, p] = (0, oe.useState)("CAPTURE"), [h, y] = (0, oe.useState)(), [u, d] = (0, oe.useState)(false), [f, w] = (0, oe.useState)(false), [S, F] = (0, oe.useState)(), g = (0, oe.useRef)(null), { videoConstraints: v } =
|
|
2667
|
-
var W, X, ke, nt,
|
|
2677
|
+
function Yu({ direction: e = "back", overlay: t = "", outline: r = "", imageUrl: a = "", title: o = "", instructions: n = "", showReview: i = false, onCapture: c, onEvent: l }) {
|
|
2678
|
+
let [m, p] = (0, oe.useState)("CAPTURE"), [h, y] = (0, oe.useState)(), [u, d] = (0, oe.useState)(false), [f, w] = (0, oe.useState)(false), [S, F] = (0, oe.useState)(), g = (0, oe.useRef)(null), { videoConstraints: v } = jc(e), O = (0, oe.useMemo)(() => !!(Yn() && m === "CAPTURE"), [m]), { enterFullScreen: x, exitFullScreen: M } = zc(O, l), E = (0, Hc.useIntl)(), P = (0, oe.useCallback)(async () => {
|
|
2679
|
+
var W, X, ke, nt, br, xr;
|
|
2668
2680
|
if ((W = g == null ? void 0 : g.current) != null && W.video && ((ke = (X = g == null ? void 0 : g.current) == null ? void 0 : X.video) == null ? void 0 : ke.readyState) >= 3) {
|
|
2669
|
-
(
|
|
2670
|
-
let it = await
|
|
2681
|
+
(br = (nt = g == null ? void 0 : g.current) == null ? void 0 : nt.video) == null || br.pause();
|
|
2682
|
+
let it = await Ic((xr = g == null ? void 0 : g.current) == null ? void 0 : xr.video);
|
|
2671
2683
|
it == null || it.toBlob((xt) => {
|
|
2672
2684
|
if (xt)
|
|
2673
2685
|
if (i) {
|
|
@@ -2692,7 +2704,7 @@ var require_main_min = __commonJS({
|
|
|
2692
2704
|
}
|
|
2693
2705
|
y({ title: E.formatMessage(pe.cameraNotSupportedTitle), description: E.formatMessage(pe.cameraNotSupportedParagraph) }), ya("Dynamic Flow - Camera Not Supported", l, W);
|
|
2694
2706
|
}, [E, l]), U = (0, oe.useCallback)((W) => {
|
|
2695
|
-
x(), w(true), d(
|
|
2707
|
+
x(), w(true), d(kc(W)), Rc(l, { direction: e }, W);
|
|
2696
2708
|
}, [d, l, e, x]), ee = () => {
|
|
2697
2709
|
c((S == null ? void 0 : S.blob) || null);
|
|
2698
2710
|
}, A = () => {
|
|
@@ -2701,49 +2713,49 @@ var require_main_min = __commonJS({
|
|
|
2701
2713
|
(0, oe.useEffect)(() => {
|
|
2702
2714
|
m !== "CAPTURE" && M();
|
|
2703
2715
|
}, [m, M]);
|
|
2704
|
-
let k = (0, ye.jsxs)("div", { className: "camera-capture", children: [v && (0, ye.jsx)(
|
|
2716
|
+
let k = (0, ye.jsxs)("div", { className: "camera-capture", children: [v && (0, ye.jsx)(qc.default, { ref: g, audio: false, videoConstraints: v, mirrored: u, onUserMediaError: D, onUserMedia: U }), (0, ye.jsx)($o, { overlay: t, outline: r, imageUrl: a, title: o, instructions: n }), O && (0, ye.jsx)(Ho, {}), f && (0, ye.jsx)(Vo, { onCapture: () => {
|
|
2705
2717
|
P();
|
|
2706
2718
|
} })] }), ie = (0, ye.jsxs)("div", { className: "camera-capture", children: [(0, ye.jsx)("img", { className: "review-image", src: S == null ? void 0 : S.source, alt: "" }), (0, ye.jsx)($o, { overlay: t, imageUrl: a, title: o, instructions: n, reviewInstructions: E.formatMessage(pe.reviewInstructions) }), (0, ye.jsx)(Uo, { onSubmit: ee, onRetry: A })] });
|
|
2707
2719
|
return (0, ye.jsxs)("section", { children: [m === "CAPTURE" && k, m === "REVIEW" && ie, m === "ERROR" && h && (0, ye.jsx)(qo, s({}, h))] });
|
|
2708
2720
|
}
|
|
2709
|
-
var _o =
|
|
2710
|
-
var
|
|
2711
|
-
function
|
|
2721
|
+
var _o = Yu;
|
|
2722
|
+
var Wc = require("react/jsx-runtime");
|
|
2723
|
+
function Zu(e) {
|
|
2712
2724
|
return new Promise((t, r) => {
|
|
2713
2725
|
let a = new FileReader();
|
|
2714
2726
|
a.onloadend = () => t(a.result), a.readAsDataURL(e);
|
|
2715
2727
|
});
|
|
2716
2728
|
}
|
|
2717
|
-
function
|
|
2718
|
-
let { step: t, model: r, onModelChange: a, onAction: o } = e, n = re(), i =
|
|
2729
|
+
function Qu(e) {
|
|
2730
|
+
let { step: t, model: r, onModelChange: a, onAction: o } = e, n = re(), i = Gc(t), c = ep(t), l = tp(t), { title: m, image: p, cameraConfig: h } = c, { assets: y, direction: u, instructions: d } = h || {}, { overlay: f, outline: w } = y || {}, { url: S } = p || {}, [F, g] = (0, ga.useState)(false);
|
|
2719
2731
|
(0, ga.useEffect)(() => {
|
|
2720
2732
|
F && o(l);
|
|
2721
2733
|
}, [r]);
|
|
2722
2734
|
let v = async (O) => {
|
|
2723
2735
|
let { $id: x } = c;
|
|
2724
2736
|
if (O) {
|
|
2725
|
-
let M = await
|
|
2737
|
+
let M = await Zu(O), E = { [x || ""]: M };
|
|
2726
2738
|
g(true), a({ model: E, formSchema: i, triggerModel: M, triggerSchema: c });
|
|
2727
2739
|
}
|
|
2728
2740
|
};
|
|
2729
|
-
return (0,
|
|
2741
|
+
return (0, Wc.jsx)(_o, { overlay: f, outline: w, title: m, imageUrl: S, instructions: d, direction: u, onEvent: n, onCapture: (O) => {
|
|
2730
2742
|
v(O);
|
|
2731
2743
|
} });
|
|
2732
2744
|
}
|
|
2733
|
-
var wa =
|
|
2734
|
-
function
|
|
2745
|
+
var wa = Qu;
|
|
2746
|
+
function Gc(e) {
|
|
2735
2747
|
let r = zr(e.schemas || [])[0];
|
|
2736
2748
|
if (!r || !Le(r))
|
|
2737
2749
|
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...");
|
|
2738
2750
|
return r;
|
|
2739
2751
|
}
|
|
2740
|
-
function
|
|
2741
|
-
let t =
|
|
2752
|
+
function ep(e) {
|
|
2753
|
+
let t = Gc(e), r = Object.values(t.properties)[0];
|
|
2742
2754
|
if (!r)
|
|
2743
2755
|
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...");
|
|
2744
2756
|
return r;
|
|
2745
2757
|
}
|
|
2746
|
-
function
|
|
2758
|
+
function tp(e) {
|
|
2747
2759
|
var t, r;
|
|
2748
2760
|
if (!e.schemas || ((t = zr(e.schemas)) == null ? void 0 : t.length) !== 1)
|
|
2749
2761
|
throw new Error("camera step expects 1 non-hidden object schema");
|
|
@@ -2751,72 +2763,72 @@ var require_main_min = __commonJS({
|
|
|
2751
2763
|
throw new Error("camera step expects 1 action");
|
|
2752
2764
|
return e.actions[0];
|
|
2753
2765
|
}
|
|
2754
|
-
var
|
|
2755
|
-
var
|
|
2756
|
-
var
|
|
2757
|
-
var
|
|
2758
|
-
var
|
|
2766
|
+
var Kc = require("react-intl");
|
|
2767
|
+
var $c = require("react-intl");
|
|
2768
|
+
var Cr = (0, $c.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." } });
|
|
2769
|
+
var Jc = require("react/jsx-runtime");
|
|
2770
|
+
var _c = () => {
|
|
2759
2771
|
};
|
|
2760
|
-
var
|
|
2761
|
-
let { formatMessage: r } = (0,
|
|
2762
|
-
return (0,
|
|
2772
|
+
var rp = ({ url: e, onClose: t }) => {
|
|
2773
|
+
let { formatMessage: r } = (0, Kc.useIntl)();
|
|
2774
|
+
return (0, Jc.jsx)(ne, { components: [{ type: "box", width: "lg", components: [{ type: "heading", text: r(Cr.title), size: "lg", align: "center", margin: "xl" }, { type: "info", markdown: r(Cr.description, { origin: ap(e) }), align: "center", margin: "xl" }, { type: "box", width: "md", components: [{ type: "button", action: { title: r(Cr.open), type: "primary", url: e, exit: true } }, { type: "button", action: { title: r(Cr.cancel), type: "link", url: "", exit: true } }] }] }], submitted: false, onAction: (a) => {
|
|
2763
2775
|
a.url && window.open(a.url, "_blank"), t();
|
|
2764
|
-
}, onModelChange:
|
|
2776
|
+
}, onModelChange: _c, onPersistAsync: _c });
|
|
2765
2777
|
};
|
|
2766
|
-
var Ca =
|
|
2767
|
-
function
|
|
2778
|
+
var Ca = rp;
|
|
2779
|
+
function ap(e) {
|
|
2768
2780
|
try {
|
|
2769
2781
|
return new URL(e).origin;
|
|
2770
2782
|
} catch (t) {
|
|
2771
2783
|
return e;
|
|
2772
2784
|
}
|
|
2773
2785
|
}
|
|
2774
|
-
var
|
|
2775
|
-
var
|
|
2776
|
-
var
|
|
2777
|
-
function
|
|
2778
|
-
return (0,
|
|
2786
|
+
var Xc = require("@transferwise/components");
|
|
2787
|
+
var Yc = require("@transferwise/icons");
|
|
2788
|
+
var Jt = require("react/jsx-runtime");
|
|
2789
|
+
function op({ title: e, action: t, onAction: r }) {
|
|
2790
|
+
return (0, Jt.jsxs)("a", { href: "/", className: "df-back-btn", "aria-label": e, onClick: (a) => {
|
|
2779
2791
|
a.preventDefault(), r(C(s({}, t), { skipValidation: true }));
|
|
2780
|
-
}, children: [(0,
|
|
2792
|
+
}, children: [(0, Jt.jsx)("span", { className: "sr-only", children: e }), (0, Jt.jsx)(Xc.Avatar, { type: "icon", children: (0, Jt.jsx)(Yc.ArrowLeft, { size: "24" }) })] });
|
|
2781
2793
|
}
|
|
2782
|
-
var
|
|
2794
|
+
var Zc = op;
|
|
2783
2795
|
var Pe = require("react/jsx-runtime");
|
|
2784
2796
|
function Kr(e) {
|
|
2785
2797
|
var l, m, p;
|
|
2786
2798
|
let { step: t, globalError: r, onAction: a } = e, o = (l = t == null ? void 0 : t.external) == null ? void 0 : l.url, n = ((m = t == null ? void 0 : t.navigation) == null ? void 0 : m.back) || ((p = t == null ? void 0 : t.navigation) == null ? void 0 : p.backButton), { requiresManualTrigger: i, dismissConfirmation: c } = ei(o);
|
|
2787
|
-
return t === void 0 ? r ? (0, Pe.jsx)(se, { component: { context: "negative", markdown: r, margin: "lg" } }) : null : o && i ? (0, Pe.jsx)(Ca, { url: o, onClose: c }) : Jn(t) ? (0, Pe.jsx)(wa, C(s({}, e), { step: t })) : (0, Pe.jsxs)(Pe.Fragment, { children: [n && (0, Pe.jsx)(
|
|
2799
|
+
return t === void 0 ? r ? (0, Pe.jsx)(se, { component: { context: "negative", markdown: r, margin: "lg" } }) : null : o && i ? (0, Pe.jsx)(Ca, { url: o, onClose: c }) : Jn(t) ? (0, Pe.jsx)(wa, C(s({}, e), { step: t })) : (0, Pe.jsxs)(Pe.Fragment, { children: [n && (0, Pe.jsx)(Zc, C(s({}, n), { onAction: a })), r ? (0, Pe.jsx)(se, { component: { context: "negative", markdown: r, margin: "lg" } }) : null, (0, Pe.jsx)(ua, C(s({}, e), { stepSpecification: t }))] });
|
|
2788
2800
|
}
|
|
2789
|
-
var
|
|
2790
|
-
var
|
|
2791
|
-
function
|
|
2792
|
-
let t = (0,
|
|
2801
|
+
var Qc = require("react");
|
|
2802
|
+
var np = 1e3;
|
|
2803
|
+
function em(e) {
|
|
2804
|
+
let t = (0, Qc.useRef)(/* @__PURE__ */ new Map()), r = (a) => {
|
|
2793
2805
|
if (t.current.has(a))
|
|
2794
2806
|
return t.current.get(a);
|
|
2795
|
-
let o = Ke((n, i, c) => e(n, i, c),
|
|
2807
|
+
let o = Ke((n, i, c) => e(n, i, c), np);
|
|
2796
2808
|
return t.current.set(a, o), o;
|
|
2797
2809
|
};
|
|
2798
2810
|
return function(a, o, n, i) {
|
|
2799
2811
|
let c = r(a);
|
|
2800
|
-
c(a, o, n), (!i || !
|
|
2812
|
+
c(a, o, n), (!i || !ip(i)) && c.flush();
|
|
2801
2813
|
};
|
|
2802
2814
|
}
|
|
2803
|
-
var
|
|
2804
|
-
var
|
|
2805
|
-
var
|
|
2815
|
+
var ip = (e) => dt(e) === "basic" && e.type !== "boolean" && e.format !== "base64url";
|
|
2816
|
+
var Xt = require("react");
|
|
2817
|
+
var am = (e) => {
|
|
2806
2818
|
var u, d;
|
|
2807
|
-
let [t, r] = (0,
|
|
2819
|
+
let [t, r] = (0, Xt.useState)((u = e == null ? void 0 : e.errors) == null ? void 0 : u.validation), [a, o] = (0, Xt.useState)((d = e == null ? void 0 : e.errors) == null ? void 0 : d.error), [n, i] = (0, Xt.useState)({ step: e || void 0, models: e != null && e.model ? tm(e.model, rm(e)) : {}, etag: void 0 }), { step: c, models: l, etag: m } = n, p = (f, w) => {
|
|
2808
2820
|
var S, F, g, v;
|
|
2809
|
-
i((O) => ({ step: f, models: f.model ?
|
|
2821
|
+
i((O) => ({ step: f, models: f.model ? tm(f.model, rm(f)) : O.models, etag: w })), r((F = (S = f == null ? void 0 : f.errors) == null ? void 0 : S.validation) != null ? F : null), o((v = (g = f == null ? void 0 : f.errors) == null ? void 0 : g.error) != null ? v : null);
|
|
2810
2822
|
}, h = (f, w, S) => {
|
|
2811
2823
|
i((F) => {
|
|
2812
2824
|
let g = C(s({}, F.models), { [f]: w }), v = { step: F.step, models: g, etag: F.etag };
|
|
2813
2825
|
return S(g), v;
|
|
2814
2826
|
});
|
|
2815
|
-
}, y = (0,
|
|
2827
|
+
}, y = (0, Xt.useMemo)(() => cp(l, sp(c)), [l, c]);
|
|
2816
2828
|
return { formErrors: t, globalError: a, step: c, models: l, etag: m, modelIsValid: y, setFormErrors: r, setGlobalError: o, setStepAndEtag: p, setSchemaModel: h };
|
|
2817
2829
|
};
|
|
2818
|
-
var
|
|
2819
|
-
var
|
|
2830
|
+
var tm = (e, t = []) => t.reduce((r, a) => (a.$id || console.warn("Schema without $id property found."), C(s({}, r), { [a.$id || ""]: ce(e, a) || {} })), {});
|
|
2831
|
+
var rm = (e) => [...Sa((e == null ? void 0 : e.layout) || []), ...(e == null ? void 0 : e.schemas) || []];
|
|
2820
2832
|
var Sa = (e) => e.flatMap((t) => {
|
|
2821
2833
|
switch (t.type) {
|
|
2822
2834
|
case "columns":
|
|
@@ -2824,12 +2836,12 @@ var require_main_min = __commonJS({
|
|
|
2824
2836
|
case "box":
|
|
2825
2837
|
return Sa(t.components);
|
|
2826
2838
|
case "form":
|
|
2827
|
-
return
|
|
2839
|
+
return om(t.schema) ? [t.schema] : [];
|
|
2828
2840
|
default:
|
|
2829
2841
|
return [];
|
|
2830
2842
|
}
|
|
2831
2843
|
});
|
|
2832
|
-
var
|
|
2844
|
+
var sp = (e) => [...Ko((e == null ? void 0 : e.layout) || []).map((t) => ((e == null ? void 0 : e.schemas) || []).find((r) => r.$id === t)).filter(Boolean), ...Sa((e == null ? void 0 : e.layout) || [])];
|
|
2833
2845
|
var Ko = (e) => e.flatMap((t) => {
|
|
2834
2846
|
switch (t.type) {
|
|
2835
2847
|
case "columns":
|
|
@@ -2837,33 +2849,33 @@ var require_main_min = __commonJS({
|
|
|
2837
2849
|
case "box":
|
|
2838
2850
|
return Ko(t.components);
|
|
2839
2851
|
case "form":
|
|
2840
|
-
return [
|
|
2852
|
+
return [mp(t)];
|
|
2841
2853
|
default:
|
|
2842
2854
|
return [];
|
|
2843
2855
|
}
|
|
2844
2856
|
}).filter(Boolean);
|
|
2845
|
-
var
|
|
2846
|
-
var
|
|
2847
|
-
var
|
|
2857
|
+
var cp = (e, t = []) => !(t != null && t.some((r) => (r.$id || console.warn("Schema without $id property found."), !G(e[r.$id || ""] || {}, r))));
|
|
2858
|
+
var mp = (e) => e.schema && !om(e.schema) ? e.schema.$ref : e.schemaId;
|
|
2859
|
+
var om = (e) => e !== void 0 && typeof e == "object" && !Object.hasOwnProperty.call(e, "$ref");
|
|
2848
2860
|
var Fa = require("@transferwise/components");
|
|
2849
|
-
var
|
|
2850
|
-
var
|
|
2851
|
-
function
|
|
2852
|
-
let r = s({ size: Fa.Size.EXTRA_LARGE, initial: true, submission: false }, e), [a, o] = (0,
|
|
2861
|
+
var nm = require("react");
|
|
2862
|
+
var sm = require("react/jsx-runtime");
|
|
2863
|
+
function im(e, t) {
|
|
2864
|
+
let r = s({ size: Fa.Size.EXTRA_LARGE, initial: true, submission: false }, e), [a, o] = (0, nm.useState)(t), i = r.initial && a === "initial" || r.submission && a === "submission" ? (0, sm.jsx)(Fa.Loader, { size: r.size, classNames: { "tw-loader": "tw-loader m-x-auto" }, "data-testid": "loader" }) : null;
|
|
2853
2865
|
return { isLoading: a !== "idle", setLoadingState: o, loader: i };
|
|
2854
2866
|
}
|
|
2855
|
-
var
|
|
2867
|
+
var dm = require("react");
|
|
2856
2868
|
var ba = require("@transferwise/components");
|
|
2857
|
-
var
|
|
2858
|
-
var
|
|
2859
|
-
function
|
|
2860
|
-
let { formatMessage: t } = (0,
|
|
2861
|
-
return (0,
|
|
2869
|
+
var cm = require("react-intl");
|
|
2870
|
+
var lm = require("react/jsx-runtime");
|
|
2871
|
+
function mm({ onDismiss: e }) {
|
|
2872
|
+
let { formatMessage: t } = (0, cm.useIntl)();
|
|
2873
|
+
return (0, lm.jsx)(ba.Alert, { action: { text: t(Wt.retry), href: window.location.href }, message: t(Wt.errorAlert), type: ba.Sentiment.NEGATIVE, className: "m-b-3", onDismiss: e });
|
|
2862
2874
|
}
|
|
2863
|
-
var
|
|
2864
|
-
var
|
|
2875
|
+
var Yt = require("react/jsx-runtime");
|
|
2876
|
+
var lp = () => {
|
|
2865
2877
|
};
|
|
2866
|
-
var Jo = class extends
|
|
2878
|
+
var Jo = class extends dm.Component {
|
|
2867
2879
|
constructor(r) {
|
|
2868
2880
|
super(r);
|
|
2869
2881
|
this.handleErrorReset = () => {
|
|
@@ -2875,36 +2887,36 @@ var require_main_min = __commonJS({
|
|
|
2875
2887
|
return { hasError: true, isFatalError: true };
|
|
2876
2888
|
}
|
|
2877
2889
|
componentDidCatch(r) {
|
|
2878
|
-
let { onError: a =
|
|
2890
|
+
let { onError: a = lp } = this.props;
|
|
2879
2891
|
a(r);
|
|
2880
2892
|
}
|
|
2881
2893
|
render() {
|
|
2882
2894
|
let { children: r } = this.props, { hasError: a, isFatalError: o } = this.state;
|
|
2883
|
-
return (0,
|
|
2895
|
+
return (0, Yt.jsxs)(Yt.Fragment, { children: [a && (0, Yt.jsx)(mm, { onDismiss: this.handleErrorReset }), !o && r] });
|
|
2884
2896
|
}
|
|
2885
2897
|
};
|
|
2886
2898
|
var Xo = Jo;
|
|
2887
|
-
var
|
|
2899
|
+
var um = async (e, t) => {
|
|
2888
2900
|
switch (t) {
|
|
2889
2901
|
case "step":
|
|
2890
|
-
return
|
|
2902
|
+
return pm(e);
|
|
2891
2903
|
case "exit":
|
|
2892
|
-
return hm(e);
|
|
2893
|
-
case "action":
|
|
2894
2904
|
return fm(e);
|
|
2905
|
+
case "action":
|
|
2906
|
+
return ym(e);
|
|
2895
2907
|
default:
|
|
2896
2908
|
throw new Error("Unsupported X-Df-Response-Type. Allowed values are 'step', 'action', 'exit'.");
|
|
2897
2909
|
}
|
|
2898
2910
|
};
|
|
2899
|
-
var
|
|
2900
|
-
let t = await
|
|
2911
|
+
var pm = async (e) => {
|
|
2912
|
+
let t = await Sr(e);
|
|
2901
2913
|
if (!R(t))
|
|
2902
2914
|
throw new Error("Incorrect response body in response. Expected an object.");
|
|
2903
2915
|
let r = e.headers.get("etag") || void 0;
|
|
2904
2916
|
return { type: "step", step: t, etag: r };
|
|
2905
2917
|
};
|
|
2906
|
-
var
|
|
2907
|
-
let t = await
|
|
2918
|
+
var ym = async (e) => {
|
|
2919
|
+
let t = await Sr(e);
|
|
2908
2920
|
if (!R(t))
|
|
2909
2921
|
throw new Error("Incorrect response body in response. Expected an object.");
|
|
2910
2922
|
if (!R(t.action))
|
|
@@ -2912,25 +2924,25 @@ var require_main_min = __commonJS({
|
|
|
2912
2924
|
let r = t.action;
|
|
2913
2925
|
return r.exit === true && R(r.result) ? { type: "exit", result: r.result } : { type: "action", action: t.action };
|
|
2914
2926
|
};
|
|
2915
|
-
var
|
|
2916
|
-
var
|
|
2927
|
+
var fm = async (e) => ({ type: "exit", result: await Yo(e) });
|
|
2928
|
+
var hm = async (e) => {
|
|
2917
2929
|
var r, a, o;
|
|
2918
2930
|
if (Zo(e), (r = e.headers) != null && r.has("X-Df-Response-Type")) {
|
|
2919
2931
|
let n = e.headers.get("X-Df-Response-Type");
|
|
2920
|
-
return
|
|
2932
|
+
return um(e, n);
|
|
2921
2933
|
}
|
|
2922
2934
|
if ((a = e.headers) != null && a.has("X-Df-ResponseType")) {
|
|
2923
2935
|
let n = e.headers.get("X-Df-ResponseType");
|
|
2924
|
-
return
|
|
2936
|
+
return um(e, n);
|
|
2925
2937
|
}
|
|
2926
2938
|
if ((o = e.headers) != null && o.has("X-Df-Exit"))
|
|
2927
|
-
return
|
|
2928
|
-
let t = await
|
|
2929
|
-
return R(t) && t.action ?
|
|
2939
|
+
return fm(e);
|
|
2940
|
+
let t = await Sr(e.clone());
|
|
2941
|
+
return R(t) && t.action ? ym(e) : pm(e);
|
|
2930
2942
|
};
|
|
2931
|
-
var
|
|
2943
|
+
var gm = async (e) => {
|
|
2932
2944
|
Zo(e);
|
|
2933
|
-
let t = await
|
|
2945
|
+
let t = await Sr(e);
|
|
2934
2946
|
if (!R(t))
|
|
2935
2947
|
throw new Error("Incorrect response body in error response. Expected an object.");
|
|
2936
2948
|
if (!t.refreshFormUrl && !t.refreshUrl && !t.validation && !t.error)
|
|
@@ -2939,10 +2951,10 @@ var require_main_min = __commonJS({
|
|
|
2939
2951
|
};
|
|
2940
2952
|
var Yo = async (e) => {
|
|
2941
2953
|
Zo(e);
|
|
2942
|
-
let t = await
|
|
2954
|
+
let t = await Sr(e);
|
|
2943
2955
|
return R(t) ? t : null;
|
|
2944
2956
|
};
|
|
2945
|
-
var
|
|
2957
|
+
var Sr = async (e) => {
|
|
2946
2958
|
try {
|
|
2947
2959
|
return await e.json();
|
|
2948
2960
|
} catch (t) {
|
|
@@ -2950,17 +2962,17 @@ var require_main_min = __commonJS({
|
|
|
2950
2962
|
}
|
|
2951
2963
|
};
|
|
2952
2964
|
var Zo = (e) => {
|
|
2953
|
-
if (!
|
|
2965
|
+
if (!dp(e))
|
|
2954
2966
|
throw new Error("Incorrect type of response from fetch. Expected object of type Response.");
|
|
2955
2967
|
if (e.bodyUsed)
|
|
2956
2968
|
throw new Error("The body of the provided Response object has already been used. Every request must respond with a new Response object.");
|
|
2957
2969
|
};
|
|
2958
|
-
var
|
|
2970
|
+
var dp = (e) => typeof e == "object" && e !== null && "clone" in e && "bodyUsed" in e;
|
|
2959
2971
|
var We = require("react/jsx-runtime");
|
|
2960
|
-
var
|
|
2972
|
+
var wm = () => {
|
|
2961
2973
|
};
|
|
2962
|
-
var
|
|
2963
|
-
let { locale: h } = (0,
|
|
2974
|
+
var up = ({ flowId: e, httpClient: t, initialAction: r, initialStep: a, loaderConfig: o, displayStepTitle: n = true, features: i, onCompletion: c, onError: l, onEvent: m = wm, onLog: p = wm }) => {
|
|
2975
|
+
let { locale: h } = (0, Cm.useIntl)(), { formErrors: y, globalError: u, step: d, models: f, etag: w, modelIsValid: S, setFormErrors: F, setGlobalError: g, setStepAndEtag: v, setSchemaModel: O } = am(a), [x, M] = (0, Me.useState)(false), { isLoading: E, loader: P, setLoadingState: D } = im(o, a ? "idle" : "initial"), U = mt("critical", p, e, (d == null ? void 0 : d.id) || (d == null ? void 0 : d.key)), ee = (0, Me.useMemo)(() => {
|
|
2964
2976
|
var b;
|
|
2965
2977
|
return s({ flowId: e, stepId: (d == null ? void 0 : d.id) || (d == null ? void 0 : d.key) }, (b = d == null ? void 0 : d.analytics) != null ? b : {});
|
|
2966
2978
|
}, [e, d]), A = (0, Me.useMemo)(() => Ea(m, ee), [m, ee]), B = (0, Me.useCallback)(({ action: b, data: q, etag: T }) => {
|
|
@@ -2989,7 +3001,7 @@ var require_main_min = __commonJS({
|
|
|
2989
3001
|
}, W = async (b, q) => {
|
|
2990
3002
|
let T = await Yo(b);
|
|
2991
3003
|
ke(s(s({}, T), q));
|
|
2992
|
-
}, X =
|
|
3004
|
+
}, X = em(ie), ke = (0, Me.useCallback)((b) => {
|
|
2993
3005
|
A("Dynamic Flow - Flow Finished", { result: "success" }), c(b);
|
|
2994
3006
|
}, [c, A]);
|
|
2995
3007
|
(0, Me.useEffect)(() => {
|
|
@@ -3007,34 +3019,34 @@ var require_main_min = __commonJS({
|
|
|
3007
3019
|
return;
|
|
3008
3020
|
}
|
|
3009
3021
|
if (!b.ok) {
|
|
3010
|
-
let te = await
|
|
3011
|
-
|
|
3022
|
+
let te = await gm(b);
|
|
3023
|
+
xr(te);
|
|
3012
3024
|
return;
|
|
3013
3025
|
}
|
|
3014
|
-
let T = await
|
|
3015
|
-
T.type === "action" ? k(T.action, T.action.data) : T.type === "exit" ? ke(T.result) :
|
|
3026
|
+
let T = await hm(b);
|
|
3027
|
+
T.type === "action" ? k(T.action, T.action.data) : T.type === "exit" ? ke(T.result) : br(T.step, T.etag, q);
|
|
3016
3028
|
} catch (T) {
|
|
3017
3029
|
it(T, "Error parsing fetch response", q, b.status);
|
|
3018
3030
|
}
|
|
3019
|
-
},
|
|
3031
|
+
}, br = (b, q, T) => {
|
|
3020
3032
|
v(b, q), D("idle"), T === "submission" ? (M(false), A("Dynamic Flow - Step Started", s({ stepId: b.id || b.key }, b == null ? void 0 : b.analytics))) : A("Dynamic Flow - Step Refreshed", { status: "success" });
|
|
3021
|
-
},
|
|
3033
|
+
}, xr = async (b) => {
|
|
3022
3034
|
let q = b.refreshUrl || b.refreshFormUrl;
|
|
3023
3035
|
q && await ie(q, xa(f), w), b.validation && F(b.validation), b.error && g(b.error), D("idle");
|
|
3024
3036
|
}, it = (b, q, T, te) => {
|
|
3025
3037
|
U("Error fetching", q), T === "refresh" && A("Dynamic Flow - Step Refreshed", { status: "failure" }), A("Dynamic Flow - Flow Finished", { status: "failure" }), l(b, te), D("idle");
|
|
3026
3038
|
}, xt = (b) => {
|
|
3027
3039
|
let { model: q, formSchema: T } = b, { $id: te = "" } = T;
|
|
3028
|
-
g(null), $(q) || U("Invalid model on change", "onModelChange was called but the model argument is not an object"), O(te, q, (
|
|
3029
|
-
va(b,
|
|
3040
|
+
g(null), $(q) || U("Invalid model on change", "onModelChange was called but the model argument is not an object"), O(te, q, (vr) => {
|
|
3041
|
+
va(b, vr);
|
|
3030
3042
|
});
|
|
3031
3043
|
}, va = (b, q) => {
|
|
3032
3044
|
let { triggerSchema: T } = b;
|
|
3033
|
-
if (
|
|
3034
|
-
let te = T.refreshUrl || T.refreshFormUrl, st = (d == null ? void 0 : d.refreshUrl) || (d == null ? void 0 : d.refreshFormUrl),
|
|
3035
|
-
|
|
3045
|
+
if (fp(b)) {
|
|
3046
|
+
let te = T.refreshUrl || T.refreshFormUrl, st = (d == null ? void 0 : d.refreshUrl) || (d == null ? void 0 : d.refreshFormUrl), vr = te || st;
|
|
3047
|
+
vr && X(vr, xa(q), w, T);
|
|
3036
3048
|
}
|
|
3037
|
-
},
|
|
3049
|
+
}, Bm = async (b) => {
|
|
3038
3050
|
if (E || b.disabled)
|
|
3039
3051
|
return;
|
|
3040
3052
|
if (b.exit && !b.url) {
|
|
@@ -3042,48 +3054,48 @@ var require_main_min = __commonJS({
|
|
|
3042
3054
|
return;
|
|
3043
3055
|
}
|
|
3044
3056
|
let { data: q, method: T, skipValidation: te } = b, st = s(s({}, xa(f)), q);
|
|
3045
|
-
|
|
3057
|
+
yp(T) ? (F(null), te || M(true), (S || te) && await k(b, st)) : await k(b);
|
|
3046
3058
|
};
|
|
3047
3059
|
return (0, We.jsx)(Dr, { flowId: e, stepId: (d == null ? void 0 : d.id) || (d == null ? void 0 : d.key), onLog: p, children: (0, We.jsx)(Mr, { metadata: ee, onEvent: m, children: (0, We.jsx)(pn, { loading: E, children: (0, We.jsx)(gn, { httpClient: t, children: (0, We.jsx)(Fn, { features: i, children: P !== null ? P : (0, We.jsx)(Kr, { step: d, model: xa(f), submitted: x, globalError: u, formErrors: y, stepLayoutOptions: { displayStepTitle: n }, onAction: (b) => {
|
|
3048
|
-
|
|
3060
|
+
Bm(b);
|
|
3049
3061
|
}, onModelChange: xt }) }) }) }) }) });
|
|
3050
3062
|
};
|
|
3051
|
-
function
|
|
3052
|
-
return (0, We.jsx)(Xo, { onError: e.onError, children: (0, We.jsx)(
|
|
3063
|
+
function pp(e) {
|
|
3064
|
+
return (0, We.jsx)(Xo, { onError: e.onError, children: (0, We.jsx)(up, s({}, e)) });
|
|
3053
3065
|
}
|
|
3054
|
-
var Qo =
|
|
3066
|
+
var Qo = pp;
|
|
3055
3067
|
var xa = (e) => Object.values(e).reduce((t, r) => s(s({}, t), r), {});
|
|
3056
|
-
var
|
|
3057
|
-
var
|
|
3068
|
+
var yp = (e = "POST") => ["POST", "PUT", "PATCH"].includes(e.toUpperCase());
|
|
3069
|
+
var fp = (e) => {
|
|
3058
3070
|
let { type: t, triggerSchema: r, triggerModel: a, lastTriggerModel: o = null } = e, n = () => G(a, r), i = () => G(o, r), c = (r == null ? void 0 : r.refreshStepOnChange) || (r == null ? void 0 : r.refreshFormOnChange);
|
|
3059
3071
|
return t !== "init" && c && (n() || i());
|
|
3060
3072
|
};
|
|
3061
|
-
var
|
|
3062
|
-
function
|
|
3063
|
-
let t = s({ model: null, errors: null }, e), { baseUrl: r = "", onEvent: a =
|
|
3064
|
-
return (0,
|
|
3065
|
-
}
|
|
3066
|
-
var en =
|
|
3067
|
-
var
|
|
3068
|
-
};
|
|
3069
|
-
var
|
|
3070
|
-
var
|
|
3071
|
-
var
|
|
3072
|
-
var
|
|
3073
|
-
var
|
|
3074
|
-
var
|
|
3075
|
-
var
|
|
3076
|
-
var
|
|
3077
|
-
var
|
|
3078
|
-
var
|
|
3079
|
-
var
|
|
3080
|
-
var Lm = { "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.CameraConnectionIssue.action": "\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u043F\u043E\u043F\u044B\u0442\u043A\u0443", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435, \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0430 \u043B\u0438 \u043A\u0430\u043C\u0435\u0440\u0430, \u0438 \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0435 \u043F\u043E\u043F\u044B\u0442\u043A\u0443.", "dynamicFlows.CameraCapture.CameraConnectionIssue.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.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.CameraCapture.rotatePhone.text": "\u041F\u043E\u0432\u0435\u0440\u043D\u0438\u0442\u0435 \u0442\u0435\u043B\u0435\u0444\u043E\u043D \u0432 \u043F\u043E\u0440\u0442\u0440\u0435\u0442\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C, \u0447\u0442\u043E\u0431\u044B \u0441\u0434\u0435\u043B\u0430\u0442\u044C \u0444\u043E\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u044E", "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.DefaultErrorMessages.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.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" };
|
|
3081
|
-
var
|
|
3082
|
-
var
|
|
3073
|
+
var Fr = require("react/jsx-runtime");
|
|
3074
|
+
function hp(e) {
|
|
3075
|
+
let t = s({ model: null, errors: null }, e), { baseUrl: r = "", onEvent: a = Sm, onLog: o = Sm } = e;
|
|
3076
|
+
return (0, Fr.jsx)(Dr, { flowId: "JsonSchemaForm", stepId: "JsonSchemaForm", onLog: o, children: (0, Fr.jsx)(Mr, { metadata: { flowId: "JsonSchemaForm", stepId: "JsonSchemaForm" }, onEvent: a, children: (0, Fr.jsx)(Ir, { baseUrl: r, children: (0, Fr.jsx)(me, s({}, t)) }) }) });
|
|
3077
|
+
}
|
|
3078
|
+
var en = hp;
|
|
3079
|
+
var Sm = () => {
|
|
3080
|
+
};
|
|
3081
|
+
var Fm = { "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.CameraConnectionIssue.action": "Erneut versuchen", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "Bitte pr\xFCfe, ob deine Kamera verbunden ist, und versuche es dann erneut.", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "Wir k\xF6nnen nicht auf deine Kamera zugreifen", "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.CameraCapture.rotatePhone.text": "Drehe dein Ger\xE4t in die Hochformatansicht, um ein Foto aufzunehmen", "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.DefaultErrorMessages.required": "Bitte f\xFClle dieses Feld aus.", "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" };
|
|
3082
|
+
var bm = { "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.CameraConnectionIssue.action": "Try again", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "Please check if it is connected and try again.", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "We can't access your camera", "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.CameraCapture.rotatePhone.text": "Rotate your phone to portrait view to take a photo", "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.DefaultErrorMessages.required": "Please fill out this field.", "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" };
|
|
3083
|
+
var xm = { "dynamicFlows.ArraySchema.addItem": "Guardar", "dynamicFlows.ArraySchema.addItemTitle": "A\xF1adir elemento", "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.CameraConnectionIssue.action": "Intentar de nuevo", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "Comprueba si est\xE1 conectado e int\xE9ntalo de nuevo.", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "No podemos acceder a tu c\xE1mara", "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.CameraCapture.rotatePhone.text": "Gira el tel\xE9fono a la vista vertical para hacer una foto", "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.DefaultErrorMessages.required": "Completa este campo.", "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" };
|
|
3084
|
+
var vm = { "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.CameraConnectionIssue.action": "R\xE9essayez", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "V\xE9rifiez s'il est connect\xE9 et r\xE9essayez.", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "Nous n'avons pas acc\xE8s \xE0 votre appareil photo", "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.CameraCapture.rotatePhone.text": "Faites pivoter votre t\xE9l\xE9phone vers la vue portrait pour prendre une photo", "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.DefaultErrorMessages.required": "Champ obligatoire.", "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" };
|
|
3085
|
+
var Am = { "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\xE1s", "dynamicFlows.CameraCapture.CameraConnectionIssue.action": "Pr\xF3b\xE1ld \xFAjra", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "Ellen\u0151rizd, hogy csatlakoztatva van-e, \xE9s pr\xF3b\xE1ld \xFAjra.", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "Nem tudunk hozz\xE1f\xE9rni a kamer\xE1dhoz", "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.CameraCapture.rotatePhone.text": "F\xE9nyk\xE9p k\xE9sz\xEDt\xE9s\xE9hez ford\xEDtsd a telefont \xE1ll\xF3 n\xE9zetbe", "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.DefaultErrorMessages.required": "K\xE9r\xFCnk, t\xF6ltsd ki ezt a mez\u0151t.", "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" };
|
|
3086
|
+
var Om = { "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.CameraConnectionIssue.action": "Coba lagi", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "Periksa apakah sudah terhubung dan coba lagi.", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "Kami tidak dapat mengakses kamera Anda", "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.CameraCapture.rotatePhone.text": "Putar ponsel Anda ke tampilan potret untuk mengambil foto", "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.DefaultErrorMessages.required": "Harap isi kolom ini.", "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" };
|
|
3087
|
+
var Pm = { "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.CameraConnectionIssue.action": "Riprova", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "Controlla se la fotocamera \xE8 collegata e riprova.", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "Accesso alla fotocamera disabilitato", "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.CameraCapture.rotatePhone.text": "Ruota il telefono in posizione verticale per scattare una foto", "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.DefaultErrorMessages.required": "Compila questo campo.", "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" };
|
|
3088
|
+
var Mm = { "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.CameraConnectionIssue.action": "\u3084\u308A\u76F4\u3059", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "\u30A4\u30F3\u30BF\u30FC\u30CD\u30C3\u30C8\u63A5\u7D9A\u3092\u78BA\u8A8D\u3057\u3066\u3001\u518D\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "\u30AB\u30E1\u30E9\u3078\u306E\u30A2\u30AF\u30BB\u30B9\u304C\u8A31\u53EF\u3055\u308C\u3066\u3044\u307E\u305B\u3093", "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.CameraCapture.rotatePhone.text": "\u7E26\u9577\u306E\u5199\u771F\u3092\u64AE\u5F71\u3059\u308B\u306B\u306F\u30B9\u30DE\u30FC\u30C8\u30D5\u30A9\u30F3\u3092\u56DE\u8EE2\u3055\u305B\u3066\u304F\u3060\u3055\u3044", "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.DefaultErrorMessages.required": "\u3053\u306E\u9805\u76EE\u306F\u5165\u529B\u5FC5\u9808\u3067\u3059\u3002", "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" };
|
|
3089
|
+
var km = { "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.CameraConnectionIssue.action": "Spr\xF3buj ponownie", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "Sprawd\u017A po\u0142\u0105czenie i spr\xF3buj ponownie.", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "Nie mo\u017Cemy uzyska\u0107 dost\u0119pu do Twojego aparatu", "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.CameraCapture.rotatePhone.text": "Obr\xF3\u0107 sw\xF3j telefon do widoku pionowego, \u017Ceby zrobi\u0107 zdj\u0119cie", "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.DefaultErrorMessages.required": "Prosz\u0119 wype\u0142ni\u0107 to pole.", "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" };
|
|
3090
|
+
var Em = { "dynamicFlows.ArraySchema.addItem": "Salvar", "dynamicFlows.ArraySchema.addItemTitle": "Adicionar 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.CameraConnectionIssue.action": "Tentar novamente", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "Verifique se ele est\xE1 conectado e tente novamente.", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "N\xE3o temos acesso \xE0 sua c\xE2mera", "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.CameraCapture.rotatePhone.text": "Gire o telefone para o modo retrato para tirar uma foto", "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.DefaultErrorMessages.required": "Por favor, preencha o campo.", "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" };
|
|
3091
|
+
var Im = { "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.CameraConnectionIssue.action": "\xCEncearc\u0103 din nou", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "Te rug\u0103m s\u0103 verifici dac\u0103 este conectat\u0103 \u0219i s\u0103 \xEEncerci din nou.", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "Nu \xEE\u021Bi putem accesa camera", "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.CameraCapture.rotatePhone.text": "Rote\u0219te-\u021Bi telefonul \xEEn modul portret pentru a face o fotografie", "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.DefaultErrorMessages.required": "Te rug\u0103m s\u0103 completezi acest spa\u021Biu.", "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" };
|
|
3092
|
+
var Dm = { "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.CameraConnectionIssue.action": "\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u043F\u043E\u043F\u044B\u0442\u043A\u0443", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435, \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0430 \u043B\u0438 \u043A\u0430\u043C\u0435\u0440\u0430, \u0438 \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0435 \u043F\u043E\u043F\u044B\u0442\u043A\u0443.", "dynamicFlows.CameraCapture.CameraConnectionIssue.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.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.CameraCapture.rotatePhone.text": "\u041F\u043E\u0432\u0435\u0440\u043D\u0438\u0442\u0435 \u0442\u0435\u043B\u0435\u0444\u043E\u043D \u0432 \u043F\u043E\u0440\u0442\u0440\u0435\u0442\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C, \u0447\u0442\u043E\u0431\u044B \u0441\u0434\u0435\u043B\u0430\u0442\u044C \u0444\u043E\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u044E", "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.DefaultErrorMessages.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.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" };
|
|
3093
|
+
var Lm = { "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.CameraConnectionIssue.action": "\u0E25\u0E2D\u0E07\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "Please check if it is connected and try again.", "dynamicFlows.CameraCapture.CameraConnectionIssue.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.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.CameraCapture.rotatePhone.text": "Rotate your phone to portrait view to take a photo", "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.DefaultErrorMessages.required": "\u0E42\u0E1B\u0E23\u0E14\u0E43\u0E2A\u0E48\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E43\u0E19\u0E0A\u0E48\u0E2D\u0E07\u0E19\u0E35\u0E49", "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" };
|
|
3094
|
+
var Tm = { "dynamicFlows.ArraySchema.addItem": "Kaydet", "dynamicFlows.ArraySchema.addItemTitle": "\xD6\u011Fe ekle", "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.CameraConnectionIssue.action": "Tekrar deneyin", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "L\xFCtfen ba\u011Fl\u0131 olup olmad\u0131\u011F\u0131n\u0131 kontrol edip tekrar deneyin.", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "Kameran\u0131za eri\u015Femiyoruz", "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.CameraCapture.rotatePhone.text": "Foto\u011Fraf \xE7ekmek i\xE7in telefonunuzu dik pozisyonda tutun", "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.DefaultErrorMessages.required": "L\xFCtfen bu alan\u0131 doldurun.", "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" };
|
|
3083
3095
|
var tn = { "dynamicFlows.ArraySchema.addItem": "\u4FDD\u5B58", "dynamicFlows.ArraySchema.addItemTitle": "\u6DFB\u52A0\u9879\u76EE", "dynamicFlows.ArraySchema.editItem": "\u4FDD\u5B58", "dynamicFlows.ArraySchema.maxItemsError": "\u8BF7\u6DFB\u52A0\u4E0D\u8D85\u8FC7 {maxItems} \u9879\u3002", "dynamicFlows.ArraySchema.minItemsError": "\u8BF7\u81F3\u5C11\u6DFB\u52A0 {minItems} \u9879\u3002", "dynamicFlows.ArraySchema.removeItem": "\u79FB\u9664", "dynamicFlows.CameraCapture.CameraConnectionIssue.action": "\u91CD\u8BD5", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "Please check if it is connected and try again.", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "\u6211\u4EEC\u65E0\u6CD5\u8BBF\u95EE\u60A8\u7684\u6444\u50CF\u5934", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "\u60A8\u76EE\u524D\u4F7F\u7528\u7684\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u6444\u50CF\u5934\u3002\u8BF7\u5C1D\u8BD5\u5176\u4ED6\u6D4F\u89C8\u5668\u3001\u8BBE\u5907\u6216\u4E0B\u8F7D\u6211\u4EEC\u7684\u5E94\u7528\u3002", "dynamicFlows.CameraCapture.CameraNotSupported.title": "\u4E0D\u652F\u6301\u6444\u50CF\u5934", "dynamicFlows.CameraCapture.NoCameraAccess.action": "\u5141\u8BB8\u8BBF\u95EE\u6444\u50CF\u5934", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "\u5728\u6D4F\u89C8\u5668\u8BBE\u7F6E\u4E2D\u542F\u7528\u76F8\u673A\u8BBF\u95EE\u6743\u9650\uFF0C\u518D\u91CD\u65B0\u5C1D\u8BD5\u3002", "dynamicFlows.CameraCapture.NoCameraAccess.title": "\u6211\u4EEC\u65E0\u6CD5\u8BBF\u95EE\u60A8\u7684\u6444\u50CF\u5934", "dynamicFlows.CameraCapture.reviewInstructions": "\u60A8\u7684\u56FE\u7247\u662F\u5426\u6E05\u6670\u3001\u53EF\u8BFB\u548C\u5B8C\u6574\uFF1F", "dynamicFlows.CameraCapture.reviewRetry": "\u5426\uFF0C\u518D\u8BD5\u4E00\u6B21", "dynamicFlows.CameraCapture.reviewSubmit": "\u662F\uFF0C\u63D0\u4EA4", "dynamicFlows.CameraCapture.rotatePhone.text": "\u5C06\u624B\u673A\u65CB\u8F6C\u5230\u7EB5\u5411\u89C6\u56FE\u4EE5\u62CD\u7167", "dynamicFlows.ControlFeedback.maxLength": "\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC7 {maxLength} \u4E2A\u5B57\u7B26\u3002", "dynamicFlows.ControlFeedback.maximum": "\u8BF7\u8F93\u5165\u4E00\u4E2A\u5C0F\u4E8E\u6216\u7B49\u4E8E {maximum} \u7684\u6570\u5B57\u3002", "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\u9519\u8BEF", "dynamicFlows.DefaultErrorMessages.required": "\u8BF7\u586B\u5199\u6B64\u5B57\u6BB5\u3002", "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\u9519\u4E86\u2026", "dynamicFlows.ErrorBoundary.retry": "\u91CD\u8BD5", "dynamicFlows.ExternalConfirmation.cancel": "\u53D6\u6D88", "dynamicFlows.ExternalConfirmation.description": "\u8BF7\u786E\u8BA4\u60A8\u662F\u5426\u8981\u5728\u65B0\u6807\u7B7E\u9875\u4E2D\u6253\u5F00**{origin}**\u3002", "dynamicFlows.ExternalConfirmation.open": "\u5728\u65B0\u6807\u7B7E\u9875\u4E2D\u6253\u5F00", "dynamicFlows.ExternalConfirmation.title": "\u8BF7\u786E\u8BA4", "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\u4E0D\u8D85\u8FC7 {maxItems} \u4E2A\u6587\u4EF6\u3002", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "\u8BF7\u4E0A\u4F20\u81F3\u5C11 {minItems} \u4E2A\u6587\u4EF6\u3002", "dynamicFlows.PersistAsyncSchema.genericError": "\u51FA\u9519\u4E86\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5\uFF01", "dynamicFlows.ReadOnlySchema.no": "\u5426", "dynamicFlows.ReadOnlySchema.yes": "\u662F" };
|
|
3084
|
-
var
|
|
3085
|
-
var
|
|
3086
|
-
var
|
|
3096
|
+
var Rm = { "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.CameraConnectionIssue.action": "\u518D\u8A66\u4E00\u6B21", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "Please check if it is connected and try again.", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "\u6211\u5011\u7121\u6CD5\u53D6\u7528\u4F60\u7684\u76F8\u6A5F", "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.CameraCapture.rotatePhone.text": "\u5C07\u624B\u6A5F\u65CB\u8F49\u81F3\u5782\u76F4\u756B\u9762\u4EE5\u62CD\u7167", "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.DefaultErrorMessages.required": "\u8ACB\u586B\u5BEB\u6B64\u6B04\u4F4D\u3002", "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" };
|
|
3097
|
+
var Lp = { en: bm, de: Fm, es: xm, fr: vm, hu: Am, id: Om, it: Pm, ja: Mm, pl: km, pt: Em, ro: Im, ru: Dm, th: Lm, tr: Tm, zh: tn, "zh-CN": tn, "zh-HK": Rm };
|
|
3098
|
+
var Nm = Lp;
|
|
3087
3099
|
}
|
|
3088
3100
|
});
|
|
3089
3101
|
|