@sonicjs-cms/core 2.17.0 → 2.17.2

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 (47) hide show
  1. package/dist/{chunk-J5MYHM6Z.cjs → chunk-2VY2G7OR.cjs} +125 -127
  2. package/dist/chunk-2VY2G7OR.cjs.map +1 -0
  3. package/dist/{chunk-4HCUJ3MG.cjs → chunk-FXWF5D5V.cjs} +2 -2
  4. package/dist/{chunk-4HCUJ3MG.cjs.map → chunk-FXWF5D5V.cjs.map} +1 -1
  5. package/dist/{chunk-6F57Z6SD.js → chunk-I2Z72YTD.js} +54 -3
  6. package/dist/chunk-I2Z72YTD.js.map +1 -0
  7. package/dist/{chunk-NMJT6BJR.js → chunk-ITGOUYVN.js} +2 -2
  8. package/dist/{chunk-NMJT6BJR.js.map → chunk-ITGOUYVN.js.map} +1 -1
  9. package/dist/{chunk-S7K4FRJ2.js → chunk-K6QVIOTA.js} +4 -4
  10. package/dist/{chunk-S7K4FRJ2.js.map → chunk-K6QVIOTA.js.map} +1 -1
  11. package/dist/{chunk-LZJLWW7E.js → chunk-KJSZMIBF.js} +11 -13
  12. package/dist/chunk-KJSZMIBF.js.map +1 -0
  13. package/dist/{chunk-FSWP4FBW.cjs → chunk-LVGB5UU5.cjs} +2 -2
  14. package/dist/{chunk-FSWP4FBW.cjs.map → chunk-LVGB5UU5.cjs.map} +1 -1
  15. package/dist/{chunk-FDXNIZ6N.js → chunk-NAYUXSNR.js} +2 -2
  16. package/dist/{chunk-FDXNIZ6N.js.map → chunk-NAYUXSNR.js.map} +1 -1
  17. package/dist/{chunk-RE3NVA23.cjs → chunk-P4RAIX7B.cjs} +8 -8
  18. package/dist/{chunk-RE3NVA23.cjs.map → chunk-P4RAIX7B.cjs.map} +1 -1
  19. package/dist/{chunk-QBLBIAVZ.cjs → chunk-Q3W6LCEN.cjs} +54 -3
  20. package/dist/chunk-Q3W6LCEN.cjs.map +1 -0
  21. package/dist/index.cjs +140 -140
  22. package/dist/index.d.cts +1 -1
  23. package/dist/index.d.ts +1 -1
  24. package/dist/index.js +9 -9
  25. package/dist/middleware.cjs +32 -32
  26. package/dist/middleware.js +3 -3
  27. package/dist/migrations-IFZLGVV3.js +4 -0
  28. package/dist/{migrations-HQI62CAO.js.map → migrations-IFZLGVV3.js.map} +1 -1
  29. package/dist/migrations-Q7C6F2RM.cjs +13 -0
  30. package/dist/{migrations-ZYPYVSXI.cjs.map → migrations-Q7C6F2RM.cjs.map} +1 -1
  31. package/dist/routes.cjs +28 -28
  32. package/dist/routes.js +5 -5
  33. package/dist/services.cjs +23 -23
  34. package/dist/services.js +2 -2
  35. package/dist/utils.cjs +11 -11
  36. package/dist/utils.d.cts +1 -1
  37. package/dist/utils.d.ts +1 -1
  38. package/dist/utils.js +1 -1
  39. package/dist/{version-ChpccWQ1.d.cts → version-DFTyGfIH.d.cts} +9 -1
  40. package/dist/{version-ChpccWQ1.d.ts → version-DFTyGfIH.d.ts} +9 -1
  41. package/package.json +1 -1
  42. package/dist/chunk-6F57Z6SD.js.map +0 -1
  43. package/dist/chunk-J5MYHM6Z.cjs.map +0 -1
  44. package/dist/chunk-LZJLWW7E.js.map +0 -1
  45. package/dist/chunk-QBLBIAVZ.cjs.map +0 -1
  46. package/dist/migrations-HQI62CAO.js +0 -4
  47. package/dist/migrations-ZYPYVSXI.cjs +0 -13
package/dist/index.cjs CHANGED
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var chunkJ5MYHM6Z_cjs = require('./chunk-J5MYHM6Z.cjs');
3
+ var chunk2VY2G7OR_cjs = require('./chunk-2VY2G7OR.cjs');
4
4
  var chunkWAEQXGCX_cjs = require('./chunk-WAEQXGCX.cjs');
5
- var chunkRE3NVA23_cjs = require('./chunk-RE3NVA23.cjs');
6
- var chunk4HCUJ3MG_cjs = require('./chunk-4HCUJ3MG.cjs');
7
- var chunkFSWP4FBW_cjs = require('./chunk-FSWP4FBW.cjs');
5
+ var chunkP4RAIX7B_cjs = require('./chunk-P4RAIX7B.cjs');
6
+ var chunkFXWF5D5V_cjs = require('./chunk-FXWF5D5V.cjs');
7
+ var chunkLVGB5UU5_cjs = require('./chunk-LVGB5UU5.cjs');
8
8
  var chunk4ZSNJDLS_cjs = require('./chunk-4ZSNJDLS.cjs');
9
9
  var chunkOHYBNCVL_cjs = require('./chunk-OHYBNCVL.cjs');
10
10
  var chunkUYJ6TJHX_cjs = require('./chunk-UYJ6TJHX.cjs');
11
11
  var chunkABB34XUS_cjs = require('./chunk-ABB34XUS.cjs');
12
12
  var chunk635JAMSE_cjs = require('./chunk-635JAMSE.cjs');
13
- var chunkQBLBIAVZ_cjs = require('./chunk-QBLBIAVZ.cjs');
13
+ var chunkQ3W6LCEN_cjs = require('./chunk-Q3W6LCEN.cjs');
14
14
  require('./chunk-P3XDZL6Q.cjs');
15
15
  var chunkRCQ2HIQD_cjs = require('./chunk-RCQ2HIQD.cjs');
16
16
  var chunkMNWKYY5E_cjs = require('./chunk-MNWKYY5E.cjs');
@@ -560,7 +560,7 @@ function formatCellValue(value) {
560
560
  // src/plugins/core-plugins/database-tools-plugin/admin-routes.ts
561
561
  function createDatabaseToolsAdminRoutes() {
562
562
  const router3 = new hono.Hono();
563
- router3.use("*", chunkRE3NVA23_cjs.requireAuth());
563
+ router3.use("*", chunkP4RAIX7B_cjs.requireAuth());
564
564
  router3.get("/api/stats", async (c) => {
565
565
  try {
566
566
  const user = c.get("user");
@@ -1939,8 +1939,8 @@ function createOTPLoginPlugin() {
1939
1939
  error: "Account is deactivated"
1940
1940
  }, 403);
1941
1941
  }
1942
- const tokenTtl = await chunkRE3NVA23_cjs.getJwtExpirySecondsFromDb(db, c.env);
1943
- const token = await chunkRE3NVA23_cjs.AuthManager.generateToken(user.id, user.email, user.role, c.env.JWT_SECRET, tokenTtl);
1942
+ const tokenTtl = await chunkP4RAIX7B_cjs.getJwtExpirySecondsFromDb(db, c.env);
1943
+ const token = await chunkP4RAIX7B_cjs.AuthManager.generateToken(user.id, user.email, user.role, c.env.JWT_SECRET, tokenTtl);
1944
1944
  cookie.setCookie(c, "auth_token", token, {
1945
1945
  httpOnly: true,
1946
1946
  secure: true,
@@ -2409,15 +2409,15 @@ function createOAuthProvidersPlugin() {
2409
2409
  if (!user || !user.is_active) {
2410
2410
  return c.redirect("/auth/login?error=Account is deactivated");
2411
2411
  }
2412
- const tokenTtl2 = await chunkRE3NVA23_cjs.getJwtExpirySecondsFromDb(c.env.DB, c.env);
2413
- const jwt2 = await chunkRE3NVA23_cjs.AuthManager.generateToken(
2412
+ const tokenTtl2 = await chunkP4RAIX7B_cjs.getJwtExpirySecondsFromDb(c.env.DB, c.env);
2413
+ const jwt2 = await chunkP4RAIX7B_cjs.AuthManager.generateToken(
2414
2414
  user.id,
2415
2415
  user.email,
2416
2416
  user.role,
2417
2417
  c.env.JWT_SECRET,
2418
2418
  tokenTtl2
2419
2419
  );
2420
- chunkRE3NVA23_cjs.AuthManager.setAuthCookie(c, jwt2, { sameSite: "Lax", maxAge: tokenTtl2 });
2420
+ chunkP4RAIX7B_cjs.AuthManager.setAuthCookie(c, jwt2, { sameSite: "Lax", maxAge: tokenTtl2 });
2421
2421
  return c.redirect("/admin");
2422
2422
  }
2423
2423
  const existingUser = await oauthService.findUserByEmail(profile.email);
@@ -2434,15 +2434,15 @@ function createOAuthProvidersPlugin() {
2434
2434
  tokenExpiresAt: tokenExpiresAt ?? void 0,
2435
2435
  profileData: JSON.stringify(profile)
2436
2436
  });
2437
- const tokenTtl2 = await chunkRE3NVA23_cjs.getJwtExpirySecondsFromDb(c.env.DB, c.env);
2438
- const jwt2 = await chunkRE3NVA23_cjs.AuthManager.generateToken(
2437
+ const tokenTtl2 = await chunkP4RAIX7B_cjs.getJwtExpirySecondsFromDb(c.env.DB, c.env);
2438
+ const jwt2 = await chunkP4RAIX7B_cjs.AuthManager.generateToken(
2439
2439
  existingUser.id,
2440
2440
  existingUser.email,
2441
2441
  existingUser.role,
2442
2442
  c.env.JWT_SECRET,
2443
2443
  tokenTtl2
2444
2444
  );
2445
- chunkRE3NVA23_cjs.AuthManager.setAuthCookie(c, jwt2, { sameSite: "Lax", maxAge: tokenTtl2 });
2445
+ chunkP4RAIX7B_cjs.AuthManager.setAuthCookie(c, jwt2, { sameSite: "Lax", maxAge: tokenTtl2 });
2446
2446
  return c.redirect("/admin");
2447
2447
  }
2448
2448
  const newUserId = await oauthService.createUserFromOAuth(profile);
@@ -2455,15 +2455,15 @@ function createOAuthProvidersPlugin() {
2455
2455
  tokenExpiresAt: tokenExpiresAt ?? void 0,
2456
2456
  profileData: JSON.stringify(profile)
2457
2457
  });
2458
- const tokenTtl = await chunkRE3NVA23_cjs.getJwtExpirySecondsFromDb(c.env.DB, c.env);
2459
- const jwt = await chunkRE3NVA23_cjs.AuthManager.generateToken(
2458
+ const tokenTtl = await chunkP4RAIX7B_cjs.getJwtExpirySecondsFromDb(c.env.DB, c.env);
2459
+ const jwt = await chunkP4RAIX7B_cjs.AuthManager.generateToken(
2460
2460
  newUserId,
2461
2461
  profile.email.toLowerCase(),
2462
2462
  "viewer",
2463
2463
  c.env.JWT_SECRET,
2464
2464
  tokenTtl
2465
2465
  );
2466
- chunkRE3NVA23_cjs.AuthManager.setAuthCookie(c, jwt, { sameSite: "Lax", maxAge: tokenTtl });
2466
+ chunkP4RAIX7B_cjs.AuthManager.setAuthCookie(c, jwt, { sameSite: "Lax", maxAge: tokenTtl });
2467
2467
  return c.redirect("/admin");
2468
2468
  } catch (error) {
2469
2469
  console.error("OAuth callback error:", error);
@@ -4156,7 +4156,7 @@ function renderSettingsPage(data) {
4156
4156
 
4157
4157
  // src/plugins/core-plugins/ai-search-plugin/routes/admin.ts
4158
4158
  var adminRoutes = new hono.Hono();
4159
- adminRoutes.use("*", chunkRE3NVA23_cjs.requireAuth());
4159
+ adminRoutes.use("*", chunkP4RAIX7B_cjs.requireAuth());
4160
4160
  adminRoutes.get("/", async (c) => {
4161
4161
  try {
4162
4162
  const user = c.get("user");
@@ -4557,15 +4557,15 @@ function createMagicLinkAuthPlugin() {
4557
4557
  SET used = 1, used_at = ?
4558
4558
  WHERE id = ?
4559
4559
  `).bind(Date.now(), magicLink.id).run();
4560
- const tokenTtl = await chunkRE3NVA23_cjs.getJwtExpirySecondsFromDb(c.env.DB, c.env);
4561
- const jwtToken = await chunkRE3NVA23_cjs.AuthManager.generateToken(
4560
+ const tokenTtl = await chunkP4RAIX7B_cjs.getJwtExpirySecondsFromDb(c.env.DB, c.env);
4561
+ const jwtToken = await chunkP4RAIX7B_cjs.AuthManager.generateToken(
4562
4562
  user.id,
4563
4563
  user.email,
4564
4564
  user.role,
4565
4565
  c.env.JWT_SECRET,
4566
4566
  tokenTtl
4567
4567
  );
4568
- chunkRE3NVA23_cjs.AuthManager.setAuthCookie(c, jwtToken, { maxAge: tokenTtl });
4568
+ chunkP4RAIX7B_cjs.AuthManager.setAuthCookie(c, jwtToken, { maxAge: tokenTtl });
4569
4569
  await db.prepare(`
4570
4570
  UPDATE users SET last_login_at = ? WHERE id = ?
4571
4571
  `).bind(Date.now(), user.id).run();
@@ -5575,7 +5575,7 @@ function renderSecuritySettingsPage(data) {
5575
5575
 
5576
5576
  // src/plugins/core-plugins/security-audit-plugin/routes/admin.ts
5577
5577
  var adminRoutes2 = new hono.Hono();
5578
- adminRoutes2.use("*", chunkRE3NVA23_cjs.requireAuth());
5578
+ adminRoutes2.use("*", chunkP4RAIX7B_cjs.requireAuth());
5579
5579
  adminRoutes2.use("*", async (c, next) => {
5580
5580
  const user = c.get("user");
5581
5581
  if (user?.role !== "admin") {
@@ -5585,7 +5585,7 @@ adminRoutes2.use("*", async (c, next) => {
5585
5585
  });
5586
5586
  async function getSettings(db) {
5587
5587
  try {
5588
- const pluginService = new chunk4HCUJ3MG_cjs.PluginService(db);
5588
+ const pluginService = new chunkFXWF5D5V_cjs.PluginService(db);
5589
5589
  const plugin2 = await pluginService.getPlugin("security-audit");
5590
5590
  if (plugin2?.settings) {
5591
5591
  const settings = typeof plugin2.settings === "string" ? JSON.parse(plugin2.settings) : plugin2.settings;
@@ -5690,7 +5690,7 @@ adminRoutes2.post("/settings", async (c) => {
5690
5690
  autoPurge: body["retention.autoPurge"] === "true"
5691
5691
  }
5692
5692
  };
5693
- const pluginService = new chunk4HCUJ3MG_cjs.PluginService(db);
5693
+ const pluginService = new chunkFXWF5D5V_cjs.PluginService(db);
5694
5694
  await pluginService.updatePluginSettings("security-audit", settings);
5695
5695
  if (c.req.header("HX-Request")) {
5696
5696
  return c.json({ success: true });
@@ -5851,7 +5851,7 @@ var BruteForceDetector = class {
5851
5851
 
5852
5852
  // src/plugins/core-plugins/security-audit-plugin/routes/api.ts
5853
5853
  var apiRoutes2 = new hono.Hono();
5854
- apiRoutes2.use("*", chunkRE3NVA23_cjs.requireAuth());
5854
+ apiRoutes2.use("*", chunkP4RAIX7B_cjs.requireAuth());
5855
5855
  apiRoutes2.use("*", async (c, next) => {
5856
5856
  const user = c.get("user");
5857
5857
  if (user?.role !== "admin") {
@@ -5861,7 +5861,7 @@ apiRoutes2.use("*", async (c, next) => {
5861
5861
  });
5862
5862
  async function getSettings2(db) {
5863
5863
  try {
5864
- const pluginService = new chunk4HCUJ3MG_cjs.PluginService(db);
5864
+ const pluginService = new chunkFXWF5D5V_cjs.PluginService(db);
5865
5865
  const plugin2 = await pluginService.getPlugin("security-audit");
5866
5866
  if (plugin2?.settings) {
5867
5867
  const settings = typeof plugin2.settings === "string" ? JSON.parse(plugin2.settings) : plugin2.settings;
@@ -6009,7 +6009,7 @@ function generateFingerprint(ip, userAgent) {
6009
6009
  }
6010
6010
  async function getPluginSettings(db) {
6011
6011
  try {
6012
- const pluginService = new chunk4HCUJ3MG_cjs.PluginService(db);
6012
+ const pluginService = new chunkFXWF5D5V_cjs.PluginService(db);
6013
6013
  const plugin2 = await pluginService.getPlugin("security-audit");
6014
6014
  if (plugin2?.settings) {
6015
6015
  const settings = typeof plugin2.settings === "string" ? JSON.parse(plugin2.settings) : plugin2.settings;
@@ -7019,7 +7019,7 @@ var DEFAULT_SETTINGS3 = {
7019
7019
 
7020
7020
  // src/plugins/core-plugins/stripe-plugin/routes/admin.ts
7021
7021
  var adminRoutes3 = new hono.Hono();
7022
- adminRoutes3.use("*", chunkRE3NVA23_cjs.requireAuth());
7022
+ adminRoutes3.use("*", chunkP4RAIX7B_cjs.requireAuth());
7023
7023
  adminRoutes3.use("*", async (c, next) => {
7024
7024
  const user = c.get("user");
7025
7025
  if (user?.role !== "admin") {
@@ -7029,7 +7029,7 @@ adminRoutes3.use("*", async (c, next) => {
7029
7029
  });
7030
7030
  async function getSettings3(db) {
7031
7031
  try {
7032
- const pluginService = new chunk4HCUJ3MG_cjs.PluginService(db);
7032
+ const pluginService = new chunkFXWF5D5V_cjs.PluginService(db);
7033
7033
  const plugin2 = await pluginService.getPlugin("stripe");
7034
7034
  if (plugin2?.settings) {
7035
7035
  const settings = typeof plugin2.settings === "string" ? JSON.parse(plugin2.settings) : plugin2.settings;
@@ -7351,7 +7351,7 @@ function timingSafeEqual(a, b) {
7351
7351
  var apiRoutes3 = new hono.Hono();
7352
7352
  async function getSettings4(db) {
7353
7353
  try {
7354
- const pluginService = new chunk4HCUJ3MG_cjs.PluginService(db);
7354
+ const pluginService = new chunkFXWF5D5V_cjs.PluginService(db);
7355
7355
  const plugin2 = await pluginService.getPlugin("stripe");
7356
7356
  if (plugin2?.settings) {
7357
7357
  const settings = typeof plugin2.settings === "string" ? JSON.parse(plugin2.settings) : plugin2.settings;
@@ -7502,7 +7502,7 @@ apiRoutes3.post("/webhook", async (c) => {
7502
7502
  }
7503
7503
  return c.json({ received: true });
7504
7504
  });
7505
- apiRoutes3.post("/create-checkout-session", chunkRE3NVA23_cjs.requireAuth(), async (c) => {
7505
+ apiRoutes3.post("/create-checkout-session", chunkP4RAIX7B_cjs.requireAuth(), async (c) => {
7506
7506
  const db = c.env.DB;
7507
7507
  const user = c.get("user");
7508
7508
  if (!user) return c.json({ error: "Unauthorized" }, 401);
@@ -7542,7 +7542,7 @@ apiRoutes3.post("/create-checkout-session", chunkRE3NVA23_cjs.requireAuth(), asy
7542
7542
  });
7543
7543
  return c.json({ sessionId: session.id, url: session.url });
7544
7544
  });
7545
- apiRoutes3.get("/subscription", chunkRE3NVA23_cjs.requireAuth(), async (c) => {
7545
+ apiRoutes3.get("/subscription", chunkP4RAIX7B_cjs.requireAuth(), async (c) => {
7546
7546
  const user = c.get("user");
7547
7547
  if (!user) return c.json({ error: "Unauthorized" }, 401);
7548
7548
  const db = c.env.DB;
@@ -7554,7 +7554,7 @@ apiRoutes3.get("/subscription", chunkRE3NVA23_cjs.requireAuth(), async (c) => {
7554
7554
  }
7555
7555
  return c.json({ subscription });
7556
7556
  });
7557
- apiRoutes3.get("/subscriptions", chunkRE3NVA23_cjs.requireAuth(), async (c) => {
7557
+ apiRoutes3.get("/subscriptions", chunkP4RAIX7B_cjs.requireAuth(), async (c) => {
7558
7558
  const user = c.get("user");
7559
7559
  if (user?.role !== "admin") return c.json({ error: "Access denied" }, 403);
7560
7560
  const db = c.env.DB;
@@ -7570,7 +7570,7 @@ apiRoutes3.get("/subscriptions", chunkRE3NVA23_cjs.requireAuth(), async (c) => {
7570
7570
  const result = await subscriptionService.list(filters);
7571
7571
  return c.json(result);
7572
7572
  });
7573
- apiRoutes3.get("/stats", chunkRE3NVA23_cjs.requireAuth(), async (c) => {
7573
+ apiRoutes3.get("/stats", chunkP4RAIX7B_cjs.requireAuth(), async (c) => {
7574
7574
  const user = c.get("user");
7575
7575
  if (user?.role !== "admin") return c.json({ error: "Access denied" }, 403);
7576
7576
  const db = c.env.DB;
@@ -7579,7 +7579,7 @@ apiRoutes3.get("/stats", chunkRE3NVA23_cjs.requireAuth(), async (c) => {
7579
7579
  const stats = await subscriptionService.getStats();
7580
7580
  return c.json(stats);
7581
7581
  });
7582
- apiRoutes3.post("/sync-subscriptions", chunkRE3NVA23_cjs.requireAuth(), async (c) => {
7582
+ apiRoutes3.post("/sync-subscriptions", chunkP4RAIX7B_cjs.requireAuth(), async (c) => {
7583
7583
  const user = c.get("user");
7584
7584
  if (user?.role !== "admin") return c.json({ error: "Access denied" }, 403);
7585
7585
  const db = c.env.DB;
@@ -7627,7 +7627,7 @@ apiRoutes3.post("/sync-subscriptions", chunkRE3NVA23_cjs.requireAuth(), async (c
7627
7627
  }, 500);
7628
7628
  }
7629
7629
  });
7630
- apiRoutes3.get("/events", chunkRE3NVA23_cjs.requireAuth(), async (c) => {
7630
+ apiRoutes3.get("/events", chunkP4RAIX7B_cjs.requireAuth(), async (c) => {
7631
7631
  const user = c.get("user");
7632
7632
  if (user?.role !== "admin") return c.json({ error: "Access denied" }, 403);
7633
7633
  const db = c.env.DB;
@@ -7693,7 +7693,7 @@ function createStripePlugin() {
7693
7693
  var stripePlugin = createStripePlugin();
7694
7694
 
7695
7695
  // src/middleware/plugin-menu.ts
7696
- var REGISTRY_MENU_PLUGINS = Object.values(chunk4HCUJ3MG_cjs.PLUGIN_REGISTRY).filter((p) => p.adminMenu !== null).map((p) => ({
7696
+ var REGISTRY_MENU_PLUGINS = Object.values(chunkFXWF5D5V_cjs.PLUGIN_REGISTRY).filter((p) => p.adminMenu !== null).map((p) => ({
7697
7697
  codeName: p.codeName,
7698
7698
  label: p.adminMenu.label,
7699
7699
  path: p.adminMenu.path,
@@ -7792,7 +7792,7 @@ var HOOKS2 = {
7792
7792
  USER_LOGIN: "user:login"};
7793
7793
  chunkUYJ6TJHX_cjs.init_admin_layout_catalyst_template();
7794
7794
  var adminRoutes4 = new hono.Hono();
7795
- adminRoutes4.use("*", chunkRE3NVA23_cjs.requireAuth());
7795
+ adminRoutes4.use("*", chunkP4RAIX7B_cjs.requireAuth());
7796
7796
  adminRoutes4.use("*", async (c, next) => {
7797
7797
  const user = c.get("user");
7798
7798
  if (user?.role !== "admin") {
@@ -9591,7 +9591,7 @@ function renderCacheDashboard(data) {
9591
9591
  </script>
9592
9592
 
9593
9593
  <!-- Confirmation Dialogs -->
9594
- ${chunkJ5MYHM6Z_cjs.renderConfirmationDialog({
9594
+ ${chunk2VY2G7OR_cjs.renderConfirmationDialog({
9595
9595
  id: "clear-all-cache-confirm",
9596
9596
  title: "Clear All Cache",
9597
9597
  message: "Are you sure you want to clear all cache entries? This cannot be undone.",
@@ -9602,7 +9602,7 @@ function renderCacheDashboard(data) {
9602
9602
  onConfirm: "performClearAllCaches()"
9603
9603
  })}
9604
9604
 
9605
- ${chunkJ5MYHM6Z_cjs.renderConfirmationDialog({
9605
+ ${chunk2VY2G7OR_cjs.renderConfirmationDialog({
9606
9606
  id: "clear-namespace-cache-confirm",
9607
9607
  title: "Clear Namespace Cache",
9608
9608
  message: "Clear cache for this namespace?",
@@ -9613,7 +9613,7 @@ function renderCacheDashboard(data) {
9613
9613
  onConfirm: "performClearNamespaceCache()"
9614
9614
  })}
9615
9615
 
9616
- ${chunkJ5MYHM6Z_cjs.getConfirmationDialogScript()}
9616
+ ${chunk2VY2G7OR_cjs.getConfirmationDialogScript()}
9617
9617
  `;
9618
9618
  const layoutData = {
9619
9619
  title: "Cache System",
@@ -10299,14 +10299,14 @@ var faviconSvg = `<?xml version="1.0" encoding="UTF-8" standalone="no"?>
10299
10299
  // src/app.ts
10300
10300
  function createSonicJSApp(config = {}) {
10301
10301
  const app2 = new hono.Hono();
10302
- const appVersion = config.version || chunkQBLBIAVZ_cjs.getCoreVersion();
10302
+ const appVersion = config.version || chunkQ3W6LCEN_cjs.getCoreVersion();
10303
10303
  const appName = config.name || "SonicJS AI";
10304
10304
  app2.use("*", async (c, next) => {
10305
10305
  c.set("appVersion", appVersion);
10306
10306
  await next();
10307
10307
  });
10308
- app2.use("*", chunkRE3NVA23_cjs.metricsMiddleware());
10309
- app2.use("*", chunkRE3NVA23_cjs.bootstrapMiddleware(config));
10308
+ app2.use("*", chunkP4RAIX7B_cjs.metricsMiddleware());
10309
+ app2.use("*", chunkP4RAIX7B_cjs.bootstrapMiddleware(config));
10310
10310
  if (config.middleware?.beforeAuth) {
10311
10311
  for (const middleware of config.middleware.beforeAuth) {
10312
10312
  app2.use("*", middleware);
@@ -10315,32 +10315,32 @@ function createSonicJSApp(config = {}) {
10315
10315
  app2.use("*", async (_c, next) => {
10316
10316
  await next();
10317
10317
  });
10318
- app2.use("*", chunkRE3NVA23_cjs.securityHeadersMiddleware());
10319
- app2.use("*", chunkRE3NVA23_cjs.csrfProtection());
10318
+ app2.use("*", chunkP4RAIX7B_cjs.securityHeadersMiddleware());
10319
+ app2.use("*", chunkP4RAIX7B_cjs.csrfProtection());
10320
10320
  if (config.middleware?.afterAuth) {
10321
10321
  for (const middleware of config.middleware.afterAuth) {
10322
10322
  app2.use("*", middleware);
10323
10323
  }
10324
10324
  }
10325
10325
  const adminRoles = config.adminAccessRoles || ["admin"];
10326
- app2.use("/admin/*", chunkRE3NVA23_cjs.requireAuth());
10327
- app2.use("/admin/*", chunkRE3NVA23_cjs.requireRole(adminRoles));
10326
+ app2.use("/admin/*", chunkP4RAIX7B_cjs.requireAuth());
10327
+ app2.use("/admin/*", chunkP4RAIX7B_cjs.requireRole(adminRoles));
10328
10328
  app2.use("/admin/*", pluginMenuMiddleware());
10329
- app2.route("/api", chunkJ5MYHM6Z_cjs.api_default);
10330
- app2.route("/api/media", chunkJ5MYHM6Z_cjs.api_media_default);
10331
- app2.route("/api/system", chunkJ5MYHM6Z_cjs.api_system_default);
10332
- app2.route("/admin/api", chunkJ5MYHM6Z_cjs.admin_api_default);
10333
- app2.route("/admin/dashboard", chunkJ5MYHM6Z_cjs.router);
10334
- app2.route("/admin/collections", chunkJ5MYHM6Z_cjs.adminCollectionsRoutes);
10335
- app2.route("/admin/forms", chunkJ5MYHM6Z_cjs.adminFormsRoutes);
10336
- app2.route("/admin/settings", chunkJ5MYHM6Z_cjs.adminSettingsRoutes);
10337
- app2.route("/forms", chunkJ5MYHM6Z_cjs.public_forms_default);
10338
- app2.route("/api/forms", chunkJ5MYHM6Z_cjs.public_forms_default);
10339
- app2.route("/admin/api-reference", chunkJ5MYHM6Z_cjs.router2);
10329
+ app2.route("/api", chunk2VY2G7OR_cjs.api_default);
10330
+ app2.route("/api/media", chunk2VY2G7OR_cjs.api_media_default);
10331
+ app2.route("/api/system", chunk2VY2G7OR_cjs.api_system_default);
10332
+ app2.route("/admin/api", chunk2VY2G7OR_cjs.admin_api_default);
10333
+ app2.route("/admin/dashboard", chunk2VY2G7OR_cjs.router);
10334
+ app2.route("/admin/collections", chunk2VY2G7OR_cjs.adminCollectionsRoutes);
10335
+ app2.route("/admin/forms", chunk2VY2G7OR_cjs.adminFormsRoutes);
10336
+ app2.route("/admin/settings", chunk2VY2G7OR_cjs.adminSettingsRoutes);
10337
+ app2.route("/forms", chunk2VY2G7OR_cjs.public_forms_default);
10338
+ app2.route("/api/forms", chunk2VY2G7OR_cjs.public_forms_default);
10339
+ app2.route("/admin/api-reference", chunk2VY2G7OR_cjs.router2);
10340
10340
  app2.route("/admin/database-tools", createDatabaseToolsAdminRoutes());
10341
10341
  app2.route("/admin/seed-data", createSeedDataAdminRoutes());
10342
- app2.route("/admin/content", chunkJ5MYHM6Z_cjs.admin_content_default);
10343
- app2.route("/admin/media", chunkJ5MYHM6Z_cjs.adminMediaRoutes);
10342
+ app2.route("/admin/content", chunk2VY2G7OR_cjs.admin_content_default);
10343
+ app2.route("/admin/media", chunk2VY2G7OR_cjs.adminMediaRoutes);
10344
10344
  app2.use("/auth/*", securityAuditMiddleware());
10345
10345
  if (securityAuditPlugin.routes && securityAuditPlugin.routes.length > 0) {
10346
10346
  for (const route of securityAuditPlugin.routes) {
@@ -10358,8 +10358,8 @@ function createSonicJSApp(config = {}) {
10358
10358
  app2.route(route.path, route.handler);
10359
10359
  }
10360
10360
  }
10361
- if (chunkJ5MYHM6Z_cjs.userProfilesPlugin.routes && chunkJ5MYHM6Z_cjs.userProfilesPlugin.routes.length > 0) {
10362
- for (const route of chunkJ5MYHM6Z_cjs.userProfilesPlugin.routes) {
10361
+ if (chunk2VY2G7OR_cjs.userProfilesPlugin.routes && chunk2VY2G7OR_cjs.userProfilesPlugin.routes.length > 0) {
10362
+ for (const route of chunk2VY2G7OR_cjs.userProfilesPlugin.routes) {
10363
10363
  app2.route(route.path, route.handler);
10364
10364
  }
10365
10365
  }
@@ -10379,11 +10379,11 @@ function createSonicJSApp(config = {}) {
10379
10379
  app2.route(route.path, route.handler);
10380
10380
  }
10381
10381
  }
10382
- app2.route("/admin/plugins", chunkJ5MYHM6Z_cjs.adminPluginRoutes);
10383
- app2.route("/admin/logs", chunkJ5MYHM6Z_cjs.adminLogsRoutes);
10384
- app2.route("/admin", chunkJ5MYHM6Z_cjs.userRoutes);
10385
- app2.route("/auth", chunkJ5MYHM6Z_cjs.auth_default);
10386
- app2.route("/", chunkJ5MYHM6Z_cjs.test_cleanup_default);
10382
+ app2.route("/admin/plugins", chunk2VY2G7OR_cjs.adminPluginRoutes);
10383
+ app2.route("/admin/logs", chunk2VY2G7OR_cjs.adminLogsRoutes);
10384
+ app2.route("/admin", chunk2VY2G7OR_cjs.userRoutes);
10385
+ app2.route("/auth", chunk2VY2G7OR_cjs.auth_default);
10386
+ app2.route("/", chunk2VY2G7OR_cjs.test_cleanup_default);
10387
10387
  if (emailPlugin.routes && emailPlugin.routes.length > 0) {
10388
10388
  for (const route of emailPlugin.routes) {
10389
10389
  app2.route(route.path, route.handler);
@@ -10467,99 +10467,99 @@ function createDb(d1$1) {
10467
10467
  }
10468
10468
 
10469
10469
  // src/index.ts
10470
- var VERSION = chunkQBLBIAVZ_cjs.package_default.version;
10470
+ var VERSION = chunkQ3W6LCEN_cjs.package_default.version;
10471
10471
 
10472
10472
  Object.defineProperty(exports, "ROUTES_INFO", {
10473
10473
  enumerable: true,
10474
- get: function () { return chunkJ5MYHM6Z_cjs.ROUTES_INFO; }
10474
+ get: function () { return chunk2VY2G7OR_cjs.ROUTES_INFO; }
10475
10475
  });
10476
10476
  Object.defineProperty(exports, "adminApiRoutes", {
10477
10477
  enumerable: true,
10478
- get: function () { return chunkJ5MYHM6Z_cjs.admin_api_default; }
10478
+ get: function () { return chunk2VY2G7OR_cjs.admin_api_default; }
10479
10479
  });
10480
10480
  Object.defineProperty(exports, "adminCheckboxRoutes", {
10481
10481
  enumerable: true,
10482
- get: function () { return chunkJ5MYHM6Z_cjs.adminCheckboxRoutes; }
10482
+ get: function () { return chunk2VY2G7OR_cjs.adminCheckboxRoutes; }
10483
10483
  });
10484
10484
  Object.defineProperty(exports, "adminCodeExamplesRoutes", {
10485
10485
  enumerable: true,
10486
- get: function () { return chunkJ5MYHM6Z_cjs.admin_code_examples_default; }
10486
+ get: function () { return chunk2VY2G7OR_cjs.admin_code_examples_default; }
10487
10487
  });
10488
10488
  Object.defineProperty(exports, "adminCollectionsRoutes", {
10489
10489
  enumerable: true,
10490
- get: function () { return chunkJ5MYHM6Z_cjs.adminCollectionsRoutes; }
10490
+ get: function () { return chunk2VY2G7OR_cjs.adminCollectionsRoutes; }
10491
10491
  });
10492
10492
  Object.defineProperty(exports, "adminContentRoutes", {
10493
10493
  enumerable: true,
10494
- get: function () { return chunkJ5MYHM6Z_cjs.admin_content_default; }
10494
+ get: function () { return chunk2VY2G7OR_cjs.admin_content_default; }
10495
10495
  });
10496
10496
  Object.defineProperty(exports, "adminDashboardRoutes", {
10497
10497
  enumerable: true,
10498
- get: function () { return chunkJ5MYHM6Z_cjs.router; }
10498
+ get: function () { return chunk2VY2G7OR_cjs.router; }
10499
10499
  });
10500
10500
  Object.defineProperty(exports, "adminDesignRoutes", {
10501
10501
  enumerable: true,
10502
- get: function () { return chunkJ5MYHM6Z_cjs.adminDesignRoutes; }
10502
+ get: function () { return chunk2VY2G7OR_cjs.adminDesignRoutes; }
10503
10503
  });
10504
10504
  Object.defineProperty(exports, "adminLogsRoutes", {
10505
10505
  enumerable: true,
10506
- get: function () { return chunkJ5MYHM6Z_cjs.adminLogsRoutes; }
10506
+ get: function () { return chunk2VY2G7OR_cjs.adminLogsRoutes; }
10507
10507
  });
10508
10508
  Object.defineProperty(exports, "adminMediaRoutes", {
10509
10509
  enumerable: true,
10510
- get: function () { return chunkJ5MYHM6Z_cjs.adminMediaRoutes; }
10510
+ get: function () { return chunk2VY2G7OR_cjs.adminMediaRoutes; }
10511
10511
  });
10512
10512
  Object.defineProperty(exports, "adminPluginRoutes", {
10513
10513
  enumerable: true,
10514
- get: function () { return chunkJ5MYHM6Z_cjs.adminPluginRoutes; }
10514
+ get: function () { return chunk2VY2G7OR_cjs.adminPluginRoutes; }
10515
10515
  });
10516
10516
  Object.defineProperty(exports, "adminSettingsRoutes", {
10517
10517
  enumerable: true,
10518
- get: function () { return chunkJ5MYHM6Z_cjs.adminSettingsRoutes; }
10518
+ get: function () { return chunk2VY2G7OR_cjs.adminSettingsRoutes; }
10519
10519
  });
10520
10520
  Object.defineProperty(exports, "adminTestimonialsRoutes", {
10521
10521
  enumerable: true,
10522
- get: function () { return chunkJ5MYHM6Z_cjs.admin_testimonials_default; }
10522
+ get: function () { return chunk2VY2G7OR_cjs.admin_testimonials_default; }
10523
10523
  });
10524
10524
  Object.defineProperty(exports, "adminUsersRoutes", {
10525
10525
  enumerable: true,
10526
- get: function () { return chunkJ5MYHM6Z_cjs.userRoutes; }
10526
+ get: function () { return chunk2VY2G7OR_cjs.userRoutes; }
10527
10527
  });
10528
10528
  Object.defineProperty(exports, "apiContentCrudRoutes", {
10529
10529
  enumerable: true,
10530
- get: function () { return chunkJ5MYHM6Z_cjs.api_content_crud_default; }
10530
+ get: function () { return chunk2VY2G7OR_cjs.api_content_crud_default; }
10531
10531
  });
10532
10532
  Object.defineProperty(exports, "apiMediaRoutes", {
10533
10533
  enumerable: true,
10534
- get: function () { return chunkJ5MYHM6Z_cjs.api_media_default; }
10534
+ get: function () { return chunk2VY2G7OR_cjs.api_media_default; }
10535
10535
  });
10536
10536
  Object.defineProperty(exports, "apiRoutes", {
10537
10537
  enumerable: true,
10538
- get: function () { return chunkJ5MYHM6Z_cjs.api_default; }
10538
+ get: function () { return chunk2VY2G7OR_cjs.api_default; }
10539
10539
  });
10540
10540
  Object.defineProperty(exports, "apiSystemRoutes", {
10541
10541
  enumerable: true,
10542
- get: function () { return chunkJ5MYHM6Z_cjs.api_system_default; }
10542
+ get: function () { return chunk2VY2G7OR_cjs.api_system_default; }
10543
10543
  });
10544
10544
  Object.defineProperty(exports, "authRoutes", {
10545
10545
  enumerable: true,
10546
- get: function () { return chunkJ5MYHM6Z_cjs.auth_default; }
10546
+ get: function () { return chunk2VY2G7OR_cjs.auth_default; }
10547
10547
  });
10548
10548
  Object.defineProperty(exports, "createUserProfilesPlugin", {
10549
10549
  enumerable: true,
10550
- get: function () { return chunkJ5MYHM6Z_cjs.createUserProfilesPlugin; }
10550
+ get: function () { return chunk2VY2G7OR_cjs.createUserProfilesPlugin; }
10551
10551
  });
10552
10552
  Object.defineProperty(exports, "defineUserProfile", {
10553
10553
  enumerable: true,
10554
- get: function () { return chunkJ5MYHM6Z_cjs.defineUserProfile; }
10554
+ get: function () { return chunk2VY2G7OR_cjs.defineUserProfile; }
10555
10555
  });
10556
10556
  Object.defineProperty(exports, "getUserProfileConfig", {
10557
10557
  enumerable: true,
10558
- get: function () { return chunkJ5MYHM6Z_cjs.getUserProfileConfig; }
10558
+ get: function () { return chunk2VY2G7OR_cjs.getUserProfileConfig; }
10559
10559
  });
10560
10560
  Object.defineProperty(exports, "userProfilesPlugin", {
10561
10561
  enumerable: true,
10562
- get: function () { return chunkJ5MYHM6Z_cjs.userProfilesPlugin; }
10562
+ get: function () { return chunk2VY2G7OR_cjs.userProfilesPlugin; }
10563
10563
  });
10564
10564
  Object.defineProperty(exports, "Logger", {
10565
10565
  enumerable: true,
@@ -10727,167 +10727,167 @@ Object.defineProperty(exports, "workflowHistory", {
10727
10727
  });
10728
10728
  Object.defineProperty(exports, "AuthManager", {
10729
10729
  enumerable: true,
10730
- get: function () { return chunkRE3NVA23_cjs.AuthManager; }
10730
+ get: function () { return chunkP4RAIX7B_cjs.AuthManager; }
10731
10731
  });
10732
10732
  Object.defineProperty(exports, "PermissionManager", {
10733
10733
  enumerable: true,
10734
- get: function () { return chunkRE3NVA23_cjs.PermissionManager; }
10734
+ get: function () { return chunkP4RAIX7B_cjs.PermissionManager; }
10735
10735
  });
10736
10736
  Object.defineProperty(exports, "bootstrapMiddleware", {
10737
10737
  enumerable: true,
10738
- get: function () { return chunkRE3NVA23_cjs.bootstrapMiddleware; }
10738
+ get: function () { return chunkP4RAIX7B_cjs.bootstrapMiddleware; }
10739
10739
  });
10740
10740
  Object.defineProperty(exports, "cacheHeaders", {
10741
10741
  enumerable: true,
10742
- get: function () { return chunkRE3NVA23_cjs.cacheHeaders; }
10742
+ get: function () { return chunkP4RAIX7B_cjs.cacheHeaders; }
10743
10743
  });
10744
10744
  Object.defineProperty(exports, "compressionMiddleware", {
10745
10745
  enumerable: true,
10746
- get: function () { return chunkRE3NVA23_cjs.compressionMiddleware; }
10746
+ get: function () { return chunkP4RAIX7B_cjs.compressionMiddleware; }
10747
10747
  });
10748
10748
  Object.defineProperty(exports, "detailedLoggingMiddleware", {
10749
10749
  enumerable: true,
10750
- get: function () { return chunkRE3NVA23_cjs.detailedLoggingMiddleware; }
10750
+ get: function () { return chunkP4RAIX7B_cjs.detailedLoggingMiddleware; }
10751
10751
  });
10752
10752
  Object.defineProperty(exports, "getActivePlugins", {
10753
10753
  enumerable: true,
10754
- get: function () { return chunkRE3NVA23_cjs.getActivePlugins; }
10754
+ get: function () { return chunkP4RAIX7B_cjs.getActivePlugins; }
10755
10755
  });
10756
10756
  Object.defineProperty(exports, "isPluginActive", {
10757
10757
  enumerable: true,
10758
- get: function () { return chunkRE3NVA23_cjs.isPluginActive; }
10758
+ get: function () { return chunkP4RAIX7B_cjs.isPluginActive; }
10759
10759
  });
10760
10760
  Object.defineProperty(exports, "logActivity", {
10761
10761
  enumerable: true,
10762
- get: function () { return chunkRE3NVA23_cjs.logActivity; }
10762
+ get: function () { return chunkP4RAIX7B_cjs.logActivity; }
10763
10763
  });
10764
10764
  Object.defineProperty(exports, "loggingMiddleware", {
10765
10765
  enumerable: true,
10766
- get: function () { return chunkRE3NVA23_cjs.loggingMiddleware; }
10766
+ get: function () { return chunkP4RAIX7B_cjs.loggingMiddleware; }
10767
10767
  });
10768
10768
  Object.defineProperty(exports, "optionalAuth", {
10769
10769
  enumerable: true,
10770
- get: function () { return chunkRE3NVA23_cjs.optionalAuth; }
10770
+ get: function () { return chunkP4RAIX7B_cjs.optionalAuth; }
10771
10771
  });
10772
10772
  Object.defineProperty(exports, "performanceLoggingMiddleware", {
10773
10773
  enumerable: true,
10774
- get: function () { return chunkRE3NVA23_cjs.performanceLoggingMiddleware; }
10774
+ get: function () { return chunkP4RAIX7B_cjs.performanceLoggingMiddleware; }
10775
10775
  });
10776
10776
  Object.defineProperty(exports, "requireActivePlugin", {
10777
10777
  enumerable: true,
10778
- get: function () { return chunkRE3NVA23_cjs.requireActivePlugin; }
10778
+ get: function () { return chunkP4RAIX7B_cjs.requireActivePlugin; }
10779
10779
  });
10780
10780
  Object.defineProperty(exports, "requireActivePlugins", {
10781
10781
  enumerable: true,
10782
- get: function () { return chunkRE3NVA23_cjs.requireActivePlugins; }
10782
+ get: function () { return chunkP4RAIX7B_cjs.requireActivePlugins; }
10783
10783
  });
10784
10784
  Object.defineProperty(exports, "requireAnyPermission", {
10785
10785
  enumerable: true,
10786
- get: function () { return chunkRE3NVA23_cjs.requireAnyPermission; }
10786
+ get: function () { return chunkP4RAIX7B_cjs.requireAnyPermission; }
10787
10787
  });
10788
10788
  Object.defineProperty(exports, "requireAuth", {
10789
10789
  enumerable: true,
10790
- get: function () { return chunkRE3NVA23_cjs.requireAuth; }
10790
+ get: function () { return chunkP4RAIX7B_cjs.requireAuth; }
10791
10791
  });
10792
10792
  Object.defineProperty(exports, "requirePermission", {
10793
10793
  enumerable: true,
10794
- get: function () { return chunkRE3NVA23_cjs.requirePermission; }
10794
+ get: function () { return chunkP4RAIX7B_cjs.requirePermission; }
10795
10795
  });
10796
10796
  Object.defineProperty(exports, "requireRole", {
10797
10797
  enumerable: true,
10798
- get: function () { return chunkRE3NVA23_cjs.requireRole; }
10798
+ get: function () { return chunkP4RAIX7B_cjs.requireRole; }
10799
10799
  });
10800
10800
  Object.defineProperty(exports, "securityHeaders", {
10801
10801
  enumerable: true,
10802
- get: function () { return chunkRE3NVA23_cjs.securityHeadersMiddleware; }
10802
+ get: function () { return chunkP4RAIX7B_cjs.securityHeadersMiddleware; }
10803
10803
  });
10804
10804
  Object.defineProperty(exports, "securityLoggingMiddleware", {
10805
10805
  enumerable: true,
10806
- get: function () { return chunkRE3NVA23_cjs.securityLoggingMiddleware; }
10806
+ get: function () { return chunkP4RAIX7B_cjs.securityLoggingMiddleware; }
10807
10807
  });
10808
10808
  Object.defineProperty(exports, "PluginBootstrapService", {
10809
10809
  enumerable: true,
10810
- get: function () { return chunk4HCUJ3MG_cjs.PluginBootstrapService; }
10810
+ get: function () { return chunkFXWF5D5V_cjs.PluginBootstrapService; }
10811
10811
  });
10812
10812
  Object.defineProperty(exports, "PluginServiceClass", {
10813
10813
  enumerable: true,
10814
- get: function () { return chunk4HCUJ3MG_cjs.PluginService; }
10814
+ get: function () { return chunkFXWF5D5V_cjs.PluginService; }
10815
10815
  });
10816
10816
  Object.defineProperty(exports, "backfillFormSubmissions", {
10817
10817
  enumerable: true,
10818
- get: function () { return chunk4HCUJ3MG_cjs.backfillFormSubmissions; }
10818
+ get: function () { return chunkFXWF5D5V_cjs.backfillFormSubmissions; }
10819
10819
  });
10820
10820
  Object.defineProperty(exports, "cleanupRemovedCollections", {
10821
10821
  enumerable: true,
10822
- get: function () { return chunk4HCUJ3MG_cjs.cleanupRemovedCollections; }
10822
+ get: function () { return chunkFXWF5D5V_cjs.cleanupRemovedCollections; }
10823
10823
  });
10824
10824
  Object.defineProperty(exports, "createContentFromSubmission", {
10825
10825
  enumerable: true,
10826
- get: function () { return chunk4HCUJ3MG_cjs.createContentFromSubmission; }
10826
+ get: function () { return chunkFXWF5D5V_cjs.createContentFromSubmission; }
10827
10827
  });
10828
10828
  Object.defineProperty(exports, "deriveCollectionSchemaFromFormio", {
10829
10829
  enumerable: true,
10830
- get: function () { return chunk4HCUJ3MG_cjs.deriveCollectionSchemaFromFormio; }
10830
+ get: function () { return chunkFXWF5D5V_cjs.deriveCollectionSchemaFromFormio; }
10831
10831
  });
10832
10832
  Object.defineProperty(exports, "deriveSubmissionTitle", {
10833
10833
  enumerable: true,
10834
- get: function () { return chunk4HCUJ3MG_cjs.deriveSubmissionTitle; }
10834
+ get: function () { return chunkFXWF5D5V_cjs.deriveSubmissionTitle; }
10835
10835
  });
10836
10836
  Object.defineProperty(exports, "fullCollectionSync", {
10837
10837
  enumerable: true,
10838
- get: function () { return chunk4HCUJ3MG_cjs.fullCollectionSync; }
10838
+ get: function () { return chunkFXWF5D5V_cjs.fullCollectionSync; }
10839
10839
  });
10840
10840
  Object.defineProperty(exports, "getAvailableCollectionNames", {
10841
10841
  enumerable: true,
10842
- get: function () { return chunk4HCUJ3MG_cjs.getAvailableCollectionNames; }
10842
+ get: function () { return chunkFXWF5D5V_cjs.getAvailableCollectionNames; }
10843
10843
  });
10844
10844
  Object.defineProperty(exports, "getManagedCollections", {
10845
10845
  enumerable: true,
10846
- get: function () { return chunk4HCUJ3MG_cjs.getManagedCollections; }
10846
+ get: function () { return chunkFXWF5D5V_cjs.getManagedCollections; }
10847
10847
  });
10848
10848
  Object.defineProperty(exports, "isCollectionManaged", {
10849
10849
  enumerable: true,
10850
- get: function () { return chunk4HCUJ3MG_cjs.isCollectionManaged; }
10850
+ get: function () { return chunkFXWF5D5V_cjs.isCollectionManaged; }
10851
10851
  });
10852
10852
  Object.defineProperty(exports, "loadCollectionConfig", {
10853
10853
  enumerable: true,
10854
- get: function () { return chunk4HCUJ3MG_cjs.loadCollectionConfig; }
10854
+ get: function () { return chunkFXWF5D5V_cjs.loadCollectionConfig; }
10855
10855
  });
10856
10856
  Object.defineProperty(exports, "loadCollectionConfigs", {
10857
10857
  enumerable: true,
10858
- get: function () { return chunk4HCUJ3MG_cjs.loadCollectionConfigs; }
10858
+ get: function () { return chunkFXWF5D5V_cjs.loadCollectionConfigs; }
10859
10859
  });
10860
10860
  Object.defineProperty(exports, "mapFormStatusToContentStatus", {
10861
10861
  enumerable: true,
10862
- get: function () { return chunk4HCUJ3MG_cjs.mapFormStatusToContentStatus; }
10862
+ get: function () { return chunkFXWF5D5V_cjs.mapFormStatusToContentStatus; }
10863
10863
  });
10864
10864
  Object.defineProperty(exports, "registerCollections", {
10865
10865
  enumerable: true,
10866
- get: function () { return chunk4HCUJ3MG_cjs.registerCollections; }
10866
+ get: function () { return chunkFXWF5D5V_cjs.registerCollections; }
10867
10867
  });
10868
10868
  Object.defineProperty(exports, "syncAllFormCollections", {
10869
10869
  enumerable: true,
10870
- get: function () { return chunk4HCUJ3MG_cjs.syncAllFormCollections; }
10870
+ get: function () { return chunkFXWF5D5V_cjs.syncAllFormCollections; }
10871
10871
  });
10872
10872
  Object.defineProperty(exports, "syncCollection", {
10873
10873
  enumerable: true,
10874
- get: function () { return chunk4HCUJ3MG_cjs.syncCollection; }
10874
+ get: function () { return chunkFXWF5D5V_cjs.syncCollection; }
10875
10875
  });
10876
10876
  Object.defineProperty(exports, "syncCollections", {
10877
10877
  enumerable: true,
10878
- get: function () { return chunk4HCUJ3MG_cjs.syncCollections; }
10878
+ get: function () { return chunkFXWF5D5V_cjs.syncCollections; }
10879
10879
  });
10880
10880
  Object.defineProperty(exports, "syncFormCollection", {
10881
10881
  enumerable: true,
10882
- get: function () { return chunk4HCUJ3MG_cjs.syncFormCollection; }
10882
+ get: function () { return chunkFXWF5D5V_cjs.syncFormCollection; }
10883
10883
  });
10884
10884
  Object.defineProperty(exports, "validateCollectionConfig", {
10885
10885
  enumerable: true,
10886
- get: function () { return chunk4HCUJ3MG_cjs.validateCollectionConfig; }
10886
+ get: function () { return chunkFXWF5D5V_cjs.validateCollectionConfig; }
10887
10887
  });
10888
10888
  Object.defineProperty(exports, "MigrationService", {
10889
10889
  enumerable: true,
10890
- get: function () { return chunkFSWP4FBW_cjs.MigrationService; }
10890
+ get: function () { return chunkLVGB5UU5_cjs.MigrationService; }
10891
10891
  });
10892
10892
  Object.defineProperty(exports, "renderFilterBar", {
10893
10893
  enumerable: true,
@@ -10955,31 +10955,31 @@ Object.defineProperty(exports, "PluginHelpers", {
10955
10955
  });
10956
10956
  Object.defineProperty(exports, "QueryFilterBuilder", {
10957
10957
  enumerable: true,
10958
- get: function () { return chunkQBLBIAVZ_cjs.QueryFilterBuilder; }
10958
+ get: function () { return chunkQ3W6LCEN_cjs.QueryFilterBuilder; }
10959
10959
  });
10960
10960
  Object.defineProperty(exports, "SONICJS_VERSION", {
10961
10961
  enumerable: true,
10962
- get: function () { return chunkQBLBIAVZ_cjs.SONICJS_VERSION; }
10962
+ get: function () { return chunkQ3W6LCEN_cjs.SONICJS_VERSION; }
10963
10963
  });
10964
10964
  Object.defineProperty(exports, "TemplateRenderer", {
10965
10965
  enumerable: true,
10966
- get: function () { return chunkQBLBIAVZ_cjs.TemplateRenderer; }
10966
+ get: function () { return chunkQ3W6LCEN_cjs.TemplateRenderer; }
10967
10967
  });
10968
10968
  Object.defineProperty(exports, "buildQuery", {
10969
10969
  enumerable: true,
10970
- get: function () { return chunkQBLBIAVZ_cjs.buildQuery; }
10970
+ get: function () { return chunkQ3W6LCEN_cjs.buildQuery; }
10971
10971
  });
10972
10972
  Object.defineProperty(exports, "getCoreVersion", {
10973
10973
  enumerable: true,
10974
- get: function () { return chunkQBLBIAVZ_cjs.getCoreVersion; }
10974
+ get: function () { return chunkQ3W6LCEN_cjs.getCoreVersion; }
10975
10975
  });
10976
10976
  Object.defineProperty(exports, "renderTemplate", {
10977
10977
  enumerable: true,
10978
- get: function () { return chunkQBLBIAVZ_cjs.renderTemplate; }
10978
+ get: function () { return chunkQ3W6LCEN_cjs.renderTemplate; }
10979
10979
  });
10980
10980
  Object.defineProperty(exports, "templateRenderer", {
10981
10981
  enumerable: true,
10982
- get: function () { return chunkQBLBIAVZ_cjs.templateRenderer; }
10982
+ get: function () { return chunkQ3W6LCEN_cjs.templateRenderer; }
10983
10983
  });
10984
10984
  Object.defineProperty(exports, "metricsTracker", {
10985
10985
  enumerable: true,