dockview 1.4.0 → 1.4.1

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.
Files changed (94) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/api/component.api.d.ts +0 -5
  3. package/dist/cjs/api/component.api.js +0 -15
  4. package/dist/cjs/api/component.api.js.map +1 -1
  5. package/dist/cjs/api/panelApi.d.ts +1 -2
  6. package/dist/cjs/api/panelApi.js +3 -3
  7. package/dist/cjs/api/panelApi.js.map +1 -1
  8. package/dist/cjs/dockview/components/tab/defaultTab.d.ts +0 -17
  9. package/dist/cjs/dockview/components/tab/defaultTab.js +9 -64
  10. package/dist/cjs/dockview/components/tab/defaultTab.js.map +1 -1
  11. package/dist/cjs/dockview/defaultGroupPanelView.d.ts +1 -2
  12. package/dist/cjs/dockview/defaultGroupPanelView.js +2 -4
  13. package/dist/cjs/dockview/defaultGroupPanelView.js.map +1 -1
  14. package/dist/cjs/dockview/dockviewComponent.js +2 -2
  15. package/dist/cjs/dockview/dockviewComponent.js.map +1 -1
  16. package/dist/cjs/dockview/dockviewGroupPanel.js +1 -1
  17. package/dist/cjs/dockview/dockviewGroupPanel.js.map +1 -1
  18. package/dist/cjs/gridview/basePanelView.js +1 -1
  19. package/dist/cjs/gridview/basePanelView.js.map +1 -1
  20. package/dist/cjs/gridview/gridview.js +1 -1
  21. package/dist/cjs/gridview/gridview.js.map +1 -1
  22. package/dist/cjs/gridview/gridviewComponent.d.ts +0 -2
  23. package/dist/cjs/gridview/gridviewComponent.js +2 -6
  24. package/dist/cjs/gridview/gridviewComponent.js.map +1 -1
  25. package/dist/cjs/gridview/gridviewPanel.d.ts +2 -3
  26. package/dist/cjs/gridview/gridviewPanel.js +4 -4
  27. package/dist/cjs/gridview/gridviewPanel.js.map +1 -1
  28. package/dist/cjs/groupview/types.d.ts +1 -3
  29. package/dist/cjs/paneview/paneviewComponent.js +2 -2
  30. package/dist/cjs/paneview/paneviewComponent.js.map +1 -1
  31. package/dist/cjs/react/dockview/reactContentPart.d.ts +2 -4
  32. package/dist/cjs/react/dockview/reactContentPart.js +0 -3
  33. package/dist/cjs/react/dockview/reactContentPart.js.map +1 -1
  34. package/dist/cjs/react/dockview/v2/reactContentRenderer.d.ts +0 -1
  35. package/dist/cjs/react/dockview/v2/reactContentRenderer.js +0 -3
  36. package/dist/cjs/react/dockview/v2/reactContentRenderer.js.map +1 -1
  37. package/dist/cjs/react/gridview/view.js +2 -2
  38. package/dist/cjs/react/gridview/view.js.map +1 -1
  39. package/dist/cjs/react/index.d.ts +0 -1
  40. package/dist/cjs/react/index.js +0 -1
  41. package/dist/cjs/react/index.js.map +1 -1
  42. package/dist/cjs/react/splitview/view.js +2 -2
  43. package/dist/cjs/react/splitview/view.js.map +1 -1
  44. package/dist/cjs/splitview/core/options.d.ts +2 -2
  45. package/dist/cjs/splitview/splitviewComponent.d.ts +0 -1
  46. package/dist/cjs/splitview/splitviewComponent.js +4 -5
  47. package/dist/cjs/splitview/splitviewComponent.js.map +1 -1
  48. package/dist/cjs/splitview/splitviewPanel.js +4 -6
  49. package/dist/cjs/splitview/splitviewPanel.js.map +1 -1
  50. package/dist/dockview.amd.js +34 -155
  51. package/dist/dockview.amd.min.js +2 -2
  52. package/dist/dockview.amd.min.noStyle.js +2 -2
  53. package/dist/dockview.amd.noStyle.js +34 -155
  54. package/dist/dockview.cjs.js +34 -155
  55. package/dist/dockview.esm.js +34 -154
  56. package/dist/dockview.esm.min.js +2 -2
  57. package/dist/dockview.js +34 -155
  58. package/dist/dockview.min.js +2 -2
  59. package/dist/dockview.min.noStyle.js +2 -2
  60. package/dist/dockview.noStyle.js +34 -155
  61. package/dist/esm/api/component.api.d.ts +0 -5
  62. package/dist/esm/api/component.api.js +0 -15
  63. package/dist/esm/api/panelApi.d.ts +1 -2
  64. package/dist/esm/api/panelApi.js +3 -3
  65. package/dist/esm/dockview/components/tab/defaultTab.d.ts +0 -17
  66. package/dist/esm/dockview/components/tab/defaultTab.js +8 -49
  67. package/dist/esm/dockview/defaultGroupPanelView.d.ts +1 -2
  68. package/dist/esm/dockview/defaultGroupPanelView.js +3 -5
  69. package/dist/esm/dockview/dockviewComponent.js +1 -1
  70. package/dist/esm/dockview/dockviewGroupPanel.js +1 -1
  71. package/dist/esm/gridview/basePanelView.js +1 -1
  72. package/dist/esm/gridview/gridviewComponent.d.ts +0 -2
  73. package/dist/esm/gridview/gridviewComponent.js +2 -6
  74. package/dist/esm/gridview/gridviewPanel.d.ts +2 -3
  75. package/dist/esm/gridview/gridviewPanel.js +4 -4
  76. package/dist/esm/groupview/types.d.ts +1 -3
  77. package/dist/esm/react/dockview/reactContentPart.d.ts +2 -4
  78. package/dist/esm/react/dockview/reactContentPart.js +0 -3
  79. package/dist/esm/react/dockview/v2/reactContentRenderer.d.ts +0 -1
  80. package/dist/esm/react/dockview/v2/reactContentRenderer.js +0 -3
  81. package/dist/esm/react/gridview/view.js +2 -2
  82. package/dist/esm/react/index.d.ts +0 -1
  83. package/dist/esm/react/index.js +0 -1
  84. package/dist/esm/react/splitview/view.js +2 -2
  85. package/dist/esm/splitview/core/options.d.ts +2 -2
  86. package/dist/esm/splitview/splitviewComponent.d.ts +0 -1
  87. package/dist/esm/splitview/splitviewComponent.js +2 -3
  88. package/dist/esm/splitview/splitviewPanel.js +4 -6
  89. package/package.json +2 -2
  90. package/dist/cjs/react/dockview/components.d.ts +0 -11
  91. package/dist/cjs/react/dockview/components.js +0 -81
  92. package/dist/cjs/react/dockview/components.js.map +0 -1
  93. package/dist/esm/react/dockview/components.d.ts +0 -11
  94. package/dist/esm/react/dockview/components.js +0 -54
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * dockview
3
- * @version 1.4.0
3
+ * @version 1.4.1
4
4
  * @link https://github.com/mathuo/dockview
5
5
  * @license MIT
6
6
  */
@@ -2308,18 +2308,12 @@ class SplitviewApi {
2308
2308
  removePanel(panel, sizing) {
2309
2309
  this.component.removePanel(panel, sizing);
2310
2310
  }
2311
- setVisible(panel, isVisible) {
2312
- this.component.setVisible(panel, isVisible);
2313
- }
2314
2311
  focus() {
2315
2312
  this.component.focus();
2316
2313
  }
2317
2314
  getPanel(id) {
2318
2315
  return this.component.getPanel(id);
2319
2316
  }
2320
- setActive(panel) {
2321
- this.component.setActive(panel);
2322
- }
2323
2317
  layout(width, height) {
2324
2318
  return this.component.layout(width, height);
2325
2319
  }
@@ -2467,15 +2461,6 @@ class GridviewApi {
2467
2461
  getPanel(id) {
2468
2462
  return this.component.getPanel(id);
2469
2463
  }
2470
- toggleVisibility(panel) {
2471
- this.component.toggleVisibility(panel);
2472
- }
2473
- setVisible(panel, visible) {
2474
- this.component.setVisible(panel, visible);
2475
- }
2476
- setActive(panel) {
2477
- this.component.setActive(panel);
2478
- }
2479
2464
  fromJSON(data) {
2480
2465
  return this.component.fromJSON(data);
2481
2466
  }
@@ -2712,7 +2697,7 @@ exports.MouseEventKind = void 0;
2712
2697
  MouseEventKind["CLICK"] = "CLICK";
2713
2698
  MouseEventKind["CONTEXT_MENU"] = "CONTEXT_MENU";
2714
2699
  })(exports.MouseEventKind || (exports.MouseEventKind = {}));
2715
- class Tab$1 extends CompositeDisposable {
2700
+ class Tab extends CompositeDisposable {
2716
2701
  constructor(panelId, accessor, group) {
2717
2702
  super();
2718
2703
  this.panelId = panelId;
@@ -2941,7 +2926,7 @@ class TabsContainer extends CompositeDisposable {
2941
2926
  if (this.tabs.find((tab) => tab.value.panelId === panel.id)) {
2942
2927
  return;
2943
2928
  }
2944
- const tabToAdd = new Tab$1(panel.id, this.accessor, this.group);
2929
+ const tabToAdd = new Tab(panel.id, this.accessor, this.group);
2945
2930
  if (!((_a = panel.view) === null || _a === void 0 ? void 0 : _a.tab)) {
2946
2931
  throw new Error('invalid header component');
2947
2932
  }
@@ -3612,10 +3597,10 @@ class PanelApiImpl extends CompositeDisposable {
3612
3597
  this._isVisible = true;
3613
3598
  this._width = 0;
3614
3599
  this._height = 0;
3615
- this._onDidPanelDimensionChange = new Emitter({
3600
+ this._onDidDimensionChange = new Emitter({
3616
3601
  replay: true,
3617
3602
  });
3618
- this.onDidDimensionsChange = this._onDidPanelDimensionChange.event;
3603
+ this.onDidDimensionsChange = this._onDidDimensionChange.event;
3619
3604
  //
3620
3605
  this._onDidChangeFocus = new Emitter({
3621
3606
  replay: true,
@@ -3640,7 +3625,7 @@ class PanelApiImpl extends CompositeDisposable {
3640
3625
  //
3641
3626
  this._onActiveChange = new Emitter();
3642
3627
  this.onActiveChange = this._onActiveChange.event;
3643
- this.addDisposables(this._onDidPanelDimensionChange, this._onDidChangeFocus, this._onDidVisibilityChange, this._onDidActiveChange, this._onFocusEvent, this._onActiveChange, this._onVisibilityChange, this.onDidFocusChange((event) => {
3628
+ this.addDisposables(this._onDidDimensionChange, this._onDidChangeFocus, this._onDidVisibilityChange, this._onDidActiveChange, this._onFocusEvent, this._onActiveChange, this._onVisibilityChange, this.onDidFocusChange((event) => {
3644
3629
  this._isFocused = event.isFocused;
3645
3630
  }), this.onDidActiveChange((event) => {
3646
3631
  this._isActive = event.isActive;
@@ -3864,7 +3849,7 @@ class DockviewGroupPanel extends CompositeDisposable {
3864
3849
  layout(width, height) {
3865
3850
  var _a;
3866
3851
  // the obtain the correct dimensions of the content panel we must deduct the tab height
3867
- this.api._onDidPanelDimensionChange.fire({
3852
+ this.api._onDidDimensionChange.fire({
3868
3853
  width,
3869
3854
  height: height - (this.group.model.header.height || 0),
3870
3855
  });
@@ -4014,53 +3999,6 @@ function createComponent(id, componentName, components = {}, frameworkComponents
4014
3999
  return new Component(id, componentName);
4015
4000
  }
4016
4001
 
4017
- class WrappedTab {
4018
- constructor(renderer) {
4019
- this.renderer = renderer;
4020
- this._element = document.createElement('element');
4021
- this.show();
4022
- }
4023
- get innerRenderer() {
4024
- return this.renderer;
4025
- }
4026
- get element() {
4027
- return this._element;
4028
- }
4029
- get id() {
4030
- return this.renderer.id;
4031
- }
4032
- show() {
4033
- if (!this.renderer.element.parentElement) {
4034
- this._element.appendChild(this.renderer.element);
4035
- }
4036
- }
4037
- hide() {
4038
- if (this.renderer.element.parentElement) {
4039
- this.renderer.element.remove();
4040
- }
4041
- }
4042
- layout(width, height) {
4043
- this.renderer.layout(width, height);
4044
- }
4045
- update(event) {
4046
- this.renderer.update(event);
4047
- }
4048
- toJSON() {
4049
- return this.renderer.toJSON();
4050
- }
4051
- focus() {
4052
- this.renderer.focus();
4053
- }
4054
- init(parameters) {
4055
- this.renderer.init(parameters);
4056
- }
4057
- updateParentGroup(group, isPanelVisible) {
4058
- this.renderer.updateParentGroup(group, isPanelVisible);
4059
- }
4060
- dispose() {
4061
- this.renderer.dispose();
4062
- }
4063
- }
4064
4002
  class DefaultTab extends CompositeDisposable {
4065
4003
  constructor() {
4066
4004
  super();
@@ -4123,15 +4061,21 @@ class DefaultTab extends CompositeDisposable {
4123
4061
  }
4124
4062
  }
4125
4063
  updateParentGroup(group, isPanelVisible) {
4064
+ const changed = this._isPanelVisible !== isPanelVisible ||
4065
+ this._isGroupActive !== group.isActive;
4126
4066
  this._isPanelVisible = isPanelVisible;
4127
4067
  this._isGroupActive = group.isActive;
4128
- this.render();
4068
+ if (changed) {
4069
+ this.render();
4070
+ }
4129
4071
  }
4130
4072
  layout(_width, _height) {
4131
4073
  // noop
4132
4074
  }
4133
4075
  render() {
4134
- this._content.textContent = this.params.title;
4076
+ if (this._content.textContent !== this.params.title) {
4077
+ this._content.textContent = this.params.title;
4078
+ }
4135
4079
  }
4136
4080
  }
4137
4081
 
@@ -4175,7 +4119,7 @@ class BasePanelView extends CompositeDisposable {
4175
4119
  layout(width, height) {
4176
4120
  this._width = width;
4177
4121
  this._height = height;
4178
- this.api._onDidPanelDimensionChange.fire({ width, height });
4122
+ this.api._onDidDimensionChange.fire({ width, height });
4179
4123
  if (this.part) {
4180
4124
  if (this._params) {
4181
4125
  this.part.update(this._params.params);
@@ -4224,11 +4168,11 @@ class GridviewPanel extends BasePanelView {
4224
4168
  this.onDidChange = this._onDidChange.event;
4225
4169
  this.addDisposables(this._onDidChange, this.api.onVisibilityChange((event) => {
4226
4170
  const { isVisible } = event;
4227
- const { containerApi } = this._params;
4228
- containerApi.setVisible(this, isVisible);
4171
+ const { accessor } = this._params;
4172
+ accessor.setVisible(this, isVisible);
4229
4173
  }), this.api.onActiveChange(() => {
4230
- const { containerApi } = this._params;
4231
- containerApi.setActive(this);
4174
+ const { accessor } = this._params;
4175
+ accessor.setActive(this);
4232
4176
  }), this.api.onDidConstraintsChangeInternal((event) => {
4233
4177
  if (typeof event.minimumWidth === 'number' ||
4234
4178
  typeof event.minimumWidth === 'function') {
@@ -4407,7 +4351,7 @@ class DefaultGroupPanelView {
4407
4351
  constructor(renderers) {
4408
4352
  var _a;
4409
4353
  this._content = renderers.content;
4410
- this._tab = new WrappedTab((_a = renderers.tab) !== null && _a !== void 0 ? _a : new DefaultTab());
4354
+ this._tab = (_a = renderers.tab) !== null && _a !== void 0 ? _a : new DefaultTab();
4411
4355
  this._actions =
4412
4356
  renderers.actions ||
4413
4357
  (this.content.actions
@@ -4447,9 +4391,7 @@ class DefaultGroupPanelView {
4447
4391
  toJSON() {
4448
4392
  return {
4449
4393
  content: this.content.toJSON(),
4450
- tab: this.tab.innerRenderer instanceof DefaultTab
4451
- ? undefined
4452
- : this.tab.toJSON(),
4394
+ tab: this.tab instanceof DefaultTab ? undefined : this.tab.toJSON(),
4453
4395
  };
4454
4396
  }
4455
4397
  dispose() {
@@ -4837,7 +4779,7 @@ class DockviewComponent extends BaseGrid {
4837
4779
  }
4838
4780
  }
4839
4781
  const view = new GroupPanel(this, id, options);
4840
- view.init({ params: {}, containerApi: null }); // required to initialized .part and allow for correct disposal of group
4782
+ view.init({ params: {}, accessor: null }); // required to initialized .part and allow for correct disposal of group
4841
4783
  if (!this._groups.has(view.id)) {
4842
4784
  const disposable = new CompositeDisposable(view.model.onMove((event) => {
4843
4785
  const { groupId, itemId, target, index } = event;
@@ -4976,9 +4918,6 @@ class GridviewComponent extends BaseGrid {
4976
4918
  value.value.setActive(panel === value.value);
4977
4919
  });
4978
4920
  }
4979
- toggleVisibility(panel) {
4980
- this.setVisible(panel, !this.isVisible(panel));
4981
- }
4982
4921
  focus() {
4983
4922
  var _a;
4984
4923
  (_a = this.activeGroup) === null || _a === void 0 ? void 0 : _a.focus();
@@ -5009,7 +4948,7 @@ class GridviewComponent extends BaseGrid {
5009
4948
  maximumHeight: data.maximumHeight,
5010
4949
  priority: data.priority,
5011
4950
  snap: !!data.snap,
5012
- containerApi: new GridviewApi(this),
4951
+ accessor: this,
5013
4952
  isVisible: node.visible,
5014
4953
  }));
5015
4954
  this.registerPanel(view);
@@ -5075,7 +5014,7 @@ class GridviewComponent extends BaseGrid {
5075
5014
  maximumHeight: options.maximumHeight,
5076
5015
  priority: options.priority,
5077
5016
  snap: !!options.snap,
5078
- containerApi: new GridviewApi(this),
5017
+ accessor: this,
5079
5018
  isVisible: true,
5080
5019
  });
5081
5020
  this.registerPanel(view);
@@ -5271,7 +5210,7 @@ class SplitviewComponent extends CompositeDisposable {
5271
5210
  maximumSize: options.maximumSize,
5272
5211
  snap: options.snap,
5273
5212
  priority: options.priority,
5274
- containerApi: new SplitviewApi(this),
5213
+ accessor: this,
5275
5214
  });
5276
5215
  const size = typeof options.size === 'number' ? options.size : exports.Sizing.Distribute;
5277
5216
  const index = typeof options.index === 'number' ? options.index : undefined;
@@ -5347,7 +5286,7 @@ class SplitviewComponent extends CompositeDisposable {
5347
5286
  maximumSize: data.maximumSize,
5348
5287
  snap: view.snap,
5349
5288
  priority: view.priority,
5350
- containerApi: new SplitviewApi(this),
5289
+ accessor: this,
5351
5290
  });
5352
5291
  });
5353
5292
  panel.orientation = orientation;
@@ -5989,13 +5928,11 @@ class SplitviewPanel extends BasePanelView {
5989
5928
  this.onDidChange = this._onDidChange.event;
5990
5929
  this.addDisposables(this._onDidChange, this.api.onVisibilityChange((event) => {
5991
5930
  const { isVisible } = event;
5992
- const { containerApi } = this
5993
- ._params;
5994
- containerApi.setVisible(this, isVisible);
5931
+ const { accessor } = this._params;
5932
+ accessor.setVisible(this, isVisible);
5995
5933
  }), this.api.onActiveChange(() => {
5996
- const { containerApi } = this
5997
- ._params;
5998
- containerApi.setActive(this);
5934
+ const { accessor } = this._params;
5935
+ accessor.setActive(this);
5999
5936
  }), this.api.onDidConstraintsChangeInternal((event) => {
6000
5937
  if (typeof event.minimumSize === 'number' ||
6001
5938
  typeof event.minimumSize === 'function') {
@@ -6247,9 +6184,6 @@ class ReactPanelContentPart {
6247
6184
  layout(_width, _height) {
6248
6185
  // noop
6249
6186
  }
6250
- close() {
6251
- return Promise.resolve(true);
6252
- }
6253
6187
  dispose() {
6254
6188
  var _a, _b;
6255
6189
  this._onDidFocus.dispose();
@@ -6519,58 +6453,6 @@ const DockviewReact = React__namespace.forwardRef((props, ref) => {
6519
6453
  });
6520
6454
  DockviewReact.displayName = 'DockviewComponent';
6521
6455
 
6522
- const Tab = (props) => {
6523
- return React__namespace.createElement(React__namespace.Fragment, null, props.children);
6524
- };
6525
- const Content = (props) => {
6526
- return React__namespace.createElement(React__namespace.Fragment, null, props.children);
6527
- };
6528
- const Actions = (props) => {
6529
- return React__namespace.createElement(React__namespace.Fragment, null, props.children);
6530
- };
6531
- function isValidComponent(element) {
6532
- return [Content, Actions, Tab].find((comp) => element.type === comp);
6533
- }
6534
- const Panel = (props) => {
6535
- const context = React__namespace.useContext(ReactPartContext);
6536
- const sections = React__namespace.useMemo(() => {
6537
- var _a;
6538
- const childs = ((_a = React__namespace.Children.map(props.children, (_) => _)) === null || _a === void 0 ? void 0 : _a.filter(isReactElement)) || [];
6539
- const isInvalid = !!childs.find((_) => !isValidComponent(_));
6540
- if (isInvalid) {
6541
- throw new Error('Children of DockviewComponents.Panel must be one of the following: DockviewComponents.Content, DockviewComponents.Actions, DockviewComponents.Tab');
6542
- }
6543
- const body = childs.find((_) => _.type === Content);
6544
- const actions = childs.find((_) => _.type === Actions);
6545
- const tab = childs.find((_) => _.type === Tab);
6546
- return { body, actions, tab };
6547
- }, [props.children]);
6548
- React__namespace.useEffect(() => {
6549
- /**
6550
- * hide or show the default tab behavior based on whether we want to override
6551
- * with our own React tab.
6552
- */
6553
- if (sections.tab) {
6554
- context.tabPortalElement.hide();
6555
- }
6556
- else {
6557
- context.tabPortalElement.show();
6558
- }
6559
- }, [sections.tab]);
6560
- return (React__namespace.createElement(React__namespace.Fragment, null,
6561
- sections.actions &&
6562
- ReactDOM__namespace.createPortal(sections.actions, context.actionsPortalElement),
6563
- sections.tab &&
6564
- ReactDOM__namespace.createPortal(sections.tab, context.tabPortalElement.element),
6565
- sections.body || props.children));
6566
- };
6567
- const DockviewComponents = {
6568
- Tab,
6569
- Content,
6570
- Actions,
6571
- Panel,
6572
- };
6573
-
6574
6456
  class ReactPanelView extends SplitviewPanel {
6575
6457
  constructor(id, component, reactComponent, reactPortalStore) {
6576
6458
  super(id, component);
@@ -6582,8 +6464,7 @@ class ReactPanelView extends SplitviewPanel {
6582
6464
  return new ReactPart(this.element, this.reactPortalStore, this.reactComponent, {
6583
6465
  params: ((_a = this._params) === null || _a === void 0 ? void 0 : _a.params) || {},
6584
6466
  api: this.api,
6585
- containerApi: this._params
6586
- .containerApi,
6467
+ containerApi: new SplitviewApi(this._params.accessor),
6587
6468
  });
6588
6469
  }
6589
6470
  }
@@ -6659,8 +6540,7 @@ class ReactGridPanelView extends GridviewPanel {
6659
6540
  return new ReactPart(this.element, this.reactPortalStore, this.reactComponent, {
6660
6541
  params: ((_a = this._params) === null || _a === void 0 ? void 0 : _a.params) || {},
6661
6542
  api: this.api,
6662
- containerApi: this._params
6663
- .containerApi,
6543
+ containerApi: new GridviewApi(this._params.accessor),
6664
6544
  });
6665
6545
  }
6666
6546
  }
@@ -6854,7 +6734,6 @@ exports.BaseGrid = BaseGrid;
6854
6734
  exports.ContentContainer = ContentContainer;
6855
6735
  exports.DockviewApi = DockviewApi;
6856
6736
  exports.DockviewComponent = DockviewComponent;
6857
- exports.DockviewComponents = DockviewComponents;
6858
6737
  exports.DockviewReact = DockviewReact;
6859
6738
  exports.Gridview = Gridview;
6860
6739
  exports.GridviewApi = GridviewApi;
@@ -6880,7 +6759,7 @@ exports.SplitviewApi = SplitviewApi;
6880
6759
  exports.SplitviewComponent = SplitviewComponent;
6881
6760
  exports.SplitviewPanel = SplitviewPanel;
6882
6761
  exports.SplitviewReact = SplitviewReact;
6883
- exports.Tab = Tab$1;
6762
+ exports.Tab = Tab;
6884
6763
  exports.getDirectionOrientation = getDirectionOrientation;
6885
6764
  exports.getGridLocation = getGridLocation;
6886
6765
  exports.getLocationOrientation = getLocationOrientation;