mirror of
https://github.com/mathuo/dockview
synced 2025-02-15 04:45:45 +00:00
chore: cleanup
This commit is contained in:
parent
a9b44d9641
commit
37b0a062a4
@ -53,6 +53,7 @@ export interface IContentRenderer extends IPanel {
|
||||
readonly onDidBlur?: Event<void>;
|
||||
updateParentGroup(group: GroupPanel, isPanelVisible: boolean): void;
|
||||
init(parameters: GroupPanelContentPartInitParameters): void;
|
||||
layout(width: number, height: number): void;
|
||||
}
|
||||
|
||||
// watermark component
|
||||
|
@ -38,7 +38,6 @@ export * from './dockview/options';
|
||||
export * from './dockview/dockviewPanel';
|
||||
export * from './dockview/components/tab/defaultTab';
|
||||
export * from './dockview/deserializer';
|
||||
export * from './dockview/defaultGroupPanelView';
|
||||
|
||||
export * from './dockview/dockviewComponent';
|
||||
export * from './gridview/gridviewComponent';
|
||||
|
@ -1,30 +0,0 @@
|
||||
import { ReactPortalStore } from '../../react';
|
||||
import {
|
||||
DefaultGroupPanelView,
|
||||
DockviewRenderFunctions,
|
||||
ViewFactoryData,
|
||||
DefaultTab,
|
||||
} from 'dockview-core';
|
||||
import { ReactContentRenderer } from './reactContentRenderer';
|
||||
|
||||
export class ReactGroupPanelView extends DefaultGroupPanelView {
|
||||
constructor(
|
||||
id: string,
|
||||
options: DockviewRenderFunctions,
|
||||
private readonly data: ViewFactoryData,
|
||||
reactPortalStore: ReactPortalStore
|
||||
) {
|
||||
super({
|
||||
content: new ReactContentRenderer(
|
||||
id,
|
||||
options.frameworkComponents![data.content],
|
||||
reactPortalStore
|
||||
),
|
||||
tab: new DefaultTab(),
|
||||
});
|
||||
}
|
||||
|
||||
// toJSON() {
|
||||
// return { ...this.data };
|
||||
// }
|
||||
}
|
Loading…
Reference in New Issue
Block a user