dockview-angular 0.0.0-experimental-4e3871a-20251228 → 0.0.0-experimental-9b12ca8-20251228
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/dockview-angular.amd.js +18 -9
- package/dist/dockview-angular.amd.js.map +1 -1
- package/dist/dockview-angular.amd.min.js +2 -2
- package/dist/dockview-angular.amd.min.js.map +1 -1
- package/dist/dockview-angular.amd.min.noStyle.js +2 -2
- package/dist/dockview-angular.amd.min.noStyle.js.map +1 -1
- package/dist/dockview-angular.amd.noStyle.js +18 -9
- package/dist/dockview-angular.amd.noStyle.js.map +1 -1
- package/dist/dockview-angular.cjs.js +18 -9
- package/dist/dockview-angular.cjs.js.map +1 -1
- package/dist/dockview-angular.esm.js +18 -9
- package/dist/dockview-angular.esm.js.map +1 -1
- package/dist/dockview-angular.esm.min.js +2 -2
- package/dist/dockview-angular.esm.min.js.map +1 -1
- package/dist/dockview-angular.js +18 -9
- package/dist/dockview-angular.js.map +1 -1
- package/dist/dockview-angular.min.js +2 -2
- package/dist/dockview-angular.min.js.map +1 -1
- package/dist/dockview-angular.min.noStyle.js +2 -2
- package/dist/dockview-angular.min.noStyle.js.map +1 -1
- package/dist/dockview-angular.noStyle.js +18 -9
- package/dist/dockview-angular.noStyle.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* dockview-angular
|
|
3
|
-
* @version 0.0.0-experimental-
|
|
3
|
+
* @version 0.0.0-experimental-9b12ca8-20251228
|
|
4
4
|
* @link https://github.com/mathuo/dockview
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
@@ -8564,7 +8564,14 @@ class DockviewComponent extends BaseGrid {
|
|
|
8564
8564
|
if (options.debug) {
|
|
8565
8565
|
this.addDisposables(new StrictEventsSequencing(this));
|
|
8566
8566
|
}
|
|
8567
|
-
this.addDisposables(this.rootDropTargetContainer, this.overlayRenderContainer, this._onWillDragPanel, this._onWillDragGroup, this._onWillShowOverlay, this._onDidActivePanelChange, this._onDidAddPanel, this._onDidRemovePanel, this._onDidLayoutFromJSON, this._onDidDrop, this._onWillDrop, this._onDidMovePanel, this.
|
|
8567
|
+
this.addDisposables(this.rootDropTargetContainer, this.overlayRenderContainer, this._onWillDragPanel, this._onWillDragGroup, this._onWillShowOverlay, this._onDidActivePanelChange, this._onDidAddPanel, this._onDidRemovePanel, this._onDidLayoutFromJSON, this._onDidDrop, this._onWillDrop, this._onDidMovePanel, this._onDidMovePanel.event(() => {
|
|
8568
|
+
/**
|
|
8569
|
+
* Update overlay positions after DOM layout completes to prevent 0×0 dimensions.
|
|
8570
|
+
* With defaultRenderer="always" this results in panel content not showing after move operations.
|
|
8571
|
+
* Debounced to avoid multiple calls when moving groups with multiple panels.
|
|
8572
|
+
*/
|
|
8573
|
+
this.debouncedUpdateAllPositions();
|
|
8574
|
+
}), this._onDidAddGroup, this._onDidRemoveGroup, this._onDidActiveGroupChange, this._onUnhandledDragOverEvent, this._onDidMaximizedGroupChange, this._onDidOptionsChange, this._onDidPopoutGroupSizeChange, this._onDidPopoutGroupPositionChange, this._onDidOpenPopoutWindowFail, this.onDidViewVisibilityChangeMicroTaskQueue(() => {
|
|
8568
8575
|
this.updateWatermark();
|
|
8569
8576
|
}), this.onDidAdd((event) => {
|
|
8570
8577
|
if (!this._moving) {
|
|
@@ -9768,6 +9775,15 @@ class DockviewComponent extends BaseGrid {
|
|
|
9768
9775
|
}
|
|
9769
9776
|
return re;
|
|
9770
9777
|
}
|
|
9778
|
+
debouncedUpdateAllPositions() {
|
|
9779
|
+
if (this._updatePositionsFrameId !== undefined) {
|
|
9780
|
+
cancelAnimationFrame(this._updatePositionsFrameId);
|
|
9781
|
+
}
|
|
9782
|
+
this._updatePositionsFrameId = requestAnimationFrame(() => {
|
|
9783
|
+
this._updatePositionsFrameId = undefined;
|
|
9784
|
+
this.overlayRenderContainer.updateAllPositions();
|
|
9785
|
+
});
|
|
9786
|
+
}
|
|
9771
9787
|
movingLock(func) {
|
|
9772
9788
|
const isMoving = this._moving;
|
|
9773
9789
|
try {
|
|
@@ -9838,13 +9854,6 @@ class DockviewComponent extends BaseGrid {
|
|
|
9838
9854
|
panel: removedPanel,
|
|
9839
9855
|
from: sourceGroup,
|
|
9840
9856
|
});
|
|
9841
|
-
/**
|
|
9842
|
-
* Update overlay positions after DOM layout completes to prevent 0×0 dimensions.
|
|
9843
|
-
* With defaultRenderer="always" this results in panel content not showing after move operations.
|
|
9844
|
-
*/
|
|
9845
|
-
requestAnimationFrame(() => {
|
|
9846
|
-
this.overlayRenderContainer.updateAllPositions();
|
|
9847
|
-
});
|
|
9848
9857
|
}
|
|
9849
9858
|
else {
|
|
9850
9859
|
/**
|