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.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
|
*/
|
|
@@ -3515,11 +3515,11 @@
|
|
|
3515
3515
|
}
|
|
3516
3516
|
closePanel() {
|
|
3517
3517
|
if (this.panel) {
|
|
3518
|
-
if (this.
|
|
3518
|
+
if (this.panel.api.renderer === 'onlyWhenVisibile') {
|
|
3519
3519
|
this._element.removeChild(this.panel.view.content.element);
|
|
3520
3520
|
}
|
|
3521
|
-
this.panel = undefined;
|
|
3522
3521
|
}
|
|
3522
|
+
this.panel = undefined;
|
|
3523
3523
|
}
|
|
3524
3524
|
dispose() {
|
|
3525
3525
|
this.disposable.dispose();
|
|
@@ -4270,6 +4270,7 @@
|
|
|
4270
4270
|
if (!skipSetGroupActive) {
|
|
4271
4271
|
this.accessor.doSetGroupActive(this.groupPanel);
|
|
4272
4272
|
}
|
|
4273
|
+
this.contentContainer.renderPanel(panel, { asActive: true });
|
|
4273
4274
|
return;
|
|
4274
4275
|
}
|
|
4275
4276
|
this.doAddPanel(panel, options.index, skipSetPanelActive);
|
|
@@ -7291,7 +7292,7 @@
|
|
|
7291
7292
|
}
|
|
7292
7293
|
addGroup(options) {
|
|
7293
7294
|
var _a;
|
|
7294
|
-
const group = this.createGroup();
|
|
7295
|
+
const group = this.createGroup(options);
|
|
7295
7296
|
if (options) {
|
|
7296
7297
|
let referenceGroup;
|
|
7297
7298
|
if (isGroupOptionsWithPanel(options)) {
|