dockview 1.9.1 → 1.9.2
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.amd.js +5 -4
- package/dist/dockview.amd.js.map +1 -1
- package/dist/dockview.amd.min.js +2 -2
- package/dist/dockview.amd.min.js.map +1 -1
- package/dist/dockview.amd.min.noStyle.js +2 -2
- package/dist/dockview.amd.min.noStyle.js.map +1 -1
- package/dist/dockview.amd.noStyle.js +5 -4
- package/dist/dockview.amd.noStyle.js.map +1 -1
- package/dist/dockview.cjs.js +5 -4
- package/dist/dockview.cjs.js.map +1 -1
- package/dist/dockview.esm.js +5 -4
- package/dist/dockview.esm.js.map +1 -1
- package/dist/dockview.esm.min.js +2 -2
- package/dist/dockview.esm.min.js.map +1 -1
- package/dist/dockview.js +5 -4
- package/dist/dockview.js.map +1 -1
- package/dist/dockview.min.js +2 -2
- package/dist/dockview.min.js.map +1 -1
- package/dist/dockview.min.noStyle.js +2 -2
- package/dist/dockview.min.noStyle.js.map +1 -1
- package/dist/dockview.noStyle.js +5 -4
- package/dist/dockview.noStyle.js.map +1 -1
- package/package.json +2 -2
package/dist/dockview.amd.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* dockview
|
|
3
|
-
* @version 1.9.
|
|
3
|
+
* @version 1.9.2
|
|
4
4
|
* @link https://github.com/mathuo/dockview
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
@@ -3511,11 +3511,11 @@ define(['exports', 'react', 'react-dom'], (function (exports, React, ReactDOM) {
|
|
|
3511
3511
|
}
|
|
3512
3512
|
closePanel() {
|
|
3513
3513
|
if (this.panel) {
|
|
3514
|
-
if (this.
|
|
3514
|
+
if (this.panel.api.renderer === 'onlyWhenVisibile') {
|
|
3515
3515
|
this._element.removeChild(this.panel.view.content.element);
|
|
3516
3516
|
}
|
|
3517
|
-
this.panel = undefined;
|
|
3518
3517
|
}
|
|
3518
|
+
this.panel = undefined;
|
|
3519
3519
|
}
|
|
3520
3520
|
dispose() {
|
|
3521
3521
|
this.disposable.dispose();
|
|
@@ -4266,6 +4266,7 @@ define(['exports', 'react', 'react-dom'], (function (exports, React, ReactDOM) {
|
|
|
4266
4266
|
if (!skipSetGroupActive) {
|
|
4267
4267
|
this.accessor.doSetGroupActive(this.groupPanel);
|
|
4268
4268
|
}
|
|
4269
|
+
this.contentContainer.renderPanel(panel, { asActive: true });
|
|
4269
4270
|
return;
|
|
4270
4271
|
}
|
|
4271
4272
|
this.doAddPanel(panel, options.index, skipSetPanelActive);
|
|
@@ -7287,7 +7288,7 @@ define(['exports', 'react', 'react-dom'], (function (exports, React, ReactDOM) {
|
|
|
7287
7288
|
}
|
|
7288
7289
|
addGroup(options) {
|
|
7289
7290
|
var _a;
|
|
7290
|
-
const group = this.createGroup();
|
|
7291
|
+
const group = this.createGroup(options);
|
|
7291
7292
|
if (options) {
|
|
7292
7293
|
let referenceGroup;
|
|
7293
7294
|
if (isGroupOptionsWithPanel(options)) {
|