///
///
///
///
///
///
///
///
///
///
///
declare module "copyright" {
export class FramePluginRenderCopyright {
static toString(): string;
}
}
declare module "sk/frame/plugin/render/ui/data/PreviewPanel" {
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
export class PreviewPanel extends UiContainer {
constructor(props?: any, context?: any);
onMouseEnter: () => void;
onMouseLeave: () => void;
private getAlbumPreview;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/render/frame/RenderModuleConstants" {
export class RenderModuleConstants {
static Module: string;
static Document: string;
}
}
declare module "sk/frame/plugin/render/frame/RenderModule" {
import { ModuleContext } from 'cross/runtime/framework/module/ModuleContext';
import { QualityService } from 'cross/runtime/framework/quality/QualityService';
import { UiDesktopService } from 'foundation/editor/ui/desktop/UiDesktopService';
import { UiControlService } from 'foundation/editor/ui/UiControlService';
import { Canvas } from 'foundation/editor/view/base/Canvas';
import { V2dCanvas } from 'foundation/editor/view/view2d/V2dCanvas';
import { V3dCanvas } from 'foundation/editor/view/view3d/V3dCanvas';
import { FrameEditorModule } from 'sk/editor/view/frame/FrameEditorModule';
import { SchemeEditorDocument } from 'sk/frame/logic/scheme/SchemeEditorDocument';
export class RenderModuleStateConfig {
isDocumentActived: boolean;
isDocumentSaved: boolean;
}
export class RenderModuleMsg {
static RenderModule_PicthChange: string;
static RenderModule_ResolutionChange: string;
static RenderModule_CanvasResized: string;
static RenderModule_PanoChange: string;
}
export class RenderModule extends FrameEditorModule {
view2d: V2dCanvas;
view3d: V3dCanvas;
mainView: Canvas;
slaveView: Canvas;
stateConfig: RenderModuleStateConfig;
activeViewCd: string;
statusReady: boolean;
protected _qualityService: QualityService;
protected _controlService: UiControlService;
protected _desktopService: UiDesktopService;
protected _mainViewIs3D: boolean;
protected _renderDataState: any;
constructor();
get document(): SchemeEditorDocument;
get renderDataState(): any;
isMainView(viewCd: string): boolean;
isMainView2d(): boolean;
isMainView3d(): boolean;
isSlaveView(viewCd: string): boolean;
isSlaveView2d(): boolean;
isSlaveView3d(): boolean;
setMainViewIs3D(value: boolean): void;
get mainViewIs3D(): boolean;
startup(context: ModuleContext): void;
selectViewCamera(viewCd: string): void;
static get instance(): RenderModule;
}
}
declare module "sk/frame/plugin/render/HeaderPanel" {
import { UiControl } from 'foundation/editor/ui/core/UiControl';
enum LastPageEnum {
PANO = 0,
REANDER = 1,
EDITOR = 2
}
export class HeaderPanel extends UiControl {
state: {
pano: boolean;
lastPage: LastPageEnum;
showPreview: boolean;
hoverAlbum: boolean;
windowHeight: number;
windowWidth: number;
};
private onGobackClick;
changeView(pano: boolean): void;
private gotoAlbumPage;
private showPreview;
private hidePreview;
componentDidMount(): void;
componentWillUnmount(): void;
private handleResize;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/render/IndexSpace" {
export class IndexSpace {
static namespaces(): string[];
}
}
declare module "sk/frame/plugin/render/RenderControlEnum" {
export class RenderControlEnum {
static TitleSpace: string;
static ToolbarSpace: string;
static Toolbar: string;
static ToolbarFile: string;
static ToolbarDraw: string;
static SideSpace: string;
static Side: string;
static CatalogSpace: string;
static Catalog: string;
static DataSpace: string;
static PropertySpace: string;
static Property: string;
static PropertyStatusSpace: string;
static WorkSpace: string;
static WorkSpaceFrame: string;
static ViewSpace: string;
}
}
declare module "sk/frame/plugin/render/RenderIFrame" {
import { UiControl } from 'foundation/editor/ui/core/UiControl';
export class RenderIFrame extends UiControl {
constructor(props?: any, context?: any);
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/render/ui/loading/CircleLoading" {
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
class CircleLoadingState {
windowWidth: number;
windowHeight: number;
}
export class CircleLoading extends UiContainer {
state: CircleLoadingState;
constructor(props?: any, context?: any);
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/render/ui/data/DeletePanel" {
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
export class DeletePanel extends UiContainer {
constructor(props?: any, context?: any);
private onDelete;
private onCancel;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/render/ui/data/AlbumDataPanel" {
import { EnvironmentService } from 'cross/runtime/module/environment/EnvironmentService';
import { JsonService } from 'cross/core/module/json/JsonService';
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { BatchItemStatusEnum } from 'sk/data/logic/digitization/enumeration/BatchItemStatusEnum';
import { BatchService } from 'sk/frame/logic/storage/digitization/batch/BatchService';
export class AlbumMetaData {
batchItem: any;
ossPath: string;
btnParams: any;
}
export enum AlbumSetTypeEnum {
PANO = "pano",
RENDER = "render",
ALL = "all"
}
export class AlbumDataPanel extends UiContainer {
contentNode: any;
parent: any;
timer: any;
_firstCompletePictureUrl: string;
state: {
isBottom: boolean;
isTop: boolean;
batch: any;
loadBatchList: () => void;
hoverdImg: string;
showType: AlbumSetTypeEnum;
showDelete: boolean;
deleteUnitId: string;
deleteInfo: string;
};
protected _batchService: BatchService;
protected _environmentService: EnvironmentService;
protected _jsonService: JsonService;
constructor(props?: any, context?: any);
upIcon(): JSX.Element;
downIcon(): JSX.Element;
onScrollHandle(event: any): void;
componentDidMount(): void;
componentWillUnmount(): void;
protected showRenderProgressBar(st: BatchItemStatusEnum, percent: number): any;
showRenderRunning(st: BatchItemStatusEnum, params?: any): any;
showRenderClarity(clarity: string): any;
downloadImage(url: string): void;
cancel(): void;
content(index: number, date: string, relation: string): JSX.Element;
onShare(): void;
afterClick: (imgParams: any) => void;
showDelete: (deleteUnitId: any, deleteInfo: string) => void;
hideDelete: () => void;
deleteImg: () => void;
showButtonOnPicture(params: any): JSX.Element;
getOssJsonContentAsync(batchId: string, itemId: string): Promise;
private imgInSelect;
renderAlbumList(list: Array, showButton?: boolean): any;
private getQuality;
private emptyList;
makeAlbumItemsList(): JSX.Element;
changeView(showType: AlbumSetTypeEnum): void;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/render/ui/data/DataSpace" {
import { Dictionary } from 'cross/runtime/lang/collection/Dictionary';
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
export class CatalogPanelItem {
name: string;
item: any;
}
export class DataSpace extends UiContainer {
panels: Dictionary;
configs: Dictionary;
current: any;
isActive: boolean;
isLocked: boolean;
constructor(props?: any, context?: any);
onStepChange(sender: any, event: any): void;
private activeAble;
register(name: string, view: any): void;
unregister(name: string, view: any): void;
active(name: any): void;
onTogglePanel: () => void;
onMouseMove: (event: any) => void;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/render/view/C2dRenderCanvas" {
export class C2dRenderCanvas {
htmlcanvas: any;
view: any;
app: any;
stage: any;
texture: any;
private _width;
private _height;
private _backgroundcolor;
private _antialias;
constructor();
initData(): void;
createCanvas(): void;
static get instance(): C2dRenderCanvas;
}
}
declare module "sk/frame/plugin/render/view/C2dRenderCamera" {
import { UiControlService } from 'foundation/editor/ui/UiControlService';
export class C2dRenderCamera {
protected _controlService: UiControlService;
protected _renderdata: any;
view: any;
stage: any;
protected _nodeCenterAxis: PIXI.Graphics;
protected _nodeInnerCircle: PIXI.Graphics;
protected _nodeOutterCircle: PIXI.Graphics;
protected _nodeCamera: PIXI.Sprite;
protected _texture: any;
protected _nodeSector: PIXI.Graphics;
protected _nodeText: any;
protected _textStyle: any;
protected _minY: number;
protected _maxY: number;
protected _validHeight: number;
protected _initFlag: boolean;
protected _camHeight: number;
protected _camPitch: number;
protected _minHeight: number;
protected _maxHeight: number;
draggingout: boolean;
draggingin: boolean;
set maxHeight(v: number);
set minHeight(v: number);
constructor();
setCamera(item: any): void;
setCameraHeight(v: number): void;
setCameraPitch(value: number): void;
creatNode(): void;
bindEvent(): void;
mouseMoveEvent(lock: boolean): void;
lockMouseOutter(lock: boolean): void;
lockMouseInner(lock: boolean): void;
onDragStartOut: () => void;
onDragEndOut: () => void;
onDragStartIn: () => void;
onDragEndIn: () => void;
onCircleDragOut: (event: any) => void;
onCircleDragIn: (event: any) => void;
drawOutterCircle(radius: number): void;
drawInnerCircle(): void;
drawSector(xs: number, ys: number, radius: number, angle: number, color?: number): void;
drawCamera(): void;
drawCenterAxis(): void;
disposs(): void;
static get instance(): C2dRenderCamera;
}
}
declare module "sk/frame/plugin/render/ui/CameraHistoryPanel" {
import { ResultObject } from 'cross/runtime/lang/ResultObject';
import { EnvironmentService } from 'cross/runtime/module/environment/EnvironmentService';
import { HttpDeviceService } from 'cross/core/device/http/HttpDeviceService';
import { JsonService } from 'cross/core/module/json/JsonService';
import { Vector2 } from 'foundation/runtime/math/Vector2';
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { RoomNode } from 'sk/data/scheme/database/floorplan/model/RoomNode';
export class CameraHistoryPanel extends UiContainer {
protected observers: Map;
protected timers: Map;
protected resizeObserver: any;
protected viceElement: any;
protected _jsonService: JsonService;
protected _environmentService: EnvironmentService;
protected _httpService: HttpDeviceService;
private recommendMap;
constructor(props?: any, context?: any);
componentDidMountAsync(): Promise>;
componentDidUnMount(): void;
loadDataAsync(): Promise;
makeImageCard(src: string, key: string): JSX.Element;
onDeleteAsync(key: string): Promise;
switchPerspective(observerMsg: any): void;
onCreatePreviewAsync(): Promise;
pollingImageStateAsync(ossTempKey: any, key: string, timerName: string): Promise;
calRecommendPerspectivesPostion(): void;
getFinishLine2WallDistance(roomNode: RoomNode, begin: Vector2, end: Vector2, width: number): number;
switchRecommendPerspective(observerMsg: any): void;
getFinishHeight(roomNode: RoomNode): number;
makeRecommendPanel(): Array;
makeTabItems(): Array;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/render/ui/data/UnitInputNumber" {
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
export class UnitInputNumber extends UiContainer {
constructor(props?: any, context?: any);
private onMouseEnter;
private onMouseLeave;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/render/ui/data/RenderDataPanel" {
import { LogicSessionService } from 'cross/data/module/logic/session/LogicSessionService';
import { ObserverViewNode } from 'foundation/data/common/model/brep/observer/ObserverViewNode';
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { ActionEvent } from 'foundation/editor/view/action/ActionEvent';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { SchemeEditorDocument } from 'sk/frame/logic/scheme/SchemeEditorDocument';
import { HandleService } from 'sk/frame/design/storage/scheme/handle/HandleService';
import { RenderModule } from "sk/frame/plugin/render/frame/RenderModule";
export class RenderDataPanel extends UiContainer {
protected _scheme: SchemeEditorDocument;
protected _sessionService: LogicSessionService;
protected _actionService: ActionService;
protected _handleService: HandleService;
timer: any;
protected renderModule: RenderModule;
componentDidMount(): void;
protected onActionComplete(sender: any, param: ActionEvent): void;
protected onActionGoing(): void;
private updateCamera;
protected initCameraData(): void;
protected calObserverPitch(observer: ObserverViewNode): number;
protected setObserverPitch(observer: ObserverViewNode, pitch: number): void;
componentWillUnmount(): void;
onSubmit: any;
formItemKey: number;
groupItemKey: number;
ratioKey: number;
sizeCdKey: number;
isActive: boolean;
protected _cameraMaxHeight: number;
protected _cameraMinHeight: number;
state: {
ambientType: string;
ratio: {
name: string;
sizeList: string[];
w: number;
h: number;
};
sizeCd: string;
fov: number;
sunInsensityRate: number;
indoorInsensityRate: number;
extraLightInsensity: number;
indoorColor: string;
ambientInsensityRate: number;
ambientColor: string;
cameraHeight: number;
cameraPitch: number;
cameraClippingNear: number;
fovStyles: string[];
pano: boolean;
resolutinoColor: boolean;
postRender: boolean;
brightness: any;
skyCode: any;
skyVisible: boolean;
pitchDisable: boolean;
heightDisable: boolean;
};
paramsFormItems: {
title: string;
items: {
item: (params: any) => any;
}[];
}[];
constructor(props: any, context?: any);
initObserver(observer: ObserverViewNode): void;
imageClick: (e: any) => void;
protected onChangeResulution: (param: any) => void;
makeEffectButtonList(): any[];
makeRatioButtonList(): any[];
hideUncheckedRelations(visible: boolean): void;
componentDidUpdate(nextProps: any, nextState: any): void;
makeResolutionButtonList(): any;
buildFormItem(formItem: any): JSX.Element;
makeFormItemList(): any[];
submit(): void;
protected onValueChange(param: any): void;
protected updateObserverHeight(observer: ObserverViewNode, value: number): void;
onCanvasSet(stateName: string, value: number): void;
onFovChanged(stateName: string, value: number): void;
onFixedVisionChanged(value: number, index: number): void;
isPano: () => boolean;
changeView: (pano: boolean) => void;
private onWorkPanelResize;
makeFovItemList(visible: boolean): JSX.Element;
setCameraHeight(high: number): void;
setCameraPitch(angel: number): void;
private renderRequestSend;
onBrightChange(value: any): void;
openSkyModal(): void;
onSkyPicClick(code: number): void;
onClose(): void;
createSkyModal(): JSX.Element;
setLock(e: any, stateName: string): void;
render(): JSX.Element;
private makeUnitInput;
}
}
declare module "sk/frame/plugin/render/frame/RenderCanvasEnum" {
export class RenderCanvasEnum {
static Render2d: string;
static Render3d: string;
}
}
declare module "sk/frame/plugin/render/ui/work/RenderCanvas3d" {
import { ResultObject } from 'cross/runtime/lang/ResultObject';
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { CanvasService } from 'foundation/editor/view/base/CanvasService';
export class RenderCanvas3d extends UiContainer {
protected _canvasService: CanvasService;
private view3d;
constructor(props: any, context?: any);
state: {
ratio: string;
};
componentDidMountAsync(): Promise;
componentStatusChange(nextState: any, nextProps: any): void;
setRatio(ratio: any): void;
componentWillUnmount(): void;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/render/ui/work/View2DPanel" {
import { ResultObject } from 'cross/runtime/lang/ResultObject';
import { UiPanel } from 'foundation/editor/ui/container/UiPanel';
import { CanvasService } from 'foundation/editor/view/base/CanvasService';
export class View2DPanel extends UiPanel {
protected _canvasService: CanvasService;
componentDidMountAsync(): Promise;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/render/ui/work/ViceViewContainer" {
import { UiPanel } from 'foundation/editor/ui/container/UiPanel';
export class ViceViewContainer extends UiPanel {
_resizeToggle: any;
_minWidth: number;
_minHeight: number;
resetViewSize(): void;
resizeViewSize(): void;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/render/ui/work/View3DPanel" {
import { ResultObject } from 'cross/runtime/lang/ResultObject';
import { UiPanel } from 'foundation/editor/ui/container/UiPanel';
import { CanvasService } from 'foundation/editor/view/base/CanvasService';
export class View3DPanel extends UiPanel {
state: {
viewWidth: number;
viewHeight: number;
ratio: number;
picth: number;
pano: boolean;
};
protected _canvasService: CanvasService;
private view3d;
private canvasRef;
constructor(props?: any, context?: any);
componentDidMountAsync(): Promise;
componentWillUnmount(): void;
onMsgCanvasResized(sender: any): void;
protected onMsgResolutionChange(sender: any, p1: any, p2: any): void;
protected onMsgPicthChange(sender: any, picth: number): void;
protected onMsgPanoChange(sender: any, pano: boolean): void;
protected calOverlay(): JSX.Element;
onBindView: (view: any) => void;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/render/ui/work/MainViewContainer" {
import { ListenerContext } from 'cross/runtime/lang/ListenerContext';
import { Listeners } from 'cross/runtime/lang/Listeners';
import { LogicEvent } from 'foundation/core/module/logic/LogicEvent';
import { UiPanel } from 'foundation/editor/ui/container/UiPanel';
export class MainViewContainer extends UiPanel {
state: {
mode: string;
viewCd: string;
};
selectComponent: any;
lsnsSelectChange: Listeners;
viewPanel: any;
constructor(props: any, context?: any);
componentSort(value1: any, value2: any): number;
onLoadConfig(sender: ListenerContext, event: LogicEvent): void;
onCreateClick(): any;
onSaveClick(): any;
onDeleteClick(): any;
onSearchChange(): any;
componentDidMount(): void;
onDataPanelMinimum(): void;
onDataPanelMaximum(): void;
onUnexpand(): any;
onExpand(): any;
resetViewSize(): void;
setVisible(visible: boolean): void;
switch2DMode(mode: any): void;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/render/ui/work/WorkPanel" {
import { HotkeyService } from 'cross/editor/module/hotkey/HotkeyService';
import { Vector2 } from 'foundation/runtime/math/Vector2';
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { Canvas } from 'foundation/editor/view/base/Canvas';
import { CanvasService } from 'foundation/editor/view/base/CanvasService';
import { TransactionService } from 'foundation/editor/view/transaction/TransactionService';
import { MainViewContainer } from "sk/frame/plugin/render/ui/work/MainViewContainer";
import { ViceViewContainer } from "sk/frame/plugin/render/ui/work/ViceViewContainer";
export class WorkPanel extends UiContainer {
protected _canvasService: CanvasService;
protected _actionService: ActionService;
protected _transactionService: TransactionService;
protected _hotkeyService: HotkeyService;
controlViewMain: MainViewContainer;
controlViewSlave: ViceViewContainer;
mousePosition: Vector2;
private _view3DPanel;
currentViceView: Canvas;
resizeToggle: any;
viewVice: any;
state: {
viewCd: string;
};
constructor(props: any, context?: any);
componentDidMount(): void;
initResize(container: any, target: any): void;
private onDivRef;
switchView(viewCd: string): void;
switchViewCd: () => void;
private onBindView;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/render/action/RenderActionFilter" {
import { ActionEvent } from 'foundation/editor/view/action/ActionEvent';
import { ActionFilter } from 'foundation/editor/view/action/ActionFilter';
import { ActionObject } from 'foundation/editor/view/action/ActionObject';
export class RenderActionFilter extends ActionFilter {
testRunable(action: ActionObject, event?: ActionEvent): boolean;
}
}
declare module "sk/frame/plugin/render/ui/loading/WaterBallLoading" {
import * as React from 'react';
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
class WaterBallLoadingProps {
style?: React.CSSProperties;
}
export class WaterBallLoading extends UiContainer {
props: WaterBallLoadingProps;
constructor(props?: any, context?: any);
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/render/ui/PictureBottomOper" {
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
class PicBottomOperState {
windowWidth: number;
windowHeight: number;
definitionSelected: boolean;
contrastSelected: boolean;
}
export class PictureBottomOper extends UiContainer {
state: PicBottomOperState;
constructor(props?: any, context?: any);
updateBeautifulType(beautifulType: string): void;
componentDidMount(): void;
componentWillUnmount(): void;
private handleResize;
private onContrast;
private onDefinition;
private makeContent;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/render/ui/PictureContentEmpty" {
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
export class PictureContentEmpty extends UiContainer {
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/render/ui/ShareImage" {
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
export class ShareImage extends UiContainer {
copyLink: (ossPath: string) => void;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/render/ui/PictureContent" {
import { JsonService } from 'cross/core/module/json/JsonService';
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { BatchService } from 'sk/frame/logic/storage/digitization/batch/BatchService';
export class PictureContent extends UiContainer {
parent: any;
protected _batchService: BatchService;
protected _jsonService: JsonService;
protected _effectImg: HTMLImageElement;
effectBase64: string;
originPath: string;
beautifulUrl: string;
protected _beautifulType: string;
protected _beautifulSourceUrl: string;
batchOssMap: Map;
private _initBatchOss;
private _beautyButtonsHandle;
isUseAfterDo: boolean;
private _isCatched;
constructor(props?: any, context?: any);
protected updateBeautifulJson(): Promise;
resetBeautifulType(): void;
resetBatchOss(): void;
getBeautifulOssJsonContentAsync(schemeId: string, batchId: string): Promise;
componentDidUpdate(nextProps: any, nextState: any): void;
downloadImage(url: string): void;
protected getBase64(imgUrl: string): any;
shareImage(ossPath: string): JSX.Element;
openQRCode(): void;
closeQRCode: () => void;
generateQRCode(ossPath: string): void;
changeBgColor(): void;
content(params: any): JSX.Element;
onShare: () => void;
hideDelete: () => void;
deleteImg: () => void;
showDelete: (unitId: string, pano: boolean) => void;
private beautyServer;
onBeauty(type: string, selected: boolean): void;
protected computerType(type: string, selected: boolean): string;
protected computerBeautifulState(type: string, selected: boolean): boolean;
private computerBeautifulJsonCatch;
onReset(): void;
makePicAdminManu(params: any): JSX.Element;
private gotoRender;
private loadingPage;
onwheel(event: any): void;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/render/RenderPanel" {
import { ResultObject } from 'cross/runtime/lang/ResultObject';
import { EnvironmentService } from 'cross/runtime/module/environment/EnvironmentService';
import { ListenerThread } from 'cross/runtime/module/thread/ListenerThread';
import { ThreadService } from 'cross/runtime/module/thread/ThreadService';
import { JsonService } from 'cross/core/module/json/JsonService';
import { LogicSessionService } from 'cross/data/module/logic/session/LogicSessionService';
import { ObserverViewNode } from 'foundation/data/common/model/brep/observer/ObserverViewNode';
import { SelectionService } from 'foundation/editor/base/selection/SelectionService';
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { DecorateCacheService } from 'sk/data/family/service/DecorateCacheService';
import { BatchItemStatusEnum } from 'sk/data/logic/digitization/enumeration/BatchItemStatusEnum';
import { BatchService } from 'sk/frame/logic/storage/digitization/batch/BatchService';
import { SchemeEditorDocument } from 'sk/frame/logic/scheme/SchemeEditorDocument';
import { AlbumDataPanel, AlbumMetaData, AlbumSetTypeEnum } from "sk/frame/plugin/render/ui/data/AlbumDataPanel";
import { DataSpace } from "sk/frame/plugin/render/ui/data/DataSpace";
import { RenderDataPanel } from "sk/frame/plugin/render/ui/data/RenderDataPanel";
import { RenderCanvas3d } from "sk/frame/plugin/render/ui/work/RenderCanvas3d";
import { ViceViewContainer } from "sk/frame/plugin/render/ui/work/ViceViewContainer";
import { WorkPanel } from "sk/frame/plugin/render/ui/work/WorkPanel";
import { RenderModule } from "sk/frame/plugin/render/frame/RenderModule";
export class RenderPanel extends UiContainer {
protected _workSpace: WorkPanel;
controlViewSlave: ViceViewContainer;
protected _scheme: SchemeEditorDocument;
protected _renderdata: RenderDataPanel;
protected _albumdata: AlbumDataPanel;
protected _dataSpace: DataSpace;
protected _thread: ListenerThread;
timer: any;
view3d: RenderCanvas3d;
protected _actionService: ActionService;
protected _environmentService: EnvironmentService;
protected _jsonService: JsonService;
protected _threadConsole: ThreadService;
protected _sessionService: LogicSessionService;
protected _batchService: BatchService;
protected _decorateCacheService: DecorateCacheService;
protected _selectionService: SelectionService;
renderDataPanelChangeView: any;
protected renderModule: RenderModule;
private _cameraStartPos;
private _albumMap;
private _pictureContentHandle;
constructor(props?: any, context?: any);
resize: () => void;
private getUnSeeNum;
private setUnSeeNum;
private getPano;
private setChangeViewFunc;
private onChangeViewFunc;
private schemeNotUseable;
componentDidMount(): void;
private getCurrentCameraPos;
private cameraUseStartPos;
componentDidMountAsync(): Promise;
getRenderResultDataAsync(batchId: string, batchItemId: string): Promise;
getOssJsonContentAsync(batchId: string, itemId: string): Promise;
loadDocumentAsync: () => Promise;
componentWillUnmount(): void;
dispose(): void;
showRenderRunning(st: BatchItemStatusEnum, size?: string): any;
renderAlbumData(imgParam: any, size?: string, bg?: string): any;
getAlbumPreview: () => Array;
getInProcessAlbumCount: () => number;
loadBatchListAsync(): Promise;
loadBatch: () => Promise;
private showFirstFinishImage;
getShowSource(showType?: AlbumSetTypeEnum): Array;
getCurrentShowSource(): Array;
makeAlbumListAsync(batchItem: any, count: number, index: number, array: Array, typeCd: number): Promise;
deleteAlubmAsync: (batchId: string) => Promise;
setObserver(renderParams: any, activeObserver: ObserverViewNode): void;
onBatchClick: (imgParams: any) => void;
getEditOptions(): any;
renderRequestSend: (renderParams: any) => Promise;
getDocumentContent(document: SchemeEditorDocument): any;
onCatalogSelectAsync: (type: string, pano?: boolean) => Promise;
private isAlbumMode;
private onWorkPanelResize;
private _workPanelResizeCallback;
private setWorkPanelOnResize;
private onDataSpaceToggle;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/render/RenderPlugin" {
import { EventObject } from 'cross/runtime/lang/EventObject';
import { ListenerContext } from 'cross/runtime/lang/ListenerContext';
import { PluginBase } from 'cross/runtime/framework/plugin/PluginBase';
import { PluginContext } from 'cross/runtime/framework/plugin/PluginContext';
import { PluginResult } from 'cross/runtime/framework/plugin/PluginResult';
import { PluginService } from 'cross/runtime/framework/plugin/PluginService';
import { UiDesktopService } from 'foundation/editor/ui/desktop/UiDesktopService';
import { UiDesktopToolbarSpace } from 'foundation/editor/ui/desktop/UiDesktopToolbarSpace';
import { UiControlService } from 'foundation/editor/ui/UiControlService';
import { RenderModule } from "sk/frame/plugin/render/frame/RenderModule";
export class RenderPlugin extends PluginBase {
protected _toolbarSpace: UiDesktopToolbarSpace;
protected _pluginService: PluginService;
protected _controlService: UiControlService;
protected _desktopService: UiDesktopService;
module: RenderModule;
onDesktopActive(sender: ListenerContext, event: EventObject): void;
onDesktopReady(sender: ListenerContext, event: EventObject): void;
activeAsync(context: PluginContext): Promise;
static get instance(): RenderPlugin;
}
}
declare module "sk/frame/plugin/render/frame/FloorplanModuleViewEnum" {
export class FloorplanModuleViewEnum {
static View3d: string;
static View2d: string;
}
}
declare module "sk/frame/plugin/render/frame/RenderModuleContants" {
export class RenderModuleConstants {
static Module: string;
static Document: string;
}
}
declare module "sk/frame/plugin/render/frame/canvas/RenderCanvas2d" {
import { SchemeCanvas2d } from 'sk/editor/scheme/view/canvas2d/SchemeCanvas2d';
export class RenderCanvas2d extends SchemeCanvas2d {
constructor();
}
}
declare module "sk/frame/plugin/render/frame/canvas/RenderCanvas3d" {
import { SchemeCanvas3d } from 'sk/editor/scheme/view/webgl3d/SchemeCanvas3d';
export class RenderCanvas3d extends SchemeCanvas3d {
constructor();
onResize(): void;
}
}
declare module "sk/frame/plugin/render/ui/ContentTabs" {
import { ResultObject } from 'cross/runtime/lang/ResultObject';
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { CanvasService } from 'foundation/editor/view/base/CanvasService';
export class Canvas2d extends UiContainer {
protected _canvasService: CanvasService;
componentDidMountAsync(): Promise;
render(): JSX.Element;
}
export class Canvas3d extends UiContainer {
protected _canvasService: CanvasService;
componentDidMountAsync(): Promise;
render(): JSX.Element;
}
export class ContentTabs extends UiContainer {
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/render/ui/RenderResultList" {
import { ListenerThread } from 'cross/runtime/module/thread/ListenerThread';
import { ThreadService } from 'cross/runtime/module/thread/ThreadService';
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { BatchService } from 'sk/frame/logic/storage/digitization/batch/BatchService';
export class RenderResultList extends UiContainer {
protected _thread: ListenerThread;
protected _threadConsole: ThreadService;
protected _batchService: BatchService;
parent: any;
renderResultKey: number;
state: any;
style(): any;
constructor(props?: any, context?: any);
componentStatusChange(state: any, props: any): void;
makeResultButtonList(): any[];
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/render/ui/catalog/RenderCatalogPanel" {
import * as React from 'react';
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
export class RenderCatalogPanelState {
visible: false;
digitalRenderFlag: false;
}
export class RenderCatalogPanel extends UiContainer {
state: RenderCatalogPanelState;
onItemClick: (event: any) => void;
onItemEnter: (event: any) => void;
onItemOut: (event: any) => void;
floorIcon: () => React.JSX.Element;
structureIcon: () => React.JSX.Element;
showDigitalIcon(): JSX.Element;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/render/ui/work/RenderCanvas2d" {
import { ResultObject } from 'cross/runtime/lang/ResultObject';
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { CanvasService } from 'foundation/editor/view/base/CanvasService';
export class RenderCanvas2d extends UiContainer {
protected _canvasService: CanvasService;
componentDidMountAsync(): Promise;
componentWillUnmount(): void;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/render/ui/work/RenderTabs" {
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
export class RenderTabs extends UiContainer {
constructor(props: any, context?: any);
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/render/ui/work/tools/ToolButtons2D" {
import { ListenerContext } from 'cross/runtime/lang/ListenerContext';
import { DocumentEvent } from 'cross/runtime/framework/document/DocumentEvent';
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { UiDesktopEvent } from 'foundation/editor/ui/desktop/UiDesktopEvent';
import { UiDesktopService } from 'foundation/editor/ui/desktop/UiDesktopService';
export class ToolButtons2DState {
unitIndex: number;
floorHeight: number;
currUnit: string;
}
export class ToolButtons2D extends UiContainer {
protected _desktopService: UiDesktopService;
state: ToolButtons2DState;
unitRatio: any;
constructor(props: any, context?: any);
onViewModeChanged(sender: ListenerContext, event: UiDesktopEvent): void;
onScaleUpClick(): any;
onScaleDownClick(): any;
onFitCenterClick(): any;
onFloorHeightKeyup(): any;
onFloorHeightUpdate(): any;
onFloorHeightBlur(): any;
private updateFloorHeight;
onUnitChange(): any;
onOpenDesign(sender: ListenerContext, event: DocumentEvent): void;
render(): JSX.Element;
}
}
declare module "sk/frame/plugin/render/ui/work/tools/ToolButtons3D" {
import { StorageDeviceService } from 'cross/core/device/storage/StorageDeviceService';
import { LoginLogicService } from 'cross/data/module/logic/login/LoginLogicService';
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { UiDesktopService } from 'foundation/editor/ui/desktop/UiDesktopService';
export class ToolButtons3DState {
unitIndex: number;
currUnit: string;
}
export class ToolButtons3D extends UiContainer {
state: ToolButtons3DState;
opts: any;
protected _storageService: StorageDeviceService;
protected _loginService: LoginLogicService;
protected _desktopService: UiDesktopService;
constructor(props: any, context?: any);
onViewModeChanged(sender: any, event: any): void;
onLoginChanged(sender: any, event: any): void;
onChange(): any;
render(): JSX.Element;
}
}