@crediblemark/build 0.22.7 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ArrayField-EPM4TV3J.mjs → ArrayField-MR3B7WKR.mjs} +9 -9
- package/dist/{Editor-L674TD7T.mjs → Editor-5TR52PVR.mjs} +7 -7
- package/dist/{ObjectField-MW3SSNKI.mjs → ObjectField-ZGTFFKHJ.mjs} +8 -8
- package/dist/{chunk-K27LFPQL.mjs → chunk-62JTNLF7.mjs} +1 -1
- package/dist/{chunk-JNMMY5D7.mjs → chunk-6TAU2PST.mjs} +1 -1
- package/dist/{chunk-NYBWAKLT.mjs → chunk-7HQNPCGI.mjs} +1 -1
- package/dist/{chunk-2JUMF5G3.mjs → chunk-ACKK2BYK.mjs} +6 -6
- package/dist/{chunk-T6RT6PV4.mjs → chunk-AP7SVXSU.mjs} +7 -7
- package/dist/{chunk-ZY24NW7X.mjs → chunk-E7XYUXJM.mjs} +76 -46
- package/dist/{chunk-JNHQNNGW.mjs → chunk-EDVDS4CH.mjs} +143 -57
- package/dist/{chunk-AEKBE267.mjs → chunk-FC3ZRBT2.mjs} +2 -2
- package/dist/{chunk-RDTXKOE7.mjs → chunk-P6XSBCUA.mjs} +1 -1
- package/dist/{chunk-67TMLSKM.mjs → chunk-QA2U7BOE.mjs} +1 -1
- package/dist/{chunk-4PJ4QMWI.mjs → chunk-RUAHVDDE.mjs} +1 -1
- package/dist/{full-SGY5HNVB.mjs → full-AGQP4VE6.mjs} +5 -5
- package/dist/index.js +233 -103
- package/dist/index.mjs +10 -10
- package/dist/{loaded-2GLOBOVP.mjs → loaded-IATND5Y2.mjs} +2 -2
- package/dist/{loaded-ARSKBJWP.mjs → loaded-PWOXIOQ2.mjs} +2 -2
- package/dist/{loaded-AH3CPHD2.mjs → loaded-QZ5Z7NDX.mjs} +2 -2
- package/dist/no-external.js +233 -103
- package/dist/no-external.mjs +10 -10
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1091,59 +1091,79 @@ var init_monitor = __esm({
|
|
|
1091
1091
|
}
|
|
1092
1092
|
});
|
|
1093
1093
|
|
|
1094
|
+
// node_modules/lucide-react/dist/esm/icons/moon.js
|
|
1095
|
+
var __iconNode43, Moon;
|
|
1096
|
+
var init_moon = __esm({
|
|
1097
|
+
"node_modules/lucide-react/dist/esm/icons/moon.js"() {
|
|
1098
|
+
"use strict";
|
|
1099
|
+
init_react_import();
|
|
1100
|
+
init_createLucideIcon();
|
|
1101
|
+
__iconNode43 = [
|
|
1102
|
+
[
|
|
1103
|
+
"path",
|
|
1104
|
+
{
|
|
1105
|
+
d: "M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",
|
|
1106
|
+
key: "kfwtm"
|
|
1107
|
+
}
|
|
1108
|
+
]
|
|
1109
|
+
];
|
|
1110
|
+
Moon = createLucideIcon("moon", __iconNode43);
|
|
1111
|
+
}
|
|
1112
|
+
});
|
|
1113
|
+
|
|
1094
1114
|
// node_modules/lucide-react/dist/esm/icons/panel-left.js
|
|
1095
|
-
var
|
|
1115
|
+
var __iconNode44, PanelLeft;
|
|
1096
1116
|
var init_panel_left = __esm({
|
|
1097
1117
|
"node_modules/lucide-react/dist/esm/icons/panel-left.js"() {
|
|
1098
1118
|
"use strict";
|
|
1099
1119
|
init_react_import();
|
|
1100
1120
|
init_createLucideIcon();
|
|
1101
|
-
|
|
1121
|
+
__iconNode44 = [
|
|
1102
1122
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
1103
1123
|
["path", { d: "M9 3v18", key: "fh3hqa" }]
|
|
1104
1124
|
];
|
|
1105
|
-
PanelLeft = createLucideIcon("panel-left",
|
|
1125
|
+
PanelLeft = createLucideIcon("panel-left", __iconNode44);
|
|
1106
1126
|
}
|
|
1107
1127
|
});
|
|
1108
1128
|
|
|
1109
1129
|
// node_modules/lucide-react/dist/esm/icons/panel-right.js
|
|
1110
|
-
var
|
|
1130
|
+
var __iconNode45, PanelRight;
|
|
1111
1131
|
var init_panel_right = __esm({
|
|
1112
1132
|
"node_modules/lucide-react/dist/esm/icons/panel-right.js"() {
|
|
1113
1133
|
"use strict";
|
|
1114
1134
|
init_react_import();
|
|
1115
1135
|
init_createLucideIcon();
|
|
1116
|
-
|
|
1136
|
+
__iconNode45 = [
|
|
1117
1137
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
1118
1138
|
["path", { d: "M15 3v18", key: "14nvp0" }]
|
|
1119
1139
|
];
|
|
1120
|
-
PanelRight = createLucideIcon("panel-right",
|
|
1140
|
+
PanelRight = createLucideIcon("panel-right", __iconNode45);
|
|
1121
1141
|
}
|
|
1122
1142
|
});
|
|
1123
1143
|
|
|
1124
1144
|
// node_modules/lucide-react/dist/esm/icons/plus.js
|
|
1125
|
-
var
|
|
1145
|
+
var __iconNode46, Plus;
|
|
1126
1146
|
var init_plus = __esm({
|
|
1127
1147
|
"node_modules/lucide-react/dist/esm/icons/plus.js"() {
|
|
1128
1148
|
"use strict";
|
|
1129
1149
|
init_react_import();
|
|
1130
1150
|
init_createLucideIcon();
|
|
1131
|
-
|
|
1151
|
+
__iconNode46 = [
|
|
1132
1152
|
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
1133
1153
|
["path", { d: "M12 5v14", key: "s699le" }]
|
|
1134
1154
|
];
|
|
1135
|
-
Plus = createLucideIcon("plus",
|
|
1155
|
+
Plus = createLucideIcon("plus", __iconNode46);
|
|
1136
1156
|
}
|
|
1137
1157
|
});
|
|
1138
1158
|
|
|
1139
1159
|
// node_modules/lucide-react/dist/esm/icons/quote.js
|
|
1140
|
-
var
|
|
1160
|
+
var __iconNode47, Quote;
|
|
1141
1161
|
var init_quote = __esm({
|
|
1142
1162
|
"node_modules/lucide-react/dist/esm/icons/quote.js"() {
|
|
1143
1163
|
"use strict";
|
|
1144
1164
|
init_react_import();
|
|
1145
1165
|
init_createLucideIcon();
|
|
1146
|
-
|
|
1166
|
+
__iconNode47 = [
|
|
1147
1167
|
[
|
|
1148
1168
|
"path",
|
|
1149
1169
|
{
|
|
@@ -1159,65 +1179,65 @@ var init_quote = __esm({
|
|
|
1159
1179
|
}
|
|
1160
1180
|
]
|
|
1161
1181
|
];
|
|
1162
|
-
Quote = createLucideIcon("quote",
|
|
1182
|
+
Quote = createLucideIcon("quote", __iconNode47);
|
|
1163
1183
|
}
|
|
1164
1184
|
});
|
|
1165
1185
|
|
|
1166
1186
|
// node_modules/lucide-react/dist/esm/icons/rectangle-ellipsis.js
|
|
1167
|
-
var
|
|
1187
|
+
var __iconNode48, RectangleEllipsis;
|
|
1168
1188
|
var init_rectangle_ellipsis = __esm({
|
|
1169
1189
|
"node_modules/lucide-react/dist/esm/icons/rectangle-ellipsis.js"() {
|
|
1170
1190
|
"use strict";
|
|
1171
1191
|
init_react_import();
|
|
1172
1192
|
init_createLucideIcon();
|
|
1173
|
-
|
|
1193
|
+
__iconNode48 = [
|
|
1174
1194
|
["rect", { width: "20", height: "12", x: "2", y: "6", rx: "2", key: "9lu3g6" }],
|
|
1175
1195
|
["path", { d: "M12 12h.01", key: "1mp3jc" }],
|
|
1176
1196
|
["path", { d: "M17 12h.01", key: "1m0b6t" }],
|
|
1177
1197
|
["path", { d: "M7 12h.01", key: "eqddd0" }]
|
|
1178
1198
|
];
|
|
1179
|
-
RectangleEllipsis = createLucideIcon("rectangle-ellipsis",
|
|
1199
|
+
RectangleEllipsis = createLucideIcon("rectangle-ellipsis", __iconNode48);
|
|
1180
1200
|
}
|
|
1181
1201
|
});
|
|
1182
1202
|
|
|
1183
1203
|
// node_modules/lucide-react/dist/esm/icons/redo-2.js
|
|
1184
|
-
var
|
|
1204
|
+
var __iconNode49, Redo2;
|
|
1185
1205
|
var init_redo_2 = __esm({
|
|
1186
1206
|
"node_modules/lucide-react/dist/esm/icons/redo-2.js"() {
|
|
1187
1207
|
"use strict";
|
|
1188
1208
|
init_react_import();
|
|
1189
1209
|
init_createLucideIcon();
|
|
1190
|
-
|
|
1210
|
+
__iconNode49 = [
|
|
1191
1211
|
["path", { d: "m15 14 5-5-5-5", key: "12vg1m" }],
|
|
1192
1212
|
["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" }]
|
|
1193
1213
|
];
|
|
1194
|
-
Redo2 = createLucideIcon("redo-2",
|
|
1214
|
+
Redo2 = createLucideIcon("redo-2", __iconNode49);
|
|
1195
1215
|
}
|
|
1196
1216
|
});
|
|
1197
1217
|
|
|
1198
1218
|
// node_modules/lucide-react/dist/esm/icons/search.js
|
|
1199
|
-
var
|
|
1219
|
+
var __iconNode50, Search;
|
|
1200
1220
|
var init_search = __esm({
|
|
1201
1221
|
"node_modules/lucide-react/dist/esm/icons/search.js"() {
|
|
1202
1222
|
"use strict";
|
|
1203
1223
|
init_react_import();
|
|
1204
1224
|
init_createLucideIcon();
|
|
1205
|
-
|
|
1225
|
+
__iconNode50 = [
|
|
1206
1226
|
["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
|
|
1207
1227
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
|
|
1208
1228
|
];
|
|
1209
|
-
Search = createLucideIcon("search",
|
|
1229
|
+
Search = createLucideIcon("search", __iconNode50);
|
|
1210
1230
|
}
|
|
1211
1231
|
});
|
|
1212
1232
|
|
|
1213
1233
|
// node_modules/lucide-react/dist/esm/icons/settings.js
|
|
1214
|
-
var
|
|
1234
|
+
var __iconNode51, Settings;
|
|
1215
1235
|
var init_settings = __esm({
|
|
1216
1236
|
"node_modules/lucide-react/dist/esm/icons/settings.js"() {
|
|
1217
1237
|
"use strict";
|
|
1218
1238
|
init_react_import();
|
|
1219
1239
|
init_createLucideIcon();
|
|
1220
|
-
|
|
1240
|
+
__iconNode51 = [
|
|
1221
1241
|
[
|
|
1222
1242
|
"path",
|
|
1223
1243
|
{
|
|
@@ -1227,18 +1247,18 @@ var init_settings = __esm({
|
|
|
1227
1247
|
],
|
|
1228
1248
|
["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
|
|
1229
1249
|
];
|
|
1230
|
-
Settings = createLucideIcon("settings",
|
|
1250
|
+
Settings = createLucideIcon("settings", __iconNode51);
|
|
1231
1251
|
}
|
|
1232
1252
|
});
|
|
1233
1253
|
|
|
1234
1254
|
// node_modules/lucide-react/dist/esm/icons/shapes.js
|
|
1235
|
-
var
|
|
1255
|
+
var __iconNode52, Shapes;
|
|
1236
1256
|
var init_shapes = __esm({
|
|
1237
1257
|
"node_modules/lucide-react/dist/esm/icons/shapes.js"() {
|
|
1238
1258
|
"use strict";
|
|
1239
1259
|
init_react_import();
|
|
1240
1260
|
init_createLucideIcon();
|
|
1241
|
-
|
|
1261
|
+
__iconNode52 = [
|
|
1242
1262
|
[
|
|
1243
1263
|
"path",
|
|
1244
1264
|
{
|
|
@@ -1249,18 +1269,18 @@ var init_shapes = __esm({
|
|
|
1249
1269
|
["rect", { x: "3", y: "14", width: "7", height: "7", rx: "1", key: "1bkyp8" }],
|
|
1250
1270
|
["circle", { cx: "17.5", cy: "17.5", r: "3.5", key: "w3z12y" }]
|
|
1251
1271
|
];
|
|
1252
|
-
Shapes = createLucideIcon("shapes",
|
|
1272
|
+
Shapes = createLucideIcon("shapes", __iconNode52);
|
|
1253
1273
|
}
|
|
1254
1274
|
});
|
|
1255
1275
|
|
|
1256
1276
|
// node_modules/lucide-react/dist/esm/icons/sliders-horizontal.js
|
|
1257
|
-
var
|
|
1277
|
+
var __iconNode53, SlidersHorizontal;
|
|
1258
1278
|
var init_sliders_horizontal = __esm({
|
|
1259
1279
|
"node_modules/lucide-react/dist/esm/icons/sliders-horizontal.js"() {
|
|
1260
1280
|
"use strict";
|
|
1261
1281
|
init_react_import();
|
|
1262
1282
|
init_createLucideIcon();
|
|
1263
|
-
|
|
1283
|
+
__iconNode53 = [
|
|
1264
1284
|
["path", { d: "M10 5H3", key: "1qgfaw" }],
|
|
1265
1285
|
["path", { d: "M12 19H3", key: "yhmn1j" }],
|
|
1266
1286
|
["path", { d: "M14 3v4", key: "1sua03" }],
|
|
@@ -1271,259 +1291,281 @@ var init_sliders_horizontal = __esm({
|
|
|
1271
1291
|
["path", { d: "M8 10v4", key: "tgpxqk" }],
|
|
1272
1292
|
["path", { d: "M8 12H3", key: "a7s4jb" }]
|
|
1273
1293
|
];
|
|
1274
|
-
SlidersHorizontal = createLucideIcon("sliders-horizontal",
|
|
1294
|
+
SlidersHorizontal = createLucideIcon("sliders-horizontal", __iconNode53);
|
|
1275
1295
|
}
|
|
1276
1296
|
});
|
|
1277
1297
|
|
|
1278
1298
|
// node_modules/lucide-react/dist/esm/icons/smartphone.js
|
|
1279
|
-
var
|
|
1299
|
+
var __iconNode54, Smartphone;
|
|
1280
1300
|
var init_smartphone = __esm({
|
|
1281
1301
|
"node_modules/lucide-react/dist/esm/icons/smartphone.js"() {
|
|
1282
1302
|
"use strict";
|
|
1283
1303
|
init_react_import();
|
|
1284
1304
|
init_createLucideIcon();
|
|
1285
|
-
|
|
1305
|
+
__iconNode54 = [
|
|
1286
1306
|
["rect", { width: "14", height: "20", x: "5", y: "2", rx: "2", ry: "2", key: "1yt0o3" }],
|
|
1287
1307
|
["path", { d: "M12 18h.01", key: "mhygvu" }]
|
|
1288
1308
|
];
|
|
1289
|
-
Smartphone = createLucideIcon("smartphone",
|
|
1309
|
+
Smartphone = createLucideIcon("smartphone", __iconNode54);
|
|
1290
1310
|
}
|
|
1291
1311
|
});
|
|
1292
1312
|
|
|
1293
1313
|
// node_modules/lucide-react/dist/esm/icons/square-code.js
|
|
1294
|
-
var
|
|
1314
|
+
var __iconNode55, SquareCode;
|
|
1295
1315
|
var init_square_code = __esm({
|
|
1296
1316
|
"node_modules/lucide-react/dist/esm/icons/square-code.js"() {
|
|
1297
1317
|
"use strict";
|
|
1298
1318
|
init_react_import();
|
|
1299
1319
|
init_createLucideIcon();
|
|
1300
|
-
|
|
1320
|
+
__iconNode55 = [
|
|
1301
1321
|
["path", { d: "m10 9-3 3 3 3", key: "1oro0q" }],
|
|
1302
1322
|
["path", { d: "m14 15 3-3-3-3", key: "bz13h7" }],
|
|
1303
1323
|
["rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", key: "h1oib" }]
|
|
1304
1324
|
];
|
|
1305
|
-
SquareCode = createLucideIcon("square-code",
|
|
1325
|
+
SquareCode = createLucideIcon("square-code", __iconNode55);
|
|
1306
1326
|
}
|
|
1307
1327
|
});
|
|
1308
1328
|
|
|
1309
1329
|
// node_modules/lucide-react/dist/esm/icons/strikethrough.js
|
|
1310
|
-
var
|
|
1330
|
+
var __iconNode56, Strikethrough;
|
|
1311
1331
|
var init_strikethrough = __esm({
|
|
1312
1332
|
"node_modules/lucide-react/dist/esm/icons/strikethrough.js"() {
|
|
1313
1333
|
"use strict";
|
|
1314
1334
|
init_react_import();
|
|
1315
1335
|
init_createLucideIcon();
|
|
1316
|
-
|
|
1336
|
+
__iconNode56 = [
|
|
1317
1337
|
["path", { d: "M16 4H9a3 3 0 0 0-2.83 4", key: "43sutm" }],
|
|
1318
1338
|
["path", { d: "M14 12a4 4 0 0 1 0 8H6", key: "nlfj13" }],
|
|
1319
1339
|
["line", { x1: "4", x2: "20", y1: "12", y2: "12", key: "1e0a9i" }]
|
|
1320
1340
|
];
|
|
1321
|
-
Strikethrough = createLucideIcon("strikethrough",
|
|
1341
|
+
Strikethrough = createLucideIcon("strikethrough", __iconNode56);
|
|
1342
|
+
}
|
|
1343
|
+
});
|
|
1344
|
+
|
|
1345
|
+
// node_modules/lucide-react/dist/esm/icons/sun.js
|
|
1346
|
+
var __iconNode57, Sun;
|
|
1347
|
+
var init_sun = __esm({
|
|
1348
|
+
"node_modules/lucide-react/dist/esm/icons/sun.js"() {
|
|
1349
|
+
"use strict";
|
|
1350
|
+
init_react_import();
|
|
1351
|
+
init_createLucideIcon();
|
|
1352
|
+
__iconNode57 = [
|
|
1353
|
+
["circle", { cx: "12", cy: "12", r: "4", key: "4exip2" }],
|
|
1354
|
+
["path", { d: "M12 2v2", key: "tus03m" }],
|
|
1355
|
+
["path", { d: "M12 20v2", key: "1lh1kg" }],
|
|
1356
|
+
["path", { d: "m4.93 4.93 1.41 1.41", key: "149t6j" }],
|
|
1357
|
+
["path", { d: "m17.66 17.66 1.41 1.41", key: "ptbguv" }],
|
|
1358
|
+
["path", { d: "M2 12h2", key: "1t8f8n" }],
|
|
1359
|
+
["path", { d: "M20 12h2", key: "1q8mjw" }],
|
|
1360
|
+
["path", { d: "m6.34 17.66-1.41 1.41", key: "1m8zz5" }],
|
|
1361
|
+
["path", { d: "m19.07 4.93-1.41 1.41", key: "1shlcs" }]
|
|
1362
|
+
];
|
|
1363
|
+
Sun = createLucideIcon("sun", __iconNode57);
|
|
1322
1364
|
}
|
|
1323
1365
|
});
|
|
1324
1366
|
|
|
1325
1367
|
// node_modules/lucide-react/dist/esm/icons/tablet.js
|
|
1326
|
-
var
|
|
1368
|
+
var __iconNode58, Tablet;
|
|
1327
1369
|
var init_tablet = __esm({
|
|
1328
1370
|
"node_modules/lucide-react/dist/esm/icons/tablet.js"() {
|
|
1329
1371
|
"use strict";
|
|
1330
1372
|
init_react_import();
|
|
1331
1373
|
init_createLucideIcon();
|
|
1332
|
-
|
|
1374
|
+
__iconNode58 = [
|
|
1333
1375
|
["rect", { width: "16", height: "20", x: "4", y: "2", rx: "2", ry: "2", key: "76otgf" }],
|
|
1334
1376
|
["line", { x1: "12", x2: "12.01", y1: "18", y2: "18", key: "1dp563" }]
|
|
1335
1377
|
];
|
|
1336
|
-
Tablet = createLucideIcon("tablet",
|
|
1378
|
+
Tablet = createLucideIcon("tablet", __iconNode58);
|
|
1337
1379
|
}
|
|
1338
1380
|
});
|
|
1339
1381
|
|
|
1340
1382
|
// node_modules/lucide-react/dist/esm/icons/text-align-center.js
|
|
1341
|
-
var
|
|
1383
|
+
var __iconNode59, TextAlignCenter;
|
|
1342
1384
|
var init_text_align_center = __esm({
|
|
1343
1385
|
"node_modules/lucide-react/dist/esm/icons/text-align-center.js"() {
|
|
1344
1386
|
"use strict";
|
|
1345
1387
|
init_react_import();
|
|
1346
1388
|
init_createLucideIcon();
|
|
1347
|
-
|
|
1389
|
+
__iconNode59 = [
|
|
1348
1390
|
["path", { d: "M21 5H3", key: "1fi0y6" }],
|
|
1349
1391
|
["path", { d: "M17 12H7", key: "16if0g" }],
|
|
1350
1392
|
["path", { d: "M19 19H5", key: "vjpgq2" }]
|
|
1351
1393
|
];
|
|
1352
|
-
TextAlignCenter = createLucideIcon("text-align-center",
|
|
1394
|
+
TextAlignCenter = createLucideIcon("text-align-center", __iconNode59);
|
|
1353
1395
|
}
|
|
1354
1396
|
});
|
|
1355
1397
|
|
|
1356
1398
|
// node_modules/lucide-react/dist/esm/icons/text-align-end.js
|
|
1357
|
-
var
|
|
1399
|
+
var __iconNode60, TextAlignEnd;
|
|
1358
1400
|
var init_text_align_end = __esm({
|
|
1359
1401
|
"node_modules/lucide-react/dist/esm/icons/text-align-end.js"() {
|
|
1360
1402
|
"use strict";
|
|
1361
1403
|
init_react_import();
|
|
1362
1404
|
init_createLucideIcon();
|
|
1363
|
-
|
|
1405
|
+
__iconNode60 = [
|
|
1364
1406
|
["path", { d: "M21 5H3", key: "1fi0y6" }],
|
|
1365
1407
|
["path", { d: "M21 12H9", key: "dn1m92" }],
|
|
1366
1408
|
["path", { d: "M21 19H7", key: "4cu937" }]
|
|
1367
1409
|
];
|
|
1368
|
-
TextAlignEnd = createLucideIcon("text-align-end",
|
|
1410
|
+
TextAlignEnd = createLucideIcon("text-align-end", __iconNode60);
|
|
1369
1411
|
}
|
|
1370
1412
|
});
|
|
1371
1413
|
|
|
1372
1414
|
// node_modules/lucide-react/dist/esm/icons/text-align-justify.js
|
|
1373
|
-
var
|
|
1415
|
+
var __iconNode61, TextAlignJustify;
|
|
1374
1416
|
var init_text_align_justify = __esm({
|
|
1375
1417
|
"node_modules/lucide-react/dist/esm/icons/text-align-justify.js"() {
|
|
1376
1418
|
"use strict";
|
|
1377
1419
|
init_react_import();
|
|
1378
1420
|
init_createLucideIcon();
|
|
1379
|
-
|
|
1421
|
+
__iconNode61 = [
|
|
1380
1422
|
["path", { d: "M3 5h18", key: "1u36vt" }],
|
|
1381
1423
|
["path", { d: "M3 12h18", key: "1i2n21" }],
|
|
1382
1424
|
["path", { d: "M3 19h18", key: "awlh7x" }]
|
|
1383
1425
|
];
|
|
1384
|
-
TextAlignJustify = createLucideIcon("text-align-justify",
|
|
1426
|
+
TextAlignJustify = createLucideIcon("text-align-justify", __iconNode61);
|
|
1385
1427
|
}
|
|
1386
1428
|
});
|
|
1387
1429
|
|
|
1388
1430
|
// node_modules/lucide-react/dist/esm/icons/text-align-start.js
|
|
1389
|
-
var
|
|
1431
|
+
var __iconNode62, TextAlignStart;
|
|
1390
1432
|
var init_text_align_start = __esm({
|
|
1391
1433
|
"node_modules/lucide-react/dist/esm/icons/text-align-start.js"() {
|
|
1392
1434
|
"use strict";
|
|
1393
1435
|
init_react_import();
|
|
1394
1436
|
init_createLucideIcon();
|
|
1395
|
-
|
|
1437
|
+
__iconNode62 = [
|
|
1396
1438
|
["path", { d: "M21 5H3", key: "1fi0y6" }],
|
|
1397
1439
|
["path", { d: "M15 12H3", key: "6jk70r" }],
|
|
1398
1440
|
["path", { d: "M17 19H3", key: "z6ezky" }]
|
|
1399
1441
|
];
|
|
1400
|
-
TextAlignStart = createLucideIcon("text-align-start",
|
|
1442
|
+
TextAlignStart = createLucideIcon("text-align-start", __iconNode62);
|
|
1401
1443
|
}
|
|
1402
1444
|
});
|
|
1403
1445
|
|
|
1404
1446
|
// node_modules/lucide-react/dist/esm/icons/toy-brick.js
|
|
1405
|
-
var
|
|
1447
|
+
var __iconNode63, ToyBrick;
|
|
1406
1448
|
var init_toy_brick = __esm({
|
|
1407
1449
|
"node_modules/lucide-react/dist/esm/icons/toy-brick.js"() {
|
|
1408
1450
|
"use strict";
|
|
1409
1451
|
init_react_import();
|
|
1410
1452
|
init_createLucideIcon();
|
|
1411
|
-
|
|
1453
|
+
__iconNode63 = [
|
|
1412
1454
|
["rect", { width: "18", height: "12", x: "3", y: "8", rx: "1", key: "158fvp" }],
|
|
1413
1455
|
["path", { d: "M10 8V5c0-.6-.4-1-1-1H6a1 1 0 0 0-1 1v3", key: "s0042v" }],
|
|
1414
1456
|
["path", { d: "M19 8V5c0-.6-.4-1-1-1h-3a1 1 0 0 0-1 1v3", key: "9wmeh2" }]
|
|
1415
1457
|
];
|
|
1416
|
-
ToyBrick = createLucideIcon("toy-brick",
|
|
1458
|
+
ToyBrick = createLucideIcon("toy-brick", __iconNode63);
|
|
1417
1459
|
}
|
|
1418
1460
|
});
|
|
1419
1461
|
|
|
1420
1462
|
// node_modules/lucide-react/dist/esm/icons/trash.js
|
|
1421
|
-
var
|
|
1463
|
+
var __iconNode64, Trash;
|
|
1422
1464
|
var init_trash = __esm({
|
|
1423
1465
|
"node_modules/lucide-react/dist/esm/icons/trash.js"() {
|
|
1424
1466
|
"use strict";
|
|
1425
1467
|
init_react_import();
|
|
1426
1468
|
init_createLucideIcon();
|
|
1427
|
-
|
|
1469
|
+
__iconNode64 = [
|
|
1428
1470
|
["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6", key: "miytrc" }],
|
|
1429
1471
|
["path", { d: "M3 6h18", key: "d0wm0j" }],
|
|
1430
1472
|
["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2", key: "e791ji" }]
|
|
1431
1473
|
];
|
|
1432
|
-
Trash = createLucideIcon("trash",
|
|
1474
|
+
Trash = createLucideIcon("trash", __iconNode64);
|
|
1433
1475
|
}
|
|
1434
1476
|
});
|
|
1435
1477
|
|
|
1436
1478
|
// node_modules/lucide-react/dist/esm/icons/type.js
|
|
1437
|
-
var
|
|
1479
|
+
var __iconNode65, Type;
|
|
1438
1480
|
var init_type = __esm({
|
|
1439
1481
|
"node_modules/lucide-react/dist/esm/icons/type.js"() {
|
|
1440
1482
|
"use strict";
|
|
1441
1483
|
init_react_import();
|
|
1442
1484
|
init_createLucideIcon();
|
|
1443
|
-
|
|
1485
|
+
__iconNode65 = [
|
|
1444
1486
|
["path", { d: "M12 4v16", key: "1654pz" }],
|
|
1445
1487
|
["path", { d: "M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2", key: "e0r10z" }],
|
|
1446
1488
|
["path", { d: "M9 20h6", key: "s66wpe" }]
|
|
1447
1489
|
];
|
|
1448
|
-
Type = createLucideIcon("type",
|
|
1490
|
+
Type = createLucideIcon("type", __iconNode65);
|
|
1449
1491
|
}
|
|
1450
1492
|
});
|
|
1451
1493
|
|
|
1452
1494
|
// node_modules/lucide-react/dist/esm/icons/underline.js
|
|
1453
|
-
var
|
|
1495
|
+
var __iconNode66, Underline;
|
|
1454
1496
|
var init_underline = __esm({
|
|
1455
1497
|
"node_modules/lucide-react/dist/esm/icons/underline.js"() {
|
|
1456
1498
|
"use strict";
|
|
1457
1499
|
init_react_import();
|
|
1458
1500
|
init_createLucideIcon();
|
|
1459
|
-
|
|
1501
|
+
__iconNode66 = [
|
|
1460
1502
|
["path", { d: "M6 4v6a6 6 0 0 0 12 0V4", key: "9kb039" }],
|
|
1461
1503
|
["line", { x1: "4", x2: "20", y1: "20", y2: "20", key: "nun2al" }]
|
|
1462
1504
|
];
|
|
1463
|
-
Underline = createLucideIcon("underline",
|
|
1505
|
+
Underline = createLucideIcon("underline", __iconNode66);
|
|
1464
1506
|
}
|
|
1465
1507
|
});
|
|
1466
1508
|
|
|
1467
1509
|
// node_modules/lucide-react/dist/esm/icons/undo-2.js
|
|
1468
|
-
var
|
|
1510
|
+
var __iconNode67, Undo2;
|
|
1469
1511
|
var init_undo_2 = __esm({
|
|
1470
1512
|
"node_modules/lucide-react/dist/esm/icons/undo-2.js"() {
|
|
1471
1513
|
"use strict";
|
|
1472
1514
|
init_react_import();
|
|
1473
1515
|
init_createLucideIcon();
|
|
1474
|
-
|
|
1516
|
+
__iconNode67 = [
|
|
1475
1517
|
["path", { d: "M9 14 4 9l5-5", key: "102s5s" }],
|
|
1476
1518
|
["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" }]
|
|
1477
1519
|
];
|
|
1478
|
-
Undo2 = createLucideIcon("undo-2",
|
|
1520
|
+
Undo2 = createLucideIcon("undo-2", __iconNode67);
|
|
1479
1521
|
}
|
|
1480
1522
|
});
|
|
1481
1523
|
|
|
1482
1524
|
// node_modules/lucide-react/dist/esm/icons/x.js
|
|
1483
|
-
var
|
|
1525
|
+
var __iconNode68, X;
|
|
1484
1526
|
var init_x = __esm({
|
|
1485
1527
|
"node_modules/lucide-react/dist/esm/icons/x.js"() {
|
|
1486
1528
|
"use strict";
|
|
1487
1529
|
init_react_import();
|
|
1488
1530
|
init_createLucideIcon();
|
|
1489
|
-
|
|
1531
|
+
__iconNode68 = [
|
|
1490
1532
|
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
1491
1533
|
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
1492
1534
|
];
|
|
1493
|
-
X = createLucideIcon("x",
|
|
1535
|
+
X = createLucideIcon("x", __iconNode68);
|
|
1494
1536
|
}
|
|
1495
1537
|
});
|
|
1496
1538
|
|
|
1497
1539
|
// node_modules/lucide-react/dist/esm/icons/zoom-in.js
|
|
1498
|
-
var
|
|
1540
|
+
var __iconNode69, ZoomIn;
|
|
1499
1541
|
var init_zoom_in = __esm({
|
|
1500
1542
|
"node_modules/lucide-react/dist/esm/icons/zoom-in.js"() {
|
|
1501
1543
|
"use strict";
|
|
1502
1544
|
init_react_import();
|
|
1503
1545
|
init_createLucideIcon();
|
|
1504
|
-
|
|
1546
|
+
__iconNode69 = [
|
|
1505
1547
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
1506
1548
|
["line", { x1: "21", x2: "16.65", y1: "21", y2: "16.65", key: "13gj7c" }],
|
|
1507
1549
|
["line", { x1: "11", x2: "11", y1: "8", y2: "14", key: "1vmskp" }],
|
|
1508
1550
|
["line", { x1: "8", x2: "14", y1: "11", y2: "11", key: "durymu" }]
|
|
1509
1551
|
];
|
|
1510
|
-
ZoomIn = createLucideIcon("zoom-in",
|
|
1552
|
+
ZoomIn = createLucideIcon("zoom-in", __iconNode69);
|
|
1511
1553
|
}
|
|
1512
1554
|
});
|
|
1513
1555
|
|
|
1514
1556
|
// node_modules/lucide-react/dist/esm/icons/zoom-out.js
|
|
1515
|
-
var
|
|
1557
|
+
var __iconNode70, ZoomOut;
|
|
1516
1558
|
var init_zoom_out = __esm({
|
|
1517
1559
|
"node_modules/lucide-react/dist/esm/icons/zoom-out.js"() {
|
|
1518
1560
|
"use strict";
|
|
1519
1561
|
init_react_import();
|
|
1520
1562
|
init_createLucideIcon();
|
|
1521
|
-
|
|
1563
|
+
__iconNode70 = [
|
|
1522
1564
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
1523
1565
|
["line", { x1: "21", x2: "16.65", y1: "21", y2: "16.65", key: "13gj7c" }],
|
|
1524
1566
|
["line", { x1: "8", x2: "14", y1: "11", y2: "11", key: "durymu" }]
|
|
1525
1567
|
];
|
|
1526
|
-
ZoomOut = createLucideIcon("zoom-out",
|
|
1568
|
+
ZoomOut = createLucideIcon("zoom-out", __iconNode70);
|
|
1527
1569
|
}
|
|
1528
1570
|
});
|
|
1529
1571
|
|
|
@@ -1581,6 +1623,7 @@ var init_lucide_react = __esm({
|
|
|
1581
1623
|
init_minimize_2();
|
|
1582
1624
|
init_minus();
|
|
1583
1625
|
init_monitor();
|
|
1626
|
+
init_moon();
|
|
1584
1627
|
init_panel_right();
|
|
1585
1628
|
init_plus();
|
|
1586
1629
|
init_quote();
|
|
@@ -1591,6 +1634,7 @@ var init_lucide_react = __esm({
|
|
|
1591
1634
|
init_sliders_horizontal();
|
|
1592
1635
|
init_smartphone();
|
|
1593
1636
|
init_strikethrough();
|
|
1637
|
+
init_sun();
|
|
1594
1638
|
init_tablet();
|
|
1595
1639
|
init_toy_brick();
|
|
1596
1640
|
init_trash();
|
|
@@ -11058,6 +11102,7 @@ init_get_class_name_factory();
|
|
|
11058
11102
|
var import_react76 = require("react");
|
|
11059
11103
|
init_store2();
|
|
11060
11104
|
init_lucide_react();
|
|
11105
|
+
var import_react_virtual2 = require("@tanstack/react-virtual");
|
|
11061
11106
|
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
11062
11107
|
var getClassName28 = get_class_name_factory_default("ComponentList", styles_module_default19);
|
|
11063
11108
|
var ComponentListItem = ({
|
|
@@ -11087,7 +11132,16 @@ var ComponentList = ({
|
|
|
11087
11132
|
const config = useAppStore((s) => s.config);
|
|
11088
11133
|
const setUi = useAppStore((s) => s.setUi);
|
|
11089
11134
|
const componentList = useAppStore((s) => s.state.ui.componentList);
|
|
11135
|
+
const parentRef = (0, import_react76.useRef)(null);
|
|
11090
11136
|
const { expanded = true } = componentList[id] || {};
|
|
11137
|
+
const components = Object.keys(config.components);
|
|
11138
|
+
const virtualizer = (0, import_react_virtual2.useVirtualizer)({
|
|
11139
|
+
count: components.length,
|
|
11140
|
+
getScrollElement: () => parentRef.current,
|
|
11141
|
+
estimateSize: () => 40,
|
|
11142
|
+
// Estimated height of each item
|
|
11143
|
+
overscan: 5
|
|
11144
|
+
});
|
|
11091
11145
|
return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: getClassName28({ isExpanded: expanded }), children: [
|
|
11092
11146
|
title && /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
|
|
11093
11147
|
"button",
|
|
@@ -11103,7 +11157,6 @@ var ComponentList = ({
|
|
|
11103
11157
|
}
|
|
11104
11158
|
}
|
|
11105
11159
|
}),
|
|
11106
|
-
title: expanded ? `Collapse${title ? ` ${title}` : ""}` : `Expand${title ? ` ${title}` : ""}`,
|
|
11107
11160
|
children: [
|
|
11108
11161
|
/* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
11109
11162
|
id.toLowerCase().includes("hero") && /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(LayoutTemplate, { size: 12, strokeWidth: 2.5 }),
|
|
@@ -11118,16 +11171,52 @@ var ComponentList = ({
|
|
|
11118
11171
|
]
|
|
11119
11172
|
}
|
|
11120
11173
|
),
|
|
11121
|
-
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
11122
|
-
|
|
11123
|
-
|
|
11124
|
-
|
|
11125
|
-
|
|
11126
|
-
|
|
11174
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
11175
|
+
"div",
|
|
11176
|
+
{
|
|
11177
|
+
ref: parentRef,
|
|
11178
|
+
className: getClassName28("content"),
|
|
11179
|
+
style: {
|
|
11180
|
+
maxHeight: expanded ? "500px" : "0px",
|
|
11181
|
+
overflowY: "auto",
|
|
11182
|
+
transition: "max-height 0.3s ease-in-out"
|
|
11127
11183
|
},
|
|
11128
|
-
|
|
11129
|
-
|
|
11130
|
-
|
|
11184
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
11185
|
+
"div",
|
|
11186
|
+
{
|
|
11187
|
+
style: {
|
|
11188
|
+
height: `${virtualizer.getTotalSize()}px`,
|
|
11189
|
+
width: "100%",
|
|
11190
|
+
position: "relative"
|
|
11191
|
+
},
|
|
11192
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Drawer, { children: children || virtualizer.getVirtualItems().map((virtualItem) => {
|
|
11193
|
+
const componentKey = components[virtualItem.index];
|
|
11194
|
+
return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
11195
|
+
"div",
|
|
11196
|
+
{
|
|
11197
|
+
style: {
|
|
11198
|
+
position: "absolute",
|
|
11199
|
+
top: 0,
|
|
11200
|
+
left: 0,
|
|
11201
|
+
width: "100%",
|
|
11202
|
+
height: `${virtualItem.size}px`,
|
|
11203
|
+
transform: `translateY(${virtualItem.start}px)`
|
|
11204
|
+
},
|
|
11205
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
11206
|
+
ComponentListItem,
|
|
11207
|
+
{
|
|
11208
|
+
label: config.components[componentKey]["label"] ?? componentKey,
|
|
11209
|
+
name: componentKey
|
|
11210
|
+
}
|
|
11211
|
+
)
|
|
11212
|
+
},
|
|
11213
|
+
virtualItem.key
|
|
11214
|
+
);
|
|
11215
|
+
}) })
|
|
11216
|
+
}
|
|
11217
|
+
)
|
|
11218
|
+
}
|
|
11219
|
+
)
|
|
11131
11220
|
] });
|
|
11132
11221
|
};
|
|
11133
11222
|
ComponentList.Item = ComponentListItem;
|
|
@@ -11759,7 +11848,7 @@ init_root_droppable_id();
|
|
|
11759
11848
|
var import_react82 = require("react");
|
|
11760
11849
|
init_store2();
|
|
11761
11850
|
init_use_context_store();
|
|
11762
|
-
var
|
|
11851
|
+
var import_react_virtual3 = require("@tanstack/react-virtual");
|
|
11763
11852
|
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
11764
11853
|
var getClassName30 = get_class_name_factory_default("LayerTree", styles_module_default21);
|
|
11765
11854
|
var getClassNameLayer = get_class_name_factory_default("Layer", styles_module_default21);
|
|
@@ -12029,7 +12118,7 @@ var VirtualizedLayerTreeItems = ({
|
|
|
12029
12118
|
tree
|
|
12030
12119
|
}) => {
|
|
12031
12120
|
const listRef = (0, import_react82.useRef)(null);
|
|
12032
|
-
const virtualizer = (0,
|
|
12121
|
+
const virtualizer = (0, import_react_virtual3.useVirtualizer)({
|
|
12033
12122
|
count: tree.items.length,
|
|
12034
12123
|
estimateSize: (index) => getEstimatedRowHeight(tree.items[index].itemId),
|
|
12035
12124
|
getItemKey: (index) => tree.items[index].itemId,
|
|
@@ -13540,7 +13629,8 @@ var styles_module_default25 = { "CredBuildHeader": "_CredBuildHeader_qzv5u_1", "
|
|
|
13540
13629
|
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
13541
13630
|
var getClassName33 = get_class_name_factory_default("CredBuildHeader", styles_module_default25);
|
|
13542
13631
|
var HeaderInner = ({
|
|
13543
|
-
hidePlugins
|
|
13632
|
+
hidePlugins,
|
|
13633
|
+
theme
|
|
13544
13634
|
}) => {
|
|
13545
13635
|
const {
|
|
13546
13636
|
onPublish,
|
|
@@ -13666,16 +13756,39 @@ var HeaderInner = ({
|
|
|
13666
13756
|
}),
|
|
13667
13757
|
children: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: getClassName33("inner"), children: [
|
|
13668
13758
|
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: getClassName33("leftActions"), children: [
|
|
13669
|
-
/* @__PURE__ */ (0, import_jsx_runtime85.
|
|
13670
|
-
|
|
13671
|
-
|
|
13672
|
-
|
|
13673
|
-
|
|
13674
|
-
|
|
13675
|
-
|
|
13676
|
-
|
|
13677
|
-
|
|
13678
|
-
|
|
13759
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { style: { marginRight: "8px", display: "flex", gap: "8px", alignItems: "center" }, children: [
|
|
13760
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
13761
|
+
Button,
|
|
13762
|
+
{
|
|
13763
|
+
href: "/dashboard",
|
|
13764
|
+
variant: "secondary",
|
|
13765
|
+
size: "medium",
|
|
13766
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(LayoutDashboard, { size: 14 }),
|
|
13767
|
+
children: "Dashboard"
|
|
13768
|
+
}
|
|
13769
|
+
),
|
|
13770
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
13771
|
+
IconButton,
|
|
13772
|
+
{
|
|
13773
|
+
type: "button",
|
|
13774
|
+
onClick: () => {
|
|
13775
|
+
const editorEl = document.querySelector(".CredBuild");
|
|
13776
|
+
if (!editorEl) return;
|
|
13777
|
+
const isDark = editorEl.classList.contains("dark");
|
|
13778
|
+
const newTheme = isDark ? "light" : "dark";
|
|
13779
|
+
if (isDark) {
|
|
13780
|
+
editorEl.classList.remove("dark");
|
|
13781
|
+
} else {
|
|
13782
|
+
editorEl.classList.add("dark");
|
|
13783
|
+
}
|
|
13784
|
+
localStorage.setItem("credbuild-theme", newTheme);
|
|
13785
|
+
window.dispatchEvent(new CustomEvent("credbuild-theme-change", { detail: newTheme }));
|
|
13786
|
+
},
|
|
13787
|
+
title: "Toggle Theme",
|
|
13788
|
+
children: theme === "dark" ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Sun, { size: 16 }) : /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Moon, { size: 16 })
|
|
13789
|
+
}
|
|
13790
|
+
)
|
|
13791
|
+
] }),
|
|
13679
13792
|
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: getClassName33("toggle"), children: [
|
|
13680
13793
|
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: getClassName33("leftSideBarToggle"), children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
13681
13794
|
IconButton,
|
|
@@ -14588,8 +14701,23 @@ var Layout = ({ children }) => {
|
|
|
14588
14701
|
[overrides]
|
|
14589
14702
|
);
|
|
14590
14703
|
const [mounted, setMounted] = (0, import_react99.useState)(false);
|
|
14704
|
+
const [theme, setTheme] = (0, import_react99.useState)("dark");
|
|
14591
14705
|
(0, import_react99.useEffect)(() => {
|
|
14592
14706
|
setMounted(true);
|
|
14707
|
+
const savedTheme = localStorage.getItem("credbuild-theme");
|
|
14708
|
+
if (savedTheme) {
|
|
14709
|
+
setTheme(savedTheme);
|
|
14710
|
+
}
|
|
14711
|
+
const handleThemeToggle = (e) => {
|
|
14712
|
+
const newTheme = e.detail || localStorage.getItem("credbuild-theme");
|
|
14713
|
+
if (newTheme) setTheme(newTheme);
|
|
14714
|
+
};
|
|
14715
|
+
window.addEventListener("credbuild-theme-change", handleThemeToggle);
|
|
14716
|
+
window.addEventListener("storage", handleThemeToggle);
|
|
14717
|
+
return () => {
|
|
14718
|
+
window.removeEventListener("credbuild-theme-change", handleThemeToggle);
|
|
14719
|
+
window.removeEventListener("storage", handleThemeToggle);
|
|
14720
|
+
};
|
|
14593
14721
|
}, []);
|
|
14594
14722
|
const ready = useAppStore((s) => s.status === "READY");
|
|
14595
14723
|
useMonitorHotkeys();
|
|
@@ -14676,7 +14804,7 @@ var Layout = ({ children }) => {
|
|
|
14676
14804
|
return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(
|
|
14677
14805
|
"div",
|
|
14678
14806
|
{
|
|
14679
|
-
className: `CredBuild ${getClassName43({
|
|
14807
|
+
className: `CredBuild ${theme === "dark" ? "dark" : ""} ${getClassName43({
|
|
14680
14808
|
hidePlugins: hasLegacySideBarPlugin
|
|
14681
14809
|
})}`,
|
|
14682
14810
|
id: instanceId,
|
|
@@ -14700,7 +14828,7 @@ var Layout = ({ children }) => {
|
|
|
14700
14828
|
className: getLayoutClassName("inner"),
|
|
14701
14829
|
style: layoutOptions,
|
|
14702
14830
|
children: [
|
|
14703
|
-
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: getLayoutClassName("header"), children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Header, { hidePlugins: hasLegacySideBarPlugin }) }),
|
|
14831
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: getLayoutClassName("header"), children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Header, { theme, hidePlugins: hasLegacySideBarPlugin }) }),
|
|
14704
14832
|
/* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(
|
|
14705
14833
|
Sidebar,
|
|
14706
14834
|
{
|
|
@@ -15305,6 +15433,7 @@ lucide-react/dist/esm/icons/megaphone.js:
|
|
|
15305
15433
|
lucide-react/dist/esm/icons/minimize-2.js:
|
|
15306
15434
|
lucide-react/dist/esm/icons/minus.js:
|
|
15307
15435
|
lucide-react/dist/esm/icons/monitor.js:
|
|
15436
|
+
lucide-react/dist/esm/icons/moon.js:
|
|
15308
15437
|
lucide-react/dist/esm/icons/panel-left.js:
|
|
15309
15438
|
lucide-react/dist/esm/icons/panel-right.js:
|
|
15310
15439
|
lucide-react/dist/esm/icons/plus.js:
|
|
@@ -15318,6 +15447,7 @@ lucide-react/dist/esm/icons/sliders-horizontal.js:
|
|
|
15318
15447
|
lucide-react/dist/esm/icons/smartphone.js:
|
|
15319
15448
|
lucide-react/dist/esm/icons/square-code.js:
|
|
15320
15449
|
lucide-react/dist/esm/icons/strikethrough.js:
|
|
15450
|
+
lucide-react/dist/esm/icons/sun.js:
|
|
15321
15451
|
lucide-react/dist/esm/icons/tablet.js:
|
|
15322
15452
|
lucide-react/dist/esm/icons/text-align-center.js:
|
|
15323
15453
|
lucide-react/dist/esm/icons/text-align-end.js:
|