@wise/dynamic-flow-client-internal 2.8.3 → 2.8.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 +1088 -1084
- package/build/main.min.js +1 -1
- package/package.json +2 -2
package/build/main.js
CHANGED
|
@@ -51,214 +51,214 @@ 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
|
|
54
|
+
var Vm = Object.create;
|
|
55
55
|
var Qt = Object.defineProperty;
|
|
56
|
-
var
|
|
57
|
-
var
|
|
58
|
-
var
|
|
59
|
-
var
|
|
56
|
+
var Um = Object.defineProperties;
|
|
57
|
+
var Hm = Object.getOwnPropertyDescriptor;
|
|
58
|
+
var qm = Object.getOwnPropertyDescriptors;
|
|
59
|
+
var Gm = Object.getOwnPropertyNames;
|
|
60
60
|
var rn = Object.getOwnPropertySymbols;
|
|
61
|
-
var
|
|
62
|
-
var
|
|
63
|
-
var $
|
|
64
|
-
var
|
|
61
|
+
var Wm = Object.getPrototypeOf;
|
|
62
|
+
var on = Object.prototype.hasOwnProperty;
|
|
63
|
+
var $m = Object.prototype.propertyIsEnumerable;
|
|
64
|
+
var an = (e, t, r) => t in e ? Qt(e, t, { enumerable: true, configurable: true, writable: true, value: r }) : e[t] = r;
|
|
65
65
|
var s = (e, t) => {
|
|
66
66
|
for (var r in t || (t = {}))
|
|
67
|
-
|
|
67
|
+
on.call(t, r) && an(e, r, t[r]);
|
|
68
68
|
if (rn)
|
|
69
69
|
for (var r of rn(t))
|
|
70
|
-
$
|
|
70
|
+
$m.call(t, r) && an(e, r, t[r]);
|
|
71
71
|
return e;
|
|
72
72
|
};
|
|
73
|
-
var
|
|
74
|
-
var
|
|
75
|
-
var
|
|
73
|
+
var C = (e, t) => Um(e, qm(t));
|
|
74
|
+
var Aa = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports);
|
|
75
|
+
var _m = (e, t) => {
|
|
76
76
|
for (var r in t)
|
|
77
77
|
Qt(e, r, { get: t[r], enumerable: true });
|
|
78
78
|
};
|
|
79
|
-
var nn = (e, t, r,
|
|
79
|
+
var nn = (e, t, r, a) => {
|
|
80
80
|
if (t && typeof t == "object" || typeof t == "function")
|
|
81
|
-
for (let
|
|
82
|
-
!
|
|
81
|
+
for (let o of Gm(t))
|
|
82
|
+
!on.call(e, o) && o !== r && Qt(e, o, { get: () => t[o], enumerable: !(a = Hm(t, o)) || a.enumerable });
|
|
83
83
|
return e;
|
|
84
84
|
};
|
|
85
|
-
var ke = (e, t, r) => (r = e != null ?
|
|
86
|
-
var
|
|
87
|
-
var Qe =
|
|
85
|
+
var ke = (e, t, r) => (r = e != null ? Vm(Wm(e)) : {}, nn(t || !e || !e.__esModule ? Qt(r, "default", { value: e, enumerable: true }) : r, e));
|
|
86
|
+
var Km = (e) => nn(Qt({}, "__esModule", { value: true }), e);
|
|
87
|
+
var Qe = Aa((sf, Ur) => {
|
|
88
88
|
"use strict";
|
|
89
89
|
(function() {
|
|
90
90
|
"use strict";
|
|
91
91
|
var e = {}.hasOwnProperty, t = "[native code]";
|
|
92
92
|
function r() {
|
|
93
|
-
for (var
|
|
94
|
-
var n = arguments[
|
|
93
|
+
for (var a = [], o = 0; o < arguments.length; o++) {
|
|
94
|
+
var n = arguments[o];
|
|
95
95
|
if (n) {
|
|
96
96
|
var i = typeof n;
|
|
97
97
|
if (i === "string" || i === "number")
|
|
98
|
-
|
|
98
|
+
a.push(n);
|
|
99
99
|
else if (Array.isArray(n)) {
|
|
100
100
|
if (n.length) {
|
|
101
101
|
var c = r.apply(null, n);
|
|
102
|
-
c &&
|
|
102
|
+
c && a.push(c);
|
|
103
103
|
}
|
|
104
104
|
} else if (i === "object") {
|
|
105
105
|
if (n.toString !== Object.prototype.toString && !n.toString.toString().includes("[native code]")) {
|
|
106
|
-
|
|
106
|
+
a.push(n.toString());
|
|
107
107
|
continue;
|
|
108
108
|
}
|
|
109
|
-
for (var
|
|
110
|
-
e.call(n,
|
|
109
|
+
for (var l in n)
|
|
110
|
+
e.call(n, l) && n[l] && a.push(l);
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
-
return
|
|
114
|
+
return a.join(" ");
|
|
115
115
|
}
|
|
116
116
|
typeof Ur != "undefined" && Ur.exports ? (r.default = r, Ur.exports = r) : typeof define == "function" && typeof define.amd == "object" && define.amd ? define("classnames", [], function() {
|
|
117
117
|
return r;
|
|
118
118
|
}) : window.classNames = r;
|
|
119
119
|
})();
|
|
120
120
|
});
|
|
121
|
-
var
|
|
121
|
+
var bc = Aa((gr, jo) => {
|
|
122
122
|
"use strict";
|
|
123
123
|
(function(t, r) {
|
|
124
|
-
typeof gr == "object" && typeof
|
|
124
|
+
typeof gr == "object" && typeof jo == "object" ? jo.exports = r(require("react")) : typeof define == "function" && define.amd ? define(["react"], r) : typeof gr == "object" ? gr.Webcam = r(require("react")) : t.Webcam = r(t.React);
|
|
125
125
|
})(gr, function(e) {
|
|
126
126
|
return function(t) {
|
|
127
127
|
var r = {};
|
|
128
|
-
function o
|
|
129
|
-
if (r[
|
|
130
|
-
return r[
|
|
131
|
-
var n = r[
|
|
132
|
-
return t[
|
|
128
|
+
function a(o) {
|
|
129
|
+
if (r[o])
|
|
130
|
+
return r[o].exports;
|
|
131
|
+
var n = r[o] = { i: o, l: false, exports: {} };
|
|
132
|
+
return t[o].call(n.exports, n, n.exports, a), n.l = true, n.exports;
|
|
133
133
|
}
|
|
134
|
-
return
|
|
135
|
-
|
|
136
|
-
},
|
|
137
|
-
typeof Symbol != "undefined" && Symbol.toStringTag && Object.defineProperty(
|
|
138
|
-
},
|
|
139
|
-
if (n & 1 && (
|
|
140
|
-
return
|
|
134
|
+
return a.m = t, a.c = r, a.d = function(o, n, i) {
|
|
135
|
+
a.o(o, n) || Object.defineProperty(o, n, { enumerable: true, get: i });
|
|
136
|
+
}, a.r = function(o) {
|
|
137
|
+
typeof Symbol != "undefined" && Symbol.toStringTag && Object.defineProperty(o, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(o, "__esModule", { value: true });
|
|
138
|
+
}, a.t = function(o, n) {
|
|
139
|
+
if (n & 1 && (o = a(o)), n & 8 || n & 4 && typeof o == "object" && o && o.__esModule)
|
|
140
|
+
return o;
|
|
141
141
|
var i = /* @__PURE__ */ Object.create(null);
|
|
142
|
-
if (
|
|
143
|
-
for (var c in
|
|
144
|
-
|
|
145
|
-
return
|
|
142
|
+
if (a.r(i), Object.defineProperty(i, "default", { enumerable: true, value: o }), n & 2 && typeof o != "string")
|
|
143
|
+
for (var c in o)
|
|
144
|
+
a.d(i, c, function(l) {
|
|
145
|
+
return o[l];
|
|
146
146
|
}.bind(null, c));
|
|
147
147
|
return i;
|
|
148
|
-
},
|
|
149
|
-
var n =
|
|
150
|
-
return
|
|
148
|
+
}, a.n = function(o) {
|
|
149
|
+
var n = o && o.__esModule ? function() {
|
|
150
|
+
return o.default;
|
|
151
151
|
} : function() {
|
|
152
|
-
return
|
|
152
|
+
return o;
|
|
153
153
|
};
|
|
154
|
-
return
|
|
155
|
-
},
|
|
156
|
-
return Object.prototype.hasOwnProperty.call(
|
|
157
|
-
},
|
|
158
|
-
}({ "./src/react-webcam.tsx": function(t, r,
|
|
154
|
+
return a.d(n, "a", n), n;
|
|
155
|
+
}, a.o = function(o, n) {
|
|
156
|
+
return Object.prototype.hasOwnProperty.call(o, n);
|
|
157
|
+
}, a.p = "", a(a.s = "./src/react-webcam.tsx");
|
|
158
|
+
}({ "./src/react-webcam.tsx": function(t, r, a) {
|
|
159
159
|
"use strict";
|
|
160
|
-
|
|
161
|
-
var
|
|
160
|
+
a.r(r);
|
|
161
|
+
var o = a("react"), n = a.n(o), i = function() {
|
|
162
162
|
var h = function(y, u) {
|
|
163
|
-
return h = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(
|
|
164
|
-
|
|
165
|
-
} || function(
|
|
163
|
+
return h = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, f) {
|
|
164
|
+
d.__proto__ = f;
|
|
165
|
+
} || function(d, f) {
|
|
166
166
|
for (var w in f)
|
|
167
|
-
f.hasOwnProperty(w) && (
|
|
167
|
+
f.hasOwnProperty(w) && (d[w] = f[w]);
|
|
168
168
|
}, h(y, u);
|
|
169
169
|
};
|
|
170
170
|
return function(y, u) {
|
|
171
171
|
h(y, u);
|
|
172
|
-
function
|
|
172
|
+
function d() {
|
|
173
173
|
this.constructor = y;
|
|
174
174
|
}
|
|
175
|
-
y.prototype = u === null ? Object.create(u) : (
|
|
175
|
+
y.prototype = u === null ? Object.create(u) : (d.prototype = u.prototype, new d());
|
|
176
176
|
};
|
|
177
177
|
}(), c = function() {
|
|
178
178
|
return c = Object.assign || function(h) {
|
|
179
|
-
for (var y, u = 1,
|
|
179
|
+
for (var y, u = 1, d = arguments.length; u < d; u++) {
|
|
180
180
|
y = arguments[u];
|
|
181
181
|
for (var f in y)
|
|
182
182
|
Object.prototype.hasOwnProperty.call(y, f) && (h[f] = y[f]);
|
|
183
183
|
}
|
|
184
184
|
return h;
|
|
185
185
|
}, c.apply(this, arguments);
|
|
186
|
-
},
|
|
186
|
+
}, l = function(h, y) {
|
|
187
187
|
var u = {};
|
|
188
|
-
for (var
|
|
189
|
-
Object.prototype.hasOwnProperty.call(h,
|
|
188
|
+
for (var d in h)
|
|
189
|
+
Object.prototype.hasOwnProperty.call(h, d) && y.indexOf(d) < 0 && (u[d] = h[d]);
|
|
190
190
|
if (h != null && typeof Object.getOwnPropertySymbols == "function")
|
|
191
|
-
for (var f = 0,
|
|
192
|
-
y.indexOf(
|
|
191
|
+
for (var f = 0, d = Object.getOwnPropertySymbols(h); f < d.length; f++)
|
|
192
|
+
y.indexOf(d[f]) < 0 && Object.prototype.propertyIsEnumerable.call(h, d[f]) && (u[d[f]] = h[d[f]]);
|
|
193
193
|
return u;
|
|
194
194
|
};
|
|
195
195
|
(function() {
|
|
196
196
|
typeof window != "undefined" && (navigator.mediaDevices === void 0 && (navigator.mediaDevices = {}), navigator.mediaDevices.getUserMedia === void 0 && (navigator.mediaDevices.getUserMedia = function(y) {
|
|
197
197
|
var u = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia;
|
|
198
|
-
return u ? new Promise(function(
|
|
199
|
-
u.call(navigator, y,
|
|
198
|
+
return u ? new Promise(function(d, f) {
|
|
199
|
+
u.call(navigator, y, d, f);
|
|
200
200
|
}) : Promise.reject(new Error("getUserMedia is not implemented in this browser"));
|
|
201
201
|
}));
|
|
202
202
|
})();
|
|
203
|
-
function
|
|
203
|
+
function m() {
|
|
204
204
|
return !!(navigator.mediaDevices && navigator.mediaDevices.getUserMedia);
|
|
205
205
|
}
|
|
206
206
|
var p = function(h) {
|
|
207
207
|
i(y, h);
|
|
208
208
|
function y(u) {
|
|
209
|
-
var
|
|
210
|
-
return
|
|
209
|
+
var d = h.call(this, u) || this;
|
|
210
|
+
return d.canvas = null, d.ctx = null, d.requestUserMediaId = 0, d.unmounted = false, d.state = { hasUserMedia: false }, d;
|
|
211
211
|
}
|
|
212
212
|
return y.prototype.componentDidMount = function() {
|
|
213
|
-
var u = this,
|
|
214
|
-
if (this.unmounted = false, !
|
|
213
|
+
var u = this, d = u.state, f = u.props;
|
|
214
|
+
if (this.unmounted = false, !m()) {
|
|
215
215
|
f.onUserMediaError("getUserMedia not supported");
|
|
216
216
|
return;
|
|
217
217
|
}
|
|
218
|
-
|
|
218
|
+
d.hasUserMedia || this.requestUserMedia(), f.children && typeof f.children != "function" && console.warn("children must be a function");
|
|
219
219
|
}, y.prototype.componentDidUpdate = function(u) {
|
|
220
|
-
var
|
|
221
|
-
if (!
|
|
222
|
-
|
|
220
|
+
var d = this.props;
|
|
221
|
+
if (!m()) {
|
|
222
|
+
d.onUserMediaError("getUserMedia not supported");
|
|
223
223
|
return;
|
|
224
224
|
}
|
|
225
|
-
var f = JSON.stringify(u.audioConstraints) !== JSON.stringify(
|
|
226
|
-
(w ||
|
|
225
|
+
var f = JSON.stringify(u.audioConstraints) !== JSON.stringify(d.audioConstraints), w = JSON.stringify(u.videoConstraints) !== JSON.stringify(d.videoConstraints), S = u.minScreenshotWidth !== d.minScreenshotWidth, F = u.minScreenshotHeight !== d.minScreenshotHeight;
|
|
226
|
+
(w || S || F) && (this.canvas = null, this.ctx = null), (f || w) && (this.stopAndCleanup(), this.requestUserMedia());
|
|
227
227
|
}, y.prototype.componentWillUnmount = function() {
|
|
228
228
|
this.unmounted = true, this.stopAndCleanup();
|
|
229
229
|
}, y.stopMediaStream = function(u) {
|
|
230
|
-
u && (u.getVideoTracks && u.getAudioTracks ? (u.getVideoTracks().map(function(
|
|
231
|
-
u.removeTrack(
|
|
232
|
-
}), u.getAudioTracks().map(function(
|
|
233
|
-
u.removeTrack(
|
|
230
|
+
u && (u.getVideoTracks && u.getAudioTracks ? (u.getVideoTracks().map(function(d) {
|
|
231
|
+
u.removeTrack(d), d.stop();
|
|
232
|
+
}), u.getAudioTracks().map(function(d) {
|
|
233
|
+
u.removeTrack(d), d.stop();
|
|
234
234
|
})) : u.stop());
|
|
235
235
|
}, y.prototype.stopAndCleanup = function() {
|
|
236
236
|
var u = this.state;
|
|
237
237
|
u.hasUserMedia && (y.stopMediaStream(this.stream), u.src && window.URL.revokeObjectURL(u.src));
|
|
238
238
|
}, y.prototype.getScreenshot = function(u) {
|
|
239
|
-
var
|
|
239
|
+
var d = this, f = d.state, w = d.props;
|
|
240
240
|
if (!f.hasUserMedia)
|
|
241
241
|
return null;
|
|
242
|
-
var
|
|
243
|
-
return
|
|
242
|
+
var S = this.getCanvas(u);
|
|
243
|
+
return S && S.toDataURL(w.screenshotFormat, w.screenshotQuality);
|
|
244
244
|
}, y.prototype.getCanvas = function(u) {
|
|
245
|
-
var
|
|
245
|
+
var d = this, f = d.state, w = d.props;
|
|
246
246
|
if (!this.video || !f.hasUserMedia || !this.video.videoHeight)
|
|
247
247
|
return null;
|
|
248
248
|
if (!this.ctx) {
|
|
249
|
-
var
|
|
249
|
+
var S = this.video.videoWidth, F = this.video.videoHeight;
|
|
250
250
|
if (!this.props.forceScreenshotSourceSize) {
|
|
251
|
-
var g =
|
|
252
|
-
|
|
251
|
+
var g = S / F;
|
|
252
|
+
S = w.minScreenshotWidth || this.video.clientWidth, F = S / g, w.minScreenshotHeight && F < w.minScreenshotHeight && (F = w.minScreenshotHeight, S = F * g);
|
|
253
253
|
}
|
|
254
|
-
this.canvas = document.createElement("canvas"), this.canvas.width = (u == null ? void 0 : u.width) ||
|
|
254
|
+
this.canvas = document.createElement("canvas"), this.canvas.width = (u == null ? void 0 : u.width) || S, this.canvas.height = (u == null ? void 0 : u.height) || F, this.ctx = this.canvas.getContext("2d");
|
|
255
255
|
}
|
|
256
256
|
var v = this, O = v.ctx, x = v.canvas;
|
|
257
257
|
return O && x && (x.width = (u == null ? void 0 : u.width) || x.width, x.height = (u == null ? void 0 : u.height) || x.height, w.mirrored && (O.translate(x.width, 0), O.scale(-1, 1)), O.imageSmoothingEnabled = w.imageSmoothing, O.drawImage(this.video, 0, 0, (u == null ? void 0 : u.width) || x.width, (u == null ? void 0 : u.height) || x.height), w.mirrored && (O.scale(-1, 1), O.translate(-x.width, 0))), x;
|
|
258
258
|
}, y.prototype.requestUserMedia = function() {
|
|
259
|
-
var u = this,
|
|
259
|
+
var u = this, d = this.props, f = function(F, g) {
|
|
260
260
|
var v = { video: typeof g != "undefined" ? g : true };
|
|
261
|
-
|
|
261
|
+
d.audio && (v.audio = typeof F != "undefined" ? F : true), u.requestUserMediaId++;
|
|
262
262
|
var O = u.requestUserMediaId;
|
|
263
263
|
navigator.mediaDevices.getUserMedia(v).then(function(x) {
|
|
264
264
|
u.unmounted || O !== u.requestUserMediaId ? y.stopMediaStream(x) : u.handleUserMedia(null, x);
|
|
@@ -267,11 +267,11 @@ var require_main_min = __commonJS({
|
|
|
267
267
|
});
|
|
268
268
|
};
|
|
269
269
|
if ("mediaDevices" in navigator)
|
|
270
|
-
f(
|
|
270
|
+
f(d.audioConstraints, d.videoConstraints);
|
|
271
271
|
else {
|
|
272
272
|
var w = function(F) {
|
|
273
273
|
return { optional: [{ sourceId: F }] };
|
|
274
|
-
},
|
|
274
|
+
}, S = function(F) {
|
|
275
275
|
var g = F.deviceId;
|
|
276
276
|
return typeof g == "string" ? g : Array.isArray(g) && g.length > 0 ? g[0] : typeof g == "object" && g.ideal ? g.ideal : null;
|
|
277
277
|
};
|
|
@@ -280,60 +280,60 @@ var require_main_min = __commonJS({
|
|
|
280
280
|
F.forEach(function(M) {
|
|
281
281
|
M.kind === "audio" ? g = M.id : M.kind === "video" && (v = M.id);
|
|
282
282
|
});
|
|
283
|
-
var O =
|
|
283
|
+
var O = S(d.audioConstraints);
|
|
284
284
|
O && (g = O);
|
|
285
|
-
var x =
|
|
285
|
+
var x = S(d.videoConstraints);
|
|
286
286
|
x && (v = x), f(w(g), w(v));
|
|
287
287
|
});
|
|
288
288
|
}
|
|
289
|
-
}, y.prototype.handleUserMedia = function(u,
|
|
289
|
+
}, y.prototype.handleUserMedia = function(u, d) {
|
|
290
290
|
var f = this.props;
|
|
291
|
-
if (u || !
|
|
291
|
+
if (u || !d) {
|
|
292
292
|
this.setState({ hasUserMedia: false }), f.onUserMediaError(u);
|
|
293
293
|
return;
|
|
294
294
|
}
|
|
295
|
-
this.stream =
|
|
295
|
+
this.stream = d;
|
|
296
296
|
try {
|
|
297
|
-
this.video && (this.video.srcObject =
|
|
297
|
+
this.video && (this.video.srcObject = d), this.setState({ hasUserMedia: true });
|
|
298
298
|
} catch (w) {
|
|
299
|
-
this.setState({ hasUserMedia: true, src: window.URL.createObjectURL(
|
|
299
|
+
this.setState({ hasUserMedia: true, src: window.URL.createObjectURL(d) });
|
|
300
300
|
}
|
|
301
|
-
f.onUserMedia(
|
|
301
|
+
f.onUserMedia(d);
|
|
302
302
|
}, y.prototype.render = function() {
|
|
303
|
-
var u = this,
|
|
304
|
-
return
|
|
303
|
+
var u = this, d = this, f = d.state, w = d.props, S = w.audio, F = w.forceScreenshotSourceSize, g = w.disablePictureInPicture, v = w.onUserMedia, O = w.onUserMediaError, x = w.screenshotFormat, M = w.screenshotQuality, k = w.minScreenshotWidth, P = w.minScreenshotHeight, D = w.audioConstraints, H = w.videoConstraints, ee = w.imageSmoothing, A = w.mirrored, B = w.style, E = B === void 0 ? {} : B, ie = w.children, W = l(w, ["audio", "forceScreenshotSourceSize", "disablePictureInPicture", "onUserMedia", "onUserMediaError", "screenshotFormat", "screenshotQuality", "minScreenshotWidth", "minScreenshotHeight", "audioConstraints", "videoConstraints", "imageSmoothing", "mirrored", "style", "children"]), X = A ? c(c({}, E), { transform: (E.transform || "") + " scaleX(-1)" }) : E, $e = { getScreenshot: this.getScreenshot.bind(this) };
|
|
304
|
+
return o.createElement(o.Fragment, null, o.createElement("video", c({ autoPlay: true, disablePictureInPicture: g, src: f.src, muted: !S, playsInline: true, ref: function(_e) {
|
|
305
305
|
u.video = _e;
|
|
306
306
|
}, style: X }, W)), ie && ie($e));
|
|
307
307
|
}, y.defaultProps = { audio: false, disablePictureInPicture: false, forceScreenshotSourceSize: false, imageSmoothing: true, mirrored: false, onUserMedia: function() {
|
|
308
308
|
}, onUserMediaError: function() {
|
|
309
309
|
}, screenshotFormat: "image/webp", screenshotQuality: 0.92 }, y;
|
|
310
|
-
}(
|
|
310
|
+
}(o.Component);
|
|
311
311
|
r.default = p;
|
|
312
312
|
}, react: function(t, r) {
|
|
313
313
|
t.exports = e;
|
|
314
314
|
} }).default;
|
|
315
315
|
});
|
|
316
316
|
});
|
|
317
|
-
var kc =
|
|
317
|
+
var kc = Aa((zF, Cr) => {
|
|
318
318
|
"use strict";
|
|
319
319
|
(function() {
|
|
320
320
|
"use strict";
|
|
321
|
-
var e = typeof window != "undefined" && typeof window.document != "undefined" ? window.document : {}, t = typeof
|
|
322
|
-
for (var n, i = [["requestFullscreen", "exitFullscreen", "fullscreenElement", "fullscreenEnabled", "fullscreenchange", "fullscreenerror"], ["webkitRequestFullscreen", "webkitExitFullscreen", "webkitFullscreenElement", "webkitFullscreenEnabled", "webkitfullscreenchange", "webkitfullscreenerror"], ["webkitRequestFullScreen", "webkitCancelFullScreen", "webkitCurrentFullScreenElement", "webkitCancelFullScreen", "webkitfullscreenchange", "webkitfullscreenerror"], ["mozRequestFullScreen", "mozCancelFullScreen", "mozFullScreenElement", "mozFullScreenEnabled", "mozfullscreenchange", "mozfullscreenerror"], ["msRequestFullscreen", "msExitFullscreen", "msFullscreenElement", "msFullscreenEnabled", "MSFullscreenChange", "MSFullscreenError"]], c = 0,
|
|
321
|
+
var e = typeof window != "undefined" && typeof window.document != "undefined" ? window.document : {}, t = typeof Cr != "undefined" && Cr.exports, r = function() {
|
|
322
|
+
for (var n, i = [["requestFullscreen", "exitFullscreen", "fullscreenElement", "fullscreenEnabled", "fullscreenchange", "fullscreenerror"], ["webkitRequestFullscreen", "webkitExitFullscreen", "webkitFullscreenElement", "webkitFullscreenEnabled", "webkitfullscreenchange", "webkitfullscreenerror"], ["webkitRequestFullScreen", "webkitCancelFullScreen", "webkitCurrentFullScreenElement", "webkitCancelFullScreen", "webkitfullscreenchange", "webkitfullscreenerror"], ["mozRequestFullScreen", "mozCancelFullScreen", "mozFullScreenElement", "mozFullScreenEnabled", "mozfullscreenchange", "mozfullscreenerror"], ["msRequestFullscreen", "msExitFullscreen", "msFullscreenElement", "msFullscreenEnabled", "MSFullscreenChange", "MSFullscreenError"]], c = 0, l = i.length, m = {}; c < l; c++)
|
|
323
323
|
if (n = i[c], n && n[1] in e) {
|
|
324
324
|
for (c = 0; c < n.length; c++)
|
|
325
|
-
|
|
326
|
-
return
|
|
325
|
+
m[i[0][c]] = n[c];
|
|
326
|
+
return m;
|
|
327
327
|
}
|
|
328
328
|
return false;
|
|
329
|
-
}(),
|
|
330
|
-
return new Promise(function(c,
|
|
331
|
-
var
|
|
332
|
-
this.off("change",
|
|
329
|
+
}(), a = { change: r.fullscreenchange, error: r.fullscreenerror }, o = { request: function(n, i) {
|
|
330
|
+
return new Promise(function(c, l) {
|
|
331
|
+
var m = function() {
|
|
332
|
+
this.off("change", m), c();
|
|
333
333
|
}.bind(this);
|
|
334
|
-
this.on("change",
|
|
334
|
+
this.on("change", m), n = n || e.documentElement;
|
|
335
335
|
var p = n[r.requestFullscreen](i);
|
|
336
|
-
p instanceof Promise && p.then(
|
|
336
|
+
p instanceof Promise && p.then(m).catch(l);
|
|
337
337
|
}.bind(this));
|
|
338
338
|
}, exit: function() {
|
|
339
339
|
return new Promise(function(n, i) {
|
|
@@ -345,8 +345,8 @@ var require_main_min = __commonJS({
|
|
|
345
345
|
this.off("change", c), n();
|
|
346
346
|
}.bind(this);
|
|
347
347
|
this.on("change", c);
|
|
348
|
-
var
|
|
349
|
-
|
|
348
|
+
var l = e[r.exitFullscreen]();
|
|
349
|
+
l instanceof Promise && l.then(c).catch(i);
|
|
350
350
|
}.bind(this));
|
|
351
351
|
}, toggle: function(n, i) {
|
|
352
352
|
return this.isFullscreen ? this.exit() : this.request(n, i);
|
|
@@ -355,134 +355,134 @@ var require_main_min = __commonJS({
|
|
|
355
355
|
}, onerror: function(n) {
|
|
356
356
|
this.on("error", n);
|
|
357
357
|
}, on: function(n, i) {
|
|
358
|
-
var c =
|
|
358
|
+
var c = a[n];
|
|
359
359
|
c && e.addEventListener(c, i, false);
|
|
360
360
|
}, off: function(n, i) {
|
|
361
|
-
var c =
|
|
361
|
+
var c = a[n];
|
|
362
362
|
c && e.removeEventListener(c, i, false);
|
|
363
363
|
}, raw: r };
|
|
364
364
|
if (!r) {
|
|
365
|
-
t ?
|
|
365
|
+
t ? Cr.exports = { isEnabled: false } : window.screenfull = { isEnabled: false };
|
|
366
366
|
return;
|
|
367
367
|
}
|
|
368
|
-
Object.defineProperties(
|
|
368
|
+
Object.defineProperties(o, { isFullscreen: { get: function() {
|
|
369
369
|
return !!e[r.fullscreenElement];
|
|
370
370
|
} }, element: { enumerable: true, get: function() {
|
|
371
371
|
return e[r.fullscreenElement];
|
|
372
372
|
} }, isEnabled: { enumerable: true, get: function() {
|
|
373
373
|
return !!e[r.fullscreenEnabled];
|
|
374
|
-
} } }), t ?
|
|
374
|
+
} } }), t ? Cr.exports = o : window.screenfull = o;
|
|
375
375
|
})();
|
|
376
376
|
});
|
|
377
377
|
var Tp = {};
|
|
378
|
-
|
|
379
|
-
module2.exports =
|
|
378
|
+
_m(Tp, { DynamicFlow: () => Qo, JsonSchemaForm: () => en, Layout: () => ne, convertStepToLayout: () => er, inlineReferences: () => ze, isValidSchema: () => G, makeHttpClient: () => kr, translations: () => Bm });
|
|
379
|
+
module2.exports = Km(Tp);
|
|
380
380
|
function er(e, { displayStepTitle: t = true } = {}) {
|
|
381
381
|
if (e.layout)
|
|
382
|
-
return
|
|
382
|
+
return cl(e, t);
|
|
383
383
|
switch (e.type) {
|
|
384
384
|
case "final":
|
|
385
|
-
return
|
|
385
|
+
return Zm(e);
|
|
386
386
|
case "decision":
|
|
387
|
-
return
|
|
387
|
+
return Qm(e);
|
|
388
388
|
case "external":
|
|
389
|
-
return
|
|
389
|
+
return Jm(e);
|
|
390
390
|
default:
|
|
391
|
-
return
|
|
391
|
+
return Ym(e);
|
|
392
392
|
}
|
|
393
393
|
}
|
|
394
|
-
function
|
|
394
|
+
function Oa(e) {
|
|
395
395
|
let t = [];
|
|
396
|
-
if (e.title && t.push(
|
|
396
|
+
if (e.title && t.push(Ma(e.title)), e.image) {
|
|
397
397
|
let r = sn(e.image);
|
|
398
398
|
t.push(r);
|
|
399
399
|
}
|
|
400
|
-
return e.description && t.push(
|
|
400
|
+
return e.description && t.push(ka(e.description)), t;
|
|
401
401
|
}
|
|
402
|
-
function
|
|
403
|
-
return [...
|
|
402
|
+
function Jm(e) {
|
|
403
|
+
return [...Oa(e), Xm(e)];
|
|
404
404
|
}
|
|
405
|
-
function
|
|
405
|
+
function Xm(e) {
|
|
406
406
|
return { type: "external", requestUrl: e.requestUrl, polling: e.polling, responseHandlers: e.responseHandlers, retryTitle: e.retryTitle };
|
|
407
407
|
}
|
|
408
|
-
function
|
|
409
|
-
let t =
|
|
410
|
-
if (e.reviewFields && t.push(
|
|
408
|
+
function Ym(e) {
|
|
409
|
+
let t = Oa(e);
|
|
410
|
+
if (e.reviewFields && t.push(ol(e.reviewFields)), e.schemas && t.push(...il(e)), e.actions) {
|
|
411
411
|
let r = e.actions.map(vr);
|
|
412
|
-
t.push(
|
|
412
|
+
t.push(Pa(r, "md"));
|
|
413
413
|
}
|
|
414
414
|
return t;
|
|
415
415
|
}
|
|
416
|
-
function
|
|
416
|
+
function Zm(e) {
|
|
417
417
|
let t = [];
|
|
418
418
|
if (e.details) {
|
|
419
419
|
if (e.details.image) {
|
|
420
|
-
let r =
|
|
420
|
+
let r = al(e.details.image);
|
|
421
421
|
t.push(r);
|
|
422
422
|
}
|
|
423
|
-
e.details.title && t.push(
|
|
423
|
+
e.details.title && t.push(Ma(e.details.title)), e.details.description && t.push(ka(e.details.description));
|
|
424
424
|
}
|
|
425
425
|
if (e.actions) {
|
|
426
|
-
let r = e.actions.map((
|
|
427
|
-
t.push(
|
|
426
|
+
let r = e.actions.map((a) => vr(C(s({}, a), { type: a.type || "primary" })));
|
|
427
|
+
t.push(Pa(r, "md"));
|
|
428
428
|
}
|
|
429
429
|
return t;
|
|
430
430
|
}
|
|
431
|
-
function
|
|
432
|
-
let t =
|
|
433
|
-
return e.options && t.push(
|
|
431
|
+
function Qm(e) {
|
|
432
|
+
let t = Oa(e);
|
|
433
|
+
return e.options && t.push(tl(e.options)), t;
|
|
434
434
|
}
|
|
435
|
-
function
|
|
435
|
+
function Pa(e, t) {
|
|
436
436
|
return { type: "box", width: t || "md", components: e };
|
|
437
437
|
}
|
|
438
|
-
function
|
|
438
|
+
function Ma(e) {
|
|
439
439
|
return { type: "heading", text: e, size: "lg", margin: "lg", align: "center" };
|
|
440
440
|
}
|
|
441
|
-
function
|
|
441
|
+
function ka(e) {
|
|
442
442
|
return { type: "paragraph", text: e, align: "center" };
|
|
443
443
|
}
|
|
444
|
-
function
|
|
444
|
+
function el(e) {
|
|
445
445
|
return { type: "form", schema: e };
|
|
446
446
|
}
|
|
447
|
-
function
|
|
448
|
-
return { type: "decision", options: e.map(
|
|
447
|
+
function tl(e) {
|
|
448
|
+
return { type: "decision", options: e.map(rl) };
|
|
449
449
|
}
|
|
450
|
-
function
|
|
450
|
+
function rl(e) {
|
|
451
451
|
return { title: e.title, description: e.description, action: { title: e.title, method: "GET", url: e.url, disabled: e.disabled } };
|
|
452
452
|
}
|
|
453
453
|
function sn(e) {
|
|
454
454
|
return { type: "image", url: e.url, text: e.text, margin: e.margin || "lg", size: e.size || "md" };
|
|
455
455
|
}
|
|
456
|
-
function
|
|
456
|
+
function al(e) {
|
|
457
457
|
return typeof e == "string" ? { type: "image", url: e, text: void 0, margin: "lg", size: "md" } : sn(e);
|
|
458
458
|
}
|
|
459
459
|
function vr(e) {
|
|
460
|
-
return { type: "button", action:
|
|
460
|
+
return { type: "button", action: C(s({}, e), { title: e.title }) };
|
|
461
461
|
}
|
|
462
|
-
function
|
|
463
|
-
return { type: "review", title: e.title, fields: e.fields.map(
|
|
462
|
+
function ol(e) {
|
|
463
|
+
return { type: "review", title: e.title, fields: e.fields.map(nl) };
|
|
464
464
|
}
|
|
465
|
-
function
|
|
465
|
+
function nl(e) {
|
|
466
466
|
return { label: e.title, value: e.value };
|
|
467
467
|
}
|
|
468
|
-
function
|
|
468
|
+
function il(e) {
|
|
469
469
|
let t = [];
|
|
470
470
|
if (e.schemas && e.schemas[0]) {
|
|
471
|
-
let r = e.schemas[0],
|
|
472
|
-
|
|
471
|
+
let r = e.schemas[0], a = el(r);
|
|
472
|
+
sl() ? t.push(a) : t.push(Pa([a], "md"));
|
|
473
473
|
}
|
|
474
474
|
return t;
|
|
475
475
|
}
|
|
476
|
-
function
|
|
476
|
+
function sl() {
|
|
477
477
|
return false;
|
|
478
478
|
}
|
|
479
|
-
function
|
|
480
|
-
return [...t && e.title ? [
|
|
479
|
+
function cl(e, t) {
|
|
480
|
+
return [...t && e.title ? [Ma(e.title)] : [], ...e.description ? [ka(e.description)] : [], ...e.layout || []];
|
|
481
481
|
}
|
|
482
|
-
function ze({ layout: e, schemas: t, actions: r, model:
|
|
483
|
-
return e ? t ? e.map((
|
|
482
|
+
function ze({ layout: e, schemas: t, actions: r, model: a }) {
|
|
483
|
+
return e ? t ? e.map((o) => o.type === "form" ? ml({ formComponent: o, schemas: t }) : o.type === "decision" ? ll({ decisionComponent: o, actions: r }) : o.type === "button" ? dl({ actionComponent: o, actions: r }) : o.type === "box" ? C(s({}, o), { components: ze({ layout: o.components, schemas: t, actions: r, model: a }) }) : o.type === "modal" ? C(s({}, o), { components: ze({ layout: o.content.components, schemas: t, actions: r, model: a }) }) : o.type === "columns" ? C(s({}, o), { left: ze({ layout: o.left, schemas: t, actions: r, model: a }), right: ze({ layout: o.right, schemas: t, actions: r, model: a }) }) : o) : e : [];
|
|
484
484
|
}
|
|
485
|
-
function
|
|
485
|
+
function ml({ formComponent: e, schemas: t }) {
|
|
486
486
|
if (e.schemaId)
|
|
487
487
|
return { type: "form", margin: e.margin, schema: cn(t, e.schemaId) };
|
|
488
488
|
if (e.schema && Ar(e.schema) && e.schema.$ref)
|
|
@@ -491,27 +491,27 @@ var require_main_min = __commonJS({
|
|
|
491
491
|
return s({}, e);
|
|
492
492
|
throw new Error('Invalid form layout component. Missing "schema" or "schemaId" properties.');
|
|
493
493
|
}
|
|
494
|
-
function
|
|
495
|
-
var
|
|
496
|
-
let r = (
|
|
497
|
-
return
|
|
494
|
+
function ll({ decisionComponent: e, actions: t }) {
|
|
495
|
+
var a;
|
|
496
|
+
let r = (a = e == null ? void 0 : e.options) == null ? void 0 : a.map((o) => o.action && Ar(o.action) ? C(s({}, o), { action: mn(t, o.action.$ref) }) : o);
|
|
497
|
+
return C(s({}, e), { options: r });
|
|
498
498
|
}
|
|
499
|
-
function
|
|
499
|
+
function dl({ actionComponent: e, actions: t }) {
|
|
500
500
|
var r;
|
|
501
501
|
if (e.action && Ar(e.action) && ((r = e.action) != null && r.$ref)) {
|
|
502
|
-
let
|
|
503
|
-
return vr(
|
|
502
|
+
let a = mn(t, e.action.$ref);
|
|
503
|
+
return vr(a);
|
|
504
504
|
}
|
|
505
505
|
return e;
|
|
506
506
|
}
|
|
507
507
|
function cn(e, t) {
|
|
508
|
-
let r = e.find((
|
|
508
|
+
let r = e.find((a) => a.$id === t);
|
|
509
509
|
if (!r)
|
|
510
510
|
throw new Error(`Fatal Error. Schema not found. $id ${t}`);
|
|
511
511
|
return r;
|
|
512
512
|
}
|
|
513
|
-
function
|
|
514
|
-
let r = e.find((
|
|
513
|
+
function mn(e, t) {
|
|
514
|
+
let r = e.find((a) => a.$id === t);
|
|
515
515
|
if (!r)
|
|
516
516
|
throw new Error(`Fatal Error. Action not found. $id ${t}`);
|
|
517
517
|
return r;
|
|
@@ -520,25 +520,25 @@ var require_main_min = __commonJS({
|
|
|
520
520
|
return Object.hasOwnProperty.call(e, "$ref");
|
|
521
521
|
}
|
|
522
522
|
var Me = require("react");
|
|
523
|
-
var
|
|
523
|
+
var Sm = require("react-intl");
|
|
524
524
|
var vt = require("react");
|
|
525
525
|
var Or = require("react");
|
|
526
|
-
function
|
|
526
|
+
function ln() {
|
|
527
527
|
let [e, t] = (0, Or.useState)(0);
|
|
528
|
-
return { addPendingPromise: (0, Or.useCallback)((
|
|
529
|
-
t((
|
|
528
|
+
return { addPendingPromise: (0, Or.useCallback)((a) => {
|
|
529
|
+
t((o) => o + 1), a.catch(pl).finally(() => ul(() => t((o) => Math.max(0, o - 1))));
|
|
530
530
|
}, [t]), pendingPromises: e };
|
|
531
531
|
}
|
|
532
|
-
var
|
|
533
|
-
var
|
|
532
|
+
var ul = (e) => setTimeout(() => e(), 0);
|
|
533
|
+
var pl = () => {
|
|
534
534
|
};
|
|
535
535
|
var yn = require("react/jsx-runtime");
|
|
536
536
|
var dn = { loading: false, registerPersistAsyncPromise: (e) => {
|
|
537
537
|
} };
|
|
538
538
|
var un = (0, vt.createContext)(dn);
|
|
539
539
|
var pn = ({ loading: e, children: t }) => {
|
|
540
|
-
let { pendingPromises: r, addPendingPromise:
|
|
541
|
-
return (0, yn.jsx)(un.Provider, { value:
|
|
540
|
+
let { pendingPromises: r, addPendingPromise: a } = ln(), o = (0, vt.useMemo)(() => ({ loading: e || r > 0, registerPersistAsyncPromise: a }), [e, r, a]);
|
|
541
|
+
return (0, yn.jsx)(un.Provider, { value: o, children: t });
|
|
542
542
|
};
|
|
543
543
|
var Pr = () => (0, vt.useContext)(un) || dn;
|
|
544
544
|
var At = require("react");
|
|
@@ -546,74 +546,74 @@ var require_main_min = __commonJS({
|
|
|
546
546
|
var fn = (0, At.createContext)({ triggerEvent: () => {
|
|
547
547
|
} });
|
|
548
548
|
function Mr({ metadata: e, children: t, onEvent: r }) {
|
|
549
|
-
let
|
|
550
|
-
return (0, hn.jsx)(fn.Provider, { value:
|
|
549
|
+
let a = (0, At.useMemo)(() => ({ triggerEvent: Ea(r, e) }), [r, e]);
|
|
550
|
+
return (0, hn.jsx)(fn.Provider, { value: a, children: t });
|
|
551
551
|
}
|
|
552
552
|
function te() {
|
|
553
553
|
let { triggerEvent: e } = (0, At.useContext)(fn);
|
|
554
554
|
return e;
|
|
555
555
|
}
|
|
556
|
-
var
|
|
556
|
+
var Ea = (e, t) => (r, a = {}) => {
|
|
557
557
|
try {
|
|
558
|
-
e(r, s(s({}, t),
|
|
559
|
-
} catch (
|
|
558
|
+
e(r, s(s({}, t), a));
|
|
559
|
+
} catch (o) {
|
|
560
560
|
}
|
|
561
561
|
};
|
|
562
562
|
var ct = require("react");
|
|
563
|
-
var kr = (e, t) => (r,
|
|
564
|
-
let
|
|
565
|
-
return fetch(
|
|
563
|
+
var kr = (e, t) => (r, a) => {
|
|
564
|
+
let o = yl(r, e || ""), n = fl(a == null ? void 0 : a.headers, t);
|
|
565
|
+
return fetch(o, C(s({}, a != null ? a : {}), { headers: n }));
|
|
566
566
|
};
|
|
567
|
-
var
|
|
568
|
-
var
|
|
567
|
+
var yl = (e, t) => typeof e == "string" && hl(e) ? t + e : e;
|
|
568
|
+
var fl = (e, t) => {
|
|
569
569
|
if (!e && !t)
|
|
570
570
|
return {};
|
|
571
571
|
let r = new Headers(e);
|
|
572
|
-
for (let [
|
|
573
|
-
r.set(
|
|
572
|
+
for (let [a, o] of Object.entries(t != null ? t : {}))
|
|
573
|
+
r.set(a, o);
|
|
574
574
|
return r;
|
|
575
575
|
};
|
|
576
|
-
function
|
|
576
|
+
function hl(e = "") {
|
|
577
577
|
return !["https://", "http://", "data:"].some((t) => e.startsWith(t) && e.length > t.length);
|
|
578
578
|
}
|
|
579
|
-
var
|
|
579
|
+
var Ia = require("react/jsx-runtime");
|
|
580
580
|
var Er = (0, ct.createContext)(void 0);
|
|
581
581
|
function gn({ httpClient: e, children: t }) {
|
|
582
|
-
return (0,
|
|
582
|
+
return (0, Ia.jsx)(Er.Provider, { value: e, children: t });
|
|
583
583
|
}
|
|
584
584
|
function Ir({ baseUrl: e, children: t }) {
|
|
585
585
|
let r = (0, ct.useMemo)(() => kr(e), [e]);
|
|
586
|
-
return (0,
|
|
586
|
+
return (0, Ia.jsx)(Er.Provider, { value: r, children: t });
|
|
587
587
|
}
|
|
588
|
-
var
|
|
588
|
+
var ae = () => {
|
|
589
589
|
let e = (0, ct.useContext)(Er);
|
|
590
590
|
return e != null ? e : fetch;
|
|
591
591
|
};
|
|
592
592
|
var wn = () => !!(0, ct.useContext)(Er);
|
|
593
593
|
var Ot = require("react");
|
|
594
|
-
var
|
|
595
|
-
var
|
|
594
|
+
var Sn = require("react/jsx-runtime");
|
|
595
|
+
var mt = (e, t, r = "UNKNOWN-FLOW-ID", a = "UNKNOWN-FLOW-ID") => (o, n, i) => {
|
|
596
596
|
try {
|
|
597
|
-
t(e, `Dynamic Flow ${e} - ${
|
|
597
|
+
t(e, `Dynamic Flow ${e} - ${o} - ${n}`, s({ flowId: r, stepId: a }, i));
|
|
598
598
|
} catch (c) {
|
|
599
599
|
}
|
|
600
600
|
};
|
|
601
|
-
var
|
|
602
|
-
function Dr({ flowId: e, stepId: t, children: r, onLog:
|
|
603
|
-
let
|
|
604
|
-
return (0,
|
|
601
|
+
var Cn = (0, Ot.createContext)(null);
|
|
602
|
+
function Dr({ flowId: e, stepId: t, children: r, onLog: a }) {
|
|
603
|
+
let o = (0, Ot.useMemo)(() => ({ debug: mt("debug", a, e, t), info: mt("info", a, e, t), warning: mt("warning", a, e, t), error: mt("error", a, e, t), critical: mt("critical", a, e, t) }), [a, e, t]);
|
|
604
|
+
return (0, Sn.jsx)(Cn.Provider, { value: o, children: r });
|
|
605
605
|
}
|
|
606
606
|
var Pt = () => {
|
|
607
|
-
let e = (0, Ot.useContext)(
|
|
607
|
+
let e = (0, Ot.useContext)(Cn);
|
|
608
608
|
if (e == null)
|
|
609
609
|
throw new Error("Logging context not found. Did you forget to wrap your component in a <LogProvider />?");
|
|
610
610
|
return e;
|
|
611
611
|
};
|
|
612
|
-
var
|
|
613
|
-
var
|
|
614
|
-
var
|
|
612
|
+
var Da = require("react");
|
|
613
|
+
var bn = require("react/jsx-runtime");
|
|
614
|
+
var gl = (0, Da.createContext)([]);
|
|
615
615
|
function Fn({ features: e, children: t }) {
|
|
616
|
-
return (0,
|
|
616
|
+
return (0, bn.jsx)(gl.Provider, { value: e, children: t });
|
|
617
617
|
}
|
|
618
618
|
function xn(e) {
|
|
619
619
|
return e >= 200 && e < 300;
|
|
@@ -637,12 +637,12 @@ var require_main_min = __commonJS({
|
|
|
637
637
|
return t.oneOf.some((r) => Je(e, r) === e) ? e : null;
|
|
638
638
|
}
|
|
639
639
|
function Pn(e, t) {
|
|
640
|
-
var
|
|
641
|
-
let r = t.oneOf.map((
|
|
642
|
-
return r.length === 0 ? null : (
|
|
640
|
+
var a;
|
|
641
|
+
let r = t.oneOf.map((o) => wl(e, o)).filter((o) => o !== null);
|
|
642
|
+
return r.length === 0 ? null : (a = r.find((o) => o.some((n) => n !== null))) != null ? a : r[0];
|
|
643
643
|
}
|
|
644
|
-
function
|
|
645
|
-
return !je(t) || !Ie(t) ? null :
|
|
644
|
+
function wl(e, t) {
|
|
645
|
+
return !je(t) || !Ie(t) ? null : La(e, t);
|
|
646
646
|
}
|
|
647
647
|
function Mn(e) {
|
|
648
648
|
return L(e) && !Mt(e) ? e : null;
|
|
@@ -653,42 +653,42 @@ var require_main_min = __commonJS({
|
|
|
653
653
|
function En(e) {
|
|
654
654
|
return Ee(e) ? e : null;
|
|
655
655
|
}
|
|
656
|
-
function
|
|
656
|
+
function La(e, t) {
|
|
657
657
|
if (!V(e) || !Ie(t))
|
|
658
658
|
return null;
|
|
659
659
|
if (e.length > 0) {
|
|
660
660
|
let r = typeof e[0];
|
|
661
|
-
if (!e.every((
|
|
661
|
+
if (!e.every((a) => typeof a === r))
|
|
662
662
|
return new Array(e.length).fill(null);
|
|
663
663
|
}
|
|
664
664
|
return e.map((r) => kt(r, t.items));
|
|
665
665
|
}
|
|
666
666
|
function In(e, t) {
|
|
667
|
-
return Object.keys(t.properties).reduce((r,
|
|
668
|
-
if (e && !Y(e[
|
|
669
|
-
let
|
|
667
|
+
return Object.keys(t.properties).reduce((r, a) => {
|
|
668
|
+
if (e && !Y(e[a])) {
|
|
669
|
+
let o = e[a], n = t.properties[a], i = kt(o, n);
|
|
670
670
|
if (!I(i))
|
|
671
|
-
return
|
|
671
|
+
return C(s({}, r), { [a]: i });
|
|
672
672
|
}
|
|
673
673
|
return r;
|
|
674
674
|
}, {});
|
|
675
675
|
}
|
|
676
676
|
function Dn(e, t) {
|
|
677
|
-
return t.allOf.reduce((r,
|
|
678
|
-
let
|
|
679
|
-
return $(
|
|
677
|
+
return t.allOf.reduce((r, a) => {
|
|
678
|
+
let o = ce(e, a);
|
|
679
|
+
return $(o) ? s(s({}, r), o) : r;
|
|
680
680
|
}, {});
|
|
681
681
|
}
|
|
682
682
|
function Ln(e, t) {
|
|
683
|
-
return t.oneOf.map((r) => ce(e, r)).reduce((r,
|
|
683
|
+
return t.oneOf.map((r) => ce(e, r)).reduce((r, a) => I(r) ? a : $(r) && $(a) ? Tn(r, a) : I(a) ? r : a, null);
|
|
684
684
|
}
|
|
685
685
|
function Tn(e, t) {
|
|
686
|
-
return Object.keys(t).reduce((r,
|
|
687
|
-
let
|
|
688
|
-
return $(
|
|
686
|
+
return Object.keys(t).reduce((r, a) => {
|
|
687
|
+
let o = e[a], n = t[a];
|
|
688
|
+
return $(o) && $(n) ? C(s({}, r), { [a]: Tn(o, n) }) : C(s({}, r), { [a]: t[a] });
|
|
689
689
|
}, s({}, e));
|
|
690
690
|
}
|
|
691
|
-
var kt = (e, t) => $(e) ? ce(e, t) :
|
|
691
|
+
var kt = (e, t) => $(e) ? ce(e, t) : Ta(e) ? Cl(e, t) : Je(e, t);
|
|
692
692
|
function Je(e, t) {
|
|
693
693
|
if (I(e))
|
|
694
694
|
return null;
|
|
@@ -713,8 +713,8 @@ var require_main_min = __commonJS({
|
|
|
713
713
|
function ce(e, t) {
|
|
714
714
|
return Ve(t) || je(t) || I(e) ? null : t.allOf ? Dn(e, t) : t.oneOf ? Ln(e, t) : !Y(t.const) && e === t.const ? e : De(t) ? In(e, t) : null;
|
|
715
715
|
}
|
|
716
|
-
function
|
|
717
|
-
return ge(t) ? Pn(e, t) : je(t) ?
|
|
716
|
+
function Cl(e, t) {
|
|
717
|
+
return ge(t) ? Pn(e, t) : je(t) ? La(e, t) : null;
|
|
718
718
|
}
|
|
719
719
|
function tr(e, t = false) {
|
|
720
720
|
return !t || !Y(e);
|
|
@@ -731,10 +731,10 @@ var require_main_min = __commonJS({
|
|
|
731
731
|
function zn(e, t) {
|
|
732
732
|
return t === void 0 ? true : e == null ? false : !!new RegExp(t).test(e);
|
|
733
733
|
}
|
|
734
|
-
function
|
|
734
|
+
function Ra(e, t) {
|
|
735
735
|
return !z(t) && !L(t) || (z(e) || L(e)) && e <= t;
|
|
736
736
|
}
|
|
737
|
-
function
|
|
737
|
+
function Na(e, t) {
|
|
738
738
|
return !z(t) && !L(t) || (z(e) || L(e)) && e >= t;
|
|
739
739
|
}
|
|
740
740
|
function jn(e, t) {
|
|
@@ -745,50 +745,50 @@ var require_main_min = __commonJS({
|
|
|
745
745
|
}
|
|
746
746
|
function Xe(e, t, r) {
|
|
747
747
|
if (t.const)
|
|
748
|
-
return
|
|
748
|
+
return Va(e, t, r);
|
|
749
749
|
if (I(e))
|
|
750
750
|
return r ? ["required"] : [];
|
|
751
751
|
if (Rr(t))
|
|
752
|
-
return
|
|
752
|
+
return Ba(e, t, r);
|
|
753
753
|
switch (t.type) {
|
|
754
754
|
case "number":
|
|
755
755
|
return Tr(e, t, r);
|
|
756
756
|
case "integer":
|
|
757
|
-
return
|
|
757
|
+
return za(e, t, r);
|
|
758
758
|
case "boolean":
|
|
759
|
-
return
|
|
759
|
+
return ja(e, t, r);
|
|
760
760
|
case "array":
|
|
761
761
|
return Et(e, t, r);
|
|
762
762
|
case "object":
|
|
763
|
-
return
|
|
763
|
+
return Sl(e, t);
|
|
764
764
|
default:
|
|
765
765
|
return [];
|
|
766
766
|
}
|
|
767
767
|
}
|
|
768
|
-
function
|
|
768
|
+
function Ba(e, t, r) {
|
|
769
769
|
if (!L(e) && !I(e))
|
|
770
770
|
return ["type"];
|
|
771
771
|
if (e === "" && r)
|
|
772
772
|
return ["required"];
|
|
773
|
-
let
|
|
774
|
-
return tr(e, r) ||
|
|
773
|
+
let a = [];
|
|
774
|
+
return tr(e, r) || a.push("required"), Nn(e, t.minLength) || a.push("minLength"), Bn(e, t.maxLength) || a.push("maxLength"), zn(e, t.pattern) || a.push("pattern"), Na(e, t.minimum) || a.push("minimum"), Ra(e, t.maximum) || a.push("maximum"), a;
|
|
775
775
|
}
|
|
776
776
|
function Tr(e, t, r) {
|
|
777
777
|
if (!z(e) && !I(e))
|
|
778
778
|
return ["type"];
|
|
779
|
-
let
|
|
780
|
-
return tr(e, r) ||
|
|
779
|
+
let a = [];
|
|
780
|
+
return tr(e, r) || a.push("required"), Na(e, t.minimum) || a.push("minimum"), Ra(e, t.maximum) || a.push("maximum"), a;
|
|
781
781
|
}
|
|
782
|
-
function
|
|
782
|
+
function za(e, t, r) {
|
|
783
783
|
return An(e) ? Tr(e, t, r) : ["type"];
|
|
784
784
|
}
|
|
785
|
-
function
|
|
785
|
+
function ja(e, t, r) {
|
|
786
786
|
if (!Ee(e) && !I(e))
|
|
787
787
|
return ["type"];
|
|
788
|
-
let
|
|
789
|
-
return tr(e, r) ||
|
|
788
|
+
let a = [];
|
|
789
|
+
return tr(e, r) || a.push("required"), a;
|
|
790
790
|
}
|
|
791
|
-
function
|
|
791
|
+
function Va(e, t, r) {
|
|
792
792
|
return tr(e, r) ? e !== t.const ? ["const"] : [] : ["required"];
|
|
793
793
|
}
|
|
794
794
|
function Et(e, t, r) {
|
|
@@ -796,117 +796,117 @@ var require_main_min = __commonJS({
|
|
|
796
796
|
return ["type"];
|
|
797
797
|
if (!Rn(e, r))
|
|
798
798
|
return ["required"];
|
|
799
|
-
let
|
|
800
|
-
return jn(e, t.minItems) ||
|
|
799
|
+
let a = [];
|
|
800
|
+
return jn(e, t.minItems) || a.push("minItems"), Vn(e, t.maxItems) || a.push("maxItems"), a;
|
|
801
801
|
}
|
|
802
802
|
function Un(e, t) {
|
|
803
803
|
return I(e) ? ["type"] : [];
|
|
804
804
|
}
|
|
805
|
-
function
|
|
806
|
-
return $(e) ? V(t.required) ? t.required.map((
|
|
805
|
+
function Sl(e, t) {
|
|
806
|
+
return $(e) ? V(t.required) ? t.required.map((a) => typeof e[a] != "undefined").reduce((a, o) => a && o, true) ? [] : ["required"] : [] : ["type"];
|
|
807
807
|
}
|
|
808
|
-
function
|
|
809
|
-
return !
|
|
808
|
+
function Fl(e, t) {
|
|
809
|
+
return !Ba(e, t).length;
|
|
810
810
|
}
|
|
811
|
-
function
|
|
811
|
+
function bl(e, t) {
|
|
812
812
|
return !Tr(e, t).length;
|
|
813
813
|
}
|
|
814
|
-
function
|
|
815
|
-
return !
|
|
814
|
+
function xl(e, t) {
|
|
815
|
+
return !za(e, t).length;
|
|
816
816
|
}
|
|
817
|
-
function
|
|
818
|
-
return !
|
|
817
|
+
function vl(e, t) {
|
|
818
|
+
return !ja(e, t).length;
|
|
819
819
|
}
|
|
820
|
-
function
|
|
821
|
-
return !
|
|
820
|
+
function Al(e, t) {
|
|
821
|
+
return !Va(e, t).length;
|
|
822
822
|
}
|
|
823
|
-
function
|
|
824
|
-
return !R(e) || t.type !== "object" || !R(t.properties) ? false : Object.keys(t.properties).map((r) =>
|
|
823
|
+
function Ol(e, t) {
|
|
824
|
+
return !R(e) || t.type !== "object" || !R(t.properties) ? false : Object.keys(t.properties).map((r) => Pl(e[r], t.properties[r], t.required && t.required.includes(r))).every((r) => r);
|
|
825
825
|
}
|
|
826
|
-
function
|
|
826
|
+
function Pl(e, t, r) {
|
|
827
827
|
return t.hidden ? true : typeof e == "undefined" ? !r : G(e, t);
|
|
828
828
|
}
|
|
829
|
-
function
|
|
829
|
+
function Ml(e, t) {
|
|
830
830
|
return t.type !== "array" || !R(t.items) || Et(e, t).length > 0 ? false : Array.isArray(e) && Ie(t) && e.map((r) => G(r, t.items)).every((r) => r);
|
|
831
831
|
}
|
|
832
|
-
function
|
|
832
|
+
function kl(e, t) {
|
|
833
833
|
return V(t.oneOf) ? t.oneOf.some((r) => G(e, r)) : false;
|
|
834
834
|
}
|
|
835
|
-
function
|
|
835
|
+
function El(e, t) {
|
|
836
836
|
return V(t.allOf) ? t.allOf.map((r) => G(e, r)).every((r) => r) : false;
|
|
837
837
|
}
|
|
838
|
-
function
|
|
838
|
+
function Il(e, t) {
|
|
839
839
|
return !Un(e, t).length;
|
|
840
840
|
}
|
|
841
841
|
function G(e, t) {
|
|
842
842
|
if (t.oneOf)
|
|
843
|
-
return
|
|
843
|
+
return kl(e, t);
|
|
844
844
|
if (t.allOf)
|
|
845
|
-
return
|
|
845
|
+
return El(e, t);
|
|
846
846
|
if (t.const)
|
|
847
|
-
return
|
|
847
|
+
return Al(e, t);
|
|
848
848
|
switch (t.type) {
|
|
849
849
|
case "string":
|
|
850
|
-
return
|
|
850
|
+
return Fl(e, t);
|
|
851
851
|
case "number":
|
|
852
|
-
return
|
|
852
|
+
return bl(e, t);
|
|
853
853
|
case "integer":
|
|
854
|
-
return
|
|
854
|
+
return xl(e, t);
|
|
855
855
|
case "boolean":
|
|
856
|
-
return
|
|
856
|
+
return vl(e, t);
|
|
857
857
|
case "array":
|
|
858
|
-
return
|
|
858
|
+
return Ml(e, t);
|
|
859
859
|
case "object":
|
|
860
|
-
return
|
|
860
|
+
return Ol(e, t);
|
|
861
861
|
case "blob":
|
|
862
|
-
return
|
|
862
|
+
return Il(e, t);
|
|
863
863
|
default:
|
|
864
864
|
return false;
|
|
865
865
|
}
|
|
866
866
|
}
|
|
867
|
-
function
|
|
868
|
-
let t = new Date(e), r = String(t.getMonth() + 1),
|
|
869
|
-
return [
|
|
867
|
+
function Dl(e) {
|
|
868
|
+
let t = new Date(e), r = String(t.getMonth() + 1), a = String(t.getDate()), o = t.getFullYear(), n = r.length < 2 ? `0${r}` : r, i = a.length < 2 ? `0${a}` : a;
|
|
869
|
+
return [o, n, i].join("-");
|
|
870
870
|
}
|
|
871
871
|
var Hn = (e) => {
|
|
872
872
|
if (!e)
|
|
873
873
|
return null;
|
|
874
|
-
let [t, r,
|
|
875
|
-
return !z(t) || !z(r) || !z(
|
|
874
|
+
let [t, r, a] = e.split("-").map((o) => parseInt(o, 10));
|
|
875
|
+
return !z(t) || !z(r) || !z(a) ? null : new Date(t, r - 1, a);
|
|
876
876
|
};
|
|
877
|
-
var qn = (e) =>
|
|
877
|
+
var qn = (e) => Dl(e);
|
|
878
878
|
var Ye = (e, t) => {
|
|
879
|
-
let r,
|
|
880
|
-
r && (clearTimeout(r), r = null),
|
|
879
|
+
let r, a, o = () => {
|
|
880
|
+
r && (clearTimeout(r), r = null), a = null;
|
|
881
881
|
}, n = (...i) => {
|
|
882
|
-
|
|
883
|
-
e(...
|
|
882
|
+
a = i, r !== null && clearTimeout(r), r = setTimeout(() => {
|
|
883
|
+
e(...a), r = null, a = null;
|
|
884
884
|
}, t);
|
|
885
885
|
};
|
|
886
886
|
return n.cancel = () => {
|
|
887
|
-
r !== null &&
|
|
887
|
+
r !== null && o();
|
|
888
888
|
}, n.flush = () => {
|
|
889
|
-
r !== null && (e(...
|
|
889
|
+
r !== null && (e(...a), o());
|
|
890
890
|
}, n;
|
|
891
891
|
};
|
|
892
|
-
var Ze = (e, t) => e === t ? true : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((r,
|
|
893
|
-
var
|
|
894
|
-
let r = Object.keys(e),
|
|
895
|
-
return r.length ===
|
|
892
|
+
var Ze = (e, t) => e === t ? true : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((r, a) => Ze(r, t[a])) : !!(Gn(e) && Gn(t) && Ll(e, t));
|
|
893
|
+
var Ll = (e, t) => {
|
|
894
|
+
let r = Object.keys(e), a = Object.keys(t);
|
|
895
|
+
return r.length === a.length && r.every((o) => Object.hasOwnProperty.call(t, o) && Ze(e[o], t[o]));
|
|
896
896
|
};
|
|
897
897
|
var Gn = (e) => typeof e == "object" && e !== null;
|
|
898
898
|
function Nr(e) {
|
|
899
899
|
return Math.floor(e / 1024);
|
|
900
900
|
}
|
|
901
901
|
var Wn = (e) => new Promise((t, r) => {
|
|
902
|
-
let
|
|
903
|
-
|
|
902
|
+
let a = new FileReader();
|
|
903
|
+
a.readAsDataURL(e), a.addEventListener("load", () => t(a.result)), a.addEventListener("error", (o) => r(o));
|
|
904
904
|
});
|
|
905
905
|
function $n(e, t) {
|
|
906
|
-
let r = t.reduce((
|
|
907
|
-
for (let
|
|
908
|
-
let
|
|
909
|
-
if (!
|
|
906
|
+
let r = t.reduce((a, o) => C(s({}, a), { [o.id]: o }), {});
|
|
907
|
+
for (let a of e) {
|
|
908
|
+
let o = r[a.id];
|
|
909
|
+
if (!o || o.status !== a.status)
|
|
910
910
|
return false;
|
|
911
911
|
}
|
|
912
912
|
return true;
|
|
@@ -918,22 +918,22 @@ var require_main_min = __commonJS({
|
|
|
918
918
|
function rr(e) {
|
|
919
919
|
return !!e && !we(e);
|
|
920
920
|
}
|
|
921
|
-
var
|
|
922
|
-
var
|
|
923
|
-
var
|
|
921
|
+
var Tl = (e) => !!e.readOnly && Ve(e);
|
|
922
|
+
var Rl = (e) => !!e.oneOf && !!e.promotion;
|
|
923
|
+
var Nl = /* @__PURE__ */ new Set(["string", "number", "integer", "boolean"]);
|
|
924
924
|
function Ve(e) {
|
|
925
|
-
return
|
|
925
|
+
return Nl.has(e.type || "") || "const" in e && e.const !== void 0;
|
|
926
926
|
}
|
|
927
927
|
function De(e) {
|
|
928
928
|
return e.type === "object";
|
|
929
929
|
}
|
|
930
|
-
function
|
|
930
|
+
function lt(e) {
|
|
931
931
|
return ge(e) && e.oneOf.every((t) => t.type === "object");
|
|
932
932
|
}
|
|
933
933
|
function ge(e) {
|
|
934
934
|
return !!e.oneOf;
|
|
935
935
|
}
|
|
936
|
-
function
|
|
936
|
+
function Ua(e) {
|
|
937
937
|
return !!e.allOf;
|
|
938
938
|
}
|
|
939
939
|
function It(e) {
|
|
@@ -952,25 +952,25 @@ var require_main_min = __commonJS({
|
|
|
952
952
|
function Br(e) {
|
|
953
953
|
return !!e.persistAsync;
|
|
954
954
|
}
|
|
955
|
-
function
|
|
956
|
-
return Br(e) && (It(e.persistAsync.schema) ||
|
|
955
|
+
function Bl(e) {
|
|
956
|
+
return Br(e) && (It(e.persistAsync.schema) || zl(e.persistAsync.schema));
|
|
957
957
|
}
|
|
958
|
-
var
|
|
959
|
-
function
|
|
958
|
+
var Ha = (e) => Ve(e) && !!e.validationAsync;
|
|
959
|
+
function zl(e) {
|
|
960
960
|
return e.type === "string" && e.format === "base64url";
|
|
961
961
|
}
|
|
962
962
|
function _n(e) {
|
|
963
963
|
return e.type === "string" && e.format === "base64url";
|
|
964
964
|
}
|
|
965
|
-
var Kn = (e) => je(e) && Ie(e) &&
|
|
966
|
-
var dt = (e) =>
|
|
967
|
-
var Jn = (e) =>
|
|
968
|
-
var
|
|
969
|
-
var
|
|
965
|
+
var Kn = (e) => je(e) && Ie(e) && Bl(e.items);
|
|
966
|
+
var dt = (e) => Tl(e) ? "readOnly" : Br(e) ? "persistAsync" : Ha(e) ? "validationAsync" : De(e) ? "object" : je(e) ? "array" : Rl(e) ? "promotedOneOf" : ge(e) ? "oneOf" : Ua(e) ? "allOf" : Ve(e) ? "basic" : null;
|
|
967
|
+
var Jn = (e) => jl(e) && Vl(e) && Ul(e);
|
|
968
|
+
var jl = (e) => !e.type || e.type === "form";
|
|
969
|
+
var Vl = (e) => {
|
|
970
970
|
var t;
|
|
971
971
|
return ((t = e == null ? void 0 : e.actions) == null ? void 0 : t.length) === 1;
|
|
972
972
|
};
|
|
973
|
-
var
|
|
973
|
+
var Ul = (e) => {
|
|
974
974
|
if (!e.schemas)
|
|
975
975
|
return false;
|
|
976
976
|
let t = zr(e.schemas);
|
|
@@ -979,21 +979,21 @@ var require_main_min = __commonJS({
|
|
|
979
979
|
let r = t[0];
|
|
980
980
|
if (!De(r) || Object.values(r.properties).length !== 1)
|
|
981
981
|
return false;
|
|
982
|
-
let
|
|
983
|
-
return _n(
|
|
982
|
+
let a = Object.values(r.properties)[0];
|
|
983
|
+
return _n(a) ? a.source === "camera" : false;
|
|
984
984
|
};
|
|
985
985
|
var zr = (e) => e.filter((t) => De(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);
|
|
986
986
|
var $ = (e) => typeof e == "object" && e !== null && e.constructor === Object;
|
|
987
|
-
var
|
|
988
|
-
var
|
|
987
|
+
var qa = (e) => I(e) || $(e);
|
|
988
|
+
var Ga = (e) => Ee(e) || z(e) || L(e) || I(e);
|
|
989
989
|
var jr = (e) => L(e) || I(e);
|
|
990
|
-
var
|
|
991
|
-
var Xn = (e) => I(e) ? true :
|
|
992
|
-
var
|
|
993
|
-
var Yn = () =>
|
|
994
|
-
var
|
|
995
|
-
var
|
|
996
|
-
var
|
|
990
|
+
var Ta = (e) => V(e) ? e.length === 0 ? true : e.every((t) => typeof t == "string" || typeof t == "number" || typeof t == "boolean" || typeof t == "object") : false;
|
|
991
|
+
var Xn = (e) => I(e) ? true : Ta(e);
|
|
992
|
+
var ar = (e) => L(e) || I(e);
|
|
993
|
+
var Yn = () => ql() && (Gl() || Hl());
|
|
994
|
+
var Hl = (e = window.navigator.userAgent) => /mobi|\b(iphone|android|blackberry|webos|windows phone)\b/i.test(e);
|
|
995
|
+
var ql = (e = window.screen.width, t = window.screen.height) => e < 768 || t < 768;
|
|
996
|
+
var Gl = (e = window.navigator, t = window.matchMedia) => {
|
|
997
997
|
if ("maxTouchPoints" in e)
|
|
998
998
|
return e.maxTouchPoints > 0;
|
|
999
999
|
let r = t == null ? void 0 : t("(pointer:coarse)");
|
|
@@ -1003,16 +1003,16 @@ var require_main_min = __commonJS({
|
|
|
1003
1003
|
function Qn(e, t) {
|
|
1004
1004
|
return (0, Zn.useCallback)(Ye(e, t), [e, t]);
|
|
1005
1005
|
}
|
|
1006
|
-
var
|
|
1006
|
+
var or = require("react");
|
|
1007
1007
|
function ei(e) {
|
|
1008
|
-
let [t, r] = (0,
|
|
1009
|
-
return (0,
|
|
1010
|
-
e && (
|
|
1011
|
-
}, [e]), { requiresManualTrigger: !!(e && !t && !
|
|
1008
|
+
let [t, r] = (0, or.useState)(null), [a, o] = (0, or.useState)(false), n = () => o(true);
|
|
1009
|
+
return (0, or.useEffect)(() => {
|
|
1010
|
+
e && (o(false), r(window.open(e, "_blank")));
|
|
1011
|
+
}, [e]), { requiresManualTrigger: !!(e && !t && !a), dismissConfirmation: n };
|
|
1012
1012
|
}
|
|
1013
1013
|
var nr = require("react");
|
|
1014
1014
|
function ti(e, t) {
|
|
1015
|
-
let r =
|
|
1015
|
+
let r = ae(), a = (0, nr.useMemo)(() => {
|
|
1016
1016
|
if (e)
|
|
1017
1017
|
return () => r(e.url).then((n) => {
|
|
1018
1018
|
if (n.ok)
|
|
@@ -1023,75 +1023,77 @@ var require_main_min = __commonJS({
|
|
|
1023
1023
|
}
|
|
1024
1024
|
else
|
|
1025
1025
|
throw new Error("failed");
|
|
1026
|
+
}).catch((n) => {
|
|
1027
|
+
throw new Error(n.message === "failed" ? "failed" : "network failed");
|
|
1026
1028
|
});
|
|
1027
|
-
}, [e, r]),
|
|
1028
|
-
let c = ((e == null ? void 0 : e.responseHandlers) || []).find((
|
|
1029
|
+
}, [e, r]), o = (0, nr.useCallback)((n) => {
|
|
1030
|
+
let c = ((e == null ? void 0 : e.responseHandlers) || []).find((l) => l.result === n.result);
|
|
1029
1031
|
if (c != null && c.action) {
|
|
1030
|
-
let { action:
|
|
1031
|
-
if (
|
|
1032
|
-
let
|
|
1033
|
-
t(
|
|
1032
|
+
let { action: l } = c;
|
|
1033
|
+
if (l.exit) {
|
|
1034
|
+
let m = s(s({}, l.result || {}), n.data || {});
|
|
1035
|
+
t(C(s({}, l), { result: m }));
|
|
1034
1036
|
} else {
|
|
1035
|
-
let
|
|
1036
|
-
t(
|
|
1037
|
+
let m = s(s({}, l.data || {}), n.data || {});
|
|
1038
|
+
t(C(s({}, l), { data: m }));
|
|
1037
1039
|
}
|
|
1038
1040
|
return false;
|
|
1039
1041
|
}
|
|
1040
1042
|
return true;
|
|
1041
1043
|
}, [e == null ? void 0 : e.responseHandlers, t]);
|
|
1042
|
-
Vr({ asyncFn:
|
|
1044
|
+
Vr({ asyncFn: a, interval: (e == null ? void 0 : e.interval) || 0, maxAttempts: (e == null ? void 0 : e.maxAttempts) || 0, maxConsecutiveFails: (e == null ? void 0 : e.maxConsecutiveFails) || 0, onPollingResponse: o, onFailure: (0, nr.useCallback)(() => {
|
|
1043
1045
|
e && t(e.onError.action);
|
|
1044
1046
|
}, [t, e]) });
|
|
1045
1047
|
}
|
|
1046
1048
|
var wc = require("react");
|
|
1047
|
-
var
|
|
1049
|
+
var Cc = require("react-intl");
|
|
1048
1050
|
var ri = require("react-intl");
|
|
1049
1051
|
var ir = (0, ri.defineMessages)({ genericError: { id: "dynamicFlows.PersistAsyncSchema.genericError", defaultMessage: "Something went wrong, please try again later!", description: "Generic error message for persist async schema" } });
|
|
1050
|
-
var
|
|
1052
|
+
var bt = require("react");
|
|
1051
1053
|
var pc = require("react-intl");
|
|
1052
|
-
var
|
|
1054
|
+
var ai = { DAY_MONTH_YEAR: "day-month-year", MONTH_YEAR: "month-year" };
|
|
1053
1055
|
var N = { RADIO: "radio", CHECKBOX: "checkbox", SELECT: "select", EMAIL: "email", FILE: "file", DATE: "date", DATETIME: "date-time", DATELOOKUP: "date-lookup", TEL: "tel", NUMERIC: "numeric", NUMBER: "number", HIDDEN: "hidden", PASSWORD: "password", TEXT: "text", TEXTAREA: "textarea", UPLOAD: "upload", TAB: "tab" };
|
|
1054
|
-
var
|
|
1056
|
+
var oi = { SHORT: "short", LONG: "long" };
|
|
1055
1057
|
var ni = { EXTRA_SMALL: "xs", SMALL: "sm", MEDIUM: "md", LARGE: "lg", EXTRA_LARGE: "xl" };
|
|
1056
1058
|
var dc = ke(Qe());
|
|
1057
1059
|
var de = require("react");
|
|
1058
1060
|
var ui = require("@transferwise/components");
|
|
1059
1061
|
var Lt = require("@transferwise/components");
|
|
1060
1062
|
var si = require("react/jsx-runtime");
|
|
1061
|
-
var Dt = (e) =>
|
|
1062
|
-
var
|
|
1063
|
-
var $
|
|
1063
|
+
var Dt = (e) => Wl(e) || $l(e);
|
|
1064
|
+
var Wl = (e) => _l.some((t) => e === `flag-${t}`);
|
|
1065
|
+
var $l = (e) => Kl.some((t) => e === `flag-${t}`);
|
|
1064
1066
|
var ii = ({ name: e }) => {
|
|
1065
1067
|
if (!Dt(e))
|
|
1066
1068
|
return null;
|
|
1067
1069
|
let t = e.substring(5);
|
|
1068
1070
|
return (0, si.jsx)("img", { src: `https://wise.com/web-art/assets/flags/${t}.svg`, alt: "", "data-testid": `img-flag-${t}` });
|
|
1069
1071
|
};
|
|
1070
|
-
var
|
|
1071
|
-
var
|
|
1072
|
+
var _l = ["aed", "ars", "aud", "bdt", "bgn", "bhd", "bnd", "brl", "bwp", "cad", "chf", "clp", "cny", "cop", "crc", "czk", "dkk", "egp", "eur", "fjd", "gbp", "gel", "ghs", "gtq", "hkd", "hrk", "huf", "idr", "ils", "imp", "inr", "isk", "jmd", "jpy", "kes", "krw", "kwd", "lak", "lkr", "lsl", "mad", "mur", "mxn", "myr", "mzn", "nad", "ngn", "nok", "npr", "nzd", "omr", "pab", "pen", "php", "pkr", "pln", "qar", "ron", "rub", "sar", "sek", "sgd", "thb", "tmt", "try", "twd", "tzs", "uah", "ugx", "usd", "uyu", "vnd", "xof", "zar", "zmw"];
|
|
1073
|
+
var Kl = ["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"];
|
|
1072
1074
|
var ci = ke(require("@transferwise/icons"));
|
|
1073
1075
|
var di = require("react/jsx-runtime");
|
|
1074
1076
|
var Hr = (e) => {
|
|
1075
|
-
let t =
|
|
1077
|
+
let t = li(e);
|
|
1076
1078
|
return Object.keys(ci).includes(t);
|
|
1077
1079
|
};
|
|
1078
|
-
var
|
|
1080
|
+
var mi = ({ name: e }) => {
|
|
1079
1081
|
if (!Hr(e))
|
|
1080
1082
|
return null;
|
|
1081
|
-
let t =
|
|
1083
|
+
let t = li(e), r = ci[t];
|
|
1082
1084
|
return (0, di.jsx)(r, { size: 24 });
|
|
1083
1085
|
};
|
|
1084
|
-
var
|
|
1085
|
-
var
|
|
1086
|
+
var li = (e) => e.split("-").map(Jl).join("");
|
|
1087
|
+
var Jl = (e) => {
|
|
1086
1088
|
var t;
|
|
1087
1089
|
return `${(t = e[0]) == null ? void 0 : t.toUpperCase()}${e.slice(1)}`;
|
|
1088
1090
|
};
|
|
1089
|
-
var
|
|
1090
|
-
var
|
|
1091
|
-
function
|
|
1091
|
+
var Wa = require("react/jsx-runtime");
|
|
1092
|
+
var Xl = ({ type: e }) => Dt(e) ? (0, Wa.jsx)(ii, { name: e }) : Hr(e) ? (0, Wa.jsx)(mi, { name: e }) : null;
|
|
1093
|
+
function $a(e) {
|
|
1092
1094
|
return Hr(e) || Dt(e);
|
|
1093
1095
|
}
|
|
1094
|
-
var et =
|
|
1096
|
+
var et = Xl;
|
|
1095
1097
|
var sr = require("react/jsx-runtime");
|
|
1096
1098
|
var ut = ({ icon: e, image: t }) => {
|
|
1097
1099
|
if (e != null && e.name)
|
|
@@ -1099,8 +1101,8 @@ var require_main_min = __commonJS({
|
|
|
1099
1101
|
if (e != null && e.text)
|
|
1100
1102
|
return (0, sr.jsx)(Lt.Avatar, { type: Lt.AvatarType.INITIALS, children: e.text });
|
|
1101
1103
|
if (t != null && t.url) {
|
|
1102
|
-
let { url: r, text:
|
|
1103
|
-
return (0, sr.jsx)("img", { src: r, alt:
|
|
1104
|
+
let { url: r, text: a } = t;
|
|
1105
|
+
return (0, sr.jsx)("img", { src: r, alt: a });
|
|
1104
1106
|
}
|
|
1105
1107
|
return null;
|
|
1106
1108
|
};
|
|
@@ -1120,7 +1122,7 @@ var require_main_min = __commonJS({
|
|
|
1120
1122
|
return "";
|
|
1121
1123
|
}
|
|
1122
1124
|
};
|
|
1123
|
-
var
|
|
1125
|
+
var Yl = (e) => {
|
|
1124
1126
|
switch (e) {
|
|
1125
1127
|
case "right":
|
|
1126
1128
|
return "text-xs-right";
|
|
@@ -1131,13 +1133,13 @@ var require_main_min = __commonJS({
|
|
|
1131
1133
|
return "";
|
|
1132
1134
|
}
|
|
1133
1135
|
};
|
|
1134
|
-
var
|
|
1136
|
+
var Ce = (e) => `${Yl(e.align)} ${U(e.margin)}`;
|
|
1135
1137
|
var pi = require("react/jsx-runtime");
|
|
1136
|
-
var
|
|
1138
|
+
var Zl = (e) => {
|
|
1137
1139
|
let t = e.component;
|
|
1138
|
-
return (0, pi.jsx)(ui.Alert, { type: ed(
|
|
1140
|
+
return (0, pi.jsx)(ui.Alert, { type: ed(Ql(t.context)), className: U(t.margin), message: t.markdown });
|
|
1139
1141
|
};
|
|
1140
|
-
var
|
|
1142
|
+
var Ql = (e) => {
|
|
1141
1143
|
switch (e) {
|
|
1142
1144
|
case "success":
|
|
1143
1145
|
return "positive";
|
|
@@ -1153,7 +1155,7 @@ var require_main_min = __commonJS({
|
|
|
1153
1155
|
}
|
|
1154
1156
|
};
|
|
1155
1157
|
var ed = (e) => !e || !["neutral", "warning", "negative", "positive"].includes(e) ? "neutral" : e;
|
|
1156
|
-
var se =
|
|
1158
|
+
var se = Zl;
|
|
1157
1159
|
var pt = require("react/jsx-runtime");
|
|
1158
1160
|
var td = (e) => {
|
|
1159
1161
|
let t = e.component, r = U(t.margin || t.border ? "lg" : "xs");
|
|
@@ -1175,18 +1177,18 @@ var require_main_min = __commonJS({
|
|
|
1175
1177
|
return " col-xs-12";
|
|
1176
1178
|
}
|
|
1177
1179
|
};
|
|
1178
|
-
var
|
|
1180
|
+
var _a = td;
|
|
1179
1181
|
var wi = require("@transferwise/components");
|
|
1180
|
-
var
|
|
1182
|
+
var ad = { primary: "primary", secondary: "secondary", link: "tertiary", positive: "primary", negative: "primary" };
|
|
1181
1183
|
var fi = (e) => {
|
|
1182
1184
|
var r;
|
|
1183
1185
|
let t = e.action.type;
|
|
1184
|
-
return (r = e.control) != null ? r : t ?
|
|
1186
|
+
return (r = e.control) != null ? r : t ? ad[t] : "secondary";
|
|
1185
1187
|
};
|
|
1186
|
-
var
|
|
1188
|
+
var od = { primary: "neutral", secondary: "neutral", link: "neutral", positive: "positive", negative: "negative" };
|
|
1187
1189
|
var hi = (e) => {
|
|
1188
|
-
var
|
|
1189
|
-
let t = e.action.type, r = (
|
|
1190
|
+
var a;
|
|
1191
|
+
let t = e.action.type, r = (a = e.context) != null ? a : t ? od[t] : "neutral";
|
|
1190
1192
|
return r === "neutral" ? "accent" : r;
|
|
1191
1193
|
};
|
|
1192
1194
|
var gi = (e) => {
|
|
@@ -1202,47 +1204,47 @@ var require_main_min = __commonJS({
|
|
|
1202
1204
|
return "md";
|
|
1203
1205
|
}
|
|
1204
1206
|
};
|
|
1205
|
-
var
|
|
1207
|
+
var Ci = require("react/jsx-runtime");
|
|
1206
1208
|
var nd = (e) => {
|
|
1207
|
-
var
|
|
1208
|
-
let { component: t, onAction: r } = e,
|
|
1209
|
-
return (0,
|
|
1209
|
+
var l;
|
|
1210
|
+
let { component: t, onAction: r } = e, a = t.action, o = hi(t), n = fi(t), { loading: i } = Pr(), c = U(t.margin || "md");
|
|
1211
|
+
return (0, Ci.jsx)(wi.Button, { size: gi(t.size), type: n === "tertiary" ? void 0 : o, priority: n, block: true, className: c, disabled: t.disabled || a.disabled || i, onClick: () => r(a), children: (l = t.title) != null ? l : a.title });
|
|
1210
1212
|
};
|
|
1211
|
-
var
|
|
1213
|
+
var Ka = nd;
|
|
1212
1214
|
var yt = require("react/jsx-runtime");
|
|
1213
1215
|
var id = (e) => {
|
|
1214
|
-
let t = e.component, { leftWidth: r, rightWidth:
|
|
1215
|
-
return (0, yt.jsxs)("div", { className: `${U(t.margin || "xs")} row`, children: [(0, yt.jsx)("div", { className: `${r} m-b-0`, children: (0, yt.jsx)(ne, { components: t.left, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }), (0, yt.jsx)("div", { className: `${
|
|
1216
|
+
let t = e.component, { leftWidth: r, rightWidth: a } = sd(t.bias);
|
|
1217
|
+
return (0, yt.jsxs)("div", { className: `${U(t.margin || "xs")} row`, children: [(0, yt.jsx)("div", { className: `${r} m-b-0`, children: (0, yt.jsx)(ne, { components: t.left, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) }), (0, yt.jsx)("div", { className: `${a} m-b-0`, children: (0, yt.jsx)(ne, { components: t.right, model: e.model, submitted: e.submitted, errors: e.errors, onModelChange: e.onModelChange, onAction: e.onAction, onPersistAsync: e.onPersistAsync }) })] });
|
|
1216
1218
|
};
|
|
1217
1219
|
var sd = (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" };
|
|
1218
|
-
var
|
|
1220
|
+
var Ja = id;
|
|
1219
1221
|
var Gr = require("@transferwise/components");
|
|
1220
1222
|
var qr = require("react/jsx-runtime");
|
|
1221
1223
|
function cd({ component: e, onAction: t }) {
|
|
1222
1224
|
return (0, qr.jsx)("div", { className: U(e.margin), children: (0, qr.jsx)(Gr.NavigationOptionsList, { children: e.options.map((r) => (0, qr.jsx)(Gr.NavigationOption, { title: r.title, content: r.description, disabled: r.disabled, media: ut(r), showMediaCircle: false, showMediaAtAllSizes: true, onClick: () => t(r.action) }, JSON.stringify(r))) }) });
|
|
1223
1225
|
}
|
|
1224
|
-
var
|
|
1225
|
-
var
|
|
1226
|
-
var
|
|
1226
|
+
var Xa = cd;
|
|
1227
|
+
var Si = require("react/jsx-runtime");
|
|
1228
|
+
var md = ({ component: e }) => {
|
|
1227
1229
|
let r = `m-t-0 ${U(e.margin)}`;
|
|
1228
|
-
return (0,
|
|
1230
|
+
return (0, Si.jsx)("hr", { className: r });
|
|
1229
1231
|
};
|
|
1230
|
-
var
|
|
1232
|
+
var Ya = md;
|
|
1231
1233
|
var Tt = require("@transferwise/components");
|
|
1232
1234
|
var Wr = require("react");
|
|
1233
1235
|
var xi = require("react-intl");
|
|
1234
1236
|
var Fi = require("react-intl");
|
|
1235
|
-
var
|
|
1237
|
+
var bi = (0, Fi.defineMessages)({ retryTitle: { id: "dynamicFlows.DynamicExternal.retryTitle", defaultMessage: "Reopen window", description: "" } });
|
|
1236
1238
|
var tt = require("react/jsx-runtime");
|
|
1237
|
-
var
|
|
1238
|
-
let { requestUrl: r, responseHandlers:
|
|
1239
|
+
var ld = ({ component: e, onAction: t }) => {
|
|
1240
|
+
let { requestUrl: r, responseHandlers: a, polling: o, retryTitle: n } = e, i = (0, xi.useIntl)(), c = (0, Wr.useCallback)(() => window.open(r, "df-external-window"), [r]);
|
|
1239
1241
|
(0, Wr.useEffect)(() => {
|
|
1240
1242
|
c();
|
|
1241
1243
|
}, [c]);
|
|
1242
|
-
let
|
|
1243
|
-
return ti(
|
|
1244
|
+
let l = o && a ? C(s({}, o), { responseHandlers: a }) : void 0;
|
|
1245
|
+
return ti(l, t), (0, tt.jsxs)(tt.Fragment, { children: [(0, tt.jsx)(Tt.Loader, { size: Tt.Size.LARGE, classNames: { "tw-loader": "tw-loader m-x-auto" } }), (0, tt.jsx)("br", {}), (0, tt.jsx)(Tt.Button, { priority: "tertiary", block: true, onClick: c, children: n || i.formatMessage(bi.retryTitle) })] });
|
|
1244
1246
|
};
|
|
1245
|
-
var
|
|
1247
|
+
var Za = ld;
|
|
1246
1248
|
var Gs = require("react");
|
|
1247
1249
|
var vi = require("@transferwise/components");
|
|
1248
1250
|
var Ai = ke(Qe());
|
|
@@ -1252,36 +1254,36 @@ var require_main_min = __commonJS({
|
|
|
1252
1254
|
var ud = (e) => e.reduce((t, r) => s(s({}, r), t), {});
|
|
1253
1255
|
var pd = (e) => ({ "col-xs-12": true, "col-sm-6": e === "md", "col-sm-4": e === "sm" });
|
|
1254
1256
|
function Pi(e) {
|
|
1255
|
-
let t = (
|
|
1256
|
-
let i = e.schema.allOf[
|
|
1257
|
-
r[
|
|
1258
|
-
}, [r,
|
|
1259
|
-
return (0, Te.jsxs)(Te.Fragment, { children: [e.schema.title && (0, Te.jsx)(vi.Header, { title: e.schema.title }), e.schema.description && (0, Te.jsx)("p", { children: e.schema.description }), (0, Te.jsx)("div", { className: "row", children: e.schema.allOf.map((
|
|
1257
|
+
let t = (o, n) => {
|
|
1258
|
+
let i = e.schema.allOf[o];
|
|
1259
|
+
r[o] = ce(n.model, i) || {}, a(r), e.onChange(C(s({}, n), { model: ud(r) }));
|
|
1260
|
+
}, [r, a] = (0, Oi.useState)(dd(e.model, e.schema.allOf));
|
|
1261
|
+
return (0, Te.jsxs)(Te.Fragment, { children: [e.schema.title && (0, Te.jsx)(vi.Header, { title: e.schema.title }), e.schema.description && (0, Te.jsx)("p", { children: e.schema.description }), (0, Te.jsx)("div", { className: "row", children: e.schema.allOf.map((o, n) => (0, Te.jsx)("div", { className: (0, Ai.default)(pd(o.width)), children: (0, Te.jsx)(me, { schema: o, model: r[n], errors: e.errors, submitted: e.submitted, disabled: e.disabled, onChange: (i) => t(n, C(s({}, i), { model: i.model })), onPersistAsync: e.onPersistAsync }) }, n)) })] });
|
|
1260
1262
|
}
|
|
1261
1263
|
Pi.defaultProps = { disabled: false };
|
|
1262
|
-
var
|
|
1264
|
+
var Qa = Pi;
|
|
1263
1265
|
var _r = require("@transferwise/components");
|
|
1264
1266
|
var Ui = ke(Qe());
|
|
1265
1267
|
var cr = require("react");
|
|
1266
1268
|
var $r = require("@transferwise/components");
|
|
1267
|
-
var
|
|
1269
|
+
var eo = require("@transferwise/formatting");
|
|
1268
1270
|
var ki = require("react-intl");
|
|
1269
1271
|
var Mi = require("react-intl");
|
|
1270
|
-
var
|
|
1272
|
+
var Se = (0, Mi.defineMessages)({ type: { id: "dynamicFlows.ControlFeedback.type", defaultMessage: "Incorrect type", description: "" }, minimum: { id: "dynamicFlows.ControlFeedback.minimum", defaultMessage: "Please enter a number that's {minimum} or more.", description: "" }, maximum: { id: "dynamicFlows.ControlFeedback.maximum", defaultMessage: "Please enter a number that's {maximum} or less.", description: "" }, minLength: { id: "dynamicFlows.ControlFeedback.minLength", defaultMessage: "Please enter at least {minLength} characters.", description: "" }, maxLength: { id: "dynamicFlows.ControlFeedback.maxLength", defaultMessage: "Please enter {maxLength} or fewer characters.", description: "" }, minimumDate: { id: "dynamicFlows.ControlFeedback.minimumDate", defaultMessage: "Please enter a date that's on or after {minimum}.", description: "" }, maximumDate: { id: "dynamicFlows.ControlFeedback.maximumDate", defaultMessage: "Please enter a date that's on or before {maximum}.", description: "" }, pattern: { id: "dynamicFlows.ControlFeedback.pattern", defaultMessage: "Please enter this in the correct format.", description: "" }, patternDate: { id: "dynamicFlows.ControlFeedback.patternDate", defaultMessage: "Please enter a date in the corrrect format.", description: "" }, required: { id: "dynamicFlows.ControlFeedback.required", defaultMessage: "Please fill out this field.", description: "" } });
|
|
1271
1273
|
var Ue = require("react/jsx-runtime");
|
|
1272
1274
|
function Ei(e) {
|
|
1273
1275
|
var c;
|
|
1274
|
-
let t = yd(e.schema), r = s(s(s({}, t), e.validationMessages), e.schema.validationMessages),
|
|
1275
|
-
return (0, Ue.jsxs)("div", { id: e.id, children: [
|
|
1276
|
+
let t = yd(e.schema), r = s(s(s({}, t), e.validationMessages), e.schema.validationMessages), a = (e.submitted || !e.changed) && !!e.errors, o = !a && (e.submitted || e.changed && e.blurred) && !!((c = e.validations) != null && c.length), n = e.schema.description && !a && !o, i = !!e.infoMessage;
|
|
1277
|
+
return (0, Ue.jsxs)("div", { id: e.id, children: [a ? (0, Ue.jsx)($r.InlineAlert, { type: "error", children: e.errors }) : null, o ? (0, Ue.jsx)($r.InlineAlert, { type: "error", children: e.validations.map((l) => (0, Ue.jsx)("div", { children: r[l] }, l)) }) : null, (n || i) && (0, Ue.jsxs)($r.InlineAlert, { type: "info", children: [n && (0, Ue.jsx)("div", { children: e.schema.description }), i && (0, Ue.jsx)("div", { children: e.infoMessage })] })] });
|
|
1276
1278
|
}
|
|
1277
1279
|
Ei.defaultProps = { errors: "", validations: [], validationMessages: {}, validationAsyncSuccessMessage: null };
|
|
1278
1280
|
function yd(e) {
|
|
1279
|
-
let { formatMessage: t, locale: r } = (0, ki.useIntl)(),
|
|
1281
|
+
let { formatMessage: t, locale: r } = (0, ki.useIntl)(), a = { type: t(Se.type), minimum: t(Se.minimum, { minimum: e.minimum }), maximum: t(Se.maximum, { maximum: e.maximum }), minLength: t(Se.minLength, { minLength: e.minLength }), maxLength: t(Se.maxLength, { maxLength: e.maxLength }), pattern: t(Se.pattern), required: t(Se.required) };
|
|
1280
1282
|
if (e.format === "date") {
|
|
1281
|
-
let
|
|
1282
|
-
return s(s({},
|
|
1283
|
+
let o = { pattern: t(Se.patternDate), minimum: e.minimum ? t(Se.minimumDate, { minimum: (0, eo.formatDate)(new Date(e.minimum), r, { timeZone: "UTC", dateStyle: "long" }) }) : void 0, maximum: e.maximum ? t(Se.maximumDate, { maximum: (0, eo.formatDate)(new Date(e.maximum), r, { timeZone: "UTC", dateStyle: "long" }) }) : void 0 };
|
|
1284
|
+
return s(s({}, a), o);
|
|
1283
1285
|
}
|
|
1284
|
-
return
|
|
1286
|
+
return a;
|
|
1285
1287
|
}
|
|
1286
1288
|
var He = Ei;
|
|
1287
1289
|
async function Ii(e, t) {
|
|
@@ -1300,8 +1302,8 @@ var require_main_min = __commonJS({
|
|
|
1300
1302
|
if (!(R(e) && "data" in e) && !t)
|
|
1301
1303
|
return L(e) ? e : void 0;
|
|
1302
1304
|
if (t) {
|
|
1303
|
-
let
|
|
1304
|
-
return { id: Le(), message:
|
|
1305
|
+
let o = e;
|
|
1306
|
+
return { id: Le(), message: o.message };
|
|
1305
1307
|
}
|
|
1306
1308
|
return s({ message: L(e.message) ? e.message : "" }, e);
|
|
1307
1309
|
}
|
|
@@ -1311,35 +1313,35 @@ var require_main_min = __commonJS({
|
|
|
1311
1313
|
var Ni = require("react-intl");
|
|
1312
1314
|
var Bi = (0, Ni.defineMessages)({ minItemsError: { id: "dynamicFlows.MultipleFileUploadSchema.minItemsError", defaultMessage: "Please upload at least {minItems} file(s).", description: "Customer has uploaded not enough files. To fix: upload more files." }, maxItemsError: { id: "dynamicFlows.MultipleFileUploadSchema.maxItemsError", defaultMessage: "Please upload {maxItems} or fewer files.", description: "Customer has uploaded too many files. To fix: upload fewer files." }, maxFileSizeError: { id: "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError", defaultMessage: "Sorry, that file is too big. Please upload a smaller file.", description: "Customer has uploaded a file that's too big. To fix: upload a smaller file." } });
|
|
1313
1315
|
function ji({ maxItems: e, minItems: t }) {
|
|
1314
|
-
let { formatMessage: r } = (0, zi.useIntl)(), { maxFileSizeError:
|
|
1315
|
-
return { maxFileSizeErrorMessage: r(
|
|
1316
|
+
let { formatMessage: r } = (0, zi.useIntl)(), { maxFileSizeError: a, maxItemsError: o, minItemsError: n } = Bi;
|
|
1317
|
+
return { maxFileSizeErrorMessage: r(a), maxItemsErrorMessage: r(o, { maxItems: e }), minItemsErrorMessage: r(n, { minItems: t }), requiredMessage: r(Ri.required) };
|
|
1316
1318
|
}
|
|
1317
1319
|
var ft = require("react/jsx-runtime");
|
|
1318
1320
|
function Hi(e) {
|
|
1319
1321
|
var M, k;
|
|
1320
|
-
let { onChange: t, schema: r } = e,
|
|
1322
|
+
let { onChange: t, schema: r } = e, a = te(), o = ji(r), n = (0, cr.useMemo)(() => r.$id || Le(), [r.$id]), [i, c] = (0, cr.useState)(false), [l, m] = (0, cr.useState)(() => fd(e.model || [])), p = qi(r.items.persistAsync), h = r.items.persistAsync.schema, y = It(h), u = async (P) => {
|
|
1321
1323
|
c(true);
|
|
1322
1324
|
try {
|
|
1323
1325
|
let D = await Ii(P, y);
|
|
1324
|
-
|
|
1326
|
+
a("Dynamic Flow - PersistAsync", { status: "pending", schemaId: r.$id });
|
|
1325
1327
|
let H = await p(D);
|
|
1326
|
-
return
|
|
1328
|
+
return a("Dynamic Flow - PersistAsync", { status: "success", schemaId: r.$id }), Di(H);
|
|
1327
1329
|
} catch (D) {
|
|
1328
|
-
return
|
|
1330
|
+
return a("Dynamic Flow - PersistAsync", { status: "failure", schemaId: r.$id }), Promise.reject(Li(D));
|
|
1329
1331
|
}
|
|
1330
1332
|
};
|
|
1331
|
-
function
|
|
1332
|
-
if ($n(P,
|
|
1333
|
+
function d(P) {
|
|
1334
|
+
if ($n(P, l))
|
|
1333
1335
|
return;
|
|
1334
|
-
|
|
1336
|
+
m(P);
|
|
1335
1337
|
let H = Vi(P).map((ee) => ee.id);
|
|
1336
1338
|
t({ model: H, triggerSchema: r, triggerModel: H });
|
|
1337
1339
|
}
|
|
1338
|
-
let w = Vi(
|
|
1339
|
-
return (0, ft.jsxs)("div", { className: (0, Ui.default)("form-group", { "has-error": F }), children: [(0, ft.jsx)("label", { className: "d-block control-label", htmlFor: n, children: e.schema.title }), (0, ft.jsx)("div", { "aria-describedby": x, children: (0, ft.jsx)(_r.UploadInput, s({}, O)) }), (0, ft.jsx)(He, { id: x, changed: i, submitted: e.submitted, errors: e.errors, schema: e.schema, validations:
|
|
1340
|
+
let w = Vi(l).map((P) => P.id), S = Et(w, r, e.required), F = !!e.errors || (i || e.submitted) && !!S.length, g = "accepts" in h && h.accepts, v = "maxSize" in h && h.maxSize, O = C(s(s({ multiple: true, className: "form-control", files: l, fileInputName: n, id: n }, g ? { fileTypes: g } : void 0), v ? { sizeLimit: Nr(v) } : void 0), { sizeLimitErrorMessage: ((M = h.validationMessages) == null ? void 0 : M.maxSize) || o.maxFileSizeErrorMessage, maxFiles: e.schema.maxItems, maxFilesErrorMessage: ((k = e.schema.validationMessages) == null ? void 0 : k.maxItems) || o.maxItemsErrorMessage, uploadButtonTitle: h.title, description: h.description, disabled: e.disabled, onUploadFile: (P) => u(P.get(n)), onFilesChange: d, onDeleteFile: () => Promise.resolve() }), x = `${n}-feedback`;
|
|
1341
|
+
return (0, ft.jsxs)("div", { className: (0, Ui.default)("form-group", { "has-error": F }), children: [(0, ft.jsx)("label", { className: "d-block control-label", htmlFor: n, children: e.schema.title }), (0, ft.jsx)("div", { "aria-describedby": x, children: (0, ft.jsx)(_r.UploadInput, s({}, O)) }), (0, ft.jsx)(He, { id: x, changed: i, submitted: e.submitted, errors: e.errors, schema: e.schema, validations: S, validationMessages: gd(r, !!e.required, o), infoMessage: null, focused: false, blurred: true })] });
|
|
1340
1342
|
}
|
|
1341
1343
|
Hi.defaultProps = { errors: null, required: false };
|
|
1342
|
-
var
|
|
1344
|
+
var to = Hi;
|
|
1343
1345
|
function Vi(e) {
|
|
1344
1346
|
return e.filter((t) => !t.error && t.status === "succeeded");
|
|
1345
1347
|
}
|
|
@@ -1350,8 +1352,8 @@ var require_main_min = __commonJS({
|
|
|
1350
1352
|
return z(e) || L(e);
|
|
1351
1353
|
}
|
|
1352
1354
|
function gd(e, t, r) {
|
|
1353
|
-
let { minItems:
|
|
1354
|
-
return s(s(s({}, t && { required: r.requiredMessage }),
|
|
1355
|
+
let { minItems: a, maxItems: o } = e;
|
|
1356
|
+
return s(s(s({}, t && { required: r.requiredMessage }), a && { minItems: r.minItemsErrorMessage }), o && { maxItems: r.maxItemsErrorMessage });
|
|
1355
1357
|
}
|
|
1356
1358
|
var Nt = require("@transferwise/components");
|
|
1357
1359
|
var Zi = require("@transferwise/icons");
|
|
@@ -1364,68 +1366,68 @@ var require_main_min = __commonJS({
|
|
|
1364
1366
|
var ht = (0, _i.defineMessages)({ addItemTitle: { id: "dynamicFlows.ArraySchema.addItemTitle", defaultMessage: "Add Item", description: "Label on the button used to open a form to add an item" }, addItem: { id: "dynamicFlows.ArraySchema.addItem", defaultMessage: "Save", description: "Label on the add button used to submit a form that adds an item" }, editItem: { id: "dynamicFlows.ArraySchema.editItem", defaultMessage: "Save", description: "Label on the edit button used to submit a form that edits an item" }, removeItem: { id: "dynamicFlows.ArraySchema.removeItem", defaultMessage: "Remove", description: "Label on the remove button used to confirm deletion of an item" } });
|
|
1365
1367
|
var Ki = require("react-intl");
|
|
1366
1368
|
var Xi = require("react/jsx-runtime");
|
|
1367
|
-
function wd({ type: e, schema: t, model: r, errors:
|
|
1368
|
-
let { formatMessage: c } = (0, Ki.useIntl)(),
|
|
1369
|
-
return (0, Xi.jsx)(Kr, { step:
|
|
1370
|
-
i(
|
|
1369
|
+
function wd({ type: e, schema: t, model: r, errors: a, submitted: o, onModelChange: n, onAction: i }) {
|
|
1370
|
+
let { formatMessage: c } = (0, Ki.useIntl)(), l = { layout: [{ type: "form", schema: t.items }, { type: "button", control: "primary", action: { url: e, title: c(e === "add" ? ht.addItem : ht.editItem) } }, ...e === "edit" ? [{ type: "button", context: "negative", action: { url: "remove", title: c(ht.removeItem) } }] : []], title: "", actions: [], schemas: [] };
|
|
1371
|
+
return (0, Xi.jsx)(Kr, { step: l, model: r, stepLayoutOptions: { displayStepTitle: false }, submitted: o, formErrors: a, globalError: null, onAction: (m) => {
|
|
1372
|
+
i(m.url);
|
|
1371
1373
|
}, onModelChange: n });
|
|
1372
1374
|
}
|
|
1373
1375
|
var Ji = wd;
|
|
1374
1376
|
var Jr = (e, t) => {
|
|
1375
|
-
let r =
|
|
1377
|
+
let r = mr(e, t);
|
|
1376
1378
|
if (r >= 0)
|
|
1377
1379
|
return r;
|
|
1378
1380
|
if (e.oneOf.length === 1 && rr(e.oneOf[0]))
|
|
1379
1381
|
return 0;
|
|
1380
1382
|
if (we(e.oneOf[0])) {
|
|
1381
|
-
let
|
|
1382
|
-
if (
|
|
1383
|
-
return
|
|
1383
|
+
let a = mr(e, e.default);
|
|
1384
|
+
if (a >= 0)
|
|
1385
|
+
return a;
|
|
1384
1386
|
}
|
|
1385
|
-
return
|
|
1387
|
+
return lt(e) && $(t) && Object.keys(t).length >= 1 ? Rt(e, t) : lt(e) && !Y(e.default) && $(e.default) && Object.keys(e.default).length >= 1 ? Rt(e, e.default) : null;
|
|
1386
1388
|
};
|
|
1387
|
-
var
|
|
1388
|
-
let r = (
|
|
1389
|
+
var mr = (e, t) => {
|
|
1390
|
+
let r = (a) => !Y(t) && G(t, a);
|
|
1389
1391
|
return e.oneOf.filter(r).length === 1 ? e.oneOf.findIndex(r) : -1;
|
|
1390
1392
|
};
|
|
1391
1393
|
function Rt(e, t) {
|
|
1392
1394
|
if (t == null)
|
|
1393
1395
|
return null;
|
|
1394
|
-
let r = e.oneOf.map((
|
|
1395
|
-
return r.every((
|
|
1396
|
+
let r = e.oneOf.map((a) => Cd(a).reduce((o, [n, i]) => we(i) && i.const === t[n] ? o + 2 : rr(i) && typeof t[n] != "undefined" ? o + 1 : o, 0));
|
|
1397
|
+
return r.every((a) => a === r[0]) ? null : r.indexOf(Math.max(...r));
|
|
1396
1398
|
}
|
|
1397
|
-
function
|
|
1399
|
+
function Cd(e) {
|
|
1398
1400
|
return e.properties !== null && typeof e.properties == "object" ? Object.entries(e.properties) : [];
|
|
1399
1401
|
}
|
|
1400
|
-
var
|
|
1401
|
-
let { defaultTitle:
|
|
1402
|
+
var ro = (e, t, r = {}) => {
|
|
1403
|
+
let { defaultTitle: a = "", defaultDescription: o = "", defaultIcon: n, defaultImage: i } = r, c = rt({ schema: e, model: t, providesProp: "providesTitle", getValueFromSchema: Yi }), l = rt({ schema: e, model: t, providesProp: "providesDescription", getValueFromSchema: Yi }), m = rt({ schema: e, model: t, providesProp: "providesIcon", getValueFromSchema: (h) => {
|
|
1402
1404
|
var y;
|
|
1403
1405
|
return (y = h.icon) != null ? y : null;
|
|
1404
1406
|
} }), p = rt({ schema: e, model: t, providesProp: "providesImage", getValueFromSchema: (h) => {
|
|
1405
1407
|
var y;
|
|
1406
1408
|
return (y = h.image) != null ? y : null;
|
|
1407
1409
|
} });
|
|
1408
|
-
return { value: t, title: c ||
|
|
1410
|
+
return { value: t, title: c || a, description: l || o, icon: m || n, image: p || i };
|
|
1409
1411
|
};
|
|
1410
1412
|
var rt = (e) => {
|
|
1411
|
-
let { schema: t, model: r, providesProp:
|
|
1412
|
-
if (xd(t.summary,
|
|
1413
|
-
return
|
|
1413
|
+
let { schema: t, model: r, providesProp: a, getValueFromSchema: o } = e;
|
|
1414
|
+
if (xd(t.summary, a))
|
|
1415
|
+
return o(t, r);
|
|
1414
1416
|
switch (dt(t)) {
|
|
1415
1417
|
case "object":
|
|
1416
|
-
return
|
|
1418
|
+
return Sd(e);
|
|
1417
1419
|
case "oneOf":
|
|
1418
1420
|
return Fd(e);
|
|
1419
1421
|
case "allOf":
|
|
1420
|
-
return
|
|
1422
|
+
return bd(e);
|
|
1421
1423
|
default:
|
|
1422
1424
|
return null;
|
|
1423
1425
|
}
|
|
1424
1426
|
};
|
|
1425
|
-
var
|
|
1426
|
-
let { schema: t, model: r } = e,
|
|
1427
|
-
for (let
|
|
1428
|
-
let n =
|
|
1427
|
+
var Sd = (e) => {
|
|
1428
|
+
let { schema: t, model: r } = e, a = t;
|
|
1429
|
+
for (let o in a.properties) {
|
|
1430
|
+
let n = a.properties[o], i = $(r) && o in r ? r[o] : null, c = rt(C(s({}, e), { schema: n, model: i }));
|
|
1429
1431
|
if (c)
|
|
1430
1432
|
return c;
|
|
1431
1433
|
}
|
|
@@ -1433,117 +1435,117 @@ var require_main_min = __commonJS({
|
|
|
1433
1435
|
};
|
|
1434
1436
|
var Fd = (e) => {
|
|
1435
1437
|
let { schema: t, model: r } = e;
|
|
1436
|
-
if (
|
|
1438
|
+
if (lt(t)) {
|
|
1437
1439
|
if (!$(r))
|
|
1438
1440
|
return null;
|
|
1439
1441
|
let n = Rt(t, r);
|
|
1440
1442
|
if (n === null || n < 0)
|
|
1441
1443
|
return null;
|
|
1442
1444
|
let i = t.oneOf[n];
|
|
1443
|
-
return rt(
|
|
1445
|
+
return rt(C(s({}, e), { schema: i }));
|
|
1444
1446
|
}
|
|
1445
|
-
let
|
|
1446
|
-
return
|
|
1447
|
+
let a = t, o = Jr(a, r);
|
|
1448
|
+
return o === null || o < 0 ? null : rt(C(s({}, e), { schema: a.oneOf[o] }));
|
|
1447
1449
|
};
|
|
1448
|
-
var
|
|
1450
|
+
var bd = (e) => {
|
|
1449
1451
|
let { schema: t } = e, r = t;
|
|
1450
|
-
for (let
|
|
1451
|
-
let
|
|
1452
|
-
if (
|
|
1453
|
-
return
|
|
1452
|
+
for (let a of r.allOf) {
|
|
1453
|
+
let o = rt(C(s({}, e), { schema: a }));
|
|
1454
|
+
if (o)
|
|
1455
|
+
return o;
|
|
1454
1456
|
}
|
|
1455
1457
|
return null;
|
|
1456
1458
|
};
|
|
1457
1459
|
var Yi = (e, t) => we(e) ? e.title ? e.title : L(e.const) ? e.const : null : jr(t) ? t : null;
|
|
1458
1460
|
var xd = (e, t) => !!e && Object.hasOwnProperty.call(e, t) && !!e[t];
|
|
1459
1461
|
var Fe = require("react/jsx-runtime");
|
|
1460
|
-
var vd = ({ schema: e, model: t, errors: r, submitted:
|
|
1461
|
-
let [n, i] = (0, Xr.useState)(null), [c,
|
|
1462
|
+
var vd = ({ schema: e, model: t, errors: r, submitted: a, onChange: o }) => {
|
|
1463
|
+
let [n, i] = (0, Xr.useState)(null), [c, l] = (0, Xr.useState)(() => {
|
|
1462
1464
|
if (R(t) && !V(t))
|
|
1463
1465
|
throw new Error("RepeatableSchema does not support object models. Ensure your array schema is wrapped inside an object schema.");
|
|
1464
|
-
return t ? t.map((
|
|
1465
|
-
}), [
|
|
1466
|
-
let F =
|
|
1467
|
-
|
|
1466
|
+
return t ? t.map((S) => ro(e.items, S, e == null ? void 0 : e.summary)) : null;
|
|
1467
|
+
}), [m, p] = (0, Xr.useState)({ item: null, model: null }), h = (S) => {
|
|
1468
|
+
let F = S ? S.map(({ value: g }) => g) : null;
|
|
1469
|
+
o({ model: F, triggerSchema: e.items, triggerModel: F });
|
|
1468
1470
|
}, y = () => {
|
|
1469
1471
|
i("add");
|
|
1470
|
-
}, u = (
|
|
1471
|
-
p({ item:
|
|
1472
|
-
},
|
|
1472
|
+
}, u = (S) => {
|
|
1473
|
+
p({ item: S, model: S.value }), i("edit");
|
|
1474
|
+
}, d = (S) => {
|
|
1473
1475
|
var v;
|
|
1474
|
-
let F =
|
|
1475
|
-
if (
|
|
1476
|
+
let F = S === "remove" ? null : ro(e.items, m.model, e == null ? void 0 : e.summary);
|
|
1477
|
+
if (S !== "remove" && !G((v = F == null ? void 0 : F.value) != null ? v : null, e.items))
|
|
1476
1478
|
return;
|
|
1477
|
-
let g = Ad(
|
|
1478
|
-
|
|
1479
|
+
let g = Ad(S, { originalItem: m.item, updatedItem: F, itemSummaries: c });
|
|
1480
|
+
l(g), h(g), p({ item: null, model: null }), i(null);
|
|
1479
1481
|
}, f = () => {
|
|
1480
1482
|
p({ item: null, model: null }), i(null);
|
|
1481
1483
|
}, { formatMessage: w } = (0, Qi.useIntl)();
|
|
1482
|
-
return (0, Fe.jsxs)(Fe.Fragment, { children: [e.title && (0, Fe.jsx)(Nt.Header, { title: e.title }), c && c.map((
|
|
1484
|
+
return (0, Fe.jsxs)(Fe.Fragment, { children: [e.title && (0, Fe.jsx)(Nt.Header, { title: e.title }), c && c.map((S) => (0, Fe.jsx)(Wi, { item: S, onClick: () => u(S) }, JSON.stringify(S))), (0, Fe.jsx)(Nt.NavigationOption, { onClick: y, media: (0, Fe.jsx)(Zi.Plus, {}), title: e.addItemTitle || w(ht.addItemTitle), showMediaAtAllSizes: true }), (0, Fe.jsx)(Nt.Modal, { open: n !== null, onClose: f, title: (n === "add" ? e.addItemTitle : e.editItemTitle) || w(ht.addItemTitle), body: (0, Fe.jsx)(Ji, { type: n != null ? n : "add", schema: e, model: m.model, errors: r, submitted: a, onAction: d, onModelChange: ({ model: S }) => p(C(s({}, m), { model: S })) }) })] });
|
|
1483
1485
|
};
|
|
1484
|
-
var Ad = (e, { originalItem: t, updatedItem: r, itemSummaries:
|
|
1486
|
+
var Ad = (e, { originalItem: t, updatedItem: r, itemSummaries: a }) => {
|
|
1485
1487
|
if (e === "remove")
|
|
1486
|
-
return (
|
|
1488
|
+
return (a || []).filter((o) => o !== t);
|
|
1487
1489
|
if (!r)
|
|
1488
|
-
return
|
|
1490
|
+
return a;
|
|
1489
1491
|
switch (e) {
|
|
1490
1492
|
case "add":
|
|
1491
|
-
return [...
|
|
1493
|
+
return [...a || [], r];
|
|
1492
1494
|
case "edit":
|
|
1493
|
-
return (
|
|
1495
|
+
return (a || []).map((o) => o === t ? r : o);
|
|
1494
1496
|
default:
|
|
1495
1497
|
return null;
|
|
1496
1498
|
}
|
|
1497
1499
|
};
|
|
1498
1500
|
var es = vd;
|
|
1499
|
-
var
|
|
1501
|
+
var ao = require("react/jsx-runtime");
|
|
1500
1502
|
var ts = (e) => {
|
|
1501
1503
|
let { schema: t } = e;
|
|
1502
1504
|
if (Kn(t))
|
|
1503
|
-
return (0,
|
|
1505
|
+
return (0, ao.jsx)(to, C(s({}, e), { schema: t }));
|
|
1504
1506
|
if (Ie(t))
|
|
1505
|
-
return (0,
|
|
1507
|
+
return (0, ao.jsx)(es, C(s({}, e), { schema: t }));
|
|
1506
1508
|
throw new Error("Invalid array list schema");
|
|
1507
1509
|
};
|
|
1508
1510
|
ts.defaultProps = { errors: null, required: false };
|
|
1509
1511
|
var rs = ts;
|
|
1510
|
-
var
|
|
1511
|
-
var
|
|
1512
|
+
var os = require("react/jsx-runtime");
|
|
1513
|
+
var as = (e) => {
|
|
1512
1514
|
let { schema: t } = e;
|
|
1513
1515
|
if (Ie(t))
|
|
1514
|
-
return (0,
|
|
1516
|
+
return (0, os.jsx)(rs, s({}, e));
|
|
1515
1517
|
throw new Error("Not implemented");
|
|
1516
1518
|
};
|
|
1517
|
-
|
|
1518
|
-
var
|
|
1519
|
+
as.defaultProps = { required: false };
|
|
1520
|
+
var oo = as;
|
|
1519
1521
|
var ns = ke(Qe());
|
|
1520
1522
|
var Yr = require("react");
|
|
1521
1523
|
var fe = require("react/jsx-runtime");
|
|
1522
1524
|
var Od = (e) => ({ "col-xs-12": true, "col-sm-6": e === "md", "col-sm-4": e === "sm" });
|
|
1523
1525
|
function is(e) {
|
|
1524
|
-
let [t, r] = (0, Yr.useState)(() => s({}, ce(e.model, e.schema))),
|
|
1525
|
-
p.model !== null ? t[
|
|
1526
|
-
},
|
|
1526
|
+
let [t, r] = (0, Yr.useState)(() => s({}, ce(e.model, e.schema))), a = (m, p) => {
|
|
1527
|
+
p.model !== null ? t[m] = p.model : delete t[m], r(t), e.onChange(C(s({}, p), { model: t }));
|
|
1528
|
+
}, o = (m) => e.schema.required && e.schema.required.includes(m);
|
|
1527
1529
|
(0, Yr.useEffect)(() => {
|
|
1528
|
-
let
|
|
1529
|
-
r(
|
|
1530
|
+
let m = ce(t, e.schema) || {};
|
|
1531
|
+
r(m), Ze(m, t) || e.onChange({ model: m, triggerSchema: e.schema, triggerModel: m });
|
|
1530
1532
|
}, [e.schema]);
|
|
1531
|
-
let n = /* @__PURE__ */ new Set([...e.schema.displayOrder || [], ...Object.keys(e.schema.properties)]), i = (
|
|
1532
|
-
return (0, fe.jsxs)(fe.Fragment, { children: [e.schema.alert && (0, fe.jsx)(se, { component: e.schema.alert }), (0, fe.jsxs)("fieldset", { children: [e.schema.title && !e.hideTitle && (0, fe.jsxs)("legend", { children: [" ", e.schema.title, " "] }), e.schema.description && !e.hideTitle && (0, fe.jsxs)("p", { children: [" ", e.schema.description, " "] }), (0, fe.jsx)("div", { className: "row", children: c.map((
|
|
1533
|
+
let n = /* @__PURE__ */ new Set([...e.schema.displayOrder || [], ...Object.keys(e.schema.properties)]), i = (m) => typeof e.schema.properties[m] != "undefined", c = Array.from(n).filter(i), l = e.errors;
|
|
1534
|
+
return (0, fe.jsxs)(fe.Fragment, { children: [e.schema.alert && (0, fe.jsx)(se, { component: e.schema.alert }), (0, fe.jsxs)("fieldset", { children: [e.schema.title && !e.hideTitle && (0, fe.jsxs)("legend", { children: [" ", e.schema.title, " "] }), e.schema.description && !e.hideTitle && (0, fe.jsxs)("p", { children: [" ", e.schema.description, " "] }), (0, fe.jsx)("div", { className: "row", children: c.map((m) => (0, fe.jsx)("div", { className: (0, ns.default)(Od(e.schema.properties[m].width)), children: (0, fe.jsx)(me, { schema: e.schema.properties[m], model: e.model && e.model[m], errors: l == null ? void 0 : l[m], submitted: e.submitted, required: o(m), disabled: e.disabled, onChange: (p) => a(m, p), onPersistAsync: e.onPersistAsync }) }, m)) })] })] });
|
|
1533
1535
|
}
|
|
1534
1536
|
is.defaultProps = { hideTitle: false, disabled: false };
|
|
1535
|
-
var
|
|
1536
|
-
var
|
|
1537
|
+
var lr = is;
|
|
1538
|
+
var Ss = require("@transferwise/components");
|
|
1537
1539
|
var Fs = ke(Qe());
|
|
1538
1540
|
var Re = require("react");
|
|
1539
1541
|
var Zr = require("@transferwise/components");
|
|
1540
|
-
var
|
|
1542
|
+
var ms = require("react-intl");
|
|
1541
1543
|
var ss = require("react-intl");
|
|
1542
1544
|
var cs = (0, ss.defineMessages)({ helpAria: { id: "dynamicFlows.Help.ariaLabel", defaultMessage: "Click here for more info.", description: "Aria label for help." } });
|
|
1543
|
-
var
|
|
1545
|
+
var no = require("react/jsx-runtime");
|
|
1544
1546
|
var Pd = (e) => {
|
|
1545
|
-
let t = (0,
|
|
1546
|
-
return (0,
|
|
1547
|
+
let t = (0, ms.useIntl)();
|
|
1548
|
+
return (0, no.jsx)(Zr.Info, { className: "m-l-1", content: (0, no.jsx)(Zr.Markdown, { children: e.help.markdown }), presentation: "POPOVER", size: "sm", "aria-label": t.formatMessage(cs.helpAria) });
|
|
1547
1549
|
};
|
|
1548
1550
|
var qe = Pd;
|
|
1549
1551
|
var ws = require("react");
|
|
@@ -1558,39 +1560,39 @@ var require_main_min = __commonJS({
|
|
|
1558
1560
|
}
|
|
1559
1561
|
if (!L(e)) {
|
|
1560
1562
|
if (r)
|
|
1561
|
-
return
|
|
1563
|
+
return so({ received: typeof e, expected: "string" }), String(e);
|
|
1562
1564
|
gt({ received: typeof e, expected: "string" });
|
|
1563
1565
|
return;
|
|
1564
1566
|
}
|
|
1565
1567
|
return e;
|
|
1566
1568
|
}
|
|
1567
1569
|
};
|
|
1568
|
-
var
|
|
1570
|
+
var io = (e, t = {}) => {
|
|
1569
1571
|
let { coerceValue: r = false } = t;
|
|
1570
1572
|
if (I(e))
|
|
1571
1573
|
return;
|
|
1572
1574
|
if (z(e))
|
|
1573
1575
|
return e;
|
|
1574
|
-
let
|
|
1576
|
+
let a = { received: typeof e, expected: "string or number" };
|
|
1575
1577
|
if (R(e)) {
|
|
1576
|
-
gt(
|
|
1578
|
+
gt(a);
|
|
1577
1579
|
return;
|
|
1578
1580
|
}
|
|
1579
1581
|
if (!L(e)) {
|
|
1580
1582
|
if (r)
|
|
1581
|
-
return
|
|
1582
|
-
gt(
|
|
1583
|
+
return so(a), String(e);
|
|
1584
|
+
gt(a);
|
|
1583
1585
|
return;
|
|
1584
1586
|
}
|
|
1585
1587
|
return e;
|
|
1586
1588
|
};
|
|
1587
|
-
var
|
|
1589
|
+
var ls = (e, t = {}) => {
|
|
1588
1590
|
let { coerceValue: r = false } = t;
|
|
1589
1591
|
if (I(e))
|
|
1590
1592
|
return false;
|
|
1591
1593
|
if (!Ee(e)) {
|
|
1592
1594
|
if (r)
|
|
1593
|
-
return
|
|
1595
|
+
return so({ received: typeof e, expected: "boolean" }), !!e;
|
|
1594
1596
|
gt({ received: typeof e, expected: "boolean" });
|
|
1595
1597
|
return;
|
|
1596
1598
|
}
|
|
@@ -1613,24 +1615,24 @@ var require_main_min = __commonJS({
|
|
|
1613
1615
|
let t = Hn(e);
|
|
1614
1616
|
return t === null && console.warn("Incorrectly formatted date string. Falling back to null."), t;
|
|
1615
1617
|
};
|
|
1616
|
-
var
|
|
1618
|
+
var so = ({ received: e, expected: t }) => {
|
|
1617
1619
|
console.warn(`Value with type ${e} passed to control that only accepts type ${t}. Type will be coerced, but this behaviour will change in the future, so please fix your code.`);
|
|
1618
1620
|
};
|
|
1619
1621
|
var gt = ({ received: e, expected: t, fallback: r = "undefined" }) => {
|
|
1620
1622
|
console.warn(`Value with type ${e} passed to control that only accepts type ${t}. Falling back to ${r}`);
|
|
1621
1623
|
};
|
|
1622
|
-
var
|
|
1624
|
+
var co = (e) => {
|
|
1623
1625
|
let t = e.filter((r) => ps[r]);
|
|
1624
1626
|
return t.length === 0 ? "off" : t.map((r) => ps[r]).join(" ");
|
|
1625
1627
|
};
|
|
1626
1628
|
var ps = { on: "on", name: "name", "name-prefix": "honorific-prefix", "given-name": "given-name", "additional-name": "additional-name", "family-name": "family-name", "name-suffix": "honorific-suffix", nickname: "nickname", email: "email", "new-username": "username", username: "username", "new-password": "new-password", password: "current-password", "one-time-code": "one-time-code", "job-title": "organization-title", "organization-name": "organization", "full-street-address": "street-address", "street-address-line-1": "address-line1", "street-address-line-2": "address-line2", "street-address-line-3": "address-line3", "address-level-1": "address-level1", "address-level-2": "address-level2", "address-level-3": "address-level3", "address-level-4": "address-level4", "country-code": "country", "country-name": "country-name", "postal-code": "postal-code", "credit-card-name": "cc-name", "credit-card-given-name": "cc-given-name", "credit-card-middle-name": "cc-additional-name", "credit-card-family-name": "cc-family-name", "credit-card-number": "cc-number", "credit-card-expiration": "cc-exp", "credit-card-expiration-month": "cc-exp-month", "credit-card-expiration-year": "cc-exp-year", "credit-card-security-code": "cc-csc", "credit-card-type": "cc-type", "transaction-currency": "transaction-currency", "transaction-amount": "transaction-amount", language: "language", birthdate: "bday", "birthdate-day": "bday-day", "birthdate-month": "bday-month", "birthdate-year": "bday-year", gender: "sex", "phone-number": "tel", "phone-country-code": "tel-country-code", "phone-national": "tel-national", "phone-area-code": "tel-area-code", "phone-local": "tel-local", "phone-local-prefix": "tel-local-prefix", "phone-local-suffix": "tel-local-suffix", "phone-extension": "tel-extension", url: "url", photo: "photo", impp: "impp", shipping: "shipping", billing: "billing", home: "home", work: "work", mobile: "mobile", fax: "fax", pager: "pager" };
|
|
1627
1629
|
var Z = require("react/jsx-runtime");
|
|
1628
|
-
var
|
|
1630
|
+
var be = class be extends ys.PureComponent {
|
|
1629
1631
|
constructor(r) {
|
|
1630
1632
|
super(r);
|
|
1631
1633
|
this.getAutocompleteValue = () => {
|
|
1632
|
-
let { autoComplete: r2, autocompleteHint:
|
|
1633
|
-
return V(
|
|
1634
|
+
let { autoComplete: r2, autocompleteHint: a } = this.props;
|
|
1635
|
+
return V(a) ? co(a) : r2 === true ? "on" : "off";
|
|
1634
1636
|
};
|
|
1635
1637
|
this.handleOnChange = (r2) => {
|
|
1636
1638
|
this.props.onChange(r2);
|
|
@@ -1639,42 +1641,42 @@ var require_main_min = __commonJS({
|
|
|
1639
1641
|
this.props.onChange(r2.target.value);
|
|
1640
1642
|
};
|
|
1641
1643
|
this.handleOnFocus = () => {
|
|
1642
|
-
var r2,
|
|
1643
|
-
(
|
|
1644
|
+
var r2, a;
|
|
1645
|
+
(a = (r2 = this.props).onFocus) == null || a.call(r2);
|
|
1644
1646
|
};
|
|
1645
1647
|
this.handleOnBlur = () => {
|
|
1646
|
-
var r2,
|
|
1647
|
-
(
|
|
1648
|
+
var r2, a;
|
|
1649
|
+
(a = (r2 = this.props).onBlur) == null || a.call(r2);
|
|
1648
1650
|
};
|
|
1649
1651
|
this.getSelectedOption = (r2) => {
|
|
1650
1652
|
if (this.state.selectedOption !== null && typeof this.state.selectedOption != "undefined")
|
|
1651
|
-
return r2.find((
|
|
1652
|
-
var
|
|
1653
|
-
return ((
|
|
1653
|
+
return r2.find((a) => {
|
|
1654
|
+
var o;
|
|
1655
|
+
return ((o = this.state.selectedOption) == null ? void 0 : o.value) === a.value;
|
|
1654
1656
|
});
|
|
1655
1657
|
if (this.props.value !== null && typeof this.props.value != "undefined")
|
|
1656
|
-
return r2.find((
|
|
1658
|
+
return r2.find((a) => this.props.value === a.value);
|
|
1657
1659
|
};
|
|
1658
|
-
this.mapOption = (r2) =>
|
|
1660
|
+
this.mapOption = (r2) => C(s({}, r2), { value: z(r2.value) || L(r2.value) ? r2.value : void 0, secondary: r2.note, disabled: r2.disabled || this.props.disabled, readOnly: this.props.readOnly });
|
|
1659
1661
|
this.state = { selectedOption: r.selectedOption, touched: false, prevValue: r.value };
|
|
1660
1662
|
}
|
|
1661
|
-
static getDerivedStateFromProps(r,
|
|
1662
|
-
return
|
|
1663
|
+
static getDerivedStateFromProps(r, a) {
|
|
1664
|
+
return a.prevValue !== r.value ? { prevValue: r.value, value: r.value } : null;
|
|
1663
1665
|
}
|
|
1664
1666
|
render() {
|
|
1665
1667
|
var ee;
|
|
1666
|
-
let { name: r, placeholder:
|
|
1668
|
+
let { name: r, placeholder: a, step: o, countryCode: n, type: i, options: c, disabled: l, readOnly: m, required: p, minLength: h, maxLength: y, min: u, max: d, searchPlaceholder: f, searchValue: w, onSearchChange: S, size: F, uploadProps: g, label: v, monthFormat: O, id: x, minDate: M, maxDate: k, value: P, mode: D, describedBy: H } = this.props;
|
|
1667
1669
|
switch (i) {
|
|
1668
1670
|
case N.RADIO:
|
|
1669
|
-
return (0, Z.jsx)(_.RadioGroup, { radios: c.map(this.mapOption), name: r, selectedValue:
|
|
1671
|
+
return (0, Z.jsx)(_.RadioGroup, { radios: c.map(this.mapOption), name: r, selectedValue: io(P, { coerceValue: true }), onChange: this.handleOnChange });
|
|
1670
1672
|
case N.CHECKBOX:
|
|
1671
|
-
return (0, Z.jsx)(_.Checkbox, { checked:
|
|
1673
|
+
return (0, Z.jsx)(_.Checkbox, { checked: ls(P, { coerceValue: true }), disabled: l, label: v, required: p, readOnly: m, onChange: this.handleOnChange, onBlur: this.handleOnBlur, onFocus: this.handleOnFocus });
|
|
1672
1674
|
case N.SELECT: {
|
|
1673
1675
|
let A = c.length >= 20;
|
|
1674
|
-
return (0, Z.jsx)(_.Select, { id: x, selected: this.getSelectedOption(c), options: c, search: A, required: p, disabled:
|
|
1676
|
+
return (0, Z.jsx)(_.Select, { id: x, selected: this.getSelectedOption(c), options: c, search: A, required: p, disabled: l, placeholder: a, searchPlaceholder: f, searchValue: w, onChange: (B) => {
|
|
1675
1677
|
var E;
|
|
1676
1678
|
this.setState({ selectedOption: B != null ? B : void 0 }), this.props.onChange((E = B == null ? void 0 : B.value) != null ? E : null);
|
|
1677
|
-
}, onFocus: this.handleOnFocus, onBlur: this.handleOnBlur, onSearchChange: A ?
|
|
1679
|
+
}, onFocus: this.handleOnFocus, onBlur: this.handleOnBlur, onSearchChange: A ? S : void 0 });
|
|
1678
1680
|
}
|
|
1679
1681
|
case N.TAB:
|
|
1680
1682
|
return (0, Z.jsx)(_.Tabs, { selected: ((ee = this.getSelectedOption(c)) == null ? void 0 : ee.value) || 0, tabs: c.map((A) => ({ title: A.label, content: (0, Z.jsx)(Z.Fragment, {}), disabled: A.disabled || false })), name: x, onTabSelect: (A) => {
|
|
@@ -1683,7 +1685,7 @@ var require_main_min = __commonJS({
|
|
|
1683
1685
|
} });
|
|
1684
1686
|
case N.NUMERIC:
|
|
1685
1687
|
case N.NUMBER:
|
|
1686
|
-
return (0, Z.jsx)("input", { autoComplete: this.getAutocompleteValue(), className: "form-control", disabled:
|
|
1688
|
+
return (0, Z.jsx)("input", { autoComplete: this.getAutocompleteValue(), className: "form-control", disabled: l, id: x, max: d, min: u, placeholder: a, readOnly: m, required: p, step: o, type: "number", value: io(P, { coerceValue: true }), onBlur: this.handleOnBlur, onChange: (A) => {
|
|
1687
1689
|
i === N.NUMERIC ? this.props.onChange(A.target.value) : this.props.onChange(parseFloat(A.target.value));
|
|
1688
1690
|
}, onFocus: this.handleOnFocus, onWheel: (A) => {
|
|
1689
1691
|
A.target instanceof HTMLElement && A.target.blur();
|
|
@@ -1691,23 +1693,23 @@ var require_main_min = __commonJS({
|
|
|
1691
1693
|
case N.HIDDEN:
|
|
1692
1694
|
return (0, Z.jsx)("input", { type: "hidden", name: r, value: Bt(P, { coerceValue: true }), id: x });
|
|
1693
1695
|
case N.PASSWORD:
|
|
1694
|
-
return (0, Z.jsx)("input", { autoComplete: this.getAutocompleteValue(), className: "form-control", disabled:
|
|
1696
|
+
return (0, Z.jsx)("input", { autoComplete: this.getAutocompleteValue(), className: "form-control", disabled: l, id: x, placeholder: a, readOnly: m, required: p, type: "password", value: Bt(P, { coerceValue: true }), onBlur: this.handleOnBlur, onChange: this.handleInputOnChange, onFocus: this.handleOnFocus, "aria-describedby": H });
|
|
1695
1697
|
case N.DATE:
|
|
1696
1698
|
case N.DATETIME:
|
|
1697
|
-
return (0, Z.jsx)(_.DateInput, { disabled:
|
|
1699
|
+
return (0, Z.jsx)(_.DateInput, { disabled: l, size: F, value: ds(P), mode: D, monthFormat: O, onBlur: this.handleOnBlur, onChange: this.handleOnChange, onFocus: this.handleOnFocus });
|
|
1698
1700
|
case N.DATELOOKUP:
|
|
1699
|
-
return (0, Z.jsx)(_.DateLookup, { value: us(P), min: M, max: k, placeholder:
|
|
1701
|
+
return (0, Z.jsx)(_.DateLookup, { value: us(P), min: M, max: k, placeholder: a, monthFormat: O, disabled: l, onChange: (A) => {
|
|
1700
1702
|
this.handleOnChange(qn(A));
|
|
1701
1703
|
}, onBlur: this.handleOnBlur, onFocus: this.handleOnFocus });
|
|
1702
1704
|
case N.TEL:
|
|
1703
|
-
return (0, Z.jsx)(_.PhoneNumberInput, { disabled:
|
|
1705
|
+
return (0, Z.jsx)(_.PhoneNumberInput, { disabled: l, countryCode: n, placeholder: a, required: p, searchPlaceholder: f, size: F, initialValue: Bt(P), onBlur: this.handleOnBlur, onChange: this.handleOnChange, onFocus: this.handleOnFocus });
|
|
1704
1706
|
case N.TEXTAREA: {
|
|
1705
|
-
let A = { className: "form-control tw-form-control", id: x, name: r, placeholder:
|
|
1706
|
-
return this.props.displayPattern ? (0, Z.jsx)(_.TextareaWithDisplayFormat,
|
|
1707
|
+
let A = { className: "form-control tw-form-control", id: x, name: r, placeholder: a, value: Bt(P, { coerceValue: true }), readOnly: m, required: p, minLength: h, maxLength: y, onFocus: this.handleOnFocus, onBlur: this.handleOnBlur, disabled: l, autoComplete: this.getAutocompleteValue() };
|
|
1708
|
+
return this.props.displayPattern ? (0, Z.jsx)(_.TextareaWithDisplayFormat, C(s({ displayPattern: this.props.displayPattern }, A), { onChange: this.handleOnChange })) : (0, Z.jsx)("textarea", C(s({}, A), { onChange: this.handleInputOnChange, "aria-describedby": H }));
|
|
1707
1709
|
}
|
|
1708
1710
|
case N.FILE:
|
|
1709
1711
|
case N.UPLOAD:
|
|
1710
|
-
return (0, Z.jsx)(_.Upload,
|
|
1712
|
+
return (0, Z.jsx)(_.Upload, C(s({}, g), { usAccept: g.usAccept || "*", usDisabled: g.usDisabled || l, onSuccess: (A) => {
|
|
1711
1713
|
this.handleOnChange(A);
|
|
1712
1714
|
}, onFailure: () => {
|
|
1713
1715
|
this.handleOnChange(null);
|
|
@@ -1717,15 +1719,15 @@ var require_main_min = __commonJS({
|
|
|
1717
1719
|
case N.TEXT:
|
|
1718
1720
|
case N.EMAIL:
|
|
1719
1721
|
default: {
|
|
1720
|
-
let A = { type: i === N.EMAIL ? "email" : "text", className: "form-control", id: x, name: r, placeholder:
|
|
1721
|
-
return this.props.displayPattern ? (0, Z.jsx)(_.InputWithDisplayFormat,
|
|
1722
|
+
let A = { type: i === N.EMAIL ? "email" : "text", className: "form-control", id: x, name: r, placeholder: a, value: Bt(P, { coerceValue: true }), readOnly: m, required: p, minLength: h, maxLength: y, onFocus: this.handleOnFocus, onBlur: this.handleOnBlur, disabled: l, autoComplete: this.getAutocompleteValue() };
|
|
1723
|
+
return this.props.displayPattern ? (0, Z.jsx)(_.InputWithDisplayFormat, C(s({ displayPattern: this.props.displayPattern }, A), { onChange: this.handleOnChange })) : (0, Z.jsx)("input", C(s({}, A), { onChange: this.handleInputOnChange, "aria-describedby": H }));
|
|
1722
1724
|
}
|
|
1723
1725
|
}
|
|
1724
1726
|
}
|
|
1725
1727
|
};
|
|
1726
|
-
|
|
1727
|
-
var zt =
|
|
1728
|
-
var
|
|
1728
|
+
be.Type = N, be.Size = ni, be.MonthFormat = oi, be.DateMode = ai, be.defaultProps = { autoComplete: true, countryCode: null, disabled: false, displayPattern: null, id: null, label: "", max: null, maxDate: null, maxLength: null, min: null, minDate: null, minLength: null, mode: be.DateMode.DAY_MONTH_YEAR, monthFormat: be.MonthFormat.LONG, onBlur: null, onFocus: null, onSearchChange: null, options: [], placeholder: null, readOnly: false, required: false, searchPlaceholder: null, searchValue: "", selectedOption: null, size: be.Size.MEDIUM, step: 1, type: be.Type.TEXT, uploadProps: {}, value: null };
|
|
1729
|
+
var zt = be;
|
|
1730
|
+
var at = require("@transferwise/components");
|
|
1729
1731
|
var xe = require("react/jsx-runtime");
|
|
1730
1732
|
var fs = (e, t) => {
|
|
1731
1733
|
switch (t) {
|
|
@@ -1740,8 +1742,8 @@ var require_main_min = __commonJS({
|
|
|
1740
1742
|
var kd = (e) => s(s(s(s(s({ label: e.title, value: e.const }, hs(e.title, e.description)), Dd(e.icon)), Id(e.image)), gs(e.disabled)), Ed(e.keywords));
|
|
1741
1743
|
var Ed = (e) => V(e) ? { searchStrings: e } : {};
|
|
1742
1744
|
var Id = (e) => e != null && e.url ? { icon: (0, xe.jsx)("div", { className: "media", children: (0, xe.jsx)("div", { className: "np-option__no-media-circle", children: (0, xe.jsx)("img", { src: e.url, alt: e.name || "" }) }) }) } : null;
|
|
1743
|
-
var Dd = (e) => e != null && e.name && Dt(e.name) ? { currency: e.name.substring(5) } : e != null && e.name &&
|
|
1744
|
-
var jt = ({ image: e, icon: t }) => e != null && e.url ? { avatar: (0, xe.jsx)(
|
|
1745
|
+
var Dd = (e) => e != null && e.name && Dt(e.name) ? { currency: e.name.substring(5) } : e != null && e.name && $a(e.name) ? { icon: (0, xe.jsx)(et, { type: e.name }) } : e != null && e.text ? { icon: (0, xe.jsx)("span", { children: e.text }) } : null;
|
|
1746
|
+
var jt = ({ image: e, icon: t }) => e != null && e.url ? { avatar: (0, xe.jsx)(at.Avatar, { type: at.AvatarType.THUMBNAIL, children: (0, xe.jsx)("img", { src: e.url, alt: "" }) }) } : t != null && t.name && $a(t.name) ? { avatar: (0, xe.jsx)(at.Avatar, { type: at.AvatarType.ICON, children: (0, xe.jsx)(et, { type: t.name }) }) } : t != null && t.text ? { avatar: (0, xe.jsx)(at.Avatar, { type: at.AvatarType.INITIALS, children: t.text }) } : null;
|
|
1745
1747
|
var Qr = ({ accepts: e }) => s({}, V(e) && { usAccept: e.join(",") });
|
|
1746
1748
|
var hs = (e, t) => {
|
|
1747
1749
|
if (e && t)
|
|
@@ -1751,43 +1753,43 @@ var require_main_min = __commonJS({
|
|
|
1751
1753
|
if (!Y(e) && !I(e))
|
|
1752
1754
|
return { disabled: e };
|
|
1753
1755
|
};
|
|
1754
|
-
var
|
|
1756
|
+
var mo = require("react/jsx-runtime");
|
|
1755
1757
|
var Ld = (e) => e === "string" || e === "number";
|
|
1756
|
-
var
|
|
1758
|
+
var lo = (e) => ge(e) ? e.control === N.TAB && e.oneOf.length > 3 ? N.SELECT : e.oneOf.length === 2 && !e.control ? N.RADIO : e.control || N.SELECT : Rr(e) ? Td(e) : "control" in e && e.control ? e.control : e.type === "boolean" ? "checkbox" : e.type === "integer" ? "number" : e.type;
|
|
1757
1759
|
var Td = ({ format: e, control: t }) => t ? Rd[t] || t : e && Nd[e] || "text";
|
|
1758
1760
|
var Rd = { "date-lookup": "date-lookup", password: "password", textarea: "textarea", email: "email", numeric: "numeric", "phone-number": "tel" };
|
|
1759
1761
|
var Nd = { date: "date", email: "email", base64url: "file", password: "password", "phone-number": "tel" };
|
|
1760
1762
|
var Bd = (e, t) => e.oneOf ? e.oneOf.map((r) => fs(r, t)) : null;
|
|
1761
|
-
function
|
|
1762
|
-
let { id: t, schema: r, value:
|
|
1763
|
+
function Cs(e) {
|
|
1764
|
+
let { id: t, schema: r, value: a, disabled: o, onChange: n, onFocus: i, onBlur: c, onSearchChange: l, describedBy: m } = e, p = Pt(), h = (F) => Ld(r.type) && (I(F) || Y(F)) ? "" : F, y = (F, g) => {
|
|
1763
1765
|
n(Je(F, r), g);
|
|
1764
|
-
}, u =
|
|
1766
|
+
}, u = lo(r);
|
|
1765
1767
|
(0, ws.useEffect)(() => {
|
|
1766
1768
|
zd(r, p, u);
|
|
1767
1769
|
}, [JSON.stringify(r), p, u]);
|
|
1768
|
-
let
|
|
1769
|
-
return (0,
|
|
1770
|
+
let d = r.values || Bd(r, u), f = { onFocus: i, onBlur: c, onSearchChange: l, onChange: y }, w = h(a), S = { id: t, name: t, label: r.title, options: d || [], placeholder: r.placeholder, autoComplete: !r.help, autocompleteHint: r.autocompleteHint, disabled: o || r.disabled, displayPattern: r.displayFormat, uploadProps: Qr(r), describedBy: m };
|
|
1771
|
+
return (0, mo.jsx)("div", { "aria-describedby": m, children: (0, mo.jsx)(zt, s(s({ type: u, value: w }, f), S)) });
|
|
1770
1772
|
}
|
|
1771
|
-
|
|
1773
|
+
Cs.defaultProps = { value: null, onFocus: null, onBlur: null, onSearchChange: null, disabled: false };
|
|
1772
1774
|
var zd = (e, t, r) => {
|
|
1773
1775
|
ge(e) && e.oneOf.length === 2 && !e.control && t.warning("Deprecation warning", 'A oneOf schema with 2 options and no control type currently renders as a "radio" but will be changed to render as a "select". Please specify control radio to retain the existing behaviour.'), r === "file" && t.warning("Deprecation warning", "Please use a persist-async blob schema instead of string with base64url for file uploads. The base64url does not perform well on low end devices. Support for this schema will be removed in a later release."), e.values && t.warning("Deprecated schema", "Schema.values is a legacy approach. Please use oneOf.");
|
|
1774
1776
|
};
|
|
1775
|
-
var dr =
|
|
1777
|
+
var dr = Cs;
|
|
1776
1778
|
var Q = require("react/jsx-runtime");
|
|
1777
|
-
function
|
|
1778
|
-
let t = te(), [r,
|
|
1779
|
+
function bs(e) {
|
|
1780
|
+
let t = te(), [r, a] = (0, Re.useState)(false), [o, n] = (0, Re.useState)(false), [i, c] = (0, Re.useState)(false), l = (0, Re.useMemo)(() => e.schema.$id || Le(), [e.schema.$id]), [m, p] = (0, Re.useState)(Jr(e.schema, e.model)), [h, y] = (0, Re.useState)(Hd(e.model, e.schema.oneOf)), u = Qn(t, 200), d = (M) => {
|
|
1779
1781
|
u("Dynamic Flow - OneOf Searched", { oneOfId: e.schema.analyticsId, searchValueLength: M.length });
|
|
1780
1782
|
};
|
|
1781
1783
|
if ((0, Re.useEffect)(() => {
|
|
1782
|
-
let M =
|
|
1784
|
+
let M = mr(e.schema, e.model), k = mr(e.schema, e.schema.default);
|
|
1783
1785
|
M === -1 && k >= 0 && F(k, "init");
|
|
1784
1786
|
}, [e.schema]), !V(e.schema.oneOf))
|
|
1785
1787
|
return console.error("Incorrect format", e.schema), null;
|
|
1786
1788
|
let f = (M, k) => {
|
|
1787
|
-
y([...h.slice(0, M), k.model, ...h.slice(M + 1)]),
|
|
1789
|
+
y([...h.slice(0, M), k.model, ...h.slice(M + 1)]), a(true), e.onChange(k);
|
|
1788
1790
|
}, w = () => {
|
|
1789
1791
|
n(true);
|
|
1790
|
-
},
|
|
1792
|
+
}, S = () => {
|
|
1791
1793
|
n(false), c(true);
|
|
1792
1794
|
}, F = (M, k) => {
|
|
1793
1795
|
p(M);
|
|
@@ -1798,13 +1800,13 @@ var require_main_min = __commonJS({
|
|
|
1798
1800
|
} else
|
|
1799
1801
|
e.onChange({ model: h[M], triggerSchema: P, triggerModel: h[M], type: k });
|
|
1800
1802
|
k !== "init" && e.schema.analyticsId && t("Dynamic Flow - OneOf Selected", { oneOfId: e.schema.analyticsId, schemaId: P == null ? void 0 : P.analyticsId });
|
|
1801
|
-
}, g = qd(e.schema), v = Vd(e,
|
|
1802
|
-
return (0, Q.jsxs)(Q.Fragment, { children: [(e.schema.oneOf.length > 1 || we(e.schema.oneOf[0])) && (0, Q.jsxs)(Q.Fragment, { children: [e.schema.alert && (0, Q.jsx)(se, { component: e.schema.alert }), (0, Q.jsxs)("div", { className: (0, Fs.default)(O), children: [jd(e.schema,
|
|
1803
|
+
}, g = qd(e.schema), v = Vd(e, m), O = { "form-group": true, "has-error": !r && e.errors && !Mt(e.errors) || (e.submitted || r && i) && v.length }, x = `${l}-feedback`;
|
|
1804
|
+
return (0, Q.jsxs)(Q.Fragment, { children: [(e.schema.oneOf.length > 1 || we(e.schema.oneOf[0])) && (0, Q.jsxs)(Q.Fragment, { children: [e.schema.alert && (0, Q.jsx)(se, { component: e.schema.alert }), (0, Q.jsxs)("div", { className: (0, Fs.default)(O), children: [jd(e.schema, l), (0, Q.jsx)(dr, { id: l, schema: g, value: m, disabled: e.disabled, describedBy: x, onChange: F, onFocus: w, onBlur: S, onSearchChange: d }), (0, Q.jsx)(He, { id: x, changed: r, focused: o, blurred: i, submitted: e.submitted, errors: Ud(e.errors), schema: e.schema, validations: v, infoMessage: null })] })] }), rr(e.schema.oneOf[m]) && (0, Q.jsx)(me, { schema: e.schema.oneOf[m], model: h[m], errors: e.errors, submitted: e.submitted, hideTitle: true, disabled: e.disabled, onChange: (M) => f(m, M), onPersistAsync: e.onPersistAsync })] });
|
|
1803
1805
|
}
|
|
1804
1806
|
function jd(e, t) {
|
|
1805
|
-
var
|
|
1806
|
-
let r = e.help ? (0, Q.jsx)(qe, { help: e.help }) : null,
|
|
1807
|
-
return e.title ?
|
|
1807
|
+
var o;
|
|
1808
|
+
let r = e.help ? (0, Q.jsx)(qe, { help: e.help }) : null, a = we(e.oneOf[0]) ? (0, Q.jsx)("div", { className: "m-b-1", children: (0, Q.jsxs)("label", { className: "control-label d-inline", htmlFor: t, children: [e.title, " ", r] }) }) : (0, Q.jsx)(Q.Fragment, { children: r ? (0, Q.jsxs)("h4", { className: "m-b-2", children: [e.title, " ", r] }) : (0, Q.jsx)(Ss.Header, { title: (o = e.title) != null ? o : "" }) });
|
|
1809
|
+
return e.title ? a : r;
|
|
1808
1810
|
}
|
|
1809
1811
|
function Vd(e, t) {
|
|
1810
1812
|
let r = e.schema.oneOf[t != null ? t : -1];
|
|
@@ -1817,63 +1819,63 @@ var require_main_min = __commonJS({
|
|
|
1817
1819
|
return t.map((r) => kt(e, r));
|
|
1818
1820
|
}
|
|
1819
1821
|
function qd(e) {
|
|
1820
|
-
return
|
|
1822
|
+
return C(s({}, e), { oneOf: e.oneOf.map(Gd) });
|
|
1821
1823
|
}
|
|
1822
1824
|
function Gd(e, t) {
|
|
1823
|
-
let { title: r, description:
|
|
1824
|
-
return { title: r, description:
|
|
1825
|
+
let { title: r, description: a, disabled: o = false, icon: n, image: i, keywords: c } = e;
|
|
1826
|
+
return { title: r, description: a, disabled: o, icon: n, image: i, const: t, keywords: c };
|
|
1825
1827
|
}
|
|
1826
|
-
|
|
1827
|
-
var
|
|
1828
|
+
bs.defaultProps = { required: false, disabled: false };
|
|
1829
|
+
var uo = bs;
|
|
1828
1830
|
var Os = ke(Qe());
|
|
1829
1831
|
var wt = require("react");
|
|
1830
|
-
var
|
|
1832
|
+
var ea = require("@transferwise/components");
|
|
1831
1833
|
var xs = require("react");
|
|
1832
1834
|
var As = require("react/jsx-runtime");
|
|
1833
1835
|
function vs(e) {
|
|
1834
|
-
let { id: t, httpClient: r = fetch, httpOptions:
|
|
1835
|
-
return (0, As.jsx)(
|
|
1836
|
+
let { id: t, httpClient: r = fetch, httpOptions: a, fileId: o, idProperty: n, usAccept: i, maxSize: c, usPlaceholder: l, onSuccess: m, onFailure: p, onCancel: h } = e, y = te(), u = (0, xs.useMemo)(() => o ? [{ id: o, status: ea.Status.SUCCEEDED }] : [], [o]), d = (f) => (y("Dynamic Flow - PersistAsync", { status: "pending", schemaId: t }), r(String(a.url), { method: a.method || "POST", body: f }).then((w) => w.ok ? (m == null || m(w.clone()), w.json().then((S) => ({ id: S[n] }))) : (p == null || p({ response: w }), Promise.reject())));
|
|
1837
|
+
return (0, As.jsx)(ea.UploadInput, { id: t, fileInputName: a.fileInputName, files: u, uploadButtonTitle: e.usLabel, sizeLimit: c ? Nr(c) : void 0, fileTypes: i, description: l, onUploadFile: d, onDeleteFile: (f) => (h == null || h(), Promise.resolve()) });
|
|
1836
1838
|
}
|
|
1837
1839
|
var Vt = require("react/jsx-runtime");
|
|
1838
1840
|
function Ps(e) {
|
|
1839
|
-
let [t, r] = (0, wt.useState)({}), [
|
|
1841
|
+
let [t, r] = (0, wt.useState)({}), [a, o] = (0, wt.useState)(null), [n, i] = (0, wt.useState)([]), [c, l] = (0, wt.useState)(false), m = ae(), p = te();
|
|
1840
1842
|
(0, wt.useEffect)(() => {
|
|
1841
1843
|
e.submitted && i(Xe(e.model, e.schema, !!e.required));
|
|
1842
1844
|
}, [e.model, e.submitted]);
|
|
1843
1845
|
let y = async (O, x) => {
|
|
1844
|
-
let M = await O.json(), k =
|
|
1845
|
-
e.onChange({ model: k, triggerSchema: e.schema, triggerModel: k }),
|
|
1846
|
+
let M = await O.json(), k = fo(e.schema.persistAsync.idProperty, M);
|
|
1847
|
+
e.onChange({ model: k, triggerSchema: e.schema, triggerModel: k }), l(true), p("Dynamic Flow - PersistAsync", { status: "success", schemaId: e.schema.$id });
|
|
1846
1848
|
}, u = async (O) => {
|
|
1847
1849
|
if (O.response && Lr(O.response.status)) {
|
|
1848
1850
|
let x = await O.response.json();
|
|
1849
|
-
r(x.validation || {}),
|
|
1851
|
+
r(x.validation || {}), o([e.schema.persistAsync.param]);
|
|
1850
1852
|
}
|
|
1851
|
-
e.onChange({ model: null, triggerSchema: e.schema, triggerModel: null }),
|
|
1852
|
-
},
|
|
1853
|
-
|
|
1854
|
-
}, { url: f, method: w } = e.schema.persistAsync,
|
|
1855
|
-
return (0, Vt.jsxs)("div", { className: (0, Os.default)(F), children: [(0, Vt.jsx)("div", { "aria-describedby": v, children: (0, Vt.jsx)(vs, s({ id: g, fileId: e.model, idProperty: e.schema.persistAsync.idProperty, animationDelay: 0, maxSize: e.schema.persistAsync.schema.maxSize, usLabel: e.schema.title || e.schema.persistAsync.schema.title, usPlaceholder: e.schema.description || e.schema.persistAsync.schema.description, httpOptions: { url: f, method: w, fileInputName: e.schema.persistAsync.param }, httpClient:
|
|
1853
|
+
e.onChange({ model: null, triggerSchema: e.schema, triggerModel: null }), l(true), p("Dynamic Flow - PersistAsync", { status: "failure", schemaId: e.schema.$id });
|
|
1854
|
+
}, d = () => {
|
|
1855
|
+
o(null), e.onChange({ model: null, triggerSchema: e.schema, triggerModel: null }), l(true);
|
|
1856
|
+
}, { url: f, method: w } = e.schema.persistAsync, S = a || n, F = { "form-group": true, "has-error": (e.submitted || c) && !!S.length }, g = e.schema.$id || e.schema.persistAsync.schema.$id || e.schema.persistAsync.idProperty, v = `${g}-feedback`;
|
|
1857
|
+
return (0, Vt.jsxs)("div", { className: (0, Os.default)(F), children: [(0, Vt.jsx)("div", { "aria-describedby": v, children: (0, Vt.jsx)(vs, s({ id: g, fileId: e.model, idProperty: e.schema.persistAsync.idProperty, animationDelay: 0, maxSize: e.schema.persistAsync.schema.maxSize, usLabel: e.schema.title || e.schema.persistAsync.schema.title, usPlaceholder: e.schema.description || e.schema.persistAsync.schema.description, httpOptions: { url: f, method: w, fileInputName: e.schema.persistAsync.param }, httpClient: m, onSuccess: y, onFailure: u, onCancel: d }, Qr(e.schema.persistAsync.schema))) }), (0, Vt.jsx)(He, { id: v, blurred: true, focused: false, changed: c, submitted: e.submitted, errors: e.errors, schema: e.schema, validations: S, validationMessages: s({ required: "Value is required..." }, t), infoMessage: null })] });
|
|
1856
1858
|
}
|
|
1857
1859
|
Ps.defaultProps = { required: false };
|
|
1858
|
-
var
|
|
1859
|
-
var
|
|
1860
|
+
var yo = Ps;
|
|
1861
|
+
var ho = require("react/jsx-runtime");
|
|
1860
1862
|
function Ms(e) {
|
|
1861
1863
|
let { schema: t } = e;
|
|
1862
|
-
return t.persistAsync.schema.type === "blob" ? (0,
|
|
1864
|
+
return t.persistAsync.schema.type === "blob" ? (0, ho.jsx)(yo, s({}, e)) : (0, ho.jsx)(po, s({}, e));
|
|
1863
1865
|
}
|
|
1864
1866
|
Ms.defaultProps = { required: false };
|
|
1865
|
-
var
|
|
1867
|
+
var go = Ms;
|
|
1866
1868
|
var zs = require("react");
|
|
1867
1869
|
var ks = (e, t) => {
|
|
1868
1870
|
let r = Rt(e, t);
|
|
1869
1871
|
return r !== null ? e.oneOf[r].promoted ? "promoted" : "other" : null;
|
|
1870
1872
|
};
|
|
1871
1873
|
var Es = require("@transferwise/components");
|
|
1872
|
-
var
|
|
1874
|
+
var wo = require("react/jsx-runtime");
|
|
1873
1875
|
var Is = (e) => {
|
|
1874
|
-
let { id: t, selection: r, setSelection:
|
|
1875
|
-
return (0,
|
|
1876
|
-
|
|
1876
|
+
let { id: t, selection: r, setSelection: a } = e, { promoted: o, other: n, checkedMeans: i } = e.promotion, c = i === "other" ? n.title : (o == null ? void 0 : o.title) || e.promotedOneOf.title, l = i === "other" ? "other" : "promoted", m = i === "other" ? "promoted" : "other", p = r === l;
|
|
1877
|
+
return (0, wo.jsx)("div", { className: "form-group", children: (0, wo.jsx)(Es.Checkbox, { id: t, label: c, checked: p, onChange: () => {
|
|
1878
|
+
a(p ? m : l);
|
|
1877
1879
|
} }) });
|
|
1878
1880
|
};
|
|
1879
1881
|
Is.defaultProps = {};
|
|
@@ -1881,9 +1883,9 @@ var require_main_min = __commonJS({
|
|
|
1881
1883
|
var Ls = require("@transferwise/components");
|
|
1882
1884
|
var ur = require("react/jsx-runtime");
|
|
1883
1885
|
function Ts(e) {
|
|
1884
|
-
var
|
|
1885
|
-
let { id: t, selection: r, setSelection:
|
|
1886
|
-
return (0, ur.jsxs)("div", { className: "form-group", children: [i && (0, ur.jsx)("label", { className: "control-label", htmlFor: t, children: i }), (0, ur.jsx)(Ls.RadioGroup, { name: "promoted-selection", selectedValue: r, radios: c, id: t, onChange:
|
|
1886
|
+
var l, m;
|
|
1887
|
+
let { id: t, selection: r, setSelection: a, promotion: o, promotedOneOf: n, title: i } = e, c = [s({ value: "promoted", label: ((l = o.promoted) == null ? void 0 : l.title) || n.title, secondary: ((m = o.promoted) == null ? void 0 : m.description) || n.description }, jt(n)), s({ value: "other", label: o.other.title, secondary: o.other.description }, jt(o.other))];
|
|
1888
|
+
return (0, ur.jsxs)("div", { className: "form-group", children: [i && (0, ur.jsx)("label", { className: "control-label", htmlFor: t, children: i }), (0, ur.jsx)(Ls.RadioGroup, { name: "promoted-selection", selectedValue: r, radios: c, id: t, onChange: a })] });
|
|
1887
1889
|
}
|
|
1888
1890
|
Ts.defaultProps = { title: void 0 };
|
|
1889
1891
|
var Rs = Ts;
|
|
@@ -1904,30 +1906,30 @@ var require_main_min = __commonJS({
|
|
|
1904
1906
|
var js = (e) => e.promoted === true;
|
|
1905
1907
|
var Wd = (e) => {
|
|
1906
1908
|
var c;
|
|
1907
|
-
let [t, r] = (0, zs.useState)(ks(e.schema, e.model) || ((c = e.schema.promotion) == null ? void 0 : c.default) || "promoted"),
|
|
1908
|
-
return (0, Ge.jsxs)(Ge.Fragment, { children: [
|
|
1909
|
+
let [t, r] = (0, zs.useState)(ks(e.schema, e.model) || ((c = e.schema.promotion) == null ? void 0 : c.default) || "promoted"), a = e.schema.alert, o = e.schema.oneOf.find(js), n = $d(o), i = _d(e.schema);
|
|
1910
|
+
return (0, Ge.jsxs)(Ge.Fragment, { children: [a && (0, Ge.jsx)(se, { component: a }), (0, Ge.jsx)(Bs, { id: e.schema.$id, title: e.schema.title, promotedOneOf: o, promotion: e.schema.promotion, selection: t, setSelection: r }), t === "promoted" && (0, Ge.jsx)(lr, C(s({}, e), { schema: n })), t === "other" && (0, Ge.jsx)(me, C(s({}, e), { schema: i }))] });
|
|
1909
1911
|
};
|
|
1910
1912
|
function $d(e) {
|
|
1911
|
-
return
|
|
1913
|
+
return C(s({}, e), { title: void 0, description: void 0 });
|
|
1912
1914
|
}
|
|
1913
1915
|
function _d(e) {
|
|
1914
|
-
var
|
|
1915
|
-
let t = (
|
|
1916
|
-
return t.length === 1 ?
|
|
1916
|
+
var a, o, n;
|
|
1917
|
+
let t = (a = e.promotion) != null && a.displayTwice ? [...e.oneOf] : e.oneOf.filter((i) => !js(i)), r = (n = (o = e.promotion) == null ? void 0 : o.other.heading) == null ? void 0 : n.text;
|
|
1918
|
+
return t.length === 1 ? C(s({}, t[0]), { title: r }) : t.length > 1 ? { title: r, oneOf: t, control: e.control } : null;
|
|
1917
1919
|
}
|
|
1918
|
-
var
|
|
1919
|
-
var
|
|
1920
|
+
var Co = Wd;
|
|
1921
|
+
var ta = require("@transferwise/components");
|
|
1920
1922
|
var Us = require("react-intl");
|
|
1921
1923
|
var Vs = require("react-intl");
|
|
1922
|
-
var
|
|
1924
|
+
var So = (0, Vs.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." } });
|
|
1923
1925
|
var Ht = require("react/jsx-runtime");
|
|
1924
1926
|
function Kd({ schema: e, model: t }) {
|
|
1925
|
-
let { title: r = "" } = e, { formatMessage:
|
|
1926
|
-
return (0, Ht.jsx)(
|
|
1927
|
+
let { title: r = "" } = e, { formatMessage: a } = (0, Us.useIntl)(), o = Jd({ schema: e, model: t, formatMessage: a });
|
|
1928
|
+
return (0, Ht.jsx)(ta.DefinitionList, { layout: ta.Layout.VERTICAL_ONE_COLUMN, definitions: [{ title: r, value: o, key: "" }] });
|
|
1927
1929
|
}
|
|
1928
|
-
var
|
|
1930
|
+
var Fo = Kd;
|
|
1929
1931
|
function Jd({ schema: e, model: t, formatMessage: r }) {
|
|
1930
|
-
return Ve(e) ? ge(e) ? Xd(e, t) : e.type === "boolean" && Ee(t) ? r(t ?
|
|
1932
|
+
return Ve(e) ? ge(e) ? Xd(e, t) : e.type === "boolean" && Ee(t) ? r(t ? So.yes : So.no) : t && t.toString() || "" : "";
|
|
1931
1933
|
}
|
|
1932
1934
|
function Xd(e, t) {
|
|
1933
1935
|
let r = Yd(e, t);
|
|
@@ -1943,13 +1945,13 @@ var require_main_min = __commonJS({
|
|
|
1943
1945
|
var Ne = require("react");
|
|
1944
1946
|
var qs = require("react/jsx-runtime");
|
|
1945
1947
|
function Hs(e) {
|
|
1946
|
-
let { schema: t, model: r, required:
|
|
1948
|
+
let { schema: t, model: r, required: a, submitted: o, errors: n, onChange: i } = e, [c, l] = (0, Ne.useState)(r), m = (0, Ne.useRef)(null), [p, h] = (0, Ne.useState)(null), [y, u] = (0, Ne.useState)(null), [d, f] = (0, Ne.useState)(false), [w, S] = (0, Ne.useState)(null), F = ae(), g = te(), v = Pt();
|
|
1947
1949
|
(0, Ne.useEffect)(() => {
|
|
1948
1950
|
t.validationAsync.method || v.warning("Invalid schema or model", 'ValidationAsyncSchema without a "method" property would have defaulted to "GET" in previous versions. Now defaults to "POST".', {});
|
|
1949
1951
|
}, [v, t.validationAsync.method]);
|
|
1950
1952
|
let O = async (D, H) => {
|
|
1951
1953
|
let ee = x(), A = { [H.param]: D };
|
|
1952
|
-
|
|
1954
|
+
m.current = D, f(true), g("Dynamic Flow - ValidationAsync", { status: "pending" });
|
|
1953
1955
|
let B = await F(H.url, { method: H.method || "POST", headers: { "Content-Type": "application/json" }, body: H.method === "GET" ? void 0 : JSON.stringify(A), signal: ee });
|
|
1954
1956
|
try {
|
|
1955
1957
|
let E = await B.json();
|
|
@@ -1962,84 +1964,84 @@ var require_main_min = __commonJS({
|
|
|
1962
1964
|
}, x = () => {
|
|
1963
1965
|
w && w.abort();
|
|
1964
1966
|
let D = new AbortController();
|
|
1965
|
-
return
|
|
1967
|
+
return S(D), D.signal;
|
|
1966
1968
|
};
|
|
1967
|
-
return (0, qs.jsx)(
|
|
1968
|
-
i(
|
|
1969
|
+
return (0, qs.jsx)(Ct, s({}, { submitted: o || d, model: c, errors: y || n, infoMessage: p, onChange: (D) => {
|
|
1970
|
+
i(C(s({}, D), { triggerSchema: t, triggerModel: D.model })), u(null), h(null), l(D.model);
|
|
1969
1971
|
}, onBlur: () => {
|
|
1970
|
-
!I(c) && !Ze(c,
|
|
1971
|
-
}, required:
|
|
1972
|
+
!I(c) && !Ze(c, m.current) && G(c, t) && O(c, t.validationAsync);
|
|
1973
|
+
}, required: a, schema: t }));
|
|
1972
1974
|
}
|
|
1973
1975
|
Hs.defaultProps = { required: false };
|
|
1974
|
-
var
|
|
1976
|
+
var bo = Hs;
|
|
1975
1977
|
var he = require("react/jsx-runtime");
|
|
1976
1978
|
var Ws = require("react");
|
|
1977
1979
|
function Qd(e) {
|
|
1978
|
-
let { schema: t, model: r = null, errors:
|
|
1980
|
+
let { schema: t, model: r = null, errors: a = null, hideTitle: o = false, disabled: n = false } = e, i = C(s({}, e), { model: r, errors: a, hideTitle: o, disabled: n }), c = dt(t), l = Pt();
|
|
1979
1981
|
switch ((0, Gs.useEffect)(() => {
|
|
1980
|
-
eu(t, r,
|
|
1981
|
-
}, [JSON.stringify(t), JSON.stringify(r), JSON.stringify(
|
|
1982
|
+
eu(t, r, a) || l.error("Invalid schema or model", `Schema of type ${c || "undefined"} requested, but schema did not pass validation.`);
|
|
1983
|
+
}, [JSON.stringify(t), JSON.stringify(r), JSON.stringify(a), c, l]), c) {
|
|
1982
1984
|
case "readOnly":
|
|
1983
|
-
return (0, he.jsx)(
|
|
1985
|
+
return (0, he.jsx)(Fo, s({}, i));
|
|
1984
1986
|
case "persistAsync":
|
|
1985
|
-
return (0, he.jsx)(
|
|
1987
|
+
return (0, he.jsx)(go, s({}, i));
|
|
1986
1988
|
case "validationAsync":
|
|
1987
|
-
return (0, he.jsx)(
|
|
1989
|
+
return (0, he.jsx)(bo, s({}, i));
|
|
1988
1990
|
case "basic": {
|
|
1989
|
-
let
|
|
1990
|
-
return (0, he.jsx)(
|
|
1991
|
+
let m = s({ infoMessage: null }, i);
|
|
1992
|
+
return (0, he.jsx)(Ct, s({}, m));
|
|
1991
1993
|
}
|
|
1992
1994
|
case "object":
|
|
1993
|
-
return (0, Ws.createElement)(
|
|
1995
|
+
return (0, Ws.createElement)(lr, C(s({}, i), { key: JSON.stringify(t) }));
|
|
1994
1996
|
case "array":
|
|
1995
|
-
return (0, he.jsx)(
|
|
1997
|
+
return (0, he.jsx)(oo, s({}, i));
|
|
1996
1998
|
case "promotedOneOf":
|
|
1997
|
-
return (0, he.jsx)(
|
|
1999
|
+
return (0, he.jsx)(Co, s({}, i));
|
|
1998
2000
|
case "oneOf":
|
|
1999
|
-
return (0, he.jsx)(
|
|
2001
|
+
return (0, he.jsx)(uo, s({}, i));
|
|
2000
2002
|
case "allOf":
|
|
2001
|
-
return (0, he.jsx)(
|
|
2003
|
+
return (0, he.jsx)(Qa, s({}, i));
|
|
2002
2004
|
}
|
|
2003
2005
|
return (0, he.jsx)(he.Fragment, {});
|
|
2004
2006
|
}
|
|
2005
|
-
var
|
|
2007
|
+
var me = Qd;
|
|
2006
2008
|
var eu = (e, t, r) => {
|
|
2007
2009
|
switch (dt(e)) {
|
|
2008
2010
|
case "persistAsync":
|
|
2009
|
-
return Br(e) && jr(t) &&
|
|
2011
|
+
return Br(e) && jr(t) && ar(r);
|
|
2010
2012
|
case "validationAsync":
|
|
2011
|
-
return
|
|
2013
|
+
return Ha(e) && Ga(t) && ar(r);
|
|
2012
2014
|
case "basic":
|
|
2013
|
-
return Ve(e) &&
|
|
2015
|
+
return Ve(e) && Ga(t) && ar(r);
|
|
2014
2016
|
case "object":
|
|
2015
|
-
return De(e) &&
|
|
2017
|
+
return De(e) && qa(t);
|
|
2016
2018
|
case "array":
|
|
2017
|
-
return je(e) && Xn(t) &&
|
|
2019
|
+
return je(e) && Xn(t) && ar(r);
|
|
2018
2020
|
case "promotedOneOf":
|
|
2019
|
-
return
|
|
2021
|
+
return lt(e) && qa(t);
|
|
2020
2022
|
case "oneOf":
|
|
2021
2023
|
return ge(e);
|
|
2022
2024
|
case "allOf":
|
|
2023
|
-
return
|
|
2025
|
+
return Ua(e) && $(t);
|
|
2024
2026
|
}
|
|
2025
2027
|
return false;
|
|
2026
2028
|
};
|
|
2027
|
-
var
|
|
2028
|
-
function tu({ component: e, model: t = null, errors: r = null, submitted:
|
|
2029
|
+
var xo = require("react/jsx-runtime");
|
|
2030
|
+
function tu({ component: e, model: t = null, errors: r = null, submitted: a, onModelChange: o, onPersistAsync: n }) {
|
|
2029
2031
|
let i = e.schema;
|
|
2030
|
-
return (0,
|
|
2031
|
-
|
|
2032
|
+
return (0, xo.jsx)("div", { className: U(e.margin || "md"), children: (0, xo.jsx)(me, { schema: i, model: t, errors: r, submitted: a, onChange: (c) => {
|
|
2033
|
+
o(s({ formSchema: i }, c));
|
|
2032
2034
|
}, onPersistAsync: n }) });
|
|
2033
2035
|
}
|
|
2034
|
-
var
|
|
2035
|
-
var
|
|
2036
|
+
var vo = tu;
|
|
2037
|
+
var ra = require("@transferwise/components");
|
|
2036
2038
|
var $s = ke(Qe());
|
|
2037
2039
|
var ve = require("react/jsx-runtime");
|
|
2038
2040
|
var ru = (e) => {
|
|
2039
|
-
let { text: t, size: r = "md", align:
|
|
2040
|
-
return n === "display" ? (0, ve.jsx)(
|
|
2041
|
+
let { text: t, size: r = "md", align: a = "left", margin: o = "md", control: n } = e.component, i = (0, $s.default)(Ce({ align: a, margin: o }));
|
|
2042
|
+
return n === "display" ? (0, ve.jsx)(ou, { size: r, text: t, classes: i }) : (0, ve.jsx)(au, { size: r, text: t, classes: i });
|
|
2041
2043
|
};
|
|
2042
|
-
var
|
|
2044
|
+
var au = ({ size: e, text: t, classes: r }) => {
|
|
2043
2045
|
switch (e) {
|
|
2044
2046
|
case "xs":
|
|
2045
2047
|
return (0, ve.jsx)("h5", { className: r, children: t });
|
|
@@ -2054,126 +2056,126 @@ var require_main_min = __commonJS({
|
|
|
2054
2056
|
return (0, ve.jsx)("h3", { className: r, children: t });
|
|
2055
2057
|
}
|
|
2056
2058
|
};
|
|
2057
|
-
var
|
|
2059
|
+
var ou = ({ size: e, text: t, classes: r }) => {
|
|
2058
2060
|
switch (e) {
|
|
2059
2061
|
case "xs":
|
|
2060
2062
|
case "sm":
|
|
2061
|
-
return (0, ve.jsx)(
|
|
2063
|
+
return (0, ve.jsx)(ra.Display, { type: "display-small", className: r, children: t });
|
|
2062
2064
|
case "xl":
|
|
2063
2065
|
case "lg":
|
|
2064
|
-
return (0, ve.jsx)(
|
|
2066
|
+
return (0, ve.jsx)(ra.Display, { type: "display-large", className: r, children: t });
|
|
2065
2067
|
case "md":
|
|
2066
2068
|
default:
|
|
2067
|
-
return (0, ve.jsx)(
|
|
2069
|
+
return (0, ve.jsx)(ra.Display, { type: "display-medium", className: r, children: t });
|
|
2068
2070
|
}
|
|
2069
2071
|
};
|
|
2070
|
-
var
|
|
2071
|
-
var
|
|
2072
|
+
var Ao = ru;
|
|
2073
|
+
var Oo = require("@transferwise/components");
|
|
2072
2074
|
var pr = require("react/jsx-runtime");
|
|
2073
|
-
var
|
|
2074
|
-
let { content: t, align: r, margin:
|
|
2075
|
-
return (0, pr.jsx)("div", { className:
|
|
2075
|
+
var Po = ({ component: e }) => {
|
|
2076
|
+
let { content: t, align: r, margin: a } = e;
|
|
2077
|
+
return (0, pr.jsx)("div", { className: Ce({ align: r, margin: a }), children: (0, pr.jsx)(Oo.Markdown, { config: { link: { target: "_blank" } }, children: t }) });
|
|
2076
2078
|
};
|
|
2077
|
-
var
|
|
2079
|
+
var Mo = ({ component: e }) => (0, pr.jsx)("div", { className: Ce(e), children: (0, pr.jsx)(Oo.Markdown, { config: { link: { target: "_blank" } }, children: e.markdown }) });
|
|
2078
2080
|
var _s = require("@transferwise/components");
|
|
2079
|
-
var
|
|
2080
|
-
var
|
|
2081
|
+
var aa = require("react");
|
|
2082
|
+
var ko = require("react/jsx-runtime");
|
|
2081
2083
|
function nu({ component: e }) {
|
|
2082
|
-
let { url: t, size: r, text:
|
|
2083
|
-
(0,
|
|
2084
|
-
su(i, t).then(
|
|
2084
|
+
let { url: t, size: r, text: a, margin: o, accessibilityDescription: n } = e, i = ae(), [c, l] = (0, aa.useState)("");
|
|
2085
|
+
(0, aa.useEffect)(() => {
|
|
2086
|
+
su(i, t).then(l);
|
|
2085
2087
|
}, [t, i]);
|
|
2086
|
-
let
|
|
2087
|
-
return c ? (0,
|
|
2088
|
+
let m = { alt: n || a || "", src: c, stretch: true, shrink: true };
|
|
2089
|
+
return c ? (0, ko.jsx)("div", { className: `df-image ${r || "md"}`, children: (0, ko.jsx)(_s.Image, s({ className: `img-responsive ${U(o || "md")}` }, m)) }) : null;
|
|
2088
2090
|
}
|
|
2089
2091
|
var iu = (e) => new Promise((t, r) => {
|
|
2090
|
-
let
|
|
2091
|
-
|
|
2092
|
+
let a = new FileReader();
|
|
2093
|
+
a.addEventListener("loadend", () => t(a.result)), a.addEventListener("error", (o) => r(o)), a.readAsDataURL(e);
|
|
2092
2094
|
});
|
|
2093
2095
|
var su = async (e, t) => {
|
|
2094
2096
|
var r;
|
|
2095
2097
|
try {
|
|
2096
|
-
return vn(t) || t != null && t.startsWith(`${(r = window == null ? void 0 : window.location) == null ? void 0 : r.origin}/`) ? e(t, { method: "GET", headers: { "Content-Type": "image/image" }, credentials: "same-origin" }).then((
|
|
2097
|
-
if (
|
|
2098
|
-
return
|
|
2098
|
+
return vn(t) || t != null && t.startsWith(`${(r = window == null ? void 0 : window.location) == null ? void 0 : r.origin}/`) ? e(t, { method: "GET", headers: { "Content-Type": "image/image" }, credentials: "same-origin" }).then((a) => {
|
|
2099
|
+
if (a.ok)
|
|
2100
|
+
return a.blob();
|
|
2099
2101
|
throw new Error("Image fetching failed");
|
|
2100
2102
|
}).then(iu).catch(() => t) : t;
|
|
2101
|
-
} catch (
|
|
2103
|
+
} catch (a) {
|
|
2102
2104
|
return t;
|
|
2103
2105
|
}
|
|
2104
2106
|
};
|
|
2105
|
-
var
|
|
2106
|
-
var
|
|
2107
|
+
var Eo = nu;
|
|
2108
|
+
var oa = require("@transferwise/components");
|
|
2107
2109
|
var yr = require("react/jsx-runtime");
|
|
2108
2110
|
var cu = ["positive", "neutral"];
|
|
2109
|
-
var
|
|
2110
|
-
var
|
|
2111
|
-
let { items: t } = e, r = t.filter((
|
|
2112
|
-
return (0, yr.jsxs)("div", { className: U(e.margin || "md"), children: [e.title ? (0, yr.jsx)(
|
|
2111
|
+
var mu = ["warning", "negative"];
|
|
2112
|
+
var lu = ({ component: e }) => {
|
|
2113
|
+
let { items: t } = e, r = t.filter((o) => cu.includes(o.context)).map(({ text: o }) => o), a = t.filter((o) => mu.includes(o.context)).map(({ text: o }) => o);
|
|
2114
|
+
return (0, yr.jsxs)("div", { className: U(e.margin || "md"), children: [e.title ? (0, yr.jsx)(oa.Header, { title: e.title }) : null, (0, yr.jsx)(oa.InstructionsList, { dos: r, donts: a })] });
|
|
2113
2115
|
};
|
|
2114
|
-
var
|
|
2116
|
+
var Io = lu;
|
|
2115
2117
|
var q = require("react/jsx-runtime");
|
|
2116
2118
|
var K = (e) => JSON.stringify(e);
|
|
2117
2119
|
function du(e) {
|
|
2118
|
-
let { components: t, model: r, submitted:
|
|
2120
|
+
let { components: t, model: r, submitted: a, errors: o, onModelChange: n, onAction: i, onPersistAsync: c, baseUrl: l } = e, m = (p) => {
|
|
2119
2121
|
switch (p.type) {
|
|
2120
2122
|
case "heading":
|
|
2121
|
-
return (0, q.jsx)(
|
|
2123
|
+
return (0, q.jsx)(Ao, { component: p }, K(p));
|
|
2122
2124
|
case "paragraph":
|
|
2123
|
-
return (0, q.jsx)(
|
|
2125
|
+
return (0, q.jsx)(Lo, { component: p }, K(p));
|
|
2124
2126
|
case "image":
|
|
2125
|
-
return (0, q.jsx)(
|
|
2127
|
+
return (0, q.jsx)(Eo, { component: p }, K(p));
|
|
2126
2128
|
case "alert":
|
|
2127
2129
|
return (0, q.jsx)(se, { component: p }, K(p));
|
|
2128
2130
|
case "review":
|
|
2129
|
-
return (0, q.jsx)(
|
|
2131
|
+
return (0, q.jsx)(To, { component: p, onAction: i }, K(p));
|
|
2130
2132
|
case "divider":
|
|
2131
|
-
return (0, q.jsx)(
|
|
2133
|
+
return (0, q.jsx)(Ya, { component: p }, K(p));
|
|
2132
2134
|
case "info":
|
|
2133
|
-
return (0, q.jsx)(
|
|
2135
|
+
return (0, q.jsx)(Mo, { component: p }, K(p));
|
|
2134
2136
|
case "instructions":
|
|
2135
|
-
return (0, q.jsx)(
|
|
2137
|
+
return (0, q.jsx)(Io, { component: p }, K(p));
|
|
2136
2138
|
case "markdown":
|
|
2137
|
-
return (0, q.jsx)(
|
|
2139
|
+
return (0, q.jsx)(Po, { component: p }, K(p));
|
|
2138
2140
|
case "columns":
|
|
2139
|
-
return (0, q.jsx)(
|
|
2141
|
+
return (0, q.jsx)(Ja, { component: p, model: r, submitted: a, errors: o, onModelChange: n, onAction: i, onPersistAsync: c }, K(p));
|
|
2140
2142
|
case "form":
|
|
2141
|
-
return (0, q.jsx)(
|
|
2143
|
+
return (0, q.jsx)(vo, { component: p, model: r, submitted: a, errors: o, onModelChange: n, onPersistAsync: c }, K(C(s({}, p), { errors: o != null ? o : null })));
|
|
2142
2144
|
case "button":
|
|
2143
|
-
return (0, q.jsx)(
|
|
2145
|
+
return (0, q.jsx)(Ka, { component: p, onAction: i }, K(p));
|
|
2144
2146
|
case "box":
|
|
2145
|
-
return (0, q.jsx)(
|
|
2147
|
+
return (0, q.jsx)(_a, { component: p, model: r, submitted: a, errors: o, onModelChange: n, onAction: i, onPersistAsync: c }, K(p));
|
|
2146
2148
|
case "decision":
|
|
2147
|
-
return (0, q.jsx)(
|
|
2149
|
+
return (0, q.jsx)(Xa, { component: p, onAction: i }, K(p));
|
|
2148
2150
|
case "external":
|
|
2149
|
-
return (0, q.jsx)(
|
|
2151
|
+
return (0, q.jsx)(Za, { component: p, onAction: i }, K(p));
|
|
2150
2152
|
case "list":
|
|
2151
2153
|
case "status-list":
|
|
2152
|
-
return (0, q.jsx)(
|
|
2154
|
+
return (0, q.jsx)(Do, { component: p, onAction: i }, K(p));
|
|
2153
2155
|
case "loading-indicator":
|
|
2154
2156
|
return (0, q.jsx)(fr, { component: p }, K(p));
|
|
2155
2157
|
case "search":
|
|
2156
|
-
return (0, q.jsx)(
|
|
2158
|
+
return (0, q.jsx)(Ro, { component: p, onAction: i }, K(p));
|
|
2157
2159
|
case "modal":
|
|
2158
|
-
return (0, q.jsx)(
|
|
2160
|
+
return (0, q.jsx)(No, { component: p, model: r, submitted: a, errors: o, onModelChange: n, onAction: i, onPersistAsync: c }, K(p));
|
|
2159
2161
|
default:
|
|
2160
2162
|
return (0, q.jsx)("div", {}, K(p));
|
|
2161
2163
|
}
|
|
2162
2164
|
};
|
|
2163
|
-
return wn() ||
|
|
2165
|
+
return wn() || l == null ? (0, q.jsx)(q.Fragment, { children: t.map(m) }) : (0, q.jsx)(Ir, { baseUrl: l, children: t.map(m) });
|
|
2164
2166
|
}
|
|
2165
2167
|
var ne = du;
|
|
2166
|
-
var
|
|
2168
|
+
var na = require("@transferwise/components");
|
|
2167
2169
|
var qt = require("react/jsx-runtime");
|
|
2168
|
-
var uu = ({ component: e }) => (0, qt.jsxs)("div", { className: U(e.margin || "md"), children: [e.title ? (0, qt.jsx)(
|
|
2169
|
-
var pu = ({ title: e, description: t, icon: r, status:
|
|
2170
|
-
let
|
|
2171
|
-
return (0, qt.jsx)(
|
|
2170
|
+
var uu = ({ component: e }) => (0, qt.jsxs)("div", { className: U(e.margin || "md"), children: [e.title ? (0, qt.jsx)(na.Header, { title: e.title }) : null, e.items.map(pu)] });
|
|
2171
|
+
var pu = ({ title: e, description: t, icon: r, status: a }) => {
|
|
2172
|
+
let o = s(s({ key: `${e}/${t || ""}`, title: e, description: t }, r != null && r.name ? { icon: (0, qt.jsx)(et, { type: r.name }) } : {}), a ? { status: hu[a] } : {});
|
|
2173
|
+
return (0, qt.jsx)(na.Summary, s({}, o));
|
|
2172
2174
|
};
|
|
2173
2175
|
var yu = { done: "done", pending: "pending", "not-done": "notDone" };
|
|
2174
2176
|
var fu = { positive: "done", warning: "pending", neutral: "notDone" };
|
|
2175
2177
|
var hu = s(s({}, yu), fu);
|
|
2176
|
-
var
|
|
2178
|
+
var Do = uu;
|
|
2177
2179
|
var Ks = require("@transferwise/components");
|
|
2178
2180
|
var Js = require("react/jsx-runtime");
|
|
2179
2181
|
var gu = ({ component: e }) => {
|
|
@@ -2184,7 +2186,7 @@ var require_main_min = __commonJS({
|
|
|
2184
2186
|
var ec = require("@transferwise/components");
|
|
2185
2187
|
var tc = require("react-intl");
|
|
2186
2188
|
var Xs = require("react-intl");
|
|
2187
|
-
var
|
|
2189
|
+
var Bo = (0, Xs.defineMessages)({ copy: { id: "dynamicFlows.DynamicParagraph.copy", defaultMessage: "Copy", description: "Copy to clipboard button label." }, copied: { id: "dynamicFlows.DynamicParagraph.copied", defaultMessage: "Copied to clipboard", description: "Appears in a snackbar when the copy operation succeeds." } });
|
|
2188
2190
|
var Ys = require("@transferwise/components");
|
|
2189
2191
|
var Zs = require("react");
|
|
2190
2192
|
function Qs() {
|
|
@@ -2193,180 +2195,180 @@ var require_main_min = __commonJS({
|
|
|
2193
2195
|
}
|
|
2194
2196
|
function wu() {
|
|
2195
2197
|
}
|
|
2196
|
-
var
|
|
2197
|
-
var
|
|
2198
|
-
var
|
|
2198
|
+
var ot = require("react/jsx-runtime");
|
|
2199
|
+
var Cu = ({ component: e }) => e.control === "copyable" ? (0, ot.jsx)(Fu, { component: e }) : (0, ot.jsx)(Su, { component: e });
|
|
2200
|
+
var Su = ({ component: e }) => (0, ot.jsxs)("p", { className: Ce(e), children: [" ", e.text, " "] });
|
|
2199
2201
|
var Fu = ({ component: e }) => {
|
|
2200
|
-
let { formatMessage: t } = (0, tc.useIntl)(), r = Qs(), { text:
|
|
2202
|
+
let { formatMessage: t } = (0, tc.useIntl)(), r = Qs(), { text: a } = e, o = () => {
|
|
2201
2203
|
var i;
|
|
2202
|
-
(i = navigator.clipboard) == null || i.writeText(
|
|
2203
|
-
}, n =
|
|
2204
|
-
return (0,
|
|
2204
|
+
(i = navigator.clipboard) == null || i.writeText(a).then(() => r({ text: t(Bo.copied) })).catch(bu);
|
|
2205
|
+
}, n = Ce({ align: e.align, margin: "sm" }) + " form-control";
|
|
2206
|
+
return (0, ot.jsxs)("div", { className: Ce(e), children: [(0, ot.jsx)("input", { type: "text", className: n, value: a, readOnly: true, style: { textOverflow: "ellipsis" } }), (0, ot.jsx)(ec.Button, { block: true, onClick: o, children: t(Bo.copy) })] });
|
|
2205
2207
|
};
|
|
2206
|
-
function
|
|
2208
|
+
function bu() {
|
|
2207
2209
|
}
|
|
2208
|
-
var
|
|
2209
|
-
var
|
|
2210
|
-
var
|
|
2211
|
-
var xu = (e, t) => t.fields.map(({ label: r, value:
|
|
2212
|
-
var vu = (e, t, r) => t ? r === "HORIZONTAL_RIGHT_ALIGNED" ? (0,
|
|
2210
|
+
var Lo = Cu;
|
|
2211
|
+
var ia = require("@transferwise/components");
|
|
2212
|
+
var le = require("react/jsx-runtime");
|
|
2213
|
+
var xu = (e, t) => t.fields.map(({ label: r, value: a, help: o }, n) => ({ key: String(n), title: r, value: vu(a, o, e) }));
|
|
2214
|
+
var vu = (e, t, r) => t ? r === "HORIZONTAL_RIGHT_ALIGNED" ? (0, le.jsxs)(le.Fragment, { children: [(0, le.jsx)(qe, { help: t }), " ", e] }) : (0, le.jsxs)(le.Fragment, { children: [e, " ", (0, le.jsx)(qe, { help: t })] }) : e;
|
|
2213
2215
|
var Au = (e) => (e.control || e.orientation) === "horizontal" ? "HORIZONTAL_RIGHT_ALIGNED" : "VERTICAL_ONE_COLUMN";
|
|
2214
2216
|
function Ou(e) {
|
|
2215
|
-
let t = e.component, r = U(t.margin || "xs"),
|
|
2216
|
-
|
|
2217
|
-
} }),
|
|
2218
|
-
return (0,
|
|
2217
|
+
let t = e.component, r = U(t.margin || "xs"), a = (c, l) => ({ text: c != null ? c : "", href: l.url, onClick: (m) => {
|
|
2218
|
+
m.preventDefault(), l && e.onAction(l);
|
|
2219
|
+
} }), o = Au(t), n = t.callToAction ? a(t.callToAction.title, t.callToAction.action) : null, i = !n && t.action ? a(t.action.title || "", t.action) : null;
|
|
2220
|
+
return (0, le.jsxs)("div", { className: r, children: [t.title && (0, le.jsx)(ia.Header, { title: t.title, action: n || i || void 0 }), (0, le.jsx)("div", { className: r, children: (0, le.jsx)(ia.DefinitionList, { layout: o, definitions: xu(o, t) }) })] });
|
|
2219
2221
|
}
|
|
2220
|
-
var
|
|
2221
|
-
var
|
|
2222
|
+
var To = Ou;
|
|
2223
|
+
var ma = require("react");
|
|
2222
2224
|
var rc = require("@transferwise/components");
|
|
2223
|
-
var
|
|
2224
|
-
var
|
|
2225
|
-
var
|
|
2225
|
+
var sa = require("react/jsx-runtime");
|
|
2226
|
+
var ac = ({ title: e, value: t, onFocus: r, onChange: a }) => (0, sa.jsxs)("label", { className: "control-label d-inline", children: [e, (0, sa.jsx)(rc.Input, { type: "text", value: t, className: "m-t-1", onFocus: r, onChange: (o) => a(o.currentTarget.value) })] });
|
|
2227
|
+
var ca = require("@transferwise/components");
|
|
2226
2228
|
var nc = require("react-intl");
|
|
2227
|
-
var
|
|
2228
|
-
var Gt = (0,
|
|
2229
|
-
var
|
|
2230
|
-
var ic = ({ results: e, emptyMessage: t, onSelect: r }) => e.length === 0 ? (0,
|
|
2229
|
+
var oc = require("react-intl");
|
|
2230
|
+
var Gt = (0, oc.defineMessages)({ errorAlert: { id: "dynamicFlows.ErrorBoundary.errorAlert", defaultMessage: "Oops. Something went wrong...", description: "Generic error message for when something has gone wrong." }, retry: { id: "dynamicFlows.ErrorBoundary.retry", defaultMessage: "Retry", description: "Usually this follows the generic error and contains a link." } });
|
|
2231
|
+
var St = require("react/jsx-runtime");
|
|
2232
|
+
var ic = ({ results: e, emptyMessage: t, onSelect: r }) => e.length === 0 ? (0, St.jsx)("p", { className: "m-t-2", children: t }) : (0, St.jsx)(ca.NavigationOptionsList, { children: e.map((a) => (0, St.jsx)(ca.NavigationOption, { title: a.title, content: a.description, media: ut(a), showMediaCircle: false, showMediaAtAllSizes: true, onClick: () => r(a) }, JSON.stringify(a))) });
|
|
2231
2233
|
var sc = ({ onRetrySearch: e }) => {
|
|
2232
2234
|
let t = (0, nc.useIntl)();
|
|
2233
|
-
return (0,
|
|
2235
|
+
return (0, St.jsxs)("p", { className: "m-t-2", children: [t.formatMessage(Gt.errorAlert), "\xA0", (0, St.jsx)("a", { href: "/", onClick: (r) => {
|
|
2234
2236
|
r.preventDefault(), e();
|
|
2235
2237
|
}, children: t.formatMessage(Gt.retry) })] });
|
|
2236
2238
|
};
|
|
2237
2239
|
var Wt = require("react");
|
|
2238
2240
|
var cc = { "Content-Type": "application/json" };
|
|
2239
|
-
var
|
|
2240
|
-
let [t, r] = (0, Wt.useState)({ status: "idle" }),
|
|
2241
|
-
var
|
|
2242
|
-
if ((
|
|
2241
|
+
var mc = (e) => {
|
|
2242
|
+
let [t, r] = (0, Wt.useState)({ status: "idle" }), a = (0, Wt.useRef)(null), o = ae(), n = (0, Wt.useCallback)(async (m, { url: p, method: h, param: y } = e) => {
|
|
2243
|
+
var d;
|
|
2244
|
+
if ((d = a.current) == null || d.abort(), !m) {
|
|
2243
2245
|
r({ status: "idle" });
|
|
2244
2246
|
return;
|
|
2245
2247
|
}
|
|
2246
|
-
|
|
2247
|
-
let { signal: u } =
|
|
2248
|
+
a.current = new AbortController();
|
|
2249
|
+
let { signal: u } = a.current;
|
|
2248
2250
|
r({ status: "loading" });
|
|
2249
2251
|
try {
|
|
2250
|
-
let w = await (h === "GET" ?
|
|
2251
|
-
i(w,
|
|
2252
|
+
let w = await (h === "GET" ? o(ku(p, y, m), { method: h, signal: u, headers: cc }) : o(p, { method: h, signal: u, headers: cc, body: JSON.stringify({ [y]: m }) }));
|
|
2253
|
+
i(w, m);
|
|
2252
2254
|
} catch (f) {
|
|
2253
|
-
c(f,
|
|
2255
|
+
c(f, m);
|
|
2254
2256
|
}
|
|
2255
|
-
}, [
|
|
2256
|
-
if (
|
|
2257
|
-
let h = await
|
|
2257
|
+
}, [o, JSON.stringify(e)]), i = async (m, p) => {
|
|
2258
|
+
if (m.ok) {
|
|
2259
|
+
let h = await m.json().catch(() => null);
|
|
2258
2260
|
if (Pu(h)) {
|
|
2259
2261
|
r({ status: "success", results: h.results });
|
|
2260
2262
|
return;
|
|
2261
2263
|
}
|
|
2262
2264
|
}
|
|
2263
2265
|
r({ status: "error" });
|
|
2264
|
-
}, c = (
|
|
2265
|
-
Mu(
|
|
2266
|
-
},
|
|
2267
|
-
return { status: t.status, results:
|
|
2266
|
+
}, c = (m, p) => {
|
|
2267
|
+
Mu(m) || r({ status: "error" });
|
|
2268
|
+
}, l = t.status === "success" ? t.results : [];
|
|
2269
|
+
return { status: t.status, results: l, search: n };
|
|
2268
2270
|
};
|
|
2269
2271
|
var Pu = (e) => R(e) && "results" in e && V(e.results) && e.results.every((t) => R(t) && "title" in t && "type" in t && "value" in t);
|
|
2270
2272
|
var Mu = (e) => e instanceof DOMException && e.name === "AbortError";
|
|
2271
2273
|
var ku = (e, t, r) => {
|
|
2272
|
-
let [
|
|
2273
|
-
return n.set(t, r), `${
|
|
2274
|
+
let [a, o] = e.split("?"), n = new URLSearchParams(o);
|
|
2275
|
+
return n.set(t, r), `${a}?${n.toString()}`;
|
|
2274
2276
|
};
|
|
2275
2277
|
var Ft = require("react/jsx-runtime");
|
|
2276
2278
|
var Eu = 400;
|
|
2277
2279
|
function Iu({ component: e, onAction: t }) {
|
|
2278
|
-
let [r,
|
|
2280
|
+
let [r, a] = (0, ma.useState)(""), { title: o, margin: n, url: i, method: c, param: l, emptyMessage: m } = e, { status: p, results: h, search: y } = mc({ url: i, method: c, param: l }), u = te(), d = (0, ma.useMemo)(() => Ye(y, Eu), [y]), f = () => {
|
|
2279
2281
|
u("Dynamic Flow - Search Started", {});
|
|
2280
2282
|
}, w = (g) => {
|
|
2281
|
-
|
|
2282
|
-
},
|
|
2283
|
+
a(g), d(g);
|
|
2284
|
+
}, S = ({ type: g, value: v }) => {
|
|
2283
2285
|
if (g === "action" && (u("Dynamic Flow - Search Result Selected", { type: "action", actionId: v.id || v.$id }), t(v)), g === "search") {
|
|
2284
|
-
|
|
2286
|
+
a(v.query);
|
|
2285
2287
|
let { url: O, method: x, param: M, query: k } = v;
|
|
2286
2288
|
u("Dynamic Flow - Search Result Selected", { type: "search" }), y(k, { url: O, method: x, param: M });
|
|
2287
2289
|
}
|
|
2288
2290
|
}, F = () => {
|
|
2289
|
-
|
|
2291
|
+
a(r), y(r);
|
|
2290
2292
|
};
|
|
2291
|
-
return (0, Ft.jsxs)("div", { className: U(n || "md"), children: [(0, Ft.jsx)(
|
|
2293
|
+
return (0, Ft.jsxs)("div", { className: U(n || "md"), children: [(0, Ft.jsx)(ac, { title: o, value: r, onChange: w, onFocus: f }), p === "loading" && (0, Ft.jsx)(fr, { component: { type: "loading-indicator", size: "sm" } }), p === "error" && (0, Ft.jsx)(sc, { onRetrySearch: F }), p === "success" && (0, Ft.jsx)(ic, { results: h, emptyMessage: m, onSelect: S })] });
|
|
2292
2294
|
}
|
|
2293
|
-
var
|
|
2294
|
-
var
|
|
2295
|
-
var
|
|
2295
|
+
var Ro = Iu;
|
|
2296
|
+
var la = require("@transferwise/components");
|
|
2297
|
+
var lc = require("react");
|
|
2296
2298
|
var $t = require("react/jsx-runtime");
|
|
2297
2299
|
var Du = (e) => {
|
|
2298
|
-
let [t, r] = (0,
|
|
2299
|
-
return (0, $t.jsxs)("div", { className:
|
|
2300
|
+
let [t, r] = (0, lc.useState)(false), { component: a, onAction: o } = e, { margin: n = "md" } = a;
|
|
2301
|
+
return (0, $t.jsxs)("div", { className: Ce({ margin: n }), children: [(0, $t.jsx)(la.Button, { priority: "tertiary", block: true, onClick: () => r(true), children: a.trigger.title }), (0, $t.jsx)(la.Modal, { scroll: "content", onClose: () => r(false), open: t, size: "lg", body: (0, $t.jsx)(ne, C(s({}, e), { components: a.content.components, onAction: o })) })] });
|
|
2300
2302
|
};
|
|
2301
|
-
var
|
|
2303
|
+
var No = Du;
|
|
2302
2304
|
var ue = require("react/jsx-runtime");
|
|
2303
|
-
var
|
|
2304
|
-
var Lu = (e) => e.type === "boolean" &&
|
|
2305
|
+
var zo = (e) => I(e) || Y(e);
|
|
2306
|
+
var Lu = (e) => e.type === "boolean" && zo(e.default) ? false : e.default;
|
|
2305
2307
|
var uc = (e) => {
|
|
2306
2308
|
var ee, A, B;
|
|
2307
2309
|
let t = (E) => {
|
|
2308
|
-
y(true), o(
|
|
2309
|
-
}, r = (E) => Xe(E, e.schema, e.required),
|
|
2310
|
-
|
|
2310
|
+
y(true), a(o(E), "user");
|
|
2311
|
+
}, r = (E) => Xe(E, e.schema, e.required), a = (E, ie) => {
|
|
2312
|
+
l(E);
|
|
2311
2313
|
let W = r(E);
|
|
2312
2314
|
F(W);
|
|
2313
2315
|
let X = E;
|
|
2314
|
-
p(X), X !==
|
|
2315
|
-
},
|
|
2316
|
-
|
|
2317
|
-
}, [c,
|
|
2316
|
+
p(X), X !== m && e.onChange({ model: X, triggerSchema: e.schema, triggerModel: X, lastTriggerModel: m, type: ie });
|
|
2317
|
+
}, o = (E) => Je(E, e.schema), n = () => d(true), i = () => {
|
|
2318
|
+
d(false), w(true), e.onBlur && e.onBlur();
|
|
2319
|
+
}, [c, l] = (0, de.useState)((ee = e.model) != null ? ee : null), [m, p] = (0, de.useState)((A = e.model) != null ? A : null), [h, y] = (0, de.useState)(false), [u, d] = (0, de.useState)(false), [f, w] = (0, de.useState)(false), [S, F] = (0, de.useState)([]), g = (0, de.useMemo)(() => e.schema.$id || Le(), [e.schema.$id]), v = () => {
|
|
2318
2320
|
let E = Lu(e.schema);
|
|
2319
|
-
|
|
2321
|
+
zo(c) && !zo(E) && a(E, "init"), e.schema.const && a(e.schema.const, "init");
|
|
2320
2322
|
}, O = () => {
|
|
2321
2323
|
F(r(c));
|
|
2322
2324
|
}, x = e.schema.const, M = e.schema.hidden || x;
|
|
2323
2325
|
(0, de.useEffect)(O, [e.model, e.submitted]), (0, de.useEffect)(v, [e.schema]), (0, de.useEffect)(() => {
|
|
2324
2326
|
var ie;
|
|
2325
2327
|
let E = (ie = e.model) != null ? ie : null;
|
|
2326
|
-
E !== c &&
|
|
2328
|
+
E !== c && l(E);
|
|
2327
2329
|
}, [e.model]);
|
|
2328
|
-
let k = { "form-group": true, "has-error": (e.submitted || !h) && !!e.errors || (e.submitted || h && f) && !!
|
|
2329
|
-
return M ? null : (0, ue.jsxs)(ue.Fragment, { children: [e.schema.alert && (0, ue.jsx)(se, { component: e.schema.alert }), (0, ue.jsxs)("div", { className: (0, dc.default)(k), children: [P && (0, ue.jsxs)("div", { className: "d-inline-block m-b-1", children: [(0, ue.jsx)("label", { className: "control-label d-inline", htmlFor: g, children: e.schema.title }), !!D && (0, ue.jsx)(qe, { help: D })] }), !P && !!D && (0, ue.jsx)(qe, { help: D }), (0, ue.jsx)(dr, { id: g, schema: e.schema, value: c, disabled: !!e.disabled, onChange: t, onFocus: n, onBlur: i, describedBy: H }), (0, ue.jsx)(He, { id: H, changed: h, focused: u, blurred: f, submitted: e.submitted, errors: (B = e.errors) != null ? B : null, schema: e.schema, validations:
|
|
2330
|
+
let k = { "form-group": true, "has-error": (e.submitted || !h) && !!e.errors || (e.submitted || h && f) && !!S.length, "has-info": !!e.schema.description || !!e.infoMessage }, P = e.schema.format !== "file" && e.schema.type !== "boolean", D = e.schema.help, H = `${g}-feedback`;
|
|
2331
|
+
return M ? null : (0, ue.jsxs)(ue.Fragment, { children: [e.schema.alert && (0, ue.jsx)(se, { component: e.schema.alert }), (0, ue.jsxs)("div", { className: (0, dc.default)(k), children: [P && (0, ue.jsxs)("div", { className: "d-inline-block m-b-1", children: [(0, ue.jsx)("label", { className: "control-label d-inline", htmlFor: g, children: e.schema.title }), !!D && (0, ue.jsx)(qe, { help: D })] }), !P && !!D && (0, ue.jsx)(qe, { help: D }), (0, ue.jsx)(dr, { id: g, schema: e.schema, value: c, disabled: !!e.disabled, onChange: t, onFocus: n, onBlur: i, describedBy: H }), (0, ue.jsx)(He, { id: H, changed: h, focused: u, blurred: f, submitted: e.submitted, errors: (B = e.errors) != null ? B : null, schema: e.schema, validations: S, infoMessage: e.infoMessage })] })] });
|
|
2330
2332
|
};
|
|
2331
2333
|
uc.defaultProps = { required: false, disabled: false, onBlur: null };
|
|
2332
|
-
var
|
|
2334
|
+
var Ct = uc;
|
|
2333
2335
|
var hc = require("react/jsx-runtime");
|
|
2334
|
-
var
|
|
2336
|
+
var fo = (e, t) => t[e];
|
|
2335
2337
|
var yc = (e, t) => {
|
|
2336
2338
|
var r;
|
|
2337
2339
|
return (r = t.validation) == null ? void 0 : r[e];
|
|
2338
2340
|
};
|
|
2339
2341
|
var Tu = /* @__PURE__ */ new Set([N.RADIO, N.SELECT, N.DATELOOKUP, N.FILE, N.UPLOAD]);
|
|
2340
2342
|
function fc(e) {
|
|
2341
|
-
let { schema: t, required: r, submitted:
|
|
2342
|
-
(0,
|
|
2343
|
-
Tu.has(
|
|
2343
|
+
let { schema: t, required: r, submitted: a, errors: o, onChange: n, onPersistAsync: i } = e, c = (0, pc.useIntl)(), l = ae(), m = te(), [p, h] = (0, bt.useState)(null), y = gc(p), [u, d] = (0, bt.useState)(null), [f, w] = (0, bt.useState)(false), [S, F] = (0, bt.useState)(null);
|
|
2344
|
+
(0, bt.useEffect)(() => {
|
|
2345
|
+
Tu.has(lo(t.persistAsync.schema)) && x();
|
|
2344
2346
|
}, [p]);
|
|
2345
|
-
let g = () =>
|
|
2347
|
+
let g = () => d(c.formatMessage(ir.genericError)), v = async (P, D) => {
|
|
2346
2348
|
let H = O(), ee = { [D.param]: P };
|
|
2347
2349
|
w(true);
|
|
2348
2350
|
try {
|
|
2349
|
-
|
|
2350
|
-
let A =
|
|
2351
|
+
m("Dynamic Flow - PersistAsync", { status: "pending", schemaId: t.$id });
|
|
2352
|
+
let A = l(D.url, { method: D.method, headers: { "Content-Type": "application/json" }, body: JSON.stringify(ee), signal: H });
|
|
2351
2353
|
i(A);
|
|
2352
2354
|
let B = await A, E = await B.json();
|
|
2353
2355
|
if (!R(E))
|
|
2354
2356
|
throw new Error("Response is not an object");
|
|
2355
2357
|
let { idProperty: ie, param: W } = t.persistAsync;
|
|
2356
2358
|
if (xn(B.status)) {
|
|
2357
|
-
let X =
|
|
2359
|
+
let X = fo(ie, E);
|
|
2358
2360
|
n({ model: X, triggerSchema: t, triggerModel: X });
|
|
2359
2361
|
} else if (Lr(B.status)) {
|
|
2360
2362
|
let { validation: X } = E, $e = R(X) && (X == null ? void 0 : X[W]) || null;
|
|
2361
|
-
|
|
2363
|
+
d($e), n({ model: null, triggerSchema: t, triggerModel: null });
|
|
2362
2364
|
} else
|
|
2363
2365
|
g();
|
|
2364
|
-
|
|
2366
|
+
m("Dynamic Flow - PersistAsync", { status: "success", schemaId: t.$id });
|
|
2365
2367
|
} catch (A) {
|
|
2366
|
-
|
|
2368
|
+
m("Dynamic Flow - PersistAsync", { status: "failure", schemaId: t.$id }), g();
|
|
2367
2369
|
}
|
|
2368
2370
|
}, O = () => {
|
|
2369
|
-
|
|
2371
|
+
S && S.abort();
|
|
2370
2372
|
let P = new AbortController();
|
|
2371
2373
|
return F(P), P.signal;
|
|
2372
2374
|
}, x = () => {
|
|
@@ -2374,35 +2376,35 @@ var require_main_min = __commonJS({
|
|
|
2374
2376
|
}, M = () => {
|
|
2375
2377
|
x();
|
|
2376
2378
|
}, k = ({ model: P }) => {
|
|
2377
|
-
|
|
2379
|
+
d(null), G(P, t.persistAsync.schema) && h(P);
|
|
2378
2380
|
};
|
|
2379
|
-
return (0, hc.jsx)(
|
|
2381
|
+
return (0, hc.jsx)(Ct, { required: r, submitted: a || f, schema: t.persistAsync.schema, errors: u || o, model: null, infoMessage: null, onChange: k, onBlur: M });
|
|
2380
2382
|
}
|
|
2381
2383
|
fc.defaultProps = { required: false };
|
|
2382
|
-
var
|
|
2384
|
+
var po = fc;
|
|
2383
2385
|
var qi = (e) => {
|
|
2384
|
-
let [t, r] = (0, wc.useState)(null),
|
|
2386
|
+
let [t, r] = (0, wc.useState)(null), a = ae(), o = (0, Cc.useIntl)(), { schema: n } = e;
|
|
2385
2387
|
async function i(y) {
|
|
2386
2388
|
let u = y instanceof Blob ? !It(n) : !G(y, n);
|
|
2387
|
-
return (I(y) || u) && h(), await
|
|
2389
|
+
return (I(y) || u) && h(), await m(y);
|
|
2388
2390
|
}
|
|
2389
2391
|
let c = () => {
|
|
2390
2392
|
t && t.abort();
|
|
2391
2393
|
let y = new AbortController();
|
|
2392
2394
|
return r(y), y.signal;
|
|
2393
2395
|
};
|
|
2394
|
-
function
|
|
2395
|
-
let u = It(n),
|
|
2396
|
-
return { method: e.method, headers: s({}, !u && { "Content-Type": "application/json" }), body: w, signal:
|
|
2396
|
+
function l(y) {
|
|
2397
|
+
let u = It(n), d = c(), f = e.param, w = u ? Ru(f, y) : JSON.stringify({ [f]: y });
|
|
2398
|
+
return { method: e.method, headers: s({}, !u && { "Content-Type": "application/json" }), body: w, signal: d };
|
|
2397
2399
|
}
|
|
2398
|
-
async function
|
|
2400
|
+
async function m(y) {
|
|
2399
2401
|
try {
|
|
2400
|
-
let u = await
|
|
2402
|
+
let u = await a(e.url, l(y));
|
|
2401
2403
|
if (!u.ok)
|
|
2402
2404
|
return p(u);
|
|
2403
|
-
let
|
|
2404
|
-
if (R(
|
|
2405
|
-
let f =
|
|
2405
|
+
let d = await u.json();
|
|
2406
|
+
if (R(d)) {
|
|
2407
|
+
let f = d[e.idProperty];
|
|
2406
2408
|
if (L(f) || z(f))
|
|
2407
2409
|
return { data: f };
|
|
2408
2410
|
}
|
|
@@ -2415,15 +2417,15 @@ var require_main_min = __commonJS({
|
|
|
2415
2417
|
if (y.status === 422) {
|
|
2416
2418
|
let u = await y.json();
|
|
2417
2419
|
if (R(u)) {
|
|
2418
|
-
let
|
|
2419
|
-
if (L(
|
|
2420
|
-
throw new Error(
|
|
2420
|
+
let d = yc(e.param, u);
|
|
2421
|
+
if (L(d))
|
|
2422
|
+
throw new Error(d);
|
|
2421
2423
|
}
|
|
2422
2424
|
}
|
|
2423
|
-
throw new Error(
|
|
2425
|
+
throw new Error(o.formatMessage(ir.genericError));
|
|
2424
2426
|
}
|
|
2425
2427
|
let h = (y) => {
|
|
2426
|
-
let u = Nu(y) ? y.message :
|
|
2428
|
+
let u = Nu(y) ? y.message : o.formatMessage(ir.genericError);
|
|
2427
2429
|
throw new Error(u);
|
|
2428
2430
|
};
|
|
2429
2431
|
return i;
|
|
@@ -2436,79 +2438,81 @@ var require_main_min = __commonJS({
|
|
|
2436
2438
|
return R(e) && "message" in e && typeof e.message == "string";
|
|
2437
2439
|
}
|
|
2438
2440
|
var nt = require("react");
|
|
2439
|
-
function Vr({ asyncFn: e, interval: t, maxAttempts: r, maxConsecutiveFails:
|
|
2440
|
-
let i = (0, nt.useRef)(
|
|
2441
|
+
function Vr({ asyncFn: e, interval: t, maxAttempts: r, maxConsecutiveFails: a, onPollingResponse: o, onFailure: n }) {
|
|
2442
|
+
let i = (0, nt.useRef)(o), c = (0, nt.useRef)(n), l = (0, nt.useMemo)(() => Bu(e, r, a, (m) => i.current(m), () => c.current()), [e, r, a]);
|
|
2441
2443
|
(0, nt.useEffect)(() => {
|
|
2442
2444
|
if (t > 0) {
|
|
2443
|
-
let
|
|
2444
|
-
|
|
2445
|
+
let m = setInterval(() => {
|
|
2446
|
+
l();
|
|
2445
2447
|
}, t);
|
|
2446
|
-
return () => clearInterval(
|
|
2448
|
+
return () => clearInterval(m);
|
|
2447
2449
|
}
|
|
2448
|
-
}, [
|
|
2449
|
-
i.current =
|
|
2450
|
-
}, [
|
|
2450
|
+
}, [l, t]), (0, nt.useEffect)(() => {
|
|
2451
|
+
i.current = o, c.current = n;
|
|
2452
|
+
}, [o, n]);
|
|
2451
2453
|
}
|
|
2452
|
-
function Bu(e, t, r,
|
|
2454
|
+
function Bu(e, t, r, a, o) {
|
|
2453
2455
|
let n = true, i = 0, c = 0;
|
|
2454
2456
|
return e ? () => {
|
|
2455
|
-
n && (c++, e().then((
|
|
2456
|
-
i = 0, n =
|
|
2457
|
-
}).catch(() => {
|
|
2458
|
-
i
|
|
2457
|
+
n && (c++, e().then((l) => {
|
|
2458
|
+
i = 0, n = a(l);
|
|
2459
|
+
}).catch((l) => {
|
|
2460
|
+
l.message !== "network failed" && (i += 1);
|
|
2459
2461
|
}).finally(() => {
|
|
2460
|
-
(i >= r || c >= t) && (
|
|
2462
|
+
(i >= r || c >= t) && (o(), n = false);
|
|
2461
2463
|
}));
|
|
2462
2464
|
} : () => {
|
|
2463
2465
|
};
|
|
2464
2466
|
}
|
|
2465
|
-
var
|
|
2467
|
+
var da = require("react");
|
|
2466
2468
|
var gc = (e) => {
|
|
2467
|
-
let t = (0,
|
|
2468
|
-
return (0,
|
|
2469
|
+
let t = (0, da.useRef)();
|
|
2470
|
+
return (0, da.useEffect)(() => {
|
|
2469
2471
|
t.current = e;
|
|
2470
2472
|
}, [e]), t.current;
|
|
2471
2473
|
};
|
|
2472
2474
|
var hr = require("react");
|
|
2473
|
-
function
|
|
2474
|
-
let r =
|
|
2475
|
+
function Sc(e, t) {
|
|
2476
|
+
let r = ae(), a = (0, hr.useMemo)(() => {
|
|
2475
2477
|
if (e)
|
|
2476
2478
|
return () => r(e.url).then((n) => {
|
|
2477
2479
|
if (n.ok)
|
|
2478
2480
|
return n.json().then((i) => i).catch((i) => null);
|
|
2479
2481
|
throw new Error("failed");
|
|
2482
|
+
}).catch((n) => {
|
|
2483
|
+
throw new Error(n.message === "failed" ? "failed" : "network failed");
|
|
2480
2484
|
});
|
|
2481
|
-
}, [e, r]),
|
|
2482
|
-
Vr({ asyncFn:
|
|
2485
|
+
}, [e, r]), o = (0, hr.useCallback)((n) => n != null && n.action ? (t(n.action), false) : true, [t]);
|
|
2486
|
+
Vr({ asyncFn: a, interval: 1e3 * ((e == null ? void 0 : e.interval) || 0), maxAttempts: (e == null ? void 0 : e.maxAttempts) || 0, maxConsecutiveFails: 1, onPollingResponse: o, onFailure: (0, hr.useCallback)(() => {
|
|
2483
2487
|
e && t(e.onError.action);
|
|
2484
2488
|
}, [t, e]) });
|
|
2485
2489
|
}
|
|
2486
2490
|
var Fc = require("react/jsx-runtime");
|
|
2487
2491
|
var zu = (e, t) => {
|
|
2488
|
-
var
|
|
2492
|
+
var a;
|
|
2489
2493
|
if (Mt(e))
|
|
2490
2494
|
return [];
|
|
2491
2495
|
let r = er(e, t);
|
|
2492
|
-
return ze({ layout: r, schemas: e.schemas || [], actions: e.actions || [], model: (
|
|
2496
|
+
return ze({ layout: r, schemas: e.schemas || [], actions: e.actions || [], model: (a = e.model) != null ? a : null });
|
|
2493
2497
|
};
|
|
2494
2498
|
var ju = (e) => {
|
|
2495
|
-
let { stepSpecification: t, stepLayoutOptions: r, submitted:
|
|
2499
|
+
let { stepSpecification: t, stepLayoutOptions: r, submitted: a, model: o, formErrors: n, onModelChange: i } = e, c = zu(t, r), { loading: l, registerPersistAsyncPromise: m } = Pr(), p = te(), h = l ? () => {
|
|
2496
2500
|
p("Dynamic Flow - onAction supressed", { reason: "LayoutStep - loading state" });
|
|
2497
2501
|
} : e.onAction;
|
|
2498
|
-
return
|
|
2502
|
+
return Sc(t.polling, h), (0, Fc.jsx)(ne, { components: c, submitted: a, model: o, errors: n, onAction: h, onModelChange: i, onPersistAsync: m });
|
|
2499
2503
|
};
|
|
2500
|
-
var
|
|
2501
|
-
var
|
|
2502
|
-
var
|
|
2504
|
+
var ua = ju;
|
|
2505
|
+
var ga = require("react");
|
|
2506
|
+
var oe = require("react");
|
|
2503
2507
|
var qc = require("react-intl");
|
|
2504
|
-
var Gc = ke(
|
|
2508
|
+
var Gc = ke(bc());
|
|
2505
2509
|
var xc = require("react-intl");
|
|
2506
2510
|
var pe = (0, xc.defineMessages)({ reviewSubmit: { id: "dynamicFlows.CameraCapture.reviewSubmit", defaultMessage: "Yes, submit", description: "Accept and submit the image taken with the camera" }, reviewRetry: { id: "dynamicFlows.CameraCapture.reviewRetry", defaultMessage: "No, try again", description: "Image taken with camera is not good, don't submit, and retake the image" }, reviewInstructions: { id: "dynamicFlows.CameraCapture.reviewInstructions", defaultMessage: "Is your picture clear, readable and complete?", description: "After taking an image with the camera, prompt user to review the image" }, cameraNotSupportedTitle: { id: "dynamicFlows.CameraCapture.CameraNotSupported.title", defaultMessage: "Camera not supported", description: "Title of standalone page prompting that camera is not available on users browser" }, cameraNotSupportedParagraph: { id: "dynamicFlows.CameraCapture.CameraNotSupported.paragraph", defaultMessage: "The browser you're using doesn't have support for a camera. Try a different browser, device, or download our mobile app.", description: "Further text of standalone page prompting that camera is not available on user's browser" }, noCameraAccessTitle: { id: "dynamicFlows.CameraCapture.NoCameraAccess.title", defaultMessage: "We can't access your camera", description: "Title of standalone page prompting missing camera permissions" }, noCameraAccessParagraph: { id: "dynamicFlows.CameraCapture.NoCameraAccess.paragraph", defaultMessage: "Enable camera access in your browser's settings to get going again.", description: "Further text of standalone page prompting missing camera permissions" }, noCameraAccessAction: { id: "dynamicFlows.CameraCapture.NoCameraAccess.action", defaultMessage: "Enable camera access", description: "Action to ask for camera permissions again" }, cameraConnectionIssueTitle: { id: "dynamicFlows.CameraCapture.CameraConnectionIssue.title", defaultMessage: "We can't access your camera", description: "Title of standalone page prompting that there was an issue connecting to a camera" }, cameraConnectionIssueParagraph: { id: "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph", defaultMessage: "Please check if it is connected and try again.", description: "Further text of standalone page prompting that there was an issue connecting to a camera" }, cameraConnectionIssueAction: { id: "dynamicFlows.CameraCapture.CameraConnectionIssue.action", defaultMessage: "Try again", description: "Action to try using camera again" } });
|
|
2507
2511
|
var Oe = require("@transferwise/components");
|
|
2508
2512
|
var vc = require("react-intl");
|
|
2509
2513
|
var Ae = require("react/jsx-runtime");
|
|
2510
|
-
var
|
|
2511
|
-
var
|
|
2514
|
+
var Vo = ({ onCapture: e }) => (0, Ae.jsx)("div", { className: "bottom-bar", children: (0, Ae.jsx)(Vu, { onClick: e }) });
|
|
2515
|
+
var Uo = ({ onSubmit: e, onRetry: t }) => {
|
|
2512
2516
|
let r = (0, vc.useIntl)();
|
|
2513
2517
|
return (0, Ae.jsx)("div", { className: "bottom-bar p-x-2", children: (0, Ae.jsx)("div", { className: "row", children: (0, Ae.jsxs)("div", { className: "col-xs-12 col-md-6 col-md-offset-3", children: [(0, Ae.jsx)(Oe.Button, { className: "m-b-1", block: true, size: Oe.Size.MEDIUM, type: Oe.ControlType.ACCENT, onClick: e, children: r.formatMessage(pe.reviewSubmit) }), (0, Ae.jsx)(Oe.Button, { className: "m-b-2", block: true, size: Oe.Size.MEDIUM, type: Oe.ControlType.ACCENT, priority: Oe.Priority.SECONDARY, onClick: t, children: r.formatMessage(pe.reviewRetry) })] }) }) });
|
|
2514
2518
|
};
|
|
@@ -2521,18 +2525,18 @@ var require_main_min = __commonJS({
|
|
|
2521
2525
|
let e = (0, Pc.useIntl)();
|
|
2522
2526
|
return (0, wr.jsxs)("div", { className: "orientation-lock-overlay", children: [(0, wr.jsx)("img", { className: "m-b-3", src: "https://wise.com/public-resources/assets/camera-guidelines/icon-rotate-phone.svg", width: "96", height: "96", alt: "" }), (0, wr.jsx)("p", { className: "text-center m-b-0", children: e.formatMessage(Oc.text) })] });
|
|
2523
2527
|
}
|
|
2524
|
-
var
|
|
2528
|
+
var Ho = Uu;
|
|
2525
2529
|
var Mc = require("@transferwise/components");
|
|
2526
2530
|
var it = require("react/jsx-runtime");
|
|
2527
|
-
function Hu({ title: e, description: t, actionButton: r, onAction:
|
|
2528
|
-
return (0, it.jsx)("div", { className: "container p-t-5", children: (0, it.jsx)("div", { className: "row", children: (0, it.jsxs)("div", { className: "col-md-6 col-md-offset-3", children: [(0, it.jsx)("h2", { className: "text-xs-center m-b-3", children: e }), (0, it.jsx)("p", { className: "text-xs-center m-b-5", children: t }),
|
|
2531
|
+
function Hu({ title: e, description: t, actionButton: r, onAction: a }) {
|
|
2532
|
+
return (0, it.jsx)("div", { className: "container p-t-5", children: (0, it.jsx)("div", { className: "row", children: (0, it.jsxs)("div", { className: "col-md-6 col-md-offset-3", children: [(0, it.jsx)("h2", { className: "text-xs-center m-b-3", children: e }), (0, it.jsx)("p", { className: "text-xs-center m-b-5", children: t }), a && r && (0, it.jsx)(Mc.Button, { block: true, onClick: a, children: r })] }) }) });
|
|
2529
2533
|
}
|
|
2530
|
-
var
|
|
2534
|
+
var qo = Hu;
|
|
2531
2535
|
var st = require("react");
|
|
2532
2536
|
var _t = ke(kc());
|
|
2533
2537
|
var Ec = (e) => {
|
|
2534
2538
|
var r;
|
|
2535
|
-
let { facingMode: t } = ((r =
|
|
2539
|
+
let { facingMode: t } = ((r = pa(e)) == null ? void 0 : r.getSettings()) || {};
|
|
2536
2540
|
return t === "user" || t === void 0;
|
|
2537
2541
|
};
|
|
2538
2542
|
var Ic = (e) => !!((e == null ? void 0 : e.label) || "").match(/camera2? 0/g);
|
|
@@ -2541,8 +2545,8 @@ var require_main_min = __commonJS({
|
|
|
2541
2545
|
if (e) {
|
|
2542
2546
|
t.setAttribute("height", `${e.videoHeight}`), t.setAttribute("width", `${e.videoWidth}`);
|
|
2543
2547
|
let r = t == null ? void 0 : t.getContext("2d");
|
|
2544
|
-
r && (await new Promise((
|
|
2545
|
-
setTimeout(
|
|
2548
|
+
r && (await new Promise((a) => {
|
|
2549
|
+
setTimeout(a, 100);
|
|
2546
2550
|
}), r.drawImage(e, 0, 0, t.width, t.height));
|
|
2547
2551
|
}
|
|
2548
2552
|
return t;
|
|
@@ -2556,25 +2560,25 @@ var require_main_min = __commonJS({
|
|
|
2556
2560
|
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);
|
|
2557
2561
|
};
|
|
2558
2562
|
var Rc = async (e) => {
|
|
2559
|
-
var r,
|
|
2560
|
-
let t =
|
|
2561
|
-
return (
|
|
2563
|
+
var r, a, o;
|
|
2564
|
+
let t = Go(e);
|
|
2565
|
+
return (o = (await ((a = (r = navigator == null ? void 0 : navigator.mediaDevices) == null ? void 0 : r.enumerateDevices) == null ? void 0 : a.call(r)) || []).filter((n) => n.kind === "videoinput").find((n) => n.deviceId === (t == null ? void 0 : t.deviceId))) == null ? void 0 : o.label;
|
|
2562
2566
|
};
|
|
2563
|
-
var
|
|
2567
|
+
var pa = (e) => {
|
|
2564
2568
|
var t;
|
|
2565
2569
|
return (((t = e == null ? void 0 : e.getVideoTracks) == null ? void 0 : t.call(e)) || [])[0];
|
|
2566
2570
|
};
|
|
2567
|
-
var
|
|
2571
|
+
var Go = (e) => {
|
|
2568
2572
|
var t, r;
|
|
2569
|
-
return (r = (t =
|
|
2573
|
+
return (r = (t = pa(e)) == null ? void 0 : t.getCapabilities) == null ? void 0 : r.call(t);
|
|
2570
2574
|
};
|
|
2571
|
-
var
|
|
2575
|
+
var ya = (e, t, r) => t == null ? void 0 : t(e, { Error: qu(r) });
|
|
2572
2576
|
var qu = (e) => e instanceof DOMException ? JSON.stringify({ name: e == null ? void 0 : e.name, message: e == null ? void 0 : e.message }) : e;
|
|
2573
2577
|
var Nc = async (e, t, r) => e == null ? void 0 : e("Dynamic Flow - Camera Feed Started", await Gu(t, r));
|
|
2574
2578
|
var Gu = async (e, t) => {
|
|
2575
2579
|
var n;
|
|
2576
|
-
let r =
|
|
2577
|
-
return
|
|
2580
|
+
let r = pa(t), a = Go(t), o = (n = r == null ? void 0 : r.getSettings) == null ? void 0 : n.call(r);
|
|
2581
|
+
return C(s({}, r && { "Available Video Devices (by label)": await Tc(), "Active Video Device (by label)": await Rc(t), "Camera Capabilities": a, "Camera Settings": o }), { "Camera Direction (Asked)": e == null ? void 0 : e.direction });
|
|
2578
2582
|
};
|
|
2579
2583
|
var Bc = (e) => {
|
|
2580
2584
|
e == null || e("Dynamic Flow - Camera Orientation Lock Overlay Shown", {});
|
|
@@ -2584,49 +2588,49 @@ var require_main_min = __commonJS({
|
|
|
2584
2588
|
};
|
|
2585
2589
|
var jc = (e, t) => {
|
|
2586
2590
|
let r = (0, st.useCallback)(() => {
|
|
2587
|
-
window.screen.orientation && "lock" in window.screen.orientation && typeof window.screen.orientation.lock == "function" && window.screen.orientation.lock("portrait").then(() => zc(t)).catch(
|
|
2588
|
-
}, [t]),
|
|
2589
|
-
var c,
|
|
2590
|
-
return (
|
|
2591
|
-
}, []),
|
|
2591
|
+
window.screen.orientation && "lock" in window.screen.orientation && typeof window.screen.orientation.lock == "function" && window.screen.orientation.lock("portrait").then(() => zc(t)).catch(Wo);
|
|
2592
|
+
}, [t]), a = (0, st.useCallback)(() => {
|
|
2593
|
+
var c, l, m;
|
|
2594
|
+
return (m = (l = (c = window == null ? void 0 : window.screen) == null ? void 0 : c.orientation) == null ? void 0 : l.unlock) == null ? void 0 : m.call(l);
|
|
2595
|
+
}, []), o = (0, st.useCallback)(() => {
|
|
2592
2596
|
setTimeout(() => {
|
|
2593
2597
|
e && !_t.default.isFullscreen && _t.default.isEnabled && _t.default.request(document.documentElement, { navigationUI: "show" }).then(() => {
|
|
2594
2598
|
r();
|
|
2595
|
-
}).catch(
|
|
2599
|
+
}).catch(Wo);
|
|
2596
2600
|
}, 100);
|
|
2597
2601
|
}, [e, r]), n = (0, st.useCallback)(() => {
|
|
2598
|
-
_t.default.isFullscreen && _t.default.exit().catch(
|
|
2599
|
-
}, [
|
|
2600
|
-
var
|
|
2601
|
-
(
|
|
2602
|
+
_t.default.isFullscreen && _t.default.exit().catch(Wo), a();
|
|
2603
|
+
}, [a]), i = (0, st.useCallback)((c) => {
|
|
2604
|
+
var l, m;
|
|
2605
|
+
(l = c == null ? void 0 : c.target) != null && l.type.includes("landscape") && (m = window.screen) != null && m.orientation && Bc(t);
|
|
2602
2606
|
}, [t]);
|
|
2603
2607
|
return (0, st.useEffect)(() => {
|
|
2604
|
-
var c,
|
|
2605
|
-
return e && ((
|
|
2606
|
-
var
|
|
2607
|
-
(p = (
|
|
2608
|
+
var c, l;
|
|
2609
|
+
return e && ((l = (c = window.screen) == null ? void 0 : c.orientation) == null || l.addEventListener("change", (m) => i(m))), () => {
|
|
2610
|
+
var m, p;
|
|
2611
|
+
(p = (m = window.screen) == null ? void 0 : m.orientation) == null || p.removeEventListener("change", i), n();
|
|
2608
2612
|
};
|
|
2609
|
-
}, [n, i, e]), { enterFullScreen:
|
|
2613
|
+
}, [n, i, e]), { enterFullScreen: o, exitFullScreen: n };
|
|
2610
2614
|
};
|
|
2611
|
-
var
|
|
2615
|
+
var Wo = () => {
|
|
2612
2616
|
};
|
|
2613
|
-
var
|
|
2617
|
+
var fa = require("react");
|
|
2614
2618
|
var Vc = (e) => {
|
|
2615
|
-
let [t, r] = (0,
|
|
2616
|
-
(0,
|
|
2617
|
-
|
|
2619
|
+
let [t, r] = (0, fa.useState)(), a = { facingMode: e === "front" ? "user" : "environment", height: { min: 480, max: 1080, ideal: 720 }, width: { min: 640, max: 1920, ideal: 1280 }, frameRate: 30, aspectRatio: 16 / 9 };
|
|
2620
|
+
(0, fa.useEffect)(() => {
|
|
2621
|
+
o(e).then(r);
|
|
2618
2622
|
}, [e]);
|
|
2619
|
-
let
|
|
2623
|
+
let o = async (n) => {
|
|
2620
2624
|
if (n === "back") {
|
|
2621
2625
|
let i = (await Lc()).find(Ic);
|
|
2622
2626
|
if (i != null && i.deviceId)
|
|
2623
|
-
return
|
|
2627
|
+
return C(s({}, a), { deviceId: { exact: i.deviceId } });
|
|
2624
2628
|
}
|
|
2625
|
-
return
|
|
2629
|
+
return a;
|
|
2626
2630
|
};
|
|
2627
2631
|
return { videoConstraints: t };
|
|
2628
2632
|
};
|
|
2629
|
-
var
|
|
2633
|
+
var ha = require("react");
|
|
2630
2634
|
var J = require("react/jsx-runtime");
|
|
2631
2635
|
var Wu = 92;
|
|
2632
2636
|
var Uc = 120;
|
|
@@ -2635,31 +2639,31 @@ var require_main_min = __commonJS({
|
|
|
2635
2639
|
var Ku = 48;
|
|
2636
2640
|
var Ju = 40;
|
|
2637
2641
|
var Hc = 800;
|
|
2638
|
-
function Xu({ overlay: e, outline: t, imageUrl: r, title:
|
|
2639
|
-
let i = (0,
|
|
2640
|
-
(0,
|
|
2642
|
+
function Xu({ overlay: e, outline: t, imageUrl: r, title: a, instructions: o, reviewInstructions: n }) {
|
|
2643
|
+
let i = (0, ha.useRef)(null);
|
|
2644
|
+
(0, ha.useEffect)(() => {
|
|
2641
2645
|
let y = Ye(() => {
|
|
2642
2646
|
var u;
|
|
2643
2647
|
if ((u = i.current) != null && u.innerHTML) {
|
|
2644
|
-
let
|
|
2645
|
-
|
|
2648
|
+
let d = i.current;
|
|
2649
|
+
d.innerHTML = String(d.innerHTML);
|
|
2646
2650
|
}
|
|
2647
2651
|
}, 100);
|
|
2648
2652
|
return window.addEventListener("resize", y), () => window.removeEventListener("resize", y);
|
|
2649
2653
|
});
|
|
2650
|
-
let c = (r ? $u : 0) + (
|
|
2654
|
+
let c = (r ? $u : 0) + (a ? _u : 0) + (o ? Ku : 0), l = (0, J.jsxs)(J.Fragment, { children: [r && (0, J.jsx)("img", { className: "camera-capture-img", src: r, alt: "" }), a && (0, J.jsx)("h4", { className: "camera-capture-title", children: a }), o && (0, J.jsx)("small", { className: "camera-capture-instructions", children: o })] }), m = Wu + c;
|
|
2651
2655
|
if (n) {
|
|
2652
|
-
c =
|
|
2656
|
+
c = m - Uc, l = (0, J.jsx)("small", { className: "camera-capture-instructions", children: n });
|
|
2653
2657
|
let y = Uc + Ju;
|
|
2654
|
-
|
|
2658
|
+
m < y && (l = (0, J.jsx)(J.Fragment, {}));
|
|
2655
2659
|
}
|
|
2656
|
-
let p = { x: "50%", y: "5%", width: `min(90%, ${Hc}px)`, height: `calc(90% - ${
|
|
2657
|
-
return (0, J.jsxs)("svg", { ref: i, xmlns: "http://www.w3.org/2000/svg", children: [(0, J.jsx)("defs", { children: (0, J.jsxs)("mask", { id: "mask", children: [(0, J.jsx)("rect", { width: "100%", height: "100%", fill: "#fff" }), (0, J.jsx)("image", s({ href: e }, p))] }) }), e && (0, J.jsx)("rect", { width: "100%", height: "100%", mask: "url(#mask)", fillOpacity: "0.72" }), t && (0, J.jsx)("image", s({ href: t }, p)), (0, J.jsx)("foreignObject", { width: "100%", height: "100%", children: (0, J.jsx)("div",
|
|
2660
|
+
let p = { x: "50%", y: "5%", width: `min(90%, ${Hc}px)`, height: `calc(90% - ${m}px)`, style: { transform: `translateX(max(-45%, -${Hc / 2}px))` } }, h = { style: { left: "5%", top: `calc(100% - ${m}px - 5%)`, height: `calc(${c}px + 5%)`, width: "90%" } };
|
|
2661
|
+
return (0, J.jsxs)("svg", { ref: i, xmlns: "http://www.w3.org/2000/svg", children: [(0, J.jsx)("defs", { children: (0, J.jsxs)("mask", { id: "mask", children: [(0, J.jsx)("rect", { width: "100%", height: "100%", fill: "#fff" }), (0, J.jsx)("image", s({ href: e }, p))] }) }), e && (0, J.jsx)("rect", { width: "100%", height: "100%", mask: "url(#mask)", fillOpacity: "0.72" }), t && (0, J.jsx)("image", s({ href: t }, p)), (0, J.jsx)("foreignObject", { width: "100%", height: "100%", children: (0, J.jsx)("div", C(s({ className: "camera-capture-text-and-image-container" }, h), { children: l })) })] });
|
|
2658
2662
|
}
|
|
2659
|
-
var $
|
|
2663
|
+
var $o = Xu;
|
|
2660
2664
|
var ye = require("react/jsx-runtime");
|
|
2661
|
-
function Yu({ direction: e = "back", overlay: t = "", outline: r = "", imageUrl:
|
|
2662
|
-
let [
|
|
2665
|
+
function Yu({ direction: e = "back", overlay: t = "", outline: r = "", imageUrl: a = "", title: o = "", instructions: n = "", showReview: i = false, onCapture: c, onEvent: l }) {
|
|
2666
|
+
let [m, p] = (0, oe.useState)("CAPTURE"), [h, y] = (0, oe.useState)(), [u, d] = (0, oe.useState)(false), [f, w] = (0, oe.useState)(false), [S, F] = (0, oe.useState)(), g = (0, oe.useRef)(null), { videoConstraints: v } = Vc(e), O = (0, oe.useMemo)(() => !!(Yn() && m === "CAPTURE"), [m]), { enterFullScreen: x, exitFullScreen: M } = jc(O, l), k = (0, qc.useIntl)(), P = (0, oe.useCallback)(async () => {
|
|
2663
2667
|
var W, X, $e, _e, Yt, xr;
|
|
2664
2668
|
if ((W = g == null ? void 0 : g.current) != null && W.video && (($e = (X = g == null ? void 0 : g.current) == null ? void 0 : X.video) == null ? void 0 : $e.readyState) >= 3) {
|
|
2665
2669
|
(Yt = (_e = g == null ? void 0 : g.current) == null ? void 0 : _e.video) == null || Yt.pause();
|
|
@@ -2667,66 +2671,66 @@ var require_main_min = __commonJS({
|
|
|
2667
2671
|
Zt == null || Zt.toBlob((Be) => {
|
|
2668
2672
|
if (Be)
|
|
2669
2673
|
if (i) {
|
|
2670
|
-
let
|
|
2671
|
-
F({ source:
|
|
2674
|
+
let va = window.URL.createObjectURL(Be);
|
|
2675
|
+
F({ source: va, blob: Be }), p("REVIEW");
|
|
2672
2676
|
} else
|
|
2673
2677
|
c(Be);
|
|
2674
2678
|
}, "image/jpeg", 0.92);
|
|
2675
2679
|
}
|
|
2676
|
-
}, [g, i, F, p, c, u]), D = (0,
|
|
2680
|
+
}, [g, i, F, p, c, u]), D = (0, oe.useCallback)((W) => {
|
|
2677
2681
|
if (p("ERROR"), W instanceof DOMException)
|
|
2678
2682
|
switch (W == null ? void 0 : W.name) {
|
|
2679
2683
|
case "NotAllowedError":
|
|
2680
|
-
y({ title: k.formatMessage(pe.noCameraAccessTitle), description: k.formatMessage(pe.noCameraAccessParagraph), actionButton: k.formatMessage(pe.noCameraAccessAction), onAction: B }),
|
|
2684
|
+
y({ title: k.formatMessage(pe.noCameraAccessTitle), description: k.formatMessage(pe.noCameraAccessParagraph), actionButton: k.formatMessage(pe.noCameraAccessAction), onAction: B }), ya("Dynamic Flow - Camera Permission Denied", l, W);
|
|
2681
2685
|
return;
|
|
2682
2686
|
case "NotFoundError":
|
|
2683
2687
|
case "OverconstrainedError":
|
|
2684
2688
|
case "AbortError":
|
|
2685
2689
|
case "NotReadableError":
|
|
2686
|
-
y({ title: k.formatMessage(pe.cameraConnectionIssueTitle), description: k.formatMessage(pe.cameraConnectionIssueParagraph), actionButton: k.formatMessage(pe.cameraConnectionIssueAction), onAction: B }),
|
|
2690
|
+
y({ title: k.formatMessage(pe.cameraConnectionIssueTitle), description: k.formatMessage(pe.cameraConnectionIssueParagraph), actionButton: k.formatMessage(pe.cameraConnectionIssueAction), onAction: B }), ya("Dynamic Flow - Camera Not Accessible", l, W);
|
|
2687
2691
|
return;
|
|
2688
2692
|
}
|
|
2689
|
-
y({ title: k.formatMessage(pe.cameraNotSupportedTitle), description: k.formatMessage(pe.cameraNotSupportedParagraph) }),
|
|
2690
|
-
}, [k,
|
|
2691
|
-
x(), w(true),
|
|
2692
|
-
}, [
|
|
2693
|
-
c((
|
|
2693
|
+
y({ title: k.formatMessage(pe.cameraNotSupportedTitle), description: k.formatMessage(pe.cameraNotSupportedParagraph) }), ya("Dynamic Flow - Camera Not Supported", l, W);
|
|
2694
|
+
}, [k, l]), H = (0, oe.useCallback)((W) => {
|
|
2695
|
+
x(), w(true), d(Ec(W)), Nc(l, { direction: e }, W);
|
|
2696
|
+
}, [d, l, e, x]), ee = () => {
|
|
2697
|
+
c((S == null ? void 0 : S.blob) || null);
|
|
2694
2698
|
}, A = () => {
|
|
2695
2699
|
p("CAPTURE"), F(void 0);
|
|
2696
2700
|
}, B = () => p("CAPTURE");
|
|
2697
|
-
(0,
|
|
2698
|
-
|
|
2699
|
-
}, [
|
|
2700
|
-
let E = (0, ye.jsxs)("div", { className: "camera-capture", children: [v && (0, ye.jsx)(Gc.default, { ref: g, audio: false, videoConstraints: v, mirrored: u, onUserMediaError: D, onUserMedia: H }), (0, ye.jsx)($
|
|
2701
|
+
(0, oe.useEffect)(() => {
|
|
2702
|
+
m !== "CAPTURE" && M();
|
|
2703
|
+
}, [m, M]);
|
|
2704
|
+
let E = (0, ye.jsxs)("div", { className: "camera-capture", children: [v && (0, ye.jsx)(Gc.default, { ref: g, audio: false, videoConstraints: v, mirrored: u, onUserMediaError: D, onUserMedia: H }), (0, ye.jsx)($o, { overlay: t, outline: r, imageUrl: a, title: o, instructions: n }), O && (0, ye.jsx)(Ho, {}), f && (0, ye.jsx)(Vo, { onCapture: () => {
|
|
2701
2705
|
P();
|
|
2702
|
-
} })] }), ie = (0, ye.jsxs)("div", { className: "camera-capture", children: [(0, ye.jsx)("img", { className: "review-image", src:
|
|
2703
|
-
return (0, ye.jsxs)("section", { children: [
|
|
2706
|
+
} })] }), ie = (0, ye.jsxs)("div", { className: "camera-capture", children: [(0, ye.jsx)("img", { className: "review-image", src: S == null ? void 0 : S.source, alt: "" }), (0, ye.jsx)($o, { overlay: t, imageUrl: a, title: o, instructions: n, reviewInstructions: k.formatMessage(pe.reviewInstructions) }), (0, ye.jsx)(Uo, { onSubmit: ee, onRetry: A })] });
|
|
2707
|
+
return (0, ye.jsxs)("section", { children: [m === "CAPTURE" && E, m === "REVIEW" && ie, m === "ERROR" && h && (0, ye.jsx)(qo, s({}, h))] });
|
|
2704
2708
|
}
|
|
2705
|
-
var
|
|
2709
|
+
var _o = Yu;
|
|
2706
2710
|
var $c = require("react/jsx-runtime");
|
|
2707
2711
|
function Zu(e) {
|
|
2708
2712
|
return new Promise((t, r) => {
|
|
2709
|
-
let
|
|
2710
|
-
|
|
2713
|
+
let a = new FileReader();
|
|
2714
|
+
a.onloadend = () => t(a.result), a.readAsDataURL(e);
|
|
2711
2715
|
});
|
|
2712
2716
|
}
|
|
2713
2717
|
function Qu(e) {
|
|
2714
|
-
let { step: t, model: r, onModelChange:
|
|
2715
|
-
(0,
|
|
2716
|
-
F &&
|
|
2718
|
+
let { step: t, model: r, onModelChange: a, onAction: o } = e, n = te(), i = Wc(t), c = ep(t), l = tp(t), { title: m, image: p, cameraConfig: h } = c, { assets: y, direction: u, instructions: d } = h || {}, { overlay: f, outline: w } = y || {}, { url: S } = p || {}, [F, g] = (0, ga.useState)(false);
|
|
2719
|
+
(0, ga.useEffect)(() => {
|
|
2720
|
+
F && o(l);
|
|
2717
2721
|
}, [r]);
|
|
2718
2722
|
let v = async (O) => {
|
|
2719
2723
|
let { $id: x } = c;
|
|
2720
2724
|
if (O) {
|
|
2721
2725
|
let M = await Zu(O), k = { [x || ""]: M };
|
|
2722
|
-
g(true),
|
|
2726
|
+
g(true), a({ model: k, formSchema: i, triggerModel: M, triggerSchema: c });
|
|
2723
2727
|
}
|
|
2724
2728
|
};
|
|
2725
|
-
return (0, $c.jsx)(
|
|
2729
|
+
return (0, $c.jsx)(_o, { overlay: f, outline: w, title: m, imageUrl: S, instructions: d, direction: u, onEvent: n, onCapture: (O) => {
|
|
2726
2730
|
v(O);
|
|
2727
2731
|
} });
|
|
2728
2732
|
}
|
|
2729
|
-
var
|
|
2733
|
+
var wa = Qu;
|
|
2730
2734
|
function Wc(e) {
|
|
2731
2735
|
let r = zr(e.schemas || [])[0];
|
|
2732
2736
|
if (!r || !De(r))
|
|
@@ -2749,18 +2753,18 @@ var require_main_min = __commonJS({
|
|
|
2749
2753
|
}
|
|
2750
2754
|
var Jc = require("react-intl");
|
|
2751
2755
|
var _c = require("react-intl");
|
|
2752
|
-
var
|
|
2756
|
+
var Sr = (0, _c.defineMessages)({ title: { id: "dynamicFlows.ExternalConfirmation.title", defaultMessage: "Please confirm", description: "Heading for the confirmation screen." }, description: { id: "dynamicFlows.ExternalConfirmation.description", defaultMessage: "Please confirm you want to open **{origin}** in a new browser tab.", description: "Description for the confirmation screen." }, open: { id: "dynamicFlows.ExternalConfirmation.open", defaultMessage: "Open in new tab", description: "Button text confirming opening a new browser tab." }, cancel: { id: "dynamicFlows.ExternalConfirmation.cancel", defaultMessage: "Cancel", description: "Button text rejecting opening a new browser tab." } });
|
|
2753
2757
|
var Xc = require("react/jsx-runtime");
|
|
2754
2758
|
var Kc = () => {
|
|
2755
2759
|
};
|
|
2756
2760
|
var rp = ({ url: e, onClose: t }) => {
|
|
2757
2761
|
let { formatMessage: r } = (0, Jc.useIntl)();
|
|
2758
|
-
return (0, Xc.jsx)(ne, { components: [{ type: "box", width: "lg", components: [{ type: "heading", text: r(
|
|
2759
|
-
|
|
2762
|
+
return (0, Xc.jsx)(ne, { components: [{ type: "box", width: "lg", components: [{ type: "heading", text: r(Sr.title), size: "lg", align: "center", margin: "xl" }, { type: "info", markdown: r(Sr.description, { origin: ap(e) }), align: "center", margin: "xl" }, { type: "box", width: "md", components: [{ type: "button", action: { title: r(Sr.open), type: "primary", url: e, exit: true } }, { type: "button", action: { title: r(Sr.cancel), type: "link", url: "", exit: true } }] }] }], submitted: false, onAction: (a) => {
|
|
2763
|
+
a.url && window.open(a.url, "_blank"), t();
|
|
2760
2764
|
}, onModelChange: Kc, onPersistAsync: Kc });
|
|
2761
2765
|
};
|
|
2762
|
-
var
|
|
2763
|
-
function
|
|
2766
|
+
var Ca = rp;
|
|
2767
|
+
function ap(e) {
|
|
2764
2768
|
try {
|
|
2765
2769
|
return new URL(e).origin;
|
|
2766
2770
|
} catch (t) {
|
|
@@ -2770,96 +2774,96 @@ var require_main_min = __commonJS({
|
|
|
2770
2774
|
var Yc = require("@transferwise/components");
|
|
2771
2775
|
var Zc = require("@transferwise/icons");
|
|
2772
2776
|
var Kt = require("react/jsx-runtime");
|
|
2773
|
-
function
|
|
2774
|
-
return (0, Kt.jsxs)("a", { href: "/", className: "df-back-btn", "aria-label": e, onClick: (
|
|
2775
|
-
|
|
2777
|
+
function op({ title: e, action: t, onAction: r }) {
|
|
2778
|
+
return (0, Kt.jsxs)("a", { href: "/", className: "df-back-btn", "aria-label": e, onClick: (a) => {
|
|
2779
|
+
a.preventDefault(), r(C(s({}, t), { skipValidation: true }));
|
|
2776
2780
|
}, children: [(0, Kt.jsx)("span", { className: "sr-only", children: e }), (0, Kt.jsx)(Yc.Avatar, { type: "icon", children: (0, Kt.jsx)(Zc.ArrowLeft, { size: "24" }) })] });
|
|
2777
2781
|
}
|
|
2778
|
-
var Qc =
|
|
2782
|
+
var Qc = op;
|
|
2779
2783
|
var Pe = require("react/jsx-runtime");
|
|
2780
2784
|
function Kr(e) {
|
|
2781
|
-
var
|
|
2782
|
-
let { step: t, globalError: r, onAction:
|
|
2783
|
-
return t === void 0 ? r ? (0, Pe.jsx)(se, { component: { context: "negative", markdown: r, margin: "lg" } }) : null :
|
|
2785
|
+
var l, m, p;
|
|
2786
|
+
let { step: t, globalError: r, onAction: a } = e, o = (l = t == null ? void 0 : t.external) == null ? void 0 : l.url, n = ((m = t == null ? void 0 : t.navigation) == null ? void 0 : m.back) || ((p = t == null ? void 0 : t.navigation) == null ? void 0 : p.backButton), { requiresManualTrigger: i, dismissConfirmation: c } = ei(o);
|
|
2787
|
+
return t === void 0 ? r ? (0, Pe.jsx)(se, { component: { context: "negative", markdown: r, margin: "lg" } }) : null : o && i ? (0, Pe.jsx)(Ca, { url: o, onClose: c }) : Jn(t) ? (0, Pe.jsx)(wa, C(s({}, e), { step: t })) : (0, Pe.jsxs)(Pe.Fragment, { children: [n && (0, Pe.jsx)(Qc, C(s({}, n), { onAction: a })), r ? (0, Pe.jsx)(se, { component: { context: "negative", markdown: r, margin: "lg" } }) : null, (0, Pe.jsx)(ua, C(s({}, e), { stepSpecification: t }))] });
|
|
2784
2788
|
}
|
|
2785
|
-
var
|
|
2789
|
+
var em = require("react");
|
|
2786
2790
|
var np = 1e3;
|
|
2787
|
-
function
|
|
2788
|
-
let t = (0,
|
|
2789
|
-
if (t.current.has(
|
|
2790
|
-
return t.current.get(
|
|
2791
|
-
let
|
|
2792
|
-
return t.current.set(
|
|
2791
|
+
function tm(e) {
|
|
2792
|
+
let t = (0, em.useRef)(/* @__PURE__ */ new Map()), r = (a) => {
|
|
2793
|
+
if (t.current.has(a))
|
|
2794
|
+
return t.current.get(a);
|
|
2795
|
+
let o = Ye((n, i, c) => e(n, i, c), np);
|
|
2796
|
+
return t.current.set(a, o), o;
|
|
2793
2797
|
};
|
|
2794
|
-
return function(
|
|
2795
|
-
let c = r(
|
|
2796
|
-
c(
|
|
2798
|
+
return function(a, o, n, i) {
|
|
2799
|
+
let c = r(a);
|
|
2800
|
+
c(a, o, n), (!i || !ip(i)) && c.flush();
|
|
2797
2801
|
};
|
|
2798
2802
|
}
|
|
2799
2803
|
var ip = (e) => dt(e) === "basic" && e.type !== "boolean" && e.format !== "base64url";
|
|
2800
2804
|
var Jt = require("react");
|
|
2801
|
-
var
|
|
2802
|
-
var u,
|
|
2803
|
-
let [t, r] = (0, Jt.useState)((u = e == null ? void 0 : e.errors) == null ? void 0 : u.validation), [
|
|
2804
|
-
var
|
|
2805
|
-
i((O) => ({ step: f, models: f.model ?
|
|
2806
|
-
}, h = (f, w,
|
|
2805
|
+
var om = (e) => {
|
|
2806
|
+
var u, d;
|
|
2807
|
+
let [t, r] = (0, Jt.useState)((u = e == null ? void 0 : e.errors) == null ? void 0 : u.validation), [a, o] = (0, Jt.useState)((d = e == null ? void 0 : e.errors) == null ? void 0 : d.error), [n, i] = (0, Jt.useState)({ step: e || void 0, models: e != null && e.model ? rm(e.model, am(e)) : {}, etag: void 0 }), { step: c, models: l, etag: m } = n, p = (f, w) => {
|
|
2808
|
+
var S, F, g, v;
|
|
2809
|
+
i((O) => ({ step: f, models: f.model ? rm(f.model, am(f)) : O.models, etag: w })), r((F = (S = f == null ? void 0 : f.errors) == null ? void 0 : S.validation) != null ? F : null), o((v = (g = f == null ? void 0 : f.errors) == null ? void 0 : g.error) != null ? v : null);
|
|
2810
|
+
}, h = (f, w, S) => {
|
|
2807
2811
|
i((F) => {
|
|
2808
|
-
let g =
|
|
2809
|
-
return
|
|
2812
|
+
let g = C(s({}, F.models), { [f]: w }), v = { step: F.step, models: g, etag: F.etag };
|
|
2813
|
+
return S(g), v;
|
|
2810
2814
|
});
|
|
2811
|
-
}, y = (0, Jt.useMemo)(() => cp(
|
|
2812
|
-
return { formErrors: t, globalError:
|
|
2815
|
+
}, y = (0, Jt.useMemo)(() => cp(l, sp(c)), [l, c]);
|
|
2816
|
+
return { formErrors: t, globalError: a, step: c, models: l, etag: m, modelIsValid: y, setFormErrors: r, setGlobalError: o, setStepAndEtag: p, setSchemaModel: h };
|
|
2813
2817
|
};
|
|
2814
|
-
var
|
|
2815
|
-
var
|
|
2816
|
-
var
|
|
2818
|
+
var rm = (e, t = []) => t.reduce((r, a) => (a.$id || console.warn("Schema without $id property found."), C(s({}, r), { [a.$id || ""]: ce(e, a) || {} })), {});
|
|
2819
|
+
var am = (e) => [...Sa((e == null ? void 0 : e.layout) || []), ...(e == null ? void 0 : e.schemas) || []];
|
|
2820
|
+
var Sa = (e) => e.flatMap((t) => {
|
|
2817
2821
|
switch (t.type) {
|
|
2818
2822
|
case "columns":
|
|
2819
|
-
return [...
|
|
2823
|
+
return [...Sa([...t.left, ...t.right])];
|
|
2820
2824
|
case "box":
|
|
2821
|
-
return
|
|
2825
|
+
return Sa(t.components);
|
|
2822
2826
|
case "form":
|
|
2823
|
-
return
|
|
2827
|
+
return nm(t.schema) ? [t.schema] : [];
|
|
2824
2828
|
default:
|
|
2825
2829
|
return [];
|
|
2826
2830
|
}
|
|
2827
2831
|
});
|
|
2828
|
-
var sp = (e) => [...
|
|
2829
|
-
var
|
|
2832
|
+
var sp = (e) => [...Ko((e == null ? void 0 : e.layout) || []).map((t) => ((e == null ? void 0 : e.schemas) || []).find((r) => r.$id === t)).filter(Boolean), ...Sa((e == null ? void 0 : e.layout) || [])];
|
|
2833
|
+
var Ko = (e) => e.flatMap((t) => {
|
|
2830
2834
|
switch (t.type) {
|
|
2831
2835
|
case "columns":
|
|
2832
|
-
return [...
|
|
2836
|
+
return [...Ko([...t.left, ...t.right])];
|
|
2833
2837
|
case "box":
|
|
2834
|
-
return
|
|
2838
|
+
return Ko(t.components);
|
|
2835
2839
|
case "form":
|
|
2836
|
-
return [
|
|
2840
|
+
return [mp(t)];
|
|
2837
2841
|
default:
|
|
2838
2842
|
return [];
|
|
2839
2843
|
}
|
|
2840
2844
|
}).filter(Boolean);
|
|
2841
2845
|
var cp = (e, t = []) => !(t != null && t.some((r) => (r.$id || console.warn("Schema without $id property found."), !G(e[r.$id || ""] || {}, r))));
|
|
2842
|
-
var
|
|
2843
|
-
var
|
|
2844
|
-
var
|
|
2845
|
-
var
|
|
2846
|
-
var
|
|
2847
|
-
function
|
|
2848
|
-
let r = s({ size:
|
|
2849
|
-
return { isLoading:
|
|
2850
|
-
}
|
|
2851
|
-
var
|
|
2852
|
-
var
|
|
2853
|
-
var
|
|
2854
|
-
var
|
|
2855
|
-
function
|
|
2856
|
-
let { formatMessage: t } = (0,
|
|
2857
|
-
return (0,
|
|
2846
|
+
var mp = (e) => e.schema && !nm(e.schema) ? e.schema.$ref : e.schemaId;
|
|
2847
|
+
var nm = (e) => e !== void 0 && typeof e == "object" && !Object.hasOwnProperty.call(e, "$ref");
|
|
2848
|
+
var Fa = require("@transferwise/components");
|
|
2849
|
+
var im = require("react");
|
|
2850
|
+
var cm = require("react/jsx-runtime");
|
|
2851
|
+
function sm(e, t) {
|
|
2852
|
+
let r = s({ size: Fa.Size.EXTRA_LARGE, initial: true, submission: false }, e), [a, o] = (0, im.useState)(t), i = r.initial && a === "initial" || r.submission && a === "submission" ? (0, cm.jsx)(Fa.Loader, { size: r.size, classNames: { "tw-loader": "tw-loader m-x-auto" }, "data-testid": "loader" }) : null;
|
|
2853
|
+
return { isLoading: a !== "idle", setLoadingState: o, loader: i };
|
|
2854
|
+
}
|
|
2855
|
+
var um = require("react");
|
|
2856
|
+
var ba = require("@transferwise/components");
|
|
2857
|
+
var mm = require("react-intl");
|
|
2858
|
+
var dm = require("react/jsx-runtime");
|
|
2859
|
+
function lm({ onDismiss: e }) {
|
|
2860
|
+
let { formatMessage: t } = (0, mm.useIntl)();
|
|
2861
|
+
return (0, dm.jsx)(ba.Alert, { action: { text: t(Gt.retry), href: window.location.href }, message: t(Gt.errorAlert), type: ba.Sentiment.NEGATIVE, className: "m-b-3", onDismiss: e });
|
|
2858
2862
|
}
|
|
2859
2863
|
var Xt = require("react/jsx-runtime");
|
|
2860
|
-
var
|
|
2864
|
+
var lp = () => {
|
|
2861
2865
|
};
|
|
2862
|
-
var
|
|
2866
|
+
var Jo = class extends um.Component {
|
|
2863
2867
|
constructor(r) {
|
|
2864
2868
|
super(r);
|
|
2865
2869
|
this.handleErrorReset = () => {
|
|
@@ -2871,35 +2875,35 @@ var require_main_min = __commonJS({
|
|
|
2871
2875
|
return { hasError: true, isFatalError: true };
|
|
2872
2876
|
}
|
|
2873
2877
|
componentDidCatch(r) {
|
|
2874
|
-
let { onError:
|
|
2875
|
-
|
|
2878
|
+
let { onError: a = lp } = this.props;
|
|
2879
|
+
a(r);
|
|
2876
2880
|
}
|
|
2877
2881
|
render() {
|
|
2878
|
-
let { children: r } = this.props, { hasError:
|
|
2879
|
-
return (0, Xt.jsxs)(Xt.Fragment, { children: [
|
|
2882
|
+
let { children: r } = this.props, { hasError: a, isFatalError: o } = this.state;
|
|
2883
|
+
return (0, Xt.jsxs)(Xt.Fragment, { children: [a && (0, Xt.jsx)(lm, { onDismiss: this.handleErrorReset }), !o && r] });
|
|
2880
2884
|
}
|
|
2881
2885
|
};
|
|
2882
|
-
var
|
|
2883
|
-
var
|
|
2886
|
+
var Xo = Jo;
|
|
2887
|
+
var pm = async (e, t) => {
|
|
2884
2888
|
switch (t) {
|
|
2885
2889
|
case "step":
|
|
2886
|
-
return
|
|
2890
|
+
return ym(e);
|
|
2887
2891
|
case "exit":
|
|
2888
|
-
return
|
|
2892
|
+
return hm(e);
|
|
2889
2893
|
case "action":
|
|
2890
|
-
return
|
|
2894
|
+
return fm(e);
|
|
2891
2895
|
default:
|
|
2892
2896
|
throw new Error("Unsupported X-Df-Response-Type. Allowed values are 'step', 'action', 'exit'.");
|
|
2893
2897
|
}
|
|
2894
2898
|
};
|
|
2895
|
-
var
|
|
2899
|
+
var ym = async (e) => {
|
|
2896
2900
|
let t = await Fr(e);
|
|
2897
2901
|
if (!R(t))
|
|
2898
2902
|
throw new Error("Incorrect response body in response. Expected an object.");
|
|
2899
2903
|
let r = e.headers.get("etag") || void 0;
|
|
2900
2904
|
return { type: "step", step: t, etag: r };
|
|
2901
2905
|
};
|
|
2902
|
-
var
|
|
2906
|
+
var fm = async (e) => {
|
|
2903
2907
|
let t = await Fr(e);
|
|
2904
2908
|
if (!R(t))
|
|
2905
2909
|
throw new Error("Incorrect response body in response. Expected an object.");
|
|
@@ -2908,24 +2912,24 @@ var require_main_min = __commonJS({
|
|
|
2908
2912
|
let r = t.action;
|
|
2909
2913
|
return r.exit === true && R(r.result) ? { type: "exit", result: r.result } : { type: "action", action: t.action };
|
|
2910
2914
|
};
|
|
2911
|
-
var
|
|
2912
|
-
var
|
|
2913
|
-
var r,
|
|
2914
|
-
if (
|
|
2915
|
+
var hm = async (e) => ({ type: "exit", result: await Yo(e) });
|
|
2916
|
+
var gm = async (e) => {
|
|
2917
|
+
var r, a, o;
|
|
2918
|
+
if (Zo(e), (r = e.headers) != null && r.has("X-Df-Response-Type")) {
|
|
2915
2919
|
let n = e.headers.get("X-Df-Response-Type");
|
|
2916
|
-
return
|
|
2920
|
+
return pm(e, n);
|
|
2917
2921
|
}
|
|
2918
|
-
if ((
|
|
2922
|
+
if ((a = e.headers) != null && a.has("X-Df-ResponseType")) {
|
|
2919
2923
|
let n = e.headers.get("X-Df-ResponseType");
|
|
2920
|
-
return
|
|
2924
|
+
return pm(e, n);
|
|
2921
2925
|
}
|
|
2922
|
-
if ((
|
|
2923
|
-
return
|
|
2926
|
+
if ((o = e.headers) != null && o.has("X-Df-Exit"))
|
|
2927
|
+
return hm(e);
|
|
2924
2928
|
let t = await Fr(e.clone());
|
|
2925
|
-
return R(t) && t.action ?
|
|
2929
|
+
return R(t) && t.action ? fm(e) : ym(e);
|
|
2926
2930
|
};
|
|
2927
|
-
var
|
|
2928
|
-
|
|
2931
|
+
var wm = async (e) => {
|
|
2932
|
+
Zo(e);
|
|
2929
2933
|
let t = await Fr(e);
|
|
2930
2934
|
if (!R(t))
|
|
2931
2935
|
throw new Error("Incorrect response body in error response. Expected an object.");
|
|
@@ -2933,8 +2937,8 @@ var require_main_min = __commonJS({
|
|
|
2933
2937
|
throw t;
|
|
2934
2938
|
return t;
|
|
2935
2939
|
};
|
|
2936
|
-
var
|
|
2937
|
-
|
|
2940
|
+
var Yo = async (e) => {
|
|
2941
|
+
Zo(e);
|
|
2938
2942
|
let t = await Fr(e);
|
|
2939
2943
|
return R(t) ? t : null;
|
|
2940
2944
|
};
|
|
@@ -2945,7 +2949,7 @@ var require_main_min = __commonJS({
|
|
|
2945
2949
|
return null;
|
|
2946
2950
|
}
|
|
2947
2951
|
};
|
|
2948
|
-
var
|
|
2952
|
+
var Zo = (e) => {
|
|
2949
2953
|
if (!dp(e))
|
|
2950
2954
|
throw new Error("Incorrect type of response from fetch. Expected object of type Response.");
|
|
2951
2955
|
if (e.bodyUsed)
|
|
@@ -2953,137 +2957,137 @@ var require_main_min = __commonJS({
|
|
|
2953
2957
|
};
|
|
2954
2958
|
var dp = (e) => typeof e == "object" && e !== null && "clone" in e && "bodyUsed" in e;
|
|
2955
2959
|
var We = require("react/jsx-runtime");
|
|
2956
|
-
var
|
|
2957
|
-
};
|
|
2958
|
-
var up = ({ flowId: e, httpClient: t, initialAction: r, initialStep:
|
|
2959
|
-
let { locale: h } = (0,
|
|
2960
|
-
var
|
|
2961
|
-
return s({ flowId: e, stepId: (
|
|
2962
|
-
}, [e,
|
|
2963
|
-
let { url: re, method: Ke = "POST" } =
|
|
2960
|
+
var Cm = () => {
|
|
2961
|
+
};
|
|
2962
|
+
var up = ({ flowId: e, httpClient: t, initialAction: r, initialStep: a, loaderConfig: o, displayStepTitle: n = true, features: i, onCompletion: c, onError: l, onEvent: m = Cm, onLog: p = Cm }) => {
|
|
2963
|
+
let { locale: h } = (0, Sm.useIntl)(), { formErrors: y, globalError: u, step: d, models: f, etag: w, modelIsValid: S, setFormErrors: F, setGlobalError: g, setStepAndEtag: v, setSchemaModel: O } = om(a), [x, M] = (0, Me.useState)(false), { isLoading: k, loader: P, setLoadingState: D } = sm(o, a ? "idle" : "initial"), H = mt("critical", p, e, (d == null ? void 0 : d.id) || (d == null ? void 0 : d.key)), ee = (0, Me.useMemo)(() => {
|
|
2964
|
+
var b;
|
|
2965
|
+
return s({ flowId: e, stepId: (d == null ? void 0 : d.id) || (d == null ? void 0 : d.key) }, (b = d == null ? void 0 : d.analytics) != null ? b : {});
|
|
2966
|
+
}, [e, d]), A = (0, Me.useMemo)(() => Ea(m, ee), [m, ee]), B = (0, Me.useCallback)(({ action: b, data: j, etag: T }) => {
|
|
2967
|
+
let { url: re, method: Ke = "POST" } = b;
|
|
2964
2968
|
return t(re != null ? re : "", { method: Ke, headers: s({ "accept-language": h, "Content-Type": "application/json" }, T ? { "If-None-Match": T } : {}), credentials: "include", body: Ke === "GET" ? void 0 : JSON.stringify(j) });
|
|
2965
|
-
}, [t, h]), E = async (
|
|
2966
|
-
D(
|
|
2969
|
+
}, [t, h]), E = async (b, j = {}) => {
|
|
2970
|
+
D(d ? "submission" : "initial"), A("Dynamic Flow - Step Submitted", { actionId: b.id || b.$id });
|
|
2967
2971
|
try {
|
|
2968
|
-
let T = await B({ action:
|
|
2972
|
+
let T = await B({ action: b, data: j });
|
|
2969
2973
|
await Yt(T, "submission");
|
|
2970
2974
|
} catch (T) {
|
|
2971
2975
|
Be(T, "Error fetching next step");
|
|
2972
2976
|
}
|
|
2973
|
-
}, ie = async (
|
|
2977
|
+
}, ie = async (b, j, T) => {
|
|
2974
2978
|
D("refresh"), A("Dynamic Flow - Step Refreshed", { status: "pending" });
|
|
2975
2979
|
try {
|
|
2976
|
-
let re = await B({ action: { url:
|
|
2980
|
+
let re = await B({ action: { url: b, method: "POST" }, data: j, etag: T });
|
|
2977
2981
|
await Yt(re, "refresh");
|
|
2978
2982
|
} catch (re) {
|
|
2979
2983
|
Be(re, "Error fetching refresh step");
|
|
2980
2984
|
}
|
|
2981
|
-
}, W = async (
|
|
2985
|
+
}, W = async (b, j) => {
|
|
2982
2986
|
D("submission");
|
|
2983
2987
|
try {
|
|
2984
|
-
let T = await B({ action:
|
|
2985
|
-
await X(T,
|
|
2988
|
+
let T = await B({ action: b, data: j });
|
|
2989
|
+
await X(T, b.result);
|
|
2986
2990
|
} catch (T) {
|
|
2987
2991
|
Be(T, "Error fetching exit result");
|
|
2988
2992
|
}
|
|
2989
|
-
}, X = async (
|
|
2990
|
-
let T = await
|
|
2993
|
+
}, X = async (b, j) => {
|
|
2994
|
+
let T = await Yo(b);
|
|
2991
2995
|
_e(s(s({}, T), j));
|
|
2992
|
-
}, $e =
|
|
2993
|
-
A("Dynamic Flow - Flow Finished", { result: "success" }), c(
|
|
2996
|
+
}, $e = tm(ie), _e = (0, Me.useCallback)((b) => {
|
|
2997
|
+
A("Dynamic Flow - Flow Finished", { result: "success" }), c(b);
|
|
2994
2998
|
}, [c, A]);
|
|
2995
2999
|
(0, Me.useEffect)(() => {
|
|
2996
3000
|
A("Dynamic Flow - Flow Started", {});
|
|
2997
3001
|
}, []), (0, Me.useEffect)(() => {
|
|
2998
|
-
if (!
|
|
2999
|
-
let
|
|
3000
|
-
E(
|
|
3002
|
+
if (!a) {
|
|
3003
|
+
let b = s({ id: "#initial-step-request", method: "GET" }, r);
|
|
3004
|
+
E(b, b.data);
|
|
3001
3005
|
}
|
|
3002
|
-
}, [t, h, JSON.stringify(
|
|
3003
|
-
let Yt = async (
|
|
3006
|
+
}, [t, h, JSON.stringify(a), JSON.stringify(r)]);
|
|
3007
|
+
let Yt = async (b, j) => {
|
|
3004
3008
|
try {
|
|
3005
|
-
if (
|
|
3009
|
+
if (b.status === 304) {
|
|
3006
3010
|
D("idle");
|
|
3007
3011
|
return;
|
|
3008
3012
|
}
|
|
3009
|
-
if (!
|
|
3010
|
-
let re = await
|
|
3013
|
+
if (!b.ok) {
|
|
3014
|
+
let re = await wm(b);
|
|
3011
3015
|
Zt(re);
|
|
3012
3016
|
return;
|
|
3013
3017
|
}
|
|
3014
|
-
let T = await
|
|
3018
|
+
let T = await gm(b);
|
|
3015
3019
|
T.type === "action" ? E(T.action, T.action.data) : T.type === "exit" ? _e(T.result) : xr(T.step, T.etag, j);
|
|
3016
3020
|
} catch (T) {
|
|
3017
|
-
Be(T, "Error parsing fetch response", j,
|
|
3021
|
+
Be(T, "Error parsing fetch response", j, b.status);
|
|
3018
3022
|
}
|
|
3019
|
-
}, xr = (
|
|
3020
|
-
v(
|
|
3021
|
-
}, Zt = async (
|
|
3022
|
-
let j =
|
|
3023
|
-
j && await ie(j,
|
|
3024
|
-
}, Be = (
|
|
3025
|
-
H("Error fetching", j), T === "refresh" && A("Dynamic Flow - Step Refreshed", { status: "failure" }), A("Dynamic Flow - Flow Finished", { status: "failure" }),
|
|
3026
|
-
},
|
|
3027
|
-
let { model: j, formSchema: T } =
|
|
3023
|
+
}, xr = (b, j, T) => {
|
|
3024
|
+
v(b, j), D("idle"), T === "submission" ? (M(false), A("Dynamic Flow - Step Started", s({ stepId: b.id || b.key }, b == null ? void 0 : b.analytics))) : A("Dynamic Flow - Step Refreshed", { status: "success" });
|
|
3025
|
+
}, Zt = async (b) => {
|
|
3026
|
+
let j = b.refreshUrl || b.refreshFormUrl;
|
|
3027
|
+
j && await ie(j, xa(f), w), b.validation && F(b.validation), b.error && g(b.error), D("idle");
|
|
3028
|
+
}, Be = (b, j, T, re) => {
|
|
3029
|
+
H("Error fetching", j), T === "refresh" && A("Dynamic Flow - Step Refreshed", { status: "failure" }), A("Dynamic Flow - Flow Finished", { status: "failure" }), l(b, re), D("idle");
|
|
3030
|
+
}, va = (b) => {
|
|
3031
|
+
let { model: j, formSchema: T } = b, { $id: re = "" } = T;
|
|
3028
3032
|
g(null), $(j) || H("Invalid model on change", "onModelChange was called but the model argument is not an object"), O(re, j, (xt) => {
|
|
3029
|
-
|
|
3033
|
+
zm(b, xt);
|
|
3030
3034
|
});
|
|
3031
|
-
},
|
|
3032
|
-
let { triggerSchema: T } =
|
|
3033
|
-
if (fp(
|
|
3034
|
-
let re = T.refreshUrl || T.refreshFormUrl, Ke = (
|
|
3035
|
-
xt && $e(xt,
|
|
3035
|
+
}, zm = (b, j) => {
|
|
3036
|
+
let { triggerSchema: T } = b;
|
|
3037
|
+
if (fp(b)) {
|
|
3038
|
+
let re = T.refreshUrl || T.refreshFormUrl, Ke = (d == null ? void 0 : d.refreshUrl) || (d == null ? void 0 : d.refreshFormUrl), xt = re || Ke;
|
|
3039
|
+
xt && $e(xt, xa(j), w, T);
|
|
3036
3040
|
}
|
|
3037
|
-
},
|
|
3038
|
-
if (k ||
|
|
3041
|
+
}, jm = async (b) => {
|
|
3042
|
+
if (k || b.disabled)
|
|
3039
3043
|
return;
|
|
3040
|
-
if (
|
|
3041
|
-
_e(
|
|
3044
|
+
if (b.exit && !b.url) {
|
|
3045
|
+
_e(b.result);
|
|
3042
3046
|
return;
|
|
3043
3047
|
}
|
|
3044
|
-
let j =
|
|
3045
|
-
yp(re) ? (F(null), Ke || M(true), (
|
|
3048
|
+
let j = b.exit ? W : E, { data: T, method: re, skipValidation: Ke } = b, xt = s(s({}, xa(f)), T);
|
|
3049
|
+
yp(re) ? (F(null), Ke || M(true), (S || Ke) && await j(b, xt)) : await j(b);
|
|
3046
3050
|
};
|
|
3047
|
-
return (0, We.jsx)(Dr, { flowId: e, stepId: (
|
|
3048
|
-
|
|
3049
|
-
}, onModelChange:
|
|
3051
|
+
return (0, We.jsx)(Dr, { flowId: e, stepId: (d == null ? void 0 : d.id) || (d == null ? void 0 : d.key), onLog: p, children: (0, We.jsx)(Mr, { metadata: ee, onEvent: m, children: (0, We.jsx)(pn, { loading: k, children: (0, We.jsx)(gn, { httpClient: t, children: (0, We.jsx)(Fn, { features: i, children: P !== null ? P : (0, We.jsx)(Kr, { step: d, model: xa(f), submitted: x, globalError: u, formErrors: y, stepLayoutOptions: { displayStepTitle: n }, onAction: (b) => {
|
|
3052
|
+
jm(b);
|
|
3053
|
+
}, onModelChange: va }) }) }) }) }) });
|
|
3050
3054
|
};
|
|
3051
3055
|
function pp(e) {
|
|
3052
|
-
return (0, We.jsx)(
|
|
3056
|
+
return (0, We.jsx)(Xo, { onError: e.onError, children: (0, We.jsx)(up, s({}, e)) });
|
|
3053
3057
|
}
|
|
3054
|
-
var
|
|
3055
|
-
var
|
|
3058
|
+
var Qo = pp;
|
|
3059
|
+
var xa = (e) => Object.values(e).reduce((t, r) => s(s({}, t), r), {});
|
|
3056
3060
|
var yp = (e = "POST") => ["POST", "PUT", "PATCH"].includes(e.toUpperCase());
|
|
3057
3061
|
var fp = (e) => {
|
|
3058
|
-
let { type: t, triggerSchema: r, triggerModel:
|
|
3062
|
+
let { type: t, triggerSchema: r, triggerModel: a, lastTriggerModel: o = null } = e, n = () => G(a, r), i = () => G(o, r), c = (r == null ? void 0 : r.refreshStepOnChange) || (r == null ? void 0 : r.refreshFormOnChange);
|
|
3059
3063
|
return t !== "init" && c && (n() || i());
|
|
3060
3064
|
};
|
|
3061
|
-
var
|
|
3065
|
+
var br = require("react/jsx-runtime");
|
|
3062
3066
|
function hp(e) {
|
|
3063
|
-
let t = s({ model: null, errors: null }, e), { baseUrl: r = "", onEvent:
|
|
3064
|
-
return (0,
|
|
3067
|
+
let t = s({ model: null, errors: null }, e), { baseUrl: r = "", onEvent: a = Fm, onLog: o = Fm } = e;
|
|
3068
|
+
return (0, br.jsx)(Dr, { flowId: "JsonSchemaForm", stepId: "JsonSchemaForm", onLog: o, children: (0, br.jsx)(Mr, { metadata: { flowId: "JsonSchemaForm", stepId: "JsonSchemaForm" }, onEvent: a, children: (0, br.jsx)(Ir, { baseUrl: r, children: (0, br.jsx)(me, s({}, t)) }) }) });
|
|
3065
3069
|
}
|
|
3066
3070
|
var en = hp;
|
|
3067
|
-
var
|
|
3068
|
-
};
|
|
3069
|
-
var
|
|
3070
|
-
var
|
|
3071
|
-
var
|
|
3072
|
-
var
|
|
3073
|
-
var
|
|
3074
|
-
var
|
|
3075
|
-
var
|
|
3076
|
-
var
|
|
3077
|
-
var
|
|
3078
|
-
var
|
|
3079
|
-
var
|
|
3080
|
-
var Ll = { "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.CameraCapture.rotatePhone.text": "\u041F\u043E\u0432\u0435\u0440\u043D\u0438\u0442\u0435 \u0442\u0435\u043B\u0435\u0444\u043E\u043D \u0432 \u043F\u043E\u0440\u0442\u0440\u0435\u0442\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C, \u0447\u0442\u043E\u0431\u044B \u0441\u0434\u0435\u043B\u0430\u0442\u044C \u0444\u043E\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u044E", "dynamicFlows.ControlFeedback.maxLength": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 {maxLength} \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0438\u043B\u0438 \u043C\u0435\u043D\u044C\u0448\u0435.", "dynamicFlows.ControlFeedback.maximum": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0447\u0438\u0441\u043B\u043E, \u0440\u0430\u0432\u043D\u043E\u0435 {maximum} \u0438\u043B\u0438 \u043C\u0435\u043D\u044C\u0448\u0435.", "dynamicFlows.ControlFeedback.maximumDate": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443, \u0440\u0430\u0432\u043D\u0443\u044E {maximum} \u0438\u043B\u0438 \u0431\u043E\u043B\u0435\u0435 \u0440\u0430\u043D\u043D\u044E\u044E.", "dynamicFlows.ControlFeedback.minLength": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043F\u043E \u043A\u0440\u0430\u0439\u043D\u0435\u0439 \u043C\u0435\u0440\u0435 {minLength} \u0441\u0438\u043C\u0432\u043E\u043B\u0430(-\u043E\u0432).", "dynamicFlows.ControlFeedback.minimum": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0447\u0438\u0441\u043B\u043E, \u0440\u0430\u0432\u043D\u043E\u0435 {minimum} \u0438\u043B\u0438 \u0431\u043E\u043B\u044C\u0448\u0435.", "dynamicFlows.ControlFeedback.minimumDate": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443, \u0440\u0430\u0432\u043D\u0443\u044E {minimum} \u0438\u043B\u0438 \u0431\u043E\u043B\u0435\u0435 \u043F\u043E\u0437\u0434\u043D\u044E\u044E.", "dynamicFlows.ControlFeedback.pattern": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u044D\u0442\u043E \u0432 \u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u043E\u043C \u0444\u043E\u0440\u043C\u0430\u0442\u0435.", "dynamicFlows.ControlFeedback.patternDate": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443 \u0432 \u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u043E\u043C \u0444\u043E\u0440\u043C\u0430\u0442\u0435.", "dynamicFlows.ControlFeedback.required": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u043E\u0435 \u043F\u043E\u043B\u0435.", "dynamicFlows.ControlFeedback.type": "\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0442\u0438\u043F", "dynamicFlows.DynamicExternal.retryTitle": "\u041F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u043E\u043A\u043D\u043E", "dynamicFlows.DynamicParagraph.copied": "\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430", "dynamicFlows.DynamicParagraph.copy": "\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C", "dynamicFlows.ErrorBoundary.errorAlert": "\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A...", "dynamicFlows.ErrorBoundary.retry": "\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u043F\u043E\u043F\u044B\u0442\u043A\u0443", "dynamicFlows.ExternalConfirmation.cancel": "\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C", "dynamicFlows.ExternalConfirmation.description": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435, \u0447\u0442\u043E \u0432\u044B \u0445\u043E\u0442\u0438\u0442\u0435 \u043E\u0442\u043A\u0440\u044B\u0442\u044C **{origin}** \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.", "dynamicFlows.ExternalConfirmation.open": "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435", "dynamicFlows.ExternalConfirmation.title": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435", "dynamicFlows.Help.ariaLabel": "\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044C \u0434\u043B\u044F \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\u0418\u0437\u0432\u0438\u043D\u0438\u0442\u0435, \u0444\u0430\u0439\u043B \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0439. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0444\u0430\u0439\u043B \u043C\u0435\u043D\u044C\u0448\u0435\u0433\u043E \u0440\u0430\u0437\u043C\u0435\u0440\u0430.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u043D\u0435 \u0431\u043E\u043B\u0435\u0435 {maxItems} \u0444\u0430\u0439\u043B\u043E\u0432.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u043F\u043E \u043A\u0440\u0430\u0439\u043D\u0435\u0439 \u043C\u0435\u0440\u0435 {minItems} \u0444\u0430\u0439\u043B(-\u0430/\u043E\u0432).", "dynamicFlows.PersistAsyncSchema.genericError": "\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0435 \u043F\u043E\u043F\u044B\u0442\u043A\u0443 \u043F\u043E\u0437\u0436\u0435!", "dynamicFlows.ReadOnlySchema.no": "\u041D\u0435\u0442", "dynamicFlows.ReadOnlySchema.yes": "\u0414\u0430" };
|
|
3081
|
-
var
|
|
3082
|
-
var
|
|
3083
|
-
var tn = { "dynamicFlows.ArraySchema.addItem": "\u4FDD\u5B58", "dynamicFlows.ArraySchema.addItemTitle": "\u6DFB\u52A0\u9879\u76EE", "dynamicFlows.ArraySchema.editItem": "\u4FDD\u5B58", "dynamicFlows.ArraySchema.maxItemsError": "\u8BF7\u6DFB\u52A0\u4E0D\u8D85\u8FC7 {maxItems} \u9879\u3002", "dynamicFlows.ArraySchema.minItemsError": "\u8BF7\u81F3\u5C11\u6DFB\u52A0 {minItems} \u9879\u3002", "dynamicFlows.ArraySchema.removeItem": "\u79FB\u9664", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "\u60A8\u76EE\u524D\u4F7F\u7528\u7684\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u6444\u50CF\u5934\u3002\u8BF7\u5C1D\u8BD5\u5176\u4ED6\u6D4F\u89C8\u5668\u3001\u8BBE\u5907\u6216\u4E0B\u8F7D\u6211\u4EEC\u7684\u5E94\u7528\u3002", "dynamicFlows.CameraCapture.CameraNotSupported.title": "\u4E0D\u652F\u6301\u6444\u50CF\u5934", "dynamicFlows.CameraCapture.NoCameraAccess.action": "\u5141\u8BB8\u8BBF\u95EE\u6444\u50CF\u5934", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "\u5728\u6D4F\u89C8\u5668\u8BBE\u7F6E\u4E2D\u542F\u7528\u76F8\u673A\u8BBF\u95EE\u6743\u9650\uFF0C\u518D\u91CD\u65B0\u5C1D\u8BD5\u3002", "dynamicFlows.CameraCapture.NoCameraAccess.title": "\u6211\u4EEC\u65E0\u6CD5\u8BBF\u95EE\u60A8\u7684\u6444\u50CF\u5934", "dynamicFlows.CameraCapture.reviewInstructions": "\u60A8\u7684\u56FE\u7247\u662F\u5426\u6E05\u6670\u3001\u53EF\u8BFB\u548C\u5B8C\u6574\uFF1F", "dynamicFlows.CameraCapture.reviewRetry": "\u5426\uFF0C\u518D\u8BD5\u4E00\u6B21", "dynamicFlows.CameraCapture.reviewSubmit": "\u662F\uFF0C\u63D0\u4EA4", "dynamicFlows.CameraCapture.rotatePhone.text": "\u5C06\u624B\u673A\u65CB\u8F6C\u5230\u7EB5\u5411\u89C6\u56FE\u4EE5\u62CD\u7167", "dynamicFlows.ControlFeedback.maxLength": "\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC7 {maxLength} \u4E2A\u5B57\u7B26\u3002", "dynamicFlows.ControlFeedback.maximum": "\u8BF7\u8F93\u5165\u4E00\u4E2A\u5C0F\u4E8E\u6216\u7B49\u4E8E {maximum} \u7684\u6570\u5B57\u3002", "dynamicFlows.ControlFeedback.maximumDate": "\u8BF7\u8F93\u5165 {maximum} \u6216\u4E4B\u524D\u7684\u65E5\u671F", "dynamicFlows.ControlFeedback.minLength": "\u8BF7\u81F3\u5C11\u8F93\u5165 {minLength} \u4E2A\u5B57\u7B26", "dynamicFlows.ControlFeedback.minimum": "\u8BF7\u8F93\u5165\u4E00\u4E2A\u5927\u4E8E\u6216\u7B49\u4E8E {minimum} \u7684\u6570\u5B57", "dynamicFlows.ControlFeedback.minimumDate": "\u8BF7\u8F93\u5165 {minimum} \u6216\u4E4B\u540E\u7684\u65E5\u671F", "dynamicFlows.ControlFeedback.pattern": "\u8BF7\u4EE5\u6B63\u786E\u7684\u683C\u5F0F\u8F93\u5165", "dynamicFlows.ControlFeedback.patternDate": "\u8BF7\u4EE5\u6B63\u786E\u7684\u683C\u5F0F\u8F93\u5165\u65E5\u671F", "dynamicFlows.ControlFeedback.required": "\u8BF7\u586B\u5199\u6B64\u5B57\u6BB5\u3002", "dynamicFlows.ControlFeedback.type": "\u7C7B\u578B\u9519\u8BEF", "dynamicFlows.DynamicExternal.retryTitle": "\u91CD\u65B0\u6253\u5F00\u7A97\u53E3", "dynamicFlows.DynamicParagraph.copied": "\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F", "dynamicFlows.DynamicParagraph.copy": "\u590D\u5236", "dynamicFlows.ErrorBoundary.errorAlert": "\u7CDF\u7CD5\u3002\u51FA\u9519\u4E86\u2026", "dynamicFlows.ErrorBoundary.retry": "\u91CD\u8BD5", "dynamicFlows.ExternalConfirmation.cancel": "\u53D6\u6D88", "dynamicFlows.ExternalConfirmation.description": "\u8BF7\u786E\u8BA4\u60A8\u662F\u5426\u8981\u5728\u65B0\u6807\u7B7E\u9875\u4E2D\u6253\u5F00**{origin}**\u3002", "dynamicFlows.ExternalConfirmation.open": "\u5728\u65B0\u6807\u7B7E\u9875\u4E2D\u6253\u5F00", "dynamicFlows.ExternalConfirmation.title": "\u8BF7\u786E\u8BA4", "dynamicFlows.Help.ariaLabel": "\u70B9\u51FB\u6B64\u5904\u83B7\u53D6\u66F4\u591A\u4FE1\u606F\u3002", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\u62B1\u6B49\uFF0C\u8BE5\u6587\u4EF6\u592A\u5927\u3002\u8BF7\u4E0A\u4F20\u4E00\u4E2A\u66F4\u5C0F\u7684\u6587\u4EF6\u3002", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "\u8BF7\u4E0A\u4F20\u4E0D\u8D85\u8FC7 {maxItems} \u4E2A\u6587\u4EF6\u3002", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "\u8BF7\u4E0A\u4F20\u81F3\u5C11 {minItems} \u4E2A\u6587\u4EF6\u3002", "dynamicFlows.PersistAsyncSchema.genericError": "\u51FA\u9519\u4E86\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5\uFF01", "dynamicFlows.ReadOnlySchema.no": "\u5426", "dynamicFlows.ReadOnlySchema.yes": "\u662F" };
|
|
3084
|
-
var
|
|
3085
|
-
var Lp = { en:
|
|
3086
|
-
var
|
|
3071
|
+
var Fm = () => {
|
|
3072
|
+
};
|
|
3073
|
+
var bm = { "dynamicFlows.ArraySchema.addItem": "Speichern", "dynamicFlows.ArraySchema.addItemTitle": "Artikel hinzuf\xFCgen", "dynamicFlows.ArraySchema.editItem": "Speichern", "dynamicFlows.ArraySchema.maxItemsError": "Bitte f\xFCge {maxItems} oder weniger hinzu.", "dynamicFlows.ArraySchema.minItemsError": "Bitte f\xFCge mindestens {minItems} hinzu.", "dynamicFlows.ArraySchema.removeItem": "Entfernen", "dynamicFlows.CameraCapture.CameraConnectionIssue.action": "Erneut versuchen", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "Bitte pr\xFCfe, ob deine Kamera verbunden ist, und versuche es dann erneut.", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "Wir k\xF6nnen nicht auf deine Kamera zugreifen", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Der von dir verwendete Browser unterst\xFCtzt keine Kameras. Bitte verwende einen anderen Browser oder ein anderes Ger\xE4t, oder lade unsere App herunter", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Kamera wird nicht unterst\xFCtzt", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Kamerazugriff genehmigen", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Aktiviere den Kamerazugriff in den Einstellungen deines Browsers, um weitermachen zu k\xF6nnen.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Wir k\xF6nnen nicht auf deine Kamera zugreifen", "dynamicFlows.CameraCapture.reviewInstructions": "Ist das aufgenommene Bild deutlich erkennbar und vollst\xE4ndig?", "dynamicFlows.CameraCapture.reviewRetry": "Nein, erneut versuchen", "dynamicFlows.CameraCapture.reviewSubmit": "Ja, senden", "dynamicFlows.CameraCapture.rotatePhone.text": "Drehe dein Ger\xE4t in die Hochformatansicht, um ein Foto aufzunehmen", "dynamicFlows.ControlFeedback.maxLength": "Bitte gib nicht mehr als {maxLength} Zeichen ein.", "dynamicFlows.ControlFeedback.maximum": "Bitte gib eine Zahl ein, die {maximum} oder weniger betr\xE4gt.", "dynamicFlows.ControlFeedback.maximumDate": "Bitte gib ein Datum ein, das am oder vor dem {maximum} liegt.", "dynamicFlows.ControlFeedback.minLength": "Bitte gib mindestens {minLength} Zeichen ein.", "dynamicFlows.ControlFeedback.minimum": "Bitte gib eine Zahl ein, die {minimum} oder mehr betr\xE4gt.", "dynamicFlows.ControlFeedback.minimumDate": "Bitte gib ein Datum ein, das am oder nach dem {minimum} liegt.", "dynamicFlows.ControlFeedback.pattern": "Bitte gib die Angabe im richtigen Format ein.", "dynamicFlows.ControlFeedback.patternDate": "Bitte gib ein Datum im richtigen Format ein.", "dynamicFlows.ControlFeedback.required": "Bitte f\xFClle dieses Feld aus.", "dynamicFlows.ControlFeedback.type": "Falscher Typ", "dynamicFlows.DefaultErrorMessages.required": "Bitte f\xFClle dieses Feld aus.", "dynamicFlows.DynamicExternal.retryTitle": "Fenster erneut \xF6ffnen", "dynamicFlows.DynamicParagraph.copied": "In Zwischenablage kopiert", "dynamicFlows.DynamicParagraph.copy": "Kopieren", "dynamicFlows.ErrorBoundary.errorAlert": "Hoppla \u2013 da ist was schiefgelaufen...", "dynamicFlows.ErrorBoundary.retry": "Erneut versuchen", "dynamicFlows.ExternalConfirmation.cancel": "Abbrechen", "dynamicFlows.ExternalConfirmation.description": "Bitte best\xE4tige, dass du **{origin}** in einem neuen Browser-Tab \xF6ffnen m\xF6chtest.", "dynamicFlows.ExternalConfirmation.open": "In neuem Tab \xF6ffnen", "dynamicFlows.ExternalConfirmation.title": "Bitte best\xE4tigen", "dynamicFlows.Help.ariaLabel": "Klicke hier f\xFCr mehr Informationen.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Diese Datei ist leider zu gro\xDF. Bitte lade eine kleinere Datei hoch.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Bitte lade {maxItems} oder weniger Dateien hoch.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Bitte lade mindestens {minItems} Datei(en) hoch.", "dynamicFlows.PersistAsyncSchema.genericError": "Da ist etwas schiefgelaufen. Probiere es bitte sp\xE4ter noch einmal.", "dynamicFlows.ReadOnlySchema.no": "Nein", "dynamicFlows.ReadOnlySchema.yes": "Ja" };
|
|
3074
|
+
var xm = { "dynamicFlows.ArraySchema.addItem": "Save", "dynamicFlows.ArraySchema.addItemTitle": "Add Item", "dynamicFlows.ArraySchema.editItem": "Save", "dynamicFlows.ArraySchema.maxItemsError": "Please add {maxItems} or fewer.", "dynamicFlows.ArraySchema.minItemsError": "Please add at least {minItems}.", "dynamicFlows.ArraySchema.removeItem": "Remove", "dynamicFlows.CameraCapture.CameraConnectionIssue.action": "Try again", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "Please check if it is connected and try again.", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "We can't access your camera", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "The browser you're using doesn't have support for a camera. Try a different browser, device, or download our mobile app.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Camera not supported", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Enable camera access", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Enable camera access in your browser's settings to get going again.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "We can't access your camera", "dynamicFlows.CameraCapture.reviewInstructions": "Is your picture clear, readable and complete?", "dynamicFlows.CameraCapture.reviewRetry": "No, try again", "dynamicFlows.CameraCapture.reviewSubmit": "Yes, submit", "dynamicFlows.CameraCapture.rotatePhone.text": "Rotate your phone to portrait view to take a photo", "dynamicFlows.ControlFeedback.maxLength": "Please enter {maxLength} or fewer characters.", "dynamicFlows.ControlFeedback.maximum": "Please enter a number that's {maximum} or less.", "dynamicFlows.ControlFeedback.maximumDate": "Please enter a date that's on or before {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Please enter at least {minLength} characters.", "dynamicFlows.ControlFeedback.minimum": "Please enter a number that's {minimum} or more.", "dynamicFlows.ControlFeedback.minimumDate": "Please enter a date that's on or after {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Please enter this in the correct format.", "dynamicFlows.ControlFeedback.patternDate": "Please enter a date in the corrrect format.", "dynamicFlows.ControlFeedback.required": "Please fill out this field.", "dynamicFlows.ControlFeedback.type": "Incorrect type", "dynamicFlows.DefaultErrorMessages.required": "Please fill out this field.", "dynamicFlows.DynamicExternal.retryTitle": "Reopen window", "dynamicFlows.DynamicParagraph.copied": "Copied to clipboard", "dynamicFlows.DynamicParagraph.copy": "Copy", "dynamicFlows.ErrorBoundary.errorAlert": "Oops. Something went wrong...", "dynamicFlows.ErrorBoundary.retry": "Retry", "dynamicFlows.ExternalConfirmation.cancel": "Cancel", "dynamicFlows.ExternalConfirmation.description": "Please confirm you want to open **{origin}** in a new browser tab.", "dynamicFlows.ExternalConfirmation.open": "Open in new tab", "dynamicFlows.ExternalConfirmation.title": "Please confirm", "dynamicFlows.Help.ariaLabel": "Click here for more info.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Sorry, that file is too big. Please upload a smaller file.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Please upload {maxItems} or fewer files.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Please upload at least {minItems} file(s).", "dynamicFlows.PersistAsyncSchema.genericError": "Something went wrong, please try again later!", "dynamicFlows.ReadOnlySchema.no": "No", "dynamicFlows.ReadOnlySchema.yes": "Yes" };
|
|
3075
|
+
var vm = { "dynamicFlows.ArraySchema.addItem": "Guardar", "dynamicFlows.ArraySchema.addItemTitle": "A\xF1adir elemento", "dynamicFlows.ArraySchema.editItem": "Guardar", "dynamicFlows.ArraySchema.maxItemsError": "A\xF1ade {maxItems} o menos.", "dynamicFlows.ArraySchema.minItemsError": "A\xF1ade al menos {minItems}.", "dynamicFlows.ArraySchema.removeItem": "Eliminar", "dynamicFlows.CameraCapture.CameraConnectionIssue.action": "Intentar de nuevo", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "Comprueba si est\xE1 conectado e int\xE9ntalo de nuevo.", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "No podemos acceder a tu c\xE1mara", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "El navegador que est\xE1s utilizando no es compatible con una c\xE1mara. Prueba con otro navegador, dispositivo o descarga nuestra app m\xF3vil.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "C\xE1mara no compatible", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Habilitar acceso a la c\xE1mara", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Habilita el acceso a la c\xE1mara en la configuraci\xF3n de tu navegador para volver a activarla.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "No podemos acceder a tu c\xE1mara", "dynamicFlows.CameraCapture.reviewInstructions": "\xBFTu foto es clara, legible y completa?", "dynamicFlows.CameraCapture.reviewRetry": "No, intentar de nuevo", "dynamicFlows.CameraCapture.reviewSubmit": "S\xED, enviar", "dynamicFlows.CameraCapture.rotatePhone.text": "Gira el tel\xE9fono a la vista vertical para hacer una foto", "dynamicFlows.ControlFeedback.maxLength": "Introduce {maxLength} caracteres o menos.", "dynamicFlows.ControlFeedback.maximum": "Introduce una cifra igual o inferior a {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "Introduce una fecha que sea igual o anterior al {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Introduce al menos {minLength} caracteres.", "dynamicFlows.ControlFeedback.minimum": "Introduce una cifra igual o inferior a {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "Introduce una fecha que sea igual o posterior al {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Utiliza el formato correcto.", "dynamicFlows.ControlFeedback.patternDate": "Introduce la fecha en un formato correcto.", "dynamicFlows.ControlFeedback.required": "Completa este campo.", "dynamicFlows.ControlFeedback.type": "Tipo incorrecto", "dynamicFlows.DefaultErrorMessages.required": "Completa este campo.", "dynamicFlows.DynamicExternal.retryTitle": "Reabrir ventana", "dynamicFlows.DynamicParagraph.copied": "Copiado al portapapeles", "dynamicFlows.DynamicParagraph.copy": "Copiar", "dynamicFlows.ErrorBoundary.errorAlert": "Vaya. Algo ha salido mal...", "dynamicFlows.ErrorBoundary.retry": "Reintentar", "dynamicFlows.ExternalConfirmation.cancel": "Cancelar", "dynamicFlows.ExternalConfirmation.description": "Confirma que quieres abrir **{origin}** en una nueva pesta\xF1a del navegador.", "dynamicFlows.ExternalConfirmation.open": "Abrir en nueva pesta\xF1a", "dynamicFlows.ExternalConfirmation.title": "Por favor, confirma", "dynamicFlows.Help.ariaLabel": "Haz clic aqu\xED para obtener m\xE1s informaci\xF3n.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Lo sentimos, el archivo pesa demasiado. Sube uno m\xE1s peque\xF1o.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Sube {maxItems} o menos archivos.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Sube al menos {minItems} archivo(s).", "dynamicFlows.PersistAsyncSchema.genericError": "Algo ha ido mal. Int\xE9ntalo de nuevo m\xE1s tarde.", "dynamicFlows.ReadOnlySchema.no": "No", "dynamicFlows.ReadOnlySchema.yes": "S\xED" };
|
|
3076
|
+
var Am = { "dynamicFlows.ArraySchema.addItem": "Enregistrer", "dynamicFlows.ArraySchema.addItemTitle": "Ajouter un \xE9l\xE9ment", "dynamicFlows.ArraySchema.editItem": "Enregistrer", "dynamicFlows.ArraySchema.maxItemsError": "Veuillez ajouter {maxItems} ou moins.", "dynamicFlows.ArraySchema.minItemsError": "Veuillez ajouter au moins {minItems}.", "dynamicFlows.ArraySchema.removeItem": "Supprimer", "dynamicFlows.CameraCapture.CameraConnectionIssue.action": "R\xE9essayez", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "V\xE9rifiez s'il est connect\xE9 et r\xE9essayez.", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "Nous n'avons pas acc\xE8s \xE0 votre appareil photo", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Le navigateur que vous utilisez ne prend pas en charge l'appareil photo. Veuillez essayer un autre navigateur, un autre appareil ou t\xE9l\xE9charger notre appli.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Appareil photo non pris en charge", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Autoriser l'acc\xE8s \xE0 l'appareil photo", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Autorisez l'acc\xE8s \xE0 l'appareil photo depuis les param\xE8tres de votre navigateur.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Nous n'avons pas acc\xE8s \xE0 votre appareil photo", "dynamicFlows.CameraCapture.reviewInstructions": "Votre image est-elle claire, lisible et dans son int\xE9gralit\xE9\xA0?", "dynamicFlows.CameraCapture.reviewRetry": "Non, r\xE9essayer", "dynamicFlows.CameraCapture.reviewSubmit": "Oui, confirmer", "dynamicFlows.CameraCapture.rotatePhone.text": "Faites pivoter votre t\xE9l\xE9phone vers la vue portrait pour prendre une photo", "dynamicFlows.ControlFeedback.maxLength": "Veuillez saisir {maxLength} caract\xE8res ou moins.", "dynamicFlows.ControlFeedback.maximum": "Veuillez saisir un nombre inf\xE9rieur ou \xE9gal \xE0 {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "Veuillez saisir une date \xE9gale ou ant\xE9rieure au {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Veuillez saisir au moins {minLength} caract\xE8res.", "dynamicFlows.ControlFeedback.minimum": "Veuillez saisir un nombre sup\xE9rieur ou \xE9gal \xE0 {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "Veuillez saisir une date \xE9gale ou post\xE9rieure au {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Veuillez saisir les informations dans le bon format.", "dynamicFlows.ControlFeedback.patternDate": "Veuillez saisir une date au format correct.", "dynamicFlows.ControlFeedback.required": "Champ obligatoire.", "dynamicFlows.ControlFeedback.type": "Type incorrect", "dynamicFlows.DefaultErrorMessages.required": "Champ obligatoire.", "dynamicFlows.DynamicExternal.retryTitle": "Rouvrir la fen\xEAtre", "dynamicFlows.DynamicParagraph.copied": "Copi\xE9 dans le presse-papier", "dynamicFlows.DynamicParagraph.copy": "Copier", "dynamicFlows.ErrorBoundary.errorAlert": "Oups\xA0! Une erreur s'est produite...", "dynamicFlows.ErrorBoundary.retry": "R\xE9essayer", "dynamicFlows.ExternalConfirmation.cancel": "Annuler", "dynamicFlows.ExternalConfirmation.description": "Veuillez confirmer que vous souhaitez ouvrir **{origin}** dans un nouvel onglet.", "dynamicFlows.ExternalConfirmation.open": "Ouvrir dans un nouvel onglet", "dynamicFlows.ExternalConfirmation.title": "Veuillez confirmer", "dynamicFlows.Help.ariaLabel": "Cliquez ici pour plus d'informations.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Nous sommes d\xE9sol\xE9s, ce fichier est trop volumineux. Veuillez t\xE9l\xE9charger un fichier plus petit.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Veuillez t\xE9l\xE9charger {maxItems} fichiers ou moins.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Veuillez t\xE9l\xE9charger au moins {minItems} fichier(s).", "dynamicFlows.PersistAsyncSchema.genericError": "Un probl\xE8me est survenu, veuillez r\xE9essayer plus tard !", "dynamicFlows.ReadOnlySchema.no": "Non", "dynamicFlows.ReadOnlySchema.yes": "Oui" };
|
|
3077
|
+
var Om = { "dynamicFlows.ArraySchema.addItem": "Ment\xE9s", "dynamicFlows.ArraySchema.addItemTitle": "Elem hozz\xE1ad\xE1sa", "dynamicFlows.ArraySchema.editItem": "Ment\xE9s", "dynamicFlows.ArraySchema.maxItemsError": "K\xE9r\xFCnk, {maxItems} vagy ann\xE1l kevesebb t\xE9telt adj meg.", "dynamicFlows.ArraySchema.minItemsError": "K\xE9r\xFCnk, legal\xE1bb {minItems} t\xE9telt adj meg.", "dynamicFlows.ArraySchema.removeItem": "Elt\xE1vol\xEDt\xE1s", "dynamicFlows.CameraCapture.CameraConnectionIssue.action": "Pr\xF3b\xE1ld \xFAjra", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "Ellen\u0151rizd, hogy csatlakoztatva van-e, \xE9s pr\xF3b\xE1ld \xFAjra.", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "Nem tudunk hozz\xE1f\xE9rni a kamer\xE1dhoz", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Az \xE1ltalad haszn\xE1lt b\xF6ng\xE9sz\u0151 nem t\xE1mogatja a kamera haszn\xE1lat\xE1t. K\xE9r\xFCnk, pr\xF3b\xE1lkozz m\xE1s b\xF6ng\xE9sz\u0151vel, eszk\xF6zzel vagy t\xF6ltsd le az appot", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Kamera nem t\xE1mogatott", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Kamer\xE1hoz val\xF3 hozz\xE1f\xE9r\xE9s enged\xE9lyez\xE9se", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Nem tudunk hozz\xE1f\xE9rni a kamer\xE1dhoz. Ezt a telefonod be\xE1ll\xEDt\xE1saiban enged\xE9lyezheted", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Nem tudunk hozz\xE1f\xE9rni a kamer\xE1dhoz", "dynamicFlows.CameraCapture.reviewInstructions": "Tiszta, olvashat\xF3, teljes k\xE9pet k\xE9sz\xEDtett\xE9l?", "dynamicFlows.CameraCapture.reviewRetry": "Nem, pr\xF3b\xE1ljuk \xFAjra", "dynamicFlows.CameraCapture.reviewSubmit": "Igen, elk\xFCld\xF6m", "dynamicFlows.CameraCapture.rotatePhone.text": "F\xE9nyk\xE9p k\xE9sz\xEDt\xE9s\xE9hez ford\xEDtsd a telefont \xE1ll\xF3 n\xE9zetbe", "dynamicFlows.ControlFeedback.maxLength": "K\xE9r\xFCnk, legfeljebb {maxLength} karaktert adj meg.", "dynamicFlows.ControlFeedback.maximum": "K\xE9r\xFCnk, add meg ezt vagy egy enn\xE9l kisebb sz\xE1mot: {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "K\xE9r\xFCnk, adj meg egy d\xE1tumot, ami megegyezik {maximum} napj\xE1val, vagy egy enn\xE9l kor\xE1bbit.", "dynamicFlows.ControlFeedback.minLength": "K\xE9r\xFCnk, legal\xE1bb {minLength} karaktert adj meg.", "dynamicFlows.ControlFeedback.minimum": "K\xE9r\xFCnk add meg ezt vagy egy enn\xE9l nagyobb sz\xE1mot: {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "K\xE9r\xFCnk, adj meg egy d\xE1tumot, ami megegyezik {minimum} napj\xE1val, vagy egy enn\xE9l k\xE9s\u0151bbit.", "dynamicFlows.ControlFeedback.pattern": "Helytelen form\xE1tum", "dynamicFlows.ControlFeedback.patternDate": "K\xE9r\xFCnk, hogy a d\xE1tumot helyes form\xE1tumban add meg.", "dynamicFlows.ControlFeedback.required": "K\xE9r\xFCnk, t\xF6ltsd ki ezt a mez\u0151t.", "dynamicFlows.ControlFeedback.type": "Helytelen t\xEDpus", "dynamicFlows.DefaultErrorMessages.required": "K\xE9r\xFCnk, t\xF6ltsd ki ezt a mez\u0151t.", "dynamicFlows.DynamicExternal.retryTitle": "Ablak \xFAjranyit\xE1sa", "dynamicFlows.DynamicParagraph.copied": "V\xE1g\xF3lapra m\xE1solva", "dynamicFlows.DynamicParagraph.copy": "M\xE1sol\xE1s", "dynamicFlows.ErrorBoundary.errorAlert": "Hopp\xE1! Valami hiba t\xF6rt\xE9nt...", "dynamicFlows.ErrorBoundary.retry": "\xDAjra", "dynamicFlows.ExternalConfirmation.cancel": "M\xE9gsem", "dynamicFlows.ExternalConfirmation.description": "K\xE9r\xFCnk, er\u0151s\xEDtsd meg, hogy a(z) **{origin}** alkalmaz\xE1st egy \xFAj b\xF6ng\xE9sz\u0151lapon szeretn\xE9d megnyitni.", "dynamicFlows.ExternalConfirmation.open": "Megnyit\xE1s \xFAj lapon", "dynamicFlows.ExternalConfirmation.title": "Meger\u0151s\xEDt\xE9s", "dynamicFlows.Help.ariaLabel": "Kattints ide tov\xE1bbi inform\xE1ci\xF3\xE9rt.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Sajnos ez a f\xE1jl t\xFAl nagy. K\xE9r\xFCnk, t\xF6lts fel egy kisebb f\xE1jlt.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "K\xE9r\xFCnk, hogy legfeljebb {maxItems} f\xE1jlt t\xF6lts fel.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "K\xE9r\xFCnk, hogy legal\xE1bb {minItems} f\xE1jlt t\xF6lts fel.", "dynamicFlows.PersistAsyncSchema.genericError": "Valami hiba t\xF6rt\xE9nt. K\xE9r\xFCnk, pr\xF3b\xE1ld \xFAjra k\xE9s\u0151bb!", "dynamicFlows.ReadOnlySchema.no": "Nem", "dynamicFlows.ReadOnlySchema.yes": "Igen" };
|
|
3078
|
+
var Pm = { "dynamicFlows.ArraySchema.addItem": "Simpan", "dynamicFlows.ArraySchema.addItemTitle": "Tambahkan Item", "dynamicFlows.ArraySchema.editItem": "Simpan", "dynamicFlows.ArraySchema.maxItemsError": "Harap tambahkan {maxItems} atau kurang.", "dynamicFlows.ArraySchema.minItemsError": "Harap tambahkan setidaknya {minItems}.", "dynamicFlows.ArraySchema.removeItem": "Hapus", "dynamicFlows.CameraCapture.CameraConnectionIssue.action": "Coba lagi", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "Periksa apakah sudah terhubung dan coba lagi.", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "Kami tidak dapat mengakses kamera Anda", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Browser yang Anda gunakan tidak mendukung kamera. Silakan coba browser, perangkat yang lain, atau unduh aplikasi seluler kami.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Kamera tidak didukung", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Izinkan akses kamera", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Untuk melanjutkan lagi, aktifkan akses kamera di pengaturan browser Anda.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Kami tidak dapat mengakses kamera Anda", "dynamicFlows.CameraCapture.reviewInstructions": "Apakah gambar Anda jelas, dapat dibaca, dan lengkap?", "dynamicFlows.CameraCapture.reviewRetry": "Tidak, coba lagi", "dynamicFlows.CameraCapture.reviewSubmit": "Ya, kirim", "dynamicFlows.CameraCapture.rotatePhone.text": "Putar ponsel Anda ke tampilan potret untuk mengambil foto", "dynamicFlows.ControlFeedback.maxLength": "Harap masukkan {maxLength} karakter atau kurang.", "dynamicFlows.ControlFeedback.maximum": "Harap masukkan angka paling besar {maximum} atau kurang dari itu.", "dynamicFlows.ControlFeedback.maximumDate": "Harap masukkan tanggal pada atau sebelum {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Harap masukkan setidaknya {minLength} karakter.", "dynamicFlows.ControlFeedback.minimum": "Harap masukkan angka paling kecil {minimum} atau lebih dari itu.", "dynamicFlows.ControlFeedback.minimumDate": "Harap masukkan tanggal pada atau setelah {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Mohon masukkan ini dalam format yang benar.", "dynamicFlows.ControlFeedback.patternDate": "Harap masukkan tanggal dalam format yang benar.", "dynamicFlows.ControlFeedback.required": "Harap isi kolom ini.", "dynamicFlows.ControlFeedback.type": "Tipe salah", "dynamicFlows.DefaultErrorMessages.required": "Harap isi kolom ini.", "dynamicFlows.DynamicExternal.retryTitle": "Buka window kembali", "dynamicFlows.DynamicParagraph.copied": "Disalin ke clipboard", "dynamicFlows.DynamicParagraph.copy": "Salin", "dynamicFlows.ErrorBoundary.errorAlert": "Ups! Terjadi kesalahan...", "dynamicFlows.ErrorBoundary.retry": "Coba lagi", "dynamicFlows.ExternalConfirmation.cancel": "Batalkan", "dynamicFlows.ExternalConfirmation.description": "Harap konfirmasikan bahwa Anda ingin membuka **{origin}** di tab browser baru.", "dynamicFlows.ExternalConfirmation.open": "Buka di tab baru", "dynamicFlows.ExternalConfirmation.title": "Harap konfirmasi", "dynamicFlows.Help.ariaLabel": "Klik di sini untuk info selengkapnya.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Maaf, file Anda terlalu besar. Silakan unggah file yang lebih kecil.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Harap unggah {maxItems} file atau kurang.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Harap unggah sedikitnya {minItems} file.", "dynamicFlows.PersistAsyncSchema.genericError": "Terjadi kesalahan, mohon coba lagi nanti!", "dynamicFlows.ReadOnlySchema.no": "Tidak", "dynamicFlows.ReadOnlySchema.yes": "Ya" };
|
|
3079
|
+
var Mm = { "dynamicFlows.ArraySchema.addItem": "Salva", "dynamicFlows.ArraySchema.addItemTitle": "Aggiungi elemento", "dynamicFlows.ArraySchema.editItem": "Salva", "dynamicFlows.ArraySchema.maxItemsError": "Aggiungi al massimo {maxItems}.", "dynamicFlows.ArraySchema.minItemsError": "Aggiungi almeno {minItems}.", "dynamicFlows.ArraySchema.removeItem": "Rimuovi", "dynamicFlows.CameraCapture.CameraConnectionIssue.action": "Riprova", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "Controlla se la fotocamera \xE8 collegata e riprova.", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "Accesso alla fotocamera disabilitato", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Il browser che stai usando non supporta la videocamera. Prova con un altro browser o dispositivo, oppure scarica la nostra app", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Videocamera non supportata", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Consenti l'accesso alla fotocamera", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Non abbiamo accesso alla tua fotocamera. Puoi abilitare l'accesso nelle impostazioni del tuo browser", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Accesso alla fotocamera disabilitato", "dynamicFlows.CameraCapture.reviewInstructions": "La tua foto \xE8 chiara, ben leggibile e completa?", "dynamicFlows.CameraCapture.reviewRetry": "No, riprova", "dynamicFlows.CameraCapture.reviewSubmit": "S\xEC, invia", "dynamicFlows.CameraCapture.rotatePhone.text": "Ruota il telefono in posizione verticale per scattare una foto", "dynamicFlows.ControlFeedback.maxLength": "Inserisci un massimo di {maxLength} caratteri.", "dynamicFlows.ControlFeedback.maximum": "Inserisci un numero uguale o inferiore a {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "Inserisci una data corrispondente o precedente al {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Inserisci almeno {minLength} caratteri.", "dynamicFlows.ControlFeedback.minimum": "Inserisci un numero uguale o superiore a {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "Inserisci una data corrispondente o successiva al {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Inseriscilo in un formato corretto.", "dynamicFlows.ControlFeedback.patternDate": "Inserisci la data in un formato corretto.", "dynamicFlows.ControlFeedback.required": "Compila questo campo.", "dynamicFlows.ControlFeedback.type": "Tipo errato", "dynamicFlows.DefaultErrorMessages.required": "Compila questo campo.", "dynamicFlows.DynamicExternal.retryTitle": "Riapri la finestra", "dynamicFlows.DynamicParagraph.copied": "Copiato negli appunti", "dynamicFlows.DynamicParagraph.copy": "Copia", "dynamicFlows.ErrorBoundary.errorAlert": "Ops! Qualcosa \xE8 andato storto...", "dynamicFlows.ErrorBoundary.retry": "Riprova", "dynamicFlows.ExternalConfirmation.cancel": "Annulla", "dynamicFlows.ExternalConfirmation.description": "Conferma di voler aprire **{origin}** in una nuova scheda del browser.", "dynamicFlows.ExternalConfirmation.open": "Apri in una nuova scheda", "dynamicFlows.ExternalConfirmation.title": "Conferma", "dynamicFlows.Help.ariaLabel": "Clicca qui per maggiori informazioni.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Spiacenti, il file \xE8 troppo grande. Carica un file di dimensioni inferiori.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Carica al massimo {maxItems} file.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Carica almeno {minItems} file.", "dynamicFlows.PersistAsyncSchema.genericError": "Qualcosa \xE8 andato storto. Riprova pi\xF9 tardi!", "dynamicFlows.ReadOnlySchema.no": "No", "dynamicFlows.ReadOnlySchema.yes": "S\xEC" };
|
|
3080
|
+
var km = { "dynamicFlows.ArraySchema.addItem": "\u4FDD\u5B58\u3059\u308B", "dynamicFlows.ArraySchema.addItemTitle": "\u30A2\u30A4\u30C6\u30E0\u3092\u8FFD\u52A0\u3059\u308B", "dynamicFlows.ArraySchema.editItem": "\u4FDD\u5B58\u3059\u308B", "dynamicFlows.ArraySchema.maxItemsError": "{maxItems}\u30A2\u30A4\u30C6\u30E0\u4EE5\u4E0B\u3092\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ArraySchema.minItemsError": "{minItems}\u30A2\u30A4\u30C6\u30E0\u4EE5\u4E0A\u3092\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ArraySchema.removeItem": "\u524A\u9664\u3059\u308B", "dynamicFlows.CameraCapture.CameraConnectionIssue.action": "\u3084\u308A\u76F4\u3059", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "\u30A4\u30F3\u30BF\u30FC\u30CD\u30C3\u30C8\u63A5\u7D9A\u3092\u78BA\u8A8D\u3057\u3066\u3001\u518D\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "\u30AB\u30E1\u30E9\u3078\u306E\u30A2\u30AF\u30BB\u30B9\u304C\u8A31\u53EF\u3055\u308C\u3066\u3044\u307E\u305B\u3093", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "\u304A\u5BA2\u69D8\u306E\u30D6\u30E9\u30A6\u30B6\u3067\u306F\u30AB\u30E1\u30E9\u304C\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u5225\u306E\u30D6\u30E9\u30A6\u30B6\u307E\u305F\u306F\u30C7\u30D0\u30A4\u30B9\u3092\u4F7F\u7528\u3059\u308B\u304B\u3001\u30E2\u30D0\u30A4\u30EB\u30A2\u30D7\u30EA\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.CameraCapture.CameraNotSupported.title": "\u30AB\u30E1\u30E9\u304C\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093", "dynamicFlows.CameraCapture.NoCameraAccess.action": "\u30AB\u30E1\u30E9\u3078\u306E\u30A2\u30AF\u30BB\u30B9\u3092\u8A31\u53EF\u3059\u308B", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "\u30D6\u30E9\u30A6\u30B6\u306E\u8A2D\u5B9A\u3067\u30AB\u30E1\u30E9\u3078\u306E\u30A2\u30AF\u30BB\u30B9\u3092\u6709\u52B9\u306B\u3057\u3066\u3001\u518D\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.CameraCapture.NoCameraAccess.title": "\u30AB\u30E1\u30E9\u3078\u306E\u30A2\u30AF\u30BB\u30B9\u304C\u8A31\u53EF\u3055\u308C\u3066\u3044\u307E\u305B\u3093", "dynamicFlows.CameraCapture.reviewInstructions": "\u5199\u771F\u304C\u9BAE\u660E\u3067\u3001\u3059\u3079\u3066\u306E\u60C5\u5831\u304C\u8AAD\u307F\u53D6\u308C\u6B20\u3051\u3066\u3044\u308B\u90E8\u5206\u306A\u3069\u306F\u3042\u308A\u307E\u305B\u3093\u304B\uFF1F", "dynamicFlows.CameraCapture.reviewRetry": "\u3044\u3044\u3048\u3001\u64AE\u308A\u76F4\u3059", "dynamicFlows.CameraCapture.reviewSubmit": "\u306F\u3044\u3001\u9001\u4FE1\u3059\u308B", "dynamicFlows.CameraCapture.rotatePhone.text": "\u7E26\u9577\u306E\u5199\u771F\u3092\u64AE\u5F71\u3059\u308B\u306B\u306F\u30B9\u30DE\u30FC\u30C8\u30D5\u30A9\u30F3\u3092\u56DE\u8EE2\u3055\u305B\u3066\u304F\u3060\u3055\u3044", "dynamicFlows.ControlFeedback.maxLength": "{maxLength}\u6587\u5B57\u4EE5\u4E0B\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.maximum": "{maximum}\u4EE5\u4E0B\u306E\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.maximumDate": "{maximum}\u307E\u305F\u306F\u305D\u308C\u4EE5\u524D\u306E\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.minLength": "{minLength}\u6587\u5B57\u4EE5\u4E0A\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.minimum": "{minimum}\u4EE5\u4E0A\u306E\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.minimumDate": "{minimum}\u307E\u305F\u306F\u305D\u308C\u4EE5\u964D\u306E\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.pattern": "\u6B63\u3057\u3044\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.patternDate": "\u6B63\u3057\u3044\u5F62\u5F0F\u3067\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ControlFeedback.required": "\u3053\u306E\u9805\u76EE\u306F\u5165\u529B\u5FC5\u9808\u3067\u3059\u3002", "dynamicFlows.ControlFeedback.type": "\u4E0D\u6B63\u306A\u30BF\u30A4\u30D7", "dynamicFlows.DefaultErrorMessages.required": "\u3053\u306E\u9805\u76EE\u306F\u5165\u529B\u5FC5\u9808\u3067\u3059\u3002", "dynamicFlows.DynamicExternal.retryTitle": "\u30A6\u30A3\u30F3\u30C9\u30A6\u3092\u3082\u3046\u4E00\u5EA6\u958B\u304F", "dynamicFlows.DynamicParagraph.copied": "\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u3078\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F", "dynamicFlows.DynamicParagraph.copy": "\u30B3\u30D4\u30FC\u3059\u308B", "dynamicFlows.ErrorBoundary.errorAlert": "\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F...", "dynamicFlows.ErrorBoundary.retry": "\u3084\u308A\u76F4\u3059", "dynamicFlows.ExternalConfirmation.cancel": "\u30AD\u30E3\u30F3\u30BB\u30EB\u3059\u308B", "dynamicFlows.ExternalConfirmation.description": "\u65B0\u3057\u3044\u30D6\u30E9\u30A6\u30B6\u30BF\u30D6\u3067**{origin}**\u3092\u958B\u304F\u3053\u3068\u3092\u627F\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ExternalConfirmation.open": "\u65B0\u3057\u3044\u30BF\u30D6\u3067\u958B\u304F", "dynamicFlows.ExternalConfirmation.title": "\u627F\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044", "dynamicFlows.Help.ariaLabel": "\u8A73\u7D30\u306F\u3053\u3061\u3089\u3092\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\u5927\u5909\u7533\u3057\u8A33\u3054\u3056\u3044\u307E\u305B\u3093\u304C\u3001\u30D5\u30A1\u30A4\u30EB\u304C\u5927\u304D\u3059\u304E\u307E\u3059\u3002\u3053\u308C\u3088\u308A\u5C0F\u3055\u3044\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "{maxItems}\u500B\u4EE5\u4E0B\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "{minItems}\u500B\u4EE5\u4E0A\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.PersistAsyncSchema.genericError": "\u554F\u984C\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002\u518D\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002", "dynamicFlows.ReadOnlySchema.no": "\u3044\u3044\u3048", "dynamicFlows.ReadOnlySchema.yes": "\u306F\u3044" };
|
|
3081
|
+
var Em = { "dynamicFlows.ArraySchema.addItem": "Zapisz", "dynamicFlows.ArraySchema.addItemTitle": "Dodaj pozycj\u0119", "dynamicFlows.ArraySchema.editItem": "Zapisz", "dynamicFlows.ArraySchema.maxItemsError": "Prosimy doda\u0107 maksymalnie {maxItems}.", "dynamicFlows.ArraySchema.minItemsError": "Prosimy doda\u0107 co najmniej {minItems}.", "dynamicFlows.ArraySchema.removeItem": "Usu\u0144", "dynamicFlows.CameraCapture.CameraConnectionIssue.action": "Spr\xF3buj ponownie", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "Sprawd\u017A po\u0142\u0105czenie i spr\xF3buj ponownie.", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "Nie mo\u017Cemy uzyska\u0107 dost\u0119pu do Twojego aparatu", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Przegl\u0105darka, kt\xF3rej u\u017Cywasz, nie obs\u0142uguje aparatu. Wypr\xF3buj inn\u0105 przegl\u0105dark\u0119 lub urz\u0105dzenie albo pobierz nasz\u0105 aplikacj\u0119 mobiln\u0105.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Aparat nie jest obs\u0142ugiwany", "dynamicFlows.CameraCapture.NoCameraAccess.action": "W\u0142\u0105cz dost\u0119p do aparatu", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "W\u0142\u0105cz dost\u0119p do aparatu w ustawieniach przegl\u0105darki, \u017Ceby rozpocz\u0105\u0107 ponownie.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Nie mo\u017Cemy uzyska\u0107 dost\u0119pu do Twojego aparatu", "dynamicFlows.CameraCapture.reviewInstructions": "Czy Twoje zdj\u0119cie jest wyra\u017Ane, czytelne i kompletne?", "dynamicFlows.CameraCapture.reviewRetry": "Nie, spr\xF3buj ponownie", "dynamicFlows.CameraCapture.reviewSubmit": "Tak, prze\u015Blij", "dynamicFlows.CameraCapture.rotatePhone.text": "Obr\xF3\u0107 sw\xF3j telefon do widoku pionowego, \u017Ceby zrobi\u0107 zdj\u0119cie", "dynamicFlows.ControlFeedback.maxLength": "Prosimy wprowadzi\u0107 do {maxLength} znak\xF3w.", "dynamicFlows.ControlFeedback.maximum": "Wprowad\u017A liczb\u0119 r\xF3wn\u0105 lub mniejsz\u0105 ni\u017C {maximum}.", "dynamicFlows.ControlFeedback.maximumDate": "Wprowad\u017A dat\u0119 nie p\xF3\u017Aniejsz\u0105 ni\u017C {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Prosz\u0119 wpisa\u0107 co najmniej {minLength} znak\xF3w.", "dynamicFlows.ControlFeedback.minimum": "Wprowad\u017A liczb\u0119 r\xF3wn\u0105 lub wi\u0119ksz\u0105 ni\u017C {minimum}.", "dynamicFlows.ControlFeedback.minimumDate": "Wprowad\u017A dat\u0119 nie wcze\u015Bniejsz\u0105 ni\u017C {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Wprowad\u017A t\u0119 warto\u015B\u0107 w prawid\u0142owym formacie.", "dynamicFlows.ControlFeedback.patternDate": "Wprowad\u017A dat\u0119 w prawid\u0142owym formacie.", "dynamicFlows.ControlFeedback.required": "Prosz\u0119 wype\u0142ni\u0107 to pole.", "dynamicFlows.ControlFeedback.type": "Nieprawid\u0142owy typ", "dynamicFlows.DefaultErrorMessages.required": "Prosz\u0119 wype\u0142ni\u0107 to pole.", "dynamicFlows.DynamicExternal.retryTitle": "Otw\xF3rz okno ponownie", "dynamicFlows.DynamicParagraph.copied": "Skopiowano do schowka", "dynamicFlows.DynamicParagraph.copy": "Kopiuj", "dynamicFlows.ErrorBoundary.errorAlert": "Ups! Wyst\u0105pi\u0142 b\u0142\u0105d...", "dynamicFlows.ErrorBoundary.retry": "Spr\xF3buj ponownie", "dynamicFlows.ExternalConfirmation.cancel": "Anuluj", "dynamicFlows.ExternalConfirmation.description": "Prosimy potwierdzi\u0107, \u017Ce chcesz otworzy\u0107 **{origin}** w nowej zak\u0142adce przegl\u0105darki.", "dynamicFlows.ExternalConfirmation.open": "Otw\xF3rz w nowej zak\u0142adce", "dynamicFlows.ExternalConfirmation.title": "Potwierd\u017A", "dynamicFlows.Help.ariaLabel": "Kliknij tutaj, \u017Ceby uzyska\u0107 wi\u0119cej informacji.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Przepraszamy, ten plik jest zbyt du\u017Cy. Prze\u015Blij mniejszy plik.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Prze\u015Blij do {maxItems} plik\xF3w.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Prze\u015Blij co najmniej nast\u0119puj\u0105c\u0105 liczb\u0119 plik\xF3w: {minItems}.", "dynamicFlows.PersistAsyncSchema.genericError": "Wyst\u0105pi\u0142 b\u0142\u0105d, spr\xF3buj ponownie p\xF3\u017Aniej!", "dynamicFlows.ReadOnlySchema.no": "Nie", "dynamicFlows.ReadOnlySchema.yes": "Tak" };
|
|
3082
|
+
var Im = { "dynamicFlows.ArraySchema.addItem": "Salvar", "dynamicFlows.ArraySchema.addItemTitle": "Adicionar item", "dynamicFlows.ArraySchema.editItem": "Salvar", "dynamicFlows.ArraySchema.maxItemsError": "Adicione {maxItems} ou menos.", "dynamicFlows.ArraySchema.minItemsError": "Adicione pelo menos {minItems}.", "dynamicFlows.ArraySchema.removeItem": "Remover", "dynamicFlows.CameraCapture.CameraConnectionIssue.action": "Tentar novamente", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "Verifique se ele est\xE1 conectado e tente novamente.", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "N\xE3o temos acesso \xE0 sua c\xE2mera", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "O navegador que voc\xEA est\xE1 usando n\xE3o permite o uso da c\xE2mera. Por favor, tente com outro navegador ou computador, ou baixe o nosso aplicativo", "dynamicFlows.CameraCapture.CameraNotSupported.title": "C\xE2mera indispon\xEDvel", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Permitir acesso \xE0 c\xE2mera", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Ative o acesso \xE0 c\xE2mera nas configura\xE7\xF5es do navegador para continuar.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "N\xE3o temos acesso \xE0 sua c\xE2mera", "dynamicFlows.CameraCapture.reviewInstructions": "A sua foto est\xE1 clara, leg\xEDvel e aparece por inteiro?", "dynamicFlows.CameraCapture.reviewRetry": "N\xE3o, tentar novamente", "dynamicFlows.CameraCapture.reviewSubmit": "Sim, enviar", "dynamicFlows.CameraCapture.rotatePhone.text": "Gire o telefone para o modo retrato para tirar uma foto", "dynamicFlows.ControlFeedback.maxLength": "Por favor, insira {maxLength} caracteres ou menos.", "dynamicFlows.ControlFeedback.maximum": "Por favor, insira um n\xFAmero que seja {maximum} ou menos.", "dynamicFlows.ControlFeedback.maximumDate": "Por favor, insira uma data que seja em ou antes de {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Por favor, insira pelo menos {minLength} caracteres.", "dynamicFlows.ControlFeedback.minimum": "Por favor, insira um n\xFAmero que seja {minimum} ou mais.", "dynamicFlows.ControlFeedback.minimumDate": "Por favor, insira uma data que seja em ou ap\xF3s {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Por favor, insira essa informa\xE7\xE3o no formato correto.", "dynamicFlows.ControlFeedback.patternDate": "Por favor, insira a data no formato correto.", "dynamicFlows.ControlFeedback.required": "Por favor, preencha o campo.", "dynamicFlows.ControlFeedback.type": "Tipo incorreto", "dynamicFlows.DefaultErrorMessages.required": "Por favor, preencha o campo.", "dynamicFlows.DynamicExternal.retryTitle": "Reabrir janela", "dynamicFlows.DynamicParagraph.copied": "Copiado", "dynamicFlows.DynamicParagraph.copy": "Copiar", "dynamicFlows.ErrorBoundary.errorAlert": "Ops! Algo deu errado...", "dynamicFlows.ErrorBoundary.retry": "Tentar novamente", "dynamicFlows.ExternalConfirmation.cancel": "Cancelar", "dynamicFlows.ExternalConfirmation.description": "Por favor, confirme que deseja abrir * *{origin}* * em uma nova aba do navegador.", "dynamicFlows.ExternalConfirmation.open": "Abrir em uma nova aba", "dynamicFlows.ExternalConfirmation.title": "Por favor, confirme", "dynamicFlows.Help.ariaLabel": "Clique aqui para mais informa\xE7\xF5es.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Este arquivo \xE9 muito grande. Por favor, envie um arquivo menor.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Por favor, envie {maxItems} ou menos arquivos.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Por favor, envie pelo menos {minItems} arquivo(s).", "dynamicFlows.PersistAsyncSchema.genericError": "Algo deu errado. Por favor, tente novamente mais tarde!", "dynamicFlows.ReadOnlySchema.no": "N\xE3o", "dynamicFlows.ReadOnlySchema.yes": "Sim" };
|
|
3083
|
+
var Dm = { "dynamicFlows.ArraySchema.addItem": "Salvare", "dynamicFlows.ArraySchema.addItemTitle": "Adaug\u0103 produs", "dynamicFlows.ArraySchema.editItem": "Salvare", "dynamicFlows.ArraySchema.maxItemsError": "Te rug\u0103m s\u0103 adaugi {maxItems} sau mai pu\u021Bine.", "dynamicFlows.ArraySchema.minItemsError": "Te rug\u0103m s\u0103 adaugi cel pu\u021Bin {minItems}.", "dynamicFlows.ArraySchema.removeItem": "Elimin\u0103", "dynamicFlows.CameraCapture.CameraConnectionIssue.action": "\xCEncearc\u0103 din nou", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "Te rug\u0103m s\u0103 verifici dac\u0103 este conectat\u0103 \u0219i s\u0103 \xEEncerci din nou.", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "Nu \xEE\u021Bi putem accesa camera", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Browserul pe care \xEEl folose\u0219ti nu poate folosi o camer\u0103 foto. Te rug\u0103m s\u0103 \xEEncerci alt browser, alt dispozitiv sau s\u0103 descarci aplica\u021Bia noastr\u0103.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Camera nu este acceptat\u0103", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Permite acces la camer\u0103", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Permite accesul la camera foto \xEEn set\u0103rile browserului t\u0103u, pentru a re\xEEncepe.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Nu \xEE\u021Bi putem accesa camera", "dynamicFlows.CameraCapture.reviewInstructions": "Imaginea ta este clar\u0103, lizibil\u0103 \u0219i complet\u0103?", "dynamicFlows.CameraCapture.reviewRetry": "Nu, \xEEncearc\u0103 din nou", "dynamicFlows.CameraCapture.reviewSubmit": "Da, trimite", "dynamicFlows.CameraCapture.rotatePhone.text": "Rote\u0219te-\u021Bi telefonul \xEEn modul portret pentru a face o fotografie", "dynamicFlows.ControlFeedback.maxLength": "Te rug\u0103m s\u0103 introduci {maxLength} sau mai pu\u021Bine caractere.", "dynamicFlows.ControlFeedback.maximum": "Te rug\u0103m s\u0103 introduci un num\u0103r egal cu {maximum} sau mai mic.", "dynamicFlows.ControlFeedback.maximumDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 de \xEEnainte de sau egal\u0103 cu {maximum}.", "dynamicFlows.ControlFeedback.minLength": "Te rug\u0103m s\u0103 introduci cel pu\u021Bin {minLength} caractere.", "dynamicFlows.ControlFeedback.minimum": "Te rug\u0103m s\u0103 introduci un num\u0103r egal cu {minimum} sau mai mare.", "dynamicFlows.ControlFeedback.minimumDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 de dup\u0103 sau egal\u0103 cu {minimum}.", "dynamicFlows.ControlFeedback.pattern": "Te rug\u0103m s\u0103 introduci acest lucru \xEEn formatul corect.", "dynamicFlows.ControlFeedback.patternDate": "Te rug\u0103m s\u0103 introduci o dat\u0103 \xEEn formatul corect.", "dynamicFlows.ControlFeedback.required": "Te rug\u0103m s\u0103 completezi acest spa\u021Biu.", "dynamicFlows.ControlFeedback.type": "Tip incorect", "dynamicFlows.DefaultErrorMessages.required": "Te rug\u0103m s\u0103 completezi acest spa\u021Biu.", "dynamicFlows.DynamicExternal.retryTitle": "Redeschide fereastra", "dynamicFlows.DynamicParagraph.copied": "Copiat \xEEn clipboard", "dynamicFlows.DynamicParagraph.copy": "Copiaz\u0103", "dynamicFlows.ErrorBoundary.errorAlert": "Ups! Ceva nu a mers bine...", "dynamicFlows.ErrorBoundary.retry": "\xCEncearc\u0103 din nou", "dynamicFlows.ExternalConfirmation.cancel": "Anuleaz\u0103", "dynamicFlows.ExternalConfirmation.description": "Te rug\u0103m s\u0103 confirmi c\u0103 vrei s\u0103 deschizi **{origin}** \xEEntr-o nou\u0103 fil\u0103 a browserului.", "dynamicFlows.ExternalConfirmation.open": "Deschide \xEEntr-o fil\u0103 nou\u0103", "dynamicFlows.ExternalConfirmation.title": "Te rug\u0103m s\u0103 confirmi", "dynamicFlows.Help.ariaLabel": "D\u0103 click aici pentru mai multe informa\u021Bii.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "Ne pare r\u0103u, acel fi\u0219ier este prea mare. Te rug\u0103m s\u0103 \xEEncarci un fi\u0219ier mai mic.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "Te rug\u0103m s\u0103 \xEEncarci {maxItems} fi\u0219iere sau mai pu\u021Bine.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "Te rug\u0103m s\u0103 \xEEncarci cel pu\u021Bin {minItems} fi\u0219ier(e).", "dynamicFlows.PersistAsyncSchema.genericError": "Ceva nu a mers bine. Te rug\u0103m s\u0103 \xEEncerci din nou mai t\xE2rziu!", "dynamicFlows.ReadOnlySchema.no": "Nu", "dynamicFlows.ReadOnlySchema.yes": "Da" };
|
|
3084
|
+
var Lm = { "dynamicFlows.ArraySchema.addItem": "\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C", "dynamicFlows.ArraySchema.addItemTitle": "\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0443\u043D\u043A\u0442", "dynamicFlows.ArraySchema.editItem": "\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C", "dynamicFlows.ArraySchema.maxItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0434\u043E\u0431\u0430\u0432\u044C\u0442\u0435 {maxItems} \u0438\u043B\u0438 \u043C\u0435\u043D\u044C\u0448\u0435.", "dynamicFlows.ArraySchema.minItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0434\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u043F\u043E \u043A\u0440\u0430\u0439\u043D\u0435\u0439 \u043C\u0435\u0440\u0435 {minItems}.", "dynamicFlows.ArraySchema.removeItem": "\u0423\u0434\u0430\u043B\u0438\u0442\u044C", "dynamicFlows.CameraCapture.CameraConnectionIssue.action": "\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u043F\u043E\u043F\u044B\u0442\u043A\u0443", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435, \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0430 \u043B\u0438 \u043A\u0430\u043C\u0435\u0440\u0430, \u0438 \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0435 \u043F\u043E\u043F\u044B\u0442\u043A\u0443.", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "\u041C\u044B \u043D\u0435 \u043C\u043E\u0436\u0435\u043C \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F \u043A \u0432\u0430\u0448\u0435\u0439 \u043A\u0430\u043C\u0435\u0440\u0435", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0439 \u0432\u0430\u043C\u0438 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043A\u0430\u043C\u0435\u0440\u0443. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0434\u0440\u0443\u0433\u043E\u0439 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0438\u043B\u0438 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E, \u0438\u043B\u0438 \u0441\u043A\u0430\u0447\u0430\u0439\u0442\u0435 \u043D\u0430\u0448\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "\u041A\u0430\u043C\u0435\u0440\u0430 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F", "dynamicFlows.CameraCapture.NoCameraAccess.action": "\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F \u043A \u043A\u0430\u043C\u0435\u0440\u0435", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u0435 \u0434\u043E\u0441\u0442\u0443\u043F \u043A \u043A\u0430\u043C\u0435\u0440\u0435 \u0432 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445 \u0432\u0430\u0448\u0435\u0433\u043E \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430, \u0447\u0442\u043E\u0431\u044B \u043F\u043E\u043F\u0440\u043E\u0431\u043E\u0432\u0430\u0442\u044C \u0441\u043D\u043E\u0432\u0430.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "\u041C\u044B \u043D\u0435 \u043C\u043E\u0436\u0435\u043C \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F \u043A \u0432\u0430\u0448\u0435\u0439 \u043A\u0430\u043C\u0435\u0440\u0435", "dynamicFlows.CameraCapture.reviewInstructions": "\u0412\u0430\u0448\u0430 \u0444\u043E\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u044F \u0447\u0435\u0442\u043A\u0430\u044F, \u043B\u0435\u0433\u043A\u043E \u0447\u0438\u0442\u0430\u0435\u043C\u0430\u044F \u0438 \u043D\u0435 \u043E\u0431\u0440\u0435\u0437\u0430\u043D\u0430?", "dynamicFlows.CameraCapture.reviewRetry": "\u041D\u0435\u0442, \u043F\u043E\u043F\u0440\u043E\u0431\u043E\u0432\u0430\u0442\u044C \u0435\u0449\u0435 \u0440\u0430\u0437", "dynamicFlows.CameraCapture.reviewSubmit": "\u0414\u0430, \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C", "dynamicFlows.CameraCapture.rotatePhone.text": "\u041F\u043E\u0432\u0435\u0440\u043D\u0438\u0442\u0435 \u0442\u0435\u043B\u0435\u0444\u043E\u043D \u0432 \u043F\u043E\u0440\u0442\u0440\u0435\u0442\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C, \u0447\u0442\u043E\u0431\u044B \u0441\u0434\u0435\u043B\u0430\u0442\u044C \u0444\u043E\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u044E", "dynamicFlows.ControlFeedback.maxLength": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 {maxLength} \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0438\u043B\u0438 \u043C\u0435\u043D\u044C\u0448\u0435.", "dynamicFlows.ControlFeedback.maximum": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0447\u0438\u0441\u043B\u043E, \u0440\u0430\u0432\u043D\u043E\u0435 {maximum} \u0438\u043B\u0438 \u043C\u0435\u043D\u044C\u0448\u0435.", "dynamicFlows.ControlFeedback.maximumDate": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443, \u0440\u0430\u0432\u043D\u0443\u044E {maximum} \u0438\u043B\u0438 \u0431\u043E\u043B\u0435\u0435 \u0440\u0430\u043D\u043D\u044E\u044E.", "dynamicFlows.ControlFeedback.minLength": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043F\u043E \u043A\u0440\u0430\u0439\u043D\u0435\u0439 \u043C\u0435\u0440\u0435 {minLength} \u0441\u0438\u043C\u0432\u043E\u043B\u0430(-\u043E\u0432).", "dynamicFlows.ControlFeedback.minimum": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0447\u0438\u0441\u043B\u043E, \u0440\u0430\u0432\u043D\u043E\u0435 {minimum} \u0438\u043B\u0438 \u0431\u043E\u043B\u044C\u0448\u0435.", "dynamicFlows.ControlFeedback.minimumDate": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443, \u0440\u0430\u0432\u043D\u0443\u044E {minimum} \u0438\u043B\u0438 \u0431\u043E\u043B\u0435\u0435 \u043F\u043E\u0437\u0434\u043D\u044E\u044E.", "dynamicFlows.ControlFeedback.pattern": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u044D\u0442\u043E \u0432 \u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u043E\u043C \u0444\u043E\u0440\u043C\u0430\u0442\u0435.", "dynamicFlows.ControlFeedback.patternDate": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443 \u0432 \u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u043E\u043C \u0444\u043E\u0440\u043C\u0430\u0442\u0435.", "dynamicFlows.ControlFeedback.required": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u043E\u0435 \u043F\u043E\u043B\u0435.", "dynamicFlows.ControlFeedback.type": "\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0442\u0438\u043F", "dynamicFlows.DefaultErrorMessages.required": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u043E\u0435 \u043F\u043E\u043B\u0435.", "dynamicFlows.DynamicExternal.retryTitle": "\u041F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u043E\u043A\u043D\u043E", "dynamicFlows.DynamicParagraph.copied": "\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430", "dynamicFlows.DynamicParagraph.copy": "\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C", "dynamicFlows.ErrorBoundary.errorAlert": "\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A...", "dynamicFlows.ErrorBoundary.retry": "\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C \u043F\u043E\u043F\u044B\u0442\u043A\u0443", "dynamicFlows.ExternalConfirmation.cancel": "\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C", "dynamicFlows.ExternalConfirmation.description": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435, \u0447\u0442\u043E \u0432\u044B \u0445\u043E\u0442\u0438\u0442\u0435 \u043E\u0442\u043A\u0440\u044B\u0442\u044C **{origin}** \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.", "dynamicFlows.ExternalConfirmation.open": "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435", "dynamicFlows.ExternalConfirmation.title": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435", "dynamicFlows.Help.ariaLabel": "\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044C \u0434\u043B\u044F \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\u0418\u0437\u0432\u0438\u043D\u0438\u0442\u0435, \u0444\u0430\u0439\u043B \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0439. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0444\u0430\u0439\u043B \u043C\u0435\u043D\u044C\u0448\u0435\u0433\u043E \u0440\u0430\u0437\u043C\u0435\u0440\u0430.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u043D\u0435 \u0431\u043E\u043B\u0435\u0435 {maxItems} \u0444\u0430\u0439\u043B\u043E\u0432.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u043F\u043E \u043A\u0440\u0430\u0439\u043D\u0435\u0439 \u043C\u0435\u0440\u0435 {minItems} \u0444\u0430\u0439\u043B(-\u0430/\u043E\u0432).", "dynamicFlows.PersistAsyncSchema.genericError": "\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0435 \u043F\u043E\u043F\u044B\u0442\u043A\u0443 \u043F\u043E\u0437\u0436\u0435!", "dynamicFlows.ReadOnlySchema.no": "\u041D\u0435\u0442", "dynamicFlows.ReadOnlySchema.yes": "\u0414\u0430" };
|
|
3085
|
+
var Tm = { "dynamicFlows.ArraySchema.addItem": "\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01", "dynamicFlows.ArraySchema.addItemTitle": "Add Item", "dynamicFlows.ArraySchema.editItem": "\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01", "dynamicFlows.ArraySchema.maxItemsError": "\u0E42\u0E1B\u0E23\u0E14\u0E40\u0E1E\u0E34\u0E48\u0E21 {maxItems} \u0E2B\u0E23\u0E37\u0E2D\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32", "dynamicFlows.ArraySchema.minItemsError": "\u0E42\u0E1B\u0E23\u0E14\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22 {minItems}", "dynamicFlows.ArraySchema.removeItem": "\u0E25\u0E1A", "dynamicFlows.CameraCapture.CameraConnectionIssue.action": "\u0E25\u0E2D\u0E07\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "Please check if it is connected and try again.", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "\u0E40\u0E23\u0E32\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07\u0E01\u0E25\u0E49\u0E2D\u0E07\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E44\u0E14\u0E49", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "\u0E40\u0E1A\u0E23\u0E32\u0E27\u0E4C\u0E40\u0E0B\u0E2D\u0E23\u0E4C\u0E17\u0E35\u0E48\u0E04\u0E38\u0E13\u0E43\u0E0A\u0E49\u0E44\u0E21\u0E48\u0E23\u0E2D\u0E07\u0E23\u0E31\u0E1A\u0E01\u0E25\u0E49\u0E2D\u0E07 \u0E43\u0E2B\u0E49\u0E25\u0E2D\u0E07\u0E43\u0E0A\u0E49\u0E40\u0E1A\u0E23\u0E32\u0E27\u0E4C\u0E40\u0E0B\u0E2D\u0E23\u0E4C\u0E41\u0E25\u0E30\u0E2D\u0E38\u0E1B\u0E01\u0E23\u0E13\u0E4C\u0E2D\u0E37\u0E48\u0E19 \u0E2B\u0E23\u0E37\u0E2D\u0E14\u0E32\u0E27\u0E19\u0E4C\u0E42\u0E2B\u0E25\u0E14\u0E41\u0E2D\u0E1B\u0E21\u0E37\u0E2D\u0E16\u0E37\u0E2D\u0E02\u0E2D\u0E07\u0E40\u0E23\u0E32\u0E14\u0E39", "dynamicFlows.CameraCapture.CameraNotSupported.title": "\u0E44\u0E21\u0E48\u0E23\u0E2D\u0E07\u0E23\u0E31\u0E1A\u0E01\u0E25\u0E49\u0E2D\u0E07", "dynamicFlows.CameraCapture.NoCameraAccess.action": "\u0E40\u0E1B\u0E34\u0E14\u0E43\u0E0A\u0E49\u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07\u0E01\u0E25\u0E49\u0E2D\u0E07", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "\u0E40\u0E1B\u0E34\u0E14\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07\u0E01\u0E25\u0E49\u0E2D\u0E07\u0E43\u0E19\u0E01\u0E32\u0E23\u0E15\u0E31\u0E49\u0E07\u0E04\u0E48\u0E32\u0E40\u0E1A\u0E23\u0E32\u0E27\u0E4C\u0E40\u0E0B\u0E2D\u0E23\u0E4C\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E40\u0E23\u0E34\u0E48\u0E21\u0E15\u0E49\u0E19\u0E43\u0E2B\u0E21\u0E48\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07", "dynamicFlows.CameraCapture.NoCameraAccess.title": "\u0E40\u0E23\u0E32\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07\u0E01\u0E25\u0E49\u0E2D\u0E07\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E44\u0E14\u0E49", "dynamicFlows.CameraCapture.reviewInstructions": "\u0E23\u0E39\u0E1B\u0E20\u0E32\u0E1E\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E0A\u0E31\u0E14\u0E40\u0E08\u0E19 \u0E2D\u0E48\u0E32\u0E19\u0E44\u0E14\u0E49 \u0E41\u0E25\u0E30\u0E04\u0E23\u0E1A\u0E16\u0E49\u0E27\u0E19\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48", "dynamicFlows.CameraCapture.reviewRetry": "\u0E44\u0E21\u0E48 \u0E25\u0E2D\u0E07\u0E2D\u0E35\u0E01\u0E17\u0E31\u0E49\u0E07", "dynamicFlows.CameraCapture.reviewSubmit": "\u0E43\u0E0A\u0E48 \u0E2A\u0E48\u0E07\u0E40\u0E25\u0E22", "dynamicFlows.CameraCapture.rotatePhone.text": "Rotate your phone to portrait view to take a photo", "dynamicFlows.ControlFeedback.maxLength": "\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19 {maxLength} \u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E2B\u0E23\u0E37\u0E2D\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32", "dynamicFlows.ControlFeedback.maximum": "\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02 {maximum} \u0E2B\u0E23\u0E37\u0E2D\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32", "dynamicFlows.ControlFeedback.maximumDate": "\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48\u0E15\u0E23\u0E07\u0E1E\u0E2D\u0E14\u0E35\u0E2B\u0E23\u0E37\u0E2D\u0E01\u0E48\u0E2D\u0E19 {maximum}", "dynamicFlows.ControlFeedback.minLength": "\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22 {minLength} \u0E15\u0E31\u0E27", "dynamicFlows.ControlFeedback.minimum": "\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02 {minimum} \u0E2B\u0E23\u0E37\u0E2D\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32", "dynamicFlows.ControlFeedback.minimumDate": "\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48\u0E15\u0E23\u0E07\u0E1E\u0E2D\u0E14\u0E35\u0E2B\u0E23\u0E37\u0E2D\u0E2B\u0E25\u0E31\u0E07 {minimum}", "dynamicFlows.ControlFeedback.pattern": "\u0E42\u0E1B\u0E23\u0E14\u0E43\u0E2A\u0E48\u0E43\u0E19\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E17\u0E35\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07", "dynamicFlows.ControlFeedback.patternDate": "\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E43\u0E19\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E17\u0E35\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07", "dynamicFlows.ControlFeedback.required": "\u0E42\u0E1B\u0E23\u0E14\u0E43\u0E2A\u0E48\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E43\u0E19\u0E0A\u0E48\u0E2D\u0E07\u0E19\u0E35\u0E49", "dynamicFlows.ControlFeedback.type": "\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07", "dynamicFlows.DefaultErrorMessages.required": "\u0E42\u0E1B\u0E23\u0E14\u0E43\u0E2A\u0E48\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E43\u0E19\u0E0A\u0E48\u0E2D\u0E07\u0E19\u0E35\u0E49", "dynamicFlows.DynamicExternal.retryTitle": "\u0E40\u0E1B\u0E34\u0E14\u0E2B\u0E19\u0E49\u0E32\u0E15\u0E48\u0E32\u0E07\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07", "dynamicFlows.DynamicParagraph.copied": "\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E44\u0E1B\u0E22\u0E31\u0E07\u0E04\u0E25\u0E34\u0E1B\u0E1A\u0E2D\u0E23\u0E4C\u0E14", "dynamicFlows.DynamicParagraph.copy": "\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01", "dynamicFlows.ErrorBoundary.errorAlert": "\u0E2D\u0E4A\u0E30 \u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E1A\u0E32\u0E07\u0E2D\u0E22\u0E48\u0E32\u0E07...", "dynamicFlows.ErrorBoundary.retry": "\u0E25\u0E2D\u0E07\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07", "dynamicFlows.ExternalConfirmation.cancel": "\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01", "dynamicFlows.ExternalConfirmation.description": "\u0E42\u0E1B\u0E23\u0E14\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19\u0E27\u0E48\u0E32\u0E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E40\u0E1B\u0E34\u0E14 **{origin}** \u0E40\u0E1B\u0E47\u0E19\u0E41\u0E17\u0E47\u0E1A\u0E43\u0E2B\u0E21\u0E48\u0E43\u0E19\u0E40\u0E1A\u0E23\u0E32\u0E27\u0E4C\u0E40\u0E0B\u0E2D\u0E23\u0E4C", "dynamicFlows.ExternalConfirmation.open": "\u0E40\u0E1B\u0E34\u0E14\u0E43\u0E19\u0E41\u0E17\u0E47\u0E1A\u0E43\u0E2B\u0E21\u0E48", "dynamicFlows.ExternalConfirmation.title": "\u0E42\u0E1B\u0E23\u0E14\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19", "dynamicFlows.Help.ariaLabel": "\u0E04\u0E25\u0E34\u0E01\u0E17\u0E35\u0E48\u0E19\u0E35\u0E48\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E14\u0E39\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E44\u0E1F\u0E25\u0E4C\u0E19\u0E31\u0E49\u0E19\u0E43\u0E2B\u0E0D\u0E48\u0E40\u0E01\u0E34\u0E19\u0E44\u0E1B \u0E42\u0E1B\u0E23\u0E14\u0E2D\u0E31\u0E1B\u0E42\u0E2B\u0E25\u0E14\u0E44\u0E1F\u0E25\u0E4C\u0E17\u0E35\u0E48\u0E21\u0E35\u0E02\u0E19\u0E32\u0E14\u0E40\u0E25\u0E47\u0E01\u0E25\u0E07", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "\u0E42\u0E1B\u0E23\u0E14\u0E2D\u0E31\u0E1B\u0E42\u0E2B\u0E25\u0E14 {maxItems} \u0E44\u0E1F\u0E25\u0E4C\u0E2B\u0E23\u0E37\u0E2D\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "\u0E42\u0E1B\u0E23\u0E14\u0E2D\u0E31\u0E1B\u0E42\u0E2B\u0E25\u0E14\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22 {minItems} \u0E44\u0E1F\u0E25\u0E4C", "dynamicFlows.PersistAsyncSchema.genericError": "\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14 \u0E42\u0E1B\u0E23\u0E14\u0E25\u0E2D\u0E07\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07\u0E20\u0E32\u0E22\u0E2B\u0E25\u0E31\u0E07!", "dynamicFlows.ReadOnlySchema.no": "\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48", "dynamicFlows.ReadOnlySchema.yes": "\u0E43\u0E0A\u0E48" };
|
|
3086
|
+
var Rm = { "dynamicFlows.ArraySchema.addItem": "Kaydet", "dynamicFlows.ArraySchema.addItemTitle": "\xD6\u011Fe ekle", "dynamicFlows.ArraySchema.editItem": "Kaydet", "dynamicFlows.ArraySchema.maxItemsError": "L\xFCtfen {maxItems} veya daha az ekleme yap\u0131n", "dynamicFlows.ArraySchema.minItemsError": "L\xFCtfen en az {minItems} ekleme yap\u0131n.", "dynamicFlows.ArraySchema.removeItem": "Kald\u0131r", "dynamicFlows.CameraCapture.CameraConnectionIssue.action": "Tekrar deneyin", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "L\xFCtfen ba\u011Fl\u0131 olup olmad\u0131\u011F\u0131n\u0131 kontrol edip tekrar deneyin.", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "Kameran\u0131za eri\u015Femiyoruz", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "Kulland\u0131\u011F\u0131n\u0131z taray\u0131c\u0131da kamera deste\u011Fi yok. Farkl\u0131 bir taray\u0131c\u0131 / cihaz deneyin veya mobil uygulamam\u0131z\u0131 indirin.", "dynamicFlows.CameraCapture.CameraNotSupported.title": "Kamera desteklenmiyor", "dynamicFlows.CameraCapture.NoCameraAccess.action": "Kamera eri\u015Fimi verin", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "Tekrar ba\u015Flamak i\xE7in taray\u0131c\u0131n\u0131z\u0131n ayarlar\u0131nda kamera eri\u015Fimini etkinle\u015Ftirin.", "dynamicFlows.CameraCapture.NoCameraAccess.title": "Kameran\u0131za eri\u015Femiyoruz", "dynamicFlows.CameraCapture.reviewInstructions": "Foto\u011Fraf\u0131n\u0131z net, okunakl\u0131 ve eksiksiz mi?", "dynamicFlows.CameraCapture.reviewRetry": "Hay\u0131r, tekrar dene", "dynamicFlows.CameraCapture.reviewSubmit": "Evet, g\xF6nder", "dynamicFlows.CameraCapture.rotatePhone.text": "Foto\u011Fraf \xE7ekmek i\xE7in telefonunuzu dik pozisyonda tutun", "dynamicFlows.ControlFeedback.maxLength": "L\xFCtfen {maxLength} veya daha az karakter girin.", "dynamicFlows.ControlFeedback.maximum": "L\xFCtfen {maximum} veya daha d\xFC\u015F\xFCk bir say\u0131 girin.", "dynamicFlows.ControlFeedback.maximumDate": "L\xFCtfen {maximum} veya daha erken bir tarih girin.", "dynamicFlows.ControlFeedback.minLength": "En az {minLength} karakter girebilirsiniz.", "dynamicFlows.ControlFeedback.minimum": "L\xFCtfen {minimum} veya daha y\xFCksek bir say\u0131 girin.", "dynamicFlows.ControlFeedback.minimumDate": "L\xFCtfen {minimum} veya daha ge\xE7 bir tarih girin.", "dynamicFlows.ControlFeedback.pattern": "Yanl\u0131\u015F bi\xE7im", "dynamicFlows.ControlFeedback.patternDate": "L\xFCtfen tarihi do\u011Fru bi\xE7imde girin.", "dynamicFlows.ControlFeedback.required": "L\xFCtfen bu alan\u0131 doldurun.", "dynamicFlows.ControlFeedback.type": "Ge\xE7ersiz se\xE7im", "dynamicFlows.DefaultErrorMessages.required": "L\xFCtfen bu alan\u0131 doldurun.", "dynamicFlows.DynamicExternal.retryTitle": "Pencereyi yeniden a\xE7", "dynamicFlows.DynamicParagraph.copied": "Panoya kopyaland\u0131", "dynamicFlows.DynamicParagraph.copy": "Kopyala", "dynamicFlows.ErrorBoundary.errorAlert": "Aman\u0131n! Bir \u015Feyler ters gitti...", "dynamicFlows.ErrorBoundary.retry": "Tekrar dene", "dynamicFlows.ExternalConfirmation.cancel": "\u0130ptal edin", "dynamicFlows.ExternalConfirmation.description": "L\xFCtfen yeni bir taray\u0131c\u0131 sekmesinde **{origin}** a\xE7mak istedi\u011Finizi onaylay\u0131n.", "dynamicFlows.ExternalConfirmation.open": "Yeni sekmede a\xE7", "dynamicFlows.ExternalConfirmation.title": "L\xFCtfen onaylay\u0131n", "dynamicFlows.Help.ariaLabel": "Ayr\u0131nt\u0131lar i\xE7in t\u0131klay\u0131n.", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\xDCzg\xFCn\xFCz, bu dosya \xE7ok b\xFCy\xFCk. L\xFCtfen daha k\xFC\xE7\xFCk bir dosya y\xFCkleyin.", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "L\xFCtfen {maxItems} veya daha az dosya y\xFCkleyin.", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "L\xFCtfen en az {minItems} dosya y\xFCkleyin.", "dynamicFlows.PersistAsyncSchema.genericError": "Bir \u015Feyler ters gitti, l\xFCtfen tekrar deneyin", "dynamicFlows.ReadOnlySchema.no": "Hay\u0131r", "dynamicFlows.ReadOnlySchema.yes": "Evet" };
|
|
3087
|
+
var tn = { "dynamicFlows.ArraySchema.addItem": "\u4FDD\u5B58", "dynamicFlows.ArraySchema.addItemTitle": "\u6DFB\u52A0\u9879\u76EE", "dynamicFlows.ArraySchema.editItem": "\u4FDD\u5B58", "dynamicFlows.ArraySchema.maxItemsError": "\u8BF7\u6DFB\u52A0\u4E0D\u8D85\u8FC7 {maxItems} \u9879\u3002", "dynamicFlows.ArraySchema.minItemsError": "\u8BF7\u81F3\u5C11\u6DFB\u52A0 {minItems} \u9879\u3002", "dynamicFlows.ArraySchema.removeItem": "\u79FB\u9664", "dynamicFlows.CameraCapture.CameraConnectionIssue.action": "\u91CD\u8BD5", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "Please check if it is connected and try again.", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "\u6211\u4EEC\u65E0\u6CD5\u8BBF\u95EE\u60A8\u7684\u6444\u50CF\u5934", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "\u60A8\u76EE\u524D\u4F7F\u7528\u7684\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u6444\u50CF\u5934\u3002\u8BF7\u5C1D\u8BD5\u5176\u4ED6\u6D4F\u89C8\u5668\u3001\u8BBE\u5907\u6216\u4E0B\u8F7D\u6211\u4EEC\u7684\u5E94\u7528\u3002", "dynamicFlows.CameraCapture.CameraNotSupported.title": "\u4E0D\u652F\u6301\u6444\u50CF\u5934", "dynamicFlows.CameraCapture.NoCameraAccess.action": "\u5141\u8BB8\u8BBF\u95EE\u6444\u50CF\u5934", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "\u5728\u6D4F\u89C8\u5668\u8BBE\u7F6E\u4E2D\u542F\u7528\u76F8\u673A\u8BBF\u95EE\u6743\u9650\uFF0C\u518D\u91CD\u65B0\u5C1D\u8BD5\u3002", "dynamicFlows.CameraCapture.NoCameraAccess.title": "\u6211\u4EEC\u65E0\u6CD5\u8BBF\u95EE\u60A8\u7684\u6444\u50CF\u5934", "dynamicFlows.CameraCapture.reviewInstructions": "\u60A8\u7684\u56FE\u7247\u662F\u5426\u6E05\u6670\u3001\u53EF\u8BFB\u548C\u5B8C\u6574\uFF1F", "dynamicFlows.CameraCapture.reviewRetry": "\u5426\uFF0C\u518D\u8BD5\u4E00\u6B21", "dynamicFlows.CameraCapture.reviewSubmit": "\u662F\uFF0C\u63D0\u4EA4", "dynamicFlows.CameraCapture.rotatePhone.text": "\u5C06\u624B\u673A\u65CB\u8F6C\u5230\u7EB5\u5411\u89C6\u56FE\u4EE5\u62CD\u7167", "dynamicFlows.ControlFeedback.maxLength": "\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC7 {maxLength} \u4E2A\u5B57\u7B26\u3002", "dynamicFlows.ControlFeedback.maximum": "\u8BF7\u8F93\u5165\u4E00\u4E2A\u5C0F\u4E8E\u6216\u7B49\u4E8E {maximum} \u7684\u6570\u5B57\u3002", "dynamicFlows.ControlFeedback.maximumDate": "\u8BF7\u8F93\u5165 {maximum} \u6216\u4E4B\u524D\u7684\u65E5\u671F", "dynamicFlows.ControlFeedback.minLength": "\u8BF7\u81F3\u5C11\u8F93\u5165 {minLength} \u4E2A\u5B57\u7B26", "dynamicFlows.ControlFeedback.minimum": "\u8BF7\u8F93\u5165\u4E00\u4E2A\u5927\u4E8E\u6216\u7B49\u4E8E {minimum} \u7684\u6570\u5B57", "dynamicFlows.ControlFeedback.minimumDate": "\u8BF7\u8F93\u5165 {minimum} \u6216\u4E4B\u540E\u7684\u65E5\u671F", "dynamicFlows.ControlFeedback.pattern": "\u8BF7\u4EE5\u6B63\u786E\u7684\u683C\u5F0F\u8F93\u5165", "dynamicFlows.ControlFeedback.patternDate": "\u8BF7\u4EE5\u6B63\u786E\u7684\u683C\u5F0F\u8F93\u5165\u65E5\u671F", "dynamicFlows.ControlFeedback.required": "\u8BF7\u586B\u5199\u6B64\u5B57\u6BB5\u3002", "dynamicFlows.ControlFeedback.type": "\u7C7B\u578B\u9519\u8BEF", "dynamicFlows.DefaultErrorMessages.required": "\u8BF7\u586B\u5199\u6B64\u5B57\u6BB5\u3002", "dynamicFlows.DynamicExternal.retryTitle": "\u91CD\u65B0\u6253\u5F00\u7A97\u53E3", "dynamicFlows.DynamicParagraph.copied": "\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F", "dynamicFlows.DynamicParagraph.copy": "\u590D\u5236", "dynamicFlows.ErrorBoundary.errorAlert": "\u7CDF\u7CD5\u3002\u51FA\u9519\u4E86\u2026", "dynamicFlows.ErrorBoundary.retry": "\u91CD\u8BD5", "dynamicFlows.ExternalConfirmation.cancel": "\u53D6\u6D88", "dynamicFlows.ExternalConfirmation.description": "\u8BF7\u786E\u8BA4\u60A8\u662F\u5426\u8981\u5728\u65B0\u6807\u7B7E\u9875\u4E2D\u6253\u5F00**{origin}**\u3002", "dynamicFlows.ExternalConfirmation.open": "\u5728\u65B0\u6807\u7B7E\u9875\u4E2D\u6253\u5F00", "dynamicFlows.ExternalConfirmation.title": "\u8BF7\u786E\u8BA4", "dynamicFlows.Help.ariaLabel": "\u70B9\u51FB\u6B64\u5904\u83B7\u53D6\u66F4\u591A\u4FE1\u606F\u3002", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\u62B1\u6B49\uFF0C\u8BE5\u6587\u4EF6\u592A\u5927\u3002\u8BF7\u4E0A\u4F20\u4E00\u4E2A\u66F4\u5C0F\u7684\u6587\u4EF6\u3002", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "\u8BF7\u4E0A\u4F20\u4E0D\u8D85\u8FC7 {maxItems} \u4E2A\u6587\u4EF6\u3002", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "\u8BF7\u4E0A\u4F20\u81F3\u5C11 {minItems} \u4E2A\u6587\u4EF6\u3002", "dynamicFlows.PersistAsyncSchema.genericError": "\u51FA\u9519\u4E86\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5\uFF01", "dynamicFlows.ReadOnlySchema.no": "\u5426", "dynamicFlows.ReadOnlySchema.yes": "\u662F" };
|
|
3088
|
+
var Nm = { "dynamicFlows.ArraySchema.addItem": "\u5132\u5B58", "dynamicFlows.ArraySchema.addItemTitle": "\u6DFB\u52A0\u9805\u76EE", "dynamicFlows.ArraySchema.editItem": "\u5132\u5B58", "dynamicFlows.ArraySchema.maxItemsError": "\u8ACB\u6DFB\u52A0\u4E0D\u8D85\u904E{maxItems}\u9805\u3002", "dynamicFlows.ArraySchema.minItemsError": "\u8ACB\u81F3\u5C11\u6DFB\u52A0{minItems}\u9805\u3002", "dynamicFlows.ArraySchema.removeItem": "\u79FB\u9664", "dynamicFlows.CameraCapture.CameraConnectionIssue.action": "\u518D\u8A66\u4E00\u6B21", "dynamicFlows.CameraCapture.CameraConnectionIssue.paragraph": "Please check if it is connected and try again.", "dynamicFlows.CameraCapture.CameraConnectionIssue.title": "\u6211\u5011\u7121\u6CD5\u53D6\u7528\u4F60\u7684\u76F8\u6A5F", "dynamicFlows.CameraCapture.CameraNotSupported.paragraph": "\u4F60\u76EE\u524D\u4F7F\u7528\u7684\u700F\u89BD\u5668\u4E0D\u652F\u6301\u76F8\u6A5F\u3002\u8ACB\u5617\u8A66\u4F7F\u7528\u5176\u4ED6\u700F\u89BD\u5668\u6216\u5176\u4ED6\u88DD\u7F6E\uFF0C\u6216\u8005\u4F60\u53EF\u4EE5\u4E0B\u8F09\u6211\u5011\u7684\u61C9\u7528\u7A0B\u5F0F\u3002", "dynamicFlows.CameraCapture.CameraNotSupported.title": "\u4E0D\u652F\u6301\u76F8\u6A5F", "dynamicFlows.CameraCapture.NoCameraAccess.action": "\u5141\u8A31\u53D6\u7528\u76F8\u6A5F", "dynamicFlows.CameraCapture.NoCameraAccess.paragraph": "\u4F60\u53EF\u4EE5\u5728\u700F\u89BD\u5668\u7684\u8A2D\u5B9A\u4E2D\u958B\u555F\u76F8\u6A5F\u5B58\u53D6\u6B0A\u9650\u3002", "dynamicFlows.CameraCapture.NoCameraAccess.title": "\u6211\u5011\u7121\u6CD5\u53D6\u7528\u4F60\u7684\u76F8\u6A5F", "dynamicFlows.CameraCapture.reviewInstructions": "\u4F60\u7684\u7167\u7247\u662F\u5426\u5B8C\u6574\u3001\u6E05\u6670\u53CA\u53EF\u8B80\uFF1F", "dynamicFlows.CameraCapture.reviewRetry": "\u5426\uFF0C\u518D\u8A66\u4E00\u6B21", "dynamicFlows.CameraCapture.reviewSubmit": "\u662F\uFF0C\u63D0\u4EA4", "dynamicFlows.CameraCapture.rotatePhone.text": "\u5C07\u624B\u6A5F\u65CB\u8F49\u81F3\u5782\u76F4\u756B\u9762\u4EE5\u62CD\u7167", "dynamicFlows.ControlFeedback.maxLength": "\u8ACB\u8F38\u5165\u6700\u591A{maxLength}\u500B\u5B57\u5143\u3002", "dynamicFlows.ControlFeedback.maximum": "\u8ACB\u8F38\u5165\u4E00\u500B\u5C0F\u65BC\u6216\u7B49\u65BC{maximum}\u7684\u6578\u5B57\u3002", "dynamicFlows.ControlFeedback.maximumDate": "\u8ACB\u8F38\u5165{maximum}\u6216\u4E4B\u524D\u7684\u65E5\u671F\u3002", "dynamicFlows.ControlFeedback.minLength": "\u8ACB\u8F38\u5165\u81F3\u5C11{minLength}\u500B\u5B57\u5143\u3002", "dynamicFlows.ControlFeedback.minimum": "\u8ACB\u8F38\u5165\u4E00\u500B\u5927\u65BC\u6216\u7B49\u65BC{minimum}\u7684\u6578\u5B57\u3002", "dynamicFlows.ControlFeedback.minimumDate": "\u8ACB\u8F38\u5165{minimum}\u6216\u4E4B\u5F8C\u7684\u65E5\u671F\u3002", "dynamicFlows.ControlFeedback.pattern": "\u8ACB\u4EE5\u6B63\u78BA\u683C\u5F0F\u8F38\u5165\u5185\u5BB9\u3002", "dynamicFlows.ControlFeedback.patternDate": "\u8ACB\u4EE5\u6B63\u78BA\u683C\u5F0F\u8F38\u5165\u65E5\u671F\u3002", "dynamicFlows.ControlFeedback.required": "\u8ACB\u586B\u5BEB\u6B64\u6B04\u4F4D\u3002", "dynamicFlows.ControlFeedback.type": "\u932F\u8AA4\u7684\u985E\u578B", "dynamicFlows.DefaultErrorMessages.required": "\u8ACB\u586B\u5BEB\u6B64\u6B04\u4F4D\u3002", "dynamicFlows.DynamicExternal.retryTitle": "\u91CD\u65B0\u6253\u958B\u8996\u7A97", "dynamicFlows.DynamicParagraph.copied": "\u8907\u88FD\u5230\u526A\u8CBC\u677F", "dynamicFlows.DynamicParagraph.copy": "\u8907\u88FD", "dynamicFlows.ErrorBoundary.errorAlert": "\u5662\uFF01\u51FA\u4E86\u4E9B\u554F\u984C...", "dynamicFlows.ErrorBoundary.retry": "\u91CD\u8A66", "dynamicFlows.ExternalConfirmation.cancel": "\u53D6\u6D88", "dynamicFlows.ExternalConfirmation.description": "\u8ACB\u78BA\u8A8D\u4F60\u662F\u5426\u8981\u5728\u700F\u89BD\u5668\u7684\u65B0\u5206\u9801\u6253\u958B**{origin}**\u3002", "dynamicFlows.ExternalConfirmation.open": "\u5728\u65B0\u5206\u9801\u4E2D\u958B\u555F", "dynamicFlows.ExternalConfirmation.title": "\u8ACB\u78BA\u8A8D", "dynamicFlows.Help.ariaLabel": "\u6309\u6B64\u67E5\u770B\u8A73\u60C5\u3002", "dynamicFlows.MultipleFileUploadSchema.maxFileSizeError": "\u62B1\u6B49\uFF0C\u8A72\u6A94\u6848\u592A\u5927\u3002\u8ACB\u4E0A\u8F09\u4E00\u500B\u8F03\u5C0F\u7684\u6A94\u6848\u3002", "dynamicFlows.MultipleFileUploadSchema.maxItemsError": "\u8ACB\u4E0D\u8981\u4E0A\u8F09\u8D85\u904E{maxItems}\u500B\u6A94\u6848\u3002", "dynamicFlows.MultipleFileUploadSchema.minItemsError": "\u8ACB\u4E0A\u8F09\u81F3\u5C11{minItems}\u500B\u6A94\u6848\u3002", "dynamicFlows.PersistAsyncSchema.genericError": "\u51FA\u4E86\u4E9B\u554F\u984C\uFF0C\u8ACB\u7A0D\u5F8C\u518D\u8A66\u3002", "dynamicFlows.ReadOnlySchema.no": "\u5426", "dynamicFlows.ReadOnlySchema.yes": "\u662F" };
|
|
3089
|
+
var Lp = { en: xm, de: bm, es: vm, fr: Am, hu: Om, id: Pm, it: Mm, ja: km, pl: Em, pt: Im, ro: Dm, ru: Lm, th: Tm, tr: Rm, zh: tn, "zh-CN": tn, "zh-HK": Nm };
|
|
3090
|
+
var Bm = Lp;
|
|
3087
3091
|
}
|
|
3088
3092
|
});
|
|
3089
3093
|
|