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.noStyle.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
|
*/
|
|
@@ -3485,11 +3485,11 @@
|
|
|
3485
3485
|
}
|
|
3486
3486
|
closePanel() {
|
|
3487
3487
|
if (this.panel) {
|
|
3488
|
-
if (this.
|
|
3488
|
+
if (this.panel.api.renderer === 'onlyWhenVisibile') {
|
|
3489
3489
|
this._element.removeChild(this.panel.view.content.element);
|
|
3490
3490
|
}
|
|
3491
|
-
this.panel = undefined;
|
|
3492
3491
|
}
|
|
3492
|
+
this.panel = undefined;
|
|
3493
3493
|
}
|
|
3494
3494
|
dispose() {
|
|
3495
3495
|
this.disposable.dispose();
|
|
@@ -4240,6 +4240,7 @@
|
|
|
4240
4240
|
if (!skipSetGroupActive) {
|
|
4241
4241
|
this.accessor.doSetGroupActive(this.groupPanel);
|
|
4242
4242
|
}
|
|
4243
|
+
this.contentContainer.renderPanel(panel, { asActive: true });
|
|
4243
4244
|
return;
|
|
4244
4245
|
}
|
|
4245
4246
|
this.doAddPanel(panel, options.index, skipSetPanelActive);
|
|
@@ -7261,7 +7262,7 @@
|
|
|
7261
7262
|
}
|
|
7262
7263
|
addGroup(options) {
|
|
7263
7264
|
var _a;
|
|
7264
|
-
const group = this.createGroup();
|
|
7265
|
+
const group = this.createGroup(options);
|
|
7265
7266
|
if (options) {
|
|
7266
7267
|
let referenceGroup;
|
|
7267
7268
|
if (isGroupOptionsWithPanel(options)) {
|