@measured/puck 0.13.0-canary.fad52d7 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -2
- package/dist/{Config-4367c689.d.ts → Config-5804f327.d.ts} +1 -1
- package/dist/index.css +27 -30
- package/dist/index.d.ts +10 -12
- package/dist/index.js +517 -2727
- package/dist/rsc.d.ts +3 -3
- package/dist/rsc.js +1 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
@@ -143,962 +143,6 @@ var require_classnames = __commonJS({
|
|
143
143
|
}
|
144
144
|
});
|
145
145
|
|
146
|
-
// ../../node_modules/react-is/cjs/react-is.production.min.js
|
147
|
-
var require_react_is_production_min = __commonJS({
|
148
|
-
"../../node_modules/react-is/cjs/react-is.production.min.js"(exports) {
|
149
|
-
"use strict";
|
150
|
-
init_react_import();
|
151
|
-
var b = "function" === typeof Symbol && Symbol.for;
|
152
|
-
var c = b ? Symbol.for("react.element") : 60103;
|
153
|
-
var d = b ? Symbol.for("react.portal") : 60106;
|
154
|
-
var e = b ? Symbol.for("react.fragment") : 60107;
|
155
|
-
var f = b ? Symbol.for("react.strict_mode") : 60108;
|
156
|
-
var g = b ? Symbol.for("react.profiler") : 60114;
|
157
|
-
var h = b ? Symbol.for("react.provider") : 60109;
|
158
|
-
var k = b ? Symbol.for("react.context") : 60110;
|
159
|
-
var l = b ? Symbol.for("react.async_mode") : 60111;
|
160
|
-
var m = b ? Symbol.for("react.concurrent_mode") : 60111;
|
161
|
-
var n = b ? Symbol.for("react.forward_ref") : 60112;
|
162
|
-
var p = b ? Symbol.for("react.suspense") : 60113;
|
163
|
-
var q = b ? Symbol.for("react.suspense_list") : 60120;
|
164
|
-
var r = b ? Symbol.for("react.memo") : 60115;
|
165
|
-
var t = b ? Symbol.for("react.lazy") : 60116;
|
166
|
-
var v = b ? Symbol.for("react.block") : 60121;
|
167
|
-
var w = b ? Symbol.for("react.fundamental") : 60117;
|
168
|
-
var x = b ? Symbol.for("react.responder") : 60118;
|
169
|
-
var y = b ? Symbol.for("react.scope") : 60119;
|
170
|
-
function z(a) {
|
171
|
-
if ("object" === typeof a && null !== a) {
|
172
|
-
var u = a.$$typeof;
|
173
|
-
switch (u) {
|
174
|
-
case c:
|
175
|
-
switch (a = a.type, a) {
|
176
|
-
case l:
|
177
|
-
case m:
|
178
|
-
case e:
|
179
|
-
case g:
|
180
|
-
case f:
|
181
|
-
case p:
|
182
|
-
return a;
|
183
|
-
default:
|
184
|
-
switch (a = a && a.$$typeof, a) {
|
185
|
-
case k:
|
186
|
-
case n:
|
187
|
-
case t:
|
188
|
-
case r:
|
189
|
-
case h:
|
190
|
-
return a;
|
191
|
-
default:
|
192
|
-
return u;
|
193
|
-
}
|
194
|
-
}
|
195
|
-
case d:
|
196
|
-
return u;
|
197
|
-
}
|
198
|
-
}
|
199
|
-
}
|
200
|
-
function A(a) {
|
201
|
-
return z(a) === m;
|
202
|
-
}
|
203
|
-
exports.AsyncMode = l;
|
204
|
-
exports.ConcurrentMode = m;
|
205
|
-
exports.ContextConsumer = k;
|
206
|
-
exports.ContextProvider = h;
|
207
|
-
exports.Element = c;
|
208
|
-
exports.ForwardRef = n;
|
209
|
-
exports.Fragment = e;
|
210
|
-
exports.Lazy = t;
|
211
|
-
exports.Memo = r;
|
212
|
-
exports.Portal = d;
|
213
|
-
exports.Profiler = g;
|
214
|
-
exports.StrictMode = f;
|
215
|
-
exports.Suspense = p;
|
216
|
-
exports.isAsyncMode = function(a) {
|
217
|
-
return A(a) || z(a) === l;
|
218
|
-
};
|
219
|
-
exports.isConcurrentMode = A;
|
220
|
-
exports.isContextConsumer = function(a) {
|
221
|
-
return z(a) === k;
|
222
|
-
};
|
223
|
-
exports.isContextProvider = function(a) {
|
224
|
-
return z(a) === h;
|
225
|
-
};
|
226
|
-
exports.isElement = function(a) {
|
227
|
-
return "object" === typeof a && null !== a && a.$$typeof === c;
|
228
|
-
};
|
229
|
-
exports.isForwardRef = function(a) {
|
230
|
-
return z(a) === n;
|
231
|
-
};
|
232
|
-
exports.isFragment = function(a) {
|
233
|
-
return z(a) === e;
|
234
|
-
};
|
235
|
-
exports.isLazy = function(a) {
|
236
|
-
return z(a) === t;
|
237
|
-
};
|
238
|
-
exports.isMemo = function(a) {
|
239
|
-
return z(a) === r;
|
240
|
-
};
|
241
|
-
exports.isPortal = function(a) {
|
242
|
-
return z(a) === d;
|
243
|
-
};
|
244
|
-
exports.isProfiler = function(a) {
|
245
|
-
return z(a) === g;
|
246
|
-
};
|
247
|
-
exports.isStrictMode = function(a) {
|
248
|
-
return z(a) === f;
|
249
|
-
};
|
250
|
-
exports.isSuspense = function(a) {
|
251
|
-
return z(a) === p;
|
252
|
-
};
|
253
|
-
exports.isValidElementType = function(a) {
|
254
|
-
return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
|
255
|
-
};
|
256
|
-
exports.typeOf = z;
|
257
|
-
}
|
258
|
-
});
|
259
|
-
|
260
|
-
// ../../node_modules/react-is/cjs/react-is.development.js
|
261
|
-
var require_react_is_development = __commonJS({
|
262
|
-
"../../node_modules/react-is/cjs/react-is.development.js"(exports) {
|
263
|
-
"use strict";
|
264
|
-
init_react_import();
|
265
|
-
if (process.env.NODE_ENV !== "production") {
|
266
|
-
(function() {
|
267
|
-
"use strict";
|
268
|
-
var hasSymbol = typeof Symbol === "function" && Symbol.for;
|
269
|
-
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for("react.element") : 60103;
|
270
|
-
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for("react.portal") : 60106;
|
271
|
-
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for("react.fragment") : 60107;
|
272
|
-
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for("react.strict_mode") : 60108;
|
273
|
-
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for("react.profiler") : 60114;
|
274
|
-
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for("react.provider") : 60109;
|
275
|
-
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for("react.context") : 60110;
|
276
|
-
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for("react.async_mode") : 60111;
|
277
|
-
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for("react.concurrent_mode") : 60111;
|
278
|
-
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for("react.forward_ref") : 60112;
|
279
|
-
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for("react.suspense") : 60113;
|
280
|
-
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for("react.suspense_list") : 60120;
|
281
|
-
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for("react.memo") : 60115;
|
282
|
-
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for("react.lazy") : 60116;
|
283
|
-
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for("react.block") : 60121;
|
284
|
-
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for("react.fundamental") : 60117;
|
285
|
-
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for("react.responder") : 60118;
|
286
|
-
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for("react.scope") : 60119;
|
287
|
-
function isValidElementType(type) {
|
288
|
-
return typeof type === "string" || typeof type === "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
289
|
-
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === "object" && type !== null && (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 || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
|
290
|
-
}
|
291
|
-
function typeOf(object) {
|
292
|
-
if (typeof object === "object" && object !== null) {
|
293
|
-
var $$typeof = object.$$typeof;
|
294
|
-
switch ($$typeof) {
|
295
|
-
case REACT_ELEMENT_TYPE:
|
296
|
-
var type = object.type;
|
297
|
-
switch (type) {
|
298
|
-
case REACT_ASYNC_MODE_TYPE:
|
299
|
-
case REACT_CONCURRENT_MODE_TYPE:
|
300
|
-
case REACT_FRAGMENT_TYPE:
|
301
|
-
case REACT_PROFILER_TYPE:
|
302
|
-
case REACT_STRICT_MODE_TYPE:
|
303
|
-
case REACT_SUSPENSE_TYPE:
|
304
|
-
return type;
|
305
|
-
default:
|
306
|
-
var $$typeofType = type && type.$$typeof;
|
307
|
-
switch ($$typeofType) {
|
308
|
-
case REACT_CONTEXT_TYPE:
|
309
|
-
case REACT_FORWARD_REF_TYPE:
|
310
|
-
case REACT_LAZY_TYPE:
|
311
|
-
case REACT_MEMO_TYPE:
|
312
|
-
case REACT_PROVIDER_TYPE:
|
313
|
-
return $$typeofType;
|
314
|
-
default:
|
315
|
-
return $$typeof;
|
316
|
-
}
|
317
|
-
}
|
318
|
-
case REACT_PORTAL_TYPE:
|
319
|
-
return $$typeof;
|
320
|
-
}
|
321
|
-
}
|
322
|
-
return void 0;
|
323
|
-
}
|
324
|
-
var AsyncMode = REACT_ASYNC_MODE_TYPE;
|
325
|
-
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
326
|
-
var ContextConsumer = REACT_CONTEXT_TYPE;
|
327
|
-
var ContextProvider = REACT_PROVIDER_TYPE;
|
328
|
-
var Element = REACT_ELEMENT_TYPE;
|
329
|
-
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
330
|
-
var Fragment14 = REACT_FRAGMENT_TYPE;
|
331
|
-
var Lazy = REACT_LAZY_TYPE;
|
332
|
-
var Memo = REACT_MEMO_TYPE;
|
333
|
-
var Portal = REACT_PORTAL_TYPE;
|
334
|
-
var Profiler = REACT_PROFILER_TYPE;
|
335
|
-
var StrictMode = REACT_STRICT_MODE_TYPE;
|
336
|
-
var Suspense = REACT_SUSPENSE_TYPE;
|
337
|
-
var hasWarnedAboutDeprecatedIsAsyncMode = false;
|
338
|
-
function isAsyncMode(object) {
|
339
|
-
{
|
340
|
-
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
341
|
-
hasWarnedAboutDeprecatedIsAsyncMode = true;
|
342
|
-
console["warn"]("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.");
|
343
|
-
}
|
344
|
-
}
|
345
|
-
return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
|
346
|
-
}
|
347
|
-
function isConcurrentMode(object) {
|
348
|
-
return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
|
349
|
-
}
|
350
|
-
function isContextConsumer(object) {
|
351
|
-
return typeOf(object) === REACT_CONTEXT_TYPE;
|
352
|
-
}
|
353
|
-
function isContextProvider(object) {
|
354
|
-
return typeOf(object) === REACT_PROVIDER_TYPE;
|
355
|
-
}
|
356
|
-
function isElement(object) {
|
357
|
-
return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
358
|
-
}
|
359
|
-
function isForwardRef(object) {
|
360
|
-
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
361
|
-
}
|
362
|
-
function isFragment(object) {
|
363
|
-
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
364
|
-
}
|
365
|
-
function isLazy(object) {
|
366
|
-
return typeOf(object) === REACT_LAZY_TYPE;
|
367
|
-
}
|
368
|
-
function isMemo(object) {
|
369
|
-
return typeOf(object) === REACT_MEMO_TYPE;
|
370
|
-
}
|
371
|
-
function isPortal(object) {
|
372
|
-
return typeOf(object) === REACT_PORTAL_TYPE;
|
373
|
-
}
|
374
|
-
function isProfiler(object) {
|
375
|
-
return typeOf(object) === REACT_PROFILER_TYPE;
|
376
|
-
}
|
377
|
-
function isStrictMode(object) {
|
378
|
-
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
379
|
-
}
|
380
|
-
function isSuspense(object) {
|
381
|
-
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
382
|
-
}
|
383
|
-
exports.AsyncMode = AsyncMode;
|
384
|
-
exports.ConcurrentMode = ConcurrentMode;
|
385
|
-
exports.ContextConsumer = ContextConsumer;
|
386
|
-
exports.ContextProvider = ContextProvider;
|
387
|
-
exports.Element = Element;
|
388
|
-
exports.ForwardRef = ForwardRef;
|
389
|
-
exports.Fragment = Fragment14;
|
390
|
-
exports.Lazy = Lazy;
|
391
|
-
exports.Memo = Memo;
|
392
|
-
exports.Portal = Portal;
|
393
|
-
exports.Profiler = Profiler;
|
394
|
-
exports.StrictMode = StrictMode;
|
395
|
-
exports.Suspense = Suspense;
|
396
|
-
exports.isAsyncMode = isAsyncMode;
|
397
|
-
exports.isConcurrentMode = isConcurrentMode;
|
398
|
-
exports.isContextConsumer = isContextConsumer;
|
399
|
-
exports.isContextProvider = isContextProvider;
|
400
|
-
exports.isElement = isElement;
|
401
|
-
exports.isForwardRef = isForwardRef;
|
402
|
-
exports.isFragment = isFragment;
|
403
|
-
exports.isLazy = isLazy;
|
404
|
-
exports.isMemo = isMemo;
|
405
|
-
exports.isPortal = isPortal;
|
406
|
-
exports.isProfiler = isProfiler;
|
407
|
-
exports.isStrictMode = isStrictMode;
|
408
|
-
exports.isSuspense = isSuspense;
|
409
|
-
exports.isValidElementType = isValidElementType;
|
410
|
-
exports.typeOf = typeOf;
|
411
|
-
})();
|
412
|
-
}
|
413
|
-
}
|
414
|
-
});
|
415
|
-
|
416
|
-
// ../../node_modules/react-is/index.js
|
417
|
-
var require_react_is = __commonJS({
|
418
|
-
"../../node_modules/react-is/index.js"(exports, module2) {
|
419
|
-
"use strict";
|
420
|
-
init_react_import();
|
421
|
-
if (process.env.NODE_ENV === "production") {
|
422
|
-
module2.exports = require_react_is_production_min();
|
423
|
-
} else {
|
424
|
-
module2.exports = require_react_is_development();
|
425
|
-
}
|
426
|
-
}
|
427
|
-
});
|
428
|
-
|
429
|
-
// ../../node_modules/object-assign/index.js
|
430
|
-
var require_object_assign = __commonJS({
|
431
|
-
"../../node_modules/object-assign/index.js"(exports, module2) {
|
432
|
-
"use strict";
|
433
|
-
init_react_import();
|
434
|
-
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
435
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
436
|
-
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
|
437
|
-
function toObject(val) {
|
438
|
-
if (val === null || val === void 0) {
|
439
|
-
throw new TypeError("Object.assign cannot be called with null or undefined");
|
440
|
-
}
|
441
|
-
return Object(val);
|
442
|
-
}
|
443
|
-
function shouldUseNative() {
|
444
|
-
try {
|
445
|
-
if (!Object.assign) {
|
446
|
-
return false;
|
447
|
-
}
|
448
|
-
var test1 = new String("abc");
|
449
|
-
test1[5] = "de";
|
450
|
-
if (Object.getOwnPropertyNames(test1)[0] === "5") {
|
451
|
-
return false;
|
452
|
-
}
|
453
|
-
var test2 = {};
|
454
|
-
for (var i = 0; i < 10; i++) {
|
455
|
-
test2["_" + String.fromCharCode(i)] = i;
|
456
|
-
}
|
457
|
-
var order2 = Object.getOwnPropertyNames(test2).map(function(n) {
|
458
|
-
return test2[n];
|
459
|
-
});
|
460
|
-
if (order2.join("") !== "0123456789") {
|
461
|
-
return false;
|
462
|
-
}
|
463
|
-
var test3 = {};
|
464
|
-
"abcdefghijklmnopqrst".split("").forEach(function(letter) {
|
465
|
-
test3[letter] = letter;
|
466
|
-
});
|
467
|
-
if (Object.keys(Object.assign({}, test3)).join("") !== "abcdefghijklmnopqrst") {
|
468
|
-
return false;
|
469
|
-
}
|
470
|
-
return true;
|
471
|
-
} catch (err) {
|
472
|
-
return false;
|
473
|
-
}
|
474
|
-
}
|
475
|
-
module2.exports = shouldUseNative() ? Object.assign : function(target, source) {
|
476
|
-
var from;
|
477
|
-
var to = toObject(target);
|
478
|
-
var symbols;
|
479
|
-
for (var s = 1; s < arguments.length; s++) {
|
480
|
-
from = Object(arguments[s]);
|
481
|
-
for (var key in from) {
|
482
|
-
if (hasOwnProperty.call(from, key)) {
|
483
|
-
to[key] = from[key];
|
484
|
-
}
|
485
|
-
}
|
486
|
-
if (getOwnPropertySymbols) {
|
487
|
-
symbols = getOwnPropertySymbols(from);
|
488
|
-
for (var i = 0; i < symbols.length; i++) {
|
489
|
-
if (propIsEnumerable.call(from, symbols[i])) {
|
490
|
-
to[symbols[i]] = from[symbols[i]];
|
491
|
-
}
|
492
|
-
}
|
493
|
-
}
|
494
|
-
}
|
495
|
-
return to;
|
496
|
-
};
|
497
|
-
}
|
498
|
-
});
|
499
|
-
|
500
|
-
// ../../node_modules/prop-types/lib/ReactPropTypesSecret.js
|
501
|
-
var require_ReactPropTypesSecret = __commonJS({
|
502
|
-
"../../node_modules/prop-types/lib/ReactPropTypesSecret.js"(exports, module2) {
|
503
|
-
"use strict";
|
504
|
-
init_react_import();
|
505
|
-
var ReactPropTypesSecret = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
506
|
-
module2.exports = ReactPropTypesSecret;
|
507
|
-
}
|
508
|
-
});
|
509
|
-
|
510
|
-
// ../../node_modules/prop-types/lib/has.js
|
511
|
-
var require_has = __commonJS({
|
512
|
-
"../../node_modules/prop-types/lib/has.js"(exports, module2) {
|
513
|
-
init_react_import();
|
514
|
-
module2.exports = Function.call.bind(Object.prototype.hasOwnProperty);
|
515
|
-
}
|
516
|
-
});
|
517
|
-
|
518
|
-
// ../../node_modules/prop-types/checkPropTypes.js
|
519
|
-
var require_checkPropTypes = __commonJS({
|
520
|
-
"../../node_modules/prop-types/checkPropTypes.js"(exports, module2) {
|
521
|
-
"use strict";
|
522
|
-
init_react_import();
|
523
|
-
var printWarning = function() {
|
524
|
-
};
|
525
|
-
if (process.env.NODE_ENV !== "production") {
|
526
|
-
ReactPropTypesSecret = require_ReactPropTypesSecret();
|
527
|
-
loggedTypeFailures = {};
|
528
|
-
has = require_has();
|
529
|
-
printWarning = function(text) {
|
530
|
-
var message = "Warning: " + text;
|
531
|
-
if (typeof console !== "undefined") {
|
532
|
-
console.error(message);
|
533
|
-
}
|
534
|
-
try {
|
535
|
-
throw new Error(message);
|
536
|
-
} catch (x) {
|
537
|
-
}
|
538
|
-
};
|
539
|
-
}
|
540
|
-
var ReactPropTypesSecret;
|
541
|
-
var loggedTypeFailures;
|
542
|
-
var has;
|
543
|
-
function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
544
|
-
if (process.env.NODE_ENV !== "production") {
|
545
|
-
for (var typeSpecName in typeSpecs) {
|
546
|
-
if (has(typeSpecs, typeSpecName)) {
|
547
|
-
var error;
|
548
|
-
try {
|
549
|
-
if (typeof typeSpecs[typeSpecName] !== "function") {
|
550
|
-
var err = Error(
|
551
|
-
(componentName || "React class") + ": " + location + " 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`."
|
552
|
-
);
|
553
|
-
err.name = "Invariant Violation";
|
554
|
-
throw err;
|
555
|
-
}
|
556
|
-
error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
|
557
|
-
} catch (ex) {
|
558
|
-
error = ex;
|
559
|
-
}
|
560
|
-
if (error && !(error instanceof Error)) {
|
561
|
-
printWarning(
|
562
|
-
(componentName || "React class") + ": type specification of " + location + " `" + typeSpecName + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof error + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
563
|
-
);
|
564
|
-
}
|
565
|
-
if (error instanceof Error && !(error.message in loggedTypeFailures)) {
|
566
|
-
loggedTypeFailures[error.message] = true;
|
567
|
-
var stack = getStack ? getStack() : "";
|
568
|
-
printWarning(
|
569
|
-
"Failed " + location + " type: " + error.message + (stack != null ? stack : "")
|
570
|
-
);
|
571
|
-
}
|
572
|
-
}
|
573
|
-
}
|
574
|
-
}
|
575
|
-
}
|
576
|
-
checkPropTypes.resetWarningCache = function() {
|
577
|
-
if (process.env.NODE_ENV !== "production") {
|
578
|
-
loggedTypeFailures = {};
|
579
|
-
}
|
580
|
-
};
|
581
|
-
module2.exports = checkPropTypes;
|
582
|
-
}
|
583
|
-
});
|
584
|
-
|
585
|
-
// ../../node_modules/prop-types/factoryWithTypeCheckers.js
|
586
|
-
var require_factoryWithTypeCheckers = __commonJS({
|
587
|
-
"../../node_modules/prop-types/factoryWithTypeCheckers.js"(exports, module2) {
|
588
|
-
"use strict";
|
589
|
-
init_react_import();
|
590
|
-
var ReactIs = require_react_is();
|
591
|
-
var assign = require_object_assign();
|
592
|
-
var ReactPropTypesSecret = require_ReactPropTypesSecret();
|
593
|
-
var has = require_has();
|
594
|
-
var checkPropTypes = require_checkPropTypes();
|
595
|
-
var printWarning = function() {
|
596
|
-
};
|
597
|
-
if (process.env.NODE_ENV !== "production") {
|
598
|
-
printWarning = function(text) {
|
599
|
-
var message = "Warning: " + text;
|
600
|
-
if (typeof console !== "undefined") {
|
601
|
-
console.error(message);
|
602
|
-
}
|
603
|
-
try {
|
604
|
-
throw new Error(message);
|
605
|
-
} catch (x) {
|
606
|
-
}
|
607
|
-
};
|
608
|
-
}
|
609
|
-
function emptyFunctionThatReturnsNull() {
|
610
|
-
return null;
|
611
|
-
}
|
612
|
-
module2.exports = function(isValidElement, throwOnDirectAccess) {
|
613
|
-
var ITERATOR_SYMBOL = typeof Symbol === "function" && Symbol.iterator;
|
614
|
-
var FAUX_ITERATOR_SYMBOL = "@@iterator";
|
615
|
-
function getIteratorFn(maybeIterable) {
|
616
|
-
var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
|
617
|
-
if (typeof iteratorFn === "function") {
|
618
|
-
return iteratorFn;
|
619
|
-
}
|
620
|
-
}
|
621
|
-
var ANONYMOUS = "<<anonymous>>";
|
622
|
-
var ReactPropTypes = {
|
623
|
-
array: createPrimitiveTypeChecker("array"),
|
624
|
-
bigint: createPrimitiveTypeChecker("bigint"),
|
625
|
-
bool: createPrimitiveTypeChecker("boolean"),
|
626
|
-
func: createPrimitiveTypeChecker("function"),
|
627
|
-
number: createPrimitiveTypeChecker("number"),
|
628
|
-
object: createPrimitiveTypeChecker("object"),
|
629
|
-
string: createPrimitiveTypeChecker("string"),
|
630
|
-
symbol: createPrimitiveTypeChecker("symbol"),
|
631
|
-
any: createAnyTypeChecker(),
|
632
|
-
arrayOf: createArrayOfTypeChecker,
|
633
|
-
element: createElementTypeChecker(),
|
634
|
-
elementType: createElementTypeTypeChecker(),
|
635
|
-
instanceOf: createInstanceTypeChecker,
|
636
|
-
node: createNodeChecker(),
|
637
|
-
objectOf: createObjectOfTypeChecker,
|
638
|
-
oneOf: createEnumTypeChecker,
|
639
|
-
oneOfType: createUnionTypeChecker,
|
640
|
-
shape: createShapeTypeChecker,
|
641
|
-
exact: createStrictShapeTypeChecker
|
642
|
-
};
|
643
|
-
function is(x, y) {
|
644
|
-
if (x === y) {
|
645
|
-
return x !== 0 || 1 / x === 1 / y;
|
646
|
-
} else {
|
647
|
-
return x !== x && y !== y;
|
648
|
-
}
|
649
|
-
}
|
650
|
-
function PropTypeError(message, data) {
|
651
|
-
this.message = message;
|
652
|
-
this.data = data && typeof data === "object" ? data : {};
|
653
|
-
this.stack = "";
|
654
|
-
}
|
655
|
-
PropTypeError.prototype = Error.prototype;
|
656
|
-
function createChainableTypeChecker(validate) {
|
657
|
-
if (process.env.NODE_ENV !== "production") {
|
658
|
-
var manualPropTypeCallCache = {};
|
659
|
-
var manualPropTypeWarningCount = 0;
|
660
|
-
}
|
661
|
-
function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
|
662
|
-
componentName = componentName || ANONYMOUS;
|
663
|
-
propFullName = propFullName || propName;
|
664
|
-
if (secret !== ReactPropTypesSecret) {
|
665
|
-
if (throwOnDirectAccess) {
|
666
|
-
var err = new Error(
|
667
|
-
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
668
|
-
);
|
669
|
-
err.name = "Invariant Violation";
|
670
|
-
throw err;
|
671
|
-
} else if (process.env.NODE_ENV !== "production" && typeof console !== "undefined") {
|
672
|
-
var cacheKey = componentName + ":" + propName;
|
673
|
-
if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
|
674
|
-
manualPropTypeWarningCount < 3) {
|
675
|
-
printWarning(
|
676
|
-
"You are manually calling a React.PropTypes validation function for the `" + propFullName + "` prop on `" + componentName + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
677
|
-
);
|
678
|
-
manualPropTypeCallCache[cacheKey] = true;
|
679
|
-
manualPropTypeWarningCount++;
|
680
|
-
}
|
681
|
-
}
|
682
|
-
}
|
683
|
-
if (props[propName] == null) {
|
684
|
-
if (isRequired) {
|
685
|
-
if (props[propName] === null) {
|
686
|
-
return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required " + ("in `" + componentName + "`, but its value is `null`."));
|
687
|
-
}
|
688
|
-
return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required in " + ("`" + componentName + "`, but its value is `undefined`."));
|
689
|
-
}
|
690
|
-
return null;
|
691
|
-
} else {
|
692
|
-
return validate(props, propName, componentName, location, propFullName);
|
693
|
-
}
|
694
|
-
}
|
695
|
-
var chainedCheckType = checkType.bind(null, false);
|
696
|
-
chainedCheckType.isRequired = checkType.bind(null, true);
|
697
|
-
return chainedCheckType;
|
698
|
-
}
|
699
|
-
function createPrimitiveTypeChecker(expectedType) {
|
700
|
-
function validate(props, propName, componentName, location, propFullName, secret) {
|
701
|
-
var propValue = props[propName];
|
702
|
-
var propType = getPropType(propValue);
|
703
|
-
if (propType !== expectedType) {
|
704
|
-
var preciseType = getPreciseType(propValue);
|
705
|
-
return new PropTypeError(
|
706
|
-
"Invalid " + location + " `" + propFullName + "` of type " + ("`" + preciseType + "` supplied to `" + componentName + "`, expected ") + ("`" + expectedType + "`."),
|
707
|
-
{ expectedType }
|
708
|
-
);
|
709
|
-
}
|
710
|
-
return null;
|
711
|
-
}
|
712
|
-
return createChainableTypeChecker(validate);
|
713
|
-
}
|
714
|
-
function createAnyTypeChecker() {
|
715
|
-
return createChainableTypeChecker(emptyFunctionThatReturnsNull);
|
716
|
-
}
|
717
|
-
function createArrayOfTypeChecker(typeChecker) {
|
718
|
-
function validate(props, propName, componentName, location, propFullName) {
|
719
|
-
if (typeof typeChecker !== "function") {
|
720
|
-
return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside arrayOf.");
|
721
|
-
}
|
722
|
-
var propValue = props[propName];
|
723
|
-
if (!Array.isArray(propValue)) {
|
724
|
-
var propType = getPropType(propValue);
|
725
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an array."));
|
726
|
-
}
|
727
|
-
for (var i = 0; i < propValue.length; i++) {
|
728
|
-
var error = typeChecker(propValue, i, componentName, location, propFullName + "[" + i + "]", ReactPropTypesSecret);
|
729
|
-
if (error instanceof Error) {
|
730
|
-
return error;
|
731
|
-
}
|
732
|
-
}
|
733
|
-
return null;
|
734
|
-
}
|
735
|
-
return createChainableTypeChecker(validate);
|
736
|
-
}
|
737
|
-
function createElementTypeChecker() {
|
738
|
-
function validate(props, propName, componentName, location, propFullName) {
|
739
|
-
var propValue = props[propName];
|
740
|
-
if (!isValidElement(propValue)) {
|
741
|
-
var propType = getPropType(propValue);
|
742
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement."));
|
743
|
-
}
|
744
|
-
return null;
|
745
|
-
}
|
746
|
-
return createChainableTypeChecker(validate);
|
747
|
-
}
|
748
|
-
function createElementTypeTypeChecker() {
|
749
|
-
function validate(props, propName, componentName, location, propFullName) {
|
750
|
-
var propValue = props[propName];
|
751
|
-
if (!ReactIs.isValidElementType(propValue)) {
|
752
|
-
var propType = getPropType(propValue);
|
753
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement type."));
|
754
|
-
}
|
755
|
-
return null;
|
756
|
-
}
|
757
|
-
return createChainableTypeChecker(validate);
|
758
|
-
}
|
759
|
-
function createInstanceTypeChecker(expectedClass) {
|
760
|
-
function validate(props, propName, componentName, location, propFullName) {
|
761
|
-
if (!(props[propName] instanceof expectedClass)) {
|
762
|
-
var expectedClassName = expectedClass.name || ANONYMOUS;
|
763
|
-
var actualClassName = getClassName23(props[propName]);
|
764
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + actualClassName + "` supplied to `" + componentName + "`, expected ") + ("instance of `" + expectedClassName + "`."));
|
765
|
-
}
|
766
|
-
return null;
|
767
|
-
}
|
768
|
-
return createChainableTypeChecker(validate);
|
769
|
-
}
|
770
|
-
function createEnumTypeChecker(expectedValues) {
|
771
|
-
if (!Array.isArray(expectedValues)) {
|
772
|
-
if (process.env.NODE_ENV !== "production") {
|
773
|
-
if (arguments.length > 1) {
|
774
|
-
printWarning(
|
775
|
-
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
776
|
-
);
|
777
|
-
} else {
|
778
|
-
printWarning("Invalid argument supplied to oneOf, expected an array.");
|
779
|
-
}
|
780
|
-
}
|
781
|
-
return emptyFunctionThatReturnsNull;
|
782
|
-
}
|
783
|
-
function validate(props, propName, componentName, location, propFullName) {
|
784
|
-
var propValue = props[propName];
|
785
|
-
for (var i = 0; i < expectedValues.length; i++) {
|
786
|
-
if (is(propValue, expectedValues[i])) {
|
787
|
-
return null;
|
788
|
-
}
|
789
|
-
}
|
790
|
-
var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
|
791
|
-
var type = getPreciseType(value);
|
792
|
-
if (type === "symbol") {
|
793
|
-
return String(value);
|
794
|
-
}
|
795
|
-
return value;
|
796
|
-
});
|
797
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of value `" + String(propValue) + "` " + ("supplied to `" + componentName + "`, expected one of " + valuesString + "."));
|
798
|
-
}
|
799
|
-
return createChainableTypeChecker(validate);
|
800
|
-
}
|
801
|
-
function createObjectOfTypeChecker(typeChecker) {
|
802
|
-
function validate(props, propName, componentName, location, propFullName) {
|
803
|
-
if (typeof typeChecker !== "function") {
|
804
|
-
return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside objectOf.");
|
805
|
-
}
|
806
|
-
var propValue = props[propName];
|
807
|
-
var propType = getPropType(propValue);
|
808
|
-
if (propType !== "object") {
|
809
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an object."));
|
810
|
-
}
|
811
|
-
for (var key in propValue) {
|
812
|
-
if (has(propValue, key)) {
|
813
|
-
var error = typeChecker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
|
814
|
-
if (error instanceof Error) {
|
815
|
-
return error;
|
816
|
-
}
|
817
|
-
}
|
818
|
-
}
|
819
|
-
return null;
|
820
|
-
}
|
821
|
-
return createChainableTypeChecker(validate);
|
822
|
-
}
|
823
|
-
function createUnionTypeChecker(arrayOfTypeCheckers) {
|
824
|
-
if (!Array.isArray(arrayOfTypeCheckers)) {
|
825
|
-
process.env.NODE_ENV !== "production" ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
|
826
|
-
return emptyFunctionThatReturnsNull;
|
827
|
-
}
|
828
|
-
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
829
|
-
var checker = arrayOfTypeCheckers[i];
|
830
|
-
if (typeof checker !== "function") {
|
831
|
-
printWarning(
|
832
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + getPostfixForTypeWarning(checker) + " at index " + i + "."
|
833
|
-
);
|
834
|
-
return emptyFunctionThatReturnsNull;
|
835
|
-
}
|
836
|
-
}
|
837
|
-
function validate(props, propName, componentName, location, propFullName) {
|
838
|
-
var expectedTypes = [];
|
839
|
-
for (var i2 = 0; i2 < arrayOfTypeCheckers.length; i2++) {
|
840
|
-
var checker2 = arrayOfTypeCheckers[i2];
|
841
|
-
var checkerResult = checker2(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
|
842
|
-
if (checkerResult == null) {
|
843
|
-
return null;
|
844
|
-
}
|
845
|
-
if (checkerResult.data && has(checkerResult.data, "expectedType")) {
|
846
|
-
expectedTypes.push(checkerResult.data.expectedType);
|
847
|
-
}
|
848
|
-
}
|
849
|
-
var expectedTypesMessage = expectedTypes.length > 0 ? ", expected one of type [" + expectedTypes.join(", ") + "]" : "";
|
850
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`" + expectedTypesMessage + "."));
|
851
|
-
}
|
852
|
-
return createChainableTypeChecker(validate);
|
853
|
-
}
|
854
|
-
function createNodeChecker() {
|
855
|
-
function validate(props, propName, componentName, location, propFullName) {
|
856
|
-
if (!isNode(props[propName])) {
|
857
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`, expected a ReactNode."));
|
858
|
-
}
|
859
|
-
return null;
|
860
|
-
}
|
861
|
-
return createChainableTypeChecker(validate);
|
862
|
-
}
|
863
|
-
function invalidValidatorError(componentName, location, propFullName, key, type) {
|
864
|
-
return new PropTypeError(
|
865
|
-
(componentName || "React class") + ": " + location + " type `" + propFullName + "." + key + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + type + "`."
|
866
|
-
);
|
867
|
-
}
|
868
|
-
function createShapeTypeChecker(shapeTypes) {
|
869
|
-
function validate(props, propName, componentName, location, propFullName) {
|
870
|
-
var propValue = props[propName];
|
871
|
-
var propType = getPropType(propValue);
|
872
|
-
if (propType !== "object") {
|
873
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
|
874
|
-
}
|
875
|
-
for (var key in shapeTypes) {
|
876
|
-
var checker = shapeTypes[key];
|
877
|
-
if (typeof checker !== "function") {
|
878
|
-
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
879
|
-
}
|
880
|
-
var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
|
881
|
-
if (error) {
|
882
|
-
return error;
|
883
|
-
}
|
884
|
-
}
|
885
|
-
return null;
|
886
|
-
}
|
887
|
-
return createChainableTypeChecker(validate);
|
888
|
-
}
|
889
|
-
function createStrictShapeTypeChecker(shapeTypes) {
|
890
|
-
function validate(props, propName, componentName, location, propFullName) {
|
891
|
-
var propValue = props[propName];
|
892
|
-
var propType = getPropType(propValue);
|
893
|
-
if (propType !== "object") {
|
894
|
-
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
|
895
|
-
}
|
896
|
-
var allKeys = assign({}, props[propName], shapeTypes);
|
897
|
-
for (var key in allKeys) {
|
898
|
-
var checker = shapeTypes[key];
|
899
|
-
if (has(shapeTypes, key) && typeof checker !== "function") {
|
900
|
-
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
901
|
-
}
|
902
|
-
if (!checker) {
|
903
|
-
return new PropTypeError(
|
904
|
-
"Invalid " + location + " `" + propFullName + "` key `" + key + "` supplied to `" + componentName + "`.\nBad object: " + JSON.stringify(props[propName], null, " ") + "\nValid keys: " + JSON.stringify(Object.keys(shapeTypes), null, " ")
|
905
|
-
);
|
906
|
-
}
|
907
|
-
var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
|
908
|
-
if (error) {
|
909
|
-
return error;
|
910
|
-
}
|
911
|
-
}
|
912
|
-
return null;
|
913
|
-
}
|
914
|
-
return createChainableTypeChecker(validate);
|
915
|
-
}
|
916
|
-
function isNode(propValue) {
|
917
|
-
switch (typeof propValue) {
|
918
|
-
case "number":
|
919
|
-
case "string":
|
920
|
-
case "undefined":
|
921
|
-
return true;
|
922
|
-
case "boolean":
|
923
|
-
return !propValue;
|
924
|
-
case "object":
|
925
|
-
if (Array.isArray(propValue)) {
|
926
|
-
return propValue.every(isNode);
|
927
|
-
}
|
928
|
-
if (propValue === null || isValidElement(propValue)) {
|
929
|
-
return true;
|
930
|
-
}
|
931
|
-
var iteratorFn = getIteratorFn(propValue);
|
932
|
-
if (iteratorFn) {
|
933
|
-
var iterator = iteratorFn.call(propValue);
|
934
|
-
var step;
|
935
|
-
if (iteratorFn !== propValue.entries) {
|
936
|
-
while (!(step = iterator.next()).done) {
|
937
|
-
if (!isNode(step.value)) {
|
938
|
-
return false;
|
939
|
-
}
|
940
|
-
}
|
941
|
-
} else {
|
942
|
-
while (!(step = iterator.next()).done) {
|
943
|
-
var entry = step.value;
|
944
|
-
if (entry) {
|
945
|
-
if (!isNode(entry[1])) {
|
946
|
-
return false;
|
947
|
-
}
|
948
|
-
}
|
949
|
-
}
|
950
|
-
}
|
951
|
-
} else {
|
952
|
-
return false;
|
953
|
-
}
|
954
|
-
return true;
|
955
|
-
default:
|
956
|
-
return false;
|
957
|
-
}
|
958
|
-
}
|
959
|
-
function isSymbol(propType, propValue) {
|
960
|
-
if (propType === "symbol") {
|
961
|
-
return true;
|
962
|
-
}
|
963
|
-
if (!propValue) {
|
964
|
-
return false;
|
965
|
-
}
|
966
|
-
if (propValue["@@toStringTag"] === "Symbol") {
|
967
|
-
return true;
|
968
|
-
}
|
969
|
-
if (typeof Symbol === "function" && propValue instanceof Symbol) {
|
970
|
-
return true;
|
971
|
-
}
|
972
|
-
return false;
|
973
|
-
}
|
974
|
-
function getPropType(propValue) {
|
975
|
-
var propType = typeof propValue;
|
976
|
-
if (Array.isArray(propValue)) {
|
977
|
-
return "array";
|
978
|
-
}
|
979
|
-
if (propValue instanceof RegExp) {
|
980
|
-
return "object";
|
981
|
-
}
|
982
|
-
if (isSymbol(propType, propValue)) {
|
983
|
-
return "symbol";
|
984
|
-
}
|
985
|
-
return propType;
|
986
|
-
}
|
987
|
-
function getPreciseType(propValue) {
|
988
|
-
if (typeof propValue === "undefined" || propValue === null) {
|
989
|
-
return "" + propValue;
|
990
|
-
}
|
991
|
-
var propType = getPropType(propValue);
|
992
|
-
if (propType === "object") {
|
993
|
-
if (propValue instanceof Date) {
|
994
|
-
return "date";
|
995
|
-
} else if (propValue instanceof RegExp) {
|
996
|
-
return "regexp";
|
997
|
-
}
|
998
|
-
}
|
999
|
-
return propType;
|
1000
|
-
}
|
1001
|
-
function getPostfixForTypeWarning(value) {
|
1002
|
-
var type = getPreciseType(value);
|
1003
|
-
switch (type) {
|
1004
|
-
case "array":
|
1005
|
-
case "object":
|
1006
|
-
return "an " + type;
|
1007
|
-
case "boolean":
|
1008
|
-
case "date":
|
1009
|
-
case "regexp":
|
1010
|
-
return "a " + type;
|
1011
|
-
default:
|
1012
|
-
return type;
|
1013
|
-
}
|
1014
|
-
}
|
1015
|
-
function getClassName23(propValue) {
|
1016
|
-
if (!propValue.constructor || !propValue.constructor.name) {
|
1017
|
-
return ANONYMOUS;
|
1018
|
-
}
|
1019
|
-
return propValue.constructor.name;
|
1020
|
-
}
|
1021
|
-
ReactPropTypes.checkPropTypes = checkPropTypes;
|
1022
|
-
ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
|
1023
|
-
ReactPropTypes.PropTypes = ReactPropTypes;
|
1024
|
-
return ReactPropTypes;
|
1025
|
-
};
|
1026
|
-
}
|
1027
|
-
});
|
1028
|
-
|
1029
|
-
// ../../node_modules/prop-types/factoryWithThrowingShims.js
|
1030
|
-
var require_factoryWithThrowingShims = __commonJS({
|
1031
|
-
"../../node_modules/prop-types/factoryWithThrowingShims.js"(exports, module2) {
|
1032
|
-
"use strict";
|
1033
|
-
init_react_import();
|
1034
|
-
var ReactPropTypesSecret = require_ReactPropTypesSecret();
|
1035
|
-
function emptyFunction() {
|
1036
|
-
}
|
1037
|
-
function emptyFunctionWithReset() {
|
1038
|
-
}
|
1039
|
-
emptyFunctionWithReset.resetWarningCache = emptyFunction;
|
1040
|
-
module2.exports = function() {
|
1041
|
-
function shim(props, propName, componentName, location, propFullName, secret) {
|
1042
|
-
if (secret === ReactPropTypesSecret) {
|
1043
|
-
return;
|
1044
|
-
}
|
1045
|
-
var err = new Error(
|
1046
|
-
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
1047
|
-
);
|
1048
|
-
err.name = "Invariant Violation";
|
1049
|
-
throw err;
|
1050
|
-
}
|
1051
|
-
;
|
1052
|
-
shim.isRequired = shim;
|
1053
|
-
function getShim() {
|
1054
|
-
return shim;
|
1055
|
-
}
|
1056
|
-
;
|
1057
|
-
var ReactPropTypes = {
|
1058
|
-
array: shim,
|
1059
|
-
bigint: shim,
|
1060
|
-
bool: shim,
|
1061
|
-
func: shim,
|
1062
|
-
number: shim,
|
1063
|
-
object: shim,
|
1064
|
-
string: shim,
|
1065
|
-
symbol: shim,
|
1066
|
-
any: shim,
|
1067
|
-
arrayOf: getShim,
|
1068
|
-
element: shim,
|
1069
|
-
elementType: shim,
|
1070
|
-
instanceOf: getShim,
|
1071
|
-
node: shim,
|
1072
|
-
objectOf: getShim,
|
1073
|
-
oneOf: getShim,
|
1074
|
-
oneOfType: getShim,
|
1075
|
-
shape: getShim,
|
1076
|
-
exact: getShim,
|
1077
|
-
checkPropTypes: emptyFunctionWithReset,
|
1078
|
-
resetWarningCache: emptyFunction
|
1079
|
-
};
|
1080
|
-
ReactPropTypes.PropTypes = ReactPropTypes;
|
1081
|
-
return ReactPropTypes;
|
1082
|
-
};
|
1083
|
-
}
|
1084
|
-
});
|
1085
|
-
|
1086
|
-
// ../../node_modules/prop-types/index.js
|
1087
|
-
var require_prop_types = __commonJS({
|
1088
|
-
"../../node_modules/prop-types/index.js"(exports, module2) {
|
1089
|
-
init_react_import();
|
1090
|
-
if (process.env.NODE_ENV !== "production") {
|
1091
|
-
ReactIs = require_react_is();
|
1092
|
-
throwOnDirectAccess = true;
|
1093
|
-
module2.exports = require_factoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
|
1094
|
-
} else {
|
1095
|
-
module2.exports = require_factoryWithThrowingShims()();
|
1096
|
-
}
|
1097
|
-
var ReactIs;
|
1098
|
-
var throwOnDirectAccess;
|
1099
|
-
}
|
1100
|
-
});
|
1101
|
-
|
1102
146
|
// ../../node_modules/scheduler/cjs/scheduler.production.min.js
|
1103
147
|
var require_scheduler_production_min = __commonJS({
|
1104
148
|
"../../node_modules/scheduler/cjs/scheduler.production.min.js"(exports) {
|
@@ -8989,9 +8033,9 @@ var require_react_dom_development = __commonJS({
|
|
8989
8033
|
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") {
|
8990
8034
|
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
8991
8035
|
}
|
8992
|
-
var
|
8036
|
+
var React2 = require("react");
|
8993
8037
|
var Scheduler = require_scheduler();
|
8994
|
-
var ReactSharedInternals =
|
8038
|
+
var ReactSharedInternals = React2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
8995
8039
|
var suppressWarning = false;
|
8996
8040
|
function setSuppressWarning(newSuppressWarning) {
|
8997
8041
|
{
|
@@ -10596,7 +9640,7 @@ var require_react_dom_development = __commonJS({
|
|
10596
9640
|
{
|
10597
9641
|
if (props.value == null) {
|
10598
9642
|
if (typeof props.children === "object" && props.children !== null) {
|
10599
|
-
|
9643
|
+
React2.Children.forEach(props.children, function(child) {
|
10600
9644
|
if (child == null) {
|
10601
9645
|
return;
|
10602
9646
|
}
|
@@ -15995,7 +15039,7 @@ var require_react_dom_development = __commonJS({
|
|
15995
15039
|
}
|
15996
15040
|
}
|
15997
15041
|
}
|
15998
|
-
function
|
15042
|
+
function createElement2(type, props, rootContainerElement, parentNamespace) {
|
15999
15043
|
var isCustomComponentTag;
|
16000
15044
|
var ownerDocument = getOwnerDocumentFromRootContainer(rootContainerElement);
|
16001
15045
|
var domElement;
|
@@ -16856,7 +15900,7 @@ var require_react_dom_development = __commonJS({
|
|
16856
15900
|
}
|
16857
15901
|
parentNamespace = hostContextDev.namespace;
|
16858
15902
|
}
|
16859
|
-
var domElement =
|
15903
|
+
var domElement = createElement2(type, props, rootContainerInstance, parentNamespace);
|
16860
15904
|
precacheFiberNode(internalInstanceHandle, domElement);
|
16861
15905
|
updateFiberProps(domElement, props);
|
16862
15906
|
return domElement;
|
@@ -19043,7 +18087,7 @@ var require_react_dom_development = __commonJS({
|
|
19043
18087
|
}
|
19044
18088
|
}
|
19045
18089
|
var fakeInternalInstance = {};
|
19046
|
-
var emptyRefsObject = new
|
18090
|
+
var emptyRefsObject = new React2.Component().refs;
|
19047
18091
|
var didWarnAboutStateAssignmentForComponent;
|
19048
18092
|
var didWarnAboutUninitializedState;
|
19049
18093
|
var didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate;
|
@@ -30143,7 +29187,11 @@ var getClassNameFactory = (rootClass, styles, { baseClass = "" } = {}) => (optio
|
|
30143
29187
|
modifiers = options;
|
30144
29188
|
}
|
30145
29189
|
if (descendant) {
|
30146
|
-
|
29190
|
+
const style = styles[`${rootClass}-${descendant}`];
|
29191
|
+
if (style) {
|
29192
|
+
return baseClass + styles[`${rootClass}-${descendant}`] || "";
|
29193
|
+
}
|
29194
|
+
return "";
|
30147
29195
|
} else if (modifiers) {
|
30148
29196
|
const prefixedModifiers = {};
|
30149
29197
|
for (let modifier in modifiers) {
|
@@ -30373,1655 +29421,232 @@ Drawer.Item = DrawerItem;
|
|
30373
29421
|
|
30374
29422
|
// components/DropZone/index.tsx
|
30375
29423
|
init_react_import();
|
30376
|
-
var
|
29424
|
+
var import_react9 = require("react");
|
30377
29425
|
|
30378
29426
|
// components/DraggableComponent/index.tsx
|
30379
29427
|
init_react_import();
|
30380
|
-
var
|
29428
|
+
var import_react6 = require("react");
|
30381
29429
|
var import_dnd3 = require("@hello-pangea/dnd");
|
30382
29430
|
|
30383
29431
|
// css-module:/home/runner/work/puck/puck/packages/core/components/DraggableComponent/styles.module.css#css-module
|
30384
29432
|
init_react_import();
|
30385
29433
|
var styles_module_default3 = { "DraggableComponent": "_DraggableComponent_foluk_1", "DraggableComponent--isDragging": "_DraggableComponent--isDragging_foluk_6", "DraggableComponent-contents": "_DraggableComponent-contents_foluk_12", "DraggableComponent-overlay": "_DraggableComponent-overlay_foluk_25", "DraggableComponent-loadingOverlay": "_DraggableComponent-loadingOverlay_foluk_39", "DraggableComponent--isLocked": "_DraggableComponent--isLocked_foluk_55", "DraggableComponent--forceHover": "_DraggableComponent--forceHover_foluk_61", "DraggableComponent--isSelected": "_DraggableComponent--isSelected_foluk_66", "DraggableComponent--indicativeHover": "_DraggableComponent--indicativeHover_foluk_71", "DraggableComponent-actions": "_DraggableComponent-actions_foluk_97", "DraggableComponent-actionsLabel": "_DraggableComponent-actionsLabel_foluk_120", "DraggableComponent-action": "_DraggableComponent-action_foluk_97" };
|
30386
29434
|
|
30387
|
-
// ../../node_modules/react
|
29435
|
+
// ../../node_modules/lucide-react/dist/esm/lucide-react.js
|
30388
29436
|
init_react_import();
|
30389
29437
|
|
30390
|
-
// ../../node_modules/react
|
29438
|
+
// ../../node_modules/lucide-react/dist/esm/createLucideIcon.js
|
30391
29439
|
init_react_import();
|
30392
|
-
var import_react4 =
|
30393
|
-
var import_prop_types = __toESM(require_prop_types());
|
30394
|
-
function _extends() {
|
30395
|
-
_extends = Object.assign || function(target) {
|
30396
|
-
for (var i = 1; i < arguments.length; i++) {
|
30397
|
-
var source = arguments[i];
|
30398
|
-
for (var key in source) {
|
30399
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
30400
|
-
target[key] = source[key];
|
30401
|
-
}
|
30402
|
-
}
|
30403
|
-
}
|
30404
|
-
return target;
|
30405
|
-
};
|
30406
|
-
return _extends.apply(this, arguments);
|
30407
|
-
}
|
30408
|
-
function _objectWithoutProperties(source, excluded) {
|
30409
|
-
if (source == null)
|
30410
|
-
return {};
|
30411
|
-
var target = _objectWithoutPropertiesLoose(source, excluded);
|
30412
|
-
var key, i;
|
30413
|
-
if (Object.getOwnPropertySymbols) {
|
30414
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
30415
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
30416
|
-
key = sourceSymbolKeys[i];
|
30417
|
-
if (excluded.indexOf(key) >= 0)
|
30418
|
-
continue;
|
30419
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
30420
|
-
continue;
|
30421
|
-
target[key] = source[key];
|
30422
|
-
}
|
30423
|
-
}
|
30424
|
-
return target;
|
30425
|
-
}
|
30426
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
30427
|
-
if (source == null)
|
30428
|
-
return {};
|
30429
|
-
var target = {};
|
30430
|
-
var sourceKeys = Object.keys(source);
|
30431
|
-
var key, i;
|
30432
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
30433
|
-
key = sourceKeys[i];
|
30434
|
-
if (excluded.indexOf(key) >= 0)
|
30435
|
-
continue;
|
30436
|
-
target[key] = source[key];
|
30437
|
-
}
|
30438
|
-
return target;
|
30439
|
-
}
|
30440
|
-
var CheckCircle = (0, import_react4.forwardRef)(function(_ref, ref) {
|
30441
|
-
var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties(_ref, ["color", "size"]);
|
30442
|
-
return /* @__PURE__ */ import_react4.default.createElement("svg", _extends({
|
30443
|
-
ref,
|
30444
|
-
xmlns: "http://www.w3.org/2000/svg",
|
30445
|
-
width: size,
|
30446
|
-
height: size,
|
30447
|
-
viewBox: "0 0 24 24",
|
30448
|
-
fill: "none",
|
30449
|
-
stroke: color,
|
30450
|
-
strokeWidth: "2",
|
30451
|
-
strokeLinecap: "round",
|
30452
|
-
strokeLinejoin: "round"
|
30453
|
-
}, rest), /* @__PURE__ */ import_react4.default.createElement("path", {
|
30454
|
-
d: "M22 11.08V12a10 10 0 1 1-5.93-9.14"
|
30455
|
-
}), /* @__PURE__ */ import_react4.default.createElement("polyline", {
|
30456
|
-
points: "22 4 12 14.01 9 11.01"
|
30457
|
-
}));
|
30458
|
-
});
|
30459
|
-
CheckCircle.propTypes = {
|
30460
|
-
color: import_prop_types.default.string,
|
30461
|
-
size: import_prop_types.default.oneOfType([import_prop_types.default.string, import_prop_types.default.number])
|
30462
|
-
};
|
30463
|
-
CheckCircle.displayName = "CheckCircle";
|
30464
|
-
var check_circle_default = CheckCircle;
|
29440
|
+
var import_react4 = require("react");
|
30465
29441
|
|
30466
|
-
// ../../node_modules/react
|
29442
|
+
// ../../node_modules/lucide-react/dist/esm/defaultAttributes.js
|
30467
29443
|
init_react_import();
|
30468
|
-
var
|
30469
|
-
|
30470
|
-
|
30471
|
-
|
30472
|
-
|
30473
|
-
|
30474
|
-
|
30475
|
-
|
30476
|
-
|
30477
|
-
|
30478
|
-
}
|
30479
|
-
}
|
30480
|
-
return target;
|
30481
|
-
};
|
30482
|
-
return _extends2.apply(this, arguments);
|
30483
|
-
}
|
30484
|
-
function _objectWithoutProperties2(source, excluded) {
|
30485
|
-
if (source == null)
|
30486
|
-
return {};
|
30487
|
-
var target = _objectWithoutPropertiesLoose2(source, excluded);
|
30488
|
-
var key, i;
|
30489
|
-
if (Object.getOwnPropertySymbols) {
|
30490
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
30491
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
30492
|
-
key = sourceSymbolKeys[i];
|
30493
|
-
if (excluded.indexOf(key) >= 0)
|
30494
|
-
continue;
|
30495
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
30496
|
-
continue;
|
30497
|
-
target[key] = source[key];
|
30498
|
-
}
|
30499
|
-
}
|
30500
|
-
return target;
|
30501
|
-
}
|
30502
|
-
function _objectWithoutPropertiesLoose2(source, excluded) {
|
30503
|
-
if (source == null)
|
30504
|
-
return {};
|
30505
|
-
var target = {};
|
30506
|
-
var sourceKeys = Object.keys(source);
|
30507
|
-
var key, i;
|
30508
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
30509
|
-
key = sourceKeys[i];
|
30510
|
-
if (excluded.indexOf(key) >= 0)
|
30511
|
-
continue;
|
30512
|
-
target[key] = source[key];
|
30513
|
-
}
|
30514
|
-
return target;
|
30515
|
-
}
|
30516
|
-
var ChevronDown = (0, import_react5.forwardRef)(function(_ref, ref) {
|
30517
|
-
var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties2(_ref, ["color", "size"]);
|
30518
|
-
return /* @__PURE__ */ import_react5.default.createElement("svg", _extends2({
|
30519
|
-
ref,
|
30520
|
-
xmlns: "http://www.w3.org/2000/svg",
|
30521
|
-
width: size,
|
30522
|
-
height: size,
|
30523
|
-
viewBox: "0 0 24 24",
|
30524
|
-
fill: "none",
|
30525
|
-
stroke: color,
|
30526
|
-
strokeWidth: "2",
|
30527
|
-
strokeLinecap: "round",
|
30528
|
-
strokeLinejoin: "round"
|
30529
|
-
}, rest), /* @__PURE__ */ import_react5.default.createElement("polyline", {
|
30530
|
-
points: "6 9 12 15 18 9"
|
30531
|
-
}));
|
30532
|
-
});
|
30533
|
-
ChevronDown.propTypes = {
|
30534
|
-
color: import_prop_types2.default.string,
|
30535
|
-
size: import_prop_types2.default.oneOfType([import_prop_types2.default.string, import_prop_types2.default.number])
|
29444
|
+
var defaultAttributes = {
|
29445
|
+
xmlns: "http://www.w3.org/2000/svg",
|
29446
|
+
width: 24,
|
29447
|
+
height: 24,
|
29448
|
+
viewBox: "0 0 24 24",
|
29449
|
+
fill: "none",
|
29450
|
+
stroke: "currentColor",
|
29451
|
+
strokeWidth: 2,
|
29452
|
+
strokeLinecap: "round",
|
29453
|
+
strokeLinejoin: "round"
|
30536
29454
|
};
|
30537
|
-
ChevronDown.displayName = "ChevronDown";
|
30538
|
-
var chevron_down_default = ChevronDown;
|
30539
29455
|
|
30540
|
-
// ../../node_modules/react
|
30541
|
-
|
30542
|
-
var
|
30543
|
-
|
30544
|
-
|
30545
|
-
|
30546
|
-
|
30547
|
-
|
30548
|
-
|
30549
|
-
|
30550
|
-
|
30551
|
-
|
30552
|
-
|
30553
|
-
|
30554
|
-
|
30555
|
-
|
30556
|
-
|
30557
|
-
|
30558
|
-
|
30559
|
-
|
30560
|
-
|
30561
|
-
|
30562
|
-
var key, i;
|
30563
|
-
if (Object.getOwnPropertySymbols) {
|
30564
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
30565
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
30566
|
-
key = sourceSymbolKeys[i];
|
30567
|
-
if (excluded.indexOf(key) >= 0)
|
30568
|
-
continue;
|
30569
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
30570
|
-
continue;
|
30571
|
-
target[key] = source[key];
|
29456
|
+
// ../../node_modules/lucide-react/dist/esm/createLucideIcon.js
|
29457
|
+
var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase().trim();
|
29458
|
+
var createLucideIcon = (iconName, iconNode) => {
|
29459
|
+
const Component = (0, import_react4.forwardRef)(
|
29460
|
+
(_a, ref) => {
|
29461
|
+
var _b = _a, { color = "currentColor", size = 24, strokeWidth = 2, absoluteStrokeWidth, className = "", children } = _b, rest = __objRest(_b, ["color", "size", "strokeWidth", "absoluteStrokeWidth", "className", "children"]);
|
29462
|
+
return (0, import_react4.createElement)(
|
29463
|
+
"svg",
|
29464
|
+
__spreadValues(__spreadProps(__spreadValues({
|
29465
|
+
ref
|
29466
|
+
}, defaultAttributes), {
|
29467
|
+
width: size,
|
29468
|
+
height: size,
|
29469
|
+
stroke: color,
|
29470
|
+
strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
|
29471
|
+
className: ["lucide", `lucide-${toKebabCase(iconName)}`, className].join(" ")
|
29472
|
+
}), rest),
|
29473
|
+
[
|
29474
|
+
...iconNode.map(([tag, attrs]) => (0, import_react4.createElement)(tag, attrs)),
|
29475
|
+
...Array.isArray(children) ? children : [children]
|
29476
|
+
]
|
29477
|
+
);
|
30572
29478
|
}
|
30573
|
-
|
30574
|
-
|
30575
|
-
|
30576
|
-
function _objectWithoutPropertiesLoose3(source, excluded) {
|
30577
|
-
if (source == null)
|
30578
|
-
return {};
|
30579
|
-
var target = {};
|
30580
|
-
var sourceKeys = Object.keys(source);
|
30581
|
-
var key, i;
|
30582
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
30583
|
-
key = sourceKeys[i];
|
30584
|
-
if (excluded.indexOf(key) >= 0)
|
30585
|
-
continue;
|
30586
|
-
target[key] = source[key];
|
30587
|
-
}
|
30588
|
-
return target;
|
30589
|
-
}
|
30590
|
-
var ChevronLeft = (0, import_react6.forwardRef)(function(_ref, ref) {
|
30591
|
-
var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties3(_ref, ["color", "size"]);
|
30592
|
-
return /* @__PURE__ */ import_react6.default.createElement("svg", _extends3({
|
30593
|
-
ref,
|
30594
|
-
xmlns: "http://www.w3.org/2000/svg",
|
30595
|
-
width: size,
|
30596
|
-
height: size,
|
30597
|
-
viewBox: "0 0 24 24",
|
30598
|
-
fill: "none",
|
30599
|
-
stroke: color,
|
30600
|
-
strokeWidth: "2",
|
30601
|
-
strokeLinecap: "round",
|
30602
|
-
strokeLinejoin: "round"
|
30603
|
-
}, rest), /* @__PURE__ */ import_react6.default.createElement("polyline", {
|
30604
|
-
points: "15 18 9 12 15 6"
|
30605
|
-
}));
|
30606
|
-
});
|
30607
|
-
ChevronLeft.propTypes = {
|
30608
|
-
color: import_prop_types3.default.string,
|
30609
|
-
size: import_prop_types3.default.oneOfType([import_prop_types3.default.string, import_prop_types3.default.number])
|
29479
|
+
);
|
29480
|
+
Component.displayName = `${iconName}`;
|
29481
|
+
return Component;
|
30610
29482
|
};
|
30611
|
-
ChevronLeft.displayName = "ChevronLeft";
|
30612
|
-
var chevron_left_default = ChevronLeft;
|
30613
29483
|
|
30614
|
-
// ../../node_modules/react
|
29484
|
+
// ../../node_modules/lucide-react/dist/esm/icons/check-circle.js
|
30615
29485
|
init_react_import();
|
30616
|
-
var
|
30617
|
-
|
30618
|
-
|
30619
|
-
|
30620
|
-
for (var i = 1; i < arguments.length; i++) {
|
30621
|
-
var source = arguments[i];
|
30622
|
-
for (var key in source) {
|
30623
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
30624
|
-
target[key] = source[key];
|
30625
|
-
}
|
30626
|
-
}
|
30627
|
-
}
|
30628
|
-
return target;
|
30629
|
-
};
|
30630
|
-
return _extends4.apply(this, arguments);
|
30631
|
-
}
|
30632
|
-
function _objectWithoutProperties4(source, excluded) {
|
30633
|
-
if (source == null)
|
30634
|
-
return {};
|
30635
|
-
var target = _objectWithoutPropertiesLoose4(source, excluded);
|
30636
|
-
var key, i;
|
30637
|
-
if (Object.getOwnPropertySymbols) {
|
30638
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
30639
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
30640
|
-
key = sourceSymbolKeys[i];
|
30641
|
-
if (excluded.indexOf(key) >= 0)
|
30642
|
-
continue;
|
30643
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
30644
|
-
continue;
|
30645
|
-
target[key] = source[key];
|
30646
|
-
}
|
30647
|
-
}
|
30648
|
-
return target;
|
30649
|
-
}
|
30650
|
-
function _objectWithoutPropertiesLoose4(source, excluded) {
|
30651
|
-
if (source == null)
|
30652
|
-
return {};
|
30653
|
-
var target = {};
|
30654
|
-
var sourceKeys = Object.keys(source);
|
30655
|
-
var key, i;
|
30656
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
30657
|
-
key = sourceKeys[i];
|
30658
|
-
if (excluded.indexOf(key) >= 0)
|
30659
|
-
continue;
|
30660
|
-
target[key] = source[key];
|
30661
|
-
}
|
30662
|
-
return target;
|
30663
|
-
}
|
30664
|
-
var ChevronRight = (0, import_react7.forwardRef)(function(_ref, ref) {
|
30665
|
-
var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties4(_ref, ["color", "size"]);
|
30666
|
-
return /* @__PURE__ */ import_react7.default.createElement("svg", _extends4({
|
30667
|
-
ref,
|
30668
|
-
xmlns: "http://www.w3.org/2000/svg",
|
30669
|
-
width: size,
|
30670
|
-
height: size,
|
30671
|
-
viewBox: "0 0 24 24",
|
30672
|
-
fill: "none",
|
30673
|
-
stroke: color,
|
30674
|
-
strokeWidth: "2",
|
30675
|
-
strokeLinecap: "round",
|
30676
|
-
strokeLinejoin: "round"
|
30677
|
-
}, rest), /* @__PURE__ */ import_react7.default.createElement("polyline", {
|
30678
|
-
points: "9 18 15 12 9 6"
|
30679
|
-
}));
|
30680
|
-
});
|
30681
|
-
ChevronRight.propTypes = {
|
30682
|
-
color: import_prop_types4.default.string,
|
30683
|
-
size: import_prop_types4.default.oneOfType([import_prop_types4.default.string, import_prop_types4.default.number])
|
30684
|
-
};
|
30685
|
-
ChevronRight.displayName = "ChevronRight";
|
30686
|
-
var chevron_right_default = ChevronRight;
|
29486
|
+
var CheckCircle = createLucideIcon("CheckCircle", [
|
29487
|
+
["path", { d: "M22 11.08V12a10 10 0 1 1-5.93-9.14", key: "g774vq" }],
|
29488
|
+
["path", { d: "m9 11 3 3L22 4", key: "1pflzl" }]
|
29489
|
+
]);
|
30687
29490
|
|
30688
|
-
// ../../node_modules/react
|
29491
|
+
// ../../node_modules/lucide-react/dist/esm/icons/chevron-down.js
|
30689
29492
|
init_react_import();
|
30690
|
-
var
|
30691
|
-
|
30692
|
-
|
30693
|
-
_extends5 = Object.assign || function(target) {
|
30694
|
-
for (var i = 1; i < arguments.length; i++) {
|
30695
|
-
var source = arguments[i];
|
30696
|
-
for (var key in source) {
|
30697
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
30698
|
-
target[key] = source[key];
|
30699
|
-
}
|
30700
|
-
}
|
30701
|
-
}
|
30702
|
-
return target;
|
30703
|
-
};
|
30704
|
-
return _extends5.apply(this, arguments);
|
30705
|
-
}
|
30706
|
-
function _objectWithoutProperties5(source, excluded) {
|
30707
|
-
if (source == null)
|
30708
|
-
return {};
|
30709
|
-
var target = _objectWithoutPropertiesLoose5(source, excluded);
|
30710
|
-
var key, i;
|
30711
|
-
if (Object.getOwnPropertySymbols) {
|
30712
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
30713
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
30714
|
-
key = sourceSymbolKeys[i];
|
30715
|
-
if (excluded.indexOf(key) >= 0)
|
30716
|
-
continue;
|
30717
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
30718
|
-
continue;
|
30719
|
-
target[key] = source[key];
|
30720
|
-
}
|
30721
|
-
}
|
30722
|
-
return target;
|
30723
|
-
}
|
30724
|
-
function _objectWithoutPropertiesLoose5(source, excluded) {
|
30725
|
-
if (source == null)
|
30726
|
-
return {};
|
30727
|
-
var target = {};
|
30728
|
-
var sourceKeys = Object.keys(source);
|
30729
|
-
var key, i;
|
30730
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
30731
|
-
key = sourceKeys[i];
|
30732
|
-
if (excluded.indexOf(key) >= 0)
|
30733
|
-
continue;
|
30734
|
-
target[key] = source[key];
|
30735
|
-
}
|
30736
|
-
return target;
|
30737
|
-
}
|
30738
|
-
var ChevronUp = (0, import_react8.forwardRef)(function(_ref, ref) {
|
30739
|
-
var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties5(_ref, ["color", "size"]);
|
30740
|
-
return /* @__PURE__ */ import_react8.default.createElement("svg", _extends5({
|
30741
|
-
ref,
|
30742
|
-
xmlns: "http://www.w3.org/2000/svg",
|
30743
|
-
width: size,
|
30744
|
-
height: size,
|
30745
|
-
viewBox: "0 0 24 24",
|
30746
|
-
fill: "none",
|
30747
|
-
stroke: color,
|
30748
|
-
strokeWidth: "2",
|
30749
|
-
strokeLinecap: "round",
|
30750
|
-
strokeLinejoin: "round"
|
30751
|
-
}, rest), /* @__PURE__ */ import_react8.default.createElement("polyline", {
|
30752
|
-
points: "18 15 12 9 6 15"
|
30753
|
-
}));
|
30754
|
-
});
|
30755
|
-
ChevronUp.propTypes = {
|
30756
|
-
color: import_prop_types5.default.string,
|
30757
|
-
size: import_prop_types5.default.oneOfType([import_prop_types5.default.string, import_prop_types5.default.number])
|
30758
|
-
};
|
30759
|
-
ChevronUp.displayName = "ChevronUp";
|
30760
|
-
var chevron_up_default = ChevronUp;
|
29493
|
+
var ChevronDown = createLucideIcon("ChevronDown", [
|
29494
|
+
["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]
|
29495
|
+
]);
|
30761
29496
|
|
30762
|
-
// ../../node_modules/react
|
29497
|
+
// ../../node_modules/lucide-react/dist/esm/icons/chevron-left.js
|
30763
29498
|
init_react_import();
|
30764
|
-
var
|
30765
|
-
|
30766
|
-
|
30767
|
-
_extends6 = Object.assign || function(target) {
|
30768
|
-
for (var i = 1; i < arguments.length; i++) {
|
30769
|
-
var source = arguments[i];
|
30770
|
-
for (var key in source) {
|
30771
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
30772
|
-
target[key] = source[key];
|
30773
|
-
}
|
30774
|
-
}
|
30775
|
-
}
|
30776
|
-
return target;
|
30777
|
-
};
|
30778
|
-
return _extends6.apply(this, arguments);
|
30779
|
-
}
|
30780
|
-
function _objectWithoutProperties6(source, excluded) {
|
30781
|
-
if (source == null)
|
30782
|
-
return {};
|
30783
|
-
var target = _objectWithoutPropertiesLoose6(source, excluded);
|
30784
|
-
var key, i;
|
30785
|
-
if (Object.getOwnPropertySymbols) {
|
30786
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
30787
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
30788
|
-
key = sourceSymbolKeys[i];
|
30789
|
-
if (excluded.indexOf(key) >= 0)
|
30790
|
-
continue;
|
30791
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
30792
|
-
continue;
|
30793
|
-
target[key] = source[key];
|
30794
|
-
}
|
30795
|
-
}
|
30796
|
-
return target;
|
30797
|
-
}
|
30798
|
-
function _objectWithoutPropertiesLoose6(source, excluded) {
|
30799
|
-
if (source == null)
|
30800
|
-
return {};
|
30801
|
-
var target = {};
|
30802
|
-
var sourceKeys = Object.keys(source);
|
30803
|
-
var key, i;
|
30804
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
30805
|
-
key = sourceKeys[i];
|
30806
|
-
if (excluded.indexOf(key) >= 0)
|
30807
|
-
continue;
|
30808
|
-
target[key] = source[key];
|
30809
|
-
}
|
30810
|
-
return target;
|
30811
|
-
}
|
30812
|
-
var Copy = (0, import_react9.forwardRef)(function(_ref, ref) {
|
30813
|
-
var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties6(_ref, ["color", "size"]);
|
30814
|
-
return /* @__PURE__ */ import_react9.default.createElement("svg", _extends6({
|
30815
|
-
ref,
|
30816
|
-
xmlns: "http://www.w3.org/2000/svg",
|
30817
|
-
width: size,
|
30818
|
-
height: size,
|
30819
|
-
viewBox: "0 0 24 24",
|
30820
|
-
fill: "none",
|
30821
|
-
stroke: color,
|
30822
|
-
strokeWidth: "2",
|
30823
|
-
strokeLinecap: "round",
|
30824
|
-
strokeLinejoin: "round"
|
30825
|
-
}, rest), /* @__PURE__ */ import_react9.default.createElement("rect", {
|
30826
|
-
x: "9",
|
30827
|
-
y: "9",
|
30828
|
-
width: "13",
|
30829
|
-
height: "13",
|
30830
|
-
rx: "2",
|
30831
|
-
ry: "2"
|
30832
|
-
}), /* @__PURE__ */ import_react9.default.createElement("path", {
|
30833
|
-
d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"
|
30834
|
-
}));
|
30835
|
-
});
|
30836
|
-
Copy.propTypes = {
|
30837
|
-
color: import_prop_types6.default.string,
|
30838
|
-
size: import_prop_types6.default.oneOfType([import_prop_types6.default.string, import_prop_types6.default.number])
|
30839
|
-
};
|
30840
|
-
Copy.displayName = "Copy";
|
30841
|
-
var copy_default = Copy;
|
29499
|
+
var ChevronLeft = createLucideIcon("ChevronLeft", [
|
29500
|
+
["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]
|
29501
|
+
]);
|
30842
29502
|
|
30843
|
-
// ../../node_modules/react
|
29503
|
+
// ../../node_modules/lucide-react/dist/esm/icons/chevron-right.js
|
30844
29504
|
init_react_import();
|
30845
|
-
var
|
30846
|
-
|
30847
|
-
|
30848
|
-
_extends7 = Object.assign || function(target) {
|
30849
|
-
for (var i = 1; i < arguments.length; i++) {
|
30850
|
-
var source = arguments[i];
|
30851
|
-
for (var key in source) {
|
30852
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
30853
|
-
target[key] = source[key];
|
30854
|
-
}
|
30855
|
-
}
|
30856
|
-
}
|
30857
|
-
return target;
|
30858
|
-
};
|
30859
|
-
return _extends7.apply(this, arguments);
|
30860
|
-
}
|
30861
|
-
function _objectWithoutProperties7(source, excluded) {
|
30862
|
-
if (source == null)
|
30863
|
-
return {};
|
30864
|
-
var target = _objectWithoutPropertiesLoose7(source, excluded);
|
30865
|
-
var key, i;
|
30866
|
-
if (Object.getOwnPropertySymbols) {
|
30867
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
30868
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
30869
|
-
key = sourceSymbolKeys[i];
|
30870
|
-
if (excluded.indexOf(key) >= 0)
|
30871
|
-
continue;
|
30872
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
30873
|
-
continue;
|
30874
|
-
target[key] = source[key];
|
30875
|
-
}
|
30876
|
-
}
|
30877
|
-
return target;
|
30878
|
-
}
|
30879
|
-
function _objectWithoutPropertiesLoose7(source, excluded) {
|
30880
|
-
if (source == null)
|
30881
|
-
return {};
|
30882
|
-
var target = {};
|
30883
|
-
var sourceKeys = Object.keys(source);
|
30884
|
-
var key, i;
|
30885
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
30886
|
-
key = sourceKeys[i];
|
30887
|
-
if (excluded.indexOf(key) >= 0)
|
30888
|
-
continue;
|
30889
|
-
target[key] = source[key];
|
30890
|
-
}
|
30891
|
-
return target;
|
30892
|
-
}
|
30893
|
-
var Globe = (0, import_react10.forwardRef)(function(_ref, ref) {
|
30894
|
-
var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties7(_ref, ["color", "size"]);
|
30895
|
-
return /* @__PURE__ */ import_react10.default.createElement("svg", _extends7({
|
30896
|
-
ref,
|
30897
|
-
xmlns: "http://www.w3.org/2000/svg",
|
30898
|
-
width: size,
|
30899
|
-
height: size,
|
30900
|
-
viewBox: "0 0 24 24",
|
30901
|
-
fill: "none",
|
30902
|
-
stroke: color,
|
30903
|
-
strokeWidth: "2",
|
30904
|
-
strokeLinecap: "round",
|
30905
|
-
strokeLinejoin: "round"
|
30906
|
-
}, rest), /* @__PURE__ */ import_react10.default.createElement("circle", {
|
30907
|
-
cx: "12",
|
30908
|
-
cy: "12",
|
30909
|
-
r: "10"
|
30910
|
-
}), /* @__PURE__ */ import_react10.default.createElement("line", {
|
30911
|
-
x1: "2",
|
30912
|
-
y1: "12",
|
30913
|
-
x2: "22",
|
30914
|
-
y2: "12"
|
30915
|
-
}), /* @__PURE__ */ import_react10.default.createElement("path", {
|
30916
|
-
d: "M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"
|
30917
|
-
}));
|
30918
|
-
});
|
30919
|
-
Globe.propTypes = {
|
30920
|
-
color: import_prop_types7.default.string,
|
30921
|
-
size: import_prop_types7.default.oneOfType([import_prop_types7.default.string, import_prop_types7.default.number])
|
30922
|
-
};
|
30923
|
-
Globe.displayName = "Globe";
|
30924
|
-
var globe_default = Globe;
|
29505
|
+
var ChevronRight = createLucideIcon("ChevronRight", [
|
29506
|
+
["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]
|
29507
|
+
]);
|
30925
29508
|
|
30926
|
-
// ../../node_modules/react
|
29509
|
+
// ../../node_modules/lucide-react/dist/esm/icons/chevron-up.js
|
30927
29510
|
init_react_import();
|
30928
|
-
var
|
30929
|
-
var import_prop_types8 = __toESM(require_prop_types());
|
30930
|
-
function _extends8() {
|
30931
|
-
_extends8 = Object.assign || function(target) {
|
30932
|
-
for (var i = 1; i < arguments.length; i++) {
|
30933
|
-
var source = arguments[i];
|
30934
|
-
for (var key in source) {
|
30935
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
30936
|
-
target[key] = source[key];
|
30937
|
-
}
|
30938
|
-
}
|
30939
|
-
}
|
30940
|
-
return target;
|
30941
|
-
};
|
30942
|
-
return _extends8.apply(this, arguments);
|
30943
|
-
}
|
30944
|
-
function _objectWithoutProperties8(source, excluded) {
|
30945
|
-
if (source == null)
|
30946
|
-
return {};
|
30947
|
-
var target = _objectWithoutPropertiesLoose8(source, excluded);
|
30948
|
-
var key, i;
|
30949
|
-
if (Object.getOwnPropertySymbols) {
|
30950
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
30951
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
30952
|
-
key = sourceSymbolKeys[i];
|
30953
|
-
if (excluded.indexOf(key) >= 0)
|
30954
|
-
continue;
|
30955
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
30956
|
-
continue;
|
30957
|
-
target[key] = source[key];
|
30958
|
-
}
|
30959
|
-
}
|
30960
|
-
return target;
|
30961
|
-
}
|
30962
|
-
function _objectWithoutPropertiesLoose8(source, excluded) {
|
30963
|
-
if (source == null)
|
30964
|
-
return {};
|
30965
|
-
var target = {};
|
30966
|
-
var sourceKeys = Object.keys(source);
|
30967
|
-
var key, i;
|
30968
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
30969
|
-
key = sourceKeys[i];
|
30970
|
-
if (excluded.indexOf(key) >= 0)
|
30971
|
-
continue;
|
30972
|
-
target[key] = source[key];
|
30973
|
-
}
|
30974
|
-
return target;
|
30975
|
-
}
|
30976
|
-
var Grid = (0, import_react11.forwardRef)(function(_ref, ref) {
|
30977
|
-
var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties8(_ref, ["color", "size"]);
|
30978
|
-
return /* @__PURE__ */ import_react11.default.createElement("svg", _extends8({
|
30979
|
-
ref,
|
30980
|
-
xmlns: "http://www.w3.org/2000/svg",
|
30981
|
-
width: size,
|
30982
|
-
height: size,
|
30983
|
-
viewBox: "0 0 24 24",
|
30984
|
-
fill: "none",
|
30985
|
-
stroke: color,
|
30986
|
-
strokeWidth: "2",
|
30987
|
-
strokeLinecap: "round",
|
30988
|
-
strokeLinejoin: "round"
|
30989
|
-
}, rest), /* @__PURE__ */ import_react11.default.createElement("rect", {
|
30990
|
-
x: "3",
|
30991
|
-
y: "3",
|
30992
|
-
width: "7",
|
30993
|
-
height: "7"
|
30994
|
-
}), /* @__PURE__ */ import_react11.default.createElement("rect", {
|
30995
|
-
x: "14",
|
30996
|
-
y: "3",
|
30997
|
-
width: "7",
|
30998
|
-
height: "7"
|
30999
|
-
}), /* @__PURE__ */ import_react11.default.createElement("rect", {
|
31000
|
-
x: "14",
|
31001
|
-
y: "14",
|
31002
|
-
width: "7",
|
31003
|
-
height: "7"
|
31004
|
-
}), /* @__PURE__ */ import_react11.default.createElement("rect", {
|
31005
|
-
x: "3",
|
31006
|
-
y: "14",
|
31007
|
-
width: "7",
|
31008
|
-
height: "7"
|
31009
|
-
}));
|
31010
|
-
});
|
31011
|
-
Grid.propTypes = {
|
31012
|
-
color: import_prop_types8.default.string,
|
31013
|
-
size: import_prop_types8.default.oneOfType([import_prop_types8.default.string, import_prop_types8.default.number])
|
31014
|
-
};
|
31015
|
-
Grid.displayName = "Grid";
|
31016
|
-
var grid_default = Grid;
|
29511
|
+
var ChevronUp = createLucideIcon("ChevronUp", [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]]);
|
31017
29512
|
|
31018
|
-
// ../../node_modules/react
|
29513
|
+
// ../../node_modules/lucide-react/dist/esm/icons/copy.js
|
31019
29514
|
init_react_import();
|
31020
|
-
var
|
31021
|
-
|
31022
|
-
|
31023
|
-
|
31024
|
-
for (var i = 1; i < arguments.length; i++) {
|
31025
|
-
var source = arguments[i];
|
31026
|
-
for (var key in source) {
|
31027
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
31028
|
-
target[key] = source[key];
|
31029
|
-
}
|
31030
|
-
}
|
31031
|
-
}
|
31032
|
-
return target;
|
31033
|
-
};
|
31034
|
-
return _extends9.apply(this, arguments);
|
31035
|
-
}
|
31036
|
-
function _objectWithoutProperties9(source, excluded) {
|
31037
|
-
if (source == null)
|
31038
|
-
return {};
|
31039
|
-
var target = _objectWithoutPropertiesLoose9(source, excluded);
|
31040
|
-
var key, i;
|
31041
|
-
if (Object.getOwnPropertySymbols) {
|
31042
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
31043
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
31044
|
-
key = sourceSymbolKeys[i];
|
31045
|
-
if (excluded.indexOf(key) >= 0)
|
31046
|
-
continue;
|
31047
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
31048
|
-
continue;
|
31049
|
-
target[key] = source[key];
|
31050
|
-
}
|
31051
|
-
}
|
31052
|
-
return target;
|
31053
|
-
}
|
31054
|
-
function _objectWithoutPropertiesLoose9(source, excluded) {
|
31055
|
-
if (source == null)
|
31056
|
-
return {};
|
31057
|
-
var target = {};
|
31058
|
-
var sourceKeys = Object.keys(source);
|
31059
|
-
var key, i;
|
31060
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
31061
|
-
key = sourceKeys[i];
|
31062
|
-
if (excluded.indexOf(key) >= 0)
|
31063
|
-
continue;
|
31064
|
-
target[key] = source[key];
|
31065
|
-
}
|
31066
|
-
return target;
|
31067
|
-
}
|
31068
|
-
var Hash = (0, import_react12.forwardRef)(function(_ref, ref) {
|
31069
|
-
var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties9(_ref, ["color", "size"]);
|
31070
|
-
return /* @__PURE__ */ import_react12.default.createElement("svg", _extends9({
|
31071
|
-
ref,
|
31072
|
-
xmlns: "http://www.w3.org/2000/svg",
|
31073
|
-
width: size,
|
31074
|
-
height: size,
|
31075
|
-
viewBox: "0 0 24 24",
|
31076
|
-
fill: "none",
|
31077
|
-
stroke: color,
|
31078
|
-
strokeWidth: "2",
|
31079
|
-
strokeLinecap: "round",
|
31080
|
-
strokeLinejoin: "round"
|
31081
|
-
}, rest), /* @__PURE__ */ import_react12.default.createElement("line", {
|
31082
|
-
x1: "4",
|
31083
|
-
y1: "9",
|
31084
|
-
x2: "20",
|
31085
|
-
y2: "9"
|
31086
|
-
}), /* @__PURE__ */ import_react12.default.createElement("line", {
|
31087
|
-
x1: "4",
|
31088
|
-
y1: "15",
|
31089
|
-
x2: "20",
|
31090
|
-
y2: "15"
|
31091
|
-
}), /* @__PURE__ */ import_react12.default.createElement("line", {
|
31092
|
-
x1: "10",
|
31093
|
-
y1: "3",
|
31094
|
-
x2: "8",
|
31095
|
-
y2: "21"
|
31096
|
-
}), /* @__PURE__ */ import_react12.default.createElement("line", {
|
31097
|
-
x1: "16",
|
31098
|
-
y1: "3",
|
31099
|
-
x2: "14",
|
31100
|
-
y2: "21"
|
31101
|
-
}));
|
31102
|
-
});
|
31103
|
-
Hash.propTypes = {
|
31104
|
-
color: import_prop_types9.default.string,
|
31105
|
-
size: import_prop_types9.default.oneOfType([import_prop_types9.default.string, import_prop_types9.default.number])
|
31106
|
-
};
|
31107
|
-
Hash.displayName = "Hash";
|
31108
|
-
var hash_default = Hash;
|
29515
|
+
var Copy = createLucideIcon("Copy", [
|
29516
|
+
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
29517
|
+
["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
|
29518
|
+
]);
|
31109
29519
|
|
31110
|
-
// ../../node_modules/react
|
29520
|
+
// ../../node_modules/lucide-react/dist/esm/icons/globe.js
|
31111
29521
|
init_react_import();
|
31112
|
-
var
|
31113
|
-
|
31114
|
-
|
31115
|
-
|
31116
|
-
|
31117
|
-
var source = arguments[i];
|
31118
|
-
for (var key in source) {
|
31119
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
31120
|
-
target[key] = source[key];
|
31121
|
-
}
|
31122
|
-
}
|
31123
|
-
}
|
31124
|
-
return target;
|
31125
|
-
};
|
31126
|
-
return _extends10.apply(this, arguments);
|
31127
|
-
}
|
31128
|
-
function _objectWithoutProperties10(source, excluded) {
|
31129
|
-
if (source == null)
|
31130
|
-
return {};
|
31131
|
-
var target = _objectWithoutPropertiesLoose10(source, excluded);
|
31132
|
-
var key, i;
|
31133
|
-
if (Object.getOwnPropertySymbols) {
|
31134
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
31135
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
31136
|
-
key = sourceSymbolKeys[i];
|
31137
|
-
if (excluded.indexOf(key) >= 0)
|
31138
|
-
continue;
|
31139
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
31140
|
-
continue;
|
31141
|
-
target[key] = source[key];
|
31142
|
-
}
|
31143
|
-
}
|
31144
|
-
return target;
|
31145
|
-
}
|
31146
|
-
function _objectWithoutPropertiesLoose10(source, excluded) {
|
31147
|
-
if (source == null)
|
31148
|
-
return {};
|
31149
|
-
var target = {};
|
31150
|
-
var sourceKeys = Object.keys(source);
|
31151
|
-
var key, i;
|
31152
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
31153
|
-
key = sourceKeys[i];
|
31154
|
-
if (excluded.indexOf(key) >= 0)
|
31155
|
-
continue;
|
31156
|
-
target[key] = source[key];
|
31157
|
-
}
|
31158
|
-
return target;
|
31159
|
-
}
|
31160
|
-
var Layers = (0, import_react13.forwardRef)(function(_ref, ref) {
|
31161
|
-
var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties10(_ref, ["color", "size"]);
|
31162
|
-
return /* @__PURE__ */ import_react13.default.createElement("svg", _extends10({
|
31163
|
-
ref,
|
31164
|
-
xmlns: "http://www.w3.org/2000/svg",
|
31165
|
-
width: size,
|
31166
|
-
height: size,
|
31167
|
-
viewBox: "0 0 24 24",
|
31168
|
-
fill: "none",
|
31169
|
-
stroke: color,
|
31170
|
-
strokeWidth: "2",
|
31171
|
-
strokeLinecap: "round",
|
31172
|
-
strokeLinejoin: "round"
|
31173
|
-
}, rest), /* @__PURE__ */ import_react13.default.createElement("polygon", {
|
31174
|
-
points: "12 2 2 7 12 12 22 7 12 2"
|
31175
|
-
}), /* @__PURE__ */ import_react13.default.createElement("polyline", {
|
31176
|
-
points: "2 17 12 22 22 17"
|
31177
|
-
}), /* @__PURE__ */ import_react13.default.createElement("polyline", {
|
31178
|
-
points: "2 12 12 17 22 12"
|
31179
|
-
}));
|
31180
|
-
});
|
31181
|
-
Layers.propTypes = {
|
31182
|
-
color: import_prop_types10.default.string,
|
31183
|
-
size: import_prop_types10.default.oneOfType([import_prop_types10.default.string, import_prop_types10.default.number])
|
31184
|
-
};
|
31185
|
-
Layers.displayName = "Layers";
|
31186
|
-
var layers_default = Layers;
|
29522
|
+
var Globe = createLucideIcon("Globe", [
|
29523
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
29524
|
+
["path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20", key: "13o1zl" }],
|
29525
|
+
["path", { d: "M2 12h20", key: "9i4pu4" }]
|
29526
|
+
]);
|
31187
29527
|
|
31188
|
-
// ../../node_modules/react
|
29528
|
+
// ../../node_modules/lucide-react/dist/esm/icons/hash.js
|
31189
29529
|
init_react_import();
|
31190
|
-
var
|
31191
|
-
|
31192
|
-
|
31193
|
-
|
31194
|
-
|
31195
|
-
|
31196
|
-
for (var key in source) {
|
31197
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
31198
|
-
target[key] = source[key];
|
31199
|
-
}
|
31200
|
-
}
|
31201
|
-
}
|
31202
|
-
return target;
|
31203
|
-
};
|
31204
|
-
return _extends11.apply(this, arguments);
|
31205
|
-
}
|
31206
|
-
function _objectWithoutProperties11(source, excluded) {
|
31207
|
-
if (source == null)
|
31208
|
-
return {};
|
31209
|
-
var target = _objectWithoutPropertiesLoose11(source, excluded);
|
31210
|
-
var key, i;
|
31211
|
-
if (Object.getOwnPropertySymbols) {
|
31212
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
31213
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
31214
|
-
key = sourceSymbolKeys[i];
|
31215
|
-
if (excluded.indexOf(key) >= 0)
|
31216
|
-
continue;
|
31217
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
31218
|
-
continue;
|
31219
|
-
target[key] = source[key];
|
31220
|
-
}
|
31221
|
-
}
|
31222
|
-
return target;
|
31223
|
-
}
|
31224
|
-
function _objectWithoutPropertiesLoose11(source, excluded) {
|
31225
|
-
if (source == null)
|
31226
|
-
return {};
|
31227
|
-
var target = {};
|
31228
|
-
var sourceKeys = Object.keys(source);
|
31229
|
-
var key, i;
|
31230
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
31231
|
-
key = sourceKeys[i];
|
31232
|
-
if (excluded.indexOf(key) >= 0)
|
31233
|
-
continue;
|
31234
|
-
target[key] = source[key];
|
31235
|
-
}
|
31236
|
-
return target;
|
31237
|
-
}
|
31238
|
-
var Link = (0, import_react14.forwardRef)(function(_ref, ref) {
|
31239
|
-
var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties11(_ref, ["color", "size"]);
|
31240
|
-
return /* @__PURE__ */ import_react14.default.createElement("svg", _extends11({
|
31241
|
-
ref,
|
31242
|
-
xmlns: "http://www.w3.org/2000/svg",
|
31243
|
-
width: size,
|
31244
|
-
height: size,
|
31245
|
-
viewBox: "0 0 24 24",
|
31246
|
-
fill: "none",
|
31247
|
-
stroke: color,
|
31248
|
-
strokeWidth: "2",
|
31249
|
-
strokeLinecap: "round",
|
31250
|
-
strokeLinejoin: "round"
|
31251
|
-
}, rest), /* @__PURE__ */ import_react14.default.createElement("path", {
|
31252
|
-
d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"
|
31253
|
-
}), /* @__PURE__ */ import_react14.default.createElement("path", {
|
31254
|
-
d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"
|
31255
|
-
}));
|
31256
|
-
});
|
31257
|
-
Link.propTypes = {
|
31258
|
-
color: import_prop_types11.default.string,
|
31259
|
-
size: import_prop_types11.default.oneOfType([import_prop_types11.default.string, import_prop_types11.default.number])
|
31260
|
-
};
|
31261
|
-
Link.displayName = "Link";
|
31262
|
-
var link_default = Link;
|
29530
|
+
var Hash = createLucideIcon("Hash", [
|
29531
|
+
["line", { x1: "4", x2: "20", y1: "9", y2: "9", key: "4lhtct" }],
|
29532
|
+
["line", { x1: "4", x2: "20", y1: "15", y2: "15", key: "vyu0kd" }],
|
29533
|
+
["line", { x1: "10", x2: "8", y1: "3", y2: "21", key: "1ggp8o" }],
|
29534
|
+
["line", { x1: "16", x2: "14", y1: "3", y2: "21", key: "weycgp" }]
|
29535
|
+
]);
|
31263
29536
|
|
31264
|
-
// ../../node_modules/react
|
29537
|
+
// ../../node_modules/lucide-react/dist/esm/icons/layers.js
|
31265
29538
|
init_react_import();
|
31266
|
-
var
|
31267
|
-
|
31268
|
-
|
31269
|
-
|
31270
|
-
|
31271
|
-
|
31272
|
-
for (var key in source) {
|
31273
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
31274
|
-
target[key] = source[key];
|
31275
|
-
}
|
31276
|
-
}
|
31277
|
-
}
|
31278
|
-
return target;
|
31279
|
-
};
|
31280
|
-
return _extends12.apply(this, arguments);
|
31281
|
-
}
|
31282
|
-
function _objectWithoutProperties12(source, excluded) {
|
31283
|
-
if (source == null)
|
31284
|
-
return {};
|
31285
|
-
var target = _objectWithoutPropertiesLoose12(source, excluded);
|
31286
|
-
var key, i;
|
31287
|
-
if (Object.getOwnPropertySymbols) {
|
31288
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
31289
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
31290
|
-
key = sourceSymbolKeys[i];
|
31291
|
-
if (excluded.indexOf(key) >= 0)
|
31292
|
-
continue;
|
31293
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
31294
|
-
continue;
|
31295
|
-
target[key] = source[key];
|
29539
|
+
var Layers = createLucideIcon("Layers", [
|
29540
|
+
[
|
29541
|
+
"path",
|
29542
|
+
{
|
29543
|
+
d: "m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",
|
29544
|
+
key: "8b97xw"
|
31296
29545
|
}
|
31297
|
-
|
31298
|
-
|
31299
|
-
}
|
31300
|
-
|
31301
|
-
if (source == null)
|
31302
|
-
return {};
|
31303
|
-
var target = {};
|
31304
|
-
var sourceKeys = Object.keys(source);
|
31305
|
-
var key, i;
|
31306
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
31307
|
-
key = sourceKeys[i];
|
31308
|
-
if (excluded.indexOf(key) >= 0)
|
31309
|
-
continue;
|
31310
|
-
target[key] = source[key];
|
31311
|
-
}
|
31312
|
-
return target;
|
31313
|
-
}
|
31314
|
-
var List = (0, import_react15.forwardRef)(function(_ref, ref) {
|
31315
|
-
var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties12(_ref, ["color", "size"]);
|
31316
|
-
return /* @__PURE__ */ import_react15.default.createElement("svg", _extends12({
|
31317
|
-
ref,
|
31318
|
-
xmlns: "http://www.w3.org/2000/svg",
|
31319
|
-
width: size,
|
31320
|
-
height: size,
|
31321
|
-
viewBox: "0 0 24 24",
|
31322
|
-
fill: "none",
|
31323
|
-
stroke: color,
|
31324
|
-
strokeWidth: "2",
|
31325
|
-
strokeLinecap: "round",
|
31326
|
-
strokeLinejoin: "round"
|
31327
|
-
}, rest), /* @__PURE__ */ import_react15.default.createElement("line", {
|
31328
|
-
x1: "8",
|
31329
|
-
y1: "6",
|
31330
|
-
x2: "21",
|
31331
|
-
y2: "6"
|
31332
|
-
}), /* @__PURE__ */ import_react15.default.createElement("line", {
|
31333
|
-
x1: "8",
|
31334
|
-
y1: "12",
|
31335
|
-
x2: "21",
|
31336
|
-
y2: "12"
|
31337
|
-
}), /* @__PURE__ */ import_react15.default.createElement("line", {
|
31338
|
-
x1: "8",
|
31339
|
-
y1: "18",
|
31340
|
-
x2: "21",
|
31341
|
-
y2: "18"
|
31342
|
-
}), /* @__PURE__ */ import_react15.default.createElement("line", {
|
31343
|
-
x1: "3",
|
31344
|
-
y1: "6",
|
31345
|
-
x2: "3.01",
|
31346
|
-
y2: "6"
|
31347
|
-
}), /* @__PURE__ */ import_react15.default.createElement("line", {
|
31348
|
-
x1: "3",
|
31349
|
-
y1: "12",
|
31350
|
-
x2: "3.01",
|
31351
|
-
y2: "12"
|
31352
|
-
}), /* @__PURE__ */ import_react15.default.createElement("line", {
|
31353
|
-
x1: "3",
|
31354
|
-
y1: "18",
|
31355
|
-
x2: "3.01",
|
31356
|
-
y2: "18"
|
31357
|
-
}));
|
31358
|
-
});
|
31359
|
-
List.propTypes = {
|
31360
|
-
color: import_prop_types12.default.string,
|
31361
|
-
size: import_prop_types12.default.oneOfType([import_prop_types12.default.string, import_prop_types12.default.number])
|
31362
|
-
};
|
31363
|
-
List.displayName = "List";
|
31364
|
-
var list_default = List;
|
29546
|
+
],
|
29547
|
+
["path", { d: "m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65", key: "dd6zsq" }],
|
29548
|
+
["path", { d: "m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65", key: "ep9fru" }]
|
29549
|
+
]);
|
31365
29550
|
|
31366
|
-
// ../../node_modules/react
|
29551
|
+
// ../../node_modules/lucide-react/dist/esm/icons/layout-grid.js
|
31367
29552
|
init_react_import();
|
31368
|
-
var
|
31369
|
-
|
31370
|
-
|
31371
|
-
|
31372
|
-
|
31373
|
-
|
31374
|
-
for (var key in source) {
|
31375
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
31376
|
-
target[key] = source[key];
|
31377
|
-
}
|
31378
|
-
}
|
31379
|
-
}
|
31380
|
-
return target;
|
31381
|
-
};
|
31382
|
-
return _extends13.apply(this, arguments);
|
31383
|
-
}
|
31384
|
-
function _objectWithoutProperties13(source, excluded) {
|
31385
|
-
if (source == null)
|
31386
|
-
return {};
|
31387
|
-
var target = _objectWithoutPropertiesLoose13(source, excluded);
|
31388
|
-
var key, i;
|
31389
|
-
if (Object.getOwnPropertySymbols) {
|
31390
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
31391
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
31392
|
-
key = sourceSymbolKeys[i];
|
31393
|
-
if (excluded.indexOf(key) >= 0)
|
31394
|
-
continue;
|
31395
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
31396
|
-
continue;
|
31397
|
-
target[key] = source[key];
|
31398
|
-
}
|
31399
|
-
}
|
31400
|
-
return target;
|
31401
|
-
}
|
31402
|
-
function _objectWithoutPropertiesLoose13(source, excluded) {
|
31403
|
-
if (source == null)
|
31404
|
-
return {};
|
31405
|
-
var target = {};
|
31406
|
-
var sourceKeys = Object.keys(source);
|
31407
|
-
var key, i;
|
31408
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
31409
|
-
key = sourceKeys[i];
|
31410
|
-
if (excluded.indexOf(key) >= 0)
|
31411
|
-
continue;
|
31412
|
-
target[key] = source[key];
|
31413
|
-
}
|
31414
|
-
return target;
|
31415
|
-
}
|
31416
|
-
var Lock = (0, import_react16.forwardRef)(function(_ref, ref) {
|
31417
|
-
var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties13(_ref, ["color", "size"]);
|
31418
|
-
return /* @__PURE__ */ import_react16.default.createElement("svg", _extends13({
|
31419
|
-
ref,
|
31420
|
-
xmlns: "http://www.w3.org/2000/svg",
|
31421
|
-
width: size,
|
31422
|
-
height: size,
|
31423
|
-
viewBox: "0 0 24 24",
|
31424
|
-
fill: "none",
|
31425
|
-
stroke: color,
|
31426
|
-
strokeWidth: "2",
|
31427
|
-
strokeLinecap: "round",
|
31428
|
-
strokeLinejoin: "round"
|
31429
|
-
}, rest), /* @__PURE__ */ import_react16.default.createElement("rect", {
|
31430
|
-
x: "3",
|
31431
|
-
y: "11",
|
31432
|
-
width: "18",
|
31433
|
-
height: "11",
|
31434
|
-
rx: "2",
|
31435
|
-
ry: "2"
|
31436
|
-
}), /* @__PURE__ */ import_react16.default.createElement("path", {
|
31437
|
-
d: "M7 11V7a5 5 0 0 1 10 0v4"
|
31438
|
-
}));
|
31439
|
-
});
|
31440
|
-
Lock.propTypes = {
|
31441
|
-
color: import_prop_types13.default.string,
|
31442
|
-
size: import_prop_types13.default.oneOfType([import_prop_types13.default.string, import_prop_types13.default.number])
|
31443
|
-
};
|
31444
|
-
Lock.displayName = "Lock";
|
31445
|
-
var lock_default = Lock;
|
29553
|
+
var LayoutGrid = createLucideIcon("LayoutGrid", [
|
29554
|
+
["rect", { width: "7", height: "7", x: "3", y: "3", rx: "1", key: "1g98yp" }],
|
29555
|
+
["rect", { width: "7", height: "7", x: "14", y: "3", rx: "1", key: "6d4xhi" }],
|
29556
|
+
["rect", { width: "7", height: "7", x: "14", y: "14", rx: "1", key: "nxv5o0" }],
|
29557
|
+
["rect", { width: "7", height: "7", x: "3", y: "14", rx: "1", key: "1bb6yr" }]
|
29558
|
+
]);
|
31446
29559
|
|
31447
|
-
// ../../node_modules/react
|
29560
|
+
// ../../node_modules/lucide-react/dist/esm/icons/link.js
|
31448
29561
|
init_react_import();
|
31449
|
-
var
|
31450
|
-
|
31451
|
-
|
31452
|
-
|
31453
|
-
for (var i = 1; i < arguments.length; i++) {
|
31454
|
-
var source = arguments[i];
|
31455
|
-
for (var key in source) {
|
31456
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
31457
|
-
target[key] = source[key];
|
31458
|
-
}
|
31459
|
-
}
|
31460
|
-
}
|
31461
|
-
return target;
|
31462
|
-
};
|
31463
|
-
return _extends14.apply(this, arguments);
|
31464
|
-
}
|
31465
|
-
function _objectWithoutProperties14(source, excluded) {
|
31466
|
-
if (source == null)
|
31467
|
-
return {};
|
31468
|
-
var target = _objectWithoutPropertiesLoose14(source, excluded);
|
31469
|
-
var key, i;
|
31470
|
-
if (Object.getOwnPropertySymbols) {
|
31471
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
31472
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
31473
|
-
key = sourceSymbolKeys[i];
|
31474
|
-
if (excluded.indexOf(key) >= 0)
|
31475
|
-
continue;
|
31476
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
31477
|
-
continue;
|
31478
|
-
target[key] = source[key];
|
31479
|
-
}
|
31480
|
-
}
|
31481
|
-
return target;
|
31482
|
-
}
|
31483
|
-
function _objectWithoutPropertiesLoose14(source, excluded) {
|
31484
|
-
if (source == null)
|
31485
|
-
return {};
|
31486
|
-
var target = {};
|
31487
|
-
var sourceKeys = Object.keys(source);
|
31488
|
-
var key, i;
|
31489
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
31490
|
-
key = sourceKeys[i];
|
31491
|
-
if (excluded.indexOf(key) >= 0)
|
31492
|
-
continue;
|
31493
|
-
target[key] = source[key];
|
31494
|
-
}
|
31495
|
-
return target;
|
31496
|
-
}
|
31497
|
-
var MoreVertical = (0, import_react17.forwardRef)(function(_ref, ref) {
|
31498
|
-
var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties14(_ref, ["color", "size"]);
|
31499
|
-
return /* @__PURE__ */ import_react17.default.createElement("svg", _extends14({
|
31500
|
-
ref,
|
31501
|
-
xmlns: "http://www.w3.org/2000/svg",
|
31502
|
-
width: size,
|
31503
|
-
height: size,
|
31504
|
-
viewBox: "0 0 24 24",
|
31505
|
-
fill: "none",
|
31506
|
-
stroke: color,
|
31507
|
-
strokeWidth: "2",
|
31508
|
-
strokeLinecap: "round",
|
31509
|
-
strokeLinejoin: "round"
|
31510
|
-
}, rest), /* @__PURE__ */ import_react17.default.createElement("circle", {
|
31511
|
-
cx: "12",
|
31512
|
-
cy: "12",
|
31513
|
-
r: "1"
|
31514
|
-
}), /* @__PURE__ */ import_react17.default.createElement("circle", {
|
31515
|
-
cx: "12",
|
31516
|
-
cy: "5",
|
31517
|
-
r: "1"
|
31518
|
-
}), /* @__PURE__ */ import_react17.default.createElement("circle", {
|
31519
|
-
cx: "12",
|
31520
|
-
cy: "19",
|
31521
|
-
r: "1"
|
31522
|
-
}));
|
31523
|
-
});
|
31524
|
-
MoreVertical.propTypes = {
|
31525
|
-
color: import_prop_types14.default.string,
|
31526
|
-
size: import_prop_types14.default.oneOfType([import_prop_types14.default.string, import_prop_types14.default.number])
|
31527
|
-
};
|
31528
|
-
MoreVertical.displayName = "MoreVertical";
|
31529
|
-
var more_vertical_default = MoreVertical;
|
29562
|
+
var Link = createLucideIcon("Link", [
|
29563
|
+
["path", { d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71", key: "1cjeqo" }],
|
29564
|
+
["path", { d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71", key: "19qd67" }]
|
29565
|
+
]);
|
31530
29566
|
|
31531
|
-
// ../../node_modules/react
|
29567
|
+
// ../../node_modules/lucide-react/dist/esm/icons/list.js
|
31532
29568
|
init_react_import();
|
31533
|
-
var
|
31534
|
-
|
31535
|
-
|
31536
|
-
|
31537
|
-
|
31538
|
-
|
31539
|
-
|
31540
|
-
|
31541
|
-
target[key] = source[key];
|
31542
|
-
}
|
31543
|
-
}
|
31544
|
-
}
|
31545
|
-
return target;
|
31546
|
-
};
|
31547
|
-
return _extends15.apply(this, arguments);
|
31548
|
-
}
|
31549
|
-
function _objectWithoutProperties15(source, excluded) {
|
31550
|
-
if (source == null)
|
31551
|
-
return {};
|
31552
|
-
var target = _objectWithoutPropertiesLoose15(source, excluded);
|
31553
|
-
var key, i;
|
31554
|
-
if (Object.getOwnPropertySymbols) {
|
31555
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
31556
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
31557
|
-
key = sourceSymbolKeys[i];
|
31558
|
-
if (excluded.indexOf(key) >= 0)
|
31559
|
-
continue;
|
31560
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
31561
|
-
continue;
|
31562
|
-
target[key] = source[key];
|
31563
|
-
}
|
31564
|
-
}
|
31565
|
-
return target;
|
31566
|
-
}
|
31567
|
-
function _objectWithoutPropertiesLoose15(source, excluded) {
|
31568
|
-
if (source == null)
|
31569
|
-
return {};
|
31570
|
-
var target = {};
|
31571
|
-
var sourceKeys = Object.keys(source);
|
31572
|
-
var key, i;
|
31573
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
31574
|
-
key = sourceKeys[i];
|
31575
|
-
if (excluded.indexOf(key) >= 0)
|
31576
|
-
continue;
|
31577
|
-
target[key] = source[key];
|
31578
|
-
}
|
31579
|
-
return target;
|
31580
|
-
}
|
31581
|
-
var Plus = (0, import_react18.forwardRef)(function(_ref, ref) {
|
31582
|
-
var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties15(_ref, ["color", "size"]);
|
31583
|
-
return /* @__PURE__ */ import_react18.default.createElement("svg", _extends15({
|
31584
|
-
ref,
|
31585
|
-
xmlns: "http://www.w3.org/2000/svg",
|
31586
|
-
width: size,
|
31587
|
-
height: size,
|
31588
|
-
viewBox: "0 0 24 24",
|
31589
|
-
fill: "none",
|
31590
|
-
stroke: color,
|
31591
|
-
strokeWidth: "2",
|
31592
|
-
strokeLinecap: "round",
|
31593
|
-
strokeLinejoin: "round"
|
31594
|
-
}, rest), /* @__PURE__ */ import_react18.default.createElement("line", {
|
31595
|
-
x1: "12",
|
31596
|
-
y1: "5",
|
31597
|
-
x2: "12",
|
31598
|
-
y2: "19"
|
31599
|
-
}), /* @__PURE__ */ import_react18.default.createElement("line", {
|
31600
|
-
x1: "5",
|
31601
|
-
y1: "12",
|
31602
|
-
x2: "19",
|
31603
|
-
y2: "12"
|
31604
|
-
}));
|
31605
|
-
});
|
31606
|
-
Plus.propTypes = {
|
31607
|
-
color: import_prop_types15.default.string,
|
31608
|
-
size: import_prop_types15.default.oneOfType([import_prop_types15.default.string, import_prop_types15.default.number])
|
31609
|
-
};
|
31610
|
-
Plus.displayName = "Plus";
|
31611
|
-
var plus_default = Plus;
|
29569
|
+
var List = createLucideIcon("List", [
|
29570
|
+
["line", { x1: "8", x2: "21", y1: "6", y2: "6", key: "7ey8pc" }],
|
29571
|
+
["line", { x1: "8", x2: "21", y1: "12", y2: "12", key: "rjfblc" }],
|
29572
|
+
["line", { x1: "8", x2: "21", y1: "18", y2: "18", key: "c3b1m8" }],
|
29573
|
+
["line", { x1: "3", x2: "3.01", y1: "6", y2: "6", key: "1g7gq3" }],
|
29574
|
+
["line", { x1: "3", x2: "3.01", y1: "12", y2: "12", key: "1pjlvk" }],
|
29575
|
+
["line", { x1: "3", x2: "3.01", y1: "18", y2: "18", key: "28t2mc" }]
|
29576
|
+
]);
|
31612
29577
|
|
31613
|
-
// ../../node_modules/react
|
29578
|
+
// ../../node_modules/lucide-react/dist/esm/icons/lock.js
|
31614
29579
|
init_react_import();
|
31615
|
-
var
|
31616
|
-
|
31617
|
-
|
31618
|
-
|
31619
|
-
for (var i = 1; i < arguments.length; i++) {
|
31620
|
-
var source = arguments[i];
|
31621
|
-
for (var key in source) {
|
31622
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
31623
|
-
target[key] = source[key];
|
31624
|
-
}
|
31625
|
-
}
|
31626
|
-
}
|
31627
|
-
return target;
|
31628
|
-
};
|
31629
|
-
return _extends16.apply(this, arguments);
|
31630
|
-
}
|
31631
|
-
function _objectWithoutProperties16(source, excluded) {
|
31632
|
-
if (source == null)
|
31633
|
-
return {};
|
31634
|
-
var target = _objectWithoutPropertiesLoose16(source, excluded);
|
31635
|
-
var key, i;
|
31636
|
-
if (Object.getOwnPropertySymbols) {
|
31637
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
31638
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
31639
|
-
key = sourceSymbolKeys[i];
|
31640
|
-
if (excluded.indexOf(key) >= 0)
|
31641
|
-
continue;
|
31642
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
31643
|
-
continue;
|
31644
|
-
target[key] = source[key];
|
31645
|
-
}
|
31646
|
-
}
|
31647
|
-
return target;
|
31648
|
-
}
|
31649
|
-
function _objectWithoutPropertiesLoose16(source, excluded) {
|
31650
|
-
if (source == null)
|
31651
|
-
return {};
|
31652
|
-
var target = {};
|
31653
|
-
var sourceKeys = Object.keys(source);
|
31654
|
-
var key, i;
|
31655
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
31656
|
-
key = sourceKeys[i];
|
31657
|
-
if (excluded.indexOf(key) >= 0)
|
31658
|
-
continue;
|
31659
|
-
target[key] = source[key];
|
31660
|
-
}
|
31661
|
-
return target;
|
31662
|
-
}
|
31663
|
-
var Search = (0, import_react19.forwardRef)(function(_ref, ref) {
|
31664
|
-
var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties16(_ref, ["color", "size"]);
|
31665
|
-
return /* @__PURE__ */ import_react19.default.createElement("svg", _extends16({
|
31666
|
-
ref,
|
31667
|
-
xmlns: "http://www.w3.org/2000/svg",
|
31668
|
-
width: size,
|
31669
|
-
height: size,
|
31670
|
-
viewBox: "0 0 24 24",
|
31671
|
-
fill: "none",
|
31672
|
-
stroke: color,
|
31673
|
-
strokeWidth: "2",
|
31674
|
-
strokeLinecap: "round",
|
31675
|
-
strokeLinejoin: "round"
|
31676
|
-
}, rest), /* @__PURE__ */ import_react19.default.createElement("circle", {
|
31677
|
-
cx: "11",
|
31678
|
-
cy: "11",
|
31679
|
-
r: "8"
|
31680
|
-
}), /* @__PURE__ */ import_react19.default.createElement("line", {
|
31681
|
-
x1: "21",
|
31682
|
-
y1: "21",
|
31683
|
-
x2: "16.65",
|
31684
|
-
y2: "16.65"
|
31685
|
-
}));
|
31686
|
-
});
|
31687
|
-
Search.propTypes = {
|
31688
|
-
color: import_prop_types16.default.string,
|
31689
|
-
size: import_prop_types16.default.oneOfType([import_prop_types16.default.string, import_prop_types16.default.number])
|
31690
|
-
};
|
31691
|
-
Search.displayName = "Search";
|
31692
|
-
var search_default = Search;
|
29580
|
+
var Lock = createLucideIcon("Lock", [
|
29581
|
+
["rect", { width: "18", height: "11", x: "3", y: "11", rx: "2", ry: "2", key: "1w4ew1" }],
|
29582
|
+
["path", { d: "M7 11V7a5 5 0 0 1 10 0v4", key: "fwvmzm" }]
|
29583
|
+
]);
|
31693
29584
|
|
31694
|
-
// ../../node_modules/react
|
29585
|
+
// ../../node_modules/lucide-react/dist/esm/icons/more-vertical.js
|
31695
29586
|
init_react_import();
|
31696
|
-
var
|
31697
|
-
|
31698
|
-
|
31699
|
-
|
31700
|
-
|
31701
|
-
var source = arguments[i];
|
31702
|
-
for (var key in source) {
|
31703
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
31704
|
-
target[key] = source[key];
|
31705
|
-
}
|
31706
|
-
}
|
31707
|
-
}
|
31708
|
-
return target;
|
31709
|
-
};
|
31710
|
-
return _extends17.apply(this, arguments);
|
31711
|
-
}
|
31712
|
-
function _objectWithoutProperties17(source, excluded) {
|
31713
|
-
if (source == null)
|
31714
|
-
return {};
|
31715
|
-
var target = _objectWithoutPropertiesLoose17(source, excluded);
|
31716
|
-
var key, i;
|
31717
|
-
if (Object.getOwnPropertySymbols) {
|
31718
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
31719
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
31720
|
-
key = sourceSymbolKeys[i];
|
31721
|
-
if (excluded.indexOf(key) >= 0)
|
31722
|
-
continue;
|
31723
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
31724
|
-
continue;
|
31725
|
-
target[key] = source[key];
|
31726
|
-
}
|
31727
|
-
}
|
31728
|
-
return target;
|
31729
|
-
}
|
31730
|
-
function _objectWithoutPropertiesLoose17(source, excluded) {
|
31731
|
-
if (source == null)
|
31732
|
-
return {};
|
31733
|
-
var target = {};
|
31734
|
-
var sourceKeys = Object.keys(source);
|
31735
|
-
var key, i;
|
31736
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
31737
|
-
key = sourceKeys[i];
|
31738
|
-
if (excluded.indexOf(key) >= 0)
|
31739
|
-
continue;
|
31740
|
-
target[key] = source[key];
|
31741
|
-
}
|
31742
|
-
return target;
|
31743
|
-
}
|
31744
|
-
var Sidebar = (0, import_react20.forwardRef)(function(_ref, ref) {
|
31745
|
-
var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties17(_ref, ["color", "size"]);
|
31746
|
-
return /* @__PURE__ */ import_react20.default.createElement("svg", _extends17({
|
31747
|
-
ref,
|
31748
|
-
xmlns: "http://www.w3.org/2000/svg",
|
31749
|
-
width: size,
|
31750
|
-
height: size,
|
31751
|
-
viewBox: "0 0 24 24",
|
31752
|
-
fill: "none",
|
31753
|
-
stroke: color,
|
31754
|
-
strokeWidth: "2",
|
31755
|
-
strokeLinecap: "round",
|
31756
|
-
strokeLinejoin: "round"
|
31757
|
-
}, rest), /* @__PURE__ */ import_react20.default.createElement("rect", {
|
31758
|
-
x: "3",
|
31759
|
-
y: "3",
|
31760
|
-
width: "18",
|
31761
|
-
height: "18",
|
31762
|
-
rx: "2",
|
31763
|
-
ry: "2"
|
31764
|
-
}), /* @__PURE__ */ import_react20.default.createElement("line", {
|
31765
|
-
x1: "9",
|
31766
|
-
y1: "3",
|
31767
|
-
x2: "9",
|
31768
|
-
y2: "21"
|
31769
|
-
}));
|
31770
|
-
});
|
31771
|
-
Sidebar.propTypes = {
|
31772
|
-
color: import_prop_types17.default.string,
|
31773
|
-
size: import_prop_types17.default.oneOfType([import_prop_types17.default.string, import_prop_types17.default.number])
|
31774
|
-
};
|
31775
|
-
Sidebar.displayName = "Sidebar";
|
31776
|
-
var sidebar_default = Sidebar;
|
29587
|
+
var MoreVertical = createLucideIcon("MoreVertical", [
|
29588
|
+
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
|
29589
|
+
["circle", { cx: "12", cy: "5", r: "1", key: "gxeob9" }],
|
29590
|
+
["circle", { cx: "12", cy: "19", r: "1", key: "lyex9k" }]
|
29591
|
+
]);
|
31777
29592
|
|
31778
|
-
// ../../node_modules/react
|
29593
|
+
// ../../node_modules/lucide-react/dist/esm/icons/panel-left.js
|
31779
29594
|
init_react_import();
|
31780
|
-
var
|
31781
|
-
|
31782
|
-
|
31783
|
-
|
31784
|
-
for (var i = 1; i < arguments.length; i++) {
|
31785
|
-
var source = arguments[i];
|
31786
|
-
for (var key in source) {
|
31787
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
31788
|
-
target[key] = source[key];
|
31789
|
-
}
|
31790
|
-
}
|
31791
|
-
}
|
31792
|
-
return target;
|
31793
|
-
};
|
31794
|
-
return _extends18.apply(this, arguments);
|
31795
|
-
}
|
31796
|
-
function _objectWithoutProperties18(source, excluded) {
|
31797
|
-
if (source == null)
|
31798
|
-
return {};
|
31799
|
-
var target = _objectWithoutPropertiesLoose18(source, excluded);
|
31800
|
-
var key, i;
|
31801
|
-
if (Object.getOwnPropertySymbols) {
|
31802
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
31803
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
31804
|
-
key = sourceSymbolKeys[i];
|
31805
|
-
if (excluded.indexOf(key) >= 0)
|
31806
|
-
continue;
|
31807
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
31808
|
-
continue;
|
31809
|
-
target[key] = source[key];
|
31810
|
-
}
|
31811
|
-
}
|
31812
|
-
return target;
|
31813
|
-
}
|
31814
|
-
function _objectWithoutPropertiesLoose18(source, excluded) {
|
31815
|
-
if (source == null)
|
31816
|
-
return {};
|
31817
|
-
var target = {};
|
31818
|
-
var sourceKeys = Object.keys(source);
|
31819
|
-
var key, i;
|
31820
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
31821
|
-
key = sourceKeys[i];
|
31822
|
-
if (excluded.indexOf(key) >= 0)
|
31823
|
-
continue;
|
31824
|
-
target[key] = source[key];
|
31825
|
-
}
|
31826
|
-
return target;
|
31827
|
-
}
|
31828
|
-
var Trash = (0, import_react21.forwardRef)(function(_ref, ref) {
|
31829
|
-
var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties18(_ref, ["color", "size"]);
|
31830
|
-
return /* @__PURE__ */ import_react21.default.createElement("svg", _extends18({
|
31831
|
-
ref,
|
31832
|
-
xmlns: "http://www.w3.org/2000/svg",
|
31833
|
-
width: size,
|
31834
|
-
height: size,
|
31835
|
-
viewBox: "0 0 24 24",
|
31836
|
-
fill: "none",
|
31837
|
-
stroke: color,
|
31838
|
-
strokeWidth: "2",
|
31839
|
-
strokeLinecap: "round",
|
31840
|
-
strokeLinejoin: "round"
|
31841
|
-
}, rest), /* @__PURE__ */ import_react21.default.createElement("polyline", {
|
31842
|
-
points: "3 6 5 6 21 6"
|
31843
|
-
}), /* @__PURE__ */ import_react21.default.createElement("path", {
|
31844
|
-
d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"
|
31845
|
-
}));
|
31846
|
-
});
|
31847
|
-
Trash.propTypes = {
|
31848
|
-
color: import_prop_types18.default.string,
|
31849
|
-
size: import_prop_types18.default.oneOfType([import_prop_types18.default.string, import_prop_types18.default.number])
|
31850
|
-
};
|
31851
|
-
Trash.displayName = "Trash";
|
31852
|
-
var trash_default = Trash;
|
29595
|
+
var PanelLeft = createLucideIcon("PanelLeft", [
|
29596
|
+
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", key: "1m3agn" }],
|
29597
|
+
["line", { x1: "9", x2: "9", y1: "3", y2: "21", key: "13tij5" }]
|
29598
|
+
]);
|
31853
29599
|
|
31854
|
-
// ../../node_modules/react
|
29600
|
+
// ../../node_modules/lucide-react/dist/esm/icons/panel-right.js
|
31855
29601
|
init_react_import();
|
31856
|
-
var
|
31857
|
-
|
31858
|
-
|
31859
|
-
|
31860
|
-
for (var i = 1; i < arguments.length; i++) {
|
31861
|
-
var source = arguments[i];
|
31862
|
-
for (var key in source) {
|
31863
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
31864
|
-
target[key] = source[key];
|
31865
|
-
}
|
31866
|
-
}
|
31867
|
-
}
|
31868
|
-
return target;
|
31869
|
-
};
|
31870
|
-
return _extends19.apply(this, arguments);
|
31871
|
-
}
|
31872
|
-
function _objectWithoutProperties19(source, excluded) {
|
31873
|
-
if (source == null)
|
31874
|
-
return {};
|
31875
|
-
var target = _objectWithoutPropertiesLoose19(source, excluded);
|
31876
|
-
var key, i;
|
31877
|
-
if (Object.getOwnPropertySymbols) {
|
31878
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
31879
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
31880
|
-
key = sourceSymbolKeys[i];
|
31881
|
-
if (excluded.indexOf(key) >= 0)
|
31882
|
-
continue;
|
31883
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
31884
|
-
continue;
|
31885
|
-
target[key] = source[key];
|
31886
|
-
}
|
31887
|
-
}
|
31888
|
-
return target;
|
31889
|
-
}
|
31890
|
-
function _objectWithoutPropertiesLoose19(source, excluded) {
|
31891
|
-
if (source == null)
|
31892
|
-
return {};
|
31893
|
-
var target = {};
|
31894
|
-
var sourceKeys = Object.keys(source);
|
31895
|
-
var key, i;
|
31896
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
31897
|
-
key = sourceKeys[i];
|
31898
|
-
if (excluded.indexOf(key) >= 0)
|
31899
|
-
continue;
|
31900
|
-
target[key] = source[key];
|
31901
|
-
}
|
31902
|
-
return target;
|
31903
|
-
}
|
31904
|
-
var Type = (0, import_react22.forwardRef)(function(_ref, ref) {
|
31905
|
-
var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties19(_ref, ["color", "size"]);
|
31906
|
-
return /* @__PURE__ */ import_react22.default.createElement("svg", _extends19({
|
31907
|
-
ref,
|
31908
|
-
xmlns: "http://www.w3.org/2000/svg",
|
31909
|
-
width: size,
|
31910
|
-
height: size,
|
31911
|
-
viewBox: "0 0 24 24",
|
31912
|
-
fill: "none",
|
31913
|
-
stroke: color,
|
31914
|
-
strokeWidth: "2",
|
31915
|
-
strokeLinecap: "round",
|
31916
|
-
strokeLinejoin: "round"
|
31917
|
-
}, rest), /* @__PURE__ */ import_react22.default.createElement("polyline", {
|
31918
|
-
points: "4 7 4 4 20 4 20 7"
|
31919
|
-
}), /* @__PURE__ */ import_react22.default.createElement("line", {
|
31920
|
-
x1: "9",
|
31921
|
-
y1: "20",
|
31922
|
-
x2: "15",
|
31923
|
-
y2: "20"
|
31924
|
-
}), /* @__PURE__ */ import_react22.default.createElement("line", {
|
31925
|
-
x1: "12",
|
31926
|
-
y1: "4",
|
31927
|
-
x2: "12",
|
31928
|
-
y2: "20"
|
31929
|
-
}));
|
31930
|
-
});
|
31931
|
-
Type.propTypes = {
|
31932
|
-
color: import_prop_types19.default.string,
|
31933
|
-
size: import_prop_types19.default.oneOfType([import_prop_types19.default.string, import_prop_types19.default.number])
|
31934
|
-
};
|
31935
|
-
Type.displayName = "Type";
|
31936
|
-
var type_default = Type;
|
29602
|
+
var PanelRight = createLucideIcon("PanelRight", [
|
29603
|
+
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", key: "1m3agn" }],
|
29604
|
+
["line", { x1: "15", x2: "15", y1: "3", y2: "21", key: "1hpv9i" }]
|
29605
|
+
]);
|
31937
29606
|
|
31938
|
-
// ../../node_modules/react
|
29607
|
+
// ../../node_modules/lucide-react/dist/esm/icons/plus.js
|
31939
29608
|
init_react_import();
|
31940
|
-
var
|
31941
|
-
|
31942
|
-
|
31943
|
-
|
31944
|
-
|
31945
|
-
|
31946
|
-
|
31947
|
-
|
31948
|
-
|
31949
|
-
|
31950
|
-
|
31951
|
-
|
31952
|
-
|
31953
|
-
|
31954
|
-
|
31955
|
-
}
|
31956
|
-
|
31957
|
-
|
31958
|
-
|
31959
|
-
|
31960
|
-
|
31961
|
-
|
31962
|
-
|
31963
|
-
|
31964
|
-
|
31965
|
-
|
31966
|
-
|
31967
|
-
|
31968
|
-
|
31969
|
-
|
31970
|
-
|
31971
|
-
}
|
31972
|
-
|
31973
|
-
|
31974
|
-
function _objectWithoutPropertiesLoose20(source, excluded) {
|
31975
|
-
if (source == null)
|
31976
|
-
return {};
|
31977
|
-
var target = {};
|
31978
|
-
var sourceKeys = Object.keys(source);
|
31979
|
-
var key, i;
|
31980
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
31981
|
-
key = sourceKeys[i];
|
31982
|
-
if (excluded.indexOf(key) >= 0)
|
31983
|
-
continue;
|
31984
|
-
target[key] = source[key];
|
31985
|
-
}
|
31986
|
-
return target;
|
31987
|
-
}
|
31988
|
-
var Unlock = (0, import_react23.forwardRef)(function(_ref, ref) {
|
31989
|
-
var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties20(_ref, ["color", "size"]);
|
31990
|
-
return /* @__PURE__ */ import_react23.default.createElement("svg", _extends20({
|
31991
|
-
ref,
|
31992
|
-
xmlns: "http://www.w3.org/2000/svg",
|
31993
|
-
width: size,
|
31994
|
-
height: size,
|
31995
|
-
viewBox: "0 0 24 24",
|
31996
|
-
fill: "none",
|
31997
|
-
stroke: color,
|
31998
|
-
strokeWidth: "2",
|
31999
|
-
strokeLinecap: "round",
|
32000
|
-
strokeLinejoin: "round"
|
32001
|
-
}, rest), /* @__PURE__ */ import_react23.default.createElement("rect", {
|
32002
|
-
x: "3",
|
32003
|
-
y: "11",
|
32004
|
-
width: "18",
|
32005
|
-
height: "11",
|
32006
|
-
rx: "2",
|
32007
|
-
ry: "2"
|
32008
|
-
}), /* @__PURE__ */ import_react23.default.createElement("path", {
|
32009
|
-
d: "M7 11V7a5 5 0 0 1 9.9-1"
|
32010
|
-
}));
|
32011
|
-
});
|
32012
|
-
Unlock.propTypes = {
|
32013
|
-
color: import_prop_types20.default.string,
|
32014
|
-
size: import_prop_types20.default.oneOfType([import_prop_types20.default.string, import_prop_types20.default.number])
|
32015
|
-
};
|
32016
|
-
Unlock.displayName = "Unlock";
|
32017
|
-
var unlock_default = Unlock;
|
29609
|
+
var Plus = createLucideIcon("Plus", [
|
29610
|
+
["path", { d: "M5 12h14", key: "1ays0h" }],
|
29611
|
+
["path", { d: "M12 5v14", key: "s699le" }]
|
29612
|
+
]);
|
29613
|
+
|
29614
|
+
// ../../node_modules/lucide-react/dist/esm/icons/search.js
|
29615
|
+
init_react_import();
|
29616
|
+
var Search = createLucideIcon("Search", [
|
29617
|
+
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
29618
|
+
["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
|
29619
|
+
]);
|
29620
|
+
|
29621
|
+
// ../../node_modules/lucide-react/dist/esm/icons/trash.js
|
29622
|
+
init_react_import();
|
29623
|
+
var Trash = createLucideIcon("Trash", [
|
29624
|
+
["path", { d: "M3 6h18", key: "d0wm0j" }],
|
29625
|
+
["path", { d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6", key: "4alrt4" }],
|
29626
|
+
["path", { d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2", key: "v07s0e" }]
|
29627
|
+
]);
|
29628
|
+
|
29629
|
+
// ../../node_modules/lucide-react/dist/esm/icons/type.js
|
29630
|
+
init_react_import();
|
29631
|
+
var Type = createLucideIcon("Type", [
|
29632
|
+
["polyline", { points: "4 7 4 4 20 4 20 7", key: "1nosan" }],
|
29633
|
+
["line", { x1: "9", x2: "15", y1: "20", y2: "20", key: "swin9y" }],
|
29634
|
+
["line", { x1: "12", x2: "12", y1: "4", y2: "20", key: "1tx1rr" }]
|
29635
|
+
]);
|
29636
|
+
|
29637
|
+
// ../../node_modules/lucide-react/dist/esm/icons/unlock.js
|
29638
|
+
init_react_import();
|
29639
|
+
var Unlock = createLucideIcon("Unlock", [
|
29640
|
+
["rect", { width: "18", height: "11", x: "3", y: "11", rx: "2", ry: "2", key: "1w4ew1" }],
|
29641
|
+
["path", { d: "M7 11V7a5 5 0 0 1 9.9-1", key: "1mm8w8" }]
|
29642
|
+
]);
|
32018
29643
|
|
32019
29644
|
// lib/use-modifier-held.ts
|
32020
29645
|
init_react_import();
|
32021
|
-
var
|
29646
|
+
var import_react5 = require("react");
|
32022
29647
|
var useModifierHeld = (modifier) => {
|
32023
|
-
const [modifierHeld, setModifierHeld] = (0,
|
32024
|
-
(0,
|
29648
|
+
const [modifierHeld, setModifierHeld] = (0, import_react5.useState)(false);
|
29649
|
+
(0, import_react5.useEffect)(() => {
|
32025
29650
|
function downHandler({ key }) {
|
32026
29651
|
if (key === modifier) {
|
32027
29652
|
setModifierHeld(true);
|
@@ -32069,7 +29694,7 @@ var DraggableComponent = ({
|
|
32069
29694
|
style
|
32070
29695
|
}) => {
|
32071
29696
|
const isModifierHeld = useModifierHeld("Alt");
|
32072
|
-
(0,
|
29697
|
+
(0, import_react6.useEffect)(onMount, []);
|
32073
29698
|
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
32074
29699
|
import_dnd3.Draggable,
|
32075
29700
|
{
|
@@ -32102,8 +29727,8 @@ var DraggableComponent = ({
|
|
32102
29727
|
isLoading && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: getClassName4("loadingOverlay"), children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_react_spinners2.ClipLoader, { "aria-label": "loading", size: 16, color: "inherit" }) }),
|
32103
29728
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: getClassName4("overlay"), children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: getClassName4("actions"), children: [
|
32104
29729
|
label && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: getClassName4("actionsLabel"), children: label }),
|
32105
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("button", { className: getClassName4("action"), onClick: onDuplicate, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
32106
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("button", { className: getClassName4("action"), onClick: onDelete, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
29730
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("button", { className: getClassName4("action"), onClick: onDuplicate, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Copy, { size: 16 }) }),
|
29731
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("button", { className: getClassName4("action"), onClick: onDelete, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Trash, { size: 16 }) })
|
32107
29732
|
] }) }),
|
32108
29733
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: getClassName4("contents"), children })
|
32109
29734
|
]
|
@@ -32152,7 +29777,7 @@ var styles_module_default4 = { "DropZone": "_DropZone_i675d_1", "DropZone--zoomE
|
|
32152
29777
|
|
32153
29778
|
// components/DropZone/context.tsx
|
32154
29779
|
init_react_import();
|
32155
|
-
var
|
29780
|
+
var import_react7 = require("react");
|
32156
29781
|
var import_use_debounce = require("use-debounce");
|
32157
29782
|
|
32158
29783
|
// lib/get-zone-id.ts
|
@@ -32169,29 +29794,29 @@ var getZoneId = (zoneCompound) => {
|
|
32169
29794
|
|
32170
29795
|
// components/DropZone/context.tsx
|
32171
29796
|
var import_jsx_runtime6 = require("react/jsx-runtime");
|
32172
|
-
var dropZoneContext = (0,
|
29797
|
+
var dropZoneContext = (0, import_react7.createContext)(null);
|
32173
29798
|
var DropZoneProvider = ({
|
32174
29799
|
children,
|
32175
29800
|
value
|
32176
29801
|
}) => {
|
32177
|
-
const [hoveringArea, setHoveringArea] = (0,
|
32178
|
-
const [hoveringZone, setHoveringZone] = (0,
|
29802
|
+
const [hoveringArea, setHoveringArea] = (0, import_react7.useState)(null);
|
29803
|
+
const [hoveringZone, setHoveringZone] = (0, import_react7.useState)(
|
32179
29804
|
rootDroppableId
|
32180
29805
|
);
|
32181
|
-
const [hoveringComponent, setHoveringComponent] = (0,
|
29806
|
+
const [hoveringComponent, setHoveringComponent] = (0, import_react7.useState)();
|
32182
29807
|
const [hoveringAreaDb] = (0, import_use_debounce.useDebounce)(hoveringArea, 75, { leading: false });
|
32183
|
-
const [areasWithZones, setAreasWithZones] = (0,
|
29808
|
+
const [areasWithZones, setAreasWithZones] = (0, import_react7.useState)(
|
32184
29809
|
{}
|
32185
29810
|
);
|
32186
|
-
const [activeZones, setActiveZones] = (0,
|
29811
|
+
const [activeZones, setActiveZones] = (0, import_react7.useState)({});
|
32187
29812
|
const { dispatch = null } = value ? value : {};
|
32188
|
-
const registerZoneArea = (0,
|
29813
|
+
const registerZoneArea = (0, import_react7.useCallback)(
|
32189
29814
|
(area) => {
|
32190
29815
|
setAreasWithZones((latest) => __spreadProps(__spreadValues({}, latest), { [area]: true }));
|
32191
29816
|
},
|
32192
29817
|
[setAreasWithZones]
|
32193
29818
|
);
|
32194
|
-
const registerZone = (0,
|
29819
|
+
const registerZone = (0, import_react7.useCallback)(
|
32195
29820
|
(zoneCompound) => {
|
32196
29821
|
if (!dispatch) {
|
32197
29822
|
return;
|
@@ -32204,7 +29829,7 @@ var DropZoneProvider = ({
|
|
32204
29829
|
},
|
32205
29830
|
[setActiveZones, dispatch]
|
32206
29831
|
);
|
32207
|
-
const unregisterZone = (0,
|
29832
|
+
const unregisterZone = (0, import_react7.useCallback)(
|
32208
29833
|
(zoneCompound) => {
|
32209
29834
|
if (!dispatch) {
|
32210
29835
|
return;
|
@@ -32219,8 +29844,8 @@ var DropZoneProvider = ({
|
|
32219
29844
|
},
|
32220
29845
|
[setActiveZones, dispatch]
|
32221
29846
|
);
|
32222
|
-
const [pathData, setPathData] = (0,
|
32223
|
-
const registerPath = (0,
|
29847
|
+
const [pathData, setPathData] = (0, import_react7.useState)();
|
29848
|
+
const registerPath = (0, import_react7.useCallback)(
|
32224
29849
|
(selector) => {
|
32225
29850
|
if (!(value == null ? void 0 : value.data)) {
|
32226
29851
|
return;
|
@@ -32270,7 +29895,7 @@ var DropZoneProvider = ({
|
|
32270
29895
|
|
32271
29896
|
// components/Puck/context.tsx
|
32272
29897
|
init_react_import();
|
32273
|
-
var
|
29898
|
+
var import_react8 = require("react");
|
32274
29899
|
var defaultAppState = {
|
32275
29900
|
data: { content: [], root: { props: { title: "" } } },
|
32276
29901
|
ui: {
|
@@ -32282,7 +29907,7 @@ var defaultAppState = {
|
|
32282
29907
|
isDragging: false
|
32283
29908
|
}
|
32284
29909
|
};
|
32285
|
-
var appContext = (0,
|
29910
|
+
var appContext = (0, import_react8.createContext)({
|
32286
29911
|
state: defaultAppState,
|
32287
29912
|
dispatch: () => null,
|
32288
29913
|
config: { components: {} },
|
@@ -32294,8 +29919,8 @@ var appContext = (0, import_react27.createContext)({
|
|
32294
29919
|
history: {}
|
32295
29920
|
});
|
32296
29921
|
var AppProvider = appContext.Provider;
|
32297
|
-
|
32298
|
-
const mainContext = (0,
|
29922
|
+
function useAppContext() {
|
29923
|
+
const mainContext = (0, import_react8.useContext)(appContext);
|
32299
29924
|
const selectedItem = mainContext.state.ui.itemSelector ? getItem(mainContext.state.ui.itemSelector, mainContext.state.data) : void 0;
|
32300
29925
|
return __spreadProps(__spreadValues({}, mainContext), {
|
32301
29926
|
// Helpers
|
@@ -32308,7 +29933,7 @@ var useAppContext = () => {
|
|
32308
29933
|
});
|
32309
29934
|
}
|
32310
29935
|
});
|
32311
|
-
}
|
29936
|
+
}
|
32312
29937
|
|
32313
29938
|
// components/DropZone/index.tsx
|
32314
29939
|
var import_jsx_runtime7 = require("react/jsx-runtime");
|
@@ -32316,7 +29941,7 @@ var getClassName5 = get_class_name_factory_default("DropZone", styles_module_def
|
|
32316
29941
|
function DropZoneEdit({ zone, allow, disallow, style }) {
|
32317
29942
|
var _a;
|
32318
29943
|
const appContext2 = useAppContext();
|
32319
|
-
const ctx = (0,
|
29944
|
+
const ctx = (0, import_react9.useContext)(dropZoneContext);
|
32320
29945
|
const {
|
32321
29946
|
// These all need setting via context
|
32322
29947
|
data,
|
@@ -32334,12 +29959,12 @@ function DropZoneEdit({ zone, allow, disallow, style }) {
|
|
32334
29959
|
} = ctx || {};
|
32335
29960
|
let content = data.content || [];
|
32336
29961
|
let zoneCompound = rootDroppableId;
|
32337
|
-
(0,
|
29962
|
+
(0, import_react9.useEffect)(() => {
|
32338
29963
|
if (areaId && registerZoneArea) {
|
32339
29964
|
registerZoneArea(areaId);
|
32340
29965
|
}
|
32341
29966
|
}, [areaId]);
|
32342
|
-
(0,
|
29967
|
+
(0, import_react9.useEffect)(() => {
|
32343
29968
|
if (ctx == null ? void 0 : ctx.registerZone) {
|
32344
29969
|
ctx == null ? void 0 : ctx.registerZone(zoneCompound);
|
32345
29970
|
}
|
@@ -32360,7 +29985,7 @@ function DropZoneEdit({ zone, allow, disallow, style }) {
|
|
32360
29985
|
const draggedDestinationId = draggedItem && ((_a = draggedItem.destination) == null ? void 0 : _a.droppableId);
|
32361
29986
|
const [zoneArea] = getZoneId(zoneCompound);
|
32362
29987
|
const [draggedSourceArea] = getZoneId(draggedSourceId);
|
32363
|
-
const [userWillDrag, setUserWillDrag] = (0,
|
29988
|
+
const [userWillDrag, setUserWillDrag] = (0, import_react9.useState)(false);
|
32364
29989
|
const userIsDragging = !!draggedItem;
|
32365
29990
|
const draggingOverArea = userIsDragging && zoneArea === draggedSourceArea;
|
32366
29991
|
const draggingNewComponent = draggedSourceId == null ? void 0 : draggedSourceId.startsWith("component-list");
|
@@ -32579,7 +30204,7 @@ function DropZoneEdit({ zone, allow, disallow, style }) {
|
|
32579
30204
|
);
|
32580
30205
|
}
|
32581
30206
|
function DropZoneRender({ zone }) {
|
32582
|
-
const ctx = (0,
|
30207
|
+
const ctx = (0, import_react9.useContext)(dropZoneContext);
|
32583
30208
|
const { data, areaId = "root", config } = ctx || {};
|
32584
30209
|
let zoneCompound = rootDroppableId;
|
32585
30210
|
let content = (data == null ? void 0 : data.content) || [];
|
@@ -32611,7 +30236,7 @@ function DropZoneRender({ zone }) {
|
|
32611
30236
|
}) });
|
32612
30237
|
}
|
32613
30238
|
function DropZone(props) {
|
32614
|
-
const ctx = (0,
|
30239
|
+
const ctx = (0, import_react9.useContext)(dropZoneContext);
|
32615
30240
|
if ((ctx == null ? void 0 : ctx.mode) === "edit") {
|
32616
30241
|
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(DropZoneEdit, __spreadValues({}, props));
|
32617
30242
|
}
|
@@ -32623,7 +30248,7 @@ init_react_import();
|
|
32623
30248
|
|
32624
30249
|
// components/IconButton/IconButton.tsx
|
32625
30250
|
init_react_import();
|
32626
|
-
var
|
30251
|
+
var import_react10 = require("react");
|
32627
30252
|
|
32628
30253
|
// css-module:/home/runner/work/puck/puck/packages/core/components/IconButton/IconButton.module.css#css-module
|
32629
30254
|
init_react_import();
|
@@ -32645,7 +30270,7 @@ var IconButton = ({
|
|
32645
30270
|
fullWidth,
|
32646
30271
|
title
|
32647
30272
|
}) => {
|
32648
|
-
const [loading, setLoading] = (0,
|
30273
|
+
const [loading, setLoading] = (0, import_react10.useState)(false);
|
32649
30274
|
const ElementType = href ? "a" : "button";
|
32650
30275
|
const el = /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
|
32651
30276
|
ElementType,
|
@@ -32686,15 +30311,15 @@ var IconButton = ({
|
|
32686
30311
|
|
32687
30312
|
// components/Puck/index.tsx
|
32688
30313
|
init_react_import();
|
32689
|
-
var
|
30314
|
+
var import_react26 = require("react");
|
32690
30315
|
var import_dnd7 = require("@hello-pangea/dnd");
|
32691
30316
|
|
32692
30317
|
// lib/use-placeholder-style.ts
|
32693
30318
|
init_react_import();
|
32694
|
-
var
|
30319
|
+
var import_react11 = require("react");
|
32695
30320
|
var usePlaceholderStyle = () => {
|
32696
30321
|
const queryAttr = "data-rfd-drag-handle-draggable-id";
|
32697
|
-
const [placeholderStyle, setPlaceholderStyle] = (0,
|
30322
|
+
const [placeholderStyle, setPlaceholderStyle] = (0, import_react11.useState)();
|
32698
30323
|
const onDragStartOrUpdate = (draggedItem) => {
|
32699
30324
|
var _a;
|
32700
30325
|
const draggableId = draggedItem.draggableId;
|
@@ -32769,7 +30394,7 @@ var Heading = ({ children, rank, size = "m" }) => {
|
|
32769
30394
|
|
32770
30395
|
// lib/use-breadcrumbs.ts
|
32771
30396
|
init_react_import();
|
32772
|
-
var
|
30397
|
+
var import_react12 = require("react");
|
32773
30398
|
var convertPathDataToBreadcrumbs = (selectedItem, pathData, data) => {
|
32774
30399
|
const id = selectedItem ? selectedItem == null ? void 0 : selectedItem.props.id : "";
|
32775
30400
|
const currentPathData = pathData && id && pathData[id] ? __spreadValues({}, pathData[id]) : { label: "Page", path: [] };
|
@@ -32819,8 +30444,8 @@ var useBreadcrumbs = (renderCount) => {
|
|
32819
30444
|
state: { data },
|
32820
30445
|
selectedItem
|
32821
30446
|
} = useAppContext();
|
32822
|
-
const dzContext = (0,
|
32823
|
-
return (0,
|
30447
|
+
const dzContext = (0, import_react12.useContext)(dropZoneContext);
|
30448
|
+
return (0, import_react12.useMemo)(() => {
|
32824
30449
|
const breadcrumbs = convertPathDataToBreadcrumbs(
|
32825
30450
|
selectedItem,
|
32826
30451
|
dzContext == null ? void 0 : dzContext.pathData,
|
@@ -32864,7 +30489,7 @@ var SidebarSection = ({
|
|
32864
30489
|
children: breadcrumb.label
|
32865
30490
|
}
|
32866
30491
|
),
|
32867
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
30492
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(ChevronRight, { size: 16 })
|
32868
30493
|
] }, i)) : null,
|
32869
30494
|
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: getClassName8("heading"), children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Heading, { rank: 2, size: "xs", children: title }) })
|
32870
30495
|
] }) }),
|
@@ -33204,17 +30829,19 @@ var setAction = (state, action) => {
|
|
33204
30829
|
}
|
33205
30830
|
return __spreadValues(__spreadValues({}, state), action.state(state));
|
33206
30831
|
};
|
33207
|
-
|
30832
|
+
function createReducer({
|
33208
30833
|
config,
|
33209
30834
|
record
|
33210
|
-
})
|
33211
|
-
|
33212
|
-
|
33213
|
-
|
33214
|
-
|
33215
|
-
|
33216
|
-
|
33217
|
-
|
30835
|
+
}) {
|
30836
|
+
return storeInterceptor((state, action) => {
|
30837
|
+
const data = reduceData(state.data, action, config);
|
30838
|
+
const ui = reduceUi(state.ui, action);
|
30839
|
+
if (action.type === "set") {
|
30840
|
+
return setAction(state, action);
|
30841
|
+
}
|
30842
|
+
return { data, ui };
|
30843
|
+
}, record);
|
30844
|
+
}
|
33218
30845
|
|
33219
30846
|
// lib/flush-zones.ts
|
33220
30847
|
init_react_import();
|
@@ -33235,7 +30862,7 @@ var flushZones = (appState) => {
|
|
33235
30862
|
|
33236
30863
|
// lib/use-resolved-data.ts
|
33237
30864
|
init_react_import();
|
33238
|
-
var
|
30865
|
+
var import_react13 = require("react");
|
33239
30866
|
|
33240
30867
|
// lib/resolve-component-data.ts
|
33241
30868
|
init_react_import();
|
@@ -33350,13 +30977,13 @@ var resolveRootData = (data, config) => __async(void 0, null, function* () {
|
|
33350
30977
|
|
33351
30978
|
// lib/use-resolved-data.ts
|
33352
30979
|
var useResolvedData = (appState, config, dispatch) => {
|
33353
|
-
const [{ resolverKey, newAppState }, setResolverState] = (0,
|
30980
|
+
const [{ resolverKey, newAppState }, setResolverState] = (0, import_react13.useState)({
|
33354
30981
|
resolverKey: 0,
|
33355
30982
|
newAppState: appState
|
33356
30983
|
});
|
33357
|
-
const [componentState, setComponentState] = (0,
|
30984
|
+
const [componentState, setComponentState] = (0, import_react13.useState)({});
|
33358
30985
|
const deferredSetStates = {};
|
33359
|
-
const setComponentLoading = (0,
|
30986
|
+
const setComponentLoading = (0, import_react13.useCallback)(
|
33360
30987
|
(id, loading, defer = 0) => {
|
33361
30988
|
if (deferredSetStates[id]) {
|
33362
30989
|
clearTimeout(deferredSetStates[id]);
|
@@ -33423,10 +31050,10 @@ var useResolvedData = (appState, config, dispatch) => {
|
|
33423
31050
|
});
|
33424
31051
|
yield Promise.all(promises);
|
33425
31052
|
});
|
33426
|
-
(0,
|
31053
|
+
(0, import_react13.useEffect)(() => {
|
33427
31054
|
runResolvers();
|
33428
31055
|
}, [resolverKey]);
|
33429
|
-
const resolveData = (0,
|
31056
|
+
const resolveData = (0, import_react13.useCallback)((newAppState2 = appState) => {
|
33430
31057
|
setResolverState((curr) => ({
|
33431
31058
|
resolverKey: curr.resolverKey + 1,
|
33432
31059
|
newAppState: newAppState2
|
@@ -33478,14 +31105,14 @@ var MenuBar = ({
|
|
33478
31105
|
children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: getClassName9("inner"), children: [
|
33479
31106
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: getClassName9("history"), children: [
|
33480
31107
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(IconButton, { title: "undo", disabled: !hasPast, onClick: back, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
33481
|
-
|
31108
|
+
ChevronLeft,
|
33482
31109
|
{
|
33483
31110
|
size: 21,
|
33484
31111
|
stroke: hasPast ? "var(--puck-color-black)" : "var(--puck-color-grey-7)"
|
33485
31112
|
}
|
33486
31113
|
) }),
|
33487
31114
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(IconButton, { title: "redo", disabled: !hasFuture, onClick: forward, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
33488
|
-
|
31115
|
+
ChevronRight,
|
33489
31116
|
{
|
33490
31117
|
size: 21,
|
33491
31118
|
stroke: hasFuture ? "var(--puck-color-black)" : "var(--puck-color-grey-7)"
|
@@ -33502,7 +31129,7 @@ var MenuBar = ({
|
|
33502
31129
|
onClick: () => {
|
33503
31130
|
onPublish && onPublish(data);
|
33504
31131
|
},
|
33505
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
31132
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Globe, { size: "14px" }),
|
33506
31133
|
children: "Publish"
|
33507
31134
|
}
|
33508
31135
|
) })
|
@@ -33513,7 +31140,7 @@ var MenuBar = ({
|
|
33513
31140
|
|
33514
31141
|
// css-module:/home/runner/work/puck/puck/packages/core/components/Puck/styles.module.css#css-module
|
33515
31142
|
init_react_import();
|
33516
|
-
var styles_module_default8 = { "Puck": "
|
31143
|
+
var styles_module_default8 = { "Puck": "_Puck_17hk3_19", "Puck--leftSideBarVisible": "_Puck--leftSideBarVisible_17hk3_35", "Puck--rightSideBarVisible": "_Puck--rightSideBarVisible_17hk3_41", "Puck-header": "_Puck-header_17hk3_95", "Puck-headerInner": "_Puck-headerInner_17hk3_104", "Puck-headerToggle": "_Puck-headerToggle_17hk3_114", "Puck-rightSideBarToggle": "_Puck-rightSideBarToggle_17hk3_121", "Puck-leftSideBarToggle": "_Puck-leftSideBarToggle_17hk3_122", "Puck-headerTitle": "_Puck-headerTitle_17hk3_126", "Puck-headerPath": "_Puck-headerPath_17hk3_130", "Puck-headerTools": "_Puck-headerTools_17hk3_137", "Puck-menuButton": "_Puck-menuButton_17hk3_143", "Puck--menuOpen": "_Puck--menuOpen_17hk3_148", "Puck-leftSideBar": "_Puck-leftSideBar_17hk3_122", "Puck-frame": "_Puck-frame_17hk3_167", "Puck-root": "_Puck-root_17hk3_175", "Puck-rightSideBar": "_Puck-rightSideBar_17hk3_121" };
|
33517
31144
|
|
33518
31145
|
// components/Puck/components/Fields/index.tsx
|
33519
31146
|
init_react_import();
|
@@ -33527,7 +31154,7 @@ init_react_import();
|
|
33527
31154
|
var styles_module_default9 = { "Input": "_Input_1v7zr_1", "Input-label": "_Input-label_1v7zr_27", "Input-labelIcon": "_Input-labelIcon_1v7zr_35", "Input-disabledIcon": "_Input-disabledIcon_1v7zr_41", "Input-input": "_Input-input_1v7zr_46", "Input--readOnly": "_Input--readOnly_1v7zr_69", "Input-radioGroupItems": "_Input-radioGroupItems_1v7zr_87", "Input-radio": "_Input-radio_1v7zr_87", "Input-radioInner": "_Input-radioInner_1v7zr_104", "Input-radioInput": "_Input-radioInput_1v7zr_126" };
|
33528
31155
|
|
33529
31156
|
// components/InputOrGroup/index.tsx
|
33530
|
-
var
|
31157
|
+
var import_react18 = require("react");
|
33531
31158
|
|
33532
31159
|
// components/InputOrGroup/fields/index.tsx
|
33533
31160
|
init_react_import();
|
@@ -33542,14 +31169,14 @@ var styles_module_default10 = { "ArrayField": "_ArrayField_1auyc_5", "ArrayField
|
|
33542
31169
|
// components/InputOrGroup/fields/ArrayField/index.tsx
|
33543
31170
|
var import_dnd5 = require("@hello-pangea/dnd");
|
33544
31171
|
var import_dnd6 = require("@hello-pangea/dnd");
|
33545
|
-
var
|
31172
|
+
var import_react14 = require("react");
|
33546
31173
|
var import_jsx_runtime12 = require("react/jsx-runtime");
|
33547
31174
|
var getClassName10 = get_class_name_factory_default("ArrayField", styles_module_default10);
|
33548
31175
|
var getClassNameItem2 = get_class_name_factory_default("ArrayFieldItem", styles_module_default10);
|
33549
31176
|
var ArrayField = ({
|
33550
31177
|
field,
|
33551
31178
|
onChange,
|
33552
|
-
value,
|
31179
|
+
value: _value,
|
33553
31180
|
name,
|
33554
31181
|
label,
|
33555
31182
|
readOnly,
|
@@ -33557,6 +31184,7 @@ var ArrayField = ({
|
|
33557
31184
|
id
|
33558
31185
|
}) => {
|
33559
31186
|
const { state, setUi } = useAppContext();
|
31187
|
+
const value = _value;
|
33560
31188
|
const arrayState = state.ui.arrayState[id] || {
|
33561
31189
|
items: Array.from(value || []).map((item, idx) => {
|
33562
31190
|
return {
|
@@ -33566,11 +31194,11 @@ var ArrayField = ({
|
|
33566
31194
|
}),
|
33567
31195
|
openId: ""
|
33568
31196
|
};
|
33569
|
-
const [localState, setLocalState] = (0,
|
33570
|
-
(0,
|
31197
|
+
const [localState, setLocalState] = (0, import_react14.useState)({ arrayState, value });
|
31198
|
+
(0, import_react14.useEffect)(() => {
|
33571
31199
|
setLocalState({ arrayState, value });
|
33572
31200
|
}, [value, state.ui.arrayState[id]]);
|
33573
|
-
const mapArrayStateToUi = (0,
|
31201
|
+
const mapArrayStateToUi = (0, import_react14.useCallback)(
|
33574
31202
|
(partialArrayState) => {
|
33575
31203
|
return {
|
33576
31204
|
arrayState: __spreadProps(__spreadValues({}, state.ui.arrayState), {
|
@@ -33580,13 +31208,13 @@ var ArrayField = ({
|
|
33580
31208
|
},
|
33581
31209
|
[arrayState]
|
33582
31210
|
);
|
33583
|
-
const getHighestIndex = (0,
|
31211
|
+
const getHighestIndex = (0, import_react14.useCallback)(() => {
|
33584
31212
|
return arrayState.items.reduce(
|
33585
31213
|
(acc, item) => item._originalIndex > acc ? item._originalIndex : acc,
|
33586
31214
|
-1
|
33587
31215
|
);
|
33588
31216
|
}, [arrayState]);
|
33589
|
-
const regenerateArrayState = (0,
|
31217
|
+
const regenerateArrayState = (0, import_react14.useCallback)(
|
33590
31218
|
(value2) => {
|
33591
31219
|
let highestIndex = getHighestIndex();
|
33592
31220
|
const newItems = Array.from(value2 || []).map((item, idx) => {
|
@@ -33605,10 +31233,10 @@ var ArrayField = ({
|
|
33605
31233
|
},
|
33606
31234
|
[arrayState]
|
33607
31235
|
);
|
33608
|
-
(0,
|
31236
|
+
(0, import_react14.useEffect)(() => {
|
33609
31237
|
setUi(mapArrayStateToUi(arrayState));
|
33610
31238
|
}, []);
|
33611
|
-
const [hovering, setHovering] = (0,
|
31239
|
+
const [hovering, setHovering] = (0, import_react14.useState)(false);
|
33612
31240
|
if (field.type !== "array" || !field.arrayFields) {
|
33613
31241
|
return null;
|
33614
31242
|
}
|
@@ -33616,7 +31244,7 @@ var ArrayField = ({
|
|
33616
31244
|
FieldLabelInternal,
|
33617
31245
|
{
|
33618
31246
|
label: label || name,
|
33619
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
31247
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(List, { size: 16 }),
|
33620
31248
|
el: "div",
|
33621
31249
|
readOnly,
|
33622
31250
|
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
@@ -33666,7 +31294,7 @@ var ArrayField = ({
|
|
33666
31294
|
children: [
|
33667
31295
|
localState.arrayState.items.map((item, i) => {
|
33668
31296
|
const { _arrayId = `${id}-${i}`, _originalIndex = i } = item;
|
33669
|
-
const data = Array.from(localState.value || [])[i];
|
31297
|
+
const data = Array.from(localState.value || [])[i] || {};
|
33670
31298
|
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
33671
31299
|
Draggable,
|
33672
31300
|
{
|
@@ -33722,7 +31350,7 @@ var ArrayField = ({
|
|
33722
31350
|
);
|
33723
31351
|
},
|
33724
31352
|
title: "Delete",
|
33725
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
31353
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Trash, { size: 16 })
|
33726
31354
|
}
|
33727
31355
|
) }) }),
|
33728
31356
|
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(DragIcon, {}) })
|
@@ -33777,7 +31405,7 @@ var ArrayField = ({
|
|
33777
31405
|
const newArrayState = regenerateArrayState(newValue);
|
33778
31406
|
onChange(newValue, mapArrayStateToUi(newArrayState));
|
33779
31407
|
},
|
33780
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
31408
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Plus, { size: "21" })
|
33781
31409
|
}
|
33782
31410
|
)
|
33783
31411
|
]
|
@@ -33808,8 +31436,8 @@ var DefaultField = ({
|
|
33808
31436
|
{
|
33809
31437
|
label: label || name,
|
33810
31438
|
icon: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
|
33811
|
-
field.type === "text" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
33812
|
-
field.type === "number" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
31439
|
+
field.type === "text" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Type, { size: 16 }),
|
31440
|
+
field.type === "number" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Hash, { size: 16 })
|
33813
31441
|
] }),
|
33814
31442
|
readOnly,
|
33815
31443
|
children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
@@ -33837,11 +31465,11 @@ var DefaultField = ({
|
|
33837
31465
|
|
33838
31466
|
// components/InputOrGroup/fields/ExternalField/index.tsx
|
33839
31467
|
init_react_import();
|
33840
|
-
var
|
31468
|
+
var import_react17 = require("react");
|
33841
31469
|
|
33842
31470
|
// components/ExternalInput/index.tsx
|
33843
31471
|
init_react_import();
|
33844
|
-
var
|
31472
|
+
var import_react16 = require("react");
|
33845
31473
|
|
33846
31474
|
// css-module:/home/runner/work/puck/puck/packages/core/components/ExternalInput/styles.module.css#css-module
|
33847
31475
|
init_react_import();
|
@@ -33849,7 +31477,7 @@ var styles_module_default11 = { "ExternalInput": "_ExternalInput_s6fxy_1", "Exte
|
|
33849
31477
|
|
33850
31478
|
// components/Modal/index.tsx
|
33851
31479
|
init_react_import();
|
33852
|
-
var
|
31480
|
+
var import_react15 = require("react");
|
33853
31481
|
|
33854
31482
|
// css-module:/home/runner/work/puck/puck/packages/core/components/Modal/styles.module.css#css-module
|
33855
31483
|
init_react_import();
|
@@ -33864,8 +31492,8 @@ var Modal = ({
|
|
33864
31492
|
onClose,
|
33865
31493
|
isOpen
|
33866
31494
|
}) => {
|
33867
|
-
const [rootEl, setRootEl] = (0,
|
33868
|
-
(0,
|
31495
|
+
const [rootEl, setRootEl] = (0, import_react15.useState)(null);
|
31496
|
+
(0, import_react15.useEffect)(() => {
|
33869
31497
|
setRootEl(document.getElementById("puck-portal-root"));
|
33870
31498
|
}, []);
|
33871
31499
|
if (!rootEl) {
|
@@ -33898,10 +31526,10 @@ var ExternalInput = ({
|
|
33898
31526
|
id
|
33899
31527
|
}) => {
|
33900
31528
|
const { mapProp = (val) => val } = field || {};
|
33901
|
-
const [data, setData] = (0,
|
33902
|
-
const [isOpen, setOpen] = (0,
|
33903
|
-
const [isLoading, setIsLoading] = (0,
|
33904
|
-
const keys = (0,
|
31529
|
+
const [data, setData] = (0, import_react16.useState)([]);
|
31530
|
+
const [isOpen, setOpen] = (0, import_react16.useState)(false);
|
31531
|
+
const [isLoading, setIsLoading] = (0, import_react16.useState)(true);
|
31532
|
+
const keys = (0, import_react16.useMemo)(() => {
|
33905
31533
|
const validKeys = /* @__PURE__ */ new Set();
|
33906
31534
|
for (const item of data) {
|
33907
31535
|
for (const key of Object.keys(item)) {
|
@@ -33912,8 +31540,8 @@ var ExternalInput = ({
|
|
33912
31540
|
}
|
33913
31541
|
return Array.from(validKeys);
|
33914
31542
|
}, [data]);
|
33915
|
-
const [searchQuery, setSearchQuery] = (0,
|
33916
|
-
const search = (0,
|
31543
|
+
const [searchQuery, setSearchQuery] = (0, import_react16.useState)(field.initialQuery || "");
|
31544
|
+
const search = (0, import_react16.useCallback)(
|
33917
31545
|
(query) => __async(void 0, null, function* () {
|
33918
31546
|
setIsLoading(true);
|
33919
31547
|
const cacheKey = `${id}-${name}-${query}`;
|
@@ -33926,7 +31554,7 @@ var ExternalInput = ({
|
|
33926
31554
|
}),
|
33927
31555
|
[name, field]
|
33928
31556
|
);
|
33929
|
-
(0,
|
31557
|
+
(0, import_react16.useEffect)(() => {
|
33930
31558
|
search(searchQuery);
|
33931
31559
|
}, []);
|
33932
31560
|
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
@@ -33945,7 +31573,7 @@ var ExternalInput = ({
|
|
33945
31573
|
onClick: () => setOpen(true),
|
33946
31574
|
className: getClassName13("button"),
|
33947
31575
|
children: value ? field.getItemSummary ? field.getItemSummary(value) : "External item" : /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_jsx_runtime15.Fragment, { children: [
|
33948
|
-
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
31576
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Link, { size: "16" }),
|
33949
31577
|
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { children: field.placeholder })
|
33950
31578
|
] })
|
33951
31579
|
}
|
@@ -33957,7 +31585,7 @@ var ExternalInput = ({
|
|
33957
31585
|
onClick: () => {
|
33958
31586
|
onChange(null);
|
33959
31587
|
},
|
33960
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
31588
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Unlock, { size: 16 })
|
33961
31589
|
}
|
33962
31590
|
)
|
33963
31591
|
] }),
|
@@ -33983,7 +31611,7 @@ var ExternalInput = ({
|
|
33983
31611
|
children: [
|
33984
31612
|
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("label", { className: getClassNameModal("search"), children: [
|
33985
31613
|
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: getClassNameModal("searchIconText"), children: "Search" }),
|
33986
|
-
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: getClassNameModal("searchIcon"), children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
31614
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: getClassNameModal("searchIcon"), children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Search, { size: "18" }) }),
|
33987
31615
|
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
33988
31616
|
"input",
|
33989
31617
|
{
|
@@ -34055,7 +31683,7 @@ var ExternalField = ({
|
|
34055
31683
|
var _a, _b, _c;
|
34056
31684
|
const validField = field;
|
34057
31685
|
const deprecatedField = field;
|
34058
|
-
(0,
|
31686
|
+
(0, import_react17.useEffect)(() => {
|
34059
31687
|
if (deprecatedField.adaptor) {
|
34060
31688
|
console.error(
|
34061
31689
|
"Warning: The `adaptor` API is deprecated. Please use updated APIs on the `external` field instead. This will be a breaking change in a future release."
|
@@ -34069,7 +31697,7 @@ var ExternalField = ({
|
|
34069
31697
|
FieldLabelInternal,
|
34070
31698
|
{
|
34071
31699
|
label: label || name,
|
34072
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
31700
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Link, { size: 16 }),
|
34073
31701
|
el: "div",
|
34074
31702
|
children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
34075
31703
|
ExternalInput,
|
@@ -34113,7 +31741,7 @@ var RadioField = ({
|
|
34113
31741
|
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
34114
31742
|
FieldLabelInternal,
|
34115
31743
|
{
|
34116
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
31744
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(CheckCircle, { size: 16 }),
|
34117
31745
|
label: label || name,
|
34118
31746
|
readOnly,
|
34119
31747
|
el: "div",
|
@@ -34169,7 +31797,7 @@ var SelectField = ({
|
|
34169
31797
|
FieldLabelInternal,
|
34170
31798
|
{
|
34171
31799
|
label: label || name,
|
34172
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
31800
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(ChevronDown, { size: 16 }),
|
34173
31801
|
readOnly,
|
34174
31802
|
children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
34175
31803
|
"select",
|
@@ -34215,7 +31843,7 @@ var TextareaField = ({
|
|
34215
31843
|
FieldLabelInternal,
|
34216
31844
|
{
|
34217
31845
|
label: label || name,
|
34218
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
31846
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Type, { size: 16 }),
|
34219
31847
|
readOnly,
|
34220
31848
|
children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
34221
31849
|
"textarea",
|
@@ -34266,7 +31894,7 @@ var ObjectField = ({
|
|
34266
31894
|
FieldLabelInternal,
|
34267
31895
|
{
|
34268
31896
|
label: label || name,
|
34269
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
31897
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(MoreVertical, { size: 16 }),
|
34270
31898
|
el: "div",
|
34271
31899
|
readOnly,
|
34272
31900
|
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: getClassName17(), children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("fieldset", { className: getClassName17("fieldset"), children: Object.keys(field.objectFields).map((fieldName) => {
|
@@ -34315,7 +31943,7 @@ var FieldLabel = ({
|
|
34315
31943
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: getClassName18("label"), children: [
|
34316
31944
|
icon ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: getClassName18("labelIcon"), children: icon }) : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_jsx_runtime21.Fragment, {}),
|
34317
31945
|
label,
|
34318
|
-
readOnly && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: getClassName18("disabledIcon"), title: "Read-only", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
31946
|
+
readOnly && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: getClassName18("disabledIcon"), title: "Read-only", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Lock, { size: "12" }) })
|
34319
31947
|
] }),
|
34320
31948
|
children
|
34321
31949
|
] });
|
@@ -34328,7 +31956,7 @@ var FieldLabelInternal = ({
|
|
34328
31956
|
readOnly
|
34329
31957
|
}) => {
|
34330
31958
|
const { overrides } = useAppContext();
|
34331
|
-
const Wrapper = (0,
|
31959
|
+
const Wrapper = (0, import_react18.useMemo)(
|
34332
31960
|
() => overrides.fieldLabel || FieldLabel,
|
34333
31961
|
[overrides]
|
34334
31962
|
);
|
@@ -34349,7 +31977,7 @@ var InputOrGroup = (_a) => {
|
|
34349
31977
|
var _a2, _b2, _c, _d, _e, _f, _g, _h;
|
34350
31978
|
const { overrides } = useAppContext();
|
34351
31979
|
const { name, field, value, readOnly } = props;
|
34352
|
-
const [localValue, setLocalValue] = (0,
|
31980
|
+
const [localValue, setLocalValue] = (0, import_react18.useState)(value);
|
34353
31981
|
const onChangeDb = (0, import_use_debounce2.useDebouncedCallback)(
|
34354
31982
|
(val, ui) => {
|
34355
31983
|
onChange(val, ui);
|
@@ -34357,11 +31985,11 @@ var InputOrGroup = (_a) => {
|
|
34357
31985
|
50,
|
34358
31986
|
{ leading: true }
|
34359
31987
|
);
|
34360
|
-
const onChangeLocal = (0,
|
31988
|
+
const onChangeLocal = (0, import_react18.useCallback)((val, ui) => {
|
34361
31989
|
setLocalValue(val);
|
34362
31990
|
onChangeDb(val, ui);
|
34363
31991
|
}, []);
|
34364
|
-
(0,
|
31992
|
+
(0, import_react18.useEffect)(() => {
|
34365
31993
|
setLocalValue(value);
|
34366
31994
|
}, [value]);
|
34367
31995
|
const localProps = {
|
@@ -34409,7 +32037,7 @@ init_react_import();
|
|
34409
32037
|
var styles_module_default14 = { "PuckFields": "_PuckFields_1276r_1", "PuckFields-loadingOverlay": "_PuckFields-loadingOverlay_1276r_5" };
|
34410
32038
|
|
34411
32039
|
// components/Puck/components/Fields/index.tsx
|
34412
|
-
var
|
32040
|
+
var import_react19 = require("react");
|
34413
32041
|
var import_jsx_runtime22 = require("react/jsx-runtime");
|
34414
32042
|
var getClassName19 = get_class_name_factory_default("PuckFields", styles_module_default14);
|
34415
32043
|
var defaultPageFields = {
|
@@ -34441,7 +32069,7 @@ var Fields = () => {
|
|
34441
32069
|
const fields = selectedItem ? ((_b = config.components[selectedItem.type]) == null ? void 0 : _b.fields) || {} : rootFields;
|
34442
32070
|
const isLoading = selectedItem ? (_c = componentState[selectedItem == null ? void 0 : selectedItem.props.id]) == null ? void 0 : _c.loading : (_d = componentState["puck-root"]) == null ? void 0 : _d.loading;
|
34443
32071
|
const rootProps = data.root.props || data.root;
|
34444
|
-
const Wrapper = (0,
|
32072
|
+
const Wrapper = (0, import_react19.useMemo)(() => overrides.fields || DefaultFields, [overrides]);
|
34445
32073
|
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
34446
32074
|
"form",
|
34447
32075
|
{
|
@@ -34556,7 +32184,7 @@ init_react_import();
|
|
34556
32184
|
|
34557
32185
|
// lib/use-component-list.tsx
|
34558
32186
|
init_react_import();
|
34559
|
-
var
|
32187
|
+
var import_react20 = require("react");
|
34560
32188
|
|
34561
32189
|
// components/ComponentList/index.tsx
|
34562
32190
|
init_react_import();
|
@@ -34597,7 +32225,7 @@ var ComponentList = ({
|
|
34597
32225
|
title: expanded ? `Collapse${title ? ` ${title}` : ""}` : `Expand${title ? ` ${title}` : ""}`,
|
34598
32226
|
children: [
|
34599
32227
|
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { children: title }),
|
34600
|
-
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: getClassName20("titleIcon"), children: expanded ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
32228
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: getClassName20("titleIcon"), children: expanded ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ChevronUp, { size: 12 }) : /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ChevronDown, { size: 12 }) })
|
34601
32229
|
]
|
34602
32230
|
}
|
34603
32231
|
),
|
@@ -34618,8 +32246,8 @@ ComponentList.Item = ComponentListItem;
|
|
34618
32246
|
// lib/use-component-list.tsx
|
34619
32247
|
var import_jsx_runtime24 = require("react/jsx-runtime");
|
34620
32248
|
var useComponentList = (config, ui) => {
|
34621
|
-
const [componentList, setComponentList] = (0,
|
34622
|
-
(0,
|
32249
|
+
const [componentList, setComponentList] = (0, import_react20.useState)();
|
32250
|
+
(0, import_react20.useEffect)(() => {
|
34623
32251
|
var _a, _b, _c;
|
34624
32252
|
if (Object.keys(ui.componentList).length > 0) {
|
34625
32253
|
const matchedComponents = [];
|
@@ -34682,22 +32310,22 @@ var useComponentList = (config, ui) => {
|
|
34682
32310
|
};
|
34683
32311
|
|
34684
32312
|
// components/Puck/components/Components/index.tsx
|
34685
|
-
var
|
32313
|
+
var import_react21 = require("react");
|
34686
32314
|
var import_jsx_runtime25 = require("react/jsx-runtime");
|
34687
32315
|
var Components = () => {
|
34688
32316
|
const { config, state, overrides } = useAppContext();
|
34689
32317
|
const componentList = useComponentList(config, state.ui);
|
34690
|
-
const Wrapper = (0,
|
32318
|
+
const Wrapper = (0, import_react21.useMemo)(() => overrides.components || "div", [overrides]);
|
34691
32319
|
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Wrapper, { children: componentList ? componentList : /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(ComponentList, { id: "all" }) });
|
34692
32320
|
};
|
34693
32321
|
|
34694
32322
|
// components/Puck/components/Preview/index.tsx
|
34695
32323
|
init_react_import();
|
34696
|
-
var
|
32324
|
+
var import_react22 = require("react");
|
34697
32325
|
var import_jsx_runtime26 = require("react/jsx-runtime");
|
34698
32326
|
var Preview = ({ id = "puck-preview" }) => {
|
34699
32327
|
const { config, dispatch, state } = useAppContext();
|
34700
|
-
const Page = (0,
|
32328
|
+
const Page = (0, import_react22.useCallback)(
|
34701
32329
|
(pageProps) => {
|
34702
32330
|
var _a, _b;
|
34703
32331
|
return ((_a = config.root) == null ? void 0 : _a.render) ? (_b = config.root) == null ? void 0 : _b.render(__spreadProps(__spreadValues({}, pageProps), { editMode: true })) : pageProps.children;
|
@@ -34705,7 +32333,7 @@ var Preview = ({ id = "puck-preview" }) => {
|
|
34705
32333
|
[config.root]
|
34706
32334
|
);
|
34707
32335
|
const rootProps = state.data.root.props || state.data.root;
|
34708
|
-
const { disableZoom = false } = (0,
|
32336
|
+
const { disableZoom = false } = (0, import_react22.useContext)(dropZoneContext) || {};
|
34709
32337
|
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
34710
32338
|
"div",
|
34711
32339
|
{
|
@@ -34762,7 +32390,7 @@ var scrollIntoView = (el) => {
|
|
34762
32390
|
};
|
34763
32391
|
|
34764
32392
|
// components/LayerTree/index.tsx
|
34765
|
-
var
|
32393
|
+
var import_react23 = require("react");
|
34766
32394
|
|
34767
32395
|
// lib/is-child-of-zone.ts
|
34768
32396
|
init_react_import();
|
@@ -34788,10 +32416,10 @@ var LayerTree = ({
|
|
34788
32416
|
label
|
34789
32417
|
}) => {
|
34790
32418
|
const zones = data.zones || {};
|
34791
|
-
const ctx = (0,
|
32419
|
+
const ctx = (0, import_react23.useContext)(dropZoneContext);
|
34792
32420
|
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_jsx_runtime27.Fragment, { children: [
|
34793
32421
|
label && /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: getClassName21("zoneTitle"), children: [
|
34794
|
-
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: getClassName21("zoneIcon"), children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
32422
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: getClassName21("zoneIcon"), children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Layers, { size: "16" }) }),
|
34795
32423
|
" ",
|
34796
32424
|
label
|
34797
32425
|
] }),
|
@@ -34857,11 +32485,11 @@ var LayerTree = ({
|
|
34857
32485
|
{
|
34858
32486
|
className: getClassNameLayer("chevron"),
|
34859
32487
|
title: isSelected ? "Collapse" : "Expand",
|
34860
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
32488
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ChevronDown, { size: "12" })
|
34861
32489
|
}
|
34862
32490
|
),
|
34863
32491
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: getClassNameLayer("title"), children: [
|
34864
|
-
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: getClassNameLayer("icon"), children: item.type === "Text" || item.type === "Heading" ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
32492
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: getClassNameLayer("icon"), children: item.type === "Text" || item.type === "Heading" ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Type, { size: "16" }) : /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(LayoutGrid, { size: "16" }) }),
|
34865
32493
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: getClassNameLayer("name"), children: item.type })
|
34866
32494
|
] })
|
34867
32495
|
]
|
@@ -34888,13 +32516,13 @@ var LayerTree = ({
|
|
34888
32516
|
};
|
34889
32517
|
|
34890
32518
|
// components/Puck/components/Outline/index.tsx
|
34891
|
-
var
|
32519
|
+
var import_react24 = require("react");
|
34892
32520
|
var import_jsx_runtime28 = require("react/jsx-runtime");
|
34893
32521
|
var Outline = () => {
|
34894
32522
|
const { dispatch, state, overrides } = useAppContext();
|
34895
32523
|
const { data, ui } = state;
|
34896
32524
|
const { itemSelector } = ui;
|
34897
|
-
const setItemSelector = (0,
|
32525
|
+
const setItemSelector = (0, import_react24.useCallback)(
|
34898
32526
|
(newItemSelector) => {
|
34899
32527
|
dispatch({
|
34900
32528
|
type: "setUi",
|
@@ -34903,7 +32531,7 @@ var Outline = () => {
|
|
34903
32531
|
},
|
34904
32532
|
[]
|
34905
32533
|
);
|
34906
|
-
const Wrapper = (0,
|
32534
|
+
const Wrapper = (0, import_react24.useMemo)(() => overrides.outline || "div", [overrides]);
|
34907
32535
|
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(dropZoneContext.Consumer, { children: (ctx) => /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_jsx_runtime28.Fragment, { children: [
|
34908
32536
|
(ctx == null ? void 0 : ctx.activeZones) && (ctx == null ? void 0 : ctx.activeZones[rootDroppableId]) && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
34909
32537
|
LayerTree,
|
@@ -35001,12 +32629,12 @@ function usePuckHistory({
|
|
35001
32629
|
|
35002
32630
|
// lib/use-history-store.ts
|
35003
32631
|
init_react_import();
|
35004
|
-
var
|
32632
|
+
var import_react25 = require("react");
|
35005
32633
|
var import_use_debounce3 = require("use-debounce");
|
35006
32634
|
var EMPTY_HISTORY_INDEX = -1;
|
35007
32635
|
function useHistoryStore() {
|
35008
|
-
const [histories, setHistories] = (0,
|
35009
|
-
const [index, setIndex] = (0,
|
32636
|
+
const [histories, setHistories] = (0, import_react25.useState)([]);
|
32637
|
+
const [index, setIndex] = (0, import_react25.useState)(EMPTY_HISTORY_INDEX);
|
35010
32638
|
const hasPast = index > EMPTY_HISTORY_INDEX;
|
35011
32639
|
const hasFuture = index < histories.length - 1;
|
35012
32640
|
const currentHistory = histories[index];
|
@@ -35061,10 +32689,10 @@ function Puck({
|
|
35061
32689
|
headerPath
|
35062
32690
|
}) {
|
35063
32691
|
const historyStore = useHistoryStore();
|
35064
|
-
const [reducer] = (0,
|
32692
|
+
const [reducer] = (0, import_react26.useState)(
|
35065
32693
|
() => createReducer({ config, record: historyStore.record })
|
35066
32694
|
);
|
35067
|
-
const [initialAppState] = (0,
|
32695
|
+
const [initialAppState] = (0, import_react26.useState)(() => __spreadProps(__spreadValues({}, defaultAppState), {
|
35068
32696
|
data: initialData,
|
35069
32697
|
ui: __spreadProps(__spreadValues(__spreadValues({}, defaultAppState.ui), initialUi), {
|
35070
32698
|
// Store categories under componentList on state to allow render functions and plugins to modify
|
@@ -35083,7 +32711,7 @@ function Puck({
|
|
35083
32711
|
) : {}
|
35084
32712
|
})
|
35085
32713
|
}));
|
35086
|
-
const [appState, dispatch] = (0,
|
32714
|
+
const [appState, dispatch] = (0, import_react26.useReducer)(
|
35087
32715
|
reducer,
|
35088
32716
|
flushZones(initialAppState)
|
35089
32717
|
);
|
@@ -35094,9 +32722,9 @@ function Puck({
|
|
35094
32722
|
config,
|
35095
32723
|
dispatch
|
35096
32724
|
);
|
35097
|
-
const [menuOpen, setMenuOpen] = (0,
|
32725
|
+
const [menuOpen, setMenuOpen] = (0, import_react26.useState)(false);
|
35098
32726
|
const { itemSelector, leftSideBarVisible, rightSideBarVisible } = ui;
|
35099
|
-
const setItemSelector = (0,
|
32727
|
+
const setItemSelector = (0, import_react26.useCallback)(
|
35100
32728
|
(newItemSelector) => {
|
35101
32729
|
if (newItemSelector === itemSelector)
|
35102
32730
|
return;
|
@@ -35109,21 +32737,21 @@ function Puck({
|
|
35109
32737
|
[itemSelector]
|
35110
32738
|
);
|
35111
32739
|
const selectedItem = itemSelector ? getItem(itemSelector, data) : null;
|
35112
|
-
(0,
|
32740
|
+
(0, import_react26.useEffect)(() => {
|
35113
32741
|
if (onChange)
|
35114
32742
|
onChange(data);
|
35115
32743
|
}, [data]);
|
35116
32744
|
const { onDragStartOrUpdate, placeholderStyle } = usePlaceholderStyle();
|
35117
|
-
const [draggedItem, setDraggedItem] = (0,
|
32745
|
+
const [draggedItem, setDraggedItem] = (0, import_react26.useState)();
|
35118
32746
|
const rootProps = data.root.props || data.root;
|
35119
|
-
(0,
|
32747
|
+
(0, import_react26.useEffect)(() => {
|
35120
32748
|
if (Object.keys(data.root).length > 0 && !data.root.props) {
|
35121
32749
|
console.error(
|
35122
32750
|
"Warning: Defining props on `root` is deprecated. Please use `root.props`. This will be a breaking change in a future release."
|
35123
32751
|
);
|
35124
32752
|
}
|
35125
32753
|
}, []);
|
35126
|
-
const toggleSidebars = (0,
|
32754
|
+
const toggleSidebars = (0, import_react26.useCallback)(
|
35127
32755
|
(sidebar) => {
|
35128
32756
|
const widerViewport = window.matchMedia("(min-width: 638px)").matches;
|
35129
32757
|
const sideBarVisible = sidebar === "left" ? leftSideBarVisible : rightSideBarVisible;
|
@@ -35137,7 +32765,7 @@ function Puck({
|
|
35137
32765
|
},
|
35138
32766
|
[dispatch, leftSideBarVisible, rightSideBarVisible]
|
35139
32767
|
);
|
35140
|
-
(0,
|
32768
|
+
(0, import_react26.useEffect)(() => {
|
35141
32769
|
if (!window.matchMedia("(min-width: 638px)").matches) {
|
35142
32770
|
dispatch({
|
35143
32771
|
type: "setUi",
|
@@ -35160,11 +32788,11 @@ function Puck({
|
|
35160
32788
|
window.removeEventListener("resize", handleResize);
|
35161
32789
|
};
|
35162
32790
|
}, []);
|
35163
|
-
const defaultRender = (0,
|
32791
|
+
const defaultRender = (0, import_react26.useMemo)(() => {
|
35164
32792
|
const PuckDefault = ({ children: children2 }) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_jsx_runtime29.Fragment, { children: children2 });
|
35165
32793
|
return PuckDefault;
|
35166
32794
|
}, []);
|
35167
|
-
const defaultHeaderRender = (0,
|
32795
|
+
const defaultHeaderRender = (0, import_react26.useMemo)(() => {
|
35168
32796
|
if (renderHeader) {
|
35169
32797
|
console.warn(
|
35170
32798
|
"`renderHeader` is deprecated. Please use `overrides.header` and the `usePuck` hook instead"
|
@@ -35178,7 +32806,7 @@ function Puck({
|
|
35178
32806
|
}
|
35179
32807
|
return defaultRender;
|
35180
32808
|
}, [renderHeader]);
|
35181
|
-
const defaultHeaderActionsRender = (0,
|
32809
|
+
const defaultHeaderActionsRender = (0, import_react26.useMemo)(() => {
|
35182
32810
|
if (renderHeaderActions) {
|
35183
32811
|
console.warn(
|
35184
32812
|
"`renderHeaderActions` is deprecated. Please use `overrides.headerActions` and the `usePuck` hook instead."
|
@@ -35191,27 +32819,27 @@ function Puck({
|
|
35191
32819
|
}
|
35192
32820
|
return defaultRender;
|
35193
32821
|
}, [renderHeader]);
|
35194
|
-
const loadedOverrides = (0,
|
32822
|
+
const loadedOverrides = (0, import_react26.useMemo)(() => {
|
35195
32823
|
return loadOverrides({ overrides, plugins });
|
35196
32824
|
}, [plugins]);
|
35197
|
-
const CustomPuck = (0,
|
32825
|
+
const CustomPuck = (0, import_react26.useMemo)(
|
35198
32826
|
() => loadedOverrides.puck || defaultRender,
|
35199
32827
|
[loadedOverrides]
|
35200
32828
|
);
|
35201
|
-
const CustomPreview = (0,
|
32829
|
+
const CustomPreview = (0, import_react26.useMemo)(
|
35202
32830
|
() => loadedOverrides.preview || defaultRender,
|
35203
32831
|
[loadedOverrides]
|
35204
32832
|
);
|
35205
|
-
const CustomHeader = (0,
|
32833
|
+
const CustomHeader = (0, import_react26.useMemo)(
|
35206
32834
|
() => loadedOverrides.header || defaultHeaderRender,
|
35207
32835
|
[loadedOverrides]
|
35208
32836
|
);
|
35209
|
-
const CustomHeaderActions = (0,
|
32837
|
+
const CustomHeaderActions = (0, import_react26.useMemo)(
|
35210
32838
|
() => loadedOverrides.headerActions || defaultHeaderActionsRender,
|
35211
32839
|
[loadedOverrides]
|
35212
32840
|
);
|
35213
32841
|
const disableZoom = children || loadedOverrides.puck ? true : false;
|
35214
|
-
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { children: [
|
32842
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "Puck", children: [
|
35215
32843
|
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
35216
32844
|
AppProvider,
|
35217
32845
|
{
|
@@ -35316,7 +32944,7 @@ function Puck({
|
|
35316
32944
|
onClick: () => {
|
35317
32945
|
onPublish && onPublish(data);
|
35318
32946
|
},
|
35319
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
32947
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Globe, { size: "14px" }),
|
35320
32948
|
children: "Publish"
|
35321
32949
|
}
|
35322
32950
|
)
|
@@ -35330,7 +32958,7 @@ function Puck({
|
|
35330
32958
|
toggleSidebars("left");
|
35331
32959
|
},
|
35332
32960
|
title: "Toggle left sidebar",
|
35333
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
32961
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(PanelLeft, { focusable: "false" })
|
35334
32962
|
}
|
35335
32963
|
) }),
|
35336
32964
|
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: getClassName22("rightSideBarToggle"), children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
@@ -35340,7 +32968,7 @@ function Puck({
|
|
35340
32968
|
toggleSidebars("right");
|
35341
32969
|
},
|
35342
32970
|
title: "Toggle right sidebar",
|
35343
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
32971
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(PanelRight, { focusable: "false" })
|
35344
32972
|
}
|
35345
32973
|
) })
|
35346
32974
|
] }),
|
@@ -35359,7 +32987,7 @@ function Puck({
|
|
35359
32987
|
return setMenuOpen(!menuOpen);
|
35360
32988
|
},
|
35361
32989
|
title: "Toggle menu bar",
|
35362
|
-
children: menuOpen ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
32990
|
+
children: menuOpen ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ChevronUp, { focusable: "false" }) : /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ChevronDown, { focusable: "false" })
|
35363
32991
|
}
|
35364
32992
|
) }),
|
35365
32993
|
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
@@ -35432,10 +33060,7 @@ Puck.Preview = Preview;
|
|
35432
33060
|
// components/Render/index.tsx
|
35433
33061
|
init_react_import();
|
35434
33062
|
var import_jsx_runtime30 = require("react/jsx-runtime");
|
35435
|
-
function Render({
|
35436
|
-
config,
|
35437
|
-
data
|
35438
|
-
}) {
|
33063
|
+
function Render({ config, data }) {
|
35439
33064
|
var _a;
|
35440
33065
|
const rootProps = data.root.props || data.root;
|
35441
33066
|
const title = (rootProps == null ? void 0 : rootProps.title) || "";
|
@@ -35571,33 +33196,6 @@ classnames/index.js:
|
|
35571
33196
|
http://jedwatson.github.io/classnames
|
35572
33197
|
*)
|
35573
33198
|
|
35574
|
-
react-is/cjs/react-is.production.min.js:
|
35575
|
-
(** @license React v16.13.1
|
35576
|
-
* react-is.production.min.js
|
35577
|
-
*
|
35578
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
35579
|
-
*
|
35580
|
-
* This source code is licensed under the MIT license found in the
|
35581
|
-
* LICENSE file in the root directory of this source tree.
|
35582
|
-
*)
|
35583
|
-
|
35584
|
-
react-is/cjs/react-is.development.js:
|
35585
|
-
(** @license React v16.13.1
|
35586
|
-
* react-is.development.js
|
35587
|
-
*
|
35588
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
35589
|
-
*
|
35590
|
-
* This source code is licensed under the MIT license found in the
|
35591
|
-
* LICENSE file in the root directory of this source tree.
|
35592
|
-
*)
|
35593
|
-
|
35594
|
-
object-assign/index.js:
|
35595
|
-
(*
|
35596
|
-
object-assign
|
35597
|
-
(c) Sindre Sorhus
|
35598
|
-
@license MIT
|
35599
|
-
*)
|
35600
|
-
|
35601
33199
|
scheduler/cjs/scheduler.production.min.js:
|
35602
33200
|
(**
|
35603
33201
|
* @license React
|
@@ -35654,4 +33252,196 @@ react-dom/cjs/react-dom.development.js:
|
|
35654
33252
|
* @internal
|
35655
33253
|
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
35656
33254
|
*)
|
33255
|
+
|
33256
|
+
lucide-react/dist/esm/defaultAttributes.js:
|
33257
|
+
(**
|
33258
|
+
* @license lucide-react v0.298.0 - ISC
|
33259
|
+
*
|
33260
|
+
* This source code is licensed under the ISC license.
|
33261
|
+
* See the LICENSE file in the root directory of this source tree.
|
33262
|
+
*)
|
33263
|
+
|
33264
|
+
lucide-react/dist/esm/createLucideIcon.js:
|
33265
|
+
(**
|
33266
|
+
* @license lucide-react v0.298.0 - ISC
|
33267
|
+
*
|
33268
|
+
* This source code is licensed under the ISC license.
|
33269
|
+
* See the LICENSE file in the root directory of this source tree.
|
33270
|
+
*)
|
33271
|
+
|
33272
|
+
lucide-react/dist/esm/icons/check-circle.js:
|
33273
|
+
(**
|
33274
|
+
* @license lucide-react v0.298.0 - ISC
|
33275
|
+
*
|
33276
|
+
* This source code is licensed under the ISC license.
|
33277
|
+
* See the LICENSE file in the root directory of this source tree.
|
33278
|
+
*)
|
33279
|
+
|
33280
|
+
lucide-react/dist/esm/icons/chevron-down.js:
|
33281
|
+
(**
|
33282
|
+
* @license lucide-react v0.298.0 - ISC
|
33283
|
+
*
|
33284
|
+
* This source code is licensed under the ISC license.
|
33285
|
+
* See the LICENSE file in the root directory of this source tree.
|
33286
|
+
*)
|
33287
|
+
|
33288
|
+
lucide-react/dist/esm/icons/chevron-left.js:
|
33289
|
+
(**
|
33290
|
+
* @license lucide-react v0.298.0 - ISC
|
33291
|
+
*
|
33292
|
+
* This source code is licensed under the ISC license.
|
33293
|
+
* See the LICENSE file in the root directory of this source tree.
|
33294
|
+
*)
|
33295
|
+
|
33296
|
+
lucide-react/dist/esm/icons/chevron-right.js:
|
33297
|
+
(**
|
33298
|
+
* @license lucide-react v0.298.0 - ISC
|
33299
|
+
*
|
33300
|
+
* This source code is licensed under the ISC license.
|
33301
|
+
* See the LICENSE file in the root directory of this source tree.
|
33302
|
+
*)
|
33303
|
+
|
33304
|
+
lucide-react/dist/esm/icons/chevron-up.js:
|
33305
|
+
(**
|
33306
|
+
* @license lucide-react v0.298.0 - ISC
|
33307
|
+
*
|
33308
|
+
* This source code is licensed under the ISC license.
|
33309
|
+
* See the LICENSE file in the root directory of this source tree.
|
33310
|
+
*)
|
33311
|
+
|
33312
|
+
lucide-react/dist/esm/icons/copy.js:
|
33313
|
+
(**
|
33314
|
+
* @license lucide-react v0.298.0 - ISC
|
33315
|
+
*
|
33316
|
+
* This source code is licensed under the ISC license.
|
33317
|
+
* See the LICENSE file in the root directory of this source tree.
|
33318
|
+
*)
|
33319
|
+
|
33320
|
+
lucide-react/dist/esm/icons/globe.js:
|
33321
|
+
(**
|
33322
|
+
* @license lucide-react v0.298.0 - ISC
|
33323
|
+
*
|
33324
|
+
* This source code is licensed under the ISC license.
|
33325
|
+
* See the LICENSE file in the root directory of this source tree.
|
33326
|
+
*)
|
33327
|
+
|
33328
|
+
lucide-react/dist/esm/icons/hash.js:
|
33329
|
+
(**
|
33330
|
+
* @license lucide-react v0.298.0 - ISC
|
33331
|
+
*
|
33332
|
+
* This source code is licensed under the ISC license.
|
33333
|
+
* See the LICENSE file in the root directory of this source tree.
|
33334
|
+
*)
|
33335
|
+
|
33336
|
+
lucide-react/dist/esm/icons/layers.js:
|
33337
|
+
(**
|
33338
|
+
* @license lucide-react v0.298.0 - ISC
|
33339
|
+
*
|
33340
|
+
* This source code is licensed under the ISC license.
|
33341
|
+
* See the LICENSE file in the root directory of this source tree.
|
33342
|
+
*)
|
33343
|
+
|
33344
|
+
lucide-react/dist/esm/icons/layout-grid.js:
|
33345
|
+
(**
|
33346
|
+
* @license lucide-react v0.298.0 - ISC
|
33347
|
+
*
|
33348
|
+
* This source code is licensed under the ISC license.
|
33349
|
+
* See the LICENSE file in the root directory of this source tree.
|
33350
|
+
*)
|
33351
|
+
|
33352
|
+
lucide-react/dist/esm/icons/link.js:
|
33353
|
+
(**
|
33354
|
+
* @license lucide-react v0.298.0 - ISC
|
33355
|
+
*
|
33356
|
+
* This source code is licensed under the ISC license.
|
33357
|
+
* See the LICENSE file in the root directory of this source tree.
|
33358
|
+
*)
|
33359
|
+
|
33360
|
+
lucide-react/dist/esm/icons/list.js:
|
33361
|
+
(**
|
33362
|
+
* @license lucide-react v0.298.0 - ISC
|
33363
|
+
*
|
33364
|
+
* This source code is licensed under the ISC license.
|
33365
|
+
* See the LICENSE file in the root directory of this source tree.
|
33366
|
+
*)
|
33367
|
+
|
33368
|
+
lucide-react/dist/esm/icons/lock.js:
|
33369
|
+
(**
|
33370
|
+
* @license lucide-react v0.298.0 - ISC
|
33371
|
+
*
|
33372
|
+
* This source code is licensed under the ISC license.
|
33373
|
+
* See the LICENSE file in the root directory of this source tree.
|
33374
|
+
*)
|
33375
|
+
|
33376
|
+
lucide-react/dist/esm/icons/more-vertical.js:
|
33377
|
+
(**
|
33378
|
+
* @license lucide-react v0.298.0 - ISC
|
33379
|
+
*
|
33380
|
+
* This source code is licensed under the ISC license.
|
33381
|
+
* See the LICENSE file in the root directory of this source tree.
|
33382
|
+
*)
|
33383
|
+
|
33384
|
+
lucide-react/dist/esm/icons/panel-left.js:
|
33385
|
+
(**
|
33386
|
+
* @license lucide-react v0.298.0 - ISC
|
33387
|
+
*
|
33388
|
+
* This source code is licensed under the ISC license.
|
33389
|
+
* See the LICENSE file in the root directory of this source tree.
|
33390
|
+
*)
|
33391
|
+
|
33392
|
+
lucide-react/dist/esm/icons/panel-right.js:
|
33393
|
+
(**
|
33394
|
+
* @license lucide-react v0.298.0 - ISC
|
33395
|
+
*
|
33396
|
+
* This source code is licensed under the ISC license.
|
33397
|
+
* See the LICENSE file in the root directory of this source tree.
|
33398
|
+
*)
|
33399
|
+
|
33400
|
+
lucide-react/dist/esm/icons/plus.js:
|
33401
|
+
(**
|
33402
|
+
* @license lucide-react v0.298.0 - ISC
|
33403
|
+
*
|
33404
|
+
* This source code is licensed under the ISC license.
|
33405
|
+
* See the LICENSE file in the root directory of this source tree.
|
33406
|
+
*)
|
33407
|
+
|
33408
|
+
lucide-react/dist/esm/icons/search.js:
|
33409
|
+
(**
|
33410
|
+
* @license lucide-react v0.298.0 - ISC
|
33411
|
+
*
|
33412
|
+
* This source code is licensed under the ISC license.
|
33413
|
+
* See the LICENSE file in the root directory of this source tree.
|
33414
|
+
*)
|
33415
|
+
|
33416
|
+
lucide-react/dist/esm/icons/trash.js:
|
33417
|
+
(**
|
33418
|
+
* @license lucide-react v0.298.0 - ISC
|
33419
|
+
*
|
33420
|
+
* This source code is licensed under the ISC license.
|
33421
|
+
* See the LICENSE file in the root directory of this source tree.
|
33422
|
+
*)
|
33423
|
+
|
33424
|
+
lucide-react/dist/esm/icons/type.js:
|
33425
|
+
(**
|
33426
|
+
* @license lucide-react v0.298.0 - ISC
|
33427
|
+
*
|
33428
|
+
* This source code is licensed under the ISC license.
|
33429
|
+
* See the LICENSE file in the root directory of this source tree.
|
33430
|
+
*)
|
33431
|
+
|
33432
|
+
lucide-react/dist/esm/icons/unlock.js:
|
33433
|
+
(**
|
33434
|
+
* @license lucide-react v0.298.0 - ISC
|
33435
|
+
*
|
33436
|
+
* This source code is licensed under the ISC license.
|
33437
|
+
* See the LICENSE file in the root directory of this source tree.
|
33438
|
+
*)
|
33439
|
+
|
33440
|
+
lucide-react/dist/esm/lucide-react.js:
|
33441
|
+
(**
|
33442
|
+
* @license lucide-react v0.298.0 - ISC
|
33443
|
+
*
|
33444
|
+
* This source code is licensed under the ISC license.
|
33445
|
+
* See the LICENSE file in the root directory of this source tree.
|
33446
|
+
*)
|
35657
33447
|
*/
|