@appkit/dek-lib 0.19.0 → 0.20.0
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/icon-192x192.png +0 -0
- package/dist/icon-256x256.png +0 -0
- package/dist/icon-384x384.png +0 -0
- package/dist/icon-512x512.png +0 -0
- package/dist/index.es.js +791 -528
- package/dist/index.umd.js +791 -528
- package/dist/manifest.webmanifest +32 -0
- package/dist/plugins/sample/boards/SampleBoard.d.ts +4 -0
- package/dist/plugins/sample/components/CenteredText.d.ts +6 -0
- package/dist/plugins/sample/components/JsonView.d.ts +6 -0
- package/dist/plugins/sample/components/ToggleButton.d.ts +5 -0
- package/dist/plugins/sample/plugin.d.ts +11 -0
- package/dist/plugins/sample/screens/SampleScreen/SampleScreen.d.ts +4 -0
- package/package.json +4 -3
package/dist/index.es.js
CHANGED
|
@@ -34,7 +34,8 @@ function getDefaultExportFromCjs(x) {
|
|
|
34
34
|
}
|
|
35
35
|
var jsxRuntime$1 = { exports: {} };
|
|
36
36
|
var reactJsxRuntime_production_min = {};
|
|
37
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* @license React
|
|
38
39
|
* react-jsx-runtime.production.min.js
|
|
39
40
|
*
|
|
40
41
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -47,32 +48,27 @@ function requireReactJsxRuntime_production_min() {
|
|
|
47
48
|
if (hasRequiredReactJsxRuntime_production_min)
|
|
48
49
|
return reactJsxRuntime_production_min;
|
|
49
50
|
hasRequiredReactJsxRuntime_production_min = 1;
|
|
50
|
-
var f2 = React__default,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
g = h2("react.element");
|
|
55
|
-
reactJsxRuntime_production_min.Fragment = h2("react.fragment");
|
|
56
|
-
}
|
|
57
|
-
var m = f2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, n4 = Object.prototype.hasOwnProperty, p2 = { key: true, ref: true, __self: true, __source: true };
|
|
58
|
-
function q(c2, a2, k) {
|
|
59
|
-
var b, d = {}, e4 = null, l2 = null;
|
|
60
|
-
void 0 !== k && (e4 = "" + k);
|
|
51
|
+
var f2 = React__default, k = Symbol.for("react.element"), l2 = Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, n4 = f2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p2 = { key: true, ref: true, __self: true, __source: true };
|
|
52
|
+
function q(c2, a2, g) {
|
|
53
|
+
var b, d = {}, e4 = null, h2 = null;
|
|
54
|
+
void 0 !== g && (e4 = "" + g);
|
|
61
55
|
void 0 !== a2.key && (e4 = "" + a2.key);
|
|
62
|
-
void 0 !== a2.ref && (
|
|
56
|
+
void 0 !== a2.ref && (h2 = a2.ref);
|
|
63
57
|
for (b in a2)
|
|
64
|
-
|
|
58
|
+
m.call(a2, b) && !p2.hasOwnProperty(b) && (d[b] = a2[b]);
|
|
65
59
|
if (c2 && c2.defaultProps)
|
|
66
60
|
for (b in a2 = c2.defaultProps, a2)
|
|
67
61
|
void 0 === d[b] && (d[b] = a2[b]);
|
|
68
|
-
return { $$typeof:
|
|
62
|
+
return { $$typeof: k, type: c2, key: e4, ref: h2, props: d, _owner: n4.current };
|
|
69
63
|
}
|
|
64
|
+
reactJsxRuntime_production_min.Fragment = l2;
|
|
70
65
|
reactJsxRuntime_production_min.jsx = q;
|
|
71
66
|
reactJsxRuntime_production_min.jsxs = q;
|
|
72
67
|
return reactJsxRuntime_production_min;
|
|
73
68
|
}
|
|
74
69
|
var reactJsxRuntime_development = {};
|
|
75
|
-
/**
|
|
70
|
+
/**
|
|
71
|
+
* @license React
|
|
76
72
|
* react-jsx-runtime.development.js
|
|
77
73
|
*
|
|
78
74
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -85,64 +81,37 @@ function requireReactJsxRuntime_development() {
|
|
|
85
81
|
if (hasRequiredReactJsxRuntime_development)
|
|
86
82
|
return reactJsxRuntime_development;
|
|
87
83
|
hasRequiredReactJsxRuntime_development = 1;
|
|
88
|
-
(
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
var REACT_LEGACY_HIDDEN_TYPE = 60131;
|
|
109
|
-
if (typeof Symbol === "function" && Symbol.for) {
|
|
110
|
-
var symbolFor = Symbol.for;
|
|
111
|
-
REACT_ELEMENT_TYPE = symbolFor("react.element");
|
|
112
|
-
REACT_PORTAL_TYPE = symbolFor("react.portal");
|
|
113
|
-
exports.Fragment = symbolFor("react.fragment");
|
|
114
|
-
REACT_STRICT_MODE_TYPE = symbolFor("react.strict_mode");
|
|
115
|
-
REACT_PROFILER_TYPE = symbolFor("react.profiler");
|
|
116
|
-
REACT_PROVIDER_TYPE = symbolFor("react.provider");
|
|
117
|
-
REACT_CONTEXT_TYPE = symbolFor("react.context");
|
|
118
|
-
REACT_FORWARD_REF_TYPE = symbolFor("react.forward_ref");
|
|
119
|
-
REACT_SUSPENSE_TYPE = symbolFor("react.suspense");
|
|
120
|
-
REACT_SUSPENSE_LIST_TYPE = symbolFor("react.suspense_list");
|
|
121
|
-
REACT_MEMO_TYPE = symbolFor("react.memo");
|
|
122
|
-
REACT_LAZY_TYPE = symbolFor("react.lazy");
|
|
123
|
-
REACT_BLOCK_TYPE = symbolFor("react.block");
|
|
124
|
-
REACT_SERVER_BLOCK_TYPE = symbolFor("react.server.block");
|
|
125
|
-
REACT_FUNDAMENTAL_TYPE = symbolFor("react.fundamental");
|
|
126
|
-
symbolFor("react.scope");
|
|
127
|
-
symbolFor("react.opaque.id");
|
|
128
|
-
REACT_DEBUG_TRACING_MODE_TYPE = symbolFor("react.debug_trace_mode");
|
|
129
|
-
symbolFor("react.offscreen");
|
|
130
|
-
REACT_LEGACY_HIDDEN_TYPE = symbolFor("react.legacy_hidden");
|
|
131
|
-
}
|
|
132
|
-
var MAYBE_ITERATOR_SYMBOL = typeof Symbol === "function" && Symbol.iterator;
|
|
133
|
-
var FAUX_ITERATOR_SYMBOL = "@@iterator";
|
|
134
|
-
function getIteratorFn(maybeIterable) {
|
|
135
|
-
if (maybeIterable === null || typeof maybeIterable !== "object") {
|
|
136
|
-
return null;
|
|
137
|
-
}
|
|
138
|
-
var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
|
|
139
|
-
if (typeof maybeIterator === "function") {
|
|
140
|
-
return maybeIterator;
|
|
141
|
-
}
|
|
84
|
+
if (process.env.NODE_ENV !== "production") {
|
|
85
|
+
(function() {
|
|
86
|
+
var React2 = React__default;
|
|
87
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.element");
|
|
88
|
+
var REACT_PORTAL_TYPE = Symbol.for("react.portal");
|
|
89
|
+
var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
90
|
+
var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
|
|
91
|
+
var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
92
|
+
var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
|
|
93
|
+
var REACT_CONTEXT_TYPE = Symbol.for("react.context");
|
|
94
|
+
var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
|
|
95
|
+
var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
|
|
96
|
+
var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
|
|
97
|
+
var REACT_MEMO_TYPE = Symbol.for("react.memo");
|
|
98
|
+
var REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
|
99
|
+
var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
|
|
100
|
+
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
101
|
+
var FAUX_ITERATOR_SYMBOL = "@@iterator";
|
|
102
|
+
function getIteratorFn(maybeIterable) {
|
|
103
|
+
if (maybeIterable === null || typeof maybeIterable !== "object") {
|
|
142
104
|
return null;
|
|
143
105
|
}
|
|
144
|
-
var
|
|
145
|
-
|
|
106
|
+
var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
|
|
107
|
+
if (typeof maybeIterator === "function") {
|
|
108
|
+
return maybeIterator;
|
|
109
|
+
}
|
|
110
|
+
return null;
|
|
111
|
+
}
|
|
112
|
+
var ReactSharedInternals = React2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
113
|
+
function error2(format2) {
|
|
114
|
+
{
|
|
146
115
|
{
|
|
147
116
|
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
148
117
|
args[_key2 - 1] = arguments[_key2];
|
|
@@ -150,546 +119,838 @@ function requireReactJsxRuntime_development() {
|
|
|
150
119
|
printWarning("error", format2, args);
|
|
151
120
|
}
|
|
152
121
|
}
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
}
|
|
162
|
-
stack += ReactDebugCurrentFrame.getStackAddendum();
|
|
163
|
-
if (stack !== "") {
|
|
164
|
-
format2 += "%s";
|
|
165
|
-
args = args.concat([stack]);
|
|
166
|
-
}
|
|
167
|
-
var argsWithFormat = args.map(function(item) {
|
|
168
|
-
return "" + item;
|
|
169
|
-
});
|
|
170
|
-
argsWithFormat.unshift("Warning: " + format2);
|
|
171
|
-
Function.prototype.apply.call(console[level], console, argsWithFormat);
|
|
122
|
+
}
|
|
123
|
+
function printWarning(level, format2, args) {
|
|
124
|
+
{
|
|
125
|
+
var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame;
|
|
126
|
+
var stack = ReactDebugCurrentFrame2.getStackAddendum();
|
|
127
|
+
if (stack !== "") {
|
|
128
|
+
format2 += "%s";
|
|
129
|
+
args = args.concat([stack]);
|
|
172
130
|
}
|
|
131
|
+
var argsWithFormat = args.map(function(item) {
|
|
132
|
+
return String(item);
|
|
133
|
+
});
|
|
134
|
+
argsWithFormat.unshift("Warning: " + format2);
|
|
135
|
+
Function.prototype.apply.call(console[level], console, argsWithFormat);
|
|
173
136
|
}
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
137
|
+
}
|
|
138
|
+
var enableScopeAPI = false;
|
|
139
|
+
var enableCacheElement = false;
|
|
140
|
+
var enableTransitionTracing = false;
|
|
141
|
+
var enableLegacyHidden = false;
|
|
142
|
+
var enableDebugTracing = false;
|
|
143
|
+
var REACT_MODULE_REFERENCE;
|
|
144
|
+
{
|
|
145
|
+
REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
|
|
146
|
+
}
|
|
147
|
+
function isValidElementType(type) {
|
|
148
|
+
if (typeof type === "string" || typeof type === "function") {
|
|
149
|
+
return true;
|
|
150
|
+
}
|
|
151
|
+
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
|
|
152
|
+
return true;
|
|
153
|
+
}
|
|
154
|
+
if (typeof type === "object" && type !== null) {
|
|
155
|
+
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
|
|
156
|
+
// types supported by any Flight configuration anywhere since
|
|
157
|
+
// we don't know which Flight build this will end up being used
|
|
158
|
+
// with.
|
|
159
|
+
type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) {
|
|
180
160
|
return true;
|
|
181
161
|
}
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
162
|
+
}
|
|
163
|
+
return false;
|
|
164
|
+
}
|
|
165
|
+
function getWrappedName(outerType, innerType, wrapperName) {
|
|
166
|
+
var displayName = outerType.displayName;
|
|
167
|
+
if (displayName) {
|
|
168
|
+
return displayName;
|
|
169
|
+
}
|
|
170
|
+
var functionName = innerType.displayName || innerType.name || "";
|
|
171
|
+
return functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName;
|
|
172
|
+
}
|
|
173
|
+
function getContextName(type) {
|
|
174
|
+
return type.displayName || "Context";
|
|
175
|
+
}
|
|
176
|
+
function getComponentNameFromType(type) {
|
|
177
|
+
if (type == null) {
|
|
178
|
+
return null;
|
|
179
|
+
}
|
|
180
|
+
{
|
|
181
|
+
if (typeof type.tag === "number") {
|
|
182
|
+
error2("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");
|
|
186
183
|
}
|
|
187
|
-
return false;
|
|
188
184
|
}
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
185
|
+
if (typeof type === "function") {
|
|
186
|
+
return type.displayName || type.name || null;
|
|
187
|
+
}
|
|
188
|
+
if (typeof type === "string") {
|
|
189
|
+
return type;
|
|
190
|
+
}
|
|
191
|
+
switch (type) {
|
|
192
|
+
case REACT_FRAGMENT_TYPE:
|
|
193
|
+
return "Fragment";
|
|
194
|
+
case REACT_PORTAL_TYPE:
|
|
195
|
+
return "Portal";
|
|
196
|
+
case REACT_PROFILER_TYPE:
|
|
197
|
+
return "Profiler";
|
|
198
|
+
case REACT_STRICT_MODE_TYPE:
|
|
199
|
+
return "StrictMode";
|
|
200
|
+
case REACT_SUSPENSE_TYPE:
|
|
201
|
+
return "Suspense";
|
|
202
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
203
|
+
return "SuspenseList";
|
|
204
|
+
}
|
|
205
|
+
if (typeof type === "object") {
|
|
206
|
+
switch (type.$$typeof) {
|
|
207
|
+
case REACT_CONTEXT_TYPE:
|
|
208
|
+
var context = type;
|
|
209
|
+
return getContextName(context) + ".Consumer";
|
|
210
|
+
case REACT_PROVIDER_TYPE:
|
|
211
|
+
var provider = type;
|
|
212
|
+
return getContextName(provider._context) + ".Provider";
|
|
213
|
+
case REACT_FORWARD_REF_TYPE:
|
|
214
|
+
return getWrappedName(type, type.render, "ForwardRef");
|
|
215
|
+
case REACT_MEMO_TYPE:
|
|
216
|
+
var outerName = type.displayName || null;
|
|
217
|
+
if (outerName !== null) {
|
|
218
|
+
return outerName;
|
|
219
|
+
}
|
|
220
|
+
return getComponentNameFromType(type.type) || "Memo";
|
|
221
|
+
case REACT_LAZY_TYPE: {
|
|
222
|
+
var lazyComponent = type;
|
|
223
|
+
var payload = lazyComponent._payload;
|
|
224
|
+
var init = lazyComponent._init;
|
|
225
|
+
try {
|
|
226
|
+
return getComponentNameFromType(init(payload));
|
|
227
|
+
} catch (x) {
|
|
228
|
+
return null;
|
|
205
229
|
}
|
|
206
230
|
}
|
|
207
|
-
sourceInfo = " (at " + fileName + ":" + source.lineNumber + ")";
|
|
208
|
-
} else if (ownerName) {
|
|
209
|
-
sourceInfo = " (created by " + ownerName + ")";
|
|
210
231
|
}
|
|
211
|
-
return "\n in " + (name || "Unknown") + sourceInfo;
|
|
212
|
-
}
|
|
213
|
-
var Resolved = 1;
|
|
214
|
-
function refineResolvedLazyComponent(lazyComponent) {
|
|
215
|
-
return lazyComponent._status === Resolved ? lazyComponent._result : null;
|
|
216
232
|
}
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
233
|
+
return null;
|
|
234
|
+
}
|
|
235
|
+
var assign2 = Object.assign;
|
|
236
|
+
var disabledDepth = 0;
|
|
237
|
+
var prevLog;
|
|
238
|
+
var prevInfo;
|
|
239
|
+
var prevWarn;
|
|
240
|
+
var prevError;
|
|
241
|
+
var prevGroup;
|
|
242
|
+
var prevGroupCollapsed;
|
|
243
|
+
var prevGroupEnd;
|
|
244
|
+
function disabledLog() {
|
|
245
|
+
}
|
|
246
|
+
disabledLog.__reactDisabledLog = true;
|
|
247
|
+
function disableLogs() {
|
|
248
|
+
{
|
|
249
|
+
if (disabledDepth === 0) {
|
|
250
|
+
prevLog = console.log;
|
|
251
|
+
prevInfo = console.info;
|
|
252
|
+
prevWarn = console.warn;
|
|
253
|
+
prevError = console.error;
|
|
254
|
+
prevGroup = console.group;
|
|
255
|
+
prevGroupCollapsed = console.groupCollapsed;
|
|
256
|
+
prevGroupEnd = console.groupEnd;
|
|
257
|
+
var props = {
|
|
258
|
+
configurable: true,
|
|
259
|
+
enumerable: true,
|
|
260
|
+
value: disabledLog,
|
|
261
|
+
writable: true
|
|
262
|
+
};
|
|
263
|
+
Object.defineProperties(console, {
|
|
264
|
+
info: props,
|
|
265
|
+
log: props,
|
|
266
|
+
warn: props,
|
|
267
|
+
error: props,
|
|
268
|
+
group: props,
|
|
269
|
+
groupCollapsed: props,
|
|
270
|
+
groupEnd: props
|
|
271
|
+
});
|
|
272
|
+
}
|
|
273
|
+
disabledDepth++;
|
|
220
274
|
}
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
275
|
+
}
|
|
276
|
+
function reenableLogs() {
|
|
277
|
+
{
|
|
278
|
+
disabledDepth--;
|
|
279
|
+
if (disabledDepth === 0) {
|
|
280
|
+
var props = {
|
|
281
|
+
configurable: true,
|
|
282
|
+
enumerable: true,
|
|
283
|
+
writable: true
|
|
284
|
+
};
|
|
285
|
+
Object.defineProperties(console, {
|
|
286
|
+
log: assign2({}, props, {
|
|
287
|
+
value: prevLog
|
|
288
|
+
}),
|
|
289
|
+
info: assign2({}, props, {
|
|
290
|
+
value: prevInfo
|
|
291
|
+
}),
|
|
292
|
+
warn: assign2({}, props, {
|
|
293
|
+
value: prevWarn
|
|
294
|
+
}),
|
|
295
|
+
error: assign2({}, props, {
|
|
296
|
+
value: prevError
|
|
297
|
+
}),
|
|
298
|
+
group: assign2({}, props, {
|
|
299
|
+
value: prevGroup
|
|
300
|
+
}),
|
|
301
|
+
groupCollapsed: assign2({}, props, {
|
|
302
|
+
value: prevGroupCollapsed
|
|
303
|
+
}),
|
|
304
|
+
groupEnd: assign2({}, props, {
|
|
305
|
+
value: prevGroupEnd
|
|
306
|
+
})
|
|
307
|
+
});
|
|
224
308
|
}
|
|
225
|
-
{
|
|
226
|
-
|
|
227
|
-
error2("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue.");
|
|
228
|
-
}
|
|
309
|
+
if (disabledDepth < 0) {
|
|
310
|
+
error2("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
229
311
|
}
|
|
230
|
-
|
|
231
|
-
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;
|
|
315
|
+
var prefix;
|
|
316
|
+
function describeBuiltInComponentFrame(name, source, ownerFn) {
|
|
317
|
+
{
|
|
318
|
+
if (prefix === void 0) {
|
|
319
|
+
try {
|
|
320
|
+
throw Error();
|
|
321
|
+
} catch (x) {
|
|
322
|
+
var match = x.stack.trim().match(/\n( *(at )?)/);
|
|
323
|
+
prefix = match && match[1] || "";
|
|
324
|
+
}
|
|
232
325
|
}
|
|
233
|
-
|
|
234
|
-
|
|
326
|
+
return "\n" + prefix + name;
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
var reentry = false;
|
|
330
|
+
var componentFrameCache;
|
|
331
|
+
{
|
|
332
|
+
var PossiblyWeakMap = typeof WeakMap === "function" ? WeakMap : Map;
|
|
333
|
+
componentFrameCache = new PossiblyWeakMap();
|
|
334
|
+
}
|
|
335
|
+
function describeNativeComponentFrame(fn2, construct) {
|
|
336
|
+
if (!fn2 || reentry) {
|
|
337
|
+
return "";
|
|
338
|
+
}
|
|
339
|
+
{
|
|
340
|
+
var frame = componentFrameCache.get(fn2);
|
|
341
|
+
if (frame !== void 0) {
|
|
342
|
+
return frame;
|
|
235
343
|
}
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
344
|
+
}
|
|
345
|
+
var control;
|
|
346
|
+
reentry = true;
|
|
347
|
+
var previousPrepareStackTrace = Error.prepareStackTrace;
|
|
348
|
+
Error.prepareStackTrace = void 0;
|
|
349
|
+
var previousDispatcher;
|
|
350
|
+
{
|
|
351
|
+
previousDispatcher = ReactCurrentDispatcher.current;
|
|
352
|
+
ReactCurrentDispatcher.current = null;
|
|
353
|
+
disableLogs();
|
|
354
|
+
}
|
|
355
|
+
try {
|
|
356
|
+
if (construct) {
|
|
357
|
+
var Fake = function() {
|
|
358
|
+
throw Error();
|
|
359
|
+
};
|
|
360
|
+
Object.defineProperty(Fake.prototype, "props", {
|
|
361
|
+
set: function() {
|
|
362
|
+
throw Error();
|
|
363
|
+
}
|
|
364
|
+
});
|
|
365
|
+
if (typeof Reflect === "object" && Reflect.construct) {
|
|
366
|
+
try {
|
|
367
|
+
Reflect.construct(Fake, []);
|
|
368
|
+
} catch (x) {
|
|
369
|
+
control = x;
|
|
370
|
+
}
|
|
371
|
+
Reflect.construct(fn2, [], Fake);
|
|
372
|
+
} else {
|
|
373
|
+
try {
|
|
374
|
+
Fake.call();
|
|
375
|
+
} catch (x) {
|
|
376
|
+
control = x;
|
|
377
|
+
}
|
|
378
|
+
fn2.call(Fake.prototype);
|
|
379
|
+
}
|
|
380
|
+
} else {
|
|
381
|
+
try {
|
|
382
|
+
throw Error();
|
|
383
|
+
} catch (x) {
|
|
384
|
+
control = x;
|
|
385
|
+
}
|
|
386
|
+
fn2();
|
|
387
|
+
}
|
|
388
|
+
} catch (sample) {
|
|
389
|
+
if (sample && control && typeof sample.stack === "string") {
|
|
390
|
+
var sampleLines = sample.stack.split("\n");
|
|
391
|
+
var controlLines = control.stack.split("\n");
|
|
392
|
+
var s2 = sampleLines.length - 1;
|
|
393
|
+
var c2 = controlLines.length - 1;
|
|
394
|
+
while (s2 >= 1 && c2 >= 0 && sampleLines[s2] !== controlLines[c2]) {
|
|
395
|
+
c2--;
|
|
396
|
+
}
|
|
397
|
+
for (; s2 >= 1 && c2 >= 0; s2--, c2--) {
|
|
398
|
+
if (sampleLines[s2] !== controlLines[c2]) {
|
|
399
|
+
if (s2 !== 1 || c2 !== 1) {
|
|
400
|
+
do {
|
|
401
|
+
s2--;
|
|
402
|
+
c2--;
|
|
403
|
+
if (c2 < 0 || sampleLines[s2] !== controlLines[c2]) {
|
|
404
|
+
var _frame = "\n" + sampleLines[s2].replace(" at new ", " at ");
|
|
405
|
+
if (fn2.displayName && _frame.includes("<anonymous>")) {
|
|
406
|
+
_frame = _frame.replace("<anonymous>", fn2.displayName);
|
|
407
|
+
}
|
|
408
|
+
{
|
|
409
|
+
if (typeof fn2 === "function") {
|
|
410
|
+
componentFrameCache.set(fn2, _frame);
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
return _frame;
|
|
414
|
+
}
|
|
415
|
+
} while (s2 >= 1 && c2 >= 0);
|
|
267
416
|
}
|
|
268
417
|
break;
|
|
269
418
|
}
|
|
270
419
|
}
|
|
271
420
|
}
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
var loggedTypeFailures = {};
|
|
275
|
-
ReactSharedInternals.ReactDebugCurrentFrame;
|
|
276
|
-
var currentlyValidatingElement = null;
|
|
277
|
-
function setCurrentlyValidatingElement(element) {
|
|
421
|
+
} finally {
|
|
422
|
+
reentry = false;
|
|
278
423
|
{
|
|
279
|
-
|
|
424
|
+
ReactCurrentDispatcher.current = previousDispatcher;
|
|
425
|
+
reenableLogs();
|
|
280
426
|
}
|
|
427
|
+
Error.prepareStackTrace = previousPrepareStackTrace;
|
|
281
428
|
}
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
var error$1 = void 0;
|
|
288
|
-
try {
|
|
289
|
-
if (typeof typeSpecs[typeSpecName] !== "function") {
|
|
290
|
-
var err = Error((componentName || "React class") + ": " + location2 + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
291
|
-
err.name = "Invariant Violation";
|
|
292
|
-
throw err;
|
|
293
|
-
}
|
|
294
|
-
error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location2, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
295
|
-
} catch (ex2) {
|
|
296
|
-
error$1 = ex2;
|
|
297
|
-
}
|
|
298
|
-
if (error$1 && !(error$1 instanceof Error)) {
|
|
299
|
-
setCurrentlyValidatingElement(element);
|
|
300
|
-
error2("%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).", componentName || "React class", location2, typeSpecName, typeof error$1);
|
|
301
|
-
setCurrentlyValidatingElement(null);
|
|
302
|
-
}
|
|
303
|
-
if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
|
|
304
|
-
loggedTypeFailures[error$1.message] = true;
|
|
305
|
-
setCurrentlyValidatingElement(element);
|
|
306
|
-
error2("Failed %s type: %s", location2, error$1.message);
|
|
307
|
-
setCurrentlyValidatingElement(null);
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
}
|
|
429
|
+
var name = fn2 ? fn2.displayName || fn2.name : "";
|
|
430
|
+
var syntheticFrame = name ? describeBuiltInComponentFrame(name) : "";
|
|
431
|
+
{
|
|
432
|
+
if (typeof fn2 === "function") {
|
|
433
|
+
componentFrameCache.set(fn2, syntheticFrame);
|
|
311
434
|
}
|
|
312
435
|
}
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
key: true,
|
|
317
|
-
ref: true,
|
|
318
|
-
__self: true,
|
|
319
|
-
__source: true
|
|
320
|
-
};
|
|
321
|
-
var specialPropKeyWarningShown;
|
|
322
|
-
var specialPropRefWarningShown;
|
|
323
|
-
var didWarnAboutStringRefs;
|
|
436
|
+
return syntheticFrame;
|
|
437
|
+
}
|
|
438
|
+
function describeFunctionComponentFrame(fn2, source, ownerFn) {
|
|
324
439
|
{
|
|
325
|
-
|
|
440
|
+
return describeNativeComponentFrame(fn2, false);
|
|
326
441
|
}
|
|
327
|
-
|
|
442
|
+
}
|
|
443
|
+
function shouldConstruct(Component) {
|
|
444
|
+
var prototype2 = Component.prototype;
|
|
445
|
+
return !!(prototype2 && prototype2.isReactComponent);
|
|
446
|
+
}
|
|
447
|
+
function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
|
|
448
|
+
if (type == null) {
|
|
449
|
+
return "";
|
|
450
|
+
}
|
|
451
|
+
if (typeof type === "function") {
|
|
328
452
|
{
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
453
|
+
return describeNativeComponentFrame(type, shouldConstruct(type));
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
if (typeof type === "string") {
|
|
457
|
+
return describeBuiltInComponentFrame(type);
|
|
458
|
+
}
|
|
459
|
+
switch (type) {
|
|
460
|
+
case REACT_SUSPENSE_TYPE:
|
|
461
|
+
return describeBuiltInComponentFrame("Suspense");
|
|
462
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
463
|
+
return describeBuiltInComponentFrame("SuspenseList");
|
|
464
|
+
}
|
|
465
|
+
if (typeof type === "object") {
|
|
466
|
+
switch (type.$$typeof) {
|
|
467
|
+
case REACT_FORWARD_REF_TYPE:
|
|
468
|
+
return describeFunctionComponentFrame(type.render);
|
|
469
|
+
case REACT_MEMO_TYPE:
|
|
470
|
+
return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
|
|
471
|
+
case REACT_LAZY_TYPE: {
|
|
472
|
+
var lazyComponent = type;
|
|
473
|
+
var payload = lazyComponent._payload;
|
|
474
|
+
var init = lazyComponent._init;
|
|
475
|
+
try {
|
|
476
|
+
return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
|
|
477
|
+
} catch (x) {
|
|
333
478
|
}
|
|
334
479
|
}
|
|
335
480
|
}
|
|
336
|
-
return config2.ref !== void 0;
|
|
337
481
|
}
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
482
|
+
return "";
|
|
483
|
+
}
|
|
484
|
+
var hasOwnProperty2 = Object.prototype.hasOwnProperty;
|
|
485
|
+
var loggedTypeFailures = {};
|
|
486
|
+
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
|
|
487
|
+
function setCurrentlyValidatingElement(element) {
|
|
488
|
+
{
|
|
489
|
+
if (element) {
|
|
490
|
+
var owner = element._owner;
|
|
491
|
+
var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
|
|
492
|
+
ReactDebugCurrentFrame.setExtraStackFrame(stack);
|
|
493
|
+
} else {
|
|
494
|
+
ReactDebugCurrentFrame.setExtraStackFrame(null);
|
|
346
495
|
}
|
|
347
|
-
return config2.key !== void 0;
|
|
348
496
|
}
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
497
|
+
}
|
|
498
|
+
function checkPropTypes(typeSpecs, values, location2, componentName, element) {
|
|
499
|
+
{
|
|
500
|
+
var has2 = Function.call.bind(hasOwnProperty2);
|
|
501
|
+
for (var typeSpecName in typeSpecs) {
|
|
502
|
+
if (has2(typeSpecs, typeSpecName)) {
|
|
503
|
+
var error$1 = void 0;
|
|
504
|
+
try {
|
|
505
|
+
if (typeof typeSpecs[typeSpecName] !== "function") {
|
|
506
|
+
var err = Error((componentName || "React class") + ": " + location2 + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
507
|
+
err.name = "Invariant Violation";
|
|
508
|
+
throw err;
|
|
509
|
+
}
|
|
510
|
+
error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location2, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
511
|
+
} catch (ex2) {
|
|
512
|
+
error$1 = ex2;
|
|
513
|
+
}
|
|
514
|
+
if (error$1 && !(error$1 instanceof Error)) {
|
|
515
|
+
setCurrentlyValidatingElement(element);
|
|
516
|
+
error2("%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).", componentName || "React class", location2, typeSpecName, typeof error$1);
|
|
517
|
+
setCurrentlyValidatingElement(null);
|
|
518
|
+
}
|
|
519
|
+
if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
|
|
520
|
+
loggedTypeFailures[error$1.message] = true;
|
|
521
|
+
setCurrentlyValidatingElement(element);
|
|
522
|
+
error2("Failed %s type: %s", location2, error$1.message);
|
|
523
|
+
setCurrentlyValidatingElement(null);
|
|
356
524
|
}
|
|
357
525
|
}
|
|
358
526
|
}
|
|
359
527
|
}
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
528
|
+
}
|
|
529
|
+
var isArrayImpl = Array.isArray;
|
|
530
|
+
function isArray2(a2) {
|
|
531
|
+
return isArrayImpl(a2);
|
|
532
|
+
}
|
|
533
|
+
function typeName(value) {
|
|
534
|
+
{
|
|
535
|
+
var hasToStringTag = typeof Symbol === "function" && Symbol.toStringTag;
|
|
536
|
+
var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
|
|
537
|
+
return type;
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
function willCoercionThrow(value) {
|
|
541
|
+
{
|
|
542
|
+
try {
|
|
543
|
+
testStringCoercion(value);
|
|
544
|
+
return false;
|
|
545
|
+
} catch (e4) {
|
|
546
|
+
return true;
|
|
373
547
|
}
|
|
374
548
|
}
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
Object.defineProperty(props, "ref", {
|
|
385
|
-
get: warnAboutAccessingRef,
|
|
386
|
-
configurable: true
|
|
387
|
-
});
|
|
549
|
+
}
|
|
550
|
+
function testStringCoercion(value) {
|
|
551
|
+
return "" + value;
|
|
552
|
+
}
|
|
553
|
+
function checkKeyStringCoercion(value) {
|
|
554
|
+
{
|
|
555
|
+
if (willCoercionThrow(value)) {
|
|
556
|
+
error2("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value));
|
|
557
|
+
return testStringCoercion(value);
|
|
388
558
|
}
|
|
389
559
|
}
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
Object.defineProperty(element, "_self", {
|
|
411
|
-
configurable: false,
|
|
412
|
-
enumerable: false,
|
|
413
|
-
writable: false,
|
|
414
|
-
value: self2
|
|
415
|
-
});
|
|
416
|
-
Object.defineProperty(element, "_source", {
|
|
417
|
-
configurable: false,
|
|
418
|
-
enumerable: false,
|
|
419
|
-
writable: false,
|
|
420
|
-
value: source
|
|
421
|
-
});
|
|
422
|
-
if (Object.freeze) {
|
|
423
|
-
Object.freeze(element.props);
|
|
424
|
-
Object.freeze(element);
|
|
560
|
+
}
|
|
561
|
+
var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
|
|
562
|
+
var RESERVED_PROPS = {
|
|
563
|
+
key: true,
|
|
564
|
+
ref: true,
|
|
565
|
+
__self: true,
|
|
566
|
+
__source: true
|
|
567
|
+
};
|
|
568
|
+
var specialPropKeyWarningShown;
|
|
569
|
+
var specialPropRefWarningShown;
|
|
570
|
+
var didWarnAboutStringRefs;
|
|
571
|
+
{
|
|
572
|
+
didWarnAboutStringRefs = {};
|
|
573
|
+
}
|
|
574
|
+
function hasValidRef(config2) {
|
|
575
|
+
{
|
|
576
|
+
if (hasOwnProperty2.call(config2, "ref")) {
|
|
577
|
+
var getter = Object.getOwnPropertyDescriptor(config2, "ref").get;
|
|
578
|
+
if (getter && getter.isReactWarning) {
|
|
579
|
+
return false;
|
|
425
580
|
}
|
|
426
581
|
}
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
var
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
key = "" + maybeKey;
|
|
437
|
-
}
|
|
438
|
-
if (hasValidKey(config2)) {
|
|
439
|
-
key = "" + config2.key;
|
|
440
|
-
}
|
|
441
|
-
if (hasValidRef(config2)) {
|
|
442
|
-
ref = config2.ref;
|
|
443
|
-
warnIfStringRefCannotBeAutoConverted(config2, self2);
|
|
444
|
-
}
|
|
445
|
-
for (propName in config2) {
|
|
446
|
-
if (hasOwnProperty2.call(config2, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
|
|
447
|
-
props[propName] = config2[propName];
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
if (type && type.defaultProps) {
|
|
451
|
-
var defaultProps = type.defaultProps;
|
|
452
|
-
for (propName in defaultProps) {
|
|
453
|
-
if (props[propName] === void 0) {
|
|
454
|
-
props[propName] = defaultProps[propName];
|
|
455
|
-
}
|
|
456
|
-
}
|
|
582
|
+
}
|
|
583
|
+
return config2.ref !== void 0;
|
|
584
|
+
}
|
|
585
|
+
function hasValidKey(config2) {
|
|
586
|
+
{
|
|
587
|
+
if (hasOwnProperty2.call(config2, "key")) {
|
|
588
|
+
var getter = Object.getOwnPropertyDescriptor(config2, "key").get;
|
|
589
|
+
if (getter && getter.isReactWarning) {
|
|
590
|
+
return false;
|
|
457
591
|
}
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
return config2.key !== void 0;
|
|
595
|
+
}
|
|
596
|
+
function warnIfStringRefCannotBeAutoConverted(config2, self2) {
|
|
597
|
+
{
|
|
598
|
+
if (typeof config2.ref === "string" && ReactCurrentOwner.current && self2 && ReactCurrentOwner.current.stateNode !== self2) {
|
|
599
|
+
var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);
|
|
600
|
+
if (!didWarnAboutStringRefs[componentName]) {
|
|
601
|
+
error2('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', getComponentNameFromType(ReactCurrentOwner.current.type), config2.ref);
|
|
602
|
+
didWarnAboutStringRefs[componentName] = true;
|
|
466
603
|
}
|
|
467
|
-
return ReactElement(type, key, ref, self2, source, ReactCurrentOwner.current, props);
|
|
468
604
|
}
|
|
469
605
|
}
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
606
|
+
}
|
|
607
|
+
function defineKeyPropWarningGetter(props, displayName) {
|
|
608
|
+
{
|
|
609
|
+
var warnAboutAccessingKey = function() {
|
|
610
|
+
if (!specialPropKeyWarningShown) {
|
|
611
|
+
specialPropKeyWarningShown = true;
|
|
612
|
+
error2("%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)", displayName);
|
|
613
|
+
}
|
|
614
|
+
};
|
|
615
|
+
warnAboutAccessingKey.isReactWarning = true;
|
|
616
|
+
Object.defineProperty(props, "key", {
|
|
617
|
+
get: warnAboutAccessingKey,
|
|
618
|
+
configurable: true
|
|
619
|
+
});
|
|
474
620
|
}
|
|
475
|
-
|
|
621
|
+
}
|
|
622
|
+
function defineRefPropWarningGetter(props, displayName) {
|
|
476
623
|
{
|
|
477
|
-
|
|
624
|
+
var warnAboutAccessingRef = function() {
|
|
625
|
+
if (!specialPropRefWarningShown) {
|
|
626
|
+
specialPropRefWarningShown = true;
|
|
627
|
+
error2("%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)", displayName);
|
|
628
|
+
}
|
|
629
|
+
};
|
|
630
|
+
warnAboutAccessingRef.isReactWarning = true;
|
|
631
|
+
Object.defineProperty(props, "ref", {
|
|
632
|
+
get: warnAboutAccessingRef,
|
|
633
|
+
configurable: true
|
|
634
|
+
});
|
|
478
635
|
}
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
636
|
+
}
|
|
637
|
+
var ReactElement = function(type, key, ref, self2, source, owner, props) {
|
|
638
|
+
var element = {
|
|
639
|
+
// This tag allows us to uniquely identify this as a React Element
|
|
640
|
+
$$typeof: REACT_ELEMENT_TYPE,
|
|
641
|
+
// Built-in properties that belong on the element
|
|
642
|
+
type,
|
|
643
|
+
key,
|
|
644
|
+
ref,
|
|
645
|
+
props,
|
|
646
|
+
// Record the component responsible for creating this element.
|
|
647
|
+
_owner: owner
|
|
648
|
+
};
|
|
649
|
+
{
|
|
650
|
+
element._store = {};
|
|
651
|
+
Object.defineProperty(element._store, "validated", {
|
|
652
|
+
configurable: false,
|
|
653
|
+
enumerable: false,
|
|
654
|
+
writable: true,
|
|
655
|
+
value: false
|
|
656
|
+
});
|
|
657
|
+
Object.defineProperty(element, "_self", {
|
|
658
|
+
configurable: false,
|
|
659
|
+
enumerable: false,
|
|
660
|
+
writable: false,
|
|
661
|
+
value: self2
|
|
662
|
+
});
|
|
663
|
+
Object.defineProperty(element, "_source", {
|
|
664
|
+
configurable: false,
|
|
665
|
+
enumerable: false,
|
|
666
|
+
writable: false,
|
|
667
|
+
value: source
|
|
668
|
+
});
|
|
669
|
+
if (Object.freeze) {
|
|
670
|
+
Object.freeze(element.props);
|
|
671
|
+
Object.freeze(element);
|
|
482
672
|
}
|
|
483
673
|
}
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
674
|
+
return element;
|
|
675
|
+
};
|
|
676
|
+
function jsxDEV(type, config2, maybeKey, source, self2) {
|
|
677
|
+
{
|
|
678
|
+
var propName;
|
|
679
|
+
var props = {};
|
|
680
|
+
var key = null;
|
|
681
|
+
var ref = null;
|
|
682
|
+
if (maybeKey !== void 0) {
|
|
683
|
+
{
|
|
684
|
+
checkKeyStringCoercion(maybeKey);
|
|
491
685
|
}
|
|
492
|
-
|
|
686
|
+
key = "" + maybeKey;
|
|
493
687
|
}
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
if (source !== void 0) {
|
|
498
|
-
var fileName = source.fileName.replace(/^.*[\\\/]/, "");
|
|
499
|
-
var lineNumber = source.lineNumber;
|
|
500
|
-
return "\n\nCheck your code at " + fileName + ":" + lineNumber + ".";
|
|
688
|
+
if (hasValidKey(config2)) {
|
|
689
|
+
{
|
|
690
|
+
checkKeyStringCoercion(config2.key);
|
|
501
691
|
}
|
|
502
|
-
|
|
692
|
+
key = "" + config2.key;
|
|
503
693
|
}
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
if (!
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
694
|
+
if (hasValidRef(config2)) {
|
|
695
|
+
ref = config2.ref;
|
|
696
|
+
warnIfStringRefCannotBeAutoConverted(config2, self2);
|
|
697
|
+
}
|
|
698
|
+
for (propName in config2) {
|
|
699
|
+
if (hasOwnProperty2.call(config2, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
|
|
700
|
+
props[propName] = config2[propName];
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
if (type && type.defaultProps) {
|
|
704
|
+
var defaultProps = type.defaultProps;
|
|
705
|
+
for (propName in defaultProps) {
|
|
706
|
+
if (props[propName] === void 0) {
|
|
707
|
+
props[propName] = defaultProps[propName];
|
|
513
708
|
}
|
|
514
709
|
}
|
|
515
|
-
return info;
|
|
516
710
|
}
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
return;
|
|
711
|
+
if (key || ref) {
|
|
712
|
+
var displayName = typeof type === "function" ? type.displayName || type.name || "Unknown" : type;
|
|
713
|
+
if (key) {
|
|
714
|
+
defineKeyPropWarningGetter(props, displayName);
|
|
522
715
|
}
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
|
|
526
|
-
return;
|
|
716
|
+
if (ref) {
|
|
717
|
+
defineRefPropWarningGetter(props, displayName);
|
|
527
718
|
}
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
719
|
+
}
|
|
720
|
+
return ReactElement(type, key, ref, self2, source, ReactCurrentOwner.current, props);
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;
|
|
724
|
+
var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
|
|
725
|
+
function setCurrentlyValidatingElement$1(element) {
|
|
726
|
+
{
|
|
727
|
+
if (element) {
|
|
728
|
+
var owner = element._owner;
|
|
729
|
+
var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
|
|
730
|
+
ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
|
|
731
|
+
} else {
|
|
732
|
+
ReactDebugCurrentFrame$1.setExtraStackFrame(null);
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
var propTypesMisspellWarningShown;
|
|
737
|
+
{
|
|
738
|
+
propTypesMisspellWarningShown = false;
|
|
739
|
+
}
|
|
740
|
+
function isValidElement2(object) {
|
|
741
|
+
{
|
|
742
|
+
return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
function getDeclarationErrorAddendum() {
|
|
746
|
+
{
|
|
747
|
+
if (ReactCurrentOwner$1.current) {
|
|
748
|
+
var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);
|
|
749
|
+
if (name) {
|
|
750
|
+
return "\n\nCheck the render method of `" + name + "`.";
|
|
532
751
|
}
|
|
533
|
-
setCurrentlyValidatingElement$1(element);
|
|
534
|
-
error2('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
|
|
535
|
-
setCurrentlyValidatingElement$1(null);
|
|
536
752
|
}
|
|
753
|
+
return "";
|
|
537
754
|
}
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
755
|
+
}
|
|
756
|
+
function getSourceInfoErrorAddendum(source) {
|
|
757
|
+
{
|
|
758
|
+
if (source !== void 0) {
|
|
759
|
+
var fileName = source.fileName.replace(/^.*[\\\/]/, "");
|
|
760
|
+
var lineNumber = source.lineNumber;
|
|
761
|
+
return "\n\nCheck your code at " + fileName + ":" + lineNumber + ".";
|
|
762
|
+
}
|
|
763
|
+
return "";
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
var ownerHasKeyUseWarning = {};
|
|
767
|
+
function getCurrentComponentErrorInfo(parentType) {
|
|
768
|
+
{
|
|
769
|
+
var info = getDeclarationErrorAddendum();
|
|
770
|
+
if (!info) {
|
|
771
|
+
var parentName = typeof parentType === "string" ? parentType : parentType.displayName || parentType.name;
|
|
772
|
+
if (parentName) {
|
|
773
|
+
info = "\n\nCheck the top-level render call using <" + parentName + ">.";
|
|
542
774
|
}
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
775
|
+
}
|
|
776
|
+
return info;
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
function validateExplicitKey(element, parentType) {
|
|
780
|
+
{
|
|
781
|
+
if (!element._store || element._store.validated || element.key != null) {
|
|
782
|
+
return;
|
|
783
|
+
}
|
|
784
|
+
element._store.validated = true;
|
|
785
|
+
var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
|
|
786
|
+
if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
|
|
787
|
+
return;
|
|
788
|
+
}
|
|
789
|
+
ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
|
|
790
|
+
var childOwner = "";
|
|
791
|
+
if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {
|
|
792
|
+
childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
|
|
793
|
+
}
|
|
794
|
+
setCurrentlyValidatingElement$1(element);
|
|
795
|
+
error2('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
|
|
796
|
+
setCurrentlyValidatingElement$1(null);
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
function validateChildKeys(node, parentType) {
|
|
800
|
+
{
|
|
801
|
+
if (typeof node !== "object") {
|
|
802
|
+
return;
|
|
803
|
+
}
|
|
804
|
+
if (isArray2(node)) {
|
|
805
|
+
for (var i4 = 0; i4 < node.length; i4++) {
|
|
806
|
+
var child = node[i4];
|
|
807
|
+
if (isValidElement2(child)) {
|
|
808
|
+
validateExplicitKey(child, parentType);
|
|
553
809
|
}
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
810
|
+
}
|
|
811
|
+
} else if (isValidElement2(node)) {
|
|
812
|
+
if (node._store) {
|
|
813
|
+
node._store.validated = true;
|
|
814
|
+
}
|
|
815
|
+
} else if (node) {
|
|
816
|
+
var iteratorFn = getIteratorFn(node);
|
|
817
|
+
if (typeof iteratorFn === "function") {
|
|
818
|
+
if (iteratorFn !== node.entries) {
|
|
819
|
+
var iterator = iteratorFn.call(node);
|
|
820
|
+
var step;
|
|
821
|
+
while (!(step = iterator.next()).done) {
|
|
822
|
+
if (isValidElement2(step.value)) {
|
|
823
|
+
validateExplicitKey(step.value, parentType);
|
|
564
824
|
}
|
|
565
825
|
}
|
|
566
826
|
}
|
|
567
827
|
}
|
|
568
828
|
}
|
|
569
829
|
}
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
830
|
+
}
|
|
831
|
+
function validatePropTypes(element) {
|
|
832
|
+
{
|
|
833
|
+
var type = element.type;
|
|
834
|
+
if (type === null || type === void 0 || typeof type === "string") {
|
|
835
|
+
return;
|
|
836
|
+
}
|
|
837
|
+
var propTypes2;
|
|
838
|
+
if (typeof type === "function") {
|
|
839
|
+
propTypes2 = type.propTypes;
|
|
840
|
+
} else if (typeof type === "object" && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
|
|
841
|
+
// Inner props are checked in the reconciler.
|
|
842
|
+
type.$$typeof === REACT_MEMO_TYPE)) {
|
|
843
|
+
propTypes2 = type.propTypes;
|
|
844
|
+
} else {
|
|
845
|
+
return;
|
|
846
|
+
}
|
|
847
|
+
if (propTypes2) {
|
|
848
|
+
var name = getComponentNameFromType(type);
|
|
849
|
+
checkPropTypes(propTypes2, element.props, "prop", name, element);
|
|
850
|
+
} else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
|
|
851
|
+
propTypesMisspellWarningShown = true;
|
|
852
|
+
var _name = getComponentNameFromType(type);
|
|
853
|
+
error2("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
|
|
854
|
+
}
|
|
855
|
+
if (typeof type.getDefaultProps === "function" && !type.getDefaultProps.isReactClassApproved) {
|
|
856
|
+
error2("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
597
857
|
}
|
|
598
858
|
}
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
error2("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key);
|
|
607
|
-
setCurrentlyValidatingElement$1(null);
|
|
608
|
-
break;
|
|
609
|
-
}
|
|
610
|
-
}
|
|
611
|
-
if (fragment.ref !== null) {
|
|
859
|
+
}
|
|
860
|
+
function validateFragmentProps(fragment) {
|
|
861
|
+
{
|
|
862
|
+
var keys2 = Object.keys(fragment.props);
|
|
863
|
+
for (var i4 = 0; i4 < keys2.length; i4++) {
|
|
864
|
+
var key = keys2[i4];
|
|
865
|
+
if (key !== "children" && key !== "key") {
|
|
612
866
|
setCurrentlyValidatingElement$1(fragment);
|
|
613
|
-
error2("Invalid
|
|
867
|
+
error2("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key);
|
|
614
868
|
setCurrentlyValidatingElement$1(null);
|
|
869
|
+
break;
|
|
615
870
|
}
|
|
616
871
|
}
|
|
872
|
+
if (fragment.ref !== null) {
|
|
873
|
+
setCurrentlyValidatingElement$1(fragment);
|
|
874
|
+
error2("Invalid attribute `ref` supplied to `React.Fragment`.");
|
|
875
|
+
setCurrentlyValidatingElement$1(null);
|
|
876
|
+
}
|
|
617
877
|
}
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
} else {
|
|
661
|
-
error2("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
878
|
+
}
|
|
879
|
+
function jsxWithValidation(type, props, key, isStaticChildren, source, self2) {
|
|
880
|
+
{
|
|
881
|
+
var validType = isValidElementType(type);
|
|
882
|
+
if (!validType) {
|
|
883
|
+
var info = "";
|
|
884
|
+
if (type === void 0 || typeof type === "object" && type !== null && Object.keys(type).length === 0) {
|
|
885
|
+
info += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
|
|
886
|
+
}
|
|
887
|
+
var sourceInfo = getSourceInfoErrorAddendum(source);
|
|
888
|
+
if (sourceInfo) {
|
|
889
|
+
info += sourceInfo;
|
|
890
|
+
} else {
|
|
891
|
+
info += getDeclarationErrorAddendum();
|
|
892
|
+
}
|
|
893
|
+
var typeString;
|
|
894
|
+
if (type === null) {
|
|
895
|
+
typeString = "null";
|
|
896
|
+
} else if (isArray2(type)) {
|
|
897
|
+
typeString = "array";
|
|
898
|
+
} else if (type !== void 0 && type.$$typeof === REACT_ELEMENT_TYPE) {
|
|
899
|
+
typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />";
|
|
900
|
+
info = " Did you accidentally export a JSX literal instead of a component?";
|
|
901
|
+
} else {
|
|
902
|
+
typeString = typeof type;
|
|
903
|
+
}
|
|
904
|
+
error2("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", typeString, info);
|
|
905
|
+
}
|
|
906
|
+
var element = jsxDEV(type, props, key, source, self2);
|
|
907
|
+
if (element == null) {
|
|
908
|
+
return element;
|
|
909
|
+
}
|
|
910
|
+
if (validType) {
|
|
911
|
+
var children = props.children;
|
|
912
|
+
if (children !== void 0) {
|
|
913
|
+
if (isStaticChildren) {
|
|
914
|
+
if (isArray2(children)) {
|
|
915
|
+
for (var i4 = 0; i4 < children.length; i4++) {
|
|
916
|
+
validateChildKeys(children[i4], type);
|
|
917
|
+
}
|
|
918
|
+
if (Object.freeze) {
|
|
919
|
+
Object.freeze(children);
|
|
662
920
|
}
|
|
663
921
|
} else {
|
|
664
|
-
|
|
922
|
+
error2("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
665
923
|
}
|
|
924
|
+
} else {
|
|
925
|
+
validateChildKeys(children, type);
|
|
666
926
|
}
|
|
667
927
|
}
|
|
668
|
-
if (type === exports.Fragment) {
|
|
669
|
-
validateFragmentProps(element);
|
|
670
|
-
} else {
|
|
671
|
-
validatePropTypes(element);
|
|
672
|
-
}
|
|
673
|
-
return element;
|
|
674
928
|
}
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
{
|
|
678
|
-
|
|
929
|
+
if (type === REACT_FRAGMENT_TYPE) {
|
|
930
|
+
validateFragmentProps(element);
|
|
931
|
+
} else {
|
|
932
|
+
validatePropTypes(element);
|
|
679
933
|
}
|
|
934
|
+
return element;
|
|
680
935
|
}
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
936
|
+
}
|
|
937
|
+
function jsxWithValidationStatic(type, props, key) {
|
|
938
|
+
{
|
|
939
|
+
return jsxWithValidation(type, props, key, true);
|
|
685
940
|
}
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
941
|
+
}
|
|
942
|
+
function jsxWithValidationDynamic(type, props, key) {
|
|
943
|
+
{
|
|
944
|
+
return jsxWithValidation(type, props, key, false);
|
|
945
|
+
}
|
|
946
|
+
}
|
|
947
|
+
var jsx = jsxWithValidationDynamic;
|
|
948
|
+
var jsxs = jsxWithValidationStatic;
|
|
949
|
+
reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE;
|
|
950
|
+
reactJsxRuntime_development.jsx = jsx;
|
|
951
|
+
reactJsxRuntime_development.jsxs = jsxs;
|
|
952
|
+
})();
|
|
953
|
+
}
|
|
693
954
|
return reactJsxRuntime_development;
|
|
694
955
|
}
|
|
695
956
|
if (process.env.NODE_ENV === "production") {
|
|
@@ -58345,7 +58606,7 @@ async function fetchUserPlugins(email, password) {
|
|
|
58345
58606
|
result.integrations.push({
|
|
58346
58607
|
key: "base",
|
|
58347
58608
|
pluginName: "base",
|
|
58348
|
-
pluginVersion: "0.
|
|
58609
|
+
pluginVersion: "0.20.0",
|
|
58349
58610
|
pluginConfig: []
|
|
58350
58611
|
});
|
|
58351
58612
|
return result;
|
|
@@ -58520,7 +58781,7 @@ const Header = ({ height = 70 }) => {
|
|
|
58520
58781
|
};
|
|
58521
58782
|
const About = () => {
|
|
58522
58783
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(x0, { padding: 20, direction: "vert", children: [
|
|
58523
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(hF1, { children: `Dek ${"0.
|
|
58784
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(hF1, { children: `Dek ${"0.20.0"}` }),
|
|
58524
58785
|
/* @__PURE__ */ jsxRuntimeExports.jsx(X4, { children: "From Appkit" })
|
|
58525
58786
|
] });
|
|
58526
58787
|
};
|
|
@@ -58772,7 +59033,9 @@ const Theme = ({ api: api2 }) => {
|
|
|
58772
59033
|
};
|
|
58773
59034
|
const SettingsScreen = ({ api: api2, isPluginDev }) => {
|
|
58774
59035
|
const isPrivatePluginDev = !isPluginDev && api2.plugin("plugin").available;
|
|
58775
|
-
const [selectedKey, setSelectedKey] =
|
|
59036
|
+
const [selectedKey, setSelectedKey] = usePluginState(
|
|
59037
|
+
api2,
|
|
59038
|
+
"settings-screen-key",
|
|
58776
59039
|
isPluginDev ? "plugin-dev" : "boards"
|
|
58777
59040
|
);
|
|
58778
59041
|
const handleMenuSelection = (key) => {
|
|
@@ -89864,7 +90127,7 @@ const ComponentScreen = ({ api: api2 }) => {
|
|
|
89864
90127
|
) }),
|
|
89865
90128
|
error2 && /* @__PURE__ */ jsxRuntimeExports.jsx(X4, { color: "red", paddingLeft: 15, paddingTop: 10, children: error2 })
|
|
89866
90129
|
] }) }),
|
|
89867
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(LG1, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(x0, { halign: "
|
|
90130
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(LG1, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(x0, { halign: "left", valign: "center", children: propsString && api2.plugin("plugin").component(
|
|
89868
90131
|
params.componentKey,
|
|
89869
90132
|
parsePropsForComponent(api2, propsArray)
|
|
89870
90133
|
) }) })
|
|
@@ -93978,7 +94241,7 @@ async function updatePlugins(email, password) {
|
|
|
93978
94241
|
{
|
|
93979
94242
|
key: "base",
|
|
93980
94243
|
pluginName: "base",
|
|
93981
|
-
pluginVersion: "0.
|
|
94244
|
+
pluginVersion: "0.20.0",
|
|
93982
94245
|
pluginConfig: []
|
|
93983
94246
|
}
|
|
93984
94247
|
],
|