dockview-react 2.1.2 → 2.1.4
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-react.amd.js +10 -17
- package/dist/dockview-react.amd.js.map +1 -1
- package/dist/dockview-react.amd.min.js +2 -2
- package/dist/dockview-react.amd.min.js.map +1 -1
- package/dist/dockview-react.amd.min.noStyle.js +2 -2
- package/dist/dockview-react.amd.min.noStyle.js.map +1 -1
- package/dist/dockview-react.amd.noStyle.js +10 -17
- package/dist/dockview-react.amd.noStyle.js.map +1 -1
- package/dist/dockview-react.cjs.js +10 -17
- package/dist/dockview-react.cjs.js.map +1 -1
- package/dist/dockview-react.esm.js +10 -17
- package/dist/dockview-react.esm.js.map +1 -1
- package/dist/dockview-react.esm.min.js +2 -2
- package/dist/dockview-react.esm.min.js.map +1 -1
- package/dist/dockview-react.js +10 -17
- package/dist/dockview-react.js.map +1 -1
- package/dist/dockview-react.min.js +2 -2
- package/dist/dockview-react.min.js.map +1 -1
- package/dist/dockview-react.min.noStyle.js +2 -2
- package/dist/dockview-react.min.noStyle.js.map +1 -1
- package/dist/dockview-react.noStyle.js +10 -17
- package/dist/dockview-react.noStyle.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* dockview-react
|
|
3
|
-
* @version 2.1.
|
|
3
|
+
* @version 2.1.4
|
|
4
4
|
* @link https://github.com/mathuo/dockview
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
@@ -7610,10 +7610,6 @@ define(['exports', 'react', 'react-dom'], (function (exports, React, ReactDOM) {
|
|
|
7610
7610
|
this._api = new DockviewApi(this);
|
|
7611
7611
|
this.updateWatermark();
|
|
7612
7612
|
}
|
|
7613
|
-
dispose() {
|
|
7614
|
-
this.clear(); // explicitly clear the layout before cleaning up
|
|
7615
|
-
super.dispose();
|
|
7616
|
-
}
|
|
7617
7613
|
setVisible(panel, visible) {
|
|
7618
7614
|
switch (panel.api.location.type) {
|
|
7619
7615
|
case 'grid':
|
|
@@ -7797,30 +7793,29 @@ define(['exports', 'react', 'react-dom'], (function (exports, React, ReactDOM) {
|
|
|
7797
7793
|
}
|
|
7798
7794
|
}
|
|
7799
7795
|
else if (this.getPanel(group.id)) {
|
|
7800
|
-
|
|
7796
|
+
group.model.renderContainer =
|
|
7797
|
+
this.overlayRenderContainer;
|
|
7798
|
+
returnedGroup = group;
|
|
7801
7799
|
if (floatingBox) {
|
|
7802
|
-
this.addFloatingGroup(
|
|
7800
|
+
this.addFloatingGroup(group, {
|
|
7803
7801
|
height: floatingBox.height,
|
|
7804
7802
|
width: floatingBox.width,
|
|
7805
7803
|
position: floatingBox,
|
|
7806
7804
|
});
|
|
7807
7805
|
}
|
|
7808
7806
|
else {
|
|
7809
|
-
this.doRemoveGroup(
|
|
7807
|
+
this.doRemoveGroup(group, {
|
|
7810
7808
|
skipDispose: true,
|
|
7811
7809
|
skipActive: true,
|
|
7812
7810
|
skipPopoutReturn: true,
|
|
7813
7811
|
});
|
|
7814
|
-
|
|
7815
|
-
this.overlayRenderContainer;
|
|
7816
|
-
removedGroup.model.location = { type: 'grid' };
|
|
7817
|
-
returnedGroup = removedGroup;
|
|
7812
|
+
group.model.location = { type: 'grid' };
|
|
7818
7813
|
this.movingLock(() => {
|
|
7819
7814
|
// suppress group add events since the group already exists
|
|
7820
|
-
this.doAddGroup(
|
|
7815
|
+
this.doAddGroup(group, [0]);
|
|
7821
7816
|
});
|
|
7822
7817
|
}
|
|
7823
|
-
this.doSetGroupAndPanelActive(
|
|
7818
|
+
this.doSetGroupAndPanelActive(group);
|
|
7824
7819
|
}
|
|
7825
7820
|
}));
|
|
7826
7821
|
this._popoutGroups.push(value);
|
|
@@ -8711,9 +8706,7 @@ define(['exports', 'react', 'react-dom'], (function (exports, React, ReactDOM) {
|
|
|
8711
8706
|
}));
|
|
8712
8707
|
this.doRemoveGroup(sourceGroup, { skipActive: true });
|
|
8713
8708
|
const newGroup = this.createGroupAtLocation(targetLocation);
|
|
8714
|
-
this.movingLock(() => newGroup.model.openPanel(removedPanel
|
|
8715
|
-
skipSetActive: true,
|
|
8716
|
-
}));
|
|
8709
|
+
this.movingLock(() => newGroup.model.openPanel(removedPanel));
|
|
8717
8710
|
this.doSetGroupAndPanelActive(newGroup);
|
|
8718
8711
|
this._onDidMovePanel.fire({
|
|
8719
8712
|
panel: this.getGroupPanel(sourceItemId),
|