/// /// /// /// /// /// /// /// /// /// /// /// /// declare module "copyright" { export class FramePluginEditorResourceCopyright { static toString(): string; } } declare module "sk/frame/plugin/editor/base/entity/BoxEntity" { import { BoxGeometry } from 'foundation/runtime/graphics/shape/geometry/BoxGeometry'; import { ContentNode } from 'foundation/data/common/model/brep/ContentNode'; export class BoxEntity extends ContentNode { static CLASS_NAME: string; protected _geometry: BoxGeometry; private _dirty; constructor(); setup(): void; get geometry(): BoxGeometry; dirtySelf(): void; } } declare module "sk/frame/plugin/editor/base/entity/SphereEntity" { import { ContentNode } from 'foundation/data/common/model/brep/ContentNode'; export class SphereEntity extends ContentNode { private _dirty; constructor(); setup(): void; get geometry(): any; dirtySelf(): void; } } declare module "sk/frame/plugin/editor/base/ui/BaseInforSetting" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class BaseInfoSettingForm extends UiContainer { render(): JSX.Element; } } declare module "sk/frame/plugin/editor/base/ui/PBRMaterialSetting" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class PBRMaterialSetting extends UiContainer { render(): JSX.Element; } } declare module "sk/frame/plugin/editor/base/ui/PBRMetalSetting" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class PBRMetalSetting extends UiContainer { render(): JSX.Element; } } declare module "sk/frame/plugin/editor/base/ui/PBRSpecularSetting" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class PBRSpecularSetting extends UiContainer { render(): JSX.Element; } } declare module "sk/frame/plugin/editor/base/ui/StandardMaterialSetting" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class StandMaterialSetting extends UiContainer { render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/EditorResourcePlugin" { import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; export class EditorResourcePlugin extends InstanceObject { } } declare module "sk/frame/plugin/editor/resource/IndexSpace" { export class IndexSpace { static namespaces(): string[]; } } declare module "sk/frame/plugin/editor/resource/ResourceCanvas2d" { import { SchemeCanvas2d } from 'sk/editor/scheme/view/canvas2d/SchemeCanvas2d'; export class ResourceCanvas2d extends SchemeCanvas2d { constructor(); } } declare module "sk/frame/plugin/editor/resource/ResourceDeleteAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; import { ResourceService } from 'sk/frame/logic/storage/resource/resource/ResourceService'; export class ResourceDeleteAction extends FrameAction { protected _resourceService: ResourceService; deleteAsync(args: FrameActionArgs): Promise; process(args: FrameActionArgs): void; } } declare module "sk/frame/plugin/editor/resource/ResourceDownloadAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; import { ResourceService } from 'sk/frame/logic/storage/resource/resource/ResourceService'; export class ResourceDownloadAction extends FrameAction { protected _resourceService: ResourceService; downloadAsync(args: FrameActionArgs): Promise; process(args: FrameActionArgs): void; } } declare module "sk/frame/plugin/editor/resource/ResourceEditAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class ResourceEditAction extends FrameAction { editAsync(args: FrameActionArgs): Promise; process(args: FrameActionArgs): void; } } declare module "sk/frame/plugin/editor/resource/ResourceInfoAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class ResourceInfoAction extends FrameAction { process(args: FrameActionArgs): void; } } declare module "sk/frame/plugin/editor/resource/ResourceOpenEditFrameAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class ResourceOpenEditFrameAction extends FrameAction { openAsync(args: FrameActionArgs): Promise; process(args: FrameActionArgs): void; } } declare module "sk/frame/plugin/editor/resource/UploadTypeEnum" { export class UploadTypeEnum { static picPicType: string; static materialPicType: string; static FileType: string; } } declare module "sk/frame/plugin/editor/resource/ui/CurveUpdateModal" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { ResourceService } from 'sk/frame/logic/storage/resource/resource/ResourceService'; export class CurveUpdateForm extends UiContainer { protected _resourceService: ResourceService; protected _uiFrameService: UiFrameService; private afterClose; private afterSubmit; constructor(props: any, context?: any); componentStatusChange(state: any, props: any): void; beforeCurveUpload: (file: any) => boolean; onCurveUpload: (options: any) => void; confirmUpload: (e: any) => void; handleCancel: () => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/ui/DrawingGraphUpdateModal" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { ResourceService } from 'sk/frame/logic/storage/resource/resource/ResourceService'; export class DrawingGraphUpdateForm extends UiContainer { protected _resourceService: ResourceService; protected _uiFrameService: UiFrameService; private afterClose; private afterSubmit; constructor(props: any, context?: any); componentStatusChange(state: any, props: any): void; beforePreviewUpload: (file: any) => boolean; handlePreviewChange: (options: any) => void; beforeContentUpload: (file: any) => boolean; handleFileChange: (options: any) => void; confirmUpload: (e: any) => void; handleCancel: () => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/ui/DrawingTemplateUpdateModal" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { ResourceService } from 'sk/frame/logic/storage/resource/resource/ResourceService'; export class DrawingTemplateUpdateForm extends UiContainer { protected _resourceService: ResourceService; protected _uiFrameService: UiFrameService; private afterClose; private afterSubmit; constructor(props: any, context?: any); componentStatusChange(state: any, props: any): void; beforePreviewUpload: (file: any) => boolean; handlePreviewChange: (options: any) => void; beforeContentUpload: (file: any) => boolean; handleFileChange: (options: any) => void; confirmUpload: (e: any) => void; handleCancel: () => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/ui/EffectUpdateModal" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { ResourceService } from 'sk/frame/logic/storage/resource/resource/ResourceService'; export class EffectUpdateForm extends UiContainer { protected _resourceService: ResourceService; protected _uiFrameService: UiFrameService; private afterClose; private afterSubmit; constructor(props: any, context?: any); componentStatusChange(state: any, props: any): void; beforePreviewUpload: (file: any) => boolean; handlePreviewChange: (options: any) => void; beforeVRayUpload: (file: any) => boolean; handleVRayChange: (options: any) => void; confirmUpload: (e: any) => void; handleCancel: () => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/ui/IesUpdateModal" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { ResourceService } from 'sk/frame/logic/storage/resource/resource/ResourceService'; export class IesUpdateForm extends UiContainer { protected _resourceService: ResourceService; protected _uiFrameService: UiFrameService; private afterClose; private afterSubmit; constructor(props: any, context?: any); componentStatusChange(state: any, props: any): void; beforePreviewUpload: (file: any) => boolean; handlePreviewChange: (options: any) => void; beforeContentUpload: (file: any) => boolean; handleFileChange: (options: any) => void; confirmUpload: (e: any) => void; handleCancel: () => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/ui/MaterialUpdateModal" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { ResourceMaterialService } from 'sk/frame/logic/storage/resource/resource/material/ResourceMaterialService'; import { ResourceService } from 'sk/frame/logic/storage/resource/resource/ResourceService'; export class MaterialUpdateForm extends UiContainer { protected _resourceService: ResourceService; protected _resourceMaterialService: ResourceMaterialService; protected _uiFrameService: UiFrameService; private afterClose; private afterSubmit; private selectRecord; constructor(props: any, context?: any); componentDidMount(): void; getResourceMaterialAsync(id: string): Promise; componentStatusChange(state: any, props: any): void; beforePreviewUpload: (file: any) => boolean; handlePreviewChange: (options: any) => void; beforeDiffuseUpload: (file: any) => boolean; handleDiffuseChange: (options: any) => void; beforeNormalUpload: (file: any) => boolean; handleNormalChange: ({ onSuccess, onError, file }: { onSuccess: any; onError: any; file: any; }) => void; beforeSpecularUpload: (file: any) => boolean; handleSpecularChange: ({ onSuccess, onError, file }: { onSuccess: any; onError: any; file: any; }) => void; confirmUpload: (e: any) => void; handleCancel: () => void; private onPickOk; private makeResourceEffectPick; private onAddResourceEffect; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/ui/ModelUpdateModal" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { ResourceService } from 'sk/frame/logic/storage/resource/resource/ResourceService'; export class ModelUpdateForm extends UiContainer { protected _resourceService: ResourceService; protected _uiFrameService: UiFrameService; private afterClose; private afterSubmit; private formRef; constructor(props: any, context?: any); componentStatusChange(state: any, props: any): void; beforeModelUpdate: (file: any) => boolean; onModelUpdate: (options: any) => void; confirmUpload: (e: any) => void; handleCancel: () => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/ui/PictureUpdateModal" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { ResourceService } from 'sk/frame/logic/storage/resource/resource/ResourceService'; export class PictureUpdateForm extends UiContainer { protected _resourceService: ResourceService; protected _uiFrameService: UiFrameService; private afterClose; private afterSubmit; constructor(props: any, context?: any); componentStatusChange(state: any, props: any): void; beforePictureUpdate: (file: any) => boolean; onPictureUpdate: (options: any) => void; beforePreviewUpdate: (file: any) => boolean; onPreviewUpdate: (options: any) => void; confirmUpload: (e: any) => void; handleCancel: () => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/ResourceOpenUpdateFrameAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class ResourceOpenUpdateFrameAction extends FrameAction { protected _frameName: string; protected _modalClass: any; private _table; private _toolbar; private setModalByType; private afterSubmit; private afterClose; processAsync(args: FrameActionArgs): Promise; } } declare module "sk/frame/plugin/editor/resource/ResourceUpdateAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class ResourceUpdateAction extends FrameAction { protected _frameName: string; protected _modalClass: any; private _listview; private setModalByType; private afterSubmit; private afterClose; processAsync(args: FrameActionArgs): Promise; } } declare module "sk/frame/plugin/editor/resource/curve/entity/BezierEntity" { import { BezierCurve2dNode } from 'foundation/data/common/model/brep/geometric/curve2d/BezierCurve2dNode'; export class BezierEntity extends BezierCurve2dNode { } } declare module "sk/frame/plugin/editor/resource/curve/action/bezier/BezierActionEvent" { import { ActionEvent } from 'foundation/editor/view/action/ActionEvent'; import { BezierEntity } from "sk/frame/plugin/editor/resource/curve/entity/BezierEntity"; export class BezierActionEvent extends ActionEvent { parent: any; entity: BezierEntity; visible: boolean; free(): void; } } declare module "sk/frame/plugin/editor/resource/curve/action/bezier/BezierAddAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { BezierEntity } from "sk/frame/plugin/editor/resource/curve/entity/BezierEntity"; import { BezierActionEvent } from "sk/frame/plugin/editor/resource/curve/action/bezier/BezierActionEvent"; export class BezierAddAction extends Action { entity: BezierEntity; private _chests; private _plankPoints; private _plankEdges; protected _selectionService: SelectionService; constructor(); onExecute(event: BezierActionEvent): boolean; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/resource/curve/action/bezier/BezierDeleteAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { BezierEntity } from "sk/frame/plugin/editor/resource/curve/entity/BezierEntity"; export class BezierDeleteAction extends Action { entity: BezierEntity; protected _selectionService: SelectionService; constructor(); } } declare module "sk/frame/plugin/editor/resource/curve/action/bezier/BezierDisplayAction" { import { BezierCurve2dNode } from 'foundation/data/common/model/brep/geometric/curve2d/BezierCurve2dNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; export class BezierDisplayAction extends Action { data: BezierCurve2dNode; private _content; visible: boolean; private oldData; private newData; protected _selectionService: SelectionService; constructor(); } } declare module "sk/frame/plugin/editor/resource/curve/action/bezier/BezierMoveAction" { import { NumberMap } from 'cross/runtime/lang/MapUtil'; import { SnapNumberHelper } from 'foundation/editor/view/snap/helper/SnapNumberHelper'; import { Action } from 'foundation/editor/view/action/Action'; import { CompositeNode } from 'sk/data/scheme/database/furniture/model/CompositeNode'; import { BezierEntity } from "sk/frame/plugin/editor/resource/curve/entity/BezierEntity"; export class BezierMoveHistory { parentX: number; parentY: number; parentZ: number; parentLengthX: number; parentLengthY: number; parentLengthZ: number; x: number; y: number; z: number; lengthX: number; lengthY: number; lengthZ: number; positionXMap: NumberMap; lengthXMap: NumberMap; constructor(); } export class BezierMoveAction extends Action { topComposite: CompositeNode; composite: CompositeNode; entity: BezierEntity; protected _changed: boolean; protected _oldContent: BezierMoveHistory; protected _newContent: BezierMoveHistory; protected _lengthMinX: number; protected _lengthMaxX: number; protected _lengthMinZ: number; protected _lengthMaxZ: number; protected _snap: SnapNumberHelper; } } declare module "sk/frame/plugin/editor/resource/curve/entity/BSplineEntity" { import { BSplineCurve2dNode } from 'foundation/data/common/model/brep/geometric/curve2d/BSplineCurve2dNode'; export class BSplineEntity extends BSplineCurve2dNode { } } declare module "sk/frame/plugin/editor/resource/curve/action/bspline/BSplineActionEvent" { import { ActionEvent } from 'foundation/editor/view/action/ActionEvent'; import { BSplineEntity } from "sk/frame/plugin/editor/resource/curve/entity/BSplineEntity"; export class BSplineActionEvent extends ActionEvent { parent: any; entity: BSplineEntity; visible: boolean; free(): void; } } declare module "sk/frame/plugin/editor/resource/curve/action/bspline/BSplineAddAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { BSplineEntity } from "sk/frame/plugin/editor/resource/curve/entity/BSplineEntity"; import { BSplineActionEvent } from "sk/frame/plugin/editor/resource/curve/action/bspline/BSplineActionEvent"; export class BSplineAddAction extends Action { entity: BSplineEntity; private _chests; private _plankPoints; private _plankEdges; protected _selectionService: SelectionService; constructor(); onExecute(event: BSplineActionEvent): boolean; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/resource/curve/action/bspline/BSplineDeleteAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { BSplineEntity } from "sk/frame/plugin/editor/resource/curve/entity/BSplineEntity"; export class BSplineDeleteAction extends Action { entity: BSplineEntity; protected _selectionService: SelectionService; constructor(); } } declare module "sk/frame/plugin/editor/resource/curve/action/bspline/BSplineDisplayAction" { import { BSplineCurve2dNode } from 'foundation/data/common/model/brep/geometric/curve2d/BSplineCurve2dNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; export class BSplineDisplayAction extends Action { data: BSplineCurve2dNode; private _content; visible: boolean; private oldData; private newData; protected _selectionService: SelectionService; constructor(); } } declare module "sk/frame/plugin/editor/resource/curve/action/bspline/BSplineMoveAction" { import { NumberMap } from 'cross/runtime/lang/MapUtil'; import { SnapNumberHelper } from 'foundation/editor/view/snap/helper/SnapNumberHelper'; import { Action } from 'foundation/editor/view/action/Action'; import { CompositeNode } from 'sk/data/scheme/database/furniture/model/CompositeNode'; import { BSplineEntity } from "sk/frame/plugin/editor/resource/curve/entity/BSplineEntity"; export class BSplineMoveHistory { parentX: number; parentY: number; parentZ: number; parentLengthX: number; parentLengthY: number; parentLengthZ: number; x: number; y: number; z: number; lengthX: number; lengthY: number; lengthZ: number; positionXMap: NumberMap; lengthXMap: NumberMap; constructor(); } export class BSplineMoveAction extends Action { topComposite: CompositeNode; composite: CompositeNode; entity: BSplineEntity; protected _changed: boolean; protected _oldContent: BSplineMoveHistory; protected _newContent: BSplineMoveHistory; protected _lengthMinX: number; protected _lengthMaxX: number; protected _lengthMinZ: number; protected _lengthMaxZ: number; protected _snap: SnapNumberHelper; } } declare module "sk/frame/plugin/editor/resource/curve/action/circle/CircleActionEvent" { import { ActionEvent } from 'foundation/editor/view/action/ActionEvent'; import { CircleCurve2dEntity } from 'sk/editor/family/entity/geometric/CircleCurve2dEntity'; export class CircleActionEvent extends ActionEvent { parent: any; entity: CircleCurve2dEntity; visible: boolean; free(): void; } } declare module "sk/frame/plugin/editor/resource/curve/action/circle/CircleAddAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { CircleCurve2dEntity } from 'sk/editor/family/entity/geometric/CircleCurve2dEntity'; import { CircleActionEvent } from "sk/frame/plugin/editor/resource/curve/action/circle/CircleActionEvent"; export class CircleAddAction extends Action { entity: CircleCurve2dEntity; private _chests; private _plankPoints; private _plankEdges; protected _selectionService: SelectionService; constructor(); onExecute(event: CircleActionEvent): boolean; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/resource/curve/action/circle/CircleDeleteAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { CircleCurve2dEntity } from 'sk/editor/family/entity/geometric/CircleCurve2dEntity'; export class CircleDeleteAction extends Action { entity: CircleCurve2dEntity; protected _selectionService: SelectionService; constructor(); } } declare module "sk/frame/plugin/editor/resource/curve/action/circle/CircleDisplayAction" { import { CircleCurve2dNode } from 'foundation/data/common/model/brep/geometric/curve2d/CircleCurve2dNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; export class CircleDisplayAction extends Action { data: CircleCurve2dNode; private _content; visible: boolean; private oldData; private newData; protected _selectionService: SelectionService; constructor(); } } declare module "sk/frame/plugin/editor/resource/curve/action/circle/CircleMoveAction" { import { NumberMap } from 'cross/runtime/lang/MapUtil'; import { SnapNumberHelper } from 'foundation/editor/view/snap/helper/SnapNumberHelper'; import { Action } from 'foundation/editor/view/action/Action'; import { CompositeNode } from 'sk/data/scheme/database/furniture/model/CompositeNode'; import { CircleCurve2dEntity } from 'sk/editor/family/entity/geometric/CircleCurve2dEntity'; export class CircleMoveHistory { parentX: number; parentY: number; parentZ: number; parentLengthX: number; parentLengthY: number; parentLengthZ: number; x: number; y: number; z: number; lengthX: number; lengthY: number; lengthZ: number; positionXMap: NumberMap; lengthXMap: NumberMap; constructor(); } export class CircleMoveAction extends Action { topComposite: CompositeNode; composite: CompositeNode; entity: CircleCurve2dEntity; protected _changed: boolean; protected _oldContent: CircleMoveHistory; protected _newContent: CircleMoveHistory; protected _lengthMinX: number; protected _lengthMaxX: number; protected _lengthMinZ: number; protected _lengthMaxZ: number; protected _snap: SnapNumberHelper; } } declare module "sk/frame/plugin/editor/resource/curve/action/circlearc/CircleArcActionEvent" { import { ActionEvent } from 'foundation/editor/view/action/ActionEvent'; import { CircleArcCurveEntity } from 'sk/editor/family/entity/geometric/CircleArcCurveEntity'; export class CircleArcActionEvent extends ActionEvent { parent: any; entity: CircleArcCurveEntity; visible: boolean; free(): void; } } declare module "sk/frame/plugin/editor/resource/curve/action/circlearc/CircleArcAddAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { CircleArcCurveEntity } from 'sk/editor/family/entity/geometric/CircleArcCurveEntity'; import { CircleArcActionEvent } from "sk/frame/plugin/editor/resource/curve/action/circlearc/CircleArcActionEvent"; export class CircleArcAddAction extends Action { entity: CircleArcCurveEntity; private _chests; private _plankPoints; private _plankEdges; protected _selectionService: SelectionService; constructor(); onExecute(event: CircleArcActionEvent): boolean; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/resource/curve/action/circlearc/CircleArcDeleteAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { CircleArcCurveEntity } from 'sk/editor/family/entity/geometric/CircleArcCurveEntity'; export class CircleArcDeleteAction extends Action { entity: CircleArcCurveEntity; protected _selectionService: SelectionService; constructor(); } } declare module "sk/frame/plugin/editor/resource/curve/action/circlearc/CircleArcDisplayAction" { import { CircleArcCurve2dNode } from 'foundation/data/common/model/brep/geometric/curve2d/CircleArcCurve2dNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; export class CircleArcDisplayAction extends Action { data: CircleArcCurve2dNode; private _content; visible: boolean; private oldData; private newData; protected _selectionService: SelectionService; constructor(); } } declare module "sk/frame/plugin/editor/resource/curve/action/circlearc/CircleArcMoveAction" { import { NumberMap } from 'cross/runtime/lang/MapUtil'; import { SnapNumberHelper } from 'foundation/editor/view/snap/helper/SnapNumberHelper'; import { Action } from 'foundation/editor/view/action/Action'; import { CompositeNode } from 'sk/data/scheme/database/furniture/model/CompositeNode'; import { CircleArcCurveEntity } from 'sk/editor/family/entity/geometric/CircleArcCurveEntity'; export class CircleArcMoveHistory { parentX: number; parentY: number; parentZ: number; parentLengthX: number; parentLengthY: number; parentLengthZ: number; x: number; y: number; z: number; lengthX: number; lengthY: number; lengthZ: number; positionXMap: NumberMap; lengthXMap: NumberMap; constructor(); } export class CircleArcMoveAction extends Action { topComposite: CompositeNode; composite: CompositeNode; entity: CircleArcCurveEntity; protected _changed: boolean; protected _oldContent: CircleArcMoveHistory; protected _newContent: CircleArcMoveHistory; protected _lengthMinX: number; protected _lengthMaxX: number; protected _lengthMinZ: number; protected _lengthMaxZ: number; protected _snap: SnapNumberHelper; } } declare module "sk/frame/plugin/editor/resource/curve/action/content/ContentDisplayAction" { import { ContentNode } from 'foundation/data/common/model/brep/ContentNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { Action } from 'foundation/editor/view/action/Action'; export class ContentDisplayAction extends Action { chest: ContentNode; content: ContentNode; visible: boolean; private _savedData; private _restoreData; protected _selectionService: SelectionService; constructor(); protected switchVisible(visible: boolean): void; onExecute(event?: ContentActionEvent): void; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/resource/curve/action/content/ContentRotateAction" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { ContentNode } from 'foundation/data/common/model/brep/ContentNode'; import { Action } from 'foundation/editor/view/action/Action'; export class ContentRotateAction extends Action { entity: ContentNode; rotation: Vector3; originalAngle: any; lastTargetingAngle: any; lastContentAngle: any; constructor(a?: any); onExecute(): void; onReceive(key: string, attributes: any): boolean; } } declare module "sk/frame/plugin/editor/resource/curve/entity/CurveEntity" { import { Curve2dNode } from 'foundation/data/common/model/brep/geometric/Curve2dNode'; export class CurveEntity extends Curve2dNode { } } declare module "sk/frame/plugin/editor/resource/curve/action/curve/CurveActionEvent" { import { ActionEvent } from 'foundation/editor/view/action/ActionEvent'; import { CurveEntity } from "sk/frame/plugin/editor/resource/curve/entity/CurveEntity"; export class CurveActionEvent extends ActionEvent { parent: any; entity: CurveEntity; visible: boolean; free(): void; } } declare module "sk/frame/plugin/editor/resource/curve/action/curve/CurveAddAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { CurveEntity } from "sk/frame/plugin/editor/resource/curve/entity/CurveEntity"; import { CurveActionEvent } from "sk/frame/plugin/editor/resource/curve/action/curve/CurveActionEvent"; export class CurveAddAction extends Action { entity: CurveEntity; private _chests; private _plankPoints; private _plankEdges; protected _selectionService: SelectionService; constructor(); onExecute(event: CurveActionEvent): boolean; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/resource/curve/action/curve/CurveDeleteAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { CurveEntity } from "sk/frame/plugin/editor/resource/curve/entity/CurveEntity"; export class CurveDeleteAction extends Action { entity: CurveEntity; protected _selectionService: SelectionService; constructor(); } } declare module "sk/frame/plugin/editor/resource/curve/action/curve/CurveDisplayAction" { import { CurveNode } from 'foundation/data/common/model/brep/geometric/CurveNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; export class CurveDisplayAction extends Action { data: CurveNode; private _content; visible: boolean; private oldData; private newData; protected _selectionService: SelectionService; constructor(); } } declare module "sk/frame/plugin/editor/resource/curve/action/curve/CurveMoveAction" { import { NumberMap } from 'cross/runtime/lang/MapUtil'; import { SnapNumberHelper } from 'foundation/editor/view/snap/helper/SnapNumberHelper'; import { Action } from 'foundation/editor/view/action/Action'; import { CompositeNode } from 'sk/data/scheme/database/furniture/model/CompositeNode'; import { CurveEntity } from "sk/frame/plugin/editor/resource/curve/entity/CurveEntity"; export class CurveMoveHistory { parentX: number; parentY: number; parentZ: number; parentLengthX: number; parentLengthY: number; parentLengthZ: number; x: number; y: number; z: number; lengthX: number; lengthY: number; lengthZ: number; positionXMap: NumberMap; lengthXMap: NumberMap; constructor(); } export class CurveMoveAction extends Action { topComposite: CompositeNode; composite: CompositeNode; entity: CurveEntity; protected _changed: boolean; protected _oldContent: CurveMoveHistory; protected _newContent: CurveMoveHistory; protected _lengthMinX: number; protected _lengthMaxX: number; protected _lengthMinZ: number; protected _lengthMaxZ: number; protected _snap: SnapNumberHelper; } } declare module "sk/frame/plugin/editor/resource/graph/entity/GraphEditOptions" { import { EditOptions } from 'foundation/editor/view/entity/EditOptions'; export class GraphEditOptions extends EditOptions { rotationX: number; rotationY: number; rotationZ: number; reset(): void; } } declare module "sk/frame/plugin/editor/resource/graph/entity/GraphBlueprintEntity" { import { GridEntity } from 'foundation/editor/view/entity/GridEntity'; import { ObserverViewEntity } from 'foundation/editor/view/entity/ObserverViewEntity'; import { DrawingGraphBlueprintNode } from 'sk/data/family/drawing/model/DrawingGraphBlueprintNode'; import { GraphEditOptions } from "sk/frame/plugin/editor/resource/graph/entity/GraphEditOptions"; export class GraphBlueprintEntity extends DrawingGraphBlueprintNode { editOptions: GraphEditOptions; activeObserver: ObserverViewEntity; grid: GridEntity; constructor(); reset(): void; } } declare module "sk/frame/plugin/editor/resource/graph/entity/GraphEditorDocument" { import { PersistentContext } from 'cross/runtime/module/persistent/PersistentContext'; import { PersistentFactory } from 'cross/runtime/module/persistent/PersistentFactory'; import { StorageDeviceService } from 'cross/core/device/storage/StorageDeviceService'; import { FamilyStructure } from 'sk/data/family/library/FamilyStructure'; import { FamilyDocumentService } from 'sk/data/family/service/FamilyDocumentService'; import { GraphDocument } from 'sk/data/resource/graph/model/GraphDocument'; import { ResourceGraphUpdateContentResponse } from 'sk/data/logic/resource/message/ResourceGraphUpdateContentResponse'; import { GraphBlueprintEntity } from "sk/frame/plugin/editor/resource/graph/entity/GraphBlueprintEntity"; export class GraphEditorDocument extends GraphDocument { protected static _factory: PersistentFactory; protected _storageService: StorageDeviceService; protected _familyDocumentService: FamilyDocumentService; static get Factory(): PersistentFactory; blueprint: GraphBlueprintEntity; constructor(); get factory(): PersistentFactory; setup(): void; makeStorageCode(): string; saveJson(jconfig?: any, options?: any, context?: PersistentContext): any; saveAsync(): Promise; saveLocal(): any; static createDefaultDocument(): GraphEditorDocument; computeVision(structure: FamilyStructure): void; } } declare module "sk/frame/plugin/editor/resource/graph/ui/GraphPropForm" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { StructureElement } from 'sk/data/family/element/base/StructureElement'; import { FamilyStructure } from 'sk/data/family/library/FamilyStructure'; import { GraphEditorDocument } from "sk/frame/plugin/editor/resource/graph/entity/GraphEditorDocument"; export class GraphPropForm extends UiContainer { protected document: GraphEditorDocument; protected element: StructureElement; protected structure: FamilyStructure; constructor(props?: any, context?: any); componentPropsChange(nextProps: any, nextContext: any): void; onValueChanged: (e: any) => void; computeDocument: () => void; makeInfoPanel(): JSX.Element; protected getTabsItems(key: string, label: string, children: any): any; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/curve/action/dummy/DesignatedPositionEvent" { import { ActionEvent } from 'foundation/editor/view/action/ActionEvent'; import { GraphEditorDocument } from "sk/frame/plugin/editor/resource/graph/entity/GraphEditorDocument"; import { GraphEditorFrame } from "sk/frame/plugin/editor/resource/graph/frame/GraphEditorFrame"; export class DesignatedPositionEvent extends ActionEvent { frame: GraphEditorFrame; document: GraphEditorDocument; code: string; } } declare module "sk/frame/plugin/editor/resource/graph/ui/GraphToolBar" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { GraphEditorDocument } from "sk/frame/plugin/editor/resource/graph/entity/GraphEditorDocument"; export class GraphToolBar extends UiContainer { document: GraphEditorDocument; protected _uiFrameService: UiFrameService; constructor(props?: any, context?: any); componentPropsChange(nextProps: any, nextContext: any): void; private makeButtons; onSave: () => Promise; onClose: () => void; private buttonConfig; render(): JSX.Element; protected _actionService: ActionService; onCreateNode(code: any): Function; } } declare module "sk/frame/plugin/editor/resource/graph/ui/GraphELementTree" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { FamilyStructure } from 'sk/data/family/library/FamilyStructure'; import { GraphEditorDocument } from "sk/frame/plugin/editor/resource/graph/entity/GraphEditorDocument"; export class GraphElementTree extends UiContainer { document: GraphEditorDocument; selectElementCallback: any; private defaultSelect; private defaultStructure; state: { selectedKeys: any[]; expandedKeys: any[]; treeData: any[]; }; componentPropsChange(nextProps: any, nextContext: any): void; protected makeElementTreeNode(element: any): JSX.Element; makeFamilyStructureTreeNode(structure: FamilyStructure): any; makeElementTree(): JSX.Element; makeElementTreeData(): any; makeFamilyStructureTreeNodeData(structure: FamilyStructure): any; protected makeElementTreeNodeData(element: any): any; private onSelectNode; private onExpand; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/graph/ui/GraphTree" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { GraphEditorDocument } from "sk/frame/plugin/editor/resource/graph/entity/GraphEditorDocument"; export class GraphTree extends UiContainer { document: GraphEditorDocument; selectElementCallback: any; constructor(props?: any, context?: any); componentPropsChange(nextProps: any, nextContext: any): void; loopNodes: (data: any) => any[]; private makeTitle; makeNodeTree(): JSX.Element; makeDisplayTree(): any[]; onTabChange: () => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/graph/frame/GraphConstants" { export class GraphConstants { static ModuleName: string; static DocumentName: string; static CanvasName: string; static SceneName: string; } } declare module "sk/frame/plugin/editor/resource/graph/frame/GraphEditorModule" { import { ModuleContext } from 'cross/runtime/framework/module/ModuleContext'; import { CanvasService } from 'foundation/editor/view/base/CanvasService'; import { FrameEditorModule } from 'sk/editor/view/frame/FrameEditorModule'; import { C2dCanvas } from 'sk/editor/logic/view/canvas2d/C2dCanvas'; import { GraphEditorDocument } from "sk/frame/plugin/editor/resource/graph/entity/GraphEditorDocument"; export class GraphEditorModule extends FrameEditorModule { _document: GraphEditorDocument; canvas: C2dCanvas; protected _canvasService: CanvasService; constructor(); onStartup(context: ModuleContext): void; onBindCanvasAsync(json?: any): Promise; onReleaseCanvas(): void; static get instance(): GraphEditorModule; static get document(): GraphEditorDocument; } } declare module "sk/frame/plugin/editor/resource/graph/frame/GraphEditorFrame" { import { FrameEditorFrameProps, FrameEditorFrameState } from 'sk/editor/view/frame/FrameEditorFrame'; import { FrameEditorViewFrame } from 'sk/editor/view/frame/FrameEditorViewFrame'; import { GraphEditorDocument } from "sk/frame/plugin/editor/resource/graph/entity/GraphEditorDocument"; import { GraphPropForm } from "sk/frame/plugin/editor/resource/graph/ui/GraphPropForm"; import { GraphTree } from "sk/frame/plugin/editor/resource/graph/ui/GraphTree"; import { GraphEditorModule } from "sk/frame/plugin/editor/resource/graph/frame/GraphEditorModule"; export interface GraphEditorFrameProps extends FrameEditorFrameProps { } export interface GraphEditorFrameState extends FrameEditorFrameState { selectedNode?: null; document?: GraphEditorDocument; } export class GraphEditorFrame extends FrameEditorViewFrame { static pageName: string; document: GraphEditorDocument; module: GraphEditorModule; protected _categorytree: GraphTree; protected _graphPropForm: GraphPropForm; constructor(props?: any, context?: any); onSelectNode: (selectedNode: any) => void; loadDocumentAsync(): Promise; makeCanvas(): JSX.Element; makeCategory(): any; refreshTree: () => void; makeToolBar(): any; makeProperty(): any; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/curve/action/dummy/DesignatedPositionAction" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { Action } from 'foundation/editor/view/action/Action'; import { GraphEditorDocument } from "sk/frame/plugin/editor/resource/graph/entity/GraphEditorDocument"; import { GraphEditorFrame } from "sk/frame/plugin/editor/resource/graph/frame/GraphEditorFrame"; import { DesignatedPositionEvent } from "sk/frame/plugin/editor/resource/curve/action/dummy/DesignatedPositionEvent"; export class DesignatedPositionAction extends Action { protected frame: GraphEditorFrame; protected document: GraphEditorDocument; protected code: string; onExecute(event: DesignatedPositionEvent): void; findPosition(pos: Vector2): void; } } declare module "sk/frame/plugin/editor/resource/curve/action/dummy/DesignatedPositionFreeform" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { KeyboardDeviceEvent } from 'cross/editor/device/keyboard/KeyboardDeviceEvent'; import { KeyboardDeviceService } from 'cross/editor/device/keyboard/KeyboardDeviceService'; import { MouseDeviceEvent } from 'cross/editor/device/mouse/MouseDeviceEvent'; import { MouseDeviceService } from 'cross/editor/device/mouse/MouseDeviceService'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { V2dGraphicContainer } from 'foundation/editor/view/view2d/render/V2dGraphicContainer'; import { V2dGraphicDrawing } from 'foundation/editor/view/view2d/render/V2dGraphicDrawing'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { Display } from 'foundation/editor/view/base/Display'; import { DisplayContext } from 'foundation/editor/view/base/DisplayContext'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; import { C2dCanvasController } from 'sk/editor/logic/view/canvas2d/C2dCanvasController'; import { C2dLayer } from 'sk/editor/logic/view/canvas2d/C2dLayer'; import { C2dLayers } from 'sk/editor/logic/view/canvas2d/C2dLayers'; import { DesignatedPositionAction } from "sk/frame/plugin/editor/resource/curve/action/dummy/DesignatedPositionAction"; export class DesignatedPositionFreeform extends Display { context: C2dCanvasContext; protected _mouseService: MouseDeviceService; protected _keyboardService: KeyboardDeviceService; canvasContext: C2dCanvasContext; layer: C2dLayer; node: V2dGraphicContainer; protected graphics: V2dGraphicDrawing; protected _actionService: ActionService; protected canvascontroller: C2dCanvasController; protected layersTemp: C2dLayers; protected isCommandInputting: boolean; protected canvasScale: number; constructor(); setCommandInputting(isCommandInputting: boolean): void; createNode(): void; onDraw(context?: DisplayContext): void; action: DesignatedPositionAction; protected startPoint: Vector2; radius: number; private anchorPoint_AutoComputed; private boundaryMin_AutoComputed; private boundaryMax_AutoComputed; updateShape(): void; protected onClick(sender: ListenerContext, event: MouseDeviceEvent): void; protected onMouseMove(sender: ListenerContext, event: MouseDeviceEvent): void; createPoint(point: Vector2): void; createFreeFormPoint(point: Vector2): void; protected onKeyboardDown(sender: ListenerContext, event: KeyboardDeviceEvent): void; removeFromView(): void; dispose(): void; protected adsorbPoint(point: Vector2): Vector2; protected isOnPoint(pointClick: Vector2, pointOriginal: Vector2, distance: number): boolean; private getBoundaryAndAnchor; private nurbsCurveFindBox; } } declare module "sk/frame/plugin/editor/resource/curve/action/ellipse/EllipseActionEvent" { import { ActionEvent } from 'foundation/editor/view/action/ActionEvent'; import { EllipseCurveEntity } from 'sk/editor/family/entity/geometric/EllipseCurveEntity'; export class EllipseActionEvent extends ActionEvent { parent: any; entity: EllipseCurveEntity; visible: boolean; free(): void; } } declare module "sk/frame/plugin/editor/resource/curve/action/ellipse/EllipseAddAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { EllipseCurveEntity } from 'sk/editor/family/entity/geometric/EllipseCurveEntity'; import { EllipseActionEvent } from "sk/frame/plugin/editor/resource/curve/action/ellipse/EllipseActionEvent"; export class EllipseAddAction extends Action { entity: EllipseCurveEntity; private _chests; private _plankPoints; private _plankEdges; protected _selectionService: SelectionService; constructor(); onExecute(event: EllipseActionEvent): boolean; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/resource/curve/action/ellipse/EllipseDeleteAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { EllipseCurveEntity } from 'sk/editor/family/entity/geometric/EllipseCurveEntity'; export class EllipseDeleteAction extends Action { entity: EllipseCurveEntity; protected _selectionService: SelectionService; constructor(); } } declare module "sk/frame/plugin/editor/resource/curve/action/ellipse/EllipseDisplayAction" { import { EllipseCurve2dNode } from 'foundation/data/common/model/brep/geometric/curve2d/EllipseCurve2dNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; export class EllipseDisplayAction extends Action { data: EllipseCurve2dNode; private _content; visible: boolean; private oldData; private newData; protected _selectionService: SelectionService; constructor(); } } declare module "sk/frame/plugin/editor/resource/curve/action/ellipse/EllipseMoveAction" { import { NumberMap } from 'cross/runtime/lang/MapUtil'; import { SnapNumberHelper } from 'foundation/editor/view/snap/helper/SnapNumberHelper'; import { Action } from 'foundation/editor/view/action/Action'; import { CompositeNode } from 'sk/data/scheme/database/furniture/model/CompositeNode'; import { EllipseCurveEntity } from 'sk/editor/family/entity/geometric/EllipseCurveEntity'; export class EllipseMoveHistory { parentX: number; parentY: number; parentZ: number; parentLengthX: number; parentLengthY: number; parentLengthZ: number; x: number; y: number; z: number; lengthX: number; lengthY: number; lengthZ: number; positionXMap: NumberMap; lengthXMap: NumberMap; constructor(); } export class EllipseMoveAction extends Action { topComposite: CompositeNode; composite: CompositeNode; entity: EllipseCurveEntity; protected _changed: boolean; protected _oldContent: EllipseMoveHistory; protected _newContent: EllipseMoveHistory; protected _lengthMinX: number; protected _lengthMaxX: number; protected _lengthMinZ: number; protected _lengthMaxZ: number; protected _snap: SnapNumberHelper; } } declare module "sk/frame/plugin/editor/resource/curve/action/ellipsearc/EllipseArcActionEvent" { import { ActionEvent } from 'foundation/editor/view/action/ActionEvent'; import { EllipseCurveEntity } from 'sk/editor/family/entity/geometric/EllipseCurveEntity'; export class EllipseArcActionEvent extends ActionEvent { parent: any; entity: EllipseCurveEntity; visible: boolean; free(): void; } } declare module "sk/frame/plugin/editor/resource/curve/action/ellipsearc/EllipseArcAddAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { EllipseCurveEntity } from 'sk/editor/family/entity/geometric/EllipseCurveEntity'; import { EllipseArcActionEvent } from "sk/frame/plugin/editor/resource/curve/action/ellipsearc/EllipseArcActionEvent"; export class EllipseArcAddAction extends Action { entity: EllipseCurveEntity; private _chests; private _plankPoints; private _plankEdges; protected _selectionService: SelectionService; constructor(); onExecute(event: EllipseArcActionEvent): boolean; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/resource/curve/action/ellipsearc/EllipseArcDeleteAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { EllipseCurveEntity } from 'sk/editor/family/entity/geometric/EllipseCurveEntity'; export class EllipseArcDeleteAction extends Action { entity: EllipseCurveEntity; protected _selectionService: SelectionService; constructor(); } } declare module "sk/frame/plugin/editor/resource/curve/action/ellipsearc/EllipseArcDisplayAction" { import { EllipseArcCurve2dNode } from 'foundation/data/common/model/brep/geometric/curve2d/EllipseArcCurve2dNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; export class EllipseArcDisplayAction extends Action { data: EllipseArcCurve2dNode; private _content; visible: boolean; private oldData; private newData; protected _selectionService: SelectionService; constructor(); } } declare module "sk/frame/plugin/editor/resource/curve/action/ellipsearc/EllipseArcMoveAction" { import { NumberMap } from 'cross/runtime/lang/MapUtil'; import { SnapNumberHelper } from 'foundation/editor/view/snap/helper/SnapNumberHelper'; import { Action } from 'foundation/editor/view/action/Action'; import { CompositeNode } from 'sk/data/scheme/database/furniture/model/CompositeNode'; import { EllipseArcCurveEntity } from 'sk/editor/family/entity/geometric/EllipseArcCurveEntity'; export class EllipseArcMoveHistory { parentX: number; parentY: number; parentZ: number; parentLengthX: number; parentLengthY: number; parentLengthZ: number; x: number; y: number; z: number; lengthX: number; lengthY: number; lengthZ: number; positionXMap: NumberMap; lengthXMap: NumberMap; constructor(); } export class EllipseArcMoveAction extends Action { topComposite: CompositeNode; composite: CompositeNode; entity: EllipseArcCurveEntity; protected _changed: boolean; protected _oldContent: EllipseArcMoveHistory; protected _newContent: EllipseArcMoveHistory; protected _lengthMinX: number; protected _lengthMaxX: number; protected _lengthMinZ: number; protected _lengthMaxZ: number; protected _snap: SnapNumberHelper; } } declare module "sk/frame/plugin/editor/resource/curve/action/line/LineActionEvent" { import { ActionEvent } from 'foundation/editor/view/action/ActionEvent'; import { LineCurve2dEntity } from 'sk/editor/family/entity/geometric/LineCurve2dEntity'; export class LineTypeEnum { static TopLine: number; static LegLine: number; static LampLine: number; } export class LineActionEvent extends ActionEvent { parent: any; entity: LineCurve2dEntity; visible: boolean; isClose: boolean; type: LineTypeEnum; height: number; width: number; roundType: boolean; triangleType: boolean; free(): void; } } declare module "sk/frame/plugin/editor/resource/curve/action/line/LineAddAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { LineCurve2dEntity } from 'sk/editor/family/entity/geometric/LineCurve2dEntity'; import { LineActionEvent } from "sk/frame/plugin/editor/resource/curve/action/line/LineActionEvent"; export class LineAddAction extends Action { entity: LineCurve2dEntity; private _chests; private _plankPoints; private _plankEdges; protected _selectionService: SelectionService; constructor(); onExecute(event: LineActionEvent): boolean; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/resource/curve/action/line/LineDeleteAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { LineCurve2dEntity } from 'sk/editor/family/entity/geometric/LineCurve2dEntity'; export class LineDeleteAction extends Action { entity: LineCurve2dEntity; protected _selectionService: SelectionService; constructor(); } } declare module "sk/frame/plugin/editor/resource/curve/action/line/LineDisplayAction" { import { LineCurve2dNode } from 'foundation/data/common/model/brep/geometric/curve2d/LineCurve2dNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; export class LineDisplayAction extends Action { data: LineCurve2dNode; private _content; visible: boolean; private oldData; private newData; protected _selectionService: SelectionService; constructor(); } } declare module "sk/frame/plugin/editor/resource/curve/action/line/LineMoveAction" { import { NumberMap } from 'cross/runtime/lang/MapUtil'; import { SnapNumberHelper } from 'foundation/editor/view/snap/helper/SnapNumberHelper'; import { Action } from 'foundation/editor/view/action/Action'; import { CompositeNode } from 'sk/data/scheme/database/furniture/model/CompositeNode'; import { LineCurve2dEntity } from 'sk/editor/family/entity/geometric/LineCurve2dEntity'; export class LineMoveHistory { parentX: number; parentY: number; parentZ: number; parentLengthX: number; parentLengthY: number; parentLengthZ: number; x: number; y: number; z: number; lengthX: number; lengthY: number; lengthZ: number; positionXMap: NumberMap; lengthXMap: NumberMap; constructor(); } export class LineMoveAction extends Action { topComposite: CompositeNode; composite: CompositeNode; entity: LineCurve2dEntity; protected _changed: boolean; protected _oldContent: LineMoveHistory; protected _newContent: LineMoveHistory; protected _lengthMinX: number; protected _lengthMaxX: number; protected _lengthMinZ: number; protected _lengthMaxZ: number; protected _snap: SnapNumberHelper; } } declare module "sk/frame/plugin/editor/resource/curve/entity/NurbsEntity" { import { NurbsCurve2dNode } from 'foundation/data/common/model/brep/geometric/curve2d/NurbsCurve2dNode'; export class NurbsEntity extends NurbsCurve2dNode { } } declare module "sk/frame/plugin/editor/resource/curve/action/nurbs/NurbsActionEvent" { import { ActionEvent } from 'foundation/editor/view/action/ActionEvent'; import { NurbsEntity } from "sk/frame/plugin/editor/resource/curve/entity/NurbsEntity"; export class NurbsActionEvent extends ActionEvent { parent: any; entity: NurbsEntity; visible: boolean; free(): void; } } declare module "sk/frame/plugin/editor/resource/curve/action/nurbs/NurbsAddAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { NurbsEntity } from "sk/frame/plugin/editor/resource/curve/entity/NurbsEntity"; import { NurbsActionEvent } from "sk/frame/plugin/editor/resource/curve/action/nurbs/NurbsActionEvent"; export class NurbsAddAction extends Action { entity: NurbsEntity; private _chests; private _plankPoints; private _plankEdges; protected _selectionService: SelectionService; constructor(); onExecute(event: NurbsActionEvent): boolean; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/resource/curve/action/nurbs/NurbsDeleteAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { NurbsEntity } from "sk/frame/plugin/editor/resource/curve/entity/NurbsEntity"; export class NurbsDeleteAction extends Action { entity: NurbsEntity; protected _selectionService: SelectionService; constructor(); } } declare module "sk/frame/plugin/editor/resource/curve/action/nurbs/NurbsDisplayAction" { import { NurbsCurve2dNode } from 'foundation/data/common/model/brep/geometric/curve2d/NurbsCurve2dNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; export class NurbsDisplayAction extends Action { data: NurbsCurve2dNode; private _content; visible: boolean; private oldData; private newData; protected _selectionService: SelectionService; constructor(); } } declare module "sk/frame/plugin/editor/resource/curve/action/nurbs/NurbsMoveAction" { import { NumberMap } from 'cross/runtime/lang/MapUtil'; import { SnapNumberHelper } from 'foundation/editor/view/snap/helper/SnapNumberHelper'; import { Action } from 'foundation/editor/view/action/Action'; import { CompositeNode } from 'sk/data/scheme/database/furniture/model/CompositeNode'; import { NurbsEntity } from "sk/frame/plugin/editor/resource/curve/entity/NurbsEntity"; export class NurbsMoveHistory { parentX: number; parentY: number; parentZ: number; parentLengthX: number; parentLengthY: number; parentLengthZ: number; x: number; y: number; z: number; lengthX: number; lengthY: number; lengthZ: number; positionXMap: NumberMap; lengthXMap: NumberMap; constructor(); } export class NurbsMoveAction extends Action { topComposite: CompositeNode; composite: CompositeNode; entity: NurbsEntity; protected _changed: boolean; protected _oldContent: NurbsMoveHistory; protected _newContent: NurbsMoveHistory; protected _lengthMinX: number; protected _lengthMaxX: number; protected _lengthMinZ: number; protected _lengthMaxZ: number; protected _snap: SnapNumberHelper; } } declare module "sk/frame/plugin/editor/resource/curve/entity/PathEntity" { import { PathCurve2dNode } from 'foundation/data/common/model/brep/geometric/curve2d/PathCurve2dNode'; export class PathEntity extends PathCurve2dNode { } } declare module "sk/frame/plugin/editor/resource/curve/action/path/PathActionEvent" { import { ActionEvent } from 'foundation/editor/view/action/ActionEvent'; import { PathEntity } from "sk/frame/plugin/editor/resource/curve/entity/PathEntity"; export class PathActionEvent extends ActionEvent { parent: any; entity: PathEntity; visible: boolean; free(): void; } } declare module "sk/frame/plugin/editor/resource/curve/action/path/PathAddAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { PathEntity } from "sk/frame/plugin/editor/resource/curve/entity/PathEntity"; import { PathActionEvent } from "sk/frame/plugin/editor/resource/curve/action/path/PathActionEvent"; export class PathAddAction extends Action { entity: PathEntity; private _chests; private _plankPoints; private _plankEdges; protected _selectionService: SelectionService; constructor(); onExecute(event: PathActionEvent): boolean; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/resource/curve/action/path/PathDeleteAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { PathEntity } from "sk/frame/plugin/editor/resource/curve/entity/PathEntity"; export class PathDeleteAction extends Action { entity: PathEntity; protected _selectionService: SelectionService; constructor(); } } declare module "sk/frame/plugin/editor/resource/curve/action/path/PathDisplayAction" { import { PathCurve2dNode } from 'foundation/data/common/model/brep/geometric/curve2d/PathCurve2dNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; export class PathDisplayAction extends Action { data: PathCurve2dNode; private _content; visible: boolean; private oldData; private newData; protected _selectionService: SelectionService; constructor(); } } declare module "sk/frame/plugin/editor/resource/curve/action/path/PathMoveAction" { import { NumberMap } from 'cross/runtime/lang/MapUtil'; import { SnapNumberHelper } from 'foundation/editor/view/snap/helper/SnapNumberHelper'; import { Action } from 'foundation/editor/view/action/Action'; import { CompositeNode } from 'sk/data/scheme/database/furniture/model/CompositeNode'; import { PathEntity } from "sk/frame/plugin/editor/resource/curve/entity/PathEntity"; export class PathMoveHistory { parentX: number; parentY: number; parentZ: number; parentLengthX: number; parentLengthY: number; parentLengthZ: number; x: number; y: number; z: number; lengthX: number; lengthY: number; lengthZ: number; positionXMap: NumberMap; lengthXMap: NumberMap; constructor(); } export class PathMoveAction extends Action { topComposite: CompositeNode; composite: CompositeNode; entity: PathEntity; protected _changed: boolean; protected _oldContent: PathMoveHistory; protected _newContent: PathMoveHistory; protected _lengthMinX: number; protected _lengthMaxX: number; protected _lengthMinZ: number; protected _lengthMaxZ: number; protected _snap: SnapNumberHelper; } } declare module "sk/frame/plugin/editor/resource/curve/action/point/PointActionEvent" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { ActionEvent } from 'foundation/editor/view/action/ActionEvent'; import { PointEntity } from 'sk/editor/family/entity/geometric/PointEntity'; export class PointActionEvent extends ActionEvent { parent: any; entity: PointEntity; visible: boolean; isEnd: boolean; offset: Vector3; constructor(); free(): void; } } declare module "sk/frame/plugin/editor/resource/curve/action/point/PointAddAction" { import { HoverService } from 'foundation/editor/base/selection/HoverService'; import { Action } from 'foundation/editor/view/action/Action'; export class PointAddAction extends Action { protected _hoverService: HoverService; constructor(); } } declare module "sk/frame/plugin/editor/resource/curve/action/point/PointDeleteAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { PointEntity } from 'sk/editor/family/entity/geometric/PointEntity'; export class PointDeleteAction extends Action { entity: PointEntity; protected _selectionService: SelectionService; constructor(); } } declare module "sk/frame/plugin/editor/resource/curve/action/point/PointDisplayAction" { import { HoverService } from 'foundation/editor/base/selection/HoverService'; import { Action } from 'foundation/editor/view/action/Action'; export class PointDisplayAction extends Action { protected _hoverService: HoverService; constructor(); } } declare module "sk/frame/plugin/editor/resource/curve/action/point/PointMoveAction" { import { NumberMap } from 'cross/runtime/lang/MapUtil'; import { SnapNumberHelper } from 'foundation/editor/view/snap/helper/SnapNumberHelper'; import { Action } from 'foundation/editor/view/action/Action'; import { CompositeNode } from 'sk/data/scheme/database/furniture/model/CompositeNode'; import { PointEntity } from 'sk/editor/family/entity/geometric/PointEntity'; export class PointMoveHistory { parentX: number; parentY: number; parentZ: number; parentLengthX: number; parentLengthY: number; parentLengthZ: number; x: number; y: number; z: number; lengthX: number; lengthY: number; lengthZ: number; positionXMap: NumberMap; lengthXMap: NumberMap; constructor(); } export class PointMoveAction extends Action { topComposite: CompositeNode; composite: CompositeNode; entity: PointEntity; protected _changed: boolean; protected _oldContent: PointMoveHistory; protected _newContent: PointMoveHistory; protected _lengthMinX: number; protected _lengthMaxX: number; protected _lengthMinZ: number; protected _lengthMaxZ: number; protected _snap: SnapNumberHelper; constructor(); } } declare module "sk/frame/plugin/editor/resource/curve/action/polygon/PolygonActionEvent" { import { ActionEvent } from 'foundation/editor/view/action/ActionEvent'; import { PolygonCurve2dEntity } from 'sk/editor/family/entity/geometric/PolygonCurve2dEntity'; export class PolygonActionEvent extends ActionEvent { parent: any; entity: PolygonCurve2dEntity; visible: boolean; free(): void; } } declare module "sk/frame/plugin/editor/resource/curve/action/polygon/PolygonAddAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { PolygonCurve2dEntity } from 'sk/editor/family/entity/geometric/PolygonCurve2dEntity'; import { PolygonActionEvent } from "sk/frame/plugin/editor/resource/curve/action/polygon/PolygonActionEvent"; export class PolygonAddAction extends Action { entity: PolygonCurve2dEntity; private _chests; private _plankPoints; private _plankEdges; protected _selectionService: SelectionService; constructor(); onExecute(event: PolygonActionEvent): boolean; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/resource/curve/action/polygon/PolygonDeleteAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { PolygonCurve2dEntity } from 'sk/editor/family/entity/geometric/PolygonCurve2dEntity'; export class PolygonDeleteAction extends Action { entity: PolygonCurve2dEntity; protected _selectionService: SelectionService; constructor(); } } declare module "sk/frame/plugin/editor/resource/curve/action/polygon/PolygonDisplayAction" { import { PolygonCurve2dNode } from 'foundation/data/common/model/brep/geometric/curve2d/PolygonCurve2dNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; export class PolygonDisplayAction extends Action { data: PolygonCurve2dNode; private _content; visible: boolean; private oldData; private newData; protected _selectionService: SelectionService; constructor(); } } declare module "sk/frame/plugin/editor/resource/curve/action/polygon/PolygonMoveAction" { import { NumberMap } from 'cross/runtime/lang/MapUtil'; import { SnapNumberHelper } from 'foundation/editor/view/snap/helper/SnapNumberHelper'; import { Action } from 'foundation/editor/view/action/Action'; import { CompositeNode } from 'sk/data/scheme/database/furniture/model/CompositeNode'; import { PolygonCurve2dEntity } from 'sk/editor/family/entity/geometric/PolygonCurve2dEntity'; export class PolygonMoveHistory { parentX: number; parentY: number; parentZ: number; parentLengthX: number; parentLengthY: number; parentLengthZ: number; x: number; y: number; z: number; lengthX: number; lengthY: number; lengthZ: number; positionXMap: NumberMap; lengthXMap: NumberMap; constructor(); } export class PolygonMoveAction extends Action { topComposite: CompositeNode; composite: CompositeNode; entity: PolygonCurve2dEntity; protected _changed: boolean; protected _oldContent: PolygonMoveHistory; protected _newContent: PolygonMoveHistory; protected _lengthMinX: number; protected _lengthMaxX: number; protected _lengthMinZ: number; protected _lengthMaxZ: number; protected _snap: SnapNumberHelper; } } declare module "sk/frame/plugin/editor/resource/curve/frame/CurveConstants" { export class CurveConstants { static ModuleName: string; static DocumentName: string; static CanvasName: string; static SceneName: string; static SCENE_SIZE: number; static GRID_SPACING: number; static GRID_MAJOR_LINE_SPACE: number; static AERIALVIEW_CAMERA_X: number; static AERIALVIEW_CAMERA_Y: number; static AERIALVIEW_CAMERA_Z: number; static AERIALVIEW_CAMERA_TARGET_X: number; static AERIALVIEW_CAMERA_TARGET_Y: number; static AERIALVIEW_CAMERA_TARGET_Z: number; static AERIALVIEW_CAMERA_FOV: number; static AERIALVIEW_CAMERA_PITCH: number; static AERIALVIEW_CAMERA_HORIZONTAL_FOV_MIN: number; static AERIALVIEW_CAMERA_HORIZONTAL_FOV_MAX: number; static AERIALVIEW_CAMERA_MIN_DISTANCE: number; static AERIALVIEW_CAMERA_MAX_DISTANCE: number; static FIRSTPERSON_CAMERA_HEIGHT: number; static FIRSTPERSON_CAMERA_TARGET_X: number; static FIRSTPERSON_CAMERA_TARGET_Y: number; static FIRSTPERSON_CAMERA_TARGET_Z: number; static FIRSTPERSON_CAMERA_FOV: number; static FIRSTPERSON_CAMERA_PITCH: number; static FIRSTPERSON_CAMERA_HORIZONTAL_FOV_MIN: number; static FIRSTPERSON_CAMERA_HORIZONTAL_FOV_MAX: number; static CANVAS_WIDTH: number; static CANVAS_HEIGHT: number; } } declare module "sk/frame/plugin/editor/resource/curve/entity/GridEntity" { import { GridNode } from 'sk/data/family/model/assistant/GridNode'; export class GridEntity extends GridNode { lineSpace: number; lineMajorSpace: number; constructor(); } } declare module "sk/frame/plugin/editor/resource/curve/entity/CurveEditOptions" { import { EditOptions } from 'foundation/editor/view/entity/EditOptions'; export class CurveEditOptions extends EditOptions { rotationX: number; rotationY: number; rotationZ: number; reset(): void; } } declare module "sk/frame/plugin/editor/resource/curve/entity/ObserverViewEntity" { import { ObserverViewNode } from 'foundation/data/common/model/brep/observer/ObserverViewNode'; export class ObserverViewEntity extends ObserverViewNode { constructor(); reset(): void; } } declare module "sk/frame/plugin/editor/resource/curve/entity/CurveBlueprintEntity" { import { CurveBlueprintNode } from 'sk/data/resource/curve/model/CurveBlueprintNode'; import { GridEntity } from "sk/frame/plugin/editor/resource/curve/entity/GridEntity"; import { CurveEditOptions } from "sk/frame/plugin/editor/resource/curve/entity/CurveEditOptions"; import { ObserverViewEntity } from "sk/frame/plugin/editor/resource/curve/entity/ObserverViewEntity"; export class CurveBlueprintEntity extends CurveBlueprintNode { editOptions: CurveEditOptions; activeObserver: ObserverViewEntity; grid: GridEntity; constructor(); loadReset(): void; reset(): void; } } declare module "sk/frame/plugin/editor/resource/curve/entity/CurveEditorDocument" { import { PersistentFactory } from 'cross/runtime/module/persistent/PersistentFactory'; import { StorageDeviceService } from 'cross/core/device/storage/StorageDeviceService'; import { LogicResult } from 'foundation/data/common/logic/LogicResult'; import { AssetVersionType } from 'foundation/data/common/resource/AssetUtil'; import { CurveDocument } from 'sk/data/resource/curve/model/CurveDocument'; import { CurveBlueprintEntity } from "sk/frame/plugin/editor/resource/curve/entity/CurveBlueprintEntity"; export class CurveEditorDocument extends CurveDocument { protected static _factory: PersistentFactory; protected _storageService: StorageDeviceService; static get Factory(): PersistentFactory; blueprint: CurveBlueprintEntity; constructor(); get factory(): PersistentFactory; setup(): void; makeStorageCode(): string; loadByUrlAsync(url: string): Promise; loadByIdAsync(id: string, version?: AssetVersionType): Promise; saveLocal(): any; } } declare module "sk/frame/plugin/editor/resource/curve/entity/CurveConfigLoader" { import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { LoaderEvent } from 'cross/core/module/loader/LoaderEvent'; import { CurveBlueprintEntity } from "sk/frame/plugin/editor/resource/curve/entity/CurveBlueprintEntity"; import { CurveEditorDocument } from "sk/frame/plugin/editor/resource/curve/entity/CurveEditorDocument"; import { CurveEntity } from "sk/frame/plugin/editor/resource/curve/entity/CurveEntity"; export class CurveConfigLoader extends InstanceObject { url: string; document: CurveEditorDocument; blueprint: CurveBlueprintEntity; model: CurveEntity; constructor(); private findTemplate; protected onLoadCurveFailure(sender: ListenerContext, event: LoaderEvent): void; onLoadCompleteAsync(content: any): Promise; loadUrlAsync(url: string): Promise; } } declare module "sk/frame/plugin/editor/resource/curve/entity/CurveViewEnum" { export class CurveViewEnum { static View: string; static ViewMain: string; static ViewSlave: string; } } declare module "sk/frame/plugin/editor/resource/curve/entity/EllipseArcEntity" { import { EllipseArcCurve2dNode } from 'foundation/data/common/model/brep/geometric/curve2d/EllipseArcCurve2dNode'; export class EllipseArcEntity extends EllipseArcCurve2dNode { } } declare module "sk/frame/plugin/editor/resource/curve/entity/EllipseEntity" { import { EllipseCurve2dNode } from 'foundation/data/common/model/brep/geometric/curve2d/EllipseCurve2dNode'; export class EllipseEntity extends EllipseCurve2dNode { } } declare module "sk/frame/plugin/editor/resource/curve/entity/SpatialEntity" { import { SpatialNode } from 'foundation/data/common/model/brep/SpatialNode'; export class SpatialEntity extends SpatialNode { } } declare module "sk/frame/plugin/editor/resource/curve/ui/CurvePropForm" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { Element } from 'sk/data/family/element/base/Element'; import { FamilyDocument } from 'sk/data/family/library/FamilyDocument'; export class CurvePropForm extends UiContainer { document: FamilyDocument; element: Element; componentStatusChange(state: any, props: any): void; onValueChanged: (key: string, value: any) => void; makeInfoPanel(): JSX.Element; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/curve/ui/CurveTree" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { CurveEditorDocument } from "sk/frame/plugin/editor/resource/curve/entity/CurveEditorDocument"; export class CurveTree extends UiContainer { document: CurveEditorDocument; selectElementCallback: any; state: { popNode: any; selectedElementKeys: any[]; }; componentStatusChange(state: any, props: any): void; onSelectElement: (selectedKeys: string[], e: any) => void; private closeContextMenu; onRightClick: ({ event, node }: { event: any; node: any; }) => void; private deleteElement; handlePopoverVisibleChange: (visible: any) => void; private makePopTitle; loopNodes: (data: any) => any[]; makeTree(document: any, nodeName: string): JSX.Element; makeNodeTree(): JSX.Element; makeDisplayTree(): any[]; onTabChange: () => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/curve/frame/CurveEditorModule" { import { ModuleContext } from 'cross/runtime/framework/module/ModuleContext'; import { ObserverModeEnum } from 'foundation/data/common/model/brep/ObserverModeEnum'; import { ObserverTypeEnum } from 'foundation/data/common/model/brep/ObserverTypeEnum'; import { CanvasService } from 'foundation/editor/view/base/CanvasService'; import { V3dCanvas } from 'foundation/editor/view/view3d/V3dCanvas'; import { FrameEditorModule } from 'sk/editor/view/frame/FrameEditorModule'; import { CurveEditorDocument } from "sk/frame/plugin/editor/resource/curve/entity/CurveEditorDocument"; export class CurveEditorModule extends FrameEditorModule { canvas: V3dCanvas; protected _canvasService: CanvasService; constructor(); get document(): CurveEditorDocument; onStartup(context: ModuleContext): void; bindCanvasAsync(panelId: string, json?: any): Promise; releaseCanvas(panelId: string): void; changeCameraView(canvasId: string, modeCd: ObserverModeEnum, typeCd: ObserverTypeEnum): void; selectViewCamera(viewCd: string, right?: boolean): void; static get instance(): CurveEditorModule; static get document(): CurveEditorDocument; } } declare module "sk/frame/plugin/editor/resource/curve/frame/CurveEditorFrame" { import { ObserverModeEnum } from 'foundation/data/common/model/brep/ObserverModeEnum'; import { ObserverTypeEnum } from 'foundation/data/common/model/brep/ObserverTypeEnum'; import { FrameEditorFrame, FrameEditorFrameProps, FrameEditorFrameState } from 'sk/editor/view/frame/FrameEditorFrame'; import { CurveEditorDocument } from "sk/frame/plugin/editor/resource/curve/entity/CurveEditorDocument"; export interface CurveEditorFrameProps extends FrameEditorFrameProps { } export interface CurveEditorFrameState extends FrameEditorFrameState { selectedNode?: null; blueprintIsOpened?: false; } export class CurveEditorFrame extends FrameEditorFrame { static pageName: string; document: CurveEditorDocument; constructor(props?: any, context?: any); onSelectNode: (selectedNode: any) => void; loadDocumentAsync(): Promise; onCanvasViewChange: (id: string, modeCd: ObserverModeEnum, typeCd: ObserverTypeEnum) => () => void; makeCanvas(style: any): JSX.Element; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/curve/frame/CurveFrameService" { import { Service } from 'cross/runtime/module/Service'; export type MenuDescribe = { name: string; router: string; icon: string; key: string; linkPage: string; children: Array; }; export type PluginDescribe = { name: string; menu: string; page: string; dataPanel: string; dataProperty: string; }; export class CurveFrameService extends Service { plugins: any; menus: Array; pages: any; dataPanels: any; dataProperties: any; constructor(); registerPlugin(name: string, plugin: PluginDescribe): void; registerMenu(name: string, menu: MenuDescribe): void; getChildMenu(menu: MenuDescribe, key: string): MenuDescribe; getMenu(key: string): MenuDescribe; registerChildMenu(menuName: string, name: string, menu: MenuDescribe): void; registerPage(name: string, page: Function): void; getPage(name: string): any; registerDataPanel(name: string, desc: any): void; getDataPanel(name: string): any; registerDataProperty(name: string, property: Function): void; getDataProperty(name: string): any; } } declare module "sk/frame/plugin/editor/resource/curve/frame/CurveSettings" { import { EditorSettings } from 'cross/editor/framework/setting/EditorSettings'; import { DocumentEnum } from 'foundation/data/common/model/DocumentEnum'; export class CurveSettings extends EditorSettings { documentCd: DocumentEnum; documentGuid: string; documentVersion: string; brandGuid: string; } } declare module "sk/frame/plugin/editor/resource/curve/ui/CurveToolBar" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class CurveToolBar extends UiContainer { state: { document: any; }; private onCreatePoint; private onCreateLine; private onCreateRect; private onCreateCircle; private onCreateCube; private onCreateSphere; private makeAddInnerBtn; private makeButtons; private buttonConfig; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/curve/ui/ViewCameraEnum" { export class ViewCameraEnum { static FlatCanvas: string; static AerialView: string; static FirstPerson: string; static NormalRender: string; static BirdRender: string; static PanoRender: string; static Orthogonal: string; } } declare module "sk/frame/plugin/editor/resource/effect/action/content/ContentDisplayAction" { import { ContentNode } from 'foundation/data/common/model/brep/ContentNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { Action } from 'foundation/editor/view/action/Action'; export class ContentDisplayAction extends Action { chest: ContentNode; content: ContentNode; visible: boolean; private _savedData; private _restoreData; protected _selectionService: SelectionService; constructor(); protected switchVisible(visible: boolean): void; onExecute(event?: ContentActionEvent): void; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/resource/effect/action/content/ContentRotateAction" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { ContentNode } from 'foundation/data/common/model/brep/ContentNode'; import { Action } from 'foundation/editor/view/action/Action'; export class ContentRotateAction extends Action { entity: ContentNode; rotation: Vector3; originalAngle: any; lastTargetingAngle: any; lastContentAngle: any; constructor(a?: any); onExecute(): void; onReceive(key: string, attributes: any): boolean; } } declare module "sk/frame/plugin/editor/resource/effect/entity/EffectEditOptions" { import { EditOptions } from 'foundation/editor/view/entity/EditOptions'; export class EffectEditOptions extends EditOptions { rotationX: number; rotationY: number; rotationZ: number; reset(): void; } } declare module "sk/frame/plugin/editor/resource/effect/entity/EffectBlueprintEntity" { import { ObserverViewEntity } from 'foundation/editor/view/entity/ObserverViewEntity'; import { EffectBlueprintNode } from 'sk/data/resource/effect/model/EffectBlueprintNode'; import { EffectEditOptions } from "sk/frame/plugin/editor/resource/effect/entity/EffectEditOptions"; export class EffectBlueprintEntity extends EffectBlueprintNode { activeObserver: ObserverViewEntity; editOptions: EffectEditOptions; constructor(); loadReset(): void; reset(): void; } } declare module "sk/frame/plugin/editor/resource/effect/entity/EffectEntity" { import { EffectNode } from 'sk/data/resource/effect/model/EffectNode'; export class EffectEntity extends EffectNode { } } declare module "sk/frame/plugin/editor/resource/effect/entity/EffectMaterialEntity" { import { EffectMaterialNode } from 'sk/data/resource/effect/model/EffectMaterialNode'; export class EffectMaterialEntity extends EffectMaterialNode { } } declare module "sk/frame/plugin/editor/resource/effect/entity/EffectShapeEntity" { import { EffectShapeNode } from 'sk/data/resource/effect/model/EffectShapeNode'; export class EffectShapeEntity extends EffectShapeNode { } } declare module "sk/frame/plugin/editor/resource/effect/display/W3dEffect" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { DataNodeFlagEvent } from 'foundation/data/common/model/base/DataNodeFlagEvent'; import { SelectionEvent } from 'foundation/editor/base/selection/SelectionEvent'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { V3dGraphicContainer } from 'foundation/editor/view/view3d/render/graphic/V3dGraphicContainer'; import { V3dGraphicMeshMap } from 'foundation/editor/view/view3d/render/graphic/V3dGraphicMesh'; import { MaterialTypeEnum } from 'sk/data/resource/enumeration/MaterialTypeEnum'; import { C3dContent } from 'sk/editor/logic/view/webgl3d/C3dContent'; import { EffectBlueprintEntity } from "sk/frame/plugin/editor/resource/effect/entity/EffectBlueprintEntity"; import { EffectEntity } from "sk/frame/plugin/editor/resource/effect/entity/EffectEntity"; import { EffectMaterialEntity } from "sk/frame/plugin/editor/resource/effect/entity/EffectMaterialEntity"; export class W3dEffect extends C3dContent { blueprint: EffectBlueprintEntity; entity: EffectEntity; protected _effectMaterial: EffectMaterialEntity; protected _nodeMeshs: V3dGraphicMeshMap; protected _lastMaterialTypeCd: MaterialTypeEnum; protected _selectionService: SelectionService; constructor(); private createMeshNode; setup(): void; protected onEffectTypeChange(sender: ListenerContext, event: SelectionEvent): void; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; protected onMaterialDirty(sender: ListenerContext, event: DataNodeFlagEvent): void; createNode(): V3dGraphicContainer; protected loadModelAsync(): Promise; protected updateShape(): void; protected updateStyle(): void; loadMaterialAsync(): Promise; dispose(): void; } } declare module "sk/frame/plugin/editor/resource/effect/entity/EffectEditorDocument" { import { PersistentFactory } from 'cross/runtime/module/persistent/PersistentFactory'; import { EffectDocument } from 'sk/data/resource/effect/model/EffectDocument'; import { TemplateLogicService } from 'sk/data/resource/model/service/TemplateLogicService'; import { ResourceUpdateEffectResponse } from 'sk/data/logic/resource/message/ResourceUpdateEffectResponse'; import { EffectBlueprintEntity } from "sk/frame/plugin/editor/resource/effect/entity/EffectBlueprintEntity"; export class EffectEditorDocument extends EffectDocument { protected static _factory: PersistentFactory; static get Factory(): PersistentFactory; blueprint: EffectBlueprintEntity; baseUrl: string; protected _templateService: TemplateLogicService; get factory(): PersistentFactory; setup(): void; loadMaterialConfig(): void; saveAsync(): Promise; static createEmptyDocument(): EffectEditorDocument; static createDefaultDocument(): EffectEditorDocument; } } declare module "sk/frame/plugin/editor/resource/effect/entity/EffectConfigLoader" { import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { LoaderEvent } from 'cross/core/module/loader/LoaderEvent'; import { EffectBlueprintEntity } from "sk/frame/plugin/editor/resource/effect/entity/EffectBlueprintEntity"; import { EffectEditorDocument } from "sk/frame/plugin/editor/resource/effect/entity/EffectEditorDocument"; import { EffectMaterialEntity } from "sk/frame/plugin/editor/resource/effect/entity/EffectMaterialEntity"; export class EffectConfigLoader extends InstanceObject { url: string; document: EffectEditorDocument; blueprint: EffectBlueprintEntity; model: EffectMaterialEntity; constructor(); private findTemplate; protected onLoadModelComplete(sender: ListenerContext, event: LoaderEvent): void; protected onLoadModelFailure(sender: ListenerContext, event: LoaderEvent): void; onLoadCompleteAsync(content: any): Promise; onLoadFaliure(sender: ListenerContext, event: LoaderEvent): void; loadUrlAsync(url: string): Promise; } } declare module "sk/frame/plugin/editor/resource/effect/frame/EffectConstants" { export class EffectConstants { static ModuleName: string; static DocumentName: string; static CanvasName: string; static SceneName: string; static SCENE_SIZE: number; static GRID_SPACING: number; static GRID_MAJOR_LINE_SPACE: number; static AERIALVIEW_CAMERA_X: number; static AERIALVIEW_CAMERA_Y: number; static AERIALVIEW_CAMERA_Z: number; static AERIALVIEW_CAMERA_TARGET_X: number; static AERIALVIEW_CAMERA_TARGET_Y: number; static AERIALVIEW_CAMERA_TARGET_Z: number; static AERIALVIEW_CAMERA_FOV: number; static AERIALVIEW_CAMERA_PITCH: number; static AERIALVIEW_CAMERA_HORIZONTAL_FOV_MIN: number; static AERIALVIEW_CAMERA_HORIZONTAL_FOV_MAX: number; static AERIALVIEW_CAMERA_MIN_DISTANCE: number; static AERIALVIEW_CAMERA_MAX_DISTANCE: number; static FIRSTPERSON_CAMERA_HEIGHT: number; static FIRSTPERSON_CAMERA_TARGET_X: number; static FIRSTPERSON_CAMERA_TARGET_Y: number; static FIRSTPERSON_CAMERA_TARGET_Z: number; static FIRSTPERSON_CAMERA_FOV: number; static FIRSTPERSON_CAMERA_PITCH: number; static FIRSTPERSON_CAMERA_HORIZONTAL_FOV_MIN: number; static FIRSTPERSON_CAMERA_HORIZONTAL_FOV_MAX: number; static CANVAS_WIDTH: number; static CANVAS_HEIGHT: number; } } declare module "sk/frame/plugin/editor/resource/ui/ResourceEditorTree" { import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { BrepElement } from 'sk/data/family/element/brep/BrepElement'; import { FamilyDocument } from 'sk/data/family/library/FamilyDocument'; export class ResourceTreeTypeEnum { static Element: string; static Node: string; static Display: string; } export class ResourceEditorTree extends UiContainer { document: FamilyDocument; selectObjCallback: any; state: { popNode: any; selectedKeys: any[]; treeTypeCd: string; }; componentStatusChange(state: any, props: any): void; componentPropsChange(nextProps: any, nextContext: any): void; componentWillUnmount(): void; onBlueprintDirty(): void; onSelectElement: (selectedKeys: string[], e: any) => void; selectElement: (selectedKeys: string[], selectedNode: any) => void; private closeContextMenu; onRightClick: ({ event, node }: { event: any; node: any; }) => void; private deleteElement; handlePopoverVisibleChange: (visible: any) => void; private makePopTitle; loopElements: (element: BrepElement, expandedKeys: Array) => any[]; loopNodes: (data: DataNode, expandedKeys: Array) => any[]; private makeTitle; makeTree(treeTypeCd: ResourceTreeTypeEnum): JSX.Element; makeDisplayTree(): any[]; onTabChange: () => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/effect/ui/EffectPropertyTabPanel" { import { UiPropertyTabPanel } from 'sk/editor/view/ui/UiPropertyTabPanel'; export class EffectPropertyTabPanel extends UiPropertyTabPanel { render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/effect/ui/EffectToolBar" { import { StorageDeviceService } from 'cross/core/device/storage/StorageDeviceService'; import { UiDesktopService } from 'foundation/editor/ui/desktop/UiDesktopService'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { UiToolBarPanel } from 'sk/editor/view/ui/UiToolBarPanel'; import { EffectEditorDocument } from "sk/frame/plugin/editor/resource/effect/entity/EffectEditorDocument"; export class EffectToolBar extends UiToolBarPanel { document: EffectEditorDocument; private _saving; protected _uiFrameService: UiFrameService; protected _storageService: StorageDeviceService; protected _desktopService: UiDesktopService; constructor(props?: any, context?: any); protected reCompute(): void; protected onGpuModeChange: (value: any) => void; private switchShape; protected addReferenceMaterial: () => void; protected addReferencePicture: () => void; private changeQualityType; private onSelectModel; private onSelectCube; private onSelectSphere; private onSelectRing; onSave: () => Promise; } } declare module "sk/frame/plugin/editor/resource/effect/ui/EffectTree" { import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { EffectEditorDocument } from "sk/frame/plugin/editor/resource/effect/entity/EffectEditorDocument"; export class EffectTree extends UiContainer { document: EffectEditorDocument; selectElementCallback: any; state: { popNode: any; selectedKeys: any[]; }; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; componentPropsChange(nextProps: any, nextContext: any): void; onSelectElement: (selectedKeys: string[], e: any) => void; selectElement: (selectedKeys: string[], selectedNode: any) => void; private closeContextMenu; onRightClick: ({ event, node }: { event: any; node: any; }) => void; private deleteElement; handlePopoverVisibleChange: (visible: any) => void; private makePopTitle; loopNodes(data: DataNode, expandedKeys: Array): any[]; makeTree(document: any, nodeName: string): JSX.Element; private makeTitle; makeNodeTree(): JSX.Element; makeDisplayTree(): any[]; onTabChange: () => void; protected getTabsItems(key: string, label: any, children: any): any; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/effect/frame/EffectEditorModule" { import { ModuleContext } from 'cross/runtime/framework/module/ModuleContext'; import { ObserverModeEnum } from 'foundation/data/common/model/brep/ObserverModeEnum'; import { ObserverTypeEnum } from 'foundation/data/common/model/brep/ObserverTypeEnum'; import { RenderService } from 'foundation/editor/view/base/render/RenderService'; import { CanvasService } from 'foundation/editor/view/base/CanvasService'; import { V3dCanvas } from 'foundation/editor/view/view3d/V3dCanvas'; import { FrameEditorModule } from 'sk/editor/view/frame/FrameEditorModule'; import { EffectEditorDocument } from "sk/frame/plugin/editor/resource/effect/entity/EffectEditorDocument"; export class EffectEditorModule extends FrameEditorModule { canvas: V3dCanvas; protected _renderService: RenderService; protected _canvasService: CanvasService; constructor(); get document(): EffectEditorDocument; onStartup(context: ModuleContext): void; onBindCanvasAsync(json?: any): Promise; onReleaseCanvas(): void; changeCameraView(canvasId: string, modeCd: ObserverModeEnum, typeCd: ObserverTypeEnum): void; selectViewCamera(viewCd: string, right?: boolean): void; static get instance(): EffectEditorModule; static get document(): EffectEditorDocument; } } declare module "sk/frame/plugin/editor/resource/effect/frame/EffectEditorFrame" { import { FamilyDocumentService } from 'sk/data/family/service/FamilyDocumentService'; import { EffectDocumentService } from 'sk/data/resource/effect/service/EffectDocumentService'; import { MaterialQualityEnum } from 'sk/data/resource/enumeration/MaterialQualityEnum'; import { FrameEditorViewFrame, FrameEditorViewFrameProps, FrameEditorViewFrameState } from 'sk/editor/view/frame/FrameEditorViewFrame'; import { EffectEditorDocument } from "sk/frame/plugin/editor/resource/effect/entity/EffectEditorDocument"; import { EffectEditorModule } from "sk/frame/plugin/editor/resource/effect/frame/EffectEditorModule"; export interface EffectEditorFrameProps extends FrameEditorViewFrameProps { } export interface EffectEditorFrameState extends FrameEditorViewFrameState { selectObject?: any; } export class EffectEditorFrame extends FrameEditorViewFrame { static pageName: string; module: EffectEditorModule; document: EffectEditorDocument; private _tree; protected _documentService: EffectDocumentService; protected _familyDocumentService: FamilyDocumentService; constructor(props?: any, context?: any); initListenner(): void; disposeListenner(): void; loadDocumentAsync(): Promise; computeDocument(): void; refreshTree: () => void; onObjectSelect: (selectedObj: any) => void; onQualityTypeChange(qualityCd: MaterialQualityEnum): void; makeCategory(): any; makeToolBar(): any; handleResetView: () => void; makeCanvas(): any; makeProperty(): any; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/effect/frame/EffectFrameService" { import { Service } from 'cross/runtime/module/Service'; export type MenuDescribe = { name: string; router: string; icon: string; key: string; linkPage: string; children: Array; }; export type PluginDescribe = { name: string; menu: string; page: string; dataPanel: string; dataProperty: string; }; export class EffectFrameService extends Service { plugins: any; menus: Array; pages: any; dataPanels: any; dataProperties: any; constructor(); registerPlugin(name: string, plugin: PluginDescribe): void; registerMenu(name: string, menu: MenuDescribe): void; getChildMenu(menu: MenuDescribe, key: string): MenuDescribe; getMenu(key: string): MenuDescribe; registerChildMenu(menuName: string, name: string, menu: MenuDescribe): void; registerPage(name: string, page: Function): void; getPage(name: string): any; registerDataPanel(name: string, desc: any): void; getDataPanel(name: string): any; registerDataProperty(name: string, property: Function): void; getDataProperty(name: string): any; } } declare module "sk/frame/plugin/editor/resource/effect/frame/EffectSettings" { import { EditorSettings } from 'cross/editor/framework/setting/EditorSettings'; import { DocumentEnum } from 'foundation/data/common/model/DocumentEnum'; export class EffectSettings extends EditorSettings { documentCd: DocumentEnum; documentGuid: string; documentVersion: string; brandGuid: string; } } declare module "sk/frame/plugin/editor/resource/effect/ui/EffectCanvasFrame" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { FamilyDocument } from 'sk/data/family/library/FamilyDocument'; export class EffectCanvasFrame extends UiContainer { static pageName: string; document: FamilyDocument; state: { document: any; selectedElement: any; }; componentWillUnmount(): void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/effect/ui/EffectPropForm" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class EffectPropForm extends UiContainer { onValueChanged: (key: string, value: any) => void; setPBRMaterial(): void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/effect/ui/EffectPropertyPanel" { import { UiPropertyPanel } from 'sk/editor/view/ui/UiPropertyPanel'; export class EffectPropertyPanel extends UiPropertyPanel { constructor(props?: any, context?: any); onBlueprintDirty(): void; componentPropsChange(nextProps: any, nextContext: any): void; componentWillUnmount(): void; onValueChanged: (key: string, value: any) => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/graph/display/C2dAnchor" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { V2dGraphicDrawing } from 'foundation/editor/view/view2d/render/V2dGraphicDrawing'; import { Display } from 'foundation/editor/view/base/Display'; import { DisplayContext } from 'foundation/editor/view/base/DisplayContext'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; import { C2dCanvasEvent } from 'sk/editor/logic/view/canvas2d/C2dCanvasEvent'; import { C2dLayer } from 'sk/editor/logic/view/canvas2d/C2dLayer'; import { AnchorEntity } from 'sk/editor/logic/entity/AnchorEntity'; export class C2dAnchor extends Display { context: C2dCanvasContext; entity: AnchorEntity; layer: C2dLayer; protected graphics: V2dGraphicDrawing; setup(): void; createNode(): void; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; onSceneScaleChanged(sender: ListenerContext, event: C2dCanvasEvent): void; onDraw(context?: DisplayContext): void; updateShape(): void; dispose(): void; } } declare module "sk/frame/plugin/editor/resource/graph/display/C2dBlueprint" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { NodeFieldEvent } from 'cross/runtime/framework/node/NodeFieldEvent'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { V2dGraphicDrawing } from 'foundation/editor/view/view2d/render/V2dGraphicDrawing'; import { Display } from 'foundation/editor/view/base/Display'; import { DisplayContext } from 'foundation/editor/view/base/DisplayContext'; import { DrawingGraphBlueprintNode } from 'sk/data/family/drawing/model/DrawingGraphBlueprintNode'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; import { C2dCanvasEvent } from 'sk/editor/logic/view/canvas2d/C2dCanvasEvent'; import { C2dLayer } from 'sk/editor/logic/view/canvas2d/C2dLayer'; export class C2dBlueprint extends Display { context: C2dCanvasContext; entity: DrawingGraphBlueprintNode; layer: C2dLayer; protected anchorGraphics: V2dGraphicDrawing; protected boundaryGraphics: V2dGraphicDrawing; setup(): void; createNode(): void; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; onLinkNodeDirty(sender: ListenerContext, event: NodeFieldEvent): void; onSceneScaleChanged(sender: ListenerContext, event: C2dCanvasEvent): void; onDraw(context?: DisplayContext): void; updateShape(): void; drawingAnchor(): void; drawingBoundary(): void; dispose(): void; } } declare module "sk/frame/plugin/editor/resource/graph/display/C2dCircleCurve" { import { V2dGraphicDrawing } from 'foundation/editor/view/view2d/render/V2dGraphicDrawing'; import { Display } from 'foundation/editor/view/base/Display'; import { DisplayContext } from 'foundation/editor/view/base/DisplayContext'; import { CircleCurve2dEntity } from 'sk/editor/family/entity/geometric/CircleCurve2dEntity'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; import { C2dLayer } from 'sk/editor/logic/view/canvas2d/C2dLayer'; export class C2dCircleCurve extends Display { context: C2dCanvasContext; entity: CircleCurve2dEntity; layer: C2dLayer; protected graphics: V2dGraphicDrawing; setup(): void; createNode(): void; onDraw(context?: DisplayContext): void; updateShape(): void; dispose(): void; } } declare module "sk/frame/plugin/editor/resource/graph/display/C2dEllipse" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { DataNodeFlagEvent } from 'foundation/data/common/model/base/DataNodeFlagEvent'; import { V2dGraphicContainer } from 'foundation/editor/view/view2d/render/V2dGraphicContainer'; import { V2dGraphicDrawing } from 'foundation/editor/view/view2d/render/V2dGraphicDrawing'; import { Display } from 'foundation/editor/view/base/Display'; import { DisplayContext } from 'foundation/editor/view/base/DisplayContext'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; import { C2dLayer } from 'sk/editor/logic/view/canvas2d/C2dLayer'; import { EllipseEntity } from "sk/frame/plugin/editor/resource/curve/entity/EllipseEntity"; export class C2dEllipseCurve2d extends Display { context: C2dCanvasContext; entity: EllipseEntity; layer: C2dLayer; node: V2dGraphicContainer; protected graphics: V2dGraphicDrawing; setup(): void; createNode(): void; onEntityFlagChanged(sender: ListenerContext, event: DataNodeFlagEvent): void; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; onEntityDirty(sender: ListenerContext, event: DataNodeFieldEvent): void; onDraw(context?: DisplayContext): void; updateShape(): void; removeFromView(): void; dispose(): void; } } declare module "sk/frame/plugin/editor/resource/graph/display/C2dEllipseArc" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { DataNodeFlagEvent } from 'foundation/data/common/model/base/DataNodeFlagEvent'; import { V2dGraphicContainer } from 'foundation/editor/view/view2d/render/V2dGraphicContainer'; import { V2dGraphicDrawing } from 'foundation/editor/view/view2d/render/V2dGraphicDrawing'; import { Display } from 'foundation/editor/view/base/Display'; import { DisplayContext } from 'foundation/editor/view/base/DisplayContext'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; import { C2dLayer } from 'sk/editor/logic/view/canvas2d/C2dLayer'; import { EllipseArcEntity } from "sk/frame/plugin/editor/resource/curve/entity/EllipseArcEntity"; export class C2dEllipseArcCurve2d extends Display { context: C2dCanvasContext; entity: EllipseArcEntity; layer: C2dLayer; node: V2dGraphicContainer; protected graphics: V2dGraphicDrawing; setup(): void; createNode(): void; onEntityFlagChanged(sender: ListenerContext, event: DataNodeFlagEvent): void; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; onEntityDirty(sender: ListenerContext, event: DataNodeFieldEvent): void; onDraw(context?: DisplayContext): void; updateShape(): void; removeFromView(): void; dispose(): void; } } declare module "sk/frame/plugin/editor/resource/graph/display/C2dLineCurve2d" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { NodeFieldEvent } from 'cross/runtime/framework/node/NodeFieldEvent'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { V2dGraphicContainer } from 'foundation/editor/view/view2d/render/V2dGraphicContainer'; import { V2dGraphicDrawing } from 'foundation/editor/view/view2d/render/V2dGraphicDrawing'; import { Display } from 'foundation/editor/view/base/Display'; import { DisplayContext } from 'foundation/editor/view/base/DisplayContext'; import { LineCurve2dEntity } from 'sk/editor/family/entity/geometric/LineCurve2dEntity'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; import { C2dLayer } from 'sk/editor/logic/view/canvas2d/C2dLayer'; export class C2dLineCurve2d extends Display { context: C2dCanvasContext; entity: LineCurve2dEntity; layer: C2dLayer; node: V2dGraphicContainer; protected graphics: V2dGraphicDrawing; setup(): void; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; onLinkNodeDirty(sender: ListenerContext, event: NodeFieldEvent): void; createNode(): void; onDraw(context?: DisplayContext): void; updateShape(): void; removeFromView(): void; dispose(): void; } } declare module "sk/frame/plugin/editor/resource/graph/display/C2dNurbs" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { DataNodeFlagEvent } from 'foundation/data/common/model/base/DataNodeFlagEvent'; import { V2dGraphicContainer } from 'foundation/editor/view/view2d/render/V2dGraphicContainer'; import { V2dGraphicDrawing } from 'foundation/editor/view/view2d/render/V2dGraphicDrawing'; import { Display } from 'foundation/editor/view/base/Display'; import { DisplayContext } from 'foundation/editor/view/base/DisplayContext'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; import { C2dLayer } from 'sk/editor/logic/view/canvas2d/C2dLayer'; import { NurbsEntity } from "sk/frame/plugin/editor/resource/curve/entity/NurbsEntity"; export class C2dNurbsCurve2d extends Display { context: C2dCanvasContext; entity: NurbsEntity; layer: C2dLayer; node: V2dGraphicContainer; protected graphics: V2dGraphicDrawing; setup(): void; createNode(): void; onEntityFlagChanged(sender: ListenerContext, event: DataNodeFlagEvent): void; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; onEntityDirty(sender: ListenerContext, event: DataNodeFieldEvent): void; onDraw(context?: DisplayContext): void; updateShape(): void; removeFromView(): void; dispose(): void; } } declare module "sk/frame/plugin/editor/resource/graph/display/C2dPolygon" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { DataNodeFlagEvent } from 'foundation/data/common/model/base/DataNodeFlagEvent'; import { V2dGraphicContainer } from 'foundation/editor/view/view2d/render/V2dGraphicContainer'; import { V2dGraphicDrawing } from 'foundation/editor/view/view2d/render/V2dGraphicDrawing'; import { Display } from 'foundation/editor/view/base/Display'; import { DisplayContext } from 'foundation/editor/view/base/DisplayContext'; import { PolygonCurve2dEntity } from 'sk/editor/family/entity/geometric/PolygonCurve2dEntity'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; import { C2dLayer } from 'sk/editor/logic/view/canvas2d/C2dLayer'; export class C2dPolygonCurve2d extends Display { context: C2dCanvasContext; entity: PolygonCurve2dEntity; layer: C2dLayer; node: V2dGraphicContainer; protected graphics: V2dGraphicDrawing; setup(): void; createNode(): void; onEntityFlagChanged(sender: ListenerContext, event: DataNodeFlagEvent): void; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; onEntityDirty(sender: ListenerContext, event: DataNodeFieldEvent): void; onDraw(context?: DisplayContext): void; updateShape(): void; removeFromView(): void; dispose(): void; } } declare module "sk/frame/plugin/editor/resource/graph/display/C2dPolyline" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { DataNodeFlagEvent } from 'foundation/data/common/model/base/DataNodeFlagEvent'; import { V2dGraphicContainer } from 'foundation/editor/view/view2d/render/V2dGraphicContainer'; import { V2dGraphicDrawing } from 'foundation/editor/view/view2d/render/V2dGraphicDrawing'; import { Display } from 'foundation/editor/view/base/Display'; import { DisplayContext } from 'foundation/editor/view/base/DisplayContext'; import { PolylineCurve2dEntity } from 'sk/editor/family/entity/geometric/PolylineCurve2dEntity'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; import { C2dLayer } from 'sk/editor/logic/view/canvas2d/C2dLayer'; export class C2dPolylineCurve2d extends Display { context: C2dCanvasContext; entity: PolylineCurve2dEntity; layer: C2dLayer; node: V2dGraphicContainer; protected graphics: V2dGraphicDrawing; setup(): void; createNode(): void; onEntityFlagChanged(sender: ListenerContext, event: DataNodeFlagEvent): void; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; onEntityDirty(sender: ListenerContext, event: DataNodeFieldEvent): void; onDraw(context?: DisplayContext): void; updateShape(): void; removeFromView(): void; dispose(): void; } } declare module "sk/frame/plugin/editor/resource/graph/display/C2dText2d" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { DataNodeFlagEvent } from 'foundation/data/common/model/base/DataNodeFlagEvent'; import { V2dGraphicContainer } from 'foundation/editor/view/view2d/render/V2dGraphicContainer'; import { V2dGraphicText } from 'foundation/editor/view/view2d/render/V2dGraphicText'; import { Display } from 'foundation/editor/view/base/Display'; import { DisplayContext } from 'foundation/editor/view/base/DisplayContext'; import { Text2dEntity } from 'sk/editor/family/entity/assistant/Text2dEntity'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; import { C2dLayer } from 'sk/editor/logic/view/canvas2d/C2dLayer'; export class C2dText2d extends Display { context: C2dCanvasContext; entity: Text2dEntity; layer: C2dLayer; node: V2dGraphicContainer; protected textGraphic: V2dGraphicText; setup(): void; createNode(): void; onEntityFlagChanged(sender: ListenerContext, event: DataNodeFlagEvent): void; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; onEntityDirty(sender: ListenerContext, event: DataNodeFieldEvent): void; onDraw(context?: DisplayContext): void; updateShape(): void; removeFromView(): void; dispose(): void; } } declare module "sk/frame/plugin/editor/resource/graph/entity/ObserverEntity" { import { ObserverNode } from 'foundation/data/common/model/brep/ObserverNode'; export class ObserverEntity extends ObserverNode { scale: number; translateDx: number; translateDy: number; isReset: boolean; pointX: number; pointY: number; constructor(); reset(): void; } } declare module "sk/frame/plugin/editor/resource/graph/frame/GraphFrameService" { import { Service } from 'cross/runtime/module/Service'; export type MenuDescribe = { name: string; router: string; icon: string; key: string; linkPage: string; children: Array; }; export type PluginDescribe = { name: string; menu: string; page: string; dataPanel: string; dataProperty: string; }; export class GraphFrameService extends Service { plugins: any; menus: Array; pages: any; dataPanels: any; dataProperties: any; constructor(); registerPlugin(name: string, plugin: PluginDescribe): void; registerMenu(name: string, menu: MenuDescribe): void; getChildMenu(menu: MenuDescribe, key: string): MenuDescribe; getMenu(key: string): MenuDescribe; registerChildMenu(menuName: string, name: string, menu: MenuDescribe): void; registerPage(name: string, page: Function): void; getPage(name: string): any; registerDataPanel(name: string, desc: any): void; getDataPanel(name: string): any; registerDataProperty(name: string, property: Function): void; getDataProperty(name: string): any; } } declare module "sk/frame/plugin/editor/resource/graph/ui/ViewCameraEnum" { export class ViewCameraEnum { static FlatCanvas: string; static AerialView: string; static FirstPerson: string; static NormalRender: string; static BirdRender: string; static PanoRender: string; static Orthogonal: string; } } declare module "sk/frame/plugin/editor/resource/material/action/content/ContentDisplayAction" { import { ContentNode } from 'foundation/data/common/model/brep/ContentNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { Action } from 'foundation/editor/view/action/Action'; export class ContentDisplayAction extends Action { chest: ContentNode; content: ContentNode; visible: boolean; private _savedData; private _restoreData; protected _selectionService: SelectionService; constructor(); protected switchVisible(visible: boolean): void; onExecute(event?: ContentActionEvent): void; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/resource/material/action/content/ContentRotateAction" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { ContentNode } from 'foundation/data/common/model/brep/ContentNode'; import { Action } from 'foundation/editor/view/action/Action'; export class ContentRotateAction extends Action { entity: ContentNode; rotation: Vector3; originalAngle: any; lastTargetingAngle: any; lastContentAngle: any; constructor(a?: any); onExecute(): void; onReceive(key: string, attributes: any): boolean; } } declare module "sk/frame/plugin/editor/resource/material/entity/MaterialEditOptions" { import { EditOptions } from 'foundation/editor/view/entity/EditOptions'; export class MaterialEditOptions extends EditOptions { rotationX: number; rotationY: number; rotationZ: number; reset(): void; } } declare module "sk/frame/plugin/editor/resource/material/entity/MaterialBlueprintEntity" { import { ObserverViewEntity } from 'foundation/editor/view/entity/ObserverViewEntity'; import { MaterialBlueprintNode } from 'sk/data/resource/material/model/MaterialBlueprintNode'; import { MaterialEditOptions } from "sk/frame/plugin/editor/resource/material/entity/MaterialEditOptions"; export class MaterialBlueprintEntity extends MaterialBlueprintNode { activeObserver: ObserverViewEntity; editOptions: MaterialEditOptions; constructor(); loadReset(): void; reset(): void; } } declare module "sk/frame/plugin/editor/resource/material/entity/MaterialEditorDocument" { import { PersistentFactory } from 'cross/runtime/module/persistent/PersistentFactory'; import { StorageDeviceService } from 'cross/core/device/storage/StorageDeviceService'; import { AssetVersionType } from 'foundation/data/common/resource/AssetUtil'; import { MaterialDocument } from 'sk/data/resource/material/model/MaterialDocument'; import { TemplateLogicService } from 'sk/data/resource/model/service/TemplateLogicService'; import { ResourceUpdateMaterialResponse } from 'sk/data/logic/resource/message/ResourceUpdateMaterialResponse'; import { ResourceMaterialService } from 'sk/frame/logic/storage/resource/resource/material/ResourceMaterialService'; import { MaterialBlueprintEntity } from "sk/frame/plugin/editor/resource/material/entity/MaterialBlueprintEntity"; export class MaterialEditorDocument extends MaterialDocument { protected static _factory: PersistentFactory; static get Factory(): PersistentFactory; baseUrl: string; effectResourceId: string; blueprint: MaterialBlueprintEntity; protected _storageService: StorageDeviceService; protected _templateService: TemplateLogicService; protected _resourceMaterialService: ResourceMaterialService; constructor(); get factory(): PersistentFactory; setup(): void; makeStorageCode(): string; private copyMaterialTemplate; loadModelConfig(jconfig: any): void; loadMaterialConfig(): void; private onLoadConfigComplete; loadByIdAsync(id: string, version?: AssetVersionType): Promise; saveAsync(): Promise; saveLocal(): void; static createEmptyDocument(): MaterialEditorDocument; static createDefaultDocument(): MaterialEditorDocument; } } declare module "sk/frame/plugin/editor/resource/material/entity/MaterialEntity" { import { MaterialNode } from 'sk/data/resource/material/model/MaterialNode'; export class MaterialEntity extends MaterialNode { constructor(); reset(): void; } export type MaterialEntityMap = { [key: string]: MaterialEntity; }; } declare module "sk/frame/plugin/editor/resource/material/entity/MaterialMaterialEntity" { import { MaterialMaterialNode } from 'sk/data/resource/material/model/MaterialMaterialNode'; export class MaterialMaterialEntity extends MaterialMaterialNode { } } declare module "sk/frame/plugin/editor/resource/material/display/W3dMaterial" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DataNodeFlagEvent } from 'foundation/data/common/model/base/DataNodeFlagEvent'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { V3dGraphicContainer } from 'foundation/editor/view/view3d/render/graphic/V3dGraphicContainer'; import { V3dGraphicMesh, V3dGraphicMeshMap } from 'foundation/editor/view/view3d/render/graphic/V3dGraphicMesh'; import { DisplayContext } from 'foundation/editor/view/base/DisplayContext'; import { V3dContent } from 'foundation/editor/view/view3d/V3dContent'; import { EffectDocumentService } from 'sk/data/resource/effect/service/EffectDocumentService'; import { MaterialTypeEnum } from 'sk/data/resource/enumeration/MaterialTypeEnum'; import { MaterialBlueprintEntity } from "sk/frame/plugin/editor/resource/material/entity/MaterialBlueprintEntity"; import { MaterialEntity } from "sk/frame/plugin/editor/resource/material/entity/MaterialEntity"; import { MaterialMaterialEntity } from "sk/frame/plugin/editor/resource/material/entity/MaterialMaterialEntity"; export class W3dMaterial extends V3dContent { blueprint: MaterialBlueprintEntity; entity: MaterialEntity; protected _statusMaterialDirty: boolean; protected _materialMaterial: MaterialMaterialEntity; protected _nodeMeshs: V3dGraphicMeshMap; protected _lastMaterialTypeCd: MaterialTypeEnum; protected _selectionService: SelectionService; protected _effectDocumentService: EffectDocumentService; constructor(); setup(): void; onShapeDirty(sender: ListenerContext, event: DataNodeFlagEvent): void; private onMaterialTypeChange; onMaterialDirty(sender: ListenerContext, event: DataNodeFlagEvent): void; private get effectResourceId(); updateMaterialAsync(): Promise; private createMeshNode; createNode(): V3dGraphicContainer; protected updateTransform(): void; protected updateShape(): void; protected loadModelAsync(modelMesh: V3dGraphicMesh): Promise; drawDisplay(displayContext?: DisplayContext): void; dispose(): void; } } declare module "sk/frame/plugin/editor/resource/material/entity/MaterialShapeEntity" { import { MaterialShapeNode } from 'sk/data/resource/material/model/MaterialShapeNode'; export class MaterialShapeEntity extends MaterialShapeNode { static CLASS_NAME: string; } } declare module "sk/frame/plugin/editor/resource/material/display/WglMaterialShape" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DataNodeFlagEvent } from 'foundation/data/common/model/base/DataNodeFlagEvent'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { V3dGraphicContainer } from 'foundation/editor/view/view3d/render/graphic/V3dGraphicContainer'; import { V3dGraphicMeshMap } from 'foundation/editor/view/view3d/render/graphic/V3dGraphicMesh'; import { DisplayContext } from 'foundation/editor/view/base/DisplayContext'; import { V3dContent } from 'foundation/editor/view/view3d/V3dContent'; import { MaterialTypeEnum } from 'sk/data/resource/enumeration/MaterialTypeEnum'; import { MaterialBlueprintEntity } from "sk/frame/plugin/editor/resource/material/entity/MaterialBlueprintEntity"; import { MaterialMaterialEntity } from "sk/frame/plugin/editor/resource/material/entity/MaterialMaterialEntity"; import { MaterialShapeEntity } from "sk/frame/plugin/editor/resource/material/entity/MaterialShapeEntity"; export class WglMaterialShape extends V3dContent { blueprint: MaterialBlueprintEntity; entity: MaterialShapeEntity; protected _statusMaterialDirty: boolean; protected _effectMaterial: MaterialMaterialEntity; protected _nodeMeshs: V3dGraphicMeshMap; protected _lastMaterialTypeCd: MaterialTypeEnum; protected _selectionService: SelectionService; constructor(); setup(): void; onShapeDirty(sender: ListenerContext, event: DataNodeFlagEvent): void; private onMaterialTypeChange; onMaterialDirty(sender: ListenerContext, event: DataNodeFlagEvent): void; private get effectResourceId(); updateMaterialAsync(): Promise; private createMeshNode; createNode(): V3dGraphicContainer; protected updateTransform(): void; protected updateShape(): void; drawDisplay(displayContext?: DisplayContext): void; dispose(): void; } } declare module "sk/frame/plugin/editor/resource/material/display/WglShapeController" { import { ContentController } from 'foundation/editor/view/base/ContentController'; import { MaterialShapeEntity } from "sk/frame/plugin/editor/resource/material/entity/MaterialShapeEntity"; export class WglShapeController extends ContentController { entity: MaterialShapeEntity; } } declare module "sk/frame/plugin/editor/resource/material/frame/MaterialConstants" { export class MaterialConstants { static ModuleName: string; static DocumentName: string; static CanvasName: string; static SceneName: string; static SCENE_SIZE: number; static GRID_SPACING: number; static GRID_MAJOR_LINE_SPACE: number; static AERIALVIEW_CAMERA_X: number; static AERIALVIEW_CAMERA_Y: number; static AERIALVIEW_CAMERA_Z: number; static AERIALVIEW_CAMERA_TARGET_X: number; static AERIALVIEW_CAMERA_TARGET_Y: number; static AERIALVIEW_CAMERA_TARGET_Z: number; static AERIALVIEW_CAMERA_FOV: number; static AERIALVIEW_CAMERA_PITCH: number; static AERIALVIEW_CAMERA_HORIZONTAL_FOV_MIN: number; static AERIALVIEW_CAMERA_HORIZONTAL_FOV_MAX: number; static AERIALVIEW_CAMERA_MIN_DISTANCE: number; static AERIALVIEW_CAMERA_MAX_DISTANCE: number; static FIRSTPERSON_CAMERA_HEIGHT: number; static FIRSTPERSON_CAMERA_TARGET_X: number; static FIRSTPERSON_CAMERA_TARGET_Y: number; static FIRSTPERSON_CAMERA_TARGET_Z: number; static FIRSTPERSON_CAMERA_FOV: number; static FIRSTPERSON_CAMERA_PITCH: number; static FIRSTPERSON_CAMERA_HORIZONTAL_FOV_MIN: number; static FIRSTPERSON_CAMERA_HORIZONTAL_FOV_MAX: number; static CANVAS_WIDTH: number; static CANVAS_HEIGHT: number; } } declare module "sk/frame/plugin/editor/resource/material/ui/MaterialPropertyTabPanel" { import { UiPropertyTabPanel } from 'sk/editor/view/ui/UiPropertyTabPanel'; export class MaterialPropertyTabPanel extends UiPropertyTabPanel { render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/material/ui/MaterialToolBar" { import { StorageDeviceService } from 'cross/core/device/storage/StorageDeviceService'; import { UiDesktopService } from 'foundation/editor/ui/desktop/UiDesktopService'; import { EffectDocument } from 'sk/data/resource/effect/model/EffectDocument'; import { EffectDocumentService } from 'sk/data/resource/effect/service/EffectDocumentService'; import { MaterialDocumentService } from 'sk/data/resource/material/service/MaterialDocumentService'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { UiToolBarPanel } from 'sk/editor/view/ui/UiToolBarPanel'; import { MaterialEditorDocument } from "sk/frame/plugin/editor/resource/material/entity/MaterialEditorDocument"; interface MaterialToolBarState { extendsEffect: boolean; } export class MaterialToolBar extends UiToolBarPanel { document: MaterialEditorDocument; private _saving; protected _uiFrameService: UiFrameService; protected _materialDocumentService: MaterialDocumentService; protected _effectDocumentService: EffectDocumentService; protected _effectDocument: EffectDocument; state: MaterialToolBarState; protected _storageService: StorageDeviceService; protected _desktopService: UiDesktopService; constructor(props?: any, context?: any); protected addMaterialOption: () => void; protected addReferenceMaterial: () => void; protected addReferencePicture: () => void; protected onGpuModeChange: (value: any) => void; protected reCompute(): void; componentPropsChange(nextProps: any, nextContext: any): void; private createShape; private changeQualityType; private onCreateCube; private onCreateSphere; private onSelectModel; private onCreateRing; onSave: () => Promise; private setPropertyFromEffectAsync; applyEffectProperty: () => Promise; extendsStageChange: (e: any) => void; } } declare module "sk/frame/plugin/editor/resource/material/frame/MaterialEditorModule" { import { ModuleContext } from 'cross/runtime/framework/module/ModuleContext'; import { ObserverModeEnum } from 'foundation/data/common/model/brep/ObserverModeEnum'; import { ObserverTypeEnum } from 'foundation/data/common/model/brep/ObserverTypeEnum'; import { RenderService } from 'foundation/editor/view/base/render/RenderService'; import { CanvasService } from 'foundation/editor/view/base/CanvasService'; import { V3dCanvas } from 'foundation/editor/view/view3d/V3dCanvas'; import { FrameEditorModule } from 'sk/editor/view/frame/FrameEditorModule'; import { MaterialEditorDocument } from "sk/frame/plugin/editor/resource/material/entity/MaterialEditorDocument"; export class MaterialEditorModule extends FrameEditorModule { canvas: V3dCanvas; protected _renderService: RenderService; protected _canvasService: CanvasService; constructor(); get document(): MaterialEditorDocument; onStartup(context: ModuleContext): void; shutdown(context: ModuleContext): void; onBindCanvasAsync(json?: any): Promise; onReleaseCanvas(): void; changeCameraView(canvasId: string, modeCd: ObserverModeEnum, typeCd: ObserverTypeEnum): void; static get instance(): MaterialEditorModule; static get document(): MaterialEditorDocument; } } declare module "sk/frame/plugin/editor/resource/material/ui/MaterialTree" { import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { MaterialEditorDocument } from "sk/frame/plugin/editor/resource/material/entity/MaterialEditorDocument"; export class MaterialTree extends UiContainer { document: MaterialEditorDocument; selectElementCallback: any; state: { popNode: any; selectedKeys: any[]; blueprintIsOpened: boolean; }; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; onSelectNode: (selectedKeys: string[], e: any) => void; selectNode: (selectedKeys: string[], selectedNode: any) => void; private makeTitle; private makeDisplayTitle; loopNodes(data: DataNode, expandedKeys: Array): any[]; makeNodeTree(): JSX.Element; makeDisplayTree(): any[] | JSX.Element; makeMeshTree(): any[] | JSX.Element; onTabChange: () => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/material/frame/MaterialEditorFrame" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { ObserverModeEnum } from 'foundation/data/common/model/brep/ObserverModeEnum'; import { ObserverTypeEnum } from 'foundation/data/common/model/brep/ObserverTypeEnum'; import { SelectionEvent } from 'foundation/editor/base/selection/SelectionEvent'; import { MaterialDocumentService } from 'sk/data/resource/material/service/MaterialDocumentService'; import { MaterialQualityEnum } from 'sk/data/resource/enumeration/MaterialQualityEnum'; import { FrameEditorViewFrame, FrameEditorViewFrameProps, FrameEditorViewFrameState } from 'sk/editor/view/frame/FrameEditorViewFrame'; import { ResourceMaterialService } from 'sk/frame/logic/storage/resource/resource/material/ResourceMaterialService'; import { MaterialEditorDocument } from "sk/frame/plugin/editor/resource/material/entity/MaterialEditorDocument"; import { MaterialTree } from "sk/frame/plugin/editor/resource/material/ui/MaterialTree"; import { MaterialEditorModule } from "sk/frame/plugin/editor/resource/material/frame/MaterialEditorModule"; interface MaterialEditorFrameProps extends FrameEditorViewFrameProps { } interface MaterialEditorFrameState extends FrameEditorViewFrameState { selectObject?: any; blueprintIsOpened?: boolean; } export class MaterialEditorFrame extends FrameEditorViewFrame { static pageName: string; module: MaterialEditorModule; document: MaterialEditorDocument; protected _tree: MaterialTree; protected _documentService: MaterialDocumentService; protected _resourceMaterialService: ResourceMaterialService; constructor(props?: any, context?: any); initListenner(): void; disposeListenner(): void; loadDocumentAsync(): Promise; onRefreshTree(): void; onSelectionChanged(sender: ListenerContext, event: SelectionEvent): void; onCanvasViewChange: (id: string, modeCd: ObserverModeEnum, typeCd: ObserverTypeEnum) => () => void; onObjectSelect: (selectedObj: any) => void; onQualityTypeChange(qualityCd: MaterialQualityEnum): void; makeCategory(): any; makeToolBar(): any; resetDocument: () => void; handleResetView: () => void; makeCanvas(): any; makeProperty(): any; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/material/frame/MaterialFrameService" { import { Service } from 'cross/runtime/module/Service'; export type MenuDescribe = { name: string; router: string; icon: string; key: string; linkPage: string; children: Array; }; export type PluginDescribe = { name: string; menu: string; page: string; dataPanel: string; dataProperty: string; }; export class MaterialFrameService extends Service { plugins: any; menus: Array; pages: any; dataPanels: any; dataProperties: any; constructor(); registerPlugin(name: string, plugin: PluginDescribe): void; registerMenu(name: string, menu: MenuDescribe): void; getChildMenu(menu: MenuDescribe, key: string): MenuDescribe; getMenu(key: string): MenuDescribe; registerChildMenu(menuName: string, name: string, menu: MenuDescribe): void; registerPage(name: string, page: Function): void; getPage(name: string): any; registerDataPanel(name: string, desc: any): void; getDataPanel(name: string): any; registerDataProperty(name: string, property: Function): void; getDataProperty(name: string): any; } } declare module "sk/frame/plugin/editor/resource/material/frame/MaterialSettings" { import { EditorSettings } from 'cross/editor/framework/setting/EditorSettings'; import { DocumentEnum } from 'foundation/data/common/model/DocumentEnum'; export class MaterialSettings extends EditorSettings { documentCd: DocumentEnum; documentGuid: string; documentVersion: string; brandGuid: string; } } declare module "sk/frame/plugin/editor/resource/material/ui/MaterialCanvasFrame" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { FamilyDocument } from 'sk/data/family/library/FamilyDocument'; export class MaterialCanvasFrame extends UiContainer { static pageName: string; document: FamilyDocument; state: { document: any; selectedElement: any; }; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/material/ui/MaterialPropForm" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class MaterialPropForm extends UiContainer { componentStatusChange(state: any, props: any): void; onValueChanged: (key: string, value: any) => void; setPBRMaterial(): void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/material/ui/MaterialPropertyPanel" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { UiDataContext } from 'sk/editor/frame/ui/UiDataContext'; import { UiPropertyPanel } from 'sk/editor/view/ui/UiPropertyPanel'; export class MaterialPropertyPanel extends UiPropertyPanel { constructor(props?: any, context?: any); onBlueprintFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; onBlueprintDirty(): void; componentPropsChange(nextProps: any, nextContext: any): void; componentStatusChange(state: any, props: any): void; componentWillUnmount(): void; onValueChanged: (key: string, value: any) => void; makeDataContext(selectObject: any): UiDataContext; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/material/ui/MaterialTexturePickerComponent" { import { EnvironmentService } from 'cross/runtime/module/environment/EnvironmentService'; import { MaterialTextureStructure } from 'sk/data/resource/base/MaterialTextureStructure'; import { CustomizedControlNode } from 'sk/editor/frame/service/frame/node/CustomizedControlNode'; import { UiDefineEditControl } from 'sk/editor/frame/ui/base/UiDefineEditControl'; import { ResourcePictureService } from 'sk/frame/logic/storage/resource/resource/picture/ResourcePictureService'; export class MaterialTexturePickerComponent extends UiDefineEditControl { declare: CustomizedControlNode; selectRecord: any; private previewUrl; protected _environmentService: EnvironmentService; protected _resourcePictureService: ResourcePictureService; UNSAFE_componentWillMount(): void; componentPropsChange(nextProps: any, nextContext: any): void; private setPreviewUrlAsync; getTextureFieldName(texture: MaterialTextureStructure, values: any): string; makeBaseUri(resourceObj: any): any; private makeUploadUrl; private handleChange; private beforeUpload; validate(): boolean; private afterValueChangedAsync; private onAddResourceTexture; private onAddReferencePicture; private onClearTexture; private onPickOk; getPicTypeAsync(resourceId: string): Promise; private makeResourceTexturePick; private setReferencePic; private makeReferencePictureModal; buildEditInput(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/model/action/content/ContentDisplayAction" { import { ContentNode } from 'foundation/data/common/model/brep/ContentNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { Action } from 'foundation/editor/view/action/Action'; export class ContentDisplayAction extends Action { chest: ContentNode; content: ContentNode; visible: boolean; private _savedData; private _restoreData; protected _selectionService: SelectionService; constructor(); protected switchVisible(visible: boolean): void; onExecute(event?: ContentActionEvent): void; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/resource/model/action/content/ContentRotateAction" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { ContentNode } from 'foundation/data/common/model/brep/ContentNode'; import { Action } from 'foundation/editor/view/action/Action'; export class ContentRotateAction extends Action { entity: ContentNode; rotation: Vector3; originalAngle: any; lastTargetingAngle: any; lastContentAngle: any; constructor(a?: any); onExecute(): void; onReceive(key: string, attributes: any): boolean; } } declare module "sk/frame/plugin/editor/resource/model/entity/ModelEditOptions" { import { EditOptions } from 'foundation/editor/view/entity/EditOptions'; export class ModelEditOptions extends EditOptions { rotationX: number; rotationY: number; rotationZ: number; reset(): void; } } declare module "sk/frame/plugin/editor/resource/model/entity/ModelBlueprintEntity" { import { ObserverViewEntity } from 'foundation/editor/view/entity/ObserverViewEntity'; import { ModelBlueprintNode } from 'sk/data/resource/model/model/ModelBlueprintNode'; import { ModelEditOptions } from "sk/frame/plugin/editor/resource/model/entity/ModelEditOptions"; export class ModelBlueprintEntity extends ModelBlueprintNode { editOptions: ModelEditOptions; activeObserver: ObserverViewEntity; constructor(); loadReset(): void; reset(): void; } } declare module "sk/frame/plugin/editor/resource/model/entity/ModelEntity" { import { ModelNode } from 'sk/data/resource/model/model/ModelNode'; export class ModelEntity extends ModelNode { } } declare module "sk/frame/plugin/editor/resource/model/display/W3dModelController" { import { C3dContentController } from 'sk/editor/logic/view/webgl3d/C3dContentController'; import { ModelEntity } from "sk/frame/plugin/editor/resource/model/entity/ModelEntity"; export class W3dModelController extends C3dContentController { entity: ModelEntity; } } declare module "sk/frame/plugin/editor/resource/model/display/W3dModel" { import { W3dCanvasContext } from 'sk/editor/family/view/webgl3d/W3dCanvasContext'; import { C3dContent } from 'sk/editor/logic/view/webgl3d/C3dContent'; import { ModelBlueprintEntity } from "sk/frame/plugin/editor/resource/model/entity/ModelBlueprintEntity"; import { ModelEntity } from "sk/frame/plugin/editor/resource/model/entity/ModelEntity"; import { W3dModelController } from "sk/frame/plugin/editor/resource/model/display/W3dModelController"; export class W3dModel extends C3dContent { context: W3dCanvasContext; blueprint: ModelBlueprintEntity; entity: ModelEntity; controller: W3dModelController; constructor(); } } declare module "sk/frame/plugin/editor/resource/model/entity/ModelMaterialEntity" { import { ModelMaterialNode } from 'sk/data/resource/model/model/ModelMaterialNode'; export class ModelMaterialEntity extends ModelMaterialNode { } } declare module "sk/frame/plugin/editor/resource/model/entity/ModelMeshEntity" { import { ModelMeshNode } from 'sk/data/resource/model/model/ModelMeshNode'; export class ModelMeshEntity extends ModelMeshNode { } } declare module "sk/frame/plugin/editor/resource/model/display/W3dModelMeshController" { import { C3dContentController } from 'sk/editor/logic/view/webgl3d/C3dContentController'; import { ModelMeshEntity } from "sk/frame/plugin/editor/resource/model/entity/ModelMeshEntity"; export class W3dModelMeshController extends C3dContentController { entity: ModelMeshEntity; } } declare module "sk/frame/plugin/editor/resource/model/display/W3dModelMesh" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DataNodeFlagEvent } from 'foundation/data/common/model/base/DataNodeFlagEvent'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { V3dGraphicContainer } from 'foundation/editor/view/view3d/render/graphic/V3dGraphicContainer'; import { V3dGraphicMesh } from 'foundation/editor/view/view3d/render/graphic/V3dGraphicMesh'; import { MaterialTypeEnum } from 'sk/data/resource/enumeration/MaterialTypeEnum'; import { W3dCanvas } from 'sk/editor/family/view/webgl3d/W3dCanvas'; import { C3dContent } from 'sk/editor/logic/view/webgl3d/C3dContent'; import { ModelBlueprintEntity } from "sk/frame/plugin/editor/resource/model/entity/ModelBlueprintEntity"; import { ModelEditOptions } from "sk/frame/plugin/editor/resource/model/entity/ModelEditOptions"; import { ModelMaterialEntity } from "sk/frame/plugin/editor/resource/model/entity/ModelMaterialEntity"; import { ModelMeshEntity } from "sk/frame/plugin/editor/resource/model/entity/ModelMeshEntity"; import { W3dModelMeshController } from "sk/frame/plugin/editor/resource/model/display/W3dModelMeshController"; export class W3dModelMesh extends C3dContent { editOptions: ModelEditOptions; blueprint: ModelBlueprintEntity; entity: ModelMeshEntity; protected materialEntity: ModelMaterialEntity; view: W3dCanvas; controller: W3dModelMeshController; protected _nodeMesh: V3dGraphicMesh; protected _lastMaterialTypeCd: MaterialTypeEnum; protected _selectionService: SelectionService; constructor(); setup(): void; onEditOptionsDirty(sender: ListenerContext, event: DataNodeFlagEvent): void; private onMaterialTypeChange; onMaterialDirty(sender: ListenerContext, event: DataNodeFlagEvent): void; createNode(): V3dGraphicContainer; loadMaterialAsync(): Promise; protected updateStyle(): void; protected updateMesh(dirty?: boolean): void; protected updateShape(): void; protected updateTransform(): void; dispose(): void; } } declare module "sk/frame/plugin/editor/resource/model/entity/ModelGeometryEntity" { import { ModelGeometryNode } from 'sk/data/resource/model/model/ModelGeometryNode'; export class ModelGeometryEntity extends ModelGeometryNode { } } declare module "sk/frame/plugin/editor/resource/model/entity/ModelEditorDocument" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { PersistentFactory } from 'cross/runtime/module/persistent/PersistentFactory'; import { JsonService } from 'cross/core/module/json/JsonService'; import { AssetVersionType } from 'foundation/data/common/resource/AssetUtil'; import { ModelDocument } from 'sk/data/resource/model/model/ModelDocument'; import { ModelDocumentService } from 'sk/data/resource/model/service/ModelDocumentService'; import { TemplateLogicService } from 'sk/data/resource/model/service/TemplateLogicService'; import { ResourceUpdateModelResponse } from 'sk/data/logic/resource/message/ResourceUpdateModelResponse'; import { ResourceService } from 'sk/frame/logic/storage/resource/resource/ResourceService'; import { ModelBlueprintEntity } from "sk/frame/plugin/editor/resource/model/entity/ModelBlueprintEntity"; export class ModelEditorDocument extends ModelDocument { protected static _factory: PersistentFactory; static get Factory(): PersistentFactory; baseUrl: string; blueprint: ModelBlueprintEntity; protected _templateService: TemplateLogicService; protected _resourceService: ResourceService; protected _documentService: ModelDocumentService; protected _jsonService: JsonService; get factory(): PersistentFactory; setup(): void; loadModelMeshAsync(): Promise; updateModelMeshAsync(tempId: string): Promise; loadByIdAsync(id: string, version?: AssetVersionType): Promise; loadByTempIdAsync(tempId: string): Promise; saveAsync(): Promise; static createEmptyDocument(): ModelEditorDocument; static createDefaultDocument(): ModelEditorDocument; } } declare module "sk/frame/plugin/editor/resource/model/entity/ModelConfigLoader" { import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; import { ModelBlueprintEntity } from "sk/frame/plugin/editor/resource/model/entity/ModelBlueprintEntity"; import { ModelEditorDocument } from "sk/frame/plugin/editor/resource/model/entity/ModelEditorDocument"; import { ModelEntity } from "sk/frame/plugin/editor/resource/model/entity/ModelEntity"; export class ModelConfigLoader extends InstanceObject { url: string; document: ModelEditorDocument; blueprint: ModelBlueprintEntity; model: ModelEntity; constructor(); private findTemplate; onLoadCompleteAsync(content: any): Promise; loadUrlAsync(url: string): Promise; } } declare module "sk/frame/plugin/editor/resource/model/entity/ModelViewEnum" { export class ModelViewEnum { static View: string; static ViewMain: string; static ViewSlave: string; } } declare module "sk/frame/plugin/editor/resource/model/frame/ModelConstants" { export class ModelConstants { static ModuleName: string; static DocumentName: string; static CanvasName: string; static SceneName: string; static SCENE_SIZE: number; static GRID_SPACING: number; static GRID_MAJOR_LINE_SPACE: number; static AERIALVIEW_CAMERA_X: number; static AERIALVIEW_CAMERA_Y: number; static AERIALVIEW_CAMERA_Z: number; static AERIALVIEW_CAMERA_TARGET_X: number; static AERIALVIEW_CAMERA_TARGET_Y: number; static AERIALVIEW_CAMERA_TARGET_Z: number; static AERIALVIEW_CAMERA_FOV: number; static AERIALVIEW_CAMERA_PITCH: number; static AERIALVIEW_CAMERA_HORIZONTAL_FOV_MIN: number; static AERIALVIEW_CAMERA_HORIZONTAL_FOV_MAX: number; static AERIALVIEW_CAMERA_MIN_DISTANCE: number; static AERIALVIEW_CAMERA_MAX_DISTANCE: number; static FIRSTPERSON_CAMERA_HEIGHT: number; static FIRSTPERSON_CAMERA_TARGET_X: number; static FIRSTPERSON_CAMERA_TARGET_Y: number; static FIRSTPERSON_CAMERA_TARGET_Z: number; static FIRSTPERSON_CAMERA_FOV: number; static FIRSTPERSON_CAMERA_PITCH: number; static FIRSTPERSON_CAMERA_HORIZONTAL_FOV_MIN: number; static FIRSTPERSON_CAMERA_HORIZONTAL_FOV_MAX: number; static CANVAS_WIDTH: number; static CANVAS_HEIGHT: number; } } declare module "sk/frame/plugin/editor/resource/model/ui/ModelPropertyTabPanel" { import { UiPropertyTabPanel } from 'sk/editor/view/ui/UiPropertyTabPanel'; export class ModelPropertyTabPanel extends UiPropertyTabPanel { render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/model/ui/FbxUploadModal" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { ResourceService } from 'sk/frame/logic/storage/resource/resource/ResourceService'; export class FbxUploadModal extends UiContainer { protected _resourceService: ResourceService; protected _uiFrameService: UiFrameService; private afterClose; private afterSubmit; private formRef; constructor(props: any, context?: any); componentStatusChange(state: any, props: any): void; beforePreviewUpload: (file: any) => boolean; beforeModelUpload: (file: any) => boolean; onModelUpload: (options: any) => void; private modelUploadAsync; handleOK: (e: any) => void; handleCancel: () => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/model/ui/ModelUploadModal" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { ResourceService } from 'sk/frame/logic/storage/resource/resource/ResourceService'; export class ModelUploadForm extends UiContainer { protected _resourceService: ResourceService; protected _uiFrameService: UiFrameService; private afterClose; private afterSubmit; constructor(props: any, context?: any); componentStatusChange(state: any, props: any): void; beforePreviewUpload: (file: any) => boolean; beforeModelUpload: (file: any) => boolean; onModelUpload: (options: any) => void; private modelUploadAsync; handleOK: (e: any) => void; handleCancel: () => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/model/ui/ModelToolBar" { import { StorageDeviceService } from 'cross/core/device/storage/StorageDeviceService'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { UiDesktopService } from 'foundation/editor/ui/desktop/UiDesktopService'; import { ModelDocumentService } from 'sk/data/resource/model/service/ModelDocumentService'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; export class ModelToolBar extends UiContainer { private _saving; protected _uiFrameService: UiFrameService; protected _storageService: StorageDeviceService; protected _desktopService: UiDesktopService; protected _modelDocumentService: ModelDocumentService; state: { document: any; modelVisible: boolean; fbxModelVisible: boolean; }; constructor(props?: any, context?: any); private makeButtons; private removeTabFrame; private hideModelUploadForm; private afterSubmit; onReload: () => void; onSave: () => Promise; private buttonConfig; protected reCompute(): void; protected onGpuModeChange: (value: any) => void; protected addReferenceMaterial: () => void; protected addReferencePicture: () => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/model/frame/ModelEditorModule" { import { ModuleContext } from 'cross/runtime/framework/module/ModuleContext'; import { ObserverModeEnum } from 'foundation/data/common/model/brep/ObserverModeEnum'; import { ObserverTypeEnum } from 'foundation/data/common/model/brep/ObserverTypeEnum'; import { RenderService } from 'foundation/editor/view/base/render/RenderService'; import { CanvasService } from 'foundation/editor/view/base/CanvasService'; import { V3dCanvas } from 'foundation/editor/view/view3d/V3dCanvas'; import { FrameEditorModule } from 'sk/editor/view/frame/FrameEditorModule'; import { ModelEditorDocument } from "sk/frame/plugin/editor/resource/model/entity/ModelEditorDocument"; export class ModelEditorModule extends FrameEditorModule { canvas: V3dCanvas; protected _renderService: RenderService; protected _canvasService: CanvasService; constructor(); get document(): ModelEditorDocument; onStartup(context: ModuleContext): void; onBindCanvasAsync(json?: any): Promise; onReleaseCanvas(): void; shutdown(context: ModuleContext): void; changeCameraView(canvasId: string, modeCd: ObserverModeEnum, typeCd: ObserverTypeEnum): void; selectViewCamera(viewCd: string, right?: boolean): void; static get instance(): ModelEditorModule; static get document(): ModelEditorDocument; } } declare module "sk/frame/plugin/editor/resource/model/ui/ModelTree" { import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { ModelEditorDocument } from "sk/frame/plugin/editor/resource/model/entity/ModelEditorDocument"; export class ModelTree extends UiContainer { document: ModelEditorDocument; selectElementCallback: any; state: { popNode: any; selectedNodeKeys: any[]; selectedDisplayKeys: any[]; blueprintIsOpened: boolean; }; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; onSelectNode: (selectedKeys: string[], e: any) => void; private makeTitle; private makeDisplayTitle; loopNodes(data: DataNode, expandedKeys: Array): any[]; makeNodeTree(): JSX.Element; makeDisplayTree(): any[] | JSX.Element; makeMeshTree(): any[] | JSX.Element; onTabChange: () => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/model/frame/ModelEditorFrame" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { ContentNode } from 'foundation/data/common/model/brep/ContentNode'; import { ObserverModeEnum } from 'foundation/data/common/model/brep/ObserverModeEnum'; import { ObserverTypeEnum } from 'foundation/data/common/model/brep/ObserverTypeEnum'; import { SelectionEvent } from 'foundation/editor/base/selection/SelectionEvent'; import { WorkflowBaseElement } from 'sk/data/family/workflow/element/WorkflowBaseElement'; import { ModelDocumentService } from 'sk/data/resource/model/service/ModelDocumentService'; import { FrameEditorViewFrame, FrameEditorViewFrameProps, FrameEditorViewFrameState } from 'sk/editor/view/frame/FrameEditorViewFrame'; import { ModelEditorDocument } from "sk/frame/plugin/editor/resource/model/entity/ModelEditorDocument"; import { ModelTree } from "sk/frame/plugin/editor/resource/model/ui/ModelTree"; import { ModelEditorModule } from "sk/frame/plugin/editor/resource/model/frame/ModelEditorModule"; export interface WorkflowEditorFrameProps extends FrameEditorViewFrameProps { } export interface WorkflowEditorFrameState extends FrameEditorViewFrameState { selectObject?: WorkflowBaseElement; } export class ModelEditorFrame extends FrameEditorViewFrame { static pageName: string; module: ModelEditorModule; document: ModelEditorDocument; protected _tree: ModelTree; protected _documentService: ModelDocumentService; constructor(props?: any, context?: any); componentPropsChange(nextProps: WorkflowEditorFrameProps, nextContext: any): void; initListenner(): void; disposeListenner(): void; loadDocumentAsync(): Promise; loadTempDocumentAsync(): Promise; setNodeInfo(node: ContentNode): void; onRefreshTree(): void; onSelectionChanged(sender: ListenerContext, event: SelectionEvent): void; onCanvasViewChange: (id: string, modeCd: ObserverModeEnum, typeCd: ObserverTypeEnum) => () => void; onSelectNode: (selectedNode: any) => void; makeCategory(): any; makeToolBar(): any; handleResetView: () => void; makeCanvas(): JSX.Element; makeProperty(): any; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/model/frame/ModelFrameService" { import { Service } from 'cross/runtime/module/Service'; export type MenuDescribe = { name: string; router: string; icon: string; key: string; linkPage: string; children: Array; }; export type PluginDescribe = { name: string; menu: string; page: string; dataPanel: string; dataProperty: string; }; export class ModelFrameService extends Service { plugins: any; menus: Array; pages: any; dataPanels: any; dataProperties: any; constructor(); registerPlugin(name: string, plugin: PluginDescribe): void; registerMenu(name: string, menu: MenuDescribe): void; getChildMenu(menu: MenuDescribe, key: string): MenuDescribe; getMenu(key: string): MenuDescribe; registerChildMenu(menuName: string, name: string, menu: MenuDescribe): void; registerPage(name: string, page: Function): void; getPage(name: string): any; registerDataPanel(name: string, desc: any): void; getDataPanel(name: string): any; registerDataProperty(name: string, property: Function): void; getDataProperty(name: string): any; } } declare module "sk/frame/plugin/editor/resource/model/frame/ModelSettings" { import { EditorSettings } from 'cross/editor/framework/setting/EditorSettings'; import { DocumentEnum } from 'foundation/data/common/model/DocumentEnum'; export class ModelSettings extends EditorSettings { documentCd: DocumentEnum; documentGuid: string; documentVersion: string; brandGuid: string; } } declare module "sk/frame/plugin/editor/resource/model/ui/ModelMeshTablePanel" { import { ModelDocumentService } from 'sk/data/resource/model/service/ModelDocumentService'; import { ObjectFrameService } from 'sk/editor/view/ui/ObjectFrameService'; import { UiPropertyPanel } from 'sk/editor/view/ui/UiPropertyPanel'; export class ModelMeshTablePanel extends UiPropertyPanel { protected _documentService: ModelDocumentService; namespace: string; frame: any; dataSource: Array; protected _objectFrameService: ObjectFrameService; constructor(props?: any, context?: any); onValueChanged: (key: string, value: any) => void; private onRowSave; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/model/ui/control/UiColorPicker" { import { ColorPower } from 'foundation/runtime/math/ColorPower'; import { UiControl } from 'foundation/editor/ui/core/UiControl'; export class UiColorPicker extends UiControl { private _value; private _htmlValue; colorR: number; colorG: number; colorB: number; power: number; private min; private max; private changeCallback; lastValue: any; UNSAFE_componentWillMount(): void; setData(value: ColorPower): void; onValueChange(apart: string): any; UNSAFE_componentWillUpdate(nextProps?: any, nextState?: any): void; onChange(): Function; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/model/ui/property/PbrPropertyBar" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { UiBaseBar } from 'foundation/editor/ui/extension/UiBaseBar'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { ModelMaterialNode } from 'sk/data/resource/model/model/ModelMaterialNode'; export class PbrPropertyBar extends UiBaseBar { private modelEntity; private selectMeshOrMaterial; private selectMeshName; private currentMaterial; private charLength; private selectMaterialName; private options; private placeholder; private backFaceCulling; private alpha; private displayMode; private metallic; private roughness; private metallicRoughnessTexture; private normalTexture; private diffuseTexture; private reflectionTexture; private refractionTexture; private indexOfRefraction; private environmentIntensity; private microSurface; private reflectivityColor; private diffuseColor; protected _selectionService: SelectionService; protected _actionService: ActionService; constructor(props?: any, context?: any); UNSAFE_componentWillMount(): void; setMaterial(material: ModelMaterialNode): void; private repairTooLong; private loadAttribute; private onChange; private onDrop; private onDragOver; private loadImage; onReflectionImgSelectChange(): Function; onRefractionImgSelectChange(): Function; private clamp; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/model/ui/property/StandardPropertyBar2" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { UiBaseBar } from 'foundation/editor/ui/extension/UiBaseBar'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { ModelMaterialNode } from 'sk/data/resource/model/model/ModelMaterialNode'; export class StandardPropertyBar2 extends UiBaseBar { private modelEntity; private selectMeshOrMaterial; private selectMeshName; private currentMaterial; private charLength; private selectMaterialName; private options; private placeholder; private viewHeight; private backFaceCulling; private alpha; private displayMode; private ambientColor; private ambientTextureEnabled; private ambientTextureLevel; private ambientTextureUVIndex; private diffuseColor; private diffuseTextureEnabled; private diffuseTextureLevel; private diffuseTextureUVIndex; private diffuseFresnelEnabled; private diffuseFresnelLeftColor; private diffuseFresnelRightColor; private diffuseFresnelBias; private diffuseFresnelPower; private specularColor; private specularTextureEnabled; private specularTextureLevel; private specularTextureUVIndex; private specularPower; private emissiveColor; private emissiveTextureEnabled; private emissiveTextureLevel; private emissiveTextureUVIndex; private emissiveFresnelEnabled; private emissiveFresnelLeftColor; private emissiveFresnelRightColor; private emissiveFresnelBias; private emissiveFresnelPower; private bumpTextureEnabled; private bumpTextureLevel; private bumpTextureUVIndex; protected _selectionService: SelectionService; protected _actionService: ActionService; constructor(props?: any, context?: any); setMaterial(material: ModelMaterialNode): void; private loadAttribute; private onChange; private clamp; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/model/ui/PropertyBar" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DeviceService } from 'cross/runtime/module/device/DeviceService'; import { SelectionEvent } from 'foundation/editor/base/selection/SelectionEvent'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { ActionService } from 'foundation/editor/view/action/ActionService'; export class PropertyBar extends UiContainer { private selectMeshName; private currentMaterial; private charLength; private selectMaterialName; private options; private placeholder; private typeCd; private backFaceCulling; private alpha; private displayMode; private ambientColor; private ambientTextureEnabled; private ambientTextureLevel; private ambientTextureUVIndex; private diffuseColor; private diffuseTextureEnabled; private diffuseTextureLevel; private diffuseTextureUVIndex; private diffuseFresnelEnabled; private diffuseFresnelLeftColor; private diffuseFresnelRightColor; private diffuseFresnelBias; private diffuseFresnelPower; private specularColor; private specularTextureEnabled; private specularTextureLevel; private specularTextureUVIndex; private specularPower; private emissiveColor; private emissiveTextureEnabled; private emissiveTextureLevel; private emissiveTextureUVIndex; private emissiveFresnelEnabled; private emissiveFresnelLeftColor; private emissiveFresnelRightColor; private emissiveFresnelBias; private emissiveFresnelPower; private bumpTextureEnabled; private bumpTextureLevel; private bumpTextureUVIndex; private maxSimultaneousLights; private disableLighting; private invertNormalMapX; private invertNormalMapY; private occlusionStrength; private alphaCutOff; private transparencyMode; private doubleSided; private environment; private environmentTextureEnabled; private environmentTextureLevel; private environmentTextureUVIndex; private glossiness; specularGlossinessTexture: string; specularGlossinessTextureEnabled: boolean; specularGlossinessTextureLevel: number; specularGlossinessTextureUVIndex: number; private baseColor; private baseTextureEnabled; private baseTextureLevel; private baseTextureUVIndex; private metallic; private roughness; metallicRoughnessTexture: string; metallicRoughnessTextureEnabled: boolean; metallicRoughnessTextureLevel: number; metallicRoughnessTextureUVIndex: number; protected _selectionService: SelectionService; protected _actionService: ActionService; protected _deviceService: DeviceService; state: { currentMaterial: any; }; constructor(props: any, context?: any); updateProps(props: any): void; componentStatusChange(state: any, props: any): void; componentDidUpdate(nextProps?: any, nextState?: any): void; private onResize; onUnSelect(sender: ListenerContext, event: SelectionEvent): void; setEntity(entity: any): void; private get255Color; reloadColor(): void; onValueChange(id: string): Function; onChange(apart: string): Function; infoCbxClick(): Function; onTypeCdChange(): Function; private makePropertyBar; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/model/ui/ModelPropForm" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { SelectionEvent } from 'foundation/editor/base/selection/SelectionEvent'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { FamilyDocument } from 'sk/data/family/library/FamilyDocument'; export class ModelPropForm extends UiContainer { protected _selectionService: SelectionService; document: FamilyDocument; element: DataNode; state: { selectedObject: any; }; constructor(props?: any, context?: any); UNSAFE_componentWillMount(): void; init(): void; onSelectChange(sender: ListenerContext, event: SelectionEvent): void; componentStatusChange(state: any, props: any): void; onValueChanged: (key: string, value: any) => void; makePropertyPanel(): JSX.Element; makeRemarkPanel(): JSX.Element; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/model/ui/ModelPropertyPanel" { import { ModelDocumentService } from 'sk/data/resource/model/service/ModelDocumentService'; import { UiPropertyPanel } from 'sk/editor/view/ui/UiPropertyPanel'; export class ModelPropertyPanel extends UiPropertyPanel { protected _documentService: ModelDocumentService; constructor(props?: any, context?: any); onValueChanged: (key: string, value: any) => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/model/ui/control/UiMiniColorPicker" { import { ColorPower } from 'foundation/runtime/math/ColorPower'; import { UiControl } from 'foundation/editor/ui/core/UiControl'; export class UiMiniColorPicker extends UiControl { private _value; private _htmlValue; colorR: number; colorG: number; colorB: number; colorA: number; power: number; alpha: number; min: number; max: number; _type: string; changeCallback: any; lastValue: any; constructor(props?: any, context?: any); UNSAFE_componentWillMount(): void; setData(value: ColorPower): void; onValueChange(apart: string): Function; onWheel(apart: string): any; private changeSpecificValue; private changeValueByDelta; onKeyDown(apart: string): any; onChange(): Function; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/model/ui/property/PbrMetalPropertyBar" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { UiBaseBar } from 'foundation/editor/ui/extension/UiBaseBar'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { ModelMaterialNode } from 'sk/data/resource/model/model/ModelMaterialNode'; export class PbrMetalPropertyBar extends UiBaseBar { private modelEntity; private selectMeshOrMaterial; private selectMeshName; private currentMaterial; private charLength; private selectMaterialName; private options; private placeholder; private backFaceCulling; private alpha; private displayMode; private baseColor; private baseTextureEnabled; private baseTexture; private metallic; private roughness; private metallicRoughnessTextureEnabled; private metallicRoughnessTexture; private metallicRoughnessTextureLevel; private normalTextureEnabled; private normalTexture; private normalTextureLevel; private environmentTextureEnabled; private environmentTexture; private environmentTextureLevel; private occlusionTextureEnabled; private occlusionTexture; private occlusionTextureLevel; private occlusionStrength; protected _selectionService: SelectionService; protected _actionService: ActionService; constructor(props?: any, context?: any); UNSAFE_componentWillMount(): void; setMaterial(material: ModelMaterialNode): void; private repairTooLong; private loadAttribute; private onChange; private onDrop; private onDragOver; private loadImage; onEnvironmentImgSelectChange(): Function; private clamp; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/model/ui/property/PbrSpecularPropertyBar" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { UiBaseBar } from 'foundation/editor/ui/extension/UiBaseBar'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { ModelMaterialNode } from 'sk/data/resource/model/model/ModelMaterialNode'; export class PbrSpecularPropertyBar extends UiBaseBar { private modelEntity; private selectMeshOrMaterial; private selectMeshName; private currentMaterial; private charLength; private selectMaterialName; private options; private placeholder; private backFaceCulling; private alpha; private displayMode; private environmentTextureEnabled; private environmentTextureLevel; private environmentTextureUVIndex; private occlusionTextureEnabled; private occlusionTextureLevel; private occlusionTextureUVIndex; private occlusionStrength; private diffuseColor; private diffuseTextureEnabled; private diffuseTextureLevel; private diffuseTextureUVIndex; private diffuseFresnelEnabled; private diffuseFresnelLeftColor; private diffuseFresnelRightColor; private diffuseFresnelBias; private diffuseFresnelPower; private specularColor; private specularGlossinessTextureEnabled; private specularGlossinessTextureLevel; private specularGlossinessTextureUVIndex; private glossiness; private emissiveColor; private emissiveTextureEnabled; private emissiveTextureLevel; private emissiveTextureUVIndex; private emissiveFresnelEnabled; private emissiveFresnelLeftColor; private emissiveFresnelRightColor; private emissiveFresnelBias; private emissiveFresnelPower; private normalTextureEnabled; private normalTextureLevel; private normalTextureUVIndex; protected _selectionService: SelectionService; protected _actionService: ActionService; constructor(props?: any, context?: any); setMaterial(material: ModelMaterialNode): void; private loadAttribute; private onChange; private clamp; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/model/ui/property/StandardPropertyBar" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { UiBaseBar } from 'foundation/editor/ui/extension/UiBaseBar'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { ModelMaterialNode } from 'sk/data/resource/model/model/ModelMaterialNode'; export class StandardPropertyBar extends UiBaseBar { private modelEntity; private selectMeshOrMaterial; private selectMeshName; private currentMaterial; private charLength; private selectMaterialName; private options; private placeholder; private viewHeight; private backFaceCulling; private alpha; private displayMode; private ambientColor; private ambientTextureEnabled; private ambientTextureLevel; private ambientTextureUVIndex; private diffuseColor; private diffuseTextureEnabled; private diffuseTextureLevel; private diffuseTextureUVIndex; private diffuseFresnelEnabled; private diffuseFresnelLeftColor; private diffuseFresnelRightColor; private diffuseFresnelBias; private diffuseFresnelPower; private specularColor; private specularTextureEnabled; private specularTextureLevel; private specularTextureUVIndex; private specularPower; private emissiveColor; private emissiveTextureEnabled; private emissiveTextureLevel; private emissiveTextureUVIndex; private emissiveFresnelEnabled; private emissiveFresnelLeftColor; private emissiveFresnelRightColor; private emissiveFresnelBias; private emissiveFresnelPower; private bumpTextureEnabled; private bumpTextureLevel; private bumpTextureUVIndex; protected _selectionService: SelectionService; protected _actionService: ActionService; constructor(props?: any, context?: any); setMaterial(material: ModelMaterialNode): void; private loadAttribute; private onChange; private clamp; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/picture/entity/PictureEntity" { import { PictureNode } from 'sk/data/resource/picture/model/PictureNode'; export class PictureEntity extends PictureNode { } } declare module "sk/frame/plugin/editor/resource/picture/display/C2dPicture" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { V2dTexture } from 'foundation/editor/view/view2d/asset/V2dTexture'; import { V2dGraphicContainer } from 'foundation/editor/view/view2d/render/V2dGraphicContainer'; import { V2dGraphicSprite } from 'foundation/editor/view/view2d/render/V2dGraphicSprite'; import { DataDisplay } from 'foundation/editor/view/base/DataDisplay'; import { DisplayContext } from 'foundation/editor/view/base/DisplayContext'; import { PictureBlueprintNode } from 'sk/data/resource/picture/model/PictureBlueprintNode'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; import { C2dLayer } from 'sk/editor/logic/view/canvas2d/C2dLayer'; export class C2dPicture extends DataDisplay { context: C2dCanvasContext; entity: PictureBlueprintNode; layer: C2dLayer; node: V2dGraphicContainer; protected sprite: V2dGraphicSprite; protected texture: V2dTexture; protected _statusDragged: boolean; constructor(); setup(): void; onEntityDirty(sender: ListenerContext, event: DataNodeFieldEvent): void; sceneScale(): number; createNode(): void; onDraw(context?: DisplayContext): void; dirty(): void; dispose(): void; } } declare module "sk/frame/plugin/editor/resource/picture/entity/PictureEditOptions" { import { EditOptions } from 'foundation/editor/view/entity/EditOptions'; export class PictureEditOptions extends EditOptions { rotationX: number; rotationY: number; rotationZ: number; reset(): void; } } declare module "sk/frame/plugin/editor/resource/picture/entity/PictureEditorDocument" { import { PersistentFactory } from 'cross/runtime/module/persistent/PersistentFactory'; import { AssetVersionType } from 'foundation/data/common/resource/AssetUtil'; import { TemplateLogicService } from 'sk/data/resource/model/service/TemplateLogicService'; import { PictureDocument } from 'sk/data/resource/picture/model/PictureDocument'; import { PictureBlueprintEntity } from "sk/frame/plugin/editor/resource/picture/entity/PictureBlueprintEntity"; export class PictureEditorDocument extends PictureDocument { protected static _factory: PersistentFactory; static get Factory(): PersistentFactory; blueprint: PictureBlueprintEntity; baseUrl: string; protected _templateService: TemplateLogicService; constructor(); get factory(): PersistentFactory; loadByIdAsync(id: string, version?: AssetVersionType): Promise; fix(): void; reset(): void; static createEmptyDocument(): PictureEditorDocument; static createDefaultDocument(): PictureEditorDocument; } } declare module "sk/frame/plugin/editor/resource/picture/entity/PictureBlueprintEntity" { import { GridEntity } from 'foundation/editor/view/entity/GridEntity'; import { ObserverViewEntity } from 'foundation/editor/view/entity/ObserverViewEntity'; import { PictureBlueprintNode } from 'sk/data/resource/picture/model/PictureBlueprintNode'; import { PictureEditOptions } from "sk/frame/plugin/editor/resource/picture/entity/PictureEditOptions"; export class PictureBlueprintEntity extends PictureBlueprintNode { editOptions: PictureEditOptions; activeObserver: ObserverViewEntity; grid: GridEntity; constructor(); reset(): void; } } declare module "sk/frame/plugin/editor/resource/picture/frame/PictureConstants" { export class PictureConstants { static ModuleName: string; static DocumentName: string; static CanvasName: string; static SceneName: string; } } declare module "sk/frame/plugin/editor/resource/picture/frame/PictureEditorModule" { import { ModuleContext } from 'cross/runtime/framework/module/ModuleContext'; import { CanvasService } from 'foundation/editor/view/base/CanvasService'; import { FrameEditorModule } from 'sk/editor/view/frame/FrameEditorModule'; import { C2dCanvas } from 'sk/editor/logic/view/canvas2d/C2dCanvas'; import { PictureEditorDocument } from "sk/frame/plugin/editor/resource/picture/entity/PictureEditorDocument"; export class PictureEditorModule extends FrameEditorModule { canvas: C2dCanvas; protected _canvasService: CanvasService; constructor(); get document(): PictureEditorDocument; onStartup(context: ModuleContext): void; onBindCanvasAsync(json?: any): Promise; onReleaseCanvas(): void; static get instance(): PictureEditorModule; } } declare module "sk/frame/plugin/editor/resource/picture/frame/PictureToolBar" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; export class PictureToolBar extends UiContainer { private _saving; protected _uiFrameService: UiFrameService; state: { document: any; modelVisible: boolean; }; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; private makeButtons; private removeTabFrame; private hideModelUploadForm; private afterSubmit; onReload: () => void; onSave: () => Promise; private buttonConfig; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/picture/frame/PictureEditorFrame" { import { PictureDocumentService } from 'sk/data/resource/picture/service/PictureDocumentService'; import { FrameEditorViewFrame, FrameEditorViewFrameProps, FrameEditorViewFrameState } from 'sk/editor/view/frame/FrameEditorViewFrame'; import { PictureEditorDocument } from "sk/frame/plugin/editor/resource/picture/entity/PictureEditorDocument"; import { PictureEditorModule } from "sk/frame/plugin/editor/resource/picture/frame/PictureEditorModule"; export interface PictureEditorFrameProps extends FrameEditorViewFrameProps { } export interface PictureEditorFrameState extends FrameEditorViewFrameState { selectObject?: null; } export class PictureEditorFrame extends FrameEditorViewFrame { static pageName: string; module: PictureEditorModule; document: PictureEditorDocument; protected _documentService: PictureDocumentService; constructor(props?: any, context?: any); loadDocumentAsync(): Promise; resetDocument: () => void; makeToolBar(): any; makeCanvas(): any; makeProperty(): any; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/picture/frame/ResourcePicturePickerComponent" { import { EnvironmentService } from 'cross/runtime/module/environment/EnvironmentService'; import { CustomizedControlNode } from 'sk/editor/frame/service/frame/node/CustomizedControlNode'; import { UiDefineEditControl } from 'sk/editor/frame/ui/base/UiDefineEditControl'; import { ResourcePictureService } from 'sk/frame/logic/storage/resource/resource/picture/ResourcePictureService'; export class ResourcePicturePickerComponent extends UiDefineEditControl { declare: CustomizedControlNode; selectRecord: any; private previewUrl; protected _environmentService: EnvironmentService; protected _resourcePictureService: ResourcePictureService; UNSAFE_componentWillMount(): void; componentPropsChange(nextProps: any, nextContext: any): void; private getPreviewUrl; private makeUploadUrl; private handleChange; private beforeUpload; validate(): boolean; private afterValueChanged; private onAddResourcePicture; private onClearPicture; private onPickOk; getPicTypeAsync(resourceId: string): Promise; private makeResourcePicturePick; buildEditInput(): JSX.Element; } } declare module "sk/frame/plugin/editor/resource/ui/ResourceMaterialEffectResourceIdControl" { import { CustomizedControlNode } from 'sk/editor/frame/service/frame/node/CustomizedControlNode'; import { UiDefineEditControl } from 'sk/editor/frame/ui/base/UiDefineEditControl'; import { UiFormComponent } from 'sk/editor/frame/ui/component/UiFormComponent'; import { UiDataContext } from 'sk/editor/frame/ui/UiDataContext'; export class ResourceMaterialEffectResourceIdControl extends UiDefineEditControl { declare: CustomizedControlNode; data: UiDataContext; form: UiFormComponent; state: { value: string; showModal: boolean; record: any; }; componentStatusChange(state: any, props: any): void; private makeModal; private onClick; buildEditInput(): JSX.Element; } }