dockview-core 2.1.3 → 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/cjs/dockview/dockviewComponent.d.ts +0 -1
- package/dist/cjs/dockview/dockviewComponent.js +8 -13
- package/dist/dockview-core.amd.js +9 -14
- package/dist/dockview-core.amd.js.map +1 -1
- package/dist/dockview-core.amd.min.js +2 -2
- package/dist/dockview-core.amd.min.js.map +1 -1
- package/dist/dockview-core.amd.min.noStyle.js +2 -2
- package/dist/dockview-core.amd.min.noStyle.js.map +1 -1
- package/dist/dockview-core.amd.noStyle.js +9 -14
- package/dist/dockview-core.amd.noStyle.js.map +1 -1
- package/dist/dockview-core.cjs.js +9 -14
- package/dist/dockview-core.cjs.js.map +1 -1
- package/dist/dockview-core.esm.js +9 -14
- package/dist/dockview-core.esm.js.map +1 -1
- package/dist/dockview-core.esm.min.js +2 -2
- package/dist/dockview-core.esm.min.js.map +1 -1
- package/dist/dockview-core.js +9 -14
- package/dist/dockview-core.js.map +1 -1
- package/dist/dockview-core.min.js +2 -2
- package/dist/dockview-core.min.js.map +1 -1
- package/dist/dockview-core.min.noStyle.js +2 -2
- package/dist/dockview-core.min.noStyle.js.map +1 -1
- package/dist/dockview-core.noStyle.js +9 -14
- package/dist/dockview-core.noStyle.js.map +1 -1
- package/dist/esm/dockview/dockviewComponent.d.ts +0 -1
- package/dist/esm/dockview/dockviewComponent.js +8 -13
- package/package.json +1 -1
|
@@ -208,7 +208,6 @@ export declare class DockviewComponent extends BaseGrid<DockviewGroupPanel> impl
|
|
|
208
208
|
get gap(): number;
|
|
209
209
|
get floatingGroups(): DockviewFloatingGroupPanel[];
|
|
210
210
|
constructor(parentElement: HTMLElement, options: DockviewComponentOptions);
|
|
211
|
-
dispose(): void;
|
|
212
211
|
setVisible(panel: DockviewGroupPanel, visible: boolean): void;
|
|
213
212
|
addPopoutGroup(itemToPopout: DockviewPanel | DockviewGroupPanel, options?: DockviewPopoutGroupOptions): Promise<boolean>;
|
|
214
213
|
addFloatingGroup(item: DockviewPanel | DockviewGroupPanel, options?: FloatingGroupOptionsInternal): void;
|
|
@@ -369,10 +369,6 @@ var DockviewComponent = /** @class */ (function (_super) {
|
|
|
369
369
|
enumerable: false,
|
|
370
370
|
configurable: true
|
|
371
371
|
});
|
|
372
|
-
DockviewComponent.prototype.dispose = function () {
|
|
373
|
-
this.clear(); // explicitly clear the layout before cleaning up
|
|
374
|
-
_super.prototype.dispose.call(this);
|
|
375
|
-
};
|
|
376
372
|
DockviewComponent.prototype.setVisible = function (panel, visible) {
|
|
377
373
|
switch (panel.api.location.type) {
|
|
378
374
|
case 'grid':
|
|
@@ -563,30 +559,29 @@ var DockviewComponent = /** @class */ (function (_super) {
|
|
|
563
559
|
}
|
|
564
560
|
}
|
|
565
561
|
else if (_this.getPanel(group.id)) {
|
|
566
|
-
|
|
562
|
+
group.model.renderContainer =
|
|
563
|
+
_this.overlayRenderContainer;
|
|
564
|
+
returnedGroup = group;
|
|
567
565
|
if (floatingBox) {
|
|
568
|
-
_this.addFloatingGroup(
|
|
566
|
+
_this.addFloatingGroup(group, {
|
|
569
567
|
height: floatingBox.height,
|
|
570
568
|
width: floatingBox.width,
|
|
571
569
|
position: floatingBox,
|
|
572
570
|
});
|
|
573
571
|
}
|
|
574
572
|
else {
|
|
575
|
-
_this.doRemoveGroup(
|
|
573
|
+
_this.doRemoveGroup(group, {
|
|
576
574
|
skipDispose: true,
|
|
577
575
|
skipActive: true,
|
|
578
576
|
skipPopoutReturn: true,
|
|
579
577
|
});
|
|
580
|
-
|
|
581
|
-
_this.overlayRenderContainer;
|
|
582
|
-
removedGroup_1.model.location = { type: 'grid' };
|
|
583
|
-
returnedGroup = removedGroup_1;
|
|
578
|
+
group.model.location = { type: 'grid' };
|
|
584
579
|
_this.movingLock(function () {
|
|
585
580
|
// suppress group add events since the group already exists
|
|
586
|
-
_this.doAddGroup(
|
|
581
|
+
_this.doAddGroup(group, [0]);
|
|
587
582
|
});
|
|
588
583
|
}
|
|
589
|
-
_this.doSetGroupAndPanelActive(
|
|
584
|
+
_this.doSetGroupAndPanelActive(group);
|
|
590
585
|
}
|
|
591
586
|
}));
|
|
592
587
|
_this._popoutGroups.push(value);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* dockview-core
|
|
3
|
-
* @version 2.1.
|
|
3
|
+
* @version 2.1.4
|
|
4
4
|
* @link https://github.com/mathuo/dockview
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
@@ -7663,10 +7663,6 @@ define(['exports'], (function (exports) { 'use strict';
|
|
|
7663
7663
|
this._api = new DockviewApi(this);
|
|
7664
7664
|
this.updateWatermark();
|
|
7665
7665
|
}
|
|
7666
|
-
dispose() {
|
|
7667
|
-
this.clear(); // explicitly clear the layout before cleaning up
|
|
7668
|
-
super.dispose();
|
|
7669
|
-
}
|
|
7670
7666
|
setVisible(panel, visible) {
|
|
7671
7667
|
switch (panel.api.location.type) {
|
|
7672
7668
|
case 'grid':
|
|
@@ -7850,30 +7846,29 @@ define(['exports'], (function (exports) { 'use strict';
|
|
|
7850
7846
|
}
|
|
7851
7847
|
}
|
|
7852
7848
|
else if (this.getPanel(group.id)) {
|
|
7853
|
-
|
|
7849
|
+
group.model.renderContainer =
|
|
7850
|
+
this.overlayRenderContainer;
|
|
7851
|
+
returnedGroup = group;
|
|
7854
7852
|
if (floatingBox) {
|
|
7855
|
-
this.addFloatingGroup(
|
|
7853
|
+
this.addFloatingGroup(group, {
|
|
7856
7854
|
height: floatingBox.height,
|
|
7857
7855
|
width: floatingBox.width,
|
|
7858
7856
|
position: floatingBox,
|
|
7859
7857
|
});
|
|
7860
7858
|
}
|
|
7861
7859
|
else {
|
|
7862
|
-
this.doRemoveGroup(
|
|
7860
|
+
this.doRemoveGroup(group, {
|
|
7863
7861
|
skipDispose: true,
|
|
7864
7862
|
skipActive: true,
|
|
7865
7863
|
skipPopoutReturn: true,
|
|
7866
7864
|
});
|
|
7867
|
-
|
|
7868
|
-
this.overlayRenderContainer;
|
|
7869
|
-
removedGroup.model.location = { type: 'grid' };
|
|
7870
|
-
returnedGroup = removedGroup;
|
|
7865
|
+
group.model.location = { type: 'grid' };
|
|
7871
7866
|
this.movingLock(() => {
|
|
7872
7867
|
// suppress group add events since the group already exists
|
|
7873
|
-
this.doAddGroup(
|
|
7868
|
+
this.doAddGroup(group, [0]);
|
|
7874
7869
|
});
|
|
7875
7870
|
}
|
|
7876
|
-
this.doSetGroupAndPanelActive(
|
|
7871
|
+
this.doSetGroupAndPanelActive(group);
|
|
7877
7872
|
}
|
|
7878
7873
|
}));
|
|
7879
7874
|
this._popoutGroups.push(value);
|