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
|
*/
|
|
@@ -8530,7 +8530,14 @@ define(['exports', '@angular/core', '@angular/common', 'rxjs'], (function (expor
|
|
|
8530
8530
|
if (options.debug) {
|
|
8531
8531
|
this.addDisposables(new StrictEventsSequencing(this));
|
|
8532
8532
|
}
|
|
8533
|
-
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.
|
|
8533
|
+
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(() => {
|
|
8534
|
+
/**
|
|
8535
|
+
* Update overlay positions after DOM layout completes to prevent 0×0 dimensions.
|
|
8536
|
+
* With defaultRenderer="always" this results in panel content not showing after move operations.
|
|
8537
|
+
* Debounced to avoid multiple calls when moving groups with multiple panels.
|
|
8538
|
+
*/
|
|
8539
|
+
this.debouncedUpdateAllPositions();
|
|
8540
|
+
}), this._onDidAddGroup, this._onDidRemoveGroup, this._onDidActiveGroupChange, this._onUnhandledDragOverEvent, this._onDidMaximizedGroupChange, this._onDidOptionsChange, this._onDidPopoutGroupSizeChange, this._onDidPopoutGroupPositionChange, this._onDidOpenPopoutWindowFail, this.onDidViewVisibilityChangeMicroTaskQueue(() => {
|
|
8534
8541
|
this.updateWatermark();
|
|
8535
8542
|
}), this.onDidAdd((event) => {
|
|
8536
8543
|
if (!this._moving) {
|
|
@@ -9734,6 +9741,15 @@ define(['exports', '@angular/core', '@angular/common', 'rxjs'], (function (expor
|
|
|
9734
9741
|
}
|
|
9735
9742
|
return re;
|
|
9736
9743
|
}
|
|
9744
|
+
debouncedUpdateAllPositions() {
|
|
9745
|
+
if (this._updatePositionsFrameId !== undefined) {
|
|
9746
|
+
cancelAnimationFrame(this._updatePositionsFrameId);
|
|
9747
|
+
}
|
|
9748
|
+
this._updatePositionsFrameId = requestAnimationFrame(() => {
|
|
9749
|
+
this._updatePositionsFrameId = undefined;
|
|
9750
|
+
this.overlayRenderContainer.updateAllPositions();
|
|
9751
|
+
});
|
|
9752
|
+
}
|
|
9737
9753
|
movingLock(func) {
|
|
9738
9754
|
const isMoving = this._moving;
|
|
9739
9755
|
try {
|
|
@@ -9804,13 +9820,6 @@ define(['exports', '@angular/core', '@angular/common', 'rxjs'], (function (expor
|
|
|
9804
9820
|
panel: removedPanel,
|
|
9805
9821
|
from: sourceGroup,
|
|
9806
9822
|
});
|
|
9807
|
-
/**
|
|
9808
|
-
* Update overlay positions after DOM layout completes to prevent 0×0 dimensions.
|
|
9809
|
-
* With defaultRenderer="always" this results in panel content not showing after move operations.
|
|
9810
|
-
*/
|
|
9811
|
-
requestAnimationFrame(() => {
|
|
9812
|
-
this.overlayRenderContainer.updateAllPositions();
|
|
9813
|
-
});
|
|
9814
9823
|
}
|
|
9815
9824
|
else {
|
|
9816
9825
|
/**
|