This commit is contained in:
xiefan
2020-09-24 11:04:12 +08:00
commit b654ca8c7f
1633 changed files with 86830 additions and 0 deletions

16
types/UI/Layout/ApplicationLayout.d.ts vendored Normal file
View File

@@ -0,0 +1,16 @@
import { MaterialContainerProps } from '../Components/MaterialContainer';
export declare let appUi: WebCAD;
export declare class WebCAD {
constructor();
initRootLayout(): void;
renderMain(): void;
renderTopPanel(): void;
renderTopToolBar(): void;
renderDownPanel(): void;
renderRightPanel(): void;
renderCommandInput(): void;
renderCameraControlButton(): void;
renderToolBar(): void;
showMaterialEditor(props: MaterialContainerProps): void;
}
//# sourceMappingURL=ApplicationLayout.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"ApplicationLayout.d.ts","sourceRoot":"","sources":["../../../../../src/UI/Layout/ApplicationLayout.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAqB,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAU5F,eAAO,IAAI,KAAK,EAAE,MAAM,CAAC;AAEzB,qBAAa,MAAM;;IAoCf,cAAc;IAiDd,UAAU;IAQV,cAAc;IAMd,gBAAgB;IAMhB,eAAe;IAMf,gBAAgB;IAyBhB,kBAAkB;IAKlB,yBAAyB;IAazB,aAAa;IAsBb,kBAAkB,CAAC,KAAK,EAAE,sBAAsB;CAInD"}

View File

@@ -0,0 +1,12 @@
/**
* Layout onsize的 消息统一管理
*/
declare class LayoutOnsizeEventManage {
callbackList: Map<string, ((id: string) => void)[]>;
dispatchonSize(id: string): void;
register(id: string, callback: any): () => void;
remove(id: string, callback: any): void;
}
export declare let layoutOnsizeEvent: LayoutOnsizeEventManage;
export {};
//# sourceMappingURL=LayoutOnSizeEventManage.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"LayoutOnSizeEventManage.d.ts","sourceRoot":"","sources":["../../../../../src/UI/Layout/LayoutOnSizeEventManage.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,cAAM,uBAAuB;IAEzB,YAAY,oBAA8B,MAAM,KAAK,IAAI,KAAK;IAC9D,cAAc,CAAC,EAAE,EAAE,MAAM;IAUzB,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,KAAA;IAiB7B,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,KAAA;CAO9B;AAED,eAAO,IAAI,iBAAiB,yBAAgC,CAAC"}

10
types/UI/Layout/LayoutUtils.d.ts vendored Normal file
View File

@@ -0,0 +1,10 @@
import * as GoldenLayout from 'golden-layout';
export declare const ContainerComponenName = "container";
/**
* 注册容器组件.
*
* @export
* @param {GoldenLayout} layout
*/
export declare function LayoutRegisterContainerComponent(layout: GoldenLayout): void;
//# sourceMappingURL=LayoutUtils.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"LayoutUtils.d.ts","sourceRoot":"","sources":["../../../../../src/UI/Layout/LayoutUtils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,eAAe,CAAC;AAG9C,eAAO,MAAM,qBAAqB,cAAc,CAAC;AAEjD;;;;;GAKG;AACH,wBAAgB,gCAAgC,CAAC,MAAM,EAAE,YAAY,QAUpE"}

View File

@@ -0,0 +1,17 @@
import { PhysicalMaterialRecord } from '../../DatabaseServices/PhysicalMaterialRecord';
import { MaterialEditor } from '../../Editor/MaterialEditor';
export declare class MaterialEditorLayout {
material: PhysicalMaterialRecord;
editor: MaterialEditor;
htmlEl: HTMLElement;
destroyFuncs: Function[];
constructor(material: PhysicalMaterialRecord);
private initViewer;
private initLayout;
getSceneConfigEl(): HTMLElement;
getAttributePanelEl(): HTMLElement;
renderSceneConfig(): void;
renderAttributePanel(): void;
dispose(): void;
}
//# sourceMappingURL=MaterialEditorLayout.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"MaterialEditorLayout.d.ts","sourceRoot":"","sources":["../../../../../src/UI/Layout/MaterialEditorLayout.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AACvF,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAO7D,qBAAa,oBAAoB;IAKV,QAAQ,EAAE,sBAAsB;IAHnD,MAAM,EAAE,cAAc,CAAC;IACvB,MAAM,EAAE,WAAW,CAAyC;IAC5D,YAAY,EAAE,QAAQ,EAAE,CAAM;gBACX,QAAQ,EAAE,sBAAsB;IAOnD,OAAO,CAAC,UAAU;IAmBlB,OAAO,CAAC,UAAU;IAyBlB,gBAAgB;IAIhB,mBAAmB;IAInB,iBAAiB;IAYjB,oBAAoB;IAWpB,OAAO;CAQV"}