@burdenoff/microfe-bigconsole 2026.1122.1 → 2026.1122.3

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.
@@ -243,7 +243,7 @@ var y = u(function() {
243
243
  }, []), dt = d(() => {
244
244
  O(!1);
245
245
  }, []), [ft, pt] = m(!1), mt = d(() => pt(!0), []), ht = d(() => pt(!1), []), gt = d(async () => {
246
- if (!P || !r) return;
246
+ if (!P || !r || y) return;
247
247
  let e = (P.pages?.length || 0) + 1, t = u("bigconsole.dashboards.view.pageName", "Page {{count}}", { count: e }), n = await Ye({
248
248
  dashboardId: r,
249
249
  name: t,
@@ -256,12 +256,13 @@ var y = u(function() {
256
256
  }, [
257
257
  P,
258
258
  r,
259
+ y,
259
260
  F,
260
261
  Ye,
261
262
  V,
262
263
  u
263
264
  ]), _t = d(async (e, t) => {
264
- P && await Xe({
265
+ P && !y && await Xe({
265
266
  id: e,
266
267
  name: t
267
268
  }) && F({
@@ -273,10 +274,11 @@ var y = u(function() {
273
274
  });
274
275
  }, [
275
276
  P,
277
+ y,
276
278
  F,
277
279
  Xe
278
280
  ]), vt = d(async (e) => {
279
- if (!P || !r) return;
281
+ if (!P || !r || y) return;
280
282
  let t = P.pages?.find((t) => t.id === e);
281
283
  if (!t) return;
282
284
  let n = await Qe(e, u("bigconsole.dashboards.view.pageCopyName", "{{name}} (Copy)", { name: t.name ?? "" }));
@@ -287,12 +289,13 @@ var y = u(function() {
287
289
  }, [
288
290
  P,
289
291
  r,
292
+ y,
290
293
  F,
291
294
  Qe,
292
295
  V,
293
296
  u
294
297
  ]), yt = d(async (e) => {
295
- if (!(!P || (P.pages?.length || 0) <= 1) && await Ze(e)) {
298
+ if (!(!P || y || (P.pages?.length || 0) <= 1) && await Ze(e)) {
296
299
  let t = P.pages?.filter((t) => t.id !== e).map((e, t) => ({
297
300
  ...e,
298
301
  order: t
@@ -306,12 +309,13 @@ var y = u(function() {
306
309
  }
307
310
  }, [
308
311
  P,
312
+ y,
309
313
  F,
310
314
  B,
311
315
  Ze,
312
316
  V
313
317
  ]), bt = d(async (e) => {
314
- if (!P || !r) return;
318
+ if (!P || !r || y) return;
315
319
  F({
316
320
  ...P,
317
321
  pages: e.map((e, t) => ({
@@ -324,6 +328,7 @@ var y = u(function() {
324
328
  }, [
325
329
  P,
326
330
  r,
331
+ y,
327
332
  F,
328
333
  $e
329
334
  ]);
@@ -441,7 +446,7 @@ var y = u(function() {
441
446
  })
442
447
  })
443
448
  }) }),
444
- j && /* @__PURE__ */ _(de, {
449
+ j && !y && /* @__PURE__ */ _(de, {
445
450
  currentDashboardId: P.id,
446
451
  currentDashboardName: P.name,
447
452
  basePath: `${ne}/dashboards`
@@ -456,8 +461,8 @@ var y = u(function() {
456
461
  onSave: w && !y ? nt : void 0,
457
462
  isSaving: Ie,
458
463
  onReview: y ? void 0 : mt,
459
- onExport: Pe ? ot : void 0,
460
- onPublishTemplate: Fe ? lt : void 0,
464
+ onExport: Pe && !y ? ot : void 0,
465
+ onPublishTemplate: Fe && !y ? lt : void 0,
461
466
  pages: Z,
462
467
  activePageId: $ ?? void 0,
463
468
  onPageChange: X,
@@ -477,13 +482,13 @@ var y = u(function() {
477
482
  canFix: w && !y
478
483
  }),
479
484
  /* @__PURE__ */ _(ue, {
480
- isOpen: Le,
485
+ isOpen: Le && !y,
481
486
  dashboardId: P.id,
482
487
  dashboardName: P.name,
483
488
  onClose: dt
484
489
  }),
485
490
  /* @__PURE__ */ _(fe, {
486
- isOpen: st,
491
+ isOpen: st && !y,
487
492
  dashboardId: P.id,
488
493
  dashboardName: P.name,
489
494
  dashboardDescription: P.description,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/microfe-bigconsole",
3
- "version": "2026.1122.1",
3
+ "version": "2026.1122.3",
4
4
  "description": "BigConsole - AI-powered analytics and dashboard platform",
5
5
  "repository": {
6
6
  "type": "git",