@crediblemark/build 0.25.6 → 0.25.8

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.
Files changed (59) hide show
  1. package/dist/ArrayField-HYHS4HCO.mjs +17 -0
  2. package/dist/{ArrayField-PAJW74AC.css → ArrayField-MCFJLKAL.css} +15 -15
  3. package/dist/{Editor-Y342RWPN.css → Editor-CVT4RKSU.css} +7 -7
  4. package/dist/{Editor-OFA3KX3N.mjs → Editor-P3UUWNSZ.mjs} +9 -11
  5. package/dist/ObjectField-4N5XWAFL.mjs +17 -0
  6. package/dist/{ObjectField-WACQHQ4N.css → ObjectField-YPHZU7G2.css} +15 -15
  7. package/dist/{Render-HVM2KISU.css → Render-DOE2LXKX.css} +1 -1
  8. package/dist/{Render-5WYR4VZX.mjs → Render-I6PZ5MEA.mjs} +1 -1
  9. package/dist/{actions-LaZpJ1KE.d.mts → actions-CKSDxt4l.d.mts} +1 -1
  10. package/dist/{actions-LaZpJ1KE.d.ts → actions-CKSDxt4l.d.ts} +1 -1
  11. package/dist/{chunk-QHJGER7I.mjs → chunk-44PQTFGV.mjs} +7 -9
  12. package/dist/{chunk-STIUFJT2.mjs → chunk-AZFZRLP7.mjs} +12 -12
  13. package/dist/{chunk-JX7LICWE.mjs → chunk-E4F5M5JH.mjs} +2 -2
  14. package/dist/chunk-HHKM5MBJ.mjs +3163 -0
  15. package/dist/{chunk-H6RPI3T6.mjs → chunk-ISXFLTBM.mjs} +1 -1
  16. package/dist/{chunk-MZXW5F5R.mjs → chunk-KN26YZZJ.mjs} +286 -131
  17. package/dist/chunk-MWCFPGI6.mjs +4807 -0
  18. package/dist/{chunk-64A37UUC.mjs → chunk-O44M27KT.mjs} +442 -7
  19. package/dist/{chunk-XAD7XPP2.mjs → chunk-P2AZFZ7Q.mjs} +3 -3
  20. package/dist/{chunk-SLKHXT3Q.mjs → chunk-PFHKXXSV.mjs} +1 -1
  21. package/dist/{chunk-RUJOMPX6.mjs → chunk-S32JZ2HU.mjs} +1 -1
  22. package/dist/{chunk-KAOWYQIB.mjs → chunk-T2LBDQLG.mjs} +12 -12
  23. package/dist/{chunk-4NZUDTR6.mjs → chunk-XLRMLBFR.mjs} +1 -1
  24. package/dist/{chunk-WSTUSWZT.mjs → chunk-Z7DDX2XU.mjs} +2 -2
  25. package/dist/{full-ECZCK3RE.mjs → full-3VRJOFG5.mjs} +6 -8
  26. package/dist/{full-PLJRDIMB.css → full-C7RVGAUA.css} +6 -6
  27. package/dist/{index-CD3PszvP.d.mts → index-Ds4Dkkyr.d.mts} +1 -1
  28. package/dist/{index-Bj2x5pZ7.d.ts → index-DwajIHZf.d.ts} +1 -1
  29. package/dist/index.css +231 -43
  30. package/dist/index.d.mts +8 -40
  31. package/dist/index.d.ts +8 -40
  32. package/dist/index.js +1306 -649
  33. package/dist/index.mjs +26 -26
  34. package/dist/internal.d.mts +2 -2
  35. package/dist/internal.d.ts +2 -2
  36. package/dist/internal.mjs +1 -2
  37. package/dist/{loaded-FY2TCG5Y.css → loaded-4FAPBCAU.css} +1 -1
  38. package/dist/{loaded-NRHNHJPM.mjs → loaded-C2JGMUXV.mjs} +3 -5
  39. package/dist/{loaded-5D7VRSXM.mjs → loaded-FJHWTGH6.mjs} +3 -5
  40. package/dist/{loaded-3MKTRGL5.mjs → loaded-NTEK7RT3.mjs} +3 -5
  41. package/dist/no-external.css +225 -39
  42. package/dist/no-external.d.mts +4 -4
  43. package/dist/no-external.d.ts +4 -4
  44. package/dist/no-external.js +1306 -649
  45. package/dist/no-external.mjs +26 -26
  46. package/dist/rsc.css +1421 -1
  47. package/dist/rsc.d.mts +2 -2
  48. package/dist/rsc.d.ts +2 -2
  49. package/dist/rsc.js +10328 -1011
  50. package/dist/rsc.mjs +21 -4
  51. package/dist/{walk-tree-BO8uRNcW.d.mts → walk-tree-B_jHFa3L.d.mts} +39 -2
  52. package/dist/{walk-tree-BEw6kTXm.d.ts → walk-tree-DHMRjk5Z.d.ts} +39 -2
  53. package/package.json +1 -1
  54. package/dist/ArrayField-PGZLQW7G.mjs +0 -19
  55. package/dist/ObjectField-N7ES6H3B.mjs +0 -19
  56. package/dist/chunk-7LXZOPYT.mjs +0 -445
  57. package/dist/chunk-HIE6KXP6.mjs +0 -455
  58. package/dist/chunk-SMAWAXVX.mjs +0 -139
  59. package/dist/chunk-W7LED3JG.mjs +0 -6890
@@ -1,21 +1,15 @@
1
- import {
2
- createReducer,
3
- getItem,
4
- makeStatePublic
5
- } from "./chunk-64A37UUC.mjs";
6
- import {
7
- defaultAppState,
8
- defaultViewports,
9
- getChanged,
10
- resolveComponentData
11
- } from "./chunk-SMAWAXVX.mjs";
12
1
  import {
13
2
  get_class_name_factory_default
14
3
  } from "./chunk-BFHV72KK.mjs";
15
4
  import {
5
+ createReducer,
16
6
  generateId,
7
+ getItem,
8
+ makeStatePublic,
9
+ mapFields,
10
+ toComponent,
17
11
  walkAppState
18
- } from "./chunk-7LXZOPYT.mjs";
12
+ } from "./chunk-O44M27KT.mjs";
19
13
 
20
14
  // node_modules/lucide-react/dist/esm/createLucideIcon.js
21
15
  import { forwardRef as forwardRef2, createElement as createElement2 } from "react";
@@ -203,40 +197,51 @@ var __iconNode12 = [
203
197
  ];
204
198
  var ChartColumn = createLucideIcon("chart-column", __iconNode12);
205
199
 
200
+ // node_modules/lucide-react/dist/esm/icons/check.js
201
+ var __iconNode13 = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
202
+ var Check = createLucideIcon("check", __iconNode13);
203
+
206
204
  // node_modules/lucide-react/dist/esm/icons/chevron-right.js
207
- var __iconNode13 = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
208
- var ChevronRight = createLucideIcon("chevron-right", __iconNode13);
205
+ var __iconNode14 = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
206
+ var ChevronRight = createLucideIcon("chevron-right", __iconNode14);
209
207
 
210
208
  // node_modules/lucide-react/dist/esm/icons/circle-check-big.js
211
- var __iconNode14 = [
209
+ var __iconNode15 = [
212
210
  ["path", { d: "M21.801 10A10 10 0 1 1 17 3.335", key: "yps3ct" }],
213
211
  ["path", { d: "m9 11 3 3L22 4", key: "1pflzl" }]
214
212
  ];
215
- var CircleCheckBig = createLucideIcon("circle-check-big", __iconNode14);
213
+ var CircleCheckBig = createLucideIcon("circle-check-big", __iconNode15);
214
+
215
+ // node_modules/lucide-react/dist/esm/icons/circle-check.js
216
+ var __iconNode16 = [
217
+ ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
218
+ ["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
219
+ ];
220
+ var CircleCheck = createLucideIcon("circle-check", __iconNode16);
216
221
 
217
222
  // node_modules/lucide-react/dist/esm/icons/code.js
218
- var __iconNode15 = [
223
+ var __iconNode17 = [
219
224
  ["path", { d: "m16 18 6-6-6-6", key: "eg8j8" }],
220
225
  ["path", { d: "m8 6-6 6 6 6", key: "ppft3o" }]
221
226
  ];
222
- var Code = createLucideIcon("code", __iconNode15);
227
+ var Code = createLucideIcon("code", __iconNode17);
223
228
 
224
229
  // node_modules/lucide-react/dist/esm/icons/corner-left-up.js
225
- var __iconNode16 = [
230
+ var __iconNode18 = [
226
231
  ["path", { d: "M14 9 9 4 4 9", key: "1af5af" }],
227
232
  ["path", { d: "M20 20h-7a4 4 0 0 1-4-4V4", key: "1blwi3" }]
228
233
  ];
229
- var CornerLeftUp = createLucideIcon("corner-left-up", __iconNode16);
234
+ var CornerLeftUp = createLucideIcon("corner-left-up", __iconNode18);
230
235
 
231
236
  // node_modules/lucide-react/dist/esm/icons/credit-card.js
232
- var __iconNode17 = [
237
+ var __iconNode19 = [
233
238
  ["rect", { width: "20", height: "14", x: "2", y: "5", rx: "2", key: "ynyp8z" }],
234
239
  ["line", { x1: "2", x2: "22", y1: "10", y2: "10", key: "1b3vmo" }]
235
240
  ];
236
- var CreditCard = createLucideIcon("credit-card", __iconNode17);
241
+ var CreditCard = createLucideIcon("credit-card", __iconNode19);
237
242
 
238
243
  // node_modules/lucide-react/dist/esm/icons/expand.js
239
- var __iconNode18 = [
244
+ var __iconNode20 = [
240
245
  ["path", { d: "m15 15 6 6", key: "1s409w" }],
241
246
  ["path", { d: "m15 9 6-6", key: "ko1vev" }],
242
247
  ["path", { d: "M21 16v5h-5", key: "1ck2sf" }],
@@ -246,18 +251,31 @@ var __iconNode18 = [
246
251
  ["path", { d: "M3 8V3h5", key: "1ln10m" }],
247
252
  ["path", { d: "M9 9 3 3", key: "v551iv" }]
248
253
  ];
249
- var Expand = createLucideIcon("expand", __iconNode18);
254
+ var Expand = createLucideIcon("expand", __iconNode20);
250
255
 
251
256
  // node_modules/lucide-react/dist/esm/icons/external-link.js
252
- var __iconNode19 = [
257
+ var __iconNode21 = [
253
258
  ["path", { d: "M15 3h6v6", key: "1q9fwt" }],
254
259
  ["path", { d: "M10 14 21 3", key: "gplh6r" }],
255
260
  ["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
256
261
  ];
257
- var ExternalLink = createLucideIcon("external-link", __iconNode19);
262
+ var ExternalLink = createLucideIcon("external-link", __iconNode21);
263
+
264
+ // node_modules/lucide-react/dist/esm/icons/eye.js
265
+ var __iconNode22 = [
266
+ [
267
+ "path",
268
+ {
269
+ d: "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",
270
+ key: "1nclc0"
271
+ }
272
+ ],
273
+ ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
274
+ ];
275
+ var Eye = createLucideIcon("eye", __iconNode22);
258
276
 
259
277
  // node_modules/lucide-react/dist/esm/icons/file-text.js
260
- var __iconNode20 = [
278
+ var __iconNode23 = [
261
279
  [
262
280
  "path",
263
281
  {
@@ -270,10 +288,10 @@ var __iconNode20 = [
270
288
  ["path", { d: "M16 13H8", key: "t4e002" }],
271
289
  ["path", { d: "M16 17H8", key: "z1uh3a" }]
272
290
  ];
273
- var FileText = createLucideIcon("file-text", __iconNode20);
291
+ var FileText = createLucideIcon("file-text", __iconNode23);
274
292
 
275
293
  // node_modules/lucide-react/dist/esm/icons/grip-vertical.js
276
- var __iconNode21 = [
294
+ var __iconNode24 = [
277
295
  ["circle", { cx: "9", cy: "12", r: "1", key: "1vctgf" }],
278
296
  ["circle", { cx: "9", cy: "5", r: "1", key: "hp0tcf" }],
279
297
  ["circle", { cx: "9", cy: "19", r: "1", key: "fkjjf6" }],
@@ -281,57 +299,57 @@ var __iconNode21 = [
281
299
  ["circle", { cx: "15", cy: "5", r: "1", key: "19l28e" }],
282
300
  ["circle", { cx: "15", cy: "19", r: "1", key: "f4zoj3" }]
283
301
  ];
284
- var GripVertical = createLucideIcon("grip-vertical", __iconNode21);
302
+ var GripVertical = createLucideIcon("grip-vertical", __iconNode24);
285
303
 
286
304
  // node_modules/lucide-react/dist/esm/icons/hash.js
287
- var __iconNode22 = [
305
+ var __iconNode25 = [
288
306
  ["line", { x1: "4", x2: "20", y1: "9", y2: "9", key: "4lhtct" }],
289
307
  ["line", { x1: "4", x2: "20", y1: "15", y2: "15", key: "vyu0kd" }],
290
308
  ["line", { x1: "10", x2: "8", y1: "3", y2: "21", key: "1ggp8o" }],
291
309
  ["line", { x1: "16", x2: "14", y1: "3", y2: "21", key: "weycgp" }]
292
310
  ];
293
- var Hash = createLucideIcon("hash", __iconNode22);
311
+ var Hash = createLucideIcon("hash", __iconNode25);
294
312
 
295
313
  // node_modules/lucide-react/dist/esm/icons/heading-1.js
296
- var __iconNode23 = [
314
+ var __iconNode26 = [
297
315
  ["path", { d: "M4 12h8", key: "17cfdx" }],
298
316
  ["path", { d: "M4 18V6", key: "1rz3zl" }],
299
317
  ["path", { d: "M12 18V6", key: "zqpxq5" }],
300
318
  ["path", { d: "m17 12 3-2v8", key: "1hhhft" }]
301
319
  ];
302
- var Heading1 = createLucideIcon("heading-1", __iconNode23);
320
+ var Heading1 = createLucideIcon("heading-1", __iconNode26);
303
321
 
304
322
  // node_modules/lucide-react/dist/esm/icons/heading-2.js
305
- var __iconNode24 = [
323
+ var __iconNode27 = [
306
324
  ["path", { d: "M4 12h8", key: "17cfdx" }],
307
325
  ["path", { d: "M4 18V6", key: "1rz3zl" }],
308
326
  ["path", { d: "M12 18V6", key: "zqpxq5" }],
309
327
  ["path", { d: "M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1", key: "9jr5yi" }]
310
328
  ];
311
- var Heading2 = createLucideIcon("heading-2", __iconNode24);
329
+ var Heading2 = createLucideIcon("heading-2", __iconNode27);
312
330
 
313
331
  // node_modules/lucide-react/dist/esm/icons/heading-3.js
314
- var __iconNode25 = [
332
+ var __iconNode28 = [
315
333
  ["path", { d: "M4 12h8", key: "17cfdx" }],
316
334
  ["path", { d: "M4 18V6", key: "1rz3zl" }],
317
335
  ["path", { d: "M12 18V6", key: "zqpxq5" }],
318
336
  ["path", { d: "M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2", key: "68ncm8" }],
319
337
  ["path", { d: "M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2", key: "1ejuhz" }]
320
338
  ];
321
- var Heading3 = createLucideIcon("heading-3", __iconNode25);
339
+ var Heading3 = createLucideIcon("heading-3", __iconNode28);
322
340
 
323
341
  // node_modules/lucide-react/dist/esm/icons/heading-4.js
324
- var __iconNode26 = [
342
+ var __iconNode29 = [
325
343
  ["path", { d: "M12 18V6", key: "zqpxq5" }],
326
344
  ["path", { d: "M17 10v3a1 1 0 0 0 1 1h3", key: "tj5zdr" }],
327
345
  ["path", { d: "M21 10v8", key: "1kdml4" }],
328
346
  ["path", { d: "M4 12h8", key: "17cfdx" }],
329
347
  ["path", { d: "M4 18V6", key: "1rz3zl" }]
330
348
  ];
331
- var Heading4 = createLucideIcon("heading-4", __iconNode26);
349
+ var Heading4 = createLucideIcon("heading-4", __iconNode29);
332
350
 
333
351
  // node_modules/lucide-react/dist/esm/icons/heading-5.js
334
- var __iconNode27 = [
352
+ var __iconNode30 = [
335
353
  ["path", { d: "M4 12h8", key: "17cfdx" }],
336
354
  ["path", { d: "M4 18V6", key: "1rz3zl" }],
337
355
  ["path", { d: "M12 18V6", key: "zqpxq5" }],
@@ -341,28 +359,28 @@ var __iconNode27 = [
341
359
  { d: "M17 17.7c.4.2.8.3 1.3.3 1.5 0 2.7-1.1 2.7-2.5S19.8 13 18.3 13H17", key: "2nebdn" }
342
360
  ]
343
361
  ];
344
- var Heading5 = createLucideIcon("heading-5", __iconNode27);
362
+ var Heading5 = createLucideIcon("heading-5", __iconNode30);
345
363
 
346
364
  // node_modules/lucide-react/dist/esm/icons/heading-6.js
347
- var __iconNode28 = [
365
+ var __iconNode31 = [
348
366
  ["path", { d: "M4 12h8", key: "17cfdx" }],
349
367
  ["path", { d: "M4 18V6", key: "1rz3zl" }],
350
368
  ["path", { d: "M12 18V6", key: "zqpxq5" }],
351
369
  ["circle", { cx: "19", cy: "16", r: "2", key: "15mx69" }],
352
370
  ["path", { d: "M20 10c-2 2-3 3.5-3 6", key: "f35dl0" }]
353
371
  ];
354
- var Heading6 = createLucideIcon("heading-6", __iconNode28);
372
+ var Heading6 = createLucideIcon("heading-6", __iconNode31);
355
373
 
356
374
  // node_modules/lucide-react/dist/esm/icons/image.js
357
- var __iconNode29 = [
375
+ var __iconNode32 = [
358
376
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", key: "1m3agn" }],
359
377
  ["circle", { cx: "9", cy: "9", r: "2", key: "af1f0g" }],
360
378
  ["path", { d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21", key: "1xmnt7" }]
361
379
  ];
362
- var Image = createLucideIcon("image", __iconNode29);
380
+ var Image = createLucideIcon("image", __iconNode32);
363
381
 
364
382
  // node_modules/lucide-react/dist/esm/icons/inbox.js
365
- var __iconNode30 = [
383
+ var __iconNode33 = [
366
384
  ["polyline", { points: "22 12 16 12 14 15 10 15 8 12 2 12", key: "o97t9d" }],
367
385
  [
368
386
  "path",
@@ -372,26 +390,26 @@ var __iconNode30 = [
372
390
  }
373
391
  ]
374
392
  ];
375
- var Inbox = createLucideIcon("inbox", __iconNode30);
393
+ var Inbox = createLucideIcon("inbox", __iconNode33);
376
394
 
377
395
  // node_modules/lucide-react/dist/esm/icons/info.js
378
- var __iconNode31 = [
396
+ var __iconNode34 = [
379
397
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
380
398
  ["path", { d: "M12 16v-4", key: "1dtifu" }],
381
399
  ["path", { d: "M12 8h.01", key: "e9boi3" }]
382
400
  ];
383
- var Info = createLucideIcon("info", __iconNode31);
401
+ var Info = createLucideIcon("info", __iconNode34);
384
402
 
385
403
  // node_modules/lucide-react/dist/esm/icons/italic.js
386
- var __iconNode32 = [
404
+ var __iconNode35 = [
387
405
  ["line", { x1: "19", x2: "10", y1: "4", y2: "4", key: "15jd3p" }],
388
406
  ["line", { x1: "14", x2: "5", y1: "20", y2: "20", key: "bu0au3" }],
389
407
  ["line", { x1: "15", x2: "9", y1: "4", y2: "20", key: "uljnxc" }]
390
408
  ];
391
- var Italic = createLucideIcon("italic", __iconNode32);
409
+ var Italic = createLucideIcon("italic", __iconNode35);
392
410
 
393
411
  // node_modules/lucide-react/dist/esm/icons/layers.js
394
- var __iconNode33 = [
412
+ var __iconNode36 = [
395
413
  [
396
414
  "path",
397
415
  {
@@ -414,35 +432,35 @@ var __iconNode33 = [
414
432
  }
415
433
  ]
416
434
  ];
417
- var Layers = createLucideIcon("layers", __iconNode33);
435
+ var Layers = createLucideIcon("layers", __iconNode36);
418
436
 
419
437
  // node_modules/lucide-react/dist/esm/icons/layout-dashboard.js
420
- var __iconNode34 = [
438
+ var __iconNode37 = [
421
439
  ["rect", { width: "7", height: "9", x: "3", y: "3", rx: "1", key: "10lvy0" }],
422
440
  ["rect", { width: "7", height: "5", x: "14", y: "3", rx: "1", key: "16une8" }],
423
441
  ["rect", { width: "7", height: "9", x: "14", y: "12", rx: "1", key: "1hutg5" }],
424
442
  ["rect", { width: "7", height: "5", x: "3", y: "16", rx: "1", key: "ldoo1y" }]
425
443
  ];
426
- var LayoutDashboard = createLucideIcon("layout-dashboard", __iconNode34);
444
+ var LayoutDashboard = createLucideIcon("layout-dashboard", __iconNode37);
427
445
 
428
446
  // node_modules/lucide-react/dist/esm/icons/layout-grid.js
429
- var __iconNode35 = [
447
+ var __iconNode38 = [
430
448
  ["rect", { width: "7", height: "7", x: "3", y: "3", rx: "1", key: "1g98yp" }],
431
449
  ["rect", { width: "7", height: "7", x: "14", y: "3", rx: "1", key: "6d4xhi" }],
432
450
  ["rect", { width: "7", height: "7", x: "14", y: "14", rx: "1", key: "nxv5o0" }],
433
451
  ["rect", { width: "7", height: "7", x: "3", y: "14", rx: "1", key: "1bb6yr" }]
434
452
  ];
435
- var LayoutGrid = createLucideIcon("layout-grid", __iconNode35);
453
+ var LayoutGrid = createLucideIcon("layout-grid", __iconNode38);
436
454
 
437
455
  // node_modules/lucide-react/dist/esm/icons/link.js
438
- var __iconNode36 = [
456
+ var __iconNode39 = [
439
457
  ["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" }],
440
458
  ["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" }]
441
459
  ];
442
- var Link = createLucideIcon("link", __iconNode36);
460
+ var Link = createLucideIcon("link", __iconNode39);
443
461
 
444
462
  // node_modules/lucide-react/dist/esm/icons/list-ordered.js
445
- var __iconNode37 = [
463
+ var __iconNode40 = [
446
464
  ["path", { d: "M11 5h10", key: "1cz7ny" }],
447
465
  ["path", { d: "M11 12h10", key: "1438ji" }],
448
466
  ["path", { d: "M11 19h10", key: "11t30w" }],
@@ -450,33 +468,33 @@ var __iconNode37 = [
450
468
  ["path", { d: "M4 9h2", key: "r1h2o0" }],
451
469
  ["path", { d: "M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02", key: "xtkcd5" }]
452
470
  ];
453
- var ListOrdered = createLucideIcon("list-ordered", __iconNode37);
471
+ var ListOrdered = createLucideIcon("list-ordered", __iconNode40);
454
472
 
455
473
  // node_modules/lucide-react/dist/esm/icons/lock-open.js
456
- var __iconNode38 = [
474
+ var __iconNode41 = [
457
475
  ["rect", { width: "18", height: "11", x: "3", y: "11", rx: "2", ry: "2", key: "1w4ew1" }],
458
476
  ["path", { d: "M7 11V7a5 5 0 0 1 9.9-1", key: "1mm8w8" }]
459
477
  ];
460
- var LockOpen = createLucideIcon("lock-open", __iconNode38);
478
+ var LockOpen = createLucideIcon("lock-open", __iconNode41);
461
479
 
462
480
  // node_modules/lucide-react/dist/esm/icons/lock.js
463
- var __iconNode39 = [
481
+ var __iconNode42 = [
464
482
  ["rect", { width: "18", height: "11", x: "3", y: "11", rx: "2", ry: "2", key: "1w4ew1" }],
465
483
  ["path", { d: "M7 11V7a5 5 0 0 1 10 0v4", key: "fwvmzm" }]
466
484
  ];
467
- var Lock = createLucideIcon("lock", __iconNode39);
485
+ var Lock = createLucideIcon("lock", __iconNode42);
468
486
 
469
487
  // node_modules/lucide-react/dist/esm/icons/maximize-2.js
470
- var __iconNode40 = [
488
+ var __iconNode43 = [
471
489
  ["path", { d: "M15 3h6v6", key: "1q9fwt" }],
472
490
  ["path", { d: "m21 3-7 7", key: "1l2asr" }],
473
491
  ["path", { d: "m3 21 7-7", key: "tjx5ai" }],
474
492
  ["path", { d: "M9 21H3v-6", key: "wtvkvv" }]
475
493
  ];
476
- var Maximize2 = createLucideIcon("maximize-2", __iconNode40);
494
+ var Maximize2 = createLucideIcon("maximize-2", __iconNode43);
477
495
 
478
496
  // node_modules/lucide-react/dist/esm/icons/megaphone.js
479
- var __iconNode41 = [
497
+ var __iconNode44 = [
480
498
  [
481
499
  "path",
482
500
  {
@@ -487,31 +505,31 @@ var __iconNode41 = [
487
505
  ["path", { d: "M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14", key: "1853fq" }],
488
506
  ["path", { d: "M8 6v8", key: "15ugcq" }]
489
507
  ];
490
- var Megaphone = createLucideIcon("megaphone", __iconNode41);
508
+ var Megaphone = createLucideIcon("megaphone", __iconNode44);
491
509
 
492
510
  // node_modules/lucide-react/dist/esm/icons/minimize-2.js
493
- var __iconNode42 = [
511
+ var __iconNode45 = [
494
512
  ["path", { d: "m14 10 7-7", key: "oa77jy" }],
495
513
  ["path", { d: "M20 10h-6V4", key: "mjg0md" }],
496
514
  ["path", { d: "m3 21 7-7", key: "tjx5ai" }],
497
515
  ["path", { d: "M4 14h6v6", key: "rmj7iw" }]
498
516
  ];
499
- var Minimize2 = createLucideIcon("minimize-2", __iconNode42);
517
+ var Minimize2 = createLucideIcon("minimize-2", __iconNode45);
500
518
 
501
519
  // node_modules/lucide-react/dist/esm/icons/minus.js
502
- var __iconNode43 = [["path", { d: "M5 12h14", key: "1ays0h" }]];
503
- var Minus = createLucideIcon("minus", __iconNode43);
520
+ var __iconNode46 = [["path", { d: "M5 12h14", key: "1ays0h" }]];
521
+ var Minus = createLucideIcon("minus", __iconNode46);
504
522
 
505
523
  // node_modules/lucide-react/dist/esm/icons/monitor.js
506
- var __iconNode44 = [
524
+ var __iconNode47 = [
507
525
  ["rect", { width: "20", height: "14", x: "2", y: "3", rx: "2", key: "48i651" }],
508
526
  ["line", { x1: "8", x2: "16", y1: "21", y2: "21", key: "1svkeh" }],
509
527
  ["line", { x1: "12", x2: "12", y1: "17", y2: "21", key: "vw1qmm" }]
510
528
  ];
511
- var Monitor = createLucideIcon("monitor", __iconNode44);
529
+ var Monitor = createLucideIcon("monitor", __iconNode47);
512
530
 
513
531
  // node_modules/lucide-react/dist/esm/icons/moon.js
514
- var __iconNode45 = [
532
+ var __iconNode48 = [
515
533
  [
516
534
  "path",
517
535
  {
@@ -520,24 +538,24 @@ var __iconNode45 = [
520
538
  }
521
539
  ]
522
540
  ];
523
- var Moon = createLucideIcon("moon", __iconNode45);
541
+ var Moon = createLucideIcon("moon", __iconNode48);
524
542
 
525
543
  // node_modules/lucide-react/dist/esm/icons/panel-left.js
526
- var __iconNode46 = [
544
+ var __iconNode49 = [
527
545
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
528
546
  ["path", { d: "M9 3v18", key: "fh3hqa" }]
529
547
  ];
530
- var PanelLeft = createLucideIcon("panel-left", __iconNode46);
548
+ var PanelLeft = createLucideIcon("panel-left", __iconNode49);
531
549
 
532
550
  // node_modules/lucide-react/dist/esm/icons/panel-right.js
533
- var __iconNode47 = [
551
+ var __iconNode50 = [
534
552
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
535
553
  ["path", { d: "M15 3v18", key: "14nvp0" }]
536
554
  ];
537
- var PanelRight = createLucideIcon("panel-right", __iconNode47);
555
+ var PanelRight = createLucideIcon("panel-right", __iconNode50);
538
556
 
539
557
  // node_modules/lucide-react/dist/esm/icons/quote.js
540
- var __iconNode48 = [
558
+ var __iconNode51 = [
541
559
  [
542
560
  "path",
543
561
  {
@@ -553,33 +571,33 @@ var __iconNode48 = [
553
571
  }
554
572
  ]
555
573
  ];
556
- var Quote = createLucideIcon("quote", __iconNode48);
574
+ var Quote = createLucideIcon("quote", __iconNode51);
557
575
 
558
576
  // node_modules/lucide-react/dist/esm/icons/rectangle-ellipsis.js
559
- var __iconNode49 = [
577
+ var __iconNode52 = [
560
578
  ["rect", { width: "20", height: "12", x: "2", y: "6", rx: "2", key: "9lu3g6" }],
561
579
  ["path", { d: "M12 12h.01", key: "1mp3jc" }],
562
580
  ["path", { d: "M17 12h.01", key: "1m0b6t" }],
563
581
  ["path", { d: "M7 12h.01", key: "eqddd0" }]
564
582
  ];
565
- var RectangleEllipsis = createLucideIcon("rectangle-ellipsis", __iconNode49);
583
+ var RectangleEllipsis = createLucideIcon("rectangle-ellipsis", __iconNode52);
566
584
 
567
585
  // node_modules/lucide-react/dist/esm/icons/redo-2.js
568
- var __iconNode50 = [
586
+ var __iconNode53 = [
569
587
  ["path", { d: "m15 14 5-5-5-5", key: "12vg1m" }],
570
588
  ["path", { d: "M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13", key: "6uklza" }]
571
589
  ];
572
- var Redo2 = createLucideIcon("redo-2", __iconNode50);
590
+ var Redo2 = createLucideIcon("redo-2", __iconNode53);
573
591
 
574
592
  // node_modules/lucide-react/dist/esm/icons/search.js
575
- var __iconNode51 = [
593
+ var __iconNode54 = [
576
594
  ["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
577
595
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
578
596
  ];
579
- var Search = createLucideIcon("search", __iconNode51);
597
+ var Search = createLucideIcon("search", __iconNode54);
580
598
 
581
599
  // node_modules/lucide-react/dist/esm/icons/settings.js
582
- var __iconNode52 = [
600
+ var __iconNode55 = [
583
601
  [
584
602
  "path",
585
603
  {
@@ -589,10 +607,10 @@ var __iconNode52 = [
589
607
  ],
590
608
  ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
591
609
  ];
592
- var Settings = createLucideIcon("settings", __iconNode52);
610
+ var Settings = createLucideIcon("settings", __iconNode55);
593
611
 
594
612
  // node_modules/lucide-react/dist/esm/icons/shapes.js
595
- var __iconNode53 = [
613
+ var __iconNode56 = [
596
614
  [
597
615
  "path",
598
616
  {
@@ -603,10 +621,10 @@ var __iconNode53 = [
603
621
  ["rect", { x: "3", y: "14", width: "7", height: "7", rx: "1", key: "1bkyp8" }],
604
622
  ["circle", { cx: "17.5", cy: "17.5", r: "3.5", key: "w3z12y" }]
605
623
  ];
606
- var Shapes = createLucideIcon("shapes", __iconNode53);
624
+ var Shapes = createLucideIcon("shapes", __iconNode56);
607
625
 
608
626
  // node_modules/lucide-react/dist/esm/icons/sliders-horizontal.js
609
- var __iconNode54 = [
627
+ var __iconNode57 = [
610
628
  ["path", { d: "M10 5H3", key: "1qgfaw" }],
611
629
  ["path", { d: "M12 19H3", key: "yhmn1j" }],
612
630
  ["path", { d: "M14 3v4", key: "1sua03" }],
@@ -617,33 +635,33 @@ var __iconNode54 = [
617
635
  ["path", { d: "M8 10v4", key: "tgpxqk" }],
618
636
  ["path", { d: "M8 12H3", key: "a7s4jb" }]
619
637
  ];
620
- var SlidersHorizontal = createLucideIcon("sliders-horizontal", __iconNode54);
638
+ var SlidersHorizontal = createLucideIcon("sliders-horizontal", __iconNode57);
621
639
 
622
640
  // node_modules/lucide-react/dist/esm/icons/smartphone.js
623
- var __iconNode55 = [
641
+ var __iconNode58 = [
624
642
  ["rect", { width: "14", height: "20", x: "5", y: "2", rx: "2", ry: "2", key: "1yt0o3" }],
625
643
  ["path", { d: "M12 18h.01", key: "mhygvu" }]
626
644
  ];
627
- var Smartphone = createLucideIcon("smartphone", __iconNode55);
645
+ var Smartphone = createLucideIcon("smartphone", __iconNode58);
628
646
 
629
647
  // node_modules/lucide-react/dist/esm/icons/square-code.js
630
- var __iconNode56 = [
648
+ var __iconNode59 = [
631
649
  ["path", { d: "m10 9-3 3 3 3", key: "1oro0q" }],
632
650
  ["path", { d: "m14 15 3-3-3-3", key: "bz13h7" }],
633
651
  ["rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", key: "h1oib" }]
634
652
  ];
635
- var SquareCode = createLucideIcon("square-code", __iconNode56);
653
+ var SquareCode = createLucideIcon("square-code", __iconNode59);
636
654
 
637
655
  // node_modules/lucide-react/dist/esm/icons/strikethrough.js
638
- var __iconNode57 = [
656
+ var __iconNode60 = [
639
657
  ["path", { d: "M16 4H9a3 3 0 0 0-2.83 4", key: "43sutm" }],
640
658
  ["path", { d: "M14 12a4 4 0 0 1 0 8H6", key: "nlfj13" }],
641
659
  ["line", { x1: "4", x2: "20", y1: "12", y2: "12", key: "1e0a9i" }]
642
660
  ];
643
- var Strikethrough = createLucideIcon("strikethrough", __iconNode57);
661
+ var Strikethrough = createLucideIcon("strikethrough", __iconNode60);
644
662
 
645
663
  // node_modules/lucide-react/dist/esm/icons/sun.js
646
- var __iconNode58 = [
664
+ var __iconNode61 = [
647
665
  ["circle", { cx: "12", cy: "12", r: "4", key: "4exip2" }],
648
666
  ["path", { d: "M12 2v2", key: "tus03m" }],
649
667
  ["path", { d: "M12 20v2", key: "1lh1kg" }],
@@ -654,78 +672,78 @@ var __iconNode58 = [
654
672
  ["path", { d: "m6.34 17.66-1.41 1.41", key: "1m8zz5" }],
655
673
  ["path", { d: "m19.07 4.93-1.41 1.41", key: "1shlcs" }]
656
674
  ];
657
- var Sun = createLucideIcon("sun", __iconNode58);
675
+ var Sun = createLucideIcon("sun", __iconNode61);
658
676
 
659
677
  // node_modules/lucide-react/dist/esm/icons/tablet.js
660
- var __iconNode59 = [
678
+ var __iconNode62 = [
661
679
  ["rect", { width: "16", height: "20", x: "4", y: "2", rx: "2", ry: "2", key: "76otgf" }],
662
680
  ["line", { x1: "12", x2: "12.01", y1: "18", y2: "18", key: "1dp563" }]
663
681
  ];
664
- var Tablet = createLucideIcon("tablet", __iconNode59);
682
+ var Tablet = createLucideIcon("tablet", __iconNode62);
665
683
 
666
684
  // node_modules/lucide-react/dist/esm/icons/text-align-center.js
667
- var __iconNode60 = [
685
+ var __iconNode63 = [
668
686
  ["path", { d: "M21 5H3", key: "1fi0y6" }],
669
687
  ["path", { d: "M17 12H7", key: "16if0g" }],
670
688
  ["path", { d: "M19 19H5", key: "vjpgq2" }]
671
689
  ];
672
- var TextAlignCenter = createLucideIcon("text-align-center", __iconNode60);
690
+ var TextAlignCenter = createLucideIcon("text-align-center", __iconNode63);
673
691
 
674
692
  // node_modules/lucide-react/dist/esm/icons/text-align-end.js
675
- var __iconNode61 = [
693
+ var __iconNode64 = [
676
694
  ["path", { d: "M21 5H3", key: "1fi0y6" }],
677
695
  ["path", { d: "M21 12H9", key: "dn1m92" }],
678
696
  ["path", { d: "M21 19H7", key: "4cu937" }]
679
697
  ];
680
- var TextAlignEnd = createLucideIcon("text-align-end", __iconNode61);
698
+ var TextAlignEnd = createLucideIcon("text-align-end", __iconNode64);
681
699
 
682
700
  // node_modules/lucide-react/dist/esm/icons/text-align-justify.js
683
- var __iconNode62 = [
701
+ var __iconNode65 = [
684
702
  ["path", { d: "M3 5h18", key: "1u36vt" }],
685
703
  ["path", { d: "M3 12h18", key: "1i2n21" }],
686
704
  ["path", { d: "M3 19h18", key: "awlh7x" }]
687
705
  ];
688
- var TextAlignJustify = createLucideIcon("text-align-justify", __iconNode62);
706
+ var TextAlignJustify = createLucideIcon("text-align-justify", __iconNode65);
689
707
 
690
708
  // node_modules/lucide-react/dist/esm/icons/toy-brick.js
691
- var __iconNode63 = [
709
+ var __iconNode66 = [
692
710
  ["rect", { width: "18", height: "12", x: "3", y: "8", rx: "1", key: "158fvp" }],
693
711
  ["path", { d: "M10 8V5c0-.6-.4-1-1-1H6a1 1 0 0 0-1 1v3", key: "s0042v" }],
694
712
  ["path", { d: "M19 8V5c0-.6-.4-1-1-1h-3a1 1 0 0 0-1 1v3", key: "9wmeh2" }]
695
713
  ];
696
- var ToyBrick = createLucideIcon("toy-brick", __iconNode63);
714
+ var ToyBrick = createLucideIcon("toy-brick", __iconNode66);
697
715
 
698
716
  // node_modules/lucide-react/dist/esm/icons/type.js
699
- var __iconNode64 = [
717
+ var __iconNode67 = [
700
718
  ["path", { d: "M12 4v16", key: "1654pz" }],
701
719
  ["path", { d: "M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2", key: "e0r10z" }],
702
720
  ["path", { d: "M9 20h6", key: "s66wpe" }]
703
721
  ];
704
- var Type = createLucideIcon("type", __iconNode64);
722
+ var Type = createLucideIcon("type", __iconNode67);
705
723
 
706
724
  // node_modules/lucide-react/dist/esm/icons/underline.js
707
- var __iconNode65 = [
725
+ var __iconNode68 = [
708
726
  ["path", { d: "M6 4v6a6 6 0 0 0 12 0V4", key: "9kb039" }],
709
727
  ["line", { x1: "4", x2: "20", y1: "20", y2: "20", key: "nun2al" }]
710
728
  ];
711
- var Underline = createLucideIcon("underline", __iconNode65);
729
+ var Underline = createLucideIcon("underline", __iconNode68);
712
730
 
713
731
  // node_modules/lucide-react/dist/esm/icons/undo-2.js
714
- var __iconNode66 = [
732
+ var __iconNode69 = [
715
733
  ["path", { d: "M9 14 4 9l5-5", key: "102s5s" }],
716
734
  ["path", { d: "M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11", key: "f3b9sd" }]
717
735
  ];
718
- var Undo2 = createLucideIcon("undo-2", __iconNode66);
736
+ var Undo2 = createLucideIcon("undo-2", __iconNode69);
719
737
 
720
738
  // node_modules/lucide-react/dist/esm/icons/x.js
721
- var __iconNode67 = [
739
+ var __iconNode70 = [
722
740
  ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
723
741
  ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
724
742
  ];
725
- var X = createLucideIcon("x", __iconNode67);
743
+ var X = createLucideIcon("x", __iconNode70);
726
744
 
727
745
  // node_modules/lucide-react/dist/esm/icons/zap.js
728
- var __iconNode68 = [
746
+ var __iconNode71 = [
729
747
  [
730
748
  "path",
731
749
  {
@@ -734,24 +752,32 @@ var __iconNode68 = [
734
752
  }
735
753
  ]
736
754
  ];
737
- var Zap = createLucideIcon("zap", __iconNode68);
755
+ var Zap = createLucideIcon("zap", __iconNode71);
738
756
 
739
757
  // node_modules/lucide-react/dist/esm/icons/zoom-in.js
740
- var __iconNode69 = [
758
+ var __iconNode72 = [
741
759
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
742
760
  ["line", { x1: "21", x2: "16.65", y1: "21", y2: "16.65", key: "13gj7c" }],
743
761
  ["line", { x1: "11", x2: "11", y1: "8", y2: "14", key: "1vmskp" }],
744
762
  ["line", { x1: "8", x2: "14", y1: "11", y2: "11", key: "durymu" }]
745
763
  ];
746
- var ZoomIn = createLucideIcon("zoom-in", __iconNode69);
764
+ var ZoomIn = createLucideIcon("zoom-in", __iconNode72);
747
765
 
748
766
  // node_modules/lucide-react/dist/esm/icons/zoom-out.js
749
- var __iconNode70 = [
767
+ var __iconNode73 = [
750
768
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
751
769
  ["line", { x1: "21", x2: "16.65", y1: "21", y2: "16.65", key: "13gj7c" }],
752
770
  ["line", { x1: "8", x2: "14", y1: "11", y2: "11", key: "durymu" }]
753
771
  ];
754
- var ZoomOut = createLucideIcon("zoom-out", __iconNode70);
772
+ var ZoomOut = createLucideIcon("zoom-out", __iconNode73);
773
+
774
+ // components/ViewportControls/default-viewports.ts
775
+ var defaultViewports = [
776
+ { width: 360, height: "auto", icon: "Smartphone", label: "Small" },
777
+ { width: 768, height: "auto", icon: "Tablet", label: "Medium" },
778
+ { width: 1280, height: "auto", icon: "Monitor", label: "Large" },
779
+ { width: "100%", height: "auto", icon: "FullWidth", label: "Full-width" }
780
+ ];
755
781
 
756
782
  // store/index.ts
757
783
  import { create as create2, useStore } from "zustand";
@@ -1068,14 +1094,27 @@ var flattenData = (state, config) => {
1068
1094
  return data;
1069
1095
  };
1070
1096
 
1097
+ // lib/get-changed.ts
1098
+ import { deepEqual } from "fast-equals";
1099
+ var getChanged = (newItem, oldItem) => {
1100
+ return newItem ? Object.keys(newItem.props || {}).reduce((acc, item) => {
1101
+ const newItemProps = newItem?.props || {};
1102
+ const oldItemProps = oldItem?.props || {};
1103
+ return {
1104
+ ...acc,
1105
+ [item]: !deepEqual(oldItemProps[item], newItemProps[item])
1106
+ };
1107
+ }, {}) : {};
1108
+ };
1109
+
1071
1110
  // store/slices/permissions.ts
1072
1111
  var createPermissionsSlice = (set, get) => {
1073
1112
  const resolvePermissions = async (params = {}, force) => {
1074
1113
  const { state, permissions, config } = get();
1075
- const { cache, globalPermissions } = permissions;
1114
+ const { cache: cache2, globalPermissions } = permissions;
1076
1115
  const resolvePermissionsForItem = async (item2, force2 = false) => {
1077
1116
  const { config: config2, state: appState, setComponentLoading } = get();
1078
- const itemCache = cache[item2.props.id];
1117
+ const itemCache = cache2[item2.props.id];
1079
1118
  const nodes = appState.indexes.nodes;
1080
1119
  const parentId = nodes[item2.props.id]?.parentId;
1081
1120
  const parentNode = parentId ? nodes[parentId] : null;
@@ -1307,6 +1346,85 @@ var useRegisterFieldsSlice = (appStore, id) => {
1307
1346
  }, [id, appStore, resolveFields]);
1308
1347
  };
1309
1348
 
1349
+ // lib/resolve-component-data.ts
1350
+ import { deepEqual as deepEqual2 } from "fast-equals";
1351
+ var cache = { lastChange: {} };
1352
+ var resolveComponentData = async (item, config, metadata = {}, onResolveStart, onResolveEnd, trigger = "replace", parent = null) => {
1353
+ const configForItem = "type" in item && item.type !== "root" ? config.components[item.type] : config.root;
1354
+ const resolvedItem = {
1355
+ ...item
1356
+ };
1357
+ const shouldRunResolver = configForItem?.resolveData && item.props;
1358
+ const id = "id" in item.props ? item.props.id : "root";
1359
+ if (shouldRunResolver) {
1360
+ const {
1361
+ item: oldItem = null,
1362
+ resolved = {},
1363
+ parentId: oldParentId = null
1364
+ } = cache.lastChange[id] || {};
1365
+ const isRootOrInserted = oldParentId === null;
1366
+ const parentChanged = !isRootOrInserted && parent?.props.id !== oldParentId;
1367
+ const dataChanged = item && !deepEqual2(item, oldItem);
1368
+ const shouldSkip = trigger === "move" && !parentChanged || trigger !== "move" && trigger !== "force" && !dataChanged;
1369
+ if (shouldSkip) {
1370
+ return { node: resolved, didChange: false };
1371
+ }
1372
+ const changed = getChanged(item, oldItem);
1373
+ if (onResolveStart) {
1374
+ onResolveStart(item);
1375
+ }
1376
+ const { props: resolvedProps, readOnly = {} } = await configForItem.resolveData(item, {
1377
+ changed,
1378
+ lastData: oldItem,
1379
+ metadata: { ...metadata, ...configForItem.metadata },
1380
+ trigger,
1381
+ parent
1382
+ });
1383
+ resolvedItem.props = {
1384
+ ...item.props,
1385
+ ...resolvedProps
1386
+ };
1387
+ if (Object.keys(readOnly).length) {
1388
+ resolvedItem.readOnly = readOnly;
1389
+ }
1390
+ }
1391
+ const itemAsComponentData = toComponent(resolvedItem);
1392
+ let itemWithResolvedChildren = await mapFields(
1393
+ resolvedItem,
1394
+ {
1395
+ slot: async ({ value }) => {
1396
+ const content = value;
1397
+ return await Promise.all(
1398
+ content.map(
1399
+ async (childItem) => (await resolveComponentData(
1400
+ childItem,
1401
+ config,
1402
+ metadata,
1403
+ onResolveStart,
1404
+ onResolveEnd,
1405
+ trigger,
1406
+ itemAsComponentData
1407
+ )).node
1408
+ )
1409
+ );
1410
+ }
1411
+ },
1412
+ config
1413
+ );
1414
+ if (shouldRunResolver && onResolveEnd) {
1415
+ onResolveEnd(resolvedItem);
1416
+ }
1417
+ cache.lastChange[id] = {
1418
+ item,
1419
+ resolved: itemWithResolvedChildren,
1420
+ parentId: parent?.props.id
1421
+ };
1422
+ return {
1423
+ node: itemWithResolvedChildren,
1424
+ didChange: !deepEqual2(item, itemWithResolvedChildren)
1425
+ };
1426
+ };
1427
+
1310
1428
  // lib/data/to-root.ts
1311
1429
  var toRoot = (item) => {
1312
1430
  if ("type" in item && item.type !== "root") {
@@ -1323,6 +1441,34 @@ var toRoot = (item) => {
1323
1441
  return { props: {}, readOnly };
1324
1442
  };
1325
1443
 
1444
+ // store/default-app-state.ts
1445
+ var defaultAppState = {
1446
+ data: { content: [], root: {}, zones: {} },
1447
+ ui: {
1448
+ leftSideBarVisible: true,
1449
+ rightSideBarVisible: true,
1450
+ arrayState: {},
1451
+ itemSelector: null,
1452
+ componentList: {},
1453
+ isDragging: false,
1454
+ previewMode: "edit",
1455
+ viewports: {
1456
+ current: {
1457
+ width: defaultViewports[0].width,
1458
+ height: defaultViewports[0].height || "auto"
1459
+ },
1460
+ options: [],
1461
+ controlsVisible: true
1462
+ },
1463
+ field: { focus: null },
1464
+ plugin: { current: null }
1465
+ },
1466
+ indexes: {
1467
+ nodes: {},
1468
+ zones: {}
1469
+ }
1470
+ };
1471
+
1326
1472
  // store/index.ts
1327
1473
  var defaultPageFields = {
1328
1474
  title: { type: "text" }
@@ -1711,7 +1857,7 @@ var useControlContext = () => {
1711
1857
  // components/RichTextMenu/components/SelectControl/index.tsx
1712
1858
  import { useMemo } from "react";
1713
1859
 
1714
- // css-module:/media/rasyiqi/PROJECT/credibuild-project/credbuild/components/Select/styles.module.css#css-module
1860
+ // css-module:/home/runner/work/credbuild/credbuild/components/Select/styles.module.css#css-module
1715
1861
  var styles_module_default = { "Select": "_Select_16son_1", "Select-button": "_Select-button_16son_6", "Select--hasOptions": "_Select--hasOptions_16son_19", "Select--disabled": "_Select--disabled_16son_23", "Select-buttonIcon": "_Select-buttonIcon_16son_27", "Select--standalone": "_Select--standalone_16son_33", "Select--actionBar": "_Select--actionBar_16son_38", "Select--hasValue": "_Select--hasValue_16son_44", "Select-items": "_Select-items_16son_61", "SelectItem": "_SelectItem_16son_72", "SelectItem--isSelected": "_SelectItem--isSelected_16son_87", "SelectItem-icon": "_SelectItem-icon_16son_93" };
1716
1862
 
1717
1863
  // components/Select/index.tsx
@@ -1820,16 +1966,19 @@ export {
1820
1966
  Bold,
1821
1967
  Box,
1822
1968
  ChartColumn,
1969
+ Check,
1823
1970
  ChevronDown,
1824
1971
  ChevronRight,
1825
1972
  ChevronUp,
1826
1973
  CircleCheckBig,
1974
+ CircleCheck,
1827
1975
  Code,
1828
1976
  Copy,
1829
1977
  CornerLeftUp,
1830
1978
  CreditCard,
1831
1979
  Expand,
1832
1980
  ExternalLink,
1981
+ Eye,
1833
1982
  FileText,
1834
1983
  GripVertical,
1835
1984
  Hash,
@@ -1887,12 +2036,15 @@ export {
1887
2036
  Zap,
1888
2037
  ZoomIn,
1889
2038
  ZoomOut,
2039
+ defaultViewports,
1890
2040
  monitorHotkeys,
1891
2041
  useMonitorHotkeys,
1892
2042
  useHotkey,
1893
2043
  useRegisterHistorySlice,
1894
2044
  useRegisterPermissionsSlice,
1895
2045
  useRegisterFieldsSlice,
2046
+ resolveComponentData,
2047
+ defaultAppState,
1896
2048
  createAppStore,
1897
2049
  appStoreContext,
1898
2050
  useAppStore,
@@ -1923,13 +2075,16 @@ lucide-react/dist/esm/icons/trash.js:
1923
2075
  lucide-react/dist/esm/icons/bold.js:
1924
2076
  lucide-react/dist/esm/icons/box.js:
1925
2077
  lucide-react/dist/esm/icons/chart-column.js:
2078
+ lucide-react/dist/esm/icons/check.js:
1926
2079
  lucide-react/dist/esm/icons/chevron-right.js:
1927
2080
  lucide-react/dist/esm/icons/circle-check-big.js:
2081
+ lucide-react/dist/esm/icons/circle-check.js:
1928
2082
  lucide-react/dist/esm/icons/code.js:
1929
2083
  lucide-react/dist/esm/icons/corner-left-up.js:
1930
2084
  lucide-react/dist/esm/icons/credit-card.js:
1931
2085
  lucide-react/dist/esm/icons/expand.js:
1932
2086
  lucide-react/dist/esm/icons/external-link.js:
2087
+ lucide-react/dist/esm/icons/eye.js:
1933
2088
  lucide-react/dist/esm/icons/file-text.js:
1934
2089
  lucide-react/dist/esm/icons/grip-vertical.js:
1935
2090
  lucide-react/dist/esm/icons/hash.js: