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