@chamn/engine 0.3.5 → 0.3.6
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/component/Workbench/index.d.ts +6 -1
- package/dist/index.cjs +42 -42
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +1280 -1269
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
|
@@ -17,7 +17,7 @@ export type WorkbenchCustomView = {
|
|
|
17
17
|
key: string;
|
|
18
18
|
view: React.ReactNode;
|
|
19
19
|
};
|
|
20
|
-
type TWidgetVisible = {
|
|
20
|
+
export type TWidgetVisible = {
|
|
21
21
|
hiddenTopBar?: boolean;
|
|
22
22
|
hiddenLeftPanel?: boolean;
|
|
23
23
|
hiddenRightPanel?: boolean;
|
|
@@ -51,6 +51,11 @@ export declare class Workbench extends React.Component<WorkbenchPropsType, Workb
|
|
|
51
51
|
emitter: Emitter<any>;
|
|
52
52
|
leftPanelContentRef: React.RefObject<HTMLDivElement>;
|
|
53
53
|
constructor(props: WorkbenchPropsType);
|
|
54
|
+
getHiddenWidgetConfig(): {
|
|
55
|
+
hiddenTopBar: boolean | undefined;
|
|
56
|
+
hiddenLeftPanel: boolean | undefined;
|
|
57
|
+
hiddenRightPanel: boolean | undefined;
|
|
58
|
+
};
|
|
54
59
|
/** 隐藏编辑器的小部件 */
|
|
55
60
|
hiddenWidget(config: Partial<TWidgetVisible>): void;
|
|
56
61
|
addLeftPanel: (panel: PanelItem) => void;
|