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