@mieweb/forms-renderer 0.1.7 → 0.1.9
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/README.md +117 -33
- package/dist/react.js +291 -363
- package/dist/react.js.map +1 -1
- package/dist/standalone.js +4582 -4621
- package/dist/standalone.js.map +1 -1
- package/dist/standalone.umd.cjs +53 -53
- package/dist/standalone.umd.cjs.map +1 -1
- package/package.json +48 -48
package/dist/react.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { useUIApi as
|
|
3
|
-
var
|
|
1
|
+
import P, { useMemo as vr } from "react";
|
|
2
|
+
import { useUIApi as Pe, useFormStore as Z, getFieldComponent as pr, useVisibleFields as br } from "@mieweb/forms-engine";
|
|
3
|
+
var B = { exports: {} }, W = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -10,21 +10,21 @@ var q = { exports: {} }, Y = {};
|
|
|
10
10
|
* This source code is licensed under the MIT license found in the
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
|
-
var
|
|
13
|
+
var Se;
|
|
14
14
|
function mr() {
|
|
15
|
-
if (
|
|
16
|
-
|
|
17
|
-
var
|
|
18
|
-
function T(
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
for (
|
|
22
|
-
if (
|
|
23
|
-
return { $$typeof:
|
|
15
|
+
if (Se) return W;
|
|
16
|
+
Se = 1;
|
|
17
|
+
var g = P, f = Symbol.for("react.element"), d = Symbol.for("react.fragment"), v = Object.prototype.hasOwnProperty, _ = g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, D = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
|
+
function T(E, c, j) {
|
|
19
|
+
var y, h = {}, x = null, N = null;
|
|
20
|
+
j !== void 0 && (x = "" + j), c.key !== void 0 && (x = "" + c.key), c.ref !== void 0 && (N = c.ref);
|
|
21
|
+
for (y in c) v.call(c, y) && !D.hasOwnProperty(y) && (h[y] = c[y]);
|
|
22
|
+
if (E && E.defaultProps) for (y in c = E.defaultProps, c) h[y] === void 0 && (h[y] = c[y]);
|
|
23
|
+
return { $$typeof: f, type: E, key: x, ref: N, props: h, _owner: _.current };
|
|
24
24
|
}
|
|
25
|
-
return
|
|
25
|
+
return W.Fragment = d, W.jsx = T, W.jsxs = T, W;
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var Y = {};
|
|
28
28
|
/**
|
|
29
29
|
* @license React
|
|
30
30
|
* react-jsx-runtime.development.js
|
|
@@ -34,91 +34,91 @@ var V = {};
|
|
|
34
34
|
* This source code is licensed under the MIT license found in the
|
|
35
35
|
* LICENSE file in the root directory of this source tree.
|
|
36
36
|
*/
|
|
37
|
-
var
|
|
38
|
-
function
|
|
39
|
-
return
|
|
40
|
-
var
|
|
41
|
-
function
|
|
37
|
+
var we;
|
|
38
|
+
function yr() {
|
|
39
|
+
return we || (we = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
40
|
+
var g = P, f = Symbol.for("react.element"), d = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), _ = Symbol.for("react.strict_mode"), D = Symbol.for("react.profiler"), T = Symbol.for("react.provider"), E = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), j = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), ee = Symbol.iterator, je = "@@iterator";
|
|
41
|
+
function ke(e) {
|
|
42
42
|
if (e === null || typeof e != "object")
|
|
43
43
|
return null;
|
|
44
|
-
var r = ee && e[ee] || e[
|
|
44
|
+
var r = ee && e[ee] || e[je];
|
|
45
45
|
return typeof r == "function" ? r : null;
|
|
46
46
|
}
|
|
47
|
-
var
|
|
48
|
-
function
|
|
47
|
+
var k = g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
48
|
+
function p(e) {
|
|
49
49
|
{
|
|
50
50
|
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
51
51
|
t[n - 1] = arguments[n];
|
|
52
|
-
|
|
52
|
+
Fe("error", e, t);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function Fe(e, r, t) {
|
|
56
56
|
{
|
|
57
|
-
var n =
|
|
58
|
-
|
|
59
|
-
var
|
|
60
|
-
return String(
|
|
57
|
+
var n = k.ReactDebugCurrentFrame, o = n.getStackAddendum();
|
|
58
|
+
o !== "" && (r += "%s", t = t.concat([o]));
|
|
59
|
+
var u = t.map(function(i) {
|
|
60
|
+
return String(i);
|
|
61
61
|
});
|
|
62
|
-
|
|
62
|
+
u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var Ae = !1, De = !1, Ie = !1, $e = !1, We = !1, re;
|
|
66
66
|
re = Symbol.for("react.module.reference");
|
|
67
|
-
function
|
|
68
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
67
|
+
function Ye(e) {
|
|
68
|
+
return !!(typeof e == "string" || typeof e == "function" || e === v || e === D || We || e === _ || e === j || e === y || $e || e === N || Ae || De || Ie || typeof e == "object" && e !== null && (e.$$typeof === x || e.$$typeof === h || e.$$typeof === T || e.$$typeof === E || e.$$typeof === c || // This needs to include all possible module reference object
|
|
69
69
|
// types supported by any Flight configuration anywhere since
|
|
70
70
|
// we don't know which Flight build this will end up being used
|
|
71
71
|
// with.
|
|
72
72
|
e.$$typeof === re || e.getModuleId !== void 0));
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function Ne(e, r, t) {
|
|
75
75
|
var n = e.displayName;
|
|
76
76
|
if (n)
|
|
77
77
|
return n;
|
|
78
|
-
var
|
|
79
|
-
return
|
|
78
|
+
var o = r.displayName || r.name || "";
|
|
79
|
+
return o !== "" ? t + "(" + o + ")" : t;
|
|
80
80
|
}
|
|
81
81
|
function te(e) {
|
|
82
82
|
return e.displayName || "Context";
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function O(e) {
|
|
85
85
|
if (e == null)
|
|
86
86
|
return null;
|
|
87
|
-
if (typeof e.tag == "number" &&
|
|
87
|
+
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
88
88
|
return e.displayName || e.name || null;
|
|
89
89
|
if (typeof e == "string")
|
|
90
90
|
return e;
|
|
91
91
|
switch (e) {
|
|
92
|
-
case
|
|
92
|
+
case v:
|
|
93
93
|
return "Fragment";
|
|
94
|
-
case
|
|
94
|
+
case d:
|
|
95
95
|
return "Portal";
|
|
96
|
-
case
|
|
96
|
+
case D:
|
|
97
97
|
return "Profiler";
|
|
98
|
-
case
|
|
98
|
+
case _:
|
|
99
99
|
return "StrictMode";
|
|
100
|
-
case
|
|
100
|
+
case j:
|
|
101
101
|
return "Suspense";
|
|
102
|
-
case
|
|
102
|
+
case y:
|
|
103
103
|
return "SuspenseList";
|
|
104
104
|
}
|
|
105
105
|
if (typeof e == "object")
|
|
106
106
|
switch (e.$$typeof) {
|
|
107
|
-
case
|
|
107
|
+
case E:
|
|
108
108
|
var r = e;
|
|
109
109
|
return te(r) + ".Consumer";
|
|
110
110
|
case T:
|
|
111
111
|
var t = e;
|
|
112
112
|
return te(t._context) + ".Provider";
|
|
113
|
-
case
|
|
114
|
-
return
|
|
115
|
-
case
|
|
113
|
+
case c:
|
|
114
|
+
return Ne(e, e.render, "ForwardRef");
|
|
115
|
+
case h:
|
|
116
116
|
var n = e.displayName || null;
|
|
117
|
-
return n !== null ? n :
|
|
117
|
+
return n !== null ? n : O(e.type) || "Memo";
|
|
118
118
|
case x: {
|
|
119
|
-
var
|
|
119
|
+
var o = e, u = o._payload, i = o._init;
|
|
120
120
|
try {
|
|
121
|
-
return
|
|
121
|
+
return O(i(u));
|
|
122
122
|
} catch {
|
|
123
123
|
return null;
|
|
124
124
|
}
|
|
@@ -126,18 +126,18 @@ function Rr() {
|
|
|
126
126
|
}
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
129
|
-
var
|
|
130
|
-
function
|
|
129
|
+
var S = Object.assign, I = 0, ne, ae, ie, oe, ue, se, le;
|
|
130
|
+
function fe() {
|
|
131
131
|
}
|
|
132
|
-
|
|
133
|
-
function
|
|
132
|
+
fe.__reactDisabledLog = !0;
|
|
133
|
+
function Ve() {
|
|
134
134
|
{
|
|
135
|
-
if (
|
|
135
|
+
if (I === 0) {
|
|
136
136
|
ne = console.log, ae = console.info, ie = console.warn, oe = console.error, ue = console.group, se = console.groupCollapsed, le = console.groupEnd;
|
|
137
137
|
var e = {
|
|
138
138
|
configurable: !0,
|
|
139
139
|
enumerable: !0,
|
|
140
|
-
value:
|
|
140
|
+
value: fe,
|
|
141
141
|
writable: !0
|
|
142
142
|
};
|
|
143
143
|
Object.defineProperties(console, {
|
|
@@ -150,64 +150,64 @@ function Rr() {
|
|
|
150
150
|
groupEnd: e
|
|
151
151
|
});
|
|
152
152
|
}
|
|
153
|
-
|
|
153
|
+
I++;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function Le() {
|
|
157
157
|
{
|
|
158
|
-
if (
|
|
158
|
+
if (I--, I === 0) {
|
|
159
159
|
var e = {
|
|
160
160
|
configurable: !0,
|
|
161
161
|
enumerable: !0,
|
|
162
162
|
writable: !0
|
|
163
163
|
};
|
|
164
164
|
Object.defineProperties(console, {
|
|
165
|
-
log:
|
|
165
|
+
log: S({}, e, {
|
|
166
166
|
value: ne
|
|
167
167
|
}),
|
|
168
|
-
info:
|
|
168
|
+
info: S({}, e, {
|
|
169
169
|
value: ae
|
|
170
170
|
}),
|
|
171
|
-
warn:
|
|
171
|
+
warn: S({}, e, {
|
|
172
172
|
value: ie
|
|
173
173
|
}),
|
|
174
|
-
error:
|
|
174
|
+
error: S({}, e, {
|
|
175
175
|
value: oe
|
|
176
176
|
}),
|
|
177
|
-
group:
|
|
177
|
+
group: S({}, e, {
|
|
178
178
|
value: ue
|
|
179
179
|
}),
|
|
180
|
-
groupCollapsed:
|
|
180
|
+
groupCollapsed: S({}, e, {
|
|
181
181
|
value: se
|
|
182
182
|
}),
|
|
183
|
-
groupEnd:
|
|
183
|
+
groupEnd: S({}, e, {
|
|
184
184
|
value: le
|
|
185
185
|
})
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
|
-
|
|
188
|
+
I < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
var
|
|
192
|
-
function
|
|
191
|
+
var J = k.ReactCurrentDispatcher, q;
|
|
192
|
+
function V(e, r, t) {
|
|
193
193
|
{
|
|
194
|
-
if (
|
|
194
|
+
if (q === void 0)
|
|
195
195
|
try {
|
|
196
196
|
throw Error();
|
|
197
|
-
} catch (
|
|
198
|
-
var n =
|
|
199
|
-
|
|
197
|
+
} catch (o) {
|
|
198
|
+
var n = o.stack.trim().match(/\n( *(at )?)/);
|
|
199
|
+
q = n && n[1] || "";
|
|
200
200
|
}
|
|
201
201
|
return `
|
|
202
|
-
` +
|
|
202
|
+
` + q + e;
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
205
|
var K = !1, L;
|
|
206
206
|
{
|
|
207
|
-
var
|
|
208
|
-
L = new
|
|
207
|
+
var Me = typeof WeakMap == "function" ? WeakMap : Map;
|
|
208
|
+
L = new Me();
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function ce(e, r) {
|
|
211
211
|
if (!e || K)
|
|
212
212
|
return "";
|
|
213
213
|
{
|
|
@@ -217,141 +217,141 @@ function Rr() {
|
|
|
217
217
|
}
|
|
218
218
|
var n;
|
|
219
219
|
K = !0;
|
|
220
|
-
var
|
|
220
|
+
var o = Error.prepareStackTrace;
|
|
221
221
|
Error.prepareStackTrace = void 0;
|
|
222
|
-
var
|
|
223
|
-
|
|
222
|
+
var u;
|
|
223
|
+
u = J.current, J.current = null, Ve();
|
|
224
224
|
try {
|
|
225
225
|
if (r) {
|
|
226
|
-
var
|
|
226
|
+
var i = function() {
|
|
227
227
|
throw Error();
|
|
228
228
|
};
|
|
229
|
-
if (Object.defineProperty(
|
|
229
|
+
if (Object.defineProperty(i.prototype, "props", {
|
|
230
230
|
set: function() {
|
|
231
231
|
throw Error();
|
|
232
232
|
}
|
|
233
233
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
234
234
|
try {
|
|
235
|
-
Reflect.construct(
|
|
236
|
-
} catch (
|
|
237
|
-
n =
|
|
235
|
+
Reflect.construct(i, []);
|
|
236
|
+
} catch (m) {
|
|
237
|
+
n = m;
|
|
238
238
|
}
|
|
239
|
-
Reflect.construct(e, [],
|
|
239
|
+
Reflect.construct(e, [], i);
|
|
240
240
|
} else {
|
|
241
241
|
try {
|
|
242
|
-
|
|
243
|
-
} catch (
|
|
244
|
-
n =
|
|
242
|
+
i.call();
|
|
243
|
+
} catch (m) {
|
|
244
|
+
n = m;
|
|
245
245
|
}
|
|
246
|
-
e.call(
|
|
246
|
+
e.call(i.prototype);
|
|
247
247
|
}
|
|
248
248
|
} else {
|
|
249
249
|
try {
|
|
250
250
|
throw Error();
|
|
251
|
-
} catch (
|
|
252
|
-
n =
|
|
251
|
+
} catch (m) {
|
|
252
|
+
n = m;
|
|
253
253
|
}
|
|
254
254
|
e();
|
|
255
255
|
}
|
|
256
|
-
} catch (
|
|
257
|
-
if (
|
|
258
|
-
for (var
|
|
259
|
-
`),
|
|
260
|
-
`),
|
|
261
|
-
|
|
262
|
-
for (;
|
|
263
|
-
if (
|
|
264
|
-
if (
|
|
256
|
+
} catch (m) {
|
|
257
|
+
if (m && n && typeof m.stack == "string") {
|
|
258
|
+
for (var a = m.stack.split(`
|
|
259
|
+
`), b = n.stack.split(`
|
|
260
|
+
`), s = a.length - 1, l = b.length - 1; s >= 1 && l >= 0 && a[s] !== b[l]; )
|
|
261
|
+
l--;
|
|
262
|
+
for (; s >= 1 && l >= 0; s--, l--)
|
|
263
|
+
if (a[s] !== b[l]) {
|
|
264
|
+
if (s !== 1 || l !== 1)
|
|
265
265
|
do
|
|
266
|
-
if (
|
|
267
|
-
var
|
|
268
|
-
` +
|
|
269
|
-
return e.displayName &&
|
|
266
|
+
if (s--, l--, l < 0 || a[s] !== b[l]) {
|
|
267
|
+
var R = `
|
|
268
|
+
` + a[s].replace(" at new ", " at ");
|
|
269
|
+
return e.displayName && R.includes("<anonymous>") && (R = R.replace("<anonymous>", e.displayName)), typeof e == "function" && L.set(e, R), R;
|
|
270
270
|
}
|
|
271
|
-
while (
|
|
271
|
+
while (s >= 1 && l >= 0);
|
|
272
272
|
break;
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
} finally {
|
|
276
|
-
K = !1,
|
|
276
|
+
K = !1, J.current = u, Le(), Error.prepareStackTrace = o;
|
|
277
277
|
}
|
|
278
|
-
var
|
|
279
|
-
return typeof e == "function" && L.set(e,
|
|
278
|
+
var A = e ? e.displayName || e.name : "", w = A ? V(A) : "";
|
|
279
|
+
return typeof e == "function" && L.set(e, w), w;
|
|
280
280
|
}
|
|
281
|
-
function
|
|
282
|
-
return
|
|
281
|
+
function Ue(e, r, t) {
|
|
282
|
+
return ce(e, !1);
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function Be(e) {
|
|
285
285
|
var r = e.prototype;
|
|
286
286
|
return !!(r && r.isReactComponent);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function M(e, r, t) {
|
|
289
289
|
if (e == null)
|
|
290
290
|
return "";
|
|
291
291
|
if (typeof e == "function")
|
|
292
|
-
return
|
|
292
|
+
return ce(e, Be(e));
|
|
293
293
|
if (typeof e == "string")
|
|
294
|
-
return
|
|
294
|
+
return V(e);
|
|
295
295
|
switch (e) {
|
|
296
|
-
case
|
|
297
|
-
return
|
|
298
|
-
case
|
|
299
|
-
return
|
|
296
|
+
case j:
|
|
297
|
+
return V("Suspense");
|
|
298
|
+
case y:
|
|
299
|
+
return V("SuspenseList");
|
|
300
300
|
}
|
|
301
301
|
if (typeof e == "object")
|
|
302
302
|
switch (e.$$typeof) {
|
|
303
|
-
case
|
|
304
|
-
return
|
|
305
|
-
case
|
|
306
|
-
return
|
|
303
|
+
case c:
|
|
304
|
+
return Ue(e.render);
|
|
305
|
+
case h:
|
|
306
|
+
return M(e.type, r, t);
|
|
307
307
|
case x: {
|
|
308
|
-
var n = e,
|
|
308
|
+
var n = e, o = n._payload, u = n._init;
|
|
309
309
|
try {
|
|
310
|
-
return
|
|
310
|
+
return M(u(o), r, t);
|
|
311
311
|
} catch {
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
return "";
|
|
316
316
|
}
|
|
317
|
-
var
|
|
318
|
-
function
|
|
317
|
+
var $ = Object.prototype.hasOwnProperty, de = {}, ve = k.ReactDebugCurrentFrame;
|
|
318
|
+
function U(e) {
|
|
319
319
|
if (e) {
|
|
320
|
-
var r = e._owner, t =
|
|
320
|
+
var r = e._owner, t = M(e.type, e._source, r ? r.type : null);
|
|
321
321
|
ve.setExtraStackFrame(t);
|
|
322
322
|
} else
|
|
323
323
|
ve.setExtraStackFrame(null);
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function Je(e, r, t, n, o) {
|
|
326
326
|
{
|
|
327
|
-
var
|
|
328
|
-
for (var
|
|
329
|
-
if (
|
|
330
|
-
var
|
|
327
|
+
var u = Function.call.bind($);
|
|
328
|
+
for (var i in e)
|
|
329
|
+
if (u(e, i)) {
|
|
330
|
+
var a = void 0;
|
|
331
331
|
try {
|
|
332
|
-
if (typeof e[
|
|
333
|
-
var
|
|
334
|
-
throw
|
|
332
|
+
if (typeof e[i] != "function") {
|
|
333
|
+
var b = Error((n || "React class") + ": " + t + " type `" + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[i] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
334
|
+
throw b.name = "Invariant Violation", b;
|
|
335
335
|
}
|
|
336
|
-
|
|
337
|
-
} catch (
|
|
338
|
-
|
|
336
|
+
a = e[i](r, i, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
337
|
+
} catch (s) {
|
|
338
|
+
a = s;
|
|
339
339
|
}
|
|
340
|
-
|
|
340
|
+
a && !(a instanceof Error) && (U(o), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", t, i, typeof a), U(null)), a instanceof Error && !(a.message in de) && (de[a.message] = !0, U(o), p("Failed %s type: %s", t, a.message), U(null));
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
var
|
|
344
|
+
var qe = Array.isArray;
|
|
345
345
|
function z(e) {
|
|
346
|
-
return
|
|
346
|
+
return qe(e);
|
|
347
347
|
}
|
|
348
|
-
function
|
|
348
|
+
function Ke(e) {
|
|
349
349
|
{
|
|
350
350
|
var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
351
351
|
return t;
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
|
-
function
|
|
354
|
+
function ze(e) {
|
|
355
355
|
try {
|
|
356
356
|
return pe(e), !1;
|
|
357
357
|
} catch {
|
|
@@ -362,38 +362,38 @@ function Rr() {
|
|
|
362
362
|
return "" + e;
|
|
363
363
|
}
|
|
364
364
|
function be(e) {
|
|
365
|
-
if (
|
|
366
|
-
return
|
|
365
|
+
if (ze(e))
|
|
366
|
+
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ke(e)), pe(e);
|
|
367
367
|
}
|
|
368
|
-
var
|
|
368
|
+
var me = k.ReactCurrentOwner, Ge = {
|
|
369
369
|
key: !0,
|
|
370
370
|
ref: !0,
|
|
371
371
|
__self: !0,
|
|
372
372
|
__source: !0
|
|
373
|
-
},
|
|
374
|
-
function
|
|
375
|
-
if (
|
|
373
|
+
}, ye, ge;
|
|
374
|
+
function Xe(e) {
|
|
375
|
+
if ($.call(e, "ref")) {
|
|
376
376
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
377
377
|
if (r && r.isReactWarning)
|
|
378
378
|
return !1;
|
|
379
379
|
}
|
|
380
380
|
return e.ref !== void 0;
|
|
381
381
|
}
|
|
382
|
-
function
|
|
383
|
-
if (
|
|
382
|
+
function He(e) {
|
|
383
|
+
if ($.call(e, "key")) {
|
|
384
384
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
385
385
|
if (r && r.isReactWarning)
|
|
386
386
|
return !1;
|
|
387
387
|
}
|
|
388
388
|
return e.key !== void 0;
|
|
389
389
|
}
|
|
390
|
-
function
|
|
391
|
-
typeof e.ref == "string" &&
|
|
390
|
+
function Qe(e, r) {
|
|
391
|
+
typeof e.ref == "string" && me.current;
|
|
392
392
|
}
|
|
393
|
-
function
|
|
393
|
+
function Ze(e, r) {
|
|
394
394
|
{
|
|
395
395
|
var t = function() {
|
|
396
|
-
|
|
396
|
+
ye || (ye = !0, p("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
397
397
|
};
|
|
398
398
|
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
399
399
|
get: t,
|
|
@@ -401,10 +401,10 @@ function Rr() {
|
|
|
401
401
|
});
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function er(e, r) {
|
|
405
405
|
{
|
|
406
406
|
var t = function() {
|
|
407
|
-
|
|
407
|
+
ge || (ge = !0, p("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
408
408
|
};
|
|
409
409
|
t.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
410
410
|
get: t,
|
|
@@ -412,70 +412,70 @@ function Rr() {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
var
|
|
416
|
-
var
|
|
415
|
+
var rr = function(e, r, t, n, o, u, i) {
|
|
416
|
+
var a = {
|
|
417
417
|
// This tag allows us to uniquely identify this as a React Element
|
|
418
|
-
$$typeof:
|
|
418
|
+
$$typeof: f,
|
|
419
419
|
// Built-in properties that belong on the element
|
|
420
420
|
type: e,
|
|
421
421
|
key: r,
|
|
422
422
|
ref: t,
|
|
423
|
-
props:
|
|
423
|
+
props: i,
|
|
424
424
|
// Record the component responsible for creating this element.
|
|
425
|
-
_owner:
|
|
425
|
+
_owner: u
|
|
426
426
|
};
|
|
427
|
-
return
|
|
427
|
+
return a._store = {}, Object.defineProperty(a._store, "validated", {
|
|
428
428
|
configurable: !1,
|
|
429
429
|
enumerable: !1,
|
|
430
430
|
writable: !0,
|
|
431
431
|
value: !1
|
|
432
|
-
}), Object.defineProperty(
|
|
432
|
+
}), Object.defineProperty(a, "_self", {
|
|
433
433
|
configurable: !1,
|
|
434
434
|
enumerable: !1,
|
|
435
435
|
writable: !1,
|
|
436
436
|
value: n
|
|
437
|
-
}), Object.defineProperty(
|
|
437
|
+
}), Object.defineProperty(a, "_source", {
|
|
438
438
|
configurable: !1,
|
|
439
439
|
enumerable: !1,
|
|
440
440
|
writable: !1,
|
|
441
|
-
value:
|
|
442
|
-
}), Object.freeze && (Object.freeze(
|
|
441
|
+
value: o
|
|
442
|
+
}), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
|
|
443
443
|
};
|
|
444
|
-
function
|
|
444
|
+
function tr(e, r, t, n, o) {
|
|
445
445
|
{
|
|
446
|
-
var
|
|
447
|
-
t !== void 0 && (be(t),
|
|
448
|
-
for (
|
|
449
|
-
|
|
446
|
+
var u, i = {}, a = null, b = null;
|
|
447
|
+
t !== void 0 && (be(t), a = "" + t), He(r) && (be(r.key), a = "" + r.key), Xe(r) && (b = r.ref, Qe(r, o));
|
|
448
|
+
for (u in r)
|
|
449
|
+
$.call(r, u) && !Ge.hasOwnProperty(u) && (i[u] = r[u]);
|
|
450
450
|
if (e && e.defaultProps) {
|
|
451
|
-
var
|
|
452
|
-
for (
|
|
453
|
-
|
|
451
|
+
var s = e.defaultProps;
|
|
452
|
+
for (u in s)
|
|
453
|
+
i[u] === void 0 && (i[u] = s[u]);
|
|
454
454
|
}
|
|
455
|
-
if (
|
|
456
|
-
var
|
|
457
|
-
|
|
455
|
+
if (a || b) {
|
|
456
|
+
var l = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
457
|
+
a && Ze(i, l), b && er(i, l);
|
|
458
458
|
}
|
|
459
|
-
return
|
|
459
|
+
return rr(e, a, b, o, n, me.current, i);
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
|
-
var G =
|
|
462
|
+
var G = k.ReactCurrentOwner, Re = k.ReactDebugCurrentFrame;
|
|
463
463
|
function F(e) {
|
|
464
464
|
if (e) {
|
|
465
|
-
var r = e._owner, t =
|
|
466
|
-
|
|
465
|
+
var r = e._owner, t = M(e.type, e._source, r ? r.type : null);
|
|
466
|
+
Re.setExtraStackFrame(t);
|
|
467
467
|
} else
|
|
468
|
-
|
|
468
|
+
Re.setExtraStackFrame(null);
|
|
469
469
|
}
|
|
470
|
-
var
|
|
471
|
-
|
|
472
|
-
function
|
|
473
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
470
|
+
var X;
|
|
471
|
+
X = !1;
|
|
472
|
+
function H(e) {
|
|
473
|
+
return typeof e == "object" && e !== null && e.$$typeof === f;
|
|
474
474
|
}
|
|
475
|
-
function
|
|
475
|
+
function Ee() {
|
|
476
476
|
{
|
|
477
477
|
if (G.current) {
|
|
478
|
-
var e =
|
|
478
|
+
var e = O(G.current.type);
|
|
479
479
|
if (e)
|
|
480
480
|
return `
|
|
481
481
|
|
|
@@ -484,13 +484,13 @@ Check the render method of \`` + e + "`.";
|
|
|
484
484
|
return "";
|
|
485
485
|
}
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function nr(e) {
|
|
488
488
|
return "";
|
|
489
489
|
}
|
|
490
|
-
var
|
|
491
|
-
function
|
|
490
|
+
var he = {};
|
|
491
|
+
function ar(e) {
|
|
492
492
|
{
|
|
493
|
-
var r =
|
|
493
|
+
var r = Ee();
|
|
494
494
|
if (!r) {
|
|
495
495
|
var t = typeof e == "string" ? e : e.displayName || e.name;
|
|
496
496
|
t && (r = `
|
|
@@ -505,12 +505,12 @@ Check the top-level render call using <` + t + ">.");
|
|
|
505
505
|
if (!e._store || e._store.validated || e.key != null)
|
|
506
506
|
return;
|
|
507
507
|
e._store.validated = !0;
|
|
508
|
-
var t =
|
|
509
|
-
if (
|
|
508
|
+
var t = ar(r);
|
|
509
|
+
if (he[t])
|
|
510
510
|
return;
|
|
511
|
-
|
|
511
|
+
he[t] = !0;
|
|
512
512
|
var n = "";
|
|
513
|
-
e && e._owner && e._owner !== G.current && (n = " It was passed a child from " +
|
|
513
|
+
e && e._owner && e._owner !== G.current && (n = " It was passed a child from " + O(e._owner.type) + "."), F(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), F(null);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
516
|
function Te(e, r) {
|
|
@@ -520,19 +520,19 @@ Check the top-level render call using <` + t + ">.");
|
|
|
520
520
|
if (z(e))
|
|
521
521
|
for (var t = 0; t < e.length; t++) {
|
|
522
522
|
var n = e[t];
|
|
523
|
-
|
|
523
|
+
H(n) && _e(n, r);
|
|
524
524
|
}
|
|
525
|
-
else if (
|
|
525
|
+
else if (H(e))
|
|
526
526
|
e._store && (e._store.validated = !0);
|
|
527
527
|
else if (e) {
|
|
528
|
-
var
|
|
529
|
-
if (typeof
|
|
530
|
-
for (var
|
|
531
|
-
|
|
528
|
+
var o = ke(e);
|
|
529
|
+
if (typeof o == "function" && o !== e.entries)
|
|
530
|
+
for (var u = o.call(e), i; !(i = u.next()).done; )
|
|
531
|
+
H(i.value) && _e(i.value, r);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
|
-
function
|
|
535
|
+
function ir(e) {
|
|
536
536
|
{
|
|
537
537
|
var r = e.type;
|
|
538
538
|
if (r == null || typeof r == "string")
|
|
@@ -540,209 +540,137 @@ Check the top-level render call using <` + t + ">.");
|
|
|
540
540
|
var t;
|
|
541
541
|
if (typeof r == "function")
|
|
542
542
|
t = r.propTypes;
|
|
543
|
-
else if (typeof r == "object" && (r.$$typeof ===
|
|
543
|
+
else if (typeof r == "object" && (r.$$typeof === c || // Note: Memo only checks outer props here.
|
|
544
544
|
// Inner props are checked in the reconciler.
|
|
545
|
-
r.$$typeof ===
|
|
545
|
+
r.$$typeof === h))
|
|
546
546
|
t = r.propTypes;
|
|
547
547
|
else
|
|
548
548
|
return;
|
|
549
549
|
if (t) {
|
|
550
|
-
var n =
|
|
551
|
-
|
|
552
|
-
} else if (r.PropTypes !== void 0 && !
|
|
553
|
-
|
|
554
|
-
var
|
|
555
|
-
|
|
550
|
+
var n = O(r);
|
|
551
|
+
Je(t, e.props, "prop", n, e);
|
|
552
|
+
} else if (r.PropTypes !== void 0 && !X) {
|
|
553
|
+
X = !0;
|
|
554
|
+
var o = O(r);
|
|
555
|
+
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", o || "Unknown");
|
|
556
556
|
}
|
|
557
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved &&
|
|
557
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
|
-
function
|
|
560
|
+
function or(e) {
|
|
561
561
|
{
|
|
562
562
|
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
|
563
563
|
var n = r[t];
|
|
564
564
|
if (n !== "children" && n !== "key") {
|
|
565
|
-
F(e),
|
|
565
|
+
F(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), F(null);
|
|
566
566
|
break;
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
|
-
e.ref !== null && (F(e),
|
|
569
|
+
e.ref !== null && (F(e), p("Invalid attribute `ref` supplied to `React.Fragment`."), F(null));
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
var
|
|
573
|
-
function
|
|
572
|
+
var Oe = {};
|
|
573
|
+
function xe(e, r, t, n, o, u) {
|
|
574
574
|
{
|
|
575
|
-
var
|
|
576
|
-
if (!
|
|
577
|
-
var
|
|
578
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
579
|
-
var
|
|
580
|
-
|
|
581
|
-
var
|
|
582
|
-
e === null ?
|
|
575
|
+
var i = Ye(e);
|
|
576
|
+
if (!i) {
|
|
577
|
+
var a = "";
|
|
578
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
579
|
+
var b = nr();
|
|
580
|
+
b ? a += b : a += Ee();
|
|
581
|
+
var s;
|
|
582
|
+
e === null ? s = "null" : z(e) ? s = "array" : e !== void 0 && e.$$typeof === f ? (s = "<" + (O(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : s = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", s, a);
|
|
583
583
|
}
|
|
584
|
-
var
|
|
585
|
-
if (
|
|
586
|
-
return
|
|
587
|
-
if (
|
|
588
|
-
var
|
|
589
|
-
if (
|
|
584
|
+
var l = tr(e, r, t, o, u);
|
|
585
|
+
if (l == null)
|
|
586
|
+
return l;
|
|
587
|
+
if (i) {
|
|
588
|
+
var R = r.children;
|
|
589
|
+
if (R !== void 0)
|
|
590
590
|
if (n)
|
|
591
|
-
if (z(
|
|
592
|
-
for (var
|
|
593
|
-
Te(
|
|
594
|
-
Object.freeze && Object.freeze(
|
|
591
|
+
if (z(R)) {
|
|
592
|
+
for (var A = 0; A < R.length; A++)
|
|
593
|
+
Te(R[A], e);
|
|
594
|
+
Object.freeze && Object.freeze(R);
|
|
595
595
|
} else
|
|
596
|
-
|
|
596
|
+
p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
597
597
|
else
|
|
598
|
-
Te(
|
|
598
|
+
Te(R, e);
|
|
599
599
|
}
|
|
600
|
-
if (
|
|
601
|
-
var
|
|
602
|
-
return
|
|
603
|
-
}),
|
|
604
|
-
if (!
|
|
605
|
-
var
|
|
606
|
-
|
|
600
|
+
if ($.call(r, "key")) {
|
|
601
|
+
var w = O(e), m = Object.keys(r).filter(function(dr) {
|
|
602
|
+
return dr !== "key";
|
|
603
|
+
}), Q = m.length > 0 ? "{key: someKey, " + m.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
604
|
+
if (!Oe[w + Q]) {
|
|
605
|
+
var cr = m.length > 0 ? "{" + m.join(": ..., ") + ": ...}" : "{}";
|
|
606
|
+
p(`A props object containing a "key" prop is being spread into JSX:
|
|
607
607
|
let props = %s;
|
|
608
608
|
<%s {...props} />
|
|
609
609
|
React keys must be passed directly to JSX without using spread:
|
|
610
610
|
let props = %s;
|
|
611
|
-
<%s key={someKey} {...props} />`,
|
|
611
|
+
<%s key={someKey} {...props} />`, Q, w, cr, w), Oe[w + Q] = !0;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
return e ===
|
|
614
|
+
return e === v ? or(l) : ir(l), l;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
-
function
|
|
618
|
-
return
|
|
617
|
+
function ur(e, r, t) {
|
|
618
|
+
return xe(e, r, t, !0);
|
|
619
619
|
}
|
|
620
|
-
function
|
|
621
|
-
return
|
|
620
|
+
function sr(e, r, t) {
|
|
621
|
+
return xe(e, r, t, !1);
|
|
622
622
|
}
|
|
623
|
-
var
|
|
624
|
-
|
|
625
|
-
})()),
|
|
626
|
-
}
|
|
627
|
-
var Pe;
|
|
628
|
-
function Er() {
|
|
629
|
-
return Pe || (Pe = 1, process.env.NODE_ENV === "production" ? q.exports = mr() : q.exports = Rr()), q.exports;
|
|
630
|
-
}
|
|
631
|
-
var w = Er();
|
|
632
|
-
function _r(a) {
|
|
633
|
-
const c = I.useRef(!1), f = Ce();
|
|
634
|
-
I.useEffect(() => {
|
|
635
|
-
c.current || !Array.isArray(a) || (ke.getState().ingest(a), f.preview.set(!0), c.current = !0);
|
|
636
|
-
}, [a, f.preview]);
|
|
637
|
-
}
|
|
638
|
-
function je(a) {
|
|
639
|
-
switch (a.fieldType) {
|
|
640
|
-
case "input":
|
|
641
|
-
return a.answer ? [{ valueString: String(a.answer) }] : [];
|
|
642
|
-
case "radio":
|
|
643
|
-
return a.selected ? [{ valueString: Z(a, a.selected) }] : [];
|
|
644
|
-
case "check":
|
|
645
|
-
return (a.selected || []).map((c) => ({ valueString: Z(a, c) }));
|
|
646
|
-
case "selection":
|
|
647
|
-
return a.selected ? [{ valueString: Z(a, a.selected) }] : [];
|
|
648
|
-
default:
|
|
649
|
-
return [];
|
|
650
|
-
}
|
|
651
|
-
}
|
|
652
|
-
function Z(a, c) {
|
|
653
|
-
const f = (a.options || []).find((s) => s.id === c || s.value === c);
|
|
654
|
-
return f ? f.value : "";
|
|
623
|
+
var lr = sr, fr = ur;
|
|
624
|
+
Y.Fragment = v, Y.jsx = lr, Y.jsxs = fr;
|
|
625
|
+
})()), Y;
|
|
655
626
|
}
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
return
|
|
659
|
-
if (p.fieldType === "section" && Array.isArray(p.fields)) {
|
|
660
|
-
p.fields.forEach((y) => {
|
|
661
|
-
y && s.push({
|
|
662
|
-
linkId: y.id,
|
|
663
|
-
text: y.question || y.title || "",
|
|
664
|
-
answer: je(y)
|
|
665
|
-
});
|
|
666
|
-
});
|
|
667
|
-
return;
|
|
668
|
-
}
|
|
669
|
-
p.fieldType !== "section" && s.push({
|
|
670
|
-
linkId: p.id,
|
|
671
|
-
text: p.question || p.title || "",
|
|
672
|
-
answer: je(p)
|
|
673
|
-
});
|
|
674
|
-
}), {
|
|
675
|
-
resourceType: "QuestionnaireResponse",
|
|
676
|
-
questionnaire: c,
|
|
677
|
-
status: "in-progress",
|
|
678
|
-
subject: f ? { reference: `Patient/${f}` } : void 0,
|
|
679
|
-
item: s
|
|
680
|
-
};
|
|
681
|
-
}
|
|
682
|
-
function wr(a, c, f, s) {
|
|
683
|
-
return I.useCallback((y) => {
|
|
684
|
-
y.preventDefault();
|
|
685
|
-
const T = Tr(a, c, f);
|
|
686
|
-
s == null || s(T);
|
|
687
|
-
}, [a, c, f, s]);
|
|
627
|
+
var Ce;
|
|
628
|
+
function gr() {
|
|
629
|
+
return Ce || (Ce = 1, process.env.NODE_ENV === "production" ? B.exports = mr() : B.exports = yr()), B.exports;
|
|
688
630
|
}
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
}
|
|
696
|
-
return /* @__PURE__ */ w.jsx(s, { field: a });
|
|
631
|
+
var C = gr();
|
|
632
|
+
function Rr(g) {
|
|
633
|
+
const f = P.useRef(!1), d = Pe();
|
|
634
|
+
P.useEffect(() => {
|
|
635
|
+
f.current || !Array.isArray(g) || (Z.getState().replaceAll(g), d.preview.set(!0), f.current = !0);
|
|
636
|
+
}, [g, d.preview]);
|
|
697
637
|
}
|
|
698
|
-
function
|
|
699
|
-
const
|
|
700
|
-
|
|
701
|
-
|
|
638
|
+
const Er = P.memo(function({ id: f }) {
|
|
639
|
+
const d = Z(P.useCallback((_) => _.byId[f], [f]));
|
|
640
|
+
if (!d) return null;
|
|
641
|
+
const v = pr(d.fieldType);
|
|
642
|
+
return v ? /* @__PURE__ */ C.jsx("div", { className: "mb-1.5", "data-field-type": d.fieldType, "data-field-id": d.id, children: /* @__PURE__ */ C.jsx(v, { field: d }) }) : null;
|
|
643
|
+
});
|
|
644
|
+
function hr() {
|
|
645
|
+
const g = Pe(), { fields: f } = br(g.state.isPreview), d = vr(() => f.map((v) => v.id), [f]);
|
|
646
|
+
return /* @__PURE__ */ C.jsx("div", { children: d.map((v) => /* @__PURE__ */ C.jsx(
|
|
647
|
+
Er,
|
|
702
648
|
{
|
|
703
|
-
|
|
704
|
-
allFlat: f,
|
|
705
|
-
isPreview: a.state.isPreview
|
|
649
|
+
id: v
|
|
706
650
|
},
|
|
707
|
-
|
|
651
|
+
v
|
|
708
652
|
)) });
|
|
709
653
|
}
|
|
710
|
-
function Or({
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
className: "px-4 py-2 rounded bg-[#0076a8] text-white shadow hover:bg-[#00628a] transition-colors",
|
|
716
|
-
children: "Submit"
|
|
717
|
-
}
|
|
718
|
-
) });
|
|
719
|
-
}
|
|
720
|
-
function Cr({
|
|
721
|
-
fields: a,
|
|
722
|
-
onChange: c,
|
|
723
|
-
onSubmit: f,
|
|
724
|
-
questionnaireId: s = "questionnaire-1",
|
|
725
|
-
subjectId: p,
|
|
726
|
-
className: y = "",
|
|
727
|
-
fullHeight: T = !1
|
|
654
|
+
function Or({
|
|
655
|
+
fields: g,
|
|
656
|
+
onChange: f,
|
|
657
|
+
className: d = "",
|
|
658
|
+
fullHeight: v = !1
|
|
728
659
|
}) {
|
|
729
|
-
|
|
730
|
-
const
|
|
731
|
-
|
|
732
|
-
}) : void 0, [
|
|
733
|
-
const
|
|
660
|
+
Rr(g), P.useEffect(() => f ? Z.subscribe((T) => {
|
|
661
|
+
const E = T.order.map((c) => T.byId[c]);
|
|
662
|
+
f(E);
|
|
663
|
+
}) : void 0, [f]);
|
|
664
|
+
const _ = [
|
|
734
665
|
"qb-render-root",
|
|
735
666
|
"bg-gray-100",
|
|
736
667
|
"font-titillium",
|
|
737
|
-
|
|
738
|
-
|
|
668
|
+
v ? "min-h-screen" : "",
|
|
669
|
+
d
|
|
739
670
|
].filter(Boolean).join(" ");
|
|
740
|
-
return /* @__PURE__ */
|
|
741
|
-
/* @__PURE__ */ w.jsx(xr, {}),
|
|
742
|
-
/* @__PURE__ */ w.jsx(Or, {})
|
|
743
|
-
] }) });
|
|
671
|
+
return /* @__PURE__ */ C.jsx("div", { className: _, children: /* @__PURE__ */ C.jsx("div", { className: "max-w-4xl mx-auto px-2 pb-8 pt-4", children: /* @__PURE__ */ C.jsx(hr, {}) }) });
|
|
744
672
|
}
|
|
745
673
|
export {
|
|
746
|
-
|
|
674
|
+
Or as QuestionnaireRenderer
|
|
747
675
|
};
|
|
748
676
|
//# sourceMappingURL=react.js.map
|