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