@measured/puck 0.13.0-canary.36648c3 → 0.13.0-canary.57ad171
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +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 +512 -2726
- 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;
|
@@ -30373,1655 +29417,232 @@ Drawer.Item = DrawerItem;
|
|
30373
29417
|
|
30374
29418
|
// components/DropZone/index.tsx
|
30375
29419
|
init_react_import();
|
30376
|
-
var
|
29420
|
+
var import_react9 = require("react");
|
30377
29421
|
|
30378
29422
|
// components/DraggableComponent/index.tsx
|
30379
29423
|
init_react_import();
|
30380
|
-
var
|
29424
|
+
var import_react6 = require("react");
|
30381
29425
|
var import_dnd3 = require("@hello-pangea/dnd");
|
30382
29426
|
|
30383
29427
|
// css-module:/home/runner/work/puck/puck/packages/core/components/DraggableComponent/styles.module.css#css-module
|
30384
29428
|
init_react_import();
|
30385
29429
|
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
29430
|
|
30387
|
-
// ../../node_modules/react
|
29431
|
+
// ../../node_modules/lucide-react/dist/esm/lucide-react.js
|
30388
29432
|
init_react_import();
|
30389
29433
|
|
30390
|
-
// ../../node_modules/react
|
29434
|
+
// ../../node_modules/lucide-react/dist/esm/createLucideIcon.js
|
30391
29435
|
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;
|
29436
|
+
var import_react4 = require("react");
|
30465
29437
|
|
30466
|
-
// ../../node_modules/react
|
29438
|
+
// ../../node_modules/lucide-react/dist/esm/defaultAttributes.js
|
30467
29439
|
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])
|
29440
|
+
var defaultAttributes = {
|
29441
|
+
xmlns: "http://www.w3.org/2000/svg",
|
29442
|
+
width: 24,
|
29443
|
+
height: 24,
|
29444
|
+
viewBox: "0 0 24 24",
|
29445
|
+
fill: "none",
|
29446
|
+
stroke: "currentColor",
|
29447
|
+
strokeWidth: 2,
|
29448
|
+
strokeLinecap: "round",
|
29449
|
+
strokeLinejoin: "round"
|
30536
29450
|
};
|
30537
|
-
ChevronDown.displayName = "ChevronDown";
|
30538
|
-
var chevron_down_default = ChevronDown;
|
30539
29451
|
|
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];
|
29452
|
+
// ../../node_modules/lucide-react/dist/esm/createLucideIcon.js
|
29453
|
+
var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase().trim();
|
29454
|
+
var createLucideIcon = (iconName, iconNode) => {
|
29455
|
+
const Component = (0, import_react4.forwardRef)(
|
29456
|
+
(_a, ref) => {
|
29457
|
+
var _b = _a, { color = "currentColor", size = 24, strokeWidth = 2, absoluteStrokeWidth, className = "", children } = _b, rest = __objRest(_b, ["color", "size", "strokeWidth", "absoluteStrokeWidth", "className", "children"]);
|
29458
|
+
return (0, import_react4.createElement)(
|
29459
|
+
"svg",
|
29460
|
+
__spreadValues(__spreadProps(__spreadValues({
|
29461
|
+
ref
|
29462
|
+
}, defaultAttributes), {
|
29463
|
+
width: size,
|
29464
|
+
height: size,
|
29465
|
+
stroke: color,
|
29466
|
+
strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
|
29467
|
+
className: ["lucide", `lucide-${toKebabCase(iconName)}`, className].join(" ")
|
29468
|
+
}), rest),
|
29469
|
+
[
|
29470
|
+
...iconNode.map(([tag, attrs]) => (0, import_react4.createElement)(tag, attrs)),
|
29471
|
+
...Array.isArray(children) ? children : [children]
|
29472
|
+
]
|
29473
|
+
);
|
30572
29474
|
}
|
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])
|
29475
|
+
);
|
29476
|
+
Component.displayName = `${iconName}`;
|
29477
|
+
return Component;
|
30610
29478
|
};
|
30611
|
-
ChevronLeft.displayName = "ChevronLeft";
|
30612
|
-
var chevron_left_default = ChevronLeft;
|
30613
29479
|
|
30614
|
-
// ../../node_modules/react
|
29480
|
+
// ../../node_modules/lucide-react/dist/esm/icons/check-circle.js
|
30615
29481
|
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;
|
29482
|
+
var CheckCircle = createLucideIcon("CheckCircle", [
|
29483
|
+
["path", { d: "M22 11.08V12a10 10 0 1 1-5.93-9.14", key: "g774vq" }],
|
29484
|
+
["path", { d: "m9 11 3 3L22 4", key: "1pflzl" }]
|
29485
|
+
]);
|
30687
29486
|
|
30688
|
-
// ../../node_modules/react
|
29487
|
+
// ../../node_modules/lucide-react/dist/esm/icons/chevron-down.js
|
30689
29488
|
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;
|
29489
|
+
var ChevronDown = createLucideIcon("ChevronDown", [
|
29490
|
+
["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]
|
29491
|
+
]);
|
30761
29492
|
|
30762
|
-
// ../../node_modules/react
|
29493
|
+
// ../../node_modules/lucide-react/dist/esm/icons/chevron-left.js
|
30763
29494
|
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;
|
29495
|
+
var ChevronLeft = createLucideIcon("ChevronLeft", [
|
29496
|
+
["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]
|
29497
|
+
]);
|
30842
29498
|
|
30843
|
-
// ../../node_modules/react
|
29499
|
+
// ../../node_modules/lucide-react/dist/esm/icons/chevron-right.js
|
30844
29500
|
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;
|
29501
|
+
var ChevronRight = createLucideIcon("ChevronRight", [
|
29502
|
+
["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]
|
29503
|
+
]);
|
30925
29504
|
|
30926
|
-
// ../../node_modules/react
|
29505
|
+
// ../../node_modules/lucide-react/dist/esm/icons/chevron-up.js
|
30927
29506
|
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;
|
29507
|
+
var ChevronUp = createLucideIcon("ChevronUp", [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]]);
|
31017
29508
|
|
31018
|
-
// ../../node_modules/react
|
29509
|
+
// ../../node_modules/lucide-react/dist/esm/icons/copy.js
|
31019
29510
|
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;
|
29511
|
+
var Copy = createLucideIcon("Copy", [
|
29512
|
+
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
29513
|
+
["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" }]
|
29514
|
+
]);
|
31109
29515
|
|
31110
|
-
// ../../node_modules/react
|
29516
|
+
// ../../node_modules/lucide-react/dist/esm/icons/globe.js
|
31111
29517
|
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;
|
29518
|
+
var Globe = createLucideIcon("Globe", [
|
29519
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
29520
|
+
["path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20", key: "13o1zl" }],
|
29521
|
+
["path", { d: "M2 12h20", key: "9i4pu4" }]
|
29522
|
+
]);
|
31187
29523
|
|
31188
|
-
// ../../node_modules/react
|
29524
|
+
// ../../node_modules/lucide-react/dist/esm/icons/hash.js
|
31189
29525
|
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;
|
29526
|
+
var Hash = createLucideIcon("Hash", [
|
29527
|
+
["line", { x1: "4", x2: "20", y1: "9", y2: "9", key: "4lhtct" }],
|
29528
|
+
["line", { x1: "4", x2: "20", y1: "15", y2: "15", key: "vyu0kd" }],
|
29529
|
+
["line", { x1: "10", x2: "8", y1: "3", y2: "21", key: "1ggp8o" }],
|
29530
|
+
["line", { x1: "16", x2: "14", y1: "3", y2: "21", key: "weycgp" }]
|
29531
|
+
]);
|
31263
29532
|
|
31264
|
-
// ../../node_modules/react
|
29533
|
+
// ../../node_modules/lucide-react/dist/esm/icons/layers.js
|
31265
29534
|
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];
|
29535
|
+
var Layers = createLucideIcon("Layers", [
|
29536
|
+
[
|
29537
|
+
"path",
|
29538
|
+
{
|
29539
|
+
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",
|
29540
|
+
key: "8b97xw"
|
31296
29541
|
}
|
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;
|
29542
|
+
],
|
29543
|
+
["path", { d: "m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65", key: "dd6zsq" }],
|
29544
|
+
["path", { d: "m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65", key: "ep9fru" }]
|
29545
|
+
]);
|
31365
29546
|
|
31366
|
-
// ../../node_modules/react
|
29547
|
+
// ../../node_modules/lucide-react/dist/esm/icons/layout-grid.js
|
31367
29548
|
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;
|
29549
|
+
var LayoutGrid = createLucideIcon("LayoutGrid", [
|
29550
|
+
["rect", { width: "7", height: "7", x: "3", y: "3", rx: "1", key: "1g98yp" }],
|
29551
|
+
["rect", { width: "7", height: "7", x: "14", y: "3", rx: "1", key: "6d4xhi" }],
|
29552
|
+
["rect", { width: "7", height: "7", x: "14", y: "14", rx: "1", key: "nxv5o0" }],
|
29553
|
+
["rect", { width: "7", height: "7", x: "3", y: "14", rx: "1", key: "1bb6yr" }]
|
29554
|
+
]);
|
31446
29555
|
|
31447
|
-
// ../../node_modules/react
|
29556
|
+
// ../../node_modules/lucide-react/dist/esm/icons/link.js
|
31448
29557
|
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;
|
29558
|
+
var Link = createLucideIcon("Link", [
|
29559
|
+
["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" }],
|
29560
|
+
["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" }]
|
29561
|
+
]);
|
31530
29562
|
|
31531
|
-
// ../../node_modules/react
|
29563
|
+
// ../../node_modules/lucide-react/dist/esm/icons/list.js
|
31532
29564
|
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;
|
29565
|
+
var List = createLucideIcon("List", [
|
29566
|
+
["line", { x1: "8", x2: "21", y1: "6", y2: "6", key: "7ey8pc" }],
|
29567
|
+
["line", { x1: "8", x2: "21", y1: "12", y2: "12", key: "rjfblc" }],
|
29568
|
+
["line", { x1: "8", x2: "21", y1: "18", y2: "18", key: "c3b1m8" }],
|
29569
|
+
["line", { x1: "3", x2: "3.01", y1: "6", y2: "6", key: "1g7gq3" }],
|
29570
|
+
["line", { x1: "3", x2: "3.01", y1: "12", y2: "12", key: "1pjlvk" }],
|
29571
|
+
["line", { x1: "3", x2: "3.01", y1: "18", y2: "18", key: "28t2mc" }]
|
29572
|
+
]);
|
31612
29573
|
|
31613
|
-
// ../../node_modules/react
|
29574
|
+
// ../../node_modules/lucide-react/dist/esm/icons/lock.js
|
31614
29575
|
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;
|
29576
|
+
var Lock = createLucideIcon("Lock", [
|
29577
|
+
["rect", { width: "18", height: "11", x: "3", y: "11", rx: "2", ry: "2", key: "1w4ew1" }],
|
29578
|
+
["path", { d: "M7 11V7a5 5 0 0 1 10 0v4", key: "fwvmzm" }]
|
29579
|
+
]);
|
31693
29580
|
|
31694
|
-
// ../../node_modules/react
|
29581
|
+
// ../../node_modules/lucide-react/dist/esm/icons/more-vertical.js
|
31695
29582
|
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;
|
29583
|
+
var MoreVertical = createLucideIcon("MoreVertical", [
|
29584
|
+
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
|
29585
|
+
["circle", { cx: "12", cy: "5", r: "1", key: "gxeob9" }],
|
29586
|
+
["circle", { cx: "12", cy: "19", r: "1", key: "lyex9k" }]
|
29587
|
+
]);
|
31777
29588
|
|
31778
|
-
// ../../node_modules/react
|
29589
|
+
// ../../node_modules/lucide-react/dist/esm/icons/panel-left.js
|
31779
29590
|
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;
|
29591
|
+
var PanelLeft = createLucideIcon("PanelLeft", [
|
29592
|
+
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", key: "1m3agn" }],
|
29593
|
+
["line", { x1: "9", x2: "9", y1: "3", y2: "21", key: "13tij5" }]
|
29594
|
+
]);
|
31853
29595
|
|
31854
|
-
// ../../node_modules/react
|
29596
|
+
// ../../node_modules/lucide-react/dist/esm/icons/panel-right.js
|
31855
29597
|
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;
|
29598
|
+
var PanelRight = createLucideIcon("PanelRight", [
|
29599
|
+
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", key: "1m3agn" }],
|
29600
|
+
["line", { x1: "15", x2: "15", y1: "3", y2: "21", key: "1hpv9i" }]
|
29601
|
+
]);
|
31937
29602
|
|
31938
|
-
// ../../node_modules/react
|
29603
|
+
// ../../node_modules/lucide-react/dist/esm/icons/plus.js
|
31939
29604
|
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;
|
29605
|
+
var Plus = createLucideIcon("Plus", [
|
29606
|
+
["path", { d: "M5 12h14", key: "1ays0h" }],
|
29607
|
+
["path", { d: "M12 5v14", key: "s699le" }]
|
29608
|
+
]);
|
29609
|
+
|
29610
|
+
// ../../node_modules/lucide-react/dist/esm/icons/search.js
|
29611
|
+
init_react_import();
|
29612
|
+
var Search = createLucideIcon("Search", [
|
29613
|
+
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
29614
|
+
["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
|
29615
|
+
]);
|
29616
|
+
|
29617
|
+
// ../../node_modules/lucide-react/dist/esm/icons/trash.js
|
29618
|
+
init_react_import();
|
29619
|
+
var Trash = createLucideIcon("Trash", [
|
29620
|
+
["path", { d: "M3 6h18", key: "d0wm0j" }],
|
29621
|
+
["path", { d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6", key: "4alrt4" }],
|
29622
|
+
["path", { d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2", key: "v07s0e" }]
|
29623
|
+
]);
|
29624
|
+
|
29625
|
+
// ../../node_modules/lucide-react/dist/esm/icons/type.js
|
29626
|
+
init_react_import();
|
29627
|
+
var Type = createLucideIcon("Type", [
|
29628
|
+
["polyline", { points: "4 7 4 4 20 4 20 7", key: "1nosan" }],
|
29629
|
+
["line", { x1: "9", x2: "15", y1: "20", y2: "20", key: "swin9y" }],
|
29630
|
+
["line", { x1: "12", x2: "12", y1: "4", y2: "20", key: "1tx1rr" }]
|
29631
|
+
]);
|
29632
|
+
|
29633
|
+
// ../../node_modules/lucide-react/dist/esm/icons/unlock.js
|
29634
|
+
init_react_import();
|
29635
|
+
var Unlock = createLucideIcon("Unlock", [
|
29636
|
+
["rect", { width: "18", height: "11", x: "3", y: "11", rx: "2", ry: "2", key: "1w4ew1" }],
|
29637
|
+
["path", { d: "M7 11V7a5 5 0 0 1 9.9-1", key: "1mm8w8" }]
|
29638
|
+
]);
|
32018
29639
|
|
32019
29640
|
// lib/use-modifier-held.ts
|
32020
29641
|
init_react_import();
|
32021
|
-
var
|
29642
|
+
var import_react5 = require("react");
|
32022
29643
|
var useModifierHeld = (modifier) => {
|
32023
|
-
const [modifierHeld, setModifierHeld] = (0,
|
32024
|
-
(0,
|
29644
|
+
const [modifierHeld, setModifierHeld] = (0, import_react5.useState)(false);
|
29645
|
+
(0, import_react5.useEffect)(() => {
|
32025
29646
|
function downHandler({ key }) {
|
32026
29647
|
if (key === modifier) {
|
32027
29648
|
setModifierHeld(true);
|
@@ -32069,7 +29690,7 @@ var DraggableComponent = ({
|
|
32069
29690
|
style
|
32070
29691
|
}) => {
|
32071
29692
|
const isModifierHeld = useModifierHeld("Alt");
|
32072
|
-
(0,
|
29693
|
+
(0, import_react6.useEffect)(onMount, []);
|
32073
29694
|
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
32074
29695
|
import_dnd3.Draggable,
|
32075
29696
|
{
|
@@ -32102,8 +29723,8 @@ var DraggableComponent = ({
|
|
32102
29723
|
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
29724
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: getClassName4("overlay"), children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: getClassName4("actions"), children: [
|
32104
29725
|
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)(
|
29726
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("button", { className: getClassName4("action"), onClick: onDuplicate, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Copy, { size: 16 }) }),
|
29727
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("button", { className: getClassName4("action"), onClick: onDelete, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Trash, { size: 16 }) })
|
32107
29728
|
] }) }),
|
32108
29729
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: getClassName4("contents"), children })
|
32109
29730
|
]
|
@@ -32152,7 +29773,7 @@ var styles_module_default4 = { "DropZone": "_DropZone_i675d_1", "DropZone--zoomE
|
|
32152
29773
|
|
32153
29774
|
// components/DropZone/context.tsx
|
32154
29775
|
init_react_import();
|
32155
|
-
var
|
29776
|
+
var import_react7 = require("react");
|
32156
29777
|
var import_use_debounce = require("use-debounce");
|
32157
29778
|
|
32158
29779
|
// lib/get-zone-id.ts
|
@@ -32169,29 +29790,29 @@ var getZoneId = (zoneCompound) => {
|
|
32169
29790
|
|
32170
29791
|
// components/DropZone/context.tsx
|
32171
29792
|
var import_jsx_runtime6 = require("react/jsx-runtime");
|
32172
|
-
var dropZoneContext = (0,
|
29793
|
+
var dropZoneContext = (0, import_react7.createContext)(null);
|
32173
29794
|
var DropZoneProvider = ({
|
32174
29795
|
children,
|
32175
29796
|
value
|
32176
29797
|
}) => {
|
32177
|
-
const [hoveringArea, setHoveringArea] = (0,
|
32178
|
-
const [hoveringZone, setHoveringZone] = (0,
|
29798
|
+
const [hoveringArea, setHoveringArea] = (0, import_react7.useState)(null);
|
29799
|
+
const [hoveringZone, setHoveringZone] = (0, import_react7.useState)(
|
32179
29800
|
rootDroppableId
|
32180
29801
|
);
|
32181
|
-
const [hoveringComponent, setHoveringComponent] = (0,
|
29802
|
+
const [hoveringComponent, setHoveringComponent] = (0, import_react7.useState)();
|
32182
29803
|
const [hoveringAreaDb] = (0, import_use_debounce.useDebounce)(hoveringArea, 75, { leading: false });
|
32183
|
-
const [areasWithZones, setAreasWithZones] = (0,
|
29804
|
+
const [areasWithZones, setAreasWithZones] = (0, import_react7.useState)(
|
32184
29805
|
{}
|
32185
29806
|
);
|
32186
|
-
const [activeZones, setActiveZones] = (0,
|
29807
|
+
const [activeZones, setActiveZones] = (0, import_react7.useState)({});
|
32187
29808
|
const { dispatch = null } = value ? value : {};
|
32188
|
-
const registerZoneArea = (0,
|
29809
|
+
const registerZoneArea = (0, import_react7.useCallback)(
|
32189
29810
|
(area) => {
|
32190
29811
|
setAreasWithZones((latest) => __spreadProps(__spreadValues({}, latest), { [area]: true }));
|
32191
29812
|
},
|
32192
29813
|
[setAreasWithZones]
|
32193
29814
|
);
|
32194
|
-
const registerZone = (0,
|
29815
|
+
const registerZone = (0, import_react7.useCallback)(
|
32195
29816
|
(zoneCompound) => {
|
32196
29817
|
if (!dispatch) {
|
32197
29818
|
return;
|
@@ -32204,7 +29825,7 @@ var DropZoneProvider = ({
|
|
32204
29825
|
},
|
32205
29826
|
[setActiveZones, dispatch]
|
32206
29827
|
);
|
32207
|
-
const unregisterZone = (0,
|
29828
|
+
const unregisterZone = (0, import_react7.useCallback)(
|
32208
29829
|
(zoneCompound) => {
|
32209
29830
|
if (!dispatch) {
|
32210
29831
|
return;
|
@@ -32219,8 +29840,8 @@ var DropZoneProvider = ({
|
|
32219
29840
|
},
|
32220
29841
|
[setActiveZones, dispatch]
|
32221
29842
|
);
|
32222
|
-
const [pathData, setPathData] = (0,
|
32223
|
-
const registerPath = (0,
|
29843
|
+
const [pathData, setPathData] = (0, import_react7.useState)();
|
29844
|
+
const registerPath = (0, import_react7.useCallback)(
|
32224
29845
|
(selector) => {
|
32225
29846
|
if (!(value == null ? void 0 : value.data)) {
|
32226
29847
|
return;
|
@@ -32270,7 +29891,7 @@ var DropZoneProvider = ({
|
|
32270
29891
|
|
32271
29892
|
// components/Puck/context.tsx
|
32272
29893
|
init_react_import();
|
32273
|
-
var
|
29894
|
+
var import_react8 = require("react");
|
32274
29895
|
var defaultAppState = {
|
32275
29896
|
data: { content: [], root: { props: { title: "" } } },
|
32276
29897
|
ui: {
|
@@ -32282,7 +29903,7 @@ var defaultAppState = {
|
|
32282
29903
|
isDragging: false
|
32283
29904
|
}
|
32284
29905
|
};
|
32285
|
-
var appContext = (0,
|
29906
|
+
var appContext = (0, import_react8.createContext)({
|
32286
29907
|
state: defaultAppState,
|
32287
29908
|
dispatch: () => null,
|
32288
29909
|
config: { components: {} },
|
@@ -32294,8 +29915,8 @@ var appContext = (0, import_react27.createContext)({
|
|
32294
29915
|
history: {}
|
32295
29916
|
});
|
32296
29917
|
var AppProvider = appContext.Provider;
|
32297
|
-
|
32298
|
-
const mainContext = (0,
|
29918
|
+
function useAppContext() {
|
29919
|
+
const mainContext = (0, import_react8.useContext)(appContext);
|
32299
29920
|
const selectedItem = mainContext.state.ui.itemSelector ? getItem(mainContext.state.ui.itemSelector, mainContext.state.data) : void 0;
|
32300
29921
|
return __spreadProps(__spreadValues({}, mainContext), {
|
32301
29922
|
// Helpers
|
@@ -32308,7 +29929,7 @@ var useAppContext = () => {
|
|
32308
29929
|
});
|
32309
29930
|
}
|
32310
29931
|
});
|
32311
|
-
}
|
29932
|
+
}
|
32312
29933
|
|
32313
29934
|
// components/DropZone/index.tsx
|
32314
29935
|
var import_jsx_runtime7 = require("react/jsx-runtime");
|
@@ -32316,7 +29937,7 @@ var getClassName5 = get_class_name_factory_default("DropZone", styles_module_def
|
|
32316
29937
|
function DropZoneEdit({ zone, allow, disallow, style }) {
|
32317
29938
|
var _a;
|
32318
29939
|
const appContext2 = useAppContext();
|
32319
|
-
const ctx = (0,
|
29940
|
+
const ctx = (0, import_react9.useContext)(dropZoneContext);
|
32320
29941
|
const {
|
32321
29942
|
// These all need setting via context
|
32322
29943
|
data,
|
@@ -32334,12 +29955,12 @@ function DropZoneEdit({ zone, allow, disallow, style }) {
|
|
32334
29955
|
} = ctx || {};
|
32335
29956
|
let content = data.content || [];
|
32336
29957
|
let zoneCompound = rootDroppableId;
|
32337
|
-
(0,
|
29958
|
+
(0, import_react9.useEffect)(() => {
|
32338
29959
|
if (areaId && registerZoneArea) {
|
32339
29960
|
registerZoneArea(areaId);
|
32340
29961
|
}
|
32341
29962
|
}, [areaId]);
|
32342
|
-
(0,
|
29963
|
+
(0, import_react9.useEffect)(() => {
|
32343
29964
|
if (ctx == null ? void 0 : ctx.registerZone) {
|
32344
29965
|
ctx == null ? void 0 : ctx.registerZone(zoneCompound);
|
32345
29966
|
}
|
@@ -32360,7 +29981,7 @@ function DropZoneEdit({ zone, allow, disallow, style }) {
|
|
32360
29981
|
const draggedDestinationId = draggedItem && ((_a = draggedItem.destination) == null ? void 0 : _a.droppableId);
|
32361
29982
|
const [zoneArea] = getZoneId(zoneCompound);
|
32362
29983
|
const [draggedSourceArea] = getZoneId(draggedSourceId);
|
32363
|
-
const [userWillDrag, setUserWillDrag] = (0,
|
29984
|
+
const [userWillDrag, setUserWillDrag] = (0, import_react9.useState)(false);
|
32364
29985
|
const userIsDragging = !!draggedItem;
|
32365
29986
|
const draggingOverArea = userIsDragging && zoneArea === draggedSourceArea;
|
32366
29987
|
const draggingNewComponent = draggedSourceId == null ? void 0 : draggedSourceId.startsWith("component-list");
|
@@ -32579,7 +30200,7 @@ function DropZoneEdit({ zone, allow, disallow, style }) {
|
|
32579
30200
|
);
|
32580
30201
|
}
|
32581
30202
|
function DropZoneRender({ zone }) {
|
32582
|
-
const ctx = (0,
|
30203
|
+
const ctx = (0, import_react9.useContext)(dropZoneContext);
|
32583
30204
|
const { data, areaId = "root", config } = ctx || {};
|
32584
30205
|
let zoneCompound = rootDroppableId;
|
32585
30206
|
let content = (data == null ? void 0 : data.content) || [];
|
@@ -32611,7 +30232,7 @@ function DropZoneRender({ zone }) {
|
|
32611
30232
|
}) });
|
32612
30233
|
}
|
32613
30234
|
function DropZone(props) {
|
32614
|
-
const ctx = (0,
|
30235
|
+
const ctx = (0, import_react9.useContext)(dropZoneContext);
|
32615
30236
|
if ((ctx == null ? void 0 : ctx.mode) === "edit") {
|
32616
30237
|
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(DropZoneEdit, __spreadValues({}, props));
|
32617
30238
|
}
|
@@ -32623,7 +30244,7 @@ init_react_import();
|
|
32623
30244
|
|
32624
30245
|
// components/IconButton/IconButton.tsx
|
32625
30246
|
init_react_import();
|
32626
|
-
var
|
30247
|
+
var import_react10 = require("react");
|
32627
30248
|
|
32628
30249
|
// css-module:/home/runner/work/puck/puck/packages/core/components/IconButton/IconButton.module.css#css-module
|
32629
30250
|
init_react_import();
|
@@ -32645,7 +30266,7 @@ var IconButton = ({
|
|
32645
30266
|
fullWidth,
|
32646
30267
|
title
|
32647
30268
|
}) => {
|
32648
|
-
const [loading, setLoading] = (0,
|
30269
|
+
const [loading, setLoading] = (0, import_react10.useState)(false);
|
32649
30270
|
const ElementType = href ? "a" : "button";
|
32650
30271
|
const el = /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
|
32651
30272
|
ElementType,
|
@@ -32686,15 +30307,15 @@ var IconButton = ({
|
|
32686
30307
|
|
32687
30308
|
// components/Puck/index.tsx
|
32688
30309
|
init_react_import();
|
32689
|
-
var
|
30310
|
+
var import_react26 = require("react");
|
32690
30311
|
var import_dnd7 = require("@hello-pangea/dnd");
|
32691
30312
|
|
32692
30313
|
// lib/use-placeholder-style.ts
|
32693
30314
|
init_react_import();
|
32694
|
-
var
|
30315
|
+
var import_react11 = require("react");
|
32695
30316
|
var usePlaceholderStyle = () => {
|
32696
30317
|
const queryAttr = "data-rfd-drag-handle-draggable-id";
|
32697
|
-
const [placeholderStyle, setPlaceholderStyle] = (0,
|
30318
|
+
const [placeholderStyle, setPlaceholderStyle] = (0, import_react11.useState)();
|
32698
30319
|
const onDragStartOrUpdate = (draggedItem) => {
|
32699
30320
|
var _a;
|
32700
30321
|
const draggableId = draggedItem.draggableId;
|
@@ -32769,7 +30390,7 @@ var Heading = ({ children, rank, size = "m" }) => {
|
|
32769
30390
|
|
32770
30391
|
// lib/use-breadcrumbs.ts
|
32771
30392
|
init_react_import();
|
32772
|
-
var
|
30393
|
+
var import_react12 = require("react");
|
32773
30394
|
var convertPathDataToBreadcrumbs = (selectedItem, pathData, data) => {
|
32774
30395
|
const id = selectedItem ? selectedItem == null ? void 0 : selectedItem.props.id : "";
|
32775
30396
|
const currentPathData = pathData && id && pathData[id] ? __spreadValues({}, pathData[id]) : { label: "Page", path: [] };
|
@@ -32819,8 +30440,8 @@ var useBreadcrumbs = (renderCount) => {
|
|
32819
30440
|
state: { data },
|
32820
30441
|
selectedItem
|
32821
30442
|
} = useAppContext();
|
32822
|
-
const dzContext = (0,
|
32823
|
-
return (0,
|
30443
|
+
const dzContext = (0, import_react12.useContext)(dropZoneContext);
|
30444
|
+
return (0, import_react12.useMemo)(() => {
|
32824
30445
|
const breadcrumbs = convertPathDataToBreadcrumbs(
|
32825
30446
|
selectedItem,
|
32826
30447
|
dzContext == null ? void 0 : dzContext.pathData,
|
@@ -32864,7 +30485,7 @@ var SidebarSection = ({
|
|
32864
30485
|
children: breadcrumb.label
|
32865
30486
|
}
|
32866
30487
|
),
|
32867
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
30488
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(ChevronRight, { size: 16 })
|
32868
30489
|
] }, i)) : null,
|
32869
30490
|
/* @__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
30491
|
] }) }),
|
@@ -33204,17 +30825,19 @@ var setAction = (state, action) => {
|
|
33204
30825
|
}
|
33205
30826
|
return __spreadValues(__spreadValues({}, state), action.state(state));
|
33206
30827
|
};
|
33207
|
-
|
30828
|
+
function createReducer({
|
33208
30829
|
config,
|
33209
30830
|
record
|
33210
|
-
})
|
33211
|
-
|
33212
|
-
|
33213
|
-
|
33214
|
-
|
33215
|
-
|
33216
|
-
|
33217
|
-
|
30831
|
+
}) {
|
30832
|
+
return storeInterceptor((state, action) => {
|
30833
|
+
const data = reduceData(state.data, action, config);
|
30834
|
+
const ui = reduceUi(state.ui, action);
|
30835
|
+
if (action.type === "set") {
|
30836
|
+
return setAction(state, action);
|
30837
|
+
}
|
30838
|
+
return { data, ui };
|
30839
|
+
}, record);
|
30840
|
+
}
|
33218
30841
|
|
33219
30842
|
// lib/flush-zones.ts
|
33220
30843
|
init_react_import();
|
@@ -33235,7 +30858,7 @@ var flushZones = (appState) => {
|
|
33235
30858
|
|
33236
30859
|
// lib/use-resolved-data.ts
|
33237
30860
|
init_react_import();
|
33238
|
-
var
|
30861
|
+
var import_react13 = require("react");
|
33239
30862
|
|
33240
30863
|
// lib/resolve-component-data.ts
|
33241
30864
|
init_react_import();
|
@@ -33350,13 +30973,13 @@ var resolveRootData = (data, config) => __async(void 0, null, function* () {
|
|
33350
30973
|
|
33351
30974
|
// lib/use-resolved-data.ts
|
33352
30975
|
var useResolvedData = (appState, config, dispatch) => {
|
33353
|
-
const [{ resolverKey, newAppState }, setResolverState] = (0,
|
30976
|
+
const [{ resolverKey, newAppState }, setResolverState] = (0, import_react13.useState)({
|
33354
30977
|
resolverKey: 0,
|
33355
30978
|
newAppState: appState
|
33356
30979
|
});
|
33357
|
-
const [componentState, setComponentState] = (0,
|
30980
|
+
const [componentState, setComponentState] = (0, import_react13.useState)({});
|
33358
30981
|
const deferredSetStates = {};
|
33359
|
-
const setComponentLoading = (0,
|
30982
|
+
const setComponentLoading = (0, import_react13.useCallback)(
|
33360
30983
|
(id, loading, defer = 0) => {
|
33361
30984
|
if (deferredSetStates[id]) {
|
33362
30985
|
clearTimeout(deferredSetStates[id]);
|
@@ -33423,10 +31046,10 @@ var useResolvedData = (appState, config, dispatch) => {
|
|
33423
31046
|
});
|
33424
31047
|
yield Promise.all(promises);
|
33425
31048
|
});
|
33426
|
-
(0,
|
31049
|
+
(0, import_react13.useEffect)(() => {
|
33427
31050
|
runResolvers();
|
33428
31051
|
}, [resolverKey]);
|
33429
|
-
const resolveData = (0,
|
31052
|
+
const resolveData = (0, import_react13.useCallback)((newAppState2 = appState) => {
|
33430
31053
|
setResolverState((curr) => ({
|
33431
31054
|
resolverKey: curr.resolverKey + 1,
|
33432
31055
|
newAppState: newAppState2
|
@@ -33478,14 +31101,14 @@ var MenuBar = ({
|
|
33478
31101
|
children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: getClassName9("inner"), children: [
|
33479
31102
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: getClassName9("history"), children: [
|
33480
31103
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(IconButton, { title: "undo", disabled: !hasPast, onClick: back, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
33481
|
-
|
31104
|
+
ChevronLeft,
|
33482
31105
|
{
|
33483
31106
|
size: 21,
|
33484
31107
|
stroke: hasPast ? "var(--puck-color-black)" : "var(--puck-color-grey-7)"
|
33485
31108
|
}
|
33486
31109
|
) }),
|
33487
31110
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(IconButton, { title: "redo", disabled: !hasFuture, onClick: forward, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
33488
|
-
|
31111
|
+
ChevronRight,
|
33489
31112
|
{
|
33490
31113
|
size: 21,
|
33491
31114
|
stroke: hasFuture ? "var(--puck-color-black)" : "var(--puck-color-grey-7)"
|
@@ -33502,7 +31125,7 @@ var MenuBar = ({
|
|
33502
31125
|
onClick: () => {
|
33503
31126
|
onPublish && onPublish(data);
|
33504
31127
|
},
|
33505
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
31128
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Globe, { size: "14px" }),
|
33506
31129
|
children: "Publish"
|
33507
31130
|
}
|
33508
31131
|
) })
|
@@ -33513,7 +31136,7 @@ var MenuBar = ({
|
|
33513
31136
|
|
33514
31137
|
// css-module:/home/runner/work/puck/puck/packages/core/components/Puck/styles.module.css#css-module
|
33515
31138
|
init_react_import();
|
33516
|
-
var styles_module_default8 = { "Puck": "
|
31139
|
+
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
31140
|
|
33518
31141
|
// components/Puck/components/Fields/index.tsx
|
33519
31142
|
init_react_import();
|
@@ -33527,7 +31150,7 @@ init_react_import();
|
|
33527
31150
|
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
31151
|
|
33529
31152
|
// components/InputOrGroup/index.tsx
|
33530
|
-
var
|
31153
|
+
var import_react18 = require("react");
|
33531
31154
|
|
33532
31155
|
// components/InputOrGroup/fields/index.tsx
|
33533
31156
|
init_react_import();
|
@@ -33542,14 +31165,14 @@ var styles_module_default10 = { "ArrayField": "_ArrayField_1auyc_5", "ArrayField
|
|
33542
31165
|
// components/InputOrGroup/fields/ArrayField/index.tsx
|
33543
31166
|
var import_dnd5 = require("@hello-pangea/dnd");
|
33544
31167
|
var import_dnd6 = require("@hello-pangea/dnd");
|
33545
|
-
var
|
31168
|
+
var import_react14 = require("react");
|
33546
31169
|
var import_jsx_runtime12 = require("react/jsx-runtime");
|
33547
31170
|
var getClassName10 = get_class_name_factory_default("ArrayField", styles_module_default10);
|
33548
31171
|
var getClassNameItem2 = get_class_name_factory_default("ArrayFieldItem", styles_module_default10);
|
33549
31172
|
var ArrayField = ({
|
33550
31173
|
field,
|
33551
31174
|
onChange,
|
33552
|
-
value,
|
31175
|
+
value: _value,
|
33553
31176
|
name,
|
33554
31177
|
label,
|
33555
31178
|
readOnly,
|
@@ -33557,6 +31180,7 @@ var ArrayField = ({
|
|
33557
31180
|
id
|
33558
31181
|
}) => {
|
33559
31182
|
const { state, setUi } = useAppContext();
|
31183
|
+
const value = _value;
|
33560
31184
|
const arrayState = state.ui.arrayState[id] || {
|
33561
31185
|
items: Array.from(value || []).map((item, idx) => {
|
33562
31186
|
return {
|
@@ -33566,11 +31190,11 @@ var ArrayField = ({
|
|
33566
31190
|
}),
|
33567
31191
|
openId: ""
|
33568
31192
|
};
|
33569
|
-
const [localState, setLocalState] = (0,
|
33570
|
-
(0,
|
31193
|
+
const [localState, setLocalState] = (0, import_react14.useState)({ arrayState, value });
|
31194
|
+
(0, import_react14.useEffect)(() => {
|
33571
31195
|
setLocalState({ arrayState, value });
|
33572
31196
|
}, [value, state.ui.arrayState[id]]);
|
33573
|
-
const mapArrayStateToUi = (0,
|
31197
|
+
const mapArrayStateToUi = (0, import_react14.useCallback)(
|
33574
31198
|
(partialArrayState) => {
|
33575
31199
|
return {
|
33576
31200
|
arrayState: __spreadProps(__spreadValues({}, state.ui.arrayState), {
|
@@ -33580,13 +31204,13 @@ var ArrayField = ({
|
|
33580
31204
|
},
|
33581
31205
|
[arrayState]
|
33582
31206
|
);
|
33583
|
-
const getHighestIndex = (0,
|
31207
|
+
const getHighestIndex = (0, import_react14.useCallback)(() => {
|
33584
31208
|
return arrayState.items.reduce(
|
33585
31209
|
(acc, item) => item._originalIndex > acc ? item._originalIndex : acc,
|
33586
31210
|
-1
|
33587
31211
|
);
|
33588
31212
|
}, [arrayState]);
|
33589
|
-
const regenerateArrayState = (0,
|
31213
|
+
const regenerateArrayState = (0, import_react14.useCallback)(
|
33590
31214
|
(value2) => {
|
33591
31215
|
let highestIndex = getHighestIndex();
|
33592
31216
|
const newItems = Array.from(value2 || []).map((item, idx) => {
|
@@ -33605,10 +31229,10 @@ var ArrayField = ({
|
|
33605
31229
|
},
|
33606
31230
|
[arrayState]
|
33607
31231
|
);
|
33608
|
-
(0,
|
31232
|
+
(0, import_react14.useEffect)(() => {
|
33609
31233
|
setUi(mapArrayStateToUi(arrayState));
|
33610
31234
|
}, []);
|
33611
|
-
const [hovering, setHovering] = (0,
|
31235
|
+
const [hovering, setHovering] = (0, import_react14.useState)(false);
|
33612
31236
|
if (field.type !== "array" || !field.arrayFields) {
|
33613
31237
|
return null;
|
33614
31238
|
}
|
@@ -33616,7 +31240,7 @@ var ArrayField = ({
|
|
33616
31240
|
FieldLabelInternal,
|
33617
31241
|
{
|
33618
31242
|
label: label || name,
|
33619
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
31243
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(List, { size: 16 }),
|
33620
31244
|
el: "div",
|
33621
31245
|
readOnly,
|
33622
31246
|
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
@@ -33666,7 +31290,7 @@ var ArrayField = ({
|
|
33666
31290
|
children: [
|
33667
31291
|
localState.arrayState.items.map((item, i) => {
|
33668
31292
|
const { _arrayId = `${id}-${i}`, _originalIndex = i } = item;
|
33669
|
-
const data = Array.from(localState.value || [])[i];
|
31293
|
+
const data = Array.from(localState.value || [])[i] || {};
|
33670
31294
|
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
33671
31295
|
Draggable,
|
33672
31296
|
{
|
@@ -33722,7 +31346,7 @@ var ArrayField = ({
|
|
33722
31346
|
);
|
33723
31347
|
},
|
33724
31348
|
title: "Delete",
|
33725
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
31349
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Trash, { size: 16 })
|
33726
31350
|
}
|
33727
31351
|
) }) }),
|
33728
31352
|
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(DragIcon, {}) })
|
@@ -33777,7 +31401,7 @@ var ArrayField = ({
|
|
33777
31401
|
const newArrayState = regenerateArrayState(newValue);
|
33778
31402
|
onChange(newValue, mapArrayStateToUi(newArrayState));
|
33779
31403
|
},
|
33780
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
31404
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Plus, { size: "21" })
|
33781
31405
|
}
|
33782
31406
|
)
|
33783
31407
|
]
|
@@ -33808,8 +31432,8 @@ var DefaultField = ({
|
|
33808
31432
|
{
|
33809
31433
|
label: label || name,
|
33810
31434
|
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)(
|
31435
|
+
field.type === "text" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Type, { size: 16 }),
|
31436
|
+
field.type === "number" && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Hash, { size: 16 })
|
33813
31437
|
] }),
|
33814
31438
|
readOnly,
|
33815
31439
|
children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
@@ -33837,11 +31461,11 @@ var DefaultField = ({
|
|
33837
31461
|
|
33838
31462
|
// components/InputOrGroup/fields/ExternalField/index.tsx
|
33839
31463
|
init_react_import();
|
33840
|
-
var
|
31464
|
+
var import_react17 = require("react");
|
33841
31465
|
|
33842
31466
|
// components/ExternalInput/index.tsx
|
33843
31467
|
init_react_import();
|
33844
|
-
var
|
31468
|
+
var import_react16 = require("react");
|
33845
31469
|
|
33846
31470
|
// css-module:/home/runner/work/puck/puck/packages/core/components/ExternalInput/styles.module.css#css-module
|
33847
31471
|
init_react_import();
|
@@ -33849,7 +31473,7 @@ var styles_module_default11 = { "ExternalInput": "_ExternalInput_s6fxy_1", "Exte
|
|
33849
31473
|
|
33850
31474
|
// components/Modal/index.tsx
|
33851
31475
|
init_react_import();
|
33852
|
-
var
|
31476
|
+
var import_react15 = require("react");
|
33853
31477
|
|
33854
31478
|
// css-module:/home/runner/work/puck/puck/packages/core/components/Modal/styles.module.css#css-module
|
33855
31479
|
init_react_import();
|
@@ -33864,8 +31488,8 @@ var Modal = ({
|
|
33864
31488
|
onClose,
|
33865
31489
|
isOpen
|
33866
31490
|
}) => {
|
33867
|
-
const [rootEl, setRootEl] = (0,
|
33868
|
-
(0,
|
31491
|
+
const [rootEl, setRootEl] = (0, import_react15.useState)(null);
|
31492
|
+
(0, import_react15.useEffect)(() => {
|
33869
31493
|
setRootEl(document.getElementById("puck-portal-root"));
|
33870
31494
|
}, []);
|
33871
31495
|
if (!rootEl) {
|
@@ -33898,10 +31522,10 @@ var ExternalInput = ({
|
|
33898
31522
|
id
|
33899
31523
|
}) => {
|
33900
31524
|
const { mapProp = (val) => val } = field || {};
|
33901
|
-
const [data, setData] = (0,
|
33902
|
-
const [isOpen, setOpen] = (0,
|
33903
|
-
const [isLoading, setIsLoading] = (0,
|
33904
|
-
const keys = (0,
|
31525
|
+
const [data, setData] = (0, import_react16.useState)([]);
|
31526
|
+
const [isOpen, setOpen] = (0, import_react16.useState)(false);
|
31527
|
+
const [isLoading, setIsLoading] = (0, import_react16.useState)(true);
|
31528
|
+
const keys = (0, import_react16.useMemo)(() => {
|
33905
31529
|
const validKeys = /* @__PURE__ */ new Set();
|
33906
31530
|
for (const item of data) {
|
33907
31531
|
for (const key of Object.keys(item)) {
|
@@ -33912,8 +31536,8 @@ var ExternalInput = ({
|
|
33912
31536
|
}
|
33913
31537
|
return Array.from(validKeys);
|
33914
31538
|
}, [data]);
|
33915
|
-
const [searchQuery, setSearchQuery] = (0,
|
33916
|
-
const search = (0,
|
31539
|
+
const [searchQuery, setSearchQuery] = (0, import_react16.useState)(field.initialQuery || "");
|
31540
|
+
const search = (0, import_react16.useCallback)(
|
33917
31541
|
(query) => __async(void 0, null, function* () {
|
33918
31542
|
setIsLoading(true);
|
33919
31543
|
const cacheKey = `${id}-${name}-${query}`;
|
@@ -33926,7 +31550,7 @@ var ExternalInput = ({
|
|
33926
31550
|
}),
|
33927
31551
|
[name, field]
|
33928
31552
|
);
|
33929
|
-
(0,
|
31553
|
+
(0, import_react16.useEffect)(() => {
|
33930
31554
|
search(searchQuery);
|
33931
31555
|
}, []);
|
33932
31556
|
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
@@ -33945,7 +31569,7 @@ var ExternalInput = ({
|
|
33945
31569
|
onClick: () => setOpen(true),
|
33946
31570
|
className: getClassName13("button"),
|
33947
31571
|
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)(
|
31572
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Link, { size: "16" }),
|
33949
31573
|
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { children: field.placeholder })
|
33950
31574
|
] })
|
33951
31575
|
}
|
@@ -33957,7 +31581,7 @@ var ExternalInput = ({
|
|
33957
31581
|
onClick: () => {
|
33958
31582
|
onChange(null);
|
33959
31583
|
},
|
33960
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
31584
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Unlock, { size: 16 })
|
33961
31585
|
}
|
33962
31586
|
)
|
33963
31587
|
] }),
|
@@ -33983,7 +31607,7 @@ var ExternalInput = ({
|
|
33983
31607
|
children: [
|
33984
31608
|
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("label", { className: getClassNameModal("search"), children: [
|
33985
31609
|
/* @__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)(
|
31610
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: getClassNameModal("searchIcon"), children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Search, { size: "18" }) }),
|
33987
31611
|
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
33988
31612
|
"input",
|
33989
31613
|
{
|
@@ -34055,7 +31679,7 @@ var ExternalField = ({
|
|
34055
31679
|
var _a, _b, _c;
|
34056
31680
|
const validField = field;
|
34057
31681
|
const deprecatedField = field;
|
34058
|
-
(0,
|
31682
|
+
(0, import_react17.useEffect)(() => {
|
34059
31683
|
if (deprecatedField.adaptor) {
|
34060
31684
|
console.error(
|
34061
31685
|
"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 +31693,7 @@ var ExternalField = ({
|
|
34069
31693
|
FieldLabelInternal,
|
34070
31694
|
{
|
34071
31695
|
label: label || name,
|
34072
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
31696
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Link, { size: 16 }),
|
34073
31697
|
el: "div",
|
34074
31698
|
children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
34075
31699
|
ExternalInput,
|
@@ -34113,7 +31737,7 @@ var RadioField = ({
|
|
34113
31737
|
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
34114
31738
|
FieldLabelInternal,
|
34115
31739
|
{
|
34116
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
31740
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(CheckCircle, { size: 16 }),
|
34117
31741
|
label: label || name,
|
34118
31742
|
readOnly,
|
34119
31743
|
el: "div",
|
@@ -34169,7 +31793,7 @@ var SelectField = ({
|
|
34169
31793
|
FieldLabelInternal,
|
34170
31794
|
{
|
34171
31795
|
label: label || name,
|
34172
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
31796
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(ChevronDown, { size: 16 }),
|
34173
31797
|
readOnly,
|
34174
31798
|
children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
34175
31799
|
"select",
|
@@ -34215,7 +31839,7 @@ var TextareaField = ({
|
|
34215
31839
|
FieldLabelInternal,
|
34216
31840
|
{
|
34217
31841
|
label: label || name,
|
34218
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
31842
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Type, { size: 16 }),
|
34219
31843
|
readOnly,
|
34220
31844
|
children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
34221
31845
|
"textarea",
|
@@ -34266,7 +31890,7 @@ var ObjectField = ({
|
|
34266
31890
|
FieldLabelInternal,
|
34267
31891
|
{
|
34268
31892
|
label: label || name,
|
34269
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
31893
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(MoreVertical, { size: 16 }),
|
34270
31894
|
el: "div",
|
34271
31895
|
readOnly,
|
34272
31896
|
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 +31939,7 @@ var FieldLabel = ({
|
|
34315
31939
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: getClassName18("label"), children: [
|
34316
31940
|
icon ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: getClassName18("labelIcon"), children: icon }) : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_jsx_runtime21.Fragment, {}),
|
34317
31941
|
label,
|
34318
|
-
readOnly && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: getClassName18("disabledIcon"), title: "Read-only", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
31942
|
+
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
31943
|
] }),
|
34320
31944
|
children
|
34321
31945
|
] });
|
@@ -34328,7 +31952,7 @@ var FieldLabelInternal = ({
|
|
34328
31952
|
readOnly
|
34329
31953
|
}) => {
|
34330
31954
|
const { overrides } = useAppContext();
|
34331
|
-
const Wrapper = (0,
|
31955
|
+
const Wrapper = (0, import_react18.useMemo)(
|
34332
31956
|
() => overrides.fieldLabel || FieldLabel,
|
34333
31957
|
[overrides]
|
34334
31958
|
);
|
@@ -34349,7 +31973,7 @@ var InputOrGroup = (_a) => {
|
|
34349
31973
|
var _a2, _b2, _c, _d, _e, _f, _g, _h;
|
34350
31974
|
const { overrides } = useAppContext();
|
34351
31975
|
const { name, field, value, readOnly } = props;
|
34352
|
-
const [localValue, setLocalValue] = (0,
|
31976
|
+
const [localValue, setLocalValue] = (0, import_react18.useState)(value);
|
34353
31977
|
const onChangeDb = (0, import_use_debounce2.useDebouncedCallback)(
|
34354
31978
|
(val, ui) => {
|
34355
31979
|
onChange(val, ui);
|
@@ -34357,11 +31981,11 @@ var InputOrGroup = (_a) => {
|
|
34357
31981
|
50,
|
34358
31982
|
{ leading: true }
|
34359
31983
|
);
|
34360
|
-
const onChangeLocal = (0,
|
31984
|
+
const onChangeLocal = (0, import_react18.useCallback)((val, ui) => {
|
34361
31985
|
setLocalValue(val);
|
34362
31986
|
onChangeDb(val, ui);
|
34363
31987
|
}, []);
|
34364
|
-
(0,
|
31988
|
+
(0, import_react18.useEffect)(() => {
|
34365
31989
|
setLocalValue(value);
|
34366
31990
|
}, [value]);
|
34367
31991
|
const localProps = {
|
@@ -34409,7 +32033,7 @@ init_react_import();
|
|
34409
32033
|
var styles_module_default14 = { "PuckFields": "_PuckFields_1276r_1", "PuckFields-loadingOverlay": "_PuckFields-loadingOverlay_1276r_5" };
|
34410
32034
|
|
34411
32035
|
// components/Puck/components/Fields/index.tsx
|
34412
|
-
var
|
32036
|
+
var import_react19 = require("react");
|
34413
32037
|
var import_jsx_runtime22 = require("react/jsx-runtime");
|
34414
32038
|
var getClassName19 = get_class_name_factory_default("PuckFields", styles_module_default14);
|
34415
32039
|
var defaultPageFields = {
|
@@ -34441,7 +32065,7 @@ var Fields = () => {
|
|
34441
32065
|
const fields = selectedItem ? ((_b = config.components[selectedItem.type]) == null ? void 0 : _b.fields) || {} : rootFields;
|
34442
32066
|
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
32067
|
const rootProps = data.root.props || data.root;
|
34444
|
-
const Wrapper = (0,
|
32068
|
+
const Wrapper = (0, import_react19.useMemo)(() => overrides.fields || DefaultFields, [overrides]);
|
34445
32069
|
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
34446
32070
|
"form",
|
34447
32071
|
{
|
@@ -34556,7 +32180,7 @@ init_react_import();
|
|
34556
32180
|
|
34557
32181
|
// lib/use-component-list.tsx
|
34558
32182
|
init_react_import();
|
34559
|
-
var
|
32183
|
+
var import_react20 = require("react");
|
34560
32184
|
|
34561
32185
|
// components/ComponentList/index.tsx
|
34562
32186
|
init_react_import();
|
@@ -34597,7 +32221,7 @@ var ComponentList = ({
|
|
34597
32221
|
title: expanded ? `Collapse${title ? ` ${title}` : ""}` : `Expand${title ? ` ${title}` : ""}`,
|
34598
32222
|
children: [
|
34599
32223
|
/* @__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)(
|
32224
|
+
/* @__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
32225
|
]
|
34602
32226
|
}
|
34603
32227
|
),
|
@@ -34618,8 +32242,8 @@ ComponentList.Item = ComponentListItem;
|
|
34618
32242
|
// lib/use-component-list.tsx
|
34619
32243
|
var import_jsx_runtime24 = require("react/jsx-runtime");
|
34620
32244
|
var useComponentList = (config, ui) => {
|
34621
|
-
const [componentList, setComponentList] = (0,
|
34622
|
-
(0,
|
32245
|
+
const [componentList, setComponentList] = (0, import_react20.useState)();
|
32246
|
+
(0, import_react20.useEffect)(() => {
|
34623
32247
|
var _a, _b, _c;
|
34624
32248
|
if (Object.keys(ui.componentList).length > 0) {
|
34625
32249
|
const matchedComponents = [];
|
@@ -34682,22 +32306,22 @@ var useComponentList = (config, ui) => {
|
|
34682
32306
|
};
|
34683
32307
|
|
34684
32308
|
// components/Puck/components/Components/index.tsx
|
34685
|
-
var
|
32309
|
+
var import_react21 = require("react");
|
34686
32310
|
var import_jsx_runtime25 = require("react/jsx-runtime");
|
34687
32311
|
var Components = () => {
|
34688
32312
|
const { config, state, overrides } = useAppContext();
|
34689
32313
|
const componentList = useComponentList(config, state.ui);
|
34690
|
-
const Wrapper = (0,
|
32314
|
+
const Wrapper = (0, import_react21.useMemo)(() => overrides.components || "div", [overrides]);
|
34691
32315
|
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Wrapper, { children: componentList ? componentList : /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(ComponentList, { id: "all" }) });
|
34692
32316
|
};
|
34693
32317
|
|
34694
32318
|
// components/Puck/components/Preview/index.tsx
|
34695
32319
|
init_react_import();
|
34696
|
-
var
|
32320
|
+
var import_react22 = require("react");
|
34697
32321
|
var import_jsx_runtime26 = require("react/jsx-runtime");
|
34698
32322
|
var Preview = ({ id = "puck-preview" }) => {
|
34699
32323
|
const { config, dispatch, state } = useAppContext();
|
34700
|
-
const Page = (0,
|
32324
|
+
const Page = (0, import_react22.useCallback)(
|
34701
32325
|
(pageProps) => {
|
34702
32326
|
var _a, _b;
|
34703
32327
|
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 +32329,7 @@ var Preview = ({ id = "puck-preview" }) => {
|
|
34705
32329
|
[config.root]
|
34706
32330
|
);
|
34707
32331
|
const rootProps = state.data.root.props || state.data.root;
|
34708
|
-
const { disableZoom = false } = (0,
|
32332
|
+
const { disableZoom = false } = (0, import_react22.useContext)(dropZoneContext) || {};
|
34709
32333
|
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
34710
32334
|
"div",
|
34711
32335
|
{
|
@@ -34762,7 +32386,7 @@ var scrollIntoView = (el) => {
|
|
34762
32386
|
};
|
34763
32387
|
|
34764
32388
|
// components/LayerTree/index.tsx
|
34765
|
-
var
|
32389
|
+
var import_react23 = require("react");
|
34766
32390
|
|
34767
32391
|
// lib/is-child-of-zone.ts
|
34768
32392
|
init_react_import();
|
@@ -34788,10 +32412,10 @@ var LayerTree = ({
|
|
34788
32412
|
label
|
34789
32413
|
}) => {
|
34790
32414
|
const zones = data.zones || {};
|
34791
|
-
const ctx = (0,
|
32415
|
+
const ctx = (0, import_react23.useContext)(dropZoneContext);
|
34792
32416
|
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_jsx_runtime27.Fragment, { children: [
|
34793
32417
|
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)(
|
32418
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: getClassName21("zoneIcon"), children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Layers, { size: "16" }) }),
|
34795
32419
|
" ",
|
34796
32420
|
label
|
34797
32421
|
] }),
|
@@ -34857,11 +32481,11 @@ var LayerTree = ({
|
|
34857
32481
|
{
|
34858
32482
|
className: getClassNameLayer("chevron"),
|
34859
32483
|
title: isSelected ? "Collapse" : "Expand",
|
34860
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
32484
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ChevronDown, { size: "12" })
|
34861
32485
|
}
|
34862
32486
|
),
|
34863
32487
|
/* @__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)(
|
32488
|
+
/* @__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
32489
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: getClassNameLayer("name"), children: item.type })
|
34866
32490
|
] })
|
34867
32491
|
]
|
@@ -34888,13 +32512,13 @@ var LayerTree = ({
|
|
34888
32512
|
};
|
34889
32513
|
|
34890
32514
|
// components/Puck/components/Outline/index.tsx
|
34891
|
-
var
|
32515
|
+
var import_react24 = require("react");
|
34892
32516
|
var import_jsx_runtime28 = require("react/jsx-runtime");
|
34893
32517
|
var Outline = () => {
|
34894
32518
|
const { dispatch, state, overrides } = useAppContext();
|
34895
32519
|
const { data, ui } = state;
|
34896
32520
|
const { itemSelector } = ui;
|
34897
|
-
const setItemSelector = (0,
|
32521
|
+
const setItemSelector = (0, import_react24.useCallback)(
|
34898
32522
|
(newItemSelector) => {
|
34899
32523
|
dispatch({
|
34900
32524
|
type: "setUi",
|
@@ -34903,7 +32527,7 @@ var Outline = () => {
|
|
34903
32527
|
},
|
34904
32528
|
[]
|
34905
32529
|
);
|
34906
|
-
const Wrapper = (0,
|
32530
|
+
const Wrapper = (0, import_react24.useMemo)(() => overrides.outline || "div", [overrides]);
|
34907
32531
|
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
32532
|
(ctx == null ? void 0 : ctx.activeZones) && (ctx == null ? void 0 : ctx.activeZones[rootDroppableId]) && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
34909
32533
|
LayerTree,
|
@@ -35001,12 +32625,12 @@ function usePuckHistory({
|
|
35001
32625
|
|
35002
32626
|
// lib/use-history-store.ts
|
35003
32627
|
init_react_import();
|
35004
|
-
var
|
32628
|
+
var import_react25 = require("react");
|
35005
32629
|
var import_use_debounce3 = require("use-debounce");
|
35006
32630
|
var EMPTY_HISTORY_INDEX = -1;
|
35007
32631
|
function useHistoryStore() {
|
35008
|
-
const [histories, setHistories] = (0,
|
35009
|
-
const [index, setIndex] = (0,
|
32632
|
+
const [histories, setHistories] = (0, import_react25.useState)([]);
|
32633
|
+
const [index, setIndex] = (0, import_react25.useState)(EMPTY_HISTORY_INDEX);
|
35010
32634
|
const hasPast = index > EMPTY_HISTORY_INDEX;
|
35011
32635
|
const hasFuture = index < histories.length - 1;
|
35012
32636
|
const currentHistory = histories[index];
|
@@ -35061,10 +32685,10 @@ function Puck({
|
|
35061
32685
|
headerPath
|
35062
32686
|
}) {
|
35063
32687
|
const historyStore = useHistoryStore();
|
35064
|
-
const [reducer] = (0,
|
32688
|
+
const [reducer] = (0, import_react26.useState)(
|
35065
32689
|
() => createReducer({ config, record: historyStore.record })
|
35066
32690
|
);
|
35067
|
-
const [initialAppState] = (0,
|
32691
|
+
const [initialAppState] = (0, import_react26.useState)(() => __spreadProps(__spreadValues({}, defaultAppState), {
|
35068
32692
|
data: initialData,
|
35069
32693
|
ui: __spreadProps(__spreadValues(__spreadValues({}, defaultAppState.ui), initialUi), {
|
35070
32694
|
// Store categories under componentList on state to allow render functions and plugins to modify
|
@@ -35083,7 +32707,7 @@ function Puck({
|
|
35083
32707
|
) : {}
|
35084
32708
|
})
|
35085
32709
|
}));
|
35086
|
-
const [appState, dispatch] = (0,
|
32710
|
+
const [appState, dispatch] = (0, import_react26.useReducer)(
|
35087
32711
|
reducer,
|
35088
32712
|
flushZones(initialAppState)
|
35089
32713
|
);
|
@@ -35094,9 +32718,9 @@ function Puck({
|
|
35094
32718
|
config,
|
35095
32719
|
dispatch
|
35096
32720
|
);
|
35097
|
-
const [menuOpen, setMenuOpen] = (0,
|
32721
|
+
const [menuOpen, setMenuOpen] = (0, import_react26.useState)(false);
|
35098
32722
|
const { itemSelector, leftSideBarVisible, rightSideBarVisible } = ui;
|
35099
|
-
const setItemSelector = (0,
|
32723
|
+
const setItemSelector = (0, import_react26.useCallback)(
|
35100
32724
|
(newItemSelector) => {
|
35101
32725
|
if (newItemSelector === itemSelector)
|
35102
32726
|
return;
|
@@ -35109,21 +32733,21 @@ function Puck({
|
|
35109
32733
|
[itemSelector]
|
35110
32734
|
);
|
35111
32735
|
const selectedItem = itemSelector ? getItem(itemSelector, data) : null;
|
35112
|
-
(0,
|
32736
|
+
(0, import_react26.useEffect)(() => {
|
35113
32737
|
if (onChange)
|
35114
32738
|
onChange(data);
|
35115
32739
|
}, [data]);
|
35116
32740
|
const { onDragStartOrUpdate, placeholderStyle } = usePlaceholderStyle();
|
35117
|
-
const [draggedItem, setDraggedItem] = (0,
|
32741
|
+
const [draggedItem, setDraggedItem] = (0, import_react26.useState)();
|
35118
32742
|
const rootProps = data.root.props || data.root;
|
35119
|
-
(0,
|
32743
|
+
(0, import_react26.useEffect)(() => {
|
35120
32744
|
if (Object.keys(data.root).length > 0 && !data.root.props) {
|
35121
32745
|
console.error(
|
35122
32746
|
"Warning: Defining props on `root` is deprecated. Please use `root.props`. This will be a breaking change in a future release."
|
35123
32747
|
);
|
35124
32748
|
}
|
35125
32749
|
}, []);
|
35126
|
-
const toggleSidebars = (0,
|
32750
|
+
const toggleSidebars = (0, import_react26.useCallback)(
|
35127
32751
|
(sidebar) => {
|
35128
32752
|
const widerViewport = window.matchMedia("(min-width: 638px)").matches;
|
35129
32753
|
const sideBarVisible = sidebar === "left" ? leftSideBarVisible : rightSideBarVisible;
|
@@ -35137,7 +32761,7 @@ function Puck({
|
|
35137
32761
|
},
|
35138
32762
|
[dispatch, leftSideBarVisible, rightSideBarVisible]
|
35139
32763
|
);
|
35140
|
-
(0,
|
32764
|
+
(0, import_react26.useEffect)(() => {
|
35141
32765
|
if (!window.matchMedia("(min-width: 638px)").matches) {
|
35142
32766
|
dispatch({
|
35143
32767
|
type: "setUi",
|
@@ -35160,11 +32784,11 @@ function Puck({
|
|
35160
32784
|
window.removeEventListener("resize", handleResize);
|
35161
32785
|
};
|
35162
32786
|
}, []);
|
35163
|
-
const defaultRender = (0,
|
32787
|
+
const defaultRender = (0, import_react26.useMemo)(() => {
|
35164
32788
|
const PuckDefault = ({ children: children2 }) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_jsx_runtime29.Fragment, { children: children2 });
|
35165
32789
|
return PuckDefault;
|
35166
32790
|
}, []);
|
35167
|
-
const defaultHeaderRender = (0,
|
32791
|
+
const defaultHeaderRender = (0, import_react26.useMemo)(() => {
|
35168
32792
|
if (renderHeader) {
|
35169
32793
|
console.warn(
|
35170
32794
|
"`renderHeader` is deprecated. Please use `overrides.header` and the `usePuck` hook instead"
|
@@ -35178,7 +32802,7 @@ function Puck({
|
|
35178
32802
|
}
|
35179
32803
|
return defaultRender;
|
35180
32804
|
}, [renderHeader]);
|
35181
|
-
const defaultHeaderActionsRender = (0,
|
32805
|
+
const defaultHeaderActionsRender = (0, import_react26.useMemo)(() => {
|
35182
32806
|
if (renderHeaderActions) {
|
35183
32807
|
console.warn(
|
35184
32808
|
"`renderHeaderActions` is deprecated. Please use `overrides.headerActions` and the `usePuck` hook instead."
|
@@ -35191,27 +32815,27 @@ function Puck({
|
|
35191
32815
|
}
|
35192
32816
|
return defaultRender;
|
35193
32817
|
}, [renderHeader]);
|
35194
|
-
const loadedOverrides = (0,
|
32818
|
+
const loadedOverrides = (0, import_react26.useMemo)(() => {
|
35195
32819
|
return loadOverrides({ overrides, plugins });
|
35196
32820
|
}, [plugins]);
|
35197
|
-
const CustomPuck = (0,
|
32821
|
+
const CustomPuck = (0, import_react26.useMemo)(
|
35198
32822
|
() => loadedOverrides.puck || defaultRender,
|
35199
32823
|
[loadedOverrides]
|
35200
32824
|
);
|
35201
|
-
const CustomPreview = (0,
|
32825
|
+
const CustomPreview = (0, import_react26.useMemo)(
|
35202
32826
|
() => loadedOverrides.preview || defaultRender,
|
35203
32827
|
[loadedOverrides]
|
35204
32828
|
);
|
35205
|
-
const CustomHeader = (0,
|
32829
|
+
const CustomHeader = (0, import_react26.useMemo)(
|
35206
32830
|
() => loadedOverrides.header || defaultHeaderRender,
|
35207
32831
|
[loadedOverrides]
|
35208
32832
|
);
|
35209
|
-
const CustomHeaderActions = (0,
|
32833
|
+
const CustomHeaderActions = (0, import_react26.useMemo)(
|
35210
32834
|
() => loadedOverrides.headerActions || defaultHeaderActionsRender,
|
35211
32835
|
[loadedOverrides]
|
35212
32836
|
);
|
35213
32837
|
const disableZoom = children || loadedOverrides.puck ? true : false;
|
35214
|
-
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { children: [
|
32838
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "Puck", children: [
|
35215
32839
|
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
35216
32840
|
AppProvider,
|
35217
32841
|
{
|
@@ -35316,7 +32940,7 @@ function Puck({
|
|
35316
32940
|
onClick: () => {
|
35317
32941
|
onPublish && onPublish(data);
|
35318
32942
|
},
|
35319
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
32943
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Globe, { size: "14px" }),
|
35320
32944
|
children: "Publish"
|
35321
32945
|
}
|
35322
32946
|
)
|
@@ -35330,7 +32954,7 @@ function Puck({
|
|
35330
32954
|
toggleSidebars("left");
|
35331
32955
|
},
|
35332
32956
|
title: "Toggle left sidebar",
|
35333
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
32957
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(PanelLeft, { focusable: "false" })
|
35334
32958
|
}
|
35335
32959
|
) }),
|
35336
32960
|
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: getClassName22("rightSideBarToggle"), children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
@@ -35340,7 +32964,7 @@ function Puck({
|
|
35340
32964
|
toggleSidebars("right");
|
35341
32965
|
},
|
35342
32966
|
title: "Toggle right sidebar",
|
35343
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
32967
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(PanelRight, { focusable: "false" })
|
35344
32968
|
}
|
35345
32969
|
) })
|
35346
32970
|
] }),
|
@@ -35359,7 +32983,7 @@ function Puck({
|
|
35359
32983
|
return setMenuOpen(!menuOpen);
|
35360
32984
|
},
|
35361
32985
|
title: "Toggle menu bar",
|
35362
|
-
children: menuOpen ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
32986
|
+
children: menuOpen ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ChevronUp, { focusable: "false" }) : /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ChevronDown, { focusable: "false" })
|
35363
32987
|
}
|
35364
32988
|
) }),
|
35365
32989
|
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
@@ -35432,10 +33056,7 @@ Puck.Preview = Preview;
|
|
35432
33056
|
// components/Render/index.tsx
|
35433
33057
|
init_react_import();
|
35434
33058
|
var import_jsx_runtime30 = require("react/jsx-runtime");
|
35435
|
-
function Render({
|
35436
|
-
config,
|
35437
|
-
data
|
35438
|
-
}) {
|
33059
|
+
function Render({ config, data }) {
|
35439
33060
|
var _a;
|
35440
33061
|
const rootProps = data.root.props || data.root;
|
35441
33062
|
const title = (rootProps == null ? void 0 : rootProps.title) || "";
|
@@ -35571,33 +33192,6 @@ classnames/index.js:
|
|
35571
33192
|
http://jedwatson.github.io/classnames
|
35572
33193
|
*)
|
35573
33194
|
|
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
33195
|
scheduler/cjs/scheduler.production.min.js:
|
35602
33196
|
(**
|
35603
33197
|
* @license React
|
@@ -35654,4 +33248,196 @@ react-dom/cjs/react-dom.development.js:
|
|
35654
33248
|
* @internal
|
35655
33249
|
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
35656
33250
|
*)
|
33251
|
+
|
33252
|
+
lucide-react/dist/esm/defaultAttributes.js:
|
33253
|
+
(**
|
33254
|
+
* @license lucide-react v0.298.0 - ISC
|
33255
|
+
*
|
33256
|
+
* This source code is licensed under the ISC license.
|
33257
|
+
* See the LICENSE file in the root directory of this source tree.
|
33258
|
+
*)
|
33259
|
+
|
33260
|
+
lucide-react/dist/esm/createLucideIcon.js:
|
33261
|
+
(**
|
33262
|
+
* @license lucide-react v0.298.0 - ISC
|
33263
|
+
*
|
33264
|
+
* This source code is licensed under the ISC license.
|
33265
|
+
* See the LICENSE file in the root directory of this source tree.
|
33266
|
+
*)
|
33267
|
+
|
33268
|
+
lucide-react/dist/esm/icons/check-circle.js:
|
33269
|
+
(**
|
33270
|
+
* @license lucide-react v0.298.0 - ISC
|
33271
|
+
*
|
33272
|
+
* This source code is licensed under the ISC license.
|
33273
|
+
* See the LICENSE file in the root directory of this source tree.
|
33274
|
+
*)
|
33275
|
+
|
33276
|
+
lucide-react/dist/esm/icons/chevron-down.js:
|
33277
|
+
(**
|
33278
|
+
* @license lucide-react v0.298.0 - ISC
|
33279
|
+
*
|
33280
|
+
* This source code is licensed under the ISC license.
|
33281
|
+
* See the LICENSE file in the root directory of this source tree.
|
33282
|
+
*)
|
33283
|
+
|
33284
|
+
lucide-react/dist/esm/icons/chevron-left.js:
|
33285
|
+
(**
|
33286
|
+
* @license lucide-react v0.298.0 - ISC
|
33287
|
+
*
|
33288
|
+
* This source code is licensed under the ISC license.
|
33289
|
+
* See the LICENSE file in the root directory of this source tree.
|
33290
|
+
*)
|
33291
|
+
|
33292
|
+
lucide-react/dist/esm/icons/chevron-right.js:
|
33293
|
+
(**
|
33294
|
+
* @license lucide-react v0.298.0 - ISC
|
33295
|
+
*
|
33296
|
+
* This source code is licensed under the ISC license.
|
33297
|
+
* See the LICENSE file in the root directory of this source tree.
|
33298
|
+
*)
|
33299
|
+
|
33300
|
+
lucide-react/dist/esm/icons/chevron-up.js:
|
33301
|
+
(**
|
33302
|
+
* @license lucide-react v0.298.0 - ISC
|
33303
|
+
*
|
33304
|
+
* This source code is licensed under the ISC license.
|
33305
|
+
* See the LICENSE file in the root directory of this source tree.
|
33306
|
+
*)
|
33307
|
+
|
33308
|
+
lucide-react/dist/esm/icons/copy.js:
|
33309
|
+
(**
|
33310
|
+
* @license lucide-react v0.298.0 - ISC
|
33311
|
+
*
|
33312
|
+
* This source code is licensed under the ISC license.
|
33313
|
+
* See the LICENSE file in the root directory of this source tree.
|
33314
|
+
*)
|
33315
|
+
|
33316
|
+
lucide-react/dist/esm/icons/globe.js:
|
33317
|
+
(**
|
33318
|
+
* @license lucide-react v0.298.0 - ISC
|
33319
|
+
*
|
33320
|
+
* This source code is licensed under the ISC license.
|
33321
|
+
* See the LICENSE file in the root directory of this source tree.
|
33322
|
+
*)
|
33323
|
+
|
33324
|
+
lucide-react/dist/esm/icons/hash.js:
|
33325
|
+
(**
|
33326
|
+
* @license lucide-react v0.298.0 - ISC
|
33327
|
+
*
|
33328
|
+
* This source code is licensed under the ISC license.
|
33329
|
+
* See the LICENSE file in the root directory of this source tree.
|
33330
|
+
*)
|
33331
|
+
|
33332
|
+
lucide-react/dist/esm/icons/layers.js:
|
33333
|
+
(**
|
33334
|
+
* @license lucide-react v0.298.0 - ISC
|
33335
|
+
*
|
33336
|
+
* This source code is licensed under the ISC license.
|
33337
|
+
* See the LICENSE file in the root directory of this source tree.
|
33338
|
+
*)
|
33339
|
+
|
33340
|
+
lucide-react/dist/esm/icons/layout-grid.js:
|
33341
|
+
(**
|
33342
|
+
* @license lucide-react v0.298.0 - ISC
|
33343
|
+
*
|
33344
|
+
* This source code is licensed under the ISC license.
|
33345
|
+
* See the LICENSE file in the root directory of this source tree.
|
33346
|
+
*)
|
33347
|
+
|
33348
|
+
lucide-react/dist/esm/icons/link.js:
|
33349
|
+
(**
|
33350
|
+
* @license lucide-react v0.298.0 - ISC
|
33351
|
+
*
|
33352
|
+
* This source code is licensed under the ISC license.
|
33353
|
+
* See the LICENSE file in the root directory of this source tree.
|
33354
|
+
*)
|
33355
|
+
|
33356
|
+
lucide-react/dist/esm/icons/list.js:
|
33357
|
+
(**
|
33358
|
+
* @license lucide-react v0.298.0 - ISC
|
33359
|
+
*
|
33360
|
+
* This source code is licensed under the ISC license.
|
33361
|
+
* See the LICENSE file in the root directory of this source tree.
|
33362
|
+
*)
|
33363
|
+
|
33364
|
+
lucide-react/dist/esm/icons/lock.js:
|
33365
|
+
(**
|
33366
|
+
* @license lucide-react v0.298.0 - ISC
|
33367
|
+
*
|
33368
|
+
* This source code is licensed under the ISC license.
|
33369
|
+
* See the LICENSE file in the root directory of this source tree.
|
33370
|
+
*)
|
33371
|
+
|
33372
|
+
lucide-react/dist/esm/icons/more-vertical.js:
|
33373
|
+
(**
|
33374
|
+
* @license lucide-react v0.298.0 - ISC
|
33375
|
+
*
|
33376
|
+
* This source code is licensed under the ISC license.
|
33377
|
+
* See the LICENSE file in the root directory of this source tree.
|
33378
|
+
*)
|
33379
|
+
|
33380
|
+
lucide-react/dist/esm/icons/panel-left.js:
|
33381
|
+
(**
|
33382
|
+
* @license lucide-react v0.298.0 - ISC
|
33383
|
+
*
|
33384
|
+
* This source code is licensed under the ISC license.
|
33385
|
+
* See the LICENSE file in the root directory of this source tree.
|
33386
|
+
*)
|
33387
|
+
|
33388
|
+
lucide-react/dist/esm/icons/panel-right.js:
|
33389
|
+
(**
|
33390
|
+
* @license lucide-react v0.298.0 - ISC
|
33391
|
+
*
|
33392
|
+
* This source code is licensed under the ISC license.
|
33393
|
+
* See the LICENSE file in the root directory of this source tree.
|
33394
|
+
*)
|
33395
|
+
|
33396
|
+
lucide-react/dist/esm/icons/plus.js:
|
33397
|
+
(**
|
33398
|
+
* @license lucide-react v0.298.0 - ISC
|
33399
|
+
*
|
33400
|
+
* This source code is licensed under the ISC license.
|
33401
|
+
* See the LICENSE file in the root directory of this source tree.
|
33402
|
+
*)
|
33403
|
+
|
33404
|
+
lucide-react/dist/esm/icons/search.js:
|
33405
|
+
(**
|
33406
|
+
* @license lucide-react v0.298.0 - ISC
|
33407
|
+
*
|
33408
|
+
* This source code is licensed under the ISC license.
|
33409
|
+
* See the LICENSE file in the root directory of this source tree.
|
33410
|
+
*)
|
33411
|
+
|
33412
|
+
lucide-react/dist/esm/icons/trash.js:
|
33413
|
+
(**
|
33414
|
+
* @license lucide-react v0.298.0 - ISC
|
33415
|
+
*
|
33416
|
+
* This source code is licensed under the ISC license.
|
33417
|
+
* See the LICENSE file in the root directory of this source tree.
|
33418
|
+
*)
|
33419
|
+
|
33420
|
+
lucide-react/dist/esm/icons/type.js:
|
33421
|
+
(**
|
33422
|
+
* @license lucide-react v0.298.0 - ISC
|
33423
|
+
*
|
33424
|
+
* This source code is licensed under the ISC license.
|
33425
|
+
* See the LICENSE file in the root directory of this source tree.
|
33426
|
+
*)
|
33427
|
+
|
33428
|
+
lucide-react/dist/esm/icons/unlock.js:
|
33429
|
+
(**
|
33430
|
+
* @license lucide-react v0.298.0 - ISC
|
33431
|
+
*
|
33432
|
+
* This source code is licensed under the ISC license.
|
33433
|
+
* See the LICENSE file in the root directory of this source tree.
|
33434
|
+
*)
|
33435
|
+
|
33436
|
+
lucide-react/dist/esm/lucide-react.js:
|
33437
|
+
(**
|
33438
|
+
* @license lucide-react v0.298.0 - ISC
|
33439
|
+
*
|
33440
|
+
* This source code is licensed under the ISC license.
|
33441
|
+
* See the LICENSE file in the root directory of this source tree.
|
33442
|
+
*)
|
35657
33443
|
*/
|