@ai-ecoverse/slicc-spectrum 1.112.0 → 1.112.1

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/slicc-ui.js CHANGED
@@ -61,7 +61,7 @@ import {
61
61
  } from "./chunk-6A6NIESE.js";
62
62
  import {
63
63
  define
64
- } from "./chunk-KYIEFCEE.js";
64
+ } from "./chunk-G7UZNWLW.js";
65
65
  import {
66
66
  isPolicyPaused,
67
67
  isVaultFailure,
@@ -57946,6 +57946,7 @@ var MutableDisposable = class {
57946
57946
  };
57947
57947
  var Event2;
57948
57948
  (function(_Event) {
57949
+ _Event.map = (event2, fn) => (listener) => event2((e128) => listener(fn(e128)));
57949
57950
  _Event.any = (...children) => {
57950
57951
  return (listener) => {
57951
57952
  const disposables = children.map((child) => child(listener));
@@ -58095,21 +58096,25 @@ var AsapEvent = class {
58095
58096
  constructor() {
58096
58097
  this._onFired = new Emitter2();
58097
58098
  this._currentFireCount = 0;
58099
+ this._pending = /* @__PURE__ */ new Set();
58098
58100
  this._queued = false;
58099
- this.onEvent = (e128) => {
58101
+ this.onEvent = (listener) => {
58100
58102
  const fireCountAtTimeOfEventSubscription = this._currentFireCount;
58101
- return this._onFired.event(() => {
58102
- if (this._currentFireCount > fireCountAtTimeOfEventSubscription) e128();
58103
+ return this._onFired.event((values) => {
58104
+ if (this._currentFireCount > fireCountAtTimeOfEventSubscription) listener(values);
58103
58105
  });
58104
58106
  };
58105
58107
  }
58106
- fire() {
58108
+ fire(value) {
58107
58109
  this._currentFireCount++;
58110
+ this._pending.add(value);
58108
58111
  if (this._queued) return;
58109
58112
  this._queued = true;
58110
58113
  queueMicrotask(() => {
58111
58114
  this._queued = false;
58112
- this._onFired.fire();
58115
+ const values = this._pending;
58116
+ this._pending = /* @__PURE__ */ new Set();
58117
+ this._onFired.fire(values);
58113
58118
  });
58114
58119
  }
58115
58120
  dispose() {
@@ -58531,9 +58536,16 @@ var PopoutWindow = class extends CompositeDisposable {
58531
58536
  this._onDidClose = new Emitter2();
58532
58537
  this.onDidClose = this._onDidClose.event;
58533
58538
  this._window = null;
58534
- this.addDisposables(this._onWillClose, this._onDidClose, { dispose: () => {
58535
- this.close();
58536
- } });
58539
+ this.addDisposables(this._onWillClose, this._onDidClose);
58540
+ }
58541
+ /**
58542
+ * Close before `super.dispose()` kills the close emitters, so an explicit
58543
+ * dispose still fires `onWillClose` / `onDidClose` (the component's
58544
+ * per-window teardown hangs off them). A closed window is a no-op.
58545
+ */
58546
+ dispose() {
58547
+ this.close();
58548
+ super.dispose();
58537
58549
  }
58538
58550
  dimensions() {
58539
58551
  if (!this._window) return null;
@@ -59716,7 +59728,8 @@ function cloneNode(node2, size4, orthogonalSize) {
59716
59728
  const result = new BranchNode(node2.orientation, node2.proportionalLayout, node2.styles, size4, orthogonalSize, node2.disabled, node2.margin);
59717
59729
  for (let i26 = node2.children.length - 1; i26 >= 0; i26--) {
59718
59730
  const child = node2.children[i26];
59719
- result.addChild(cloneNode(child, child.size, child.orthogonalSize), childSizing(node2, i26, child.size), 0, true);
59731
+ const childSize = child instanceof BranchNode ? child.orthogonalSize : child.size;
59732
+ result.addChild(cloneNode(child, child.size, child.orthogonalSize), childSizing(node2, i26, childSize), 0, true);
59720
59733
  }
59721
59734
  return result;
59722
59735
  } else return new LeafNode(node2.view, node2.orientation, orthogonalSize);
@@ -60184,10 +60197,11 @@ var Gridview = class {
60184
60197
  const sizes = grandParent.children.map((_size, i26) => grandParent.getChildSize(i26));
60185
60198
  grandParent.removeChild(parentIndex, sizing).dispose();
60186
60199
  if (sibling instanceof BranchNode) {
60187
- sizes.splice(parentIndex, 1, ...sibling.children.map((c29) => c29.size));
60200
+ const childSizes = sibling.children.map((c29) => c29 instanceof BranchNode ? c29.orthogonalSize : c29.size);
60201
+ sizes.splice(parentIndex, 1, ...childSizes);
60188
60202
  for (let i26 = 0; i26 < sibling.children.length; i26++) {
60189
60203
  const child = sibling.children[i26];
60190
- const childSize = childSizing(sibling, i26, child.size);
60204
+ const childSize = childSizing(sibling, i26, childSizes[i26]);
60191
60205
  grandParent.addChild(child, !isSiblingVisible && typeof childSize === "number" ? Sizing.Invisible(childSize) : childSize, parentIndex + i26);
60192
60206
  }
60193
60207
  while (sibling.children.length > 0) sibling.removeChild(0);
@@ -60341,7 +60355,7 @@ var BaseGrid = class extends Resizable {
60341
60355
  this._onDidActiveChange = new Emitter2();
60342
60356
  this.onDidActiveChange = this._onDidActiveChange.event;
60343
60357
  this._bufferOnDidLayoutChange = new AsapEvent();
60344
- this.onDidLayoutChange = this._bufferOnDidLayoutChange.onEvent;
60358
+ this.onDidLayoutChange = Event2.map(this._bufferOnDidLayoutChange.onEvent, (reasons) => ({ reasons }));
60345
60359
  this._onDidViewVisibilityChangeMicroTaskQueue = new AsapEvent();
60346
60360
  this.onDidViewVisibilityChangeMicroTaskQueue = this._onDidViewVisibilityChangeMicroTaskQueue.onEvent;
60347
60361
  this.element.style.height = "100%";
@@ -60363,14 +60377,18 @@ var BaseGrid = class extends Resizable {
60363
60377
  }), Disposable.from(() => {
60364
60378
  this.element.remove();
60365
60379
  }), this.gridview.onDidChange(() => {
60366
- this._bufferOnDidLayoutChange.fire();
60367
- }), Event2.any(this.onDidAdd, this.onDidRemove, this.onDidActiveChange)(() => {
60368
- this._bufferOnDidLayoutChange.fire();
60380
+ this._bufferOnDidLayoutChange.fire("geometry");
60381
+ }), Event2.any(this.onDidAdd, this.onDidRemove)(() => {
60382
+ this._bufferOnDidLayoutChange.fire("structure");
60383
+ }), this.onDidActiveChange(() => {
60384
+ this._bufferOnDidLayoutChange.fire("activePanel");
60385
+ }), this.onDidMaximizedChange(() => {
60386
+ this._bufferOnDidLayoutChange.fire("geometry");
60369
60387
  }), this._onDidMaximizedChange, this._onDidViewVisibilityChangeMicroTaskQueue, this._bufferOnDidLayoutChange);
60370
60388
  }
60371
60389
  setVisible(panel, visible3) {
60372
60390
  this.gridview.setViewVisible(getGridLocation(panel.element), visible3);
60373
- this._bufferOnDidLayoutChange.fire();
60391
+ this._bufferOnDidLayoutChange.fire("geometry");
60374
60392
  }
60375
60393
  isVisible(panel) {
60376
60394
  return this.gridview.isViewVisible(getGridLocation(panel.element));
@@ -60684,6 +60702,7 @@ var DockviewApi = class {
60684
60702
  }
60685
60703
  /**
60686
60704
  * Invoked when any layout change occures, an aggregation of many events.
60705
+ * The event carries the `reasons` for the change.
60687
60706
  */
60688
60707
  get onDidLayoutChange() {
60689
60708
  return this.component.onDidLayoutChange;
@@ -62267,7 +62286,9 @@ var PointerDragSource = class extends CompositeDisposable {
62267
62286
  var _this$_startEvent, _this$options$onDragS, _this$options2, _this$options$createG, _this$options3;
62268
62287
  const startEvent = (_this$_startEvent = this._startEvent) !== null && _this$_startEvent !== void 0 ? _this$_startEvent : triggerEvent;
62269
62288
  this._cancelPending();
62289
+ const wasPrevented = startEvent.defaultPrevented;
62270
62290
  (_this$options$onDragS = (_this$options2 = this.options).onDragStart) === null || _this$options$onDragS === void 0 || _this$options$onDragS.call(_this$options2, startEvent);
62291
+ if (startEvent.defaultPrevented && !wasPrevented) return;
62271
62292
  const ghost = (_this$options$createG = (_this$options3 = this.options).createGhost) === null || _this$options$createG === void 0 ? void 0 : _this$options$createG.call(_this$options3, startEvent);
62272
62293
  PointerDragController.getInstance().beginDrag({
62273
62294
  pointerEvent: triggerEvent,
@@ -62341,17 +62362,19 @@ var Html5DragSource = class extends CompositeDisposable {
62341
62362
  this._pointerEventsDisposable = new MutableDisposable();
62342
62363
  this._disabled = !!opts.disabled;
62343
62364
  this.addDisposables(this._dataDisposable, this._pointerEventsDisposable, addDisposableListener(this.el, "dragstart", (event2) => {
62344
- var _this$opts$isCancelle, _this$opts, _this$el$ownerDocumen, _this$opts$createGhos, _this$opts2, _this$opts$onDragStar, _this$opts3;
62365
+ var _this$opts$isCancelle, _this$opts, _this$opts$onDragStar, _this$opts2, _this$el$ownerDocumen, _this$opts$createGhos, _this$opts3;
62345
62366
  if (event2.defaultPrevented || this._disabled || ((_this$opts$isCancelle = (_this$opts = this.opts).isCancelled) === null || _this$opts$isCancelle === void 0 ? void 0 : _this$opts$isCancelle.call(_this$opts, event2))) {
62346
62367
  event2.preventDefault();
62347
62368
  return;
62348
62369
  }
62370
+ (_this$opts$onDragStar = (_this$opts2 = this.opts).onDragStart) === null || _this$opts$onDragStar === void 0 || _this$opts$onDragStar.call(_this$opts2, event2);
62371
+ if (event2.defaultPrevented) return;
62349
62372
  const iframes = disableIframePointEvents((_this$el$ownerDocumen = this.el.ownerDocument) !== null && _this$el$ownerDocumen !== void 0 ? _this$el$ownerDocumen : document);
62350
62373
  this._pointerEventsDisposable.value = { dispose: () => iframes.release() };
62351
62374
  this.el.classList.add("dv-dragged");
62352
62375
  setTimeout(() => this.el.classList.remove("dv-dragged"), 0);
62353
62376
  this._dataDisposable.value = this.opts.getData(event2);
62354
- const ghost = (_this$opts$createGhos = (_this$opts2 = this.opts).createGhost) === null || _this$opts$createGhos === void 0 ? void 0 : _this$opts$createGhos.call(_this$opts2, event2);
62377
+ const ghost = (_this$opts$createGhos = (_this$opts3 = this.opts).createGhost) === null || _this$opts$createGhos === void 0 ? void 0 : _this$opts$createGhos.call(_this$opts3, event2);
62355
62378
  if (ghost && event2.dataTransfer) {
62356
62379
  var _ghost$offsetX, _ghost$offsetY, _this$el$ownerDocumen2;
62357
62380
  addGhostImage(event2.dataTransfer, ghost.element, {
@@ -62369,7 +62392,6 @@ var Html5DragSource = class extends CompositeDisposable {
62369
62392
  event2.dataTransfer.effectAllowed = "move";
62370
62393
  if (event2.dataTransfer.items.length === 0) event2.dataTransfer.setData("text/plain", "");
62371
62394
  }
62372
- (_this$opts$onDragStar = (_this$opts3 = this.opts).onDragStart) === null || _this$opts$onDragStar === void 0 || _this$opts$onDragStar.call(_this$opts3, event2);
62373
62395
  }), addDisposableListener(this.el, "dragend", (event2) => {
62374
62396
  var _this$opts$onDragEnd, _this$opts4;
62375
62397
  this._pointerEventsDisposable.dispose();
@@ -62575,7 +62597,7 @@ var BasePanelView = class extends CompositeDisposable {
62575
62597
  height
62576
62598
  });
62577
62599
  if (this.part) {
62578
- if (this._params) this.part.update(this._params.params);
62600
+ if (this._params) this.part.update({ params: this._params.params });
62579
62601
  }
62580
62602
  }
62581
62603
  init(parameters) {
@@ -63011,7 +63033,7 @@ var Tab = class extends CompositeDisposable {
63011
63033
  onDragStart: (event2) => {
63012
63034
  var _this$accessor$option2;
63013
63035
  this._onDragStart.fire(event2);
63014
- if (!(event2 instanceof PointerEvent) && ((_this$accessor$option2 = this.accessor.options.theme) === null || _this$accessor$option2 === void 0 ? void 0 : _this$accessor$option2.tabAnimation) === "smooth") requestAnimationFrame(() => {
63036
+ if (!event2.defaultPrevented && !(event2 instanceof PointerEvent) && ((_this$accessor$option2 = this.accessor.options.theme) === null || _this$accessor$option2 === void 0 ? void 0 : _this$accessor$option2.tabAnimation) === "smooth") requestAnimationFrame(() => {
63015
63037
  toggleClass(this.element, "dv-tab--dragging", true);
63016
63038
  });
63017
63039
  },
@@ -63283,8 +63305,10 @@ var GroupDragSource = class extends CompositeDisposable {
63283
63305
  },
63284
63306
  onDragStart: (event2) => {
63285
63307
  var _this$getFloatingOver;
63286
- (_this$getFloatingOver = this.getFloatingOverlay()) === null || _this$getFloatingOver === void 0 || _this$getFloatingOver.cancelPendingDrag();
63308
+ const wasPrevented = event2.defaultPrevented;
63287
63309
  this._onDragStart.fire(event2);
63310
+ if (event2.defaultPrevented && !wasPrevented) return;
63311
+ (_this$getFloatingOver = this.getFloatingOverlay()) === null || _this$getFloatingOver === void 0 || _this$getFloatingOver.cancelPendingDrag();
63288
63312
  }
63289
63313
  }));
63290
63314
  const overlayMoveSub = new MutableDisposable();
@@ -66087,10 +66111,12 @@ var Tabs = class extends CompositeDisposable {
66087
66111
  value: tab,
66088
66112
  disposable: new CompositeDisposable(tab.onDragStart((event2) => {
66089
66113
  var _this$accessor$option2;
66114
+ const wasPrevented = event2.defaultPrevented;
66090
66115
  this._onTabDragStart.fire({
66091
66116
  nativeEvent: event2,
66092
66117
  panel
66093
66118
  });
66119
+ if (event2.defaultPrevented && !wasPrevented) return;
66094
66120
  if (((_this$accessor$option2 = this.accessor.options.theme) === null || _this$accessor$option2 === void 0 ? void 0 : _this$accessor$option2.tabAnimation) === "smooth") {
66095
66121
  const tabSize = mainAxisSize(tab.element.getBoundingClientRect(), this._direction);
66096
66122
  const sourceIndex = this._tabs.findIndex((x5) => x5.value === tab);
@@ -69553,7 +69579,7 @@ var FloatingGroupService = class {
69553
69579
  floatingGroupPanel.addDisposables(group.api.onDidActivePanelChange(() => updateDialogLabel()), overlay.onDidChange(() => {
69554
69580
  gridview.layout(gridview.width, gridview.height);
69555
69581
  }), overlay.onDidChangeEnd(() => {
69556
- this._host.fireLayoutChange();
69582
+ this._host.fireLayoutChange("geometry");
69557
69583
  }), group.onDidChange((event2) => {
69558
69584
  overlay.setBounds({
69559
69585
  height: typeof (event2 === null || event2 === void 0 ? void 0 : event2.height) === "number" ? event2.height + overlay.headerHeight : event2 === null || event2 === void 0 ? void 0 : event2.height,
@@ -72326,8 +72352,9 @@ var DockviewComponent = class extends BaseGrid {
72326
72352
  hasVisibleGridGroup() {
72327
72353
  return this.groups.some((group) => group.api.location.type === "grid" && group.api.isVisible);
72328
72354
  }
72329
- fireLayoutChange() {
72330
- this._bufferOnDidLayoutChange.fire();
72355
+ /** Ping `onDidLayoutChange` (coalesced) with why the layout changed. */
72356
+ fireLayoutChange(reason) {
72357
+ this._bufferOnDidLayoutChange.fire(reason);
72331
72358
  }
72332
72359
  /**
72333
72360
  * Promise that resolves when all popout groups from the last fromJSON call are restored.
@@ -72473,8 +72500,10 @@ var DockviewComponent = class extends BaseGrid {
72473
72500
  (_this$floatingDropTar = this.floatingDropTargetContainer.model) === null || _this$floatingDropTar === void 0 || _this$floatingDropTar.clear();
72474
72501
  }, true), this.overlayRenderContainer, this._onWillDragPanel, this._onWillDragGroup, this._onWillShowOverlay, this._onDidActivePanelChange, this._onDidPanelPinnedChange, this._onDidAddPanel, this._onDidRemovePanel, this._onDidLayoutFromJSON, this._onDidDrop, this._onWillDrop, this._onWillMutateLayout, this._onDidMutateLayout, this._onDidMovePanel, this._onDidMovePanel.event(() => {
72475
72502
  this.debouncedUpdateAllPositions();
72476
- }), this._onDidAddGroup, this._onDidRemoveGroup, this._onDidEdgeGroupAutoHideChange, this._onDidActiveGroupChange, this._onUnhandledDragOver, this._onDidMaximizedGroupChange, this._onDidPopoutGroupSizeChange, this._onDidPopoutGroupPositionChange, this._onDidAddPopoutGroup, this._onDidRemovePopoutGroup, this._onDidChangePopouts, this._onDidAddPopoutGroup.event(() => this._onDidChangePopouts.fire()), this._onDidRemovePopoutGroup.event(() => this._onDidChangePopouts.fire()), this._onDidOpenPopoutWindowFail, this._onDidStartFloatingGroupDrag, this._onDidEndFloatingGroupDrag, this._onDidCreateTabGroup, this._onDidDestroyTabGroup, this._onDidAddPanelToTabGroup, this._onDidRemovePanelFromTabGroup, this._onDidTabGroupChange, this._onDidTabGroupCollapsedChange, Event2.any(this.onDidPopoutGroupSizeChange, this.onDidPopoutGroupPositionChange, this.onDidCreateTabGroup, this.onDidDestroyTabGroup, this.onDidAddPanelToTabGroup, this.onDidRemovePanelFromTabGroup, this.onDidTabGroupChange, this.onDidTabGroupCollapsedChange)(() => {
72477
- this.fireLayoutChange();
72503
+ }), this._onDidAddGroup, this._onDidRemoveGroup, this._onDidEdgeGroupAutoHideChange, this._onDidActiveGroupChange, this._onUnhandledDragOver, this._onDidMaximizedGroupChange, this._onDidPopoutGroupSizeChange, this._onDidPopoutGroupPositionChange, this._onDidAddPopoutGroup, this._onDidRemovePopoutGroup, this._onDidChangePopouts, this._onDidAddPopoutGroup.event(() => this._onDidChangePopouts.fire()), this._onDidRemovePopoutGroup.event(() => this._onDidChangePopouts.fire()), this._onDidOpenPopoutWindowFail, this._onDidStartFloatingGroupDrag, this._onDidEndFloatingGroupDrag, this._onDidCreateTabGroup, this._onDidDestroyTabGroup, this._onDidAddPanelToTabGroup, this._onDidRemovePanelFromTabGroup, this._onDidTabGroupChange, this._onDidTabGroupCollapsedChange, Event2.any(this.onDidPopoutGroupSizeChange, this.onDidPopoutGroupPositionChange)(() => {
72504
+ this.fireLayoutChange("geometry");
72505
+ }), Event2.any(this.onDidCreateTabGroup, this.onDidDestroyTabGroup, this.onDidAddPanelToTabGroup, this.onDidRemovePanelFromTabGroup, this.onDidTabGroupChange, this.onDidTabGroupCollapsedChange)(() => {
72506
+ this.fireLayoutChange("structure");
72478
72507
  }), this._onDidOptionsChange, this.onDidAdd((event2) => {
72479
72508
  if (!this._moving) this._onDidAddGroup.fire(event2);
72480
72509
  }), this.onDidRemove((event2) => {
@@ -72486,8 +72515,10 @@ var DockviewComponent = class extends BaseGrid {
72486
72515
  group: event2.panel,
72487
72516
  isMaximized: event2.isMaximized
72488
72517
  });
72489
- }), Event2.any(this.onDidAddPanel, this.onDidRemovePanel, this.onDidAddGroup, this.onDidRemove, this.onDidRemoveGroup, this.onDidMovePanel, this.onDidActivePanelChange)(() => {
72490
- this._bufferOnDidLayoutChange.fire();
72518
+ }), Event2.any(this.onDidAddPanel, this.onDidRemovePanel, this.onDidAddGroup, this.onDidRemove, this.onDidRemoveGroup, this.onDidMovePanel)(() => {
72519
+ this._bufferOnDidLayoutChange.fire("structure");
72520
+ }), this.onDidActivePanelChange(() => {
72521
+ this._bufferOnDidLayoutChange.fire("activePanel");
72491
72522
  }), Disposable.from(() => {
72492
72523
  var _this$_shellManager2;
72493
72524
  this._moduleRegistry.dispose();
@@ -72849,10 +72880,13 @@ var DockviewComponent = class extends BaseGrid {
72849
72880
  }
72850
72881
  /**
72851
72882
  * Teardown for a popout window's `popoutWindowDisposable`. Runs when the
72852
- * window closes (by user, by `removeGroup`, or by component disposal):
72853
- * relocates every member group back to the main grid (or to a floating
72854
- * window when the anchor came from one), then disposes the nested gridview.
72855
- * `closeResult.returnedGroup` is read by the entry's `dispose()` contract.
72883
+ * window closes (by user, by `removeGroup` / `moveGroup`, or by component
72884
+ * disposal). On a genuine close it relocates every member group back to
72885
+ * the main grid (or to a floating window when the anchor came from one),
72886
+ * then disposes the nested gridview. On an explicit removal it only hands
72887
+ * the anchor back and disposes the nested gridview: the remover places the
72888
+ * group itself. `closeResult.returnedGroup` is read by the entry's
72889
+ * `dispose()` contract.
72856
72890
  */
72857
72891
  disposePopoutWindow(params) {
72858
72892
  var _this$_popoutWindowSe7;
@@ -72865,8 +72899,17 @@ var DockviewComponent = class extends BaseGrid {
72865
72899
  const members = this.groups.filter((candidate) => popoutGridview.element.contains(candidate.element));
72866
72900
  const anchorPresent = members.includes(group);
72867
72901
  const anchorIsSoleMember = anchorPresent && members.length === 1;
72902
+ if (!genuineClose) {
72903
+ if (anchorPresent && this.getPanel(group.id)) {
72904
+ group.model.renderContainer = this.overlayRenderContainer;
72905
+ group.model.dropTargetContainer = this.rootDropTargetContainer;
72906
+ closeResult.returnedGroup = group;
72907
+ }
72908
+ disposePopoutGridview();
72909
+ return;
72910
+ }
72868
72911
  const movedPanels = [];
72869
- if (genuineClose) for (const member of members) {
72912
+ for (const member of members) {
72870
72913
  if (member === group) continue;
72871
72914
  this.movingLock(() => {
72872
72915
  this.doRemoveGroup(member, {
@@ -72897,10 +72940,6 @@ var DockviewComponent = class extends BaseGrid {
72897
72940
  group.model.renderContainer = this.overlayRenderContainer;
72898
72941
  group.model.dropTargetContainer = this.rootDropTargetContainer;
72899
72942
  closeResult.returnedGroup = group;
72900
- if (!genuineClose) {
72901
- disposePopoutGridview();
72902
- return;
72903
- }
72904
72943
  if (floatingBox && anchorIsSoleMember) this.addFloatingGroup(group, {
72905
72944
  height: floatingBox.height,
72906
72945
  width: floatingBox.width,
@@ -73629,11 +73668,13 @@ var DockviewComponent = class extends BaseGrid {
73629
73668
  } catch (err) {
73630
73669
  var _this$_floatingGroupS6;
73631
73670
  console.error("dockview: failed to deserialize layout. Reverting changes", err);
73632
- for (const group of this.groups) for (const panel of group.panels) this.removePanel(panel, {
73671
+ for (const group of this.groups) for (const panel of group.panels.slice()) this.removePanel(panel, {
73633
73672
  removeEmptyGroup: false,
73634
73673
  skipDispose: false
73635
73674
  });
73636
73675
  for (const group of this.groups) {
73676
+ var _this$_edgeGroupServi9;
73677
+ if ((_this$_edgeGroupServi9 = this._edgeGroupService) === null || _this$_edgeGroupServi9 === void 0 ? void 0 : _this$_edgeGroupServi9.includes(group)) continue;
73637
73678
  group.dispose();
73638
73679
  this._groups.delete(group.id);
73639
73680
  this._onDidRemoveGroup.fire(group);
@@ -73788,8 +73829,8 @@ var DockviewComponent = class extends BaseGrid {
73788
73829
  const groups2 = Array.from(this._groups.values()).map((_7) => _7.value);
73789
73830
  const hasActiveGroup = !!this.activeGroup;
73790
73831
  for (const group of groups2) {
73791
- var _this$_edgeGroupServi9;
73792
- if ((_this$_edgeGroupServi9 = this._edgeGroupService) === null || _this$_edgeGroupServi9 === void 0 ? void 0 : _this$_edgeGroupServi9.includes(group)) {
73832
+ var _this$_edgeGroupServi10;
73833
+ if ((_this$_edgeGroupServi10 = this._edgeGroupService) === null || _this$_edgeGroupServi10 === void 0 ? void 0 : _this$_edgeGroupServi10.includes(group)) {
73793
73834
  const panels = [...group.panels];
73794
73835
  for (const panel of panels) this.removePanel(panel, { removeEmptyGroup: false });
73795
73836
  continue;
@@ -74220,8 +74261,8 @@ var DockviewComponent = class extends BaseGrid {
74220
74261
  }
74221
74262
  }
74222
74263
  doRemoveGroup(group, options3) {
74223
- var _this$_edgeGroupServi10;
74224
- if ((_this$_edgeGroupServi10 = this._edgeGroupService) === null || _this$_edgeGroupServi10 === void 0 ? void 0 : _this$_edgeGroupServi10.includes(group)) return group;
74264
+ var _this$_edgeGroupServi11;
74265
+ if ((_this$_edgeGroupServi11 = this._edgeGroupService) === null || _this$_edgeGroupServi11 === void 0 ? void 0 : _this$_edgeGroupServi11.includes(group)) return group;
74225
74266
  const panels = [...group.panels];
74226
74267
  if (!(options3 === null || options3 === void 0 ? void 0 : options3.skipDispose)) for (const panel of panels) {
74227
74268
  var _options$skipDispose;
@@ -74858,8 +74899,10 @@ var DockviewComponent = class extends BaseGrid {
74858
74899
  if (this._moving) return;
74859
74900
  if (event2.panel !== this.activePanel) return;
74860
74901
  if (((_this$_onDidActivePan3 = this._onDidActivePanelChange.value) === null || _this$_onDidActivePan3 === void 0 ? void 0 : _this$_onDidActivePan3.panel) !== event2.panel) this.fireActivePanelChange(event2.panel);
74861
- }), Event2.any(view.model.onDidPanelTitleChange, view.model.onDidPanelParametersChange)(() => {
74862
- this._bufferOnDidLayoutChange.fire();
74902
+ }), view.model.onDidPanelTitleChange(() => {
74903
+ this._bufferOnDidLayoutChange.fire("panelTitle");
74904
+ }), view.model.onDidPanelParametersChange(() => {
74905
+ this._bufferOnDidLayoutChange.fire("panelParameters");
74863
74906
  }));
74864
74907
  this._groups.set(view.id, {
74865
74908
  value: view,
@@ -84946,7 +84989,7 @@ lit-html/static.js:
84946
84989
  dockview-core/dist/package/main.esm.mjs:
84947
84990
  (**
84948
84991
  * dockview-core
84949
- * @version 8.7.1
84992
+ * @version 8.8.0
84950
84993
  * @link https://github.com/dockview/dockview
84951
84994
  * @license MIT
84952
84995
  *)