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
|
*/
|
|
@@ -8562,7 +8562,14 @@ class DockviewComponent extends BaseGrid {
|
|
|
8562
8562
|
if (options.debug) {
|
|
8563
8563
|
this.addDisposables(new StrictEventsSequencing(this));
|
|
8564
8564
|
}
|
|
8565
|
-
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.
|
|
8565
|
+
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(() => {
|
|
8566
|
+
/**
|
|
8567
|
+
* Update overlay positions after DOM layout completes to prevent 0×0 dimensions.
|
|
8568
|
+
* With defaultRenderer="always" this results in panel content not showing after move operations.
|
|
8569
|
+
* Debounced to avoid multiple calls when moving groups with multiple panels.
|
|
8570
|
+
*/
|
|
8571
|
+
this.debouncedUpdateAllPositions();
|
|
8572
|
+
}), this._onDidAddGroup, this._onDidRemoveGroup, this._onDidActiveGroupChange, this._onUnhandledDragOverEvent, this._onDidMaximizedGroupChange, this._onDidOptionsChange, this._onDidPopoutGroupSizeChange, this._onDidPopoutGroupPositionChange, this._onDidOpenPopoutWindowFail, this.onDidViewVisibilityChangeMicroTaskQueue(() => {
|
|
8566
8573
|
this.updateWatermark();
|
|
8567
8574
|
}), this.onDidAdd((event) => {
|
|
8568
8575
|
if (!this._moving) {
|
|
@@ -9766,6 +9773,15 @@ class DockviewComponent extends BaseGrid {
|
|
|
9766
9773
|
}
|
|
9767
9774
|
return re;
|
|
9768
9775
|
}
|
|
9776
|
+
debouncedUpdateAllPositions() {
|
|
9777
|
+
if (this._updatePositionsFrameId !== undefined) {
|
|
9778
|
+
cancelAnimationFrame(this._updatePositionsFrameId);
|
|
9779
|
+
}
|
|
9780
|
+
this._updatePositionsFrameId = requestAnimationFrame(() => {
|
|
9781
|
+
this._updatePositionsFrameId = undefined;
|
|
9782
|
+
this.overlayRenderContainer.updateAllPositions();
|
|
9783
|
+
});
|
|
9784
|
+
}
|
|
9769
9785
|
movingLock(func) {
|
|
9770
9786
|
const isMoving = this._moving;
|
|
9771
9787
|
try {
|
|
@@ -9836,13 +9852,6 @@ class DockviewComponent extends BaseGrid {
|
|
|
9836
9852
|
panel: removedPanel,
|
|
9837
9853
|
from: sourceGroup,
|
|
9838
9854
|
});
|
|
9839
|
-
/**
|
|
9840
|
-
* Update overlay positions after DOM layout completes to prevent 0×0 dimensions.
|
|
9841
|
-
* With defaultRenderer="always" this results in panel content not showing after move operations.
|
|
9842
|
-
*/
|
|
9843
|
-
requestAnimationFrame(() => {
|
|
9844
|
-
this.overlayRenderContainer.updateAllPositions();
|
|
9845
|
-
});
|
|
9846
9855
|
}
|
|
9847
9856
|
else {
|
|
9848
9857
|
/**
|