/// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// declare module "copyright" { export class FramePluginEditorModuleCopyright { static toString(): string; } } declare module "sk/frame/plugin/editor/module/EditorModulePlugin" { import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; export class EditorFamilyPlugin extends InstanceObject { } } declare module "sk/frame/plugin/editor/module/IndexSpace" { export class IndexSpace { static namespaces(): string[]; } } declare module "sk/frame/plugin/editor/module/layout/entity/LayoutEditOptions" { import { EditOptions } from 'foundation/editor/view/entity/EditOptions'; export class LayoutEditOptions extends EditOptions { rotationX: number; rotationY: number; rotationZ: number; reset(): void; } } declare module "sk/frame/plugin/editor/module/profile/entity/ProfileEditOptions" { import { EditOptions } from 'foundation/editor/view/entity/EditOptions'; export class ProfileEditOptions extends EditOptions { rotationX: number; rotationY: number; rotationZ: number; reset(): void; } } declare module "sk/frame/plugin/editor/module/profile/entity/ProfileBlueprintEntity" { import { GridEntity } from 'foundation/editor/view/entity/GridEntity'; import { ObserverViewEntity } from 'foundation/editor/view/entity/ObserverViewEntity'; import { ProfileBlueprintNode } from 'sk/data/family/structure/profile/model/ProfileBlueprintNode'; import { LayoutEditOptions } from "sk/frame/plugin/editor/module/layout/entity/LayoutEditOptions"; import { ProfileEditOptions } from "sk/frame/plugin/editor/module/profile/entity/ProfileEditOptions"; export class ProfileBlueprintEntity extends ProfileBlueprintNode { activeObserver: ObserverViewEntity; grid: GridEntity; protected _editOptions: ProfileEditOptions; constructor(); get editOptions(): LayoutEditOptions; reset(): void; dispose(): void; } } declare module "sk/frame/plugin/editor/module/profile/entity/ProfileEditorDocument" { import { Types } from 'cross/runtime/lang/collection/Types'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; 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 { Element } from 'sk/data/family/element/base/Element'; import { ProfileDocument } from 'sk/data/family/structure/profile/ProfileDocument'; import { ProfileDocumentService } from 'sk/data/family/structure/profile/ProfileDocumentService'; import { TemplateLogicService } from 'sk/data/resource/model/service/TemplateLogicService'; import { StructureProfileUpdateContentResponse } from 'sk/data/logic/module/message/StructureProfileUpdateContentResponse'; import { ProfileBlueprintEntity } from "sk/frame/plugin/editor/module/profile/entity/ProfileBlueprintEntity"; export class ProfileEditorDocument extends ProfileDocument { protected static _factory: PersistentFactory; static get Factory(): PersistentFactory; blueprint: ProfileBlueprintEntity; baseUrl: string; protected _storageService: StorageDeviceService; protected _templateService: TemplateLogicService; protected _profileDocumentService: ProfileDocumentService; protected selectEntityId: Types; protected constructor(); get factory(): PersistentFactory; pushSelectEntity(num: number): void; clearSelectEntity(): void; isSelectEntity(num: number): boolean; makeStorageCode(): string; loadJson(jconfig: any, options?: any): void; loadByUrlAsync(url: string): Promise; loadByIdAsync(id: string, version?: number | string): Promise; saveAsync(): Promise; saveLocal(): any; computePrepareAsync(element?: Element): Promise; computeVision(element?: Element): void; static createEmptyDocument(json?: any): ProfileEditorDocument; static createDefaultDocument(): ProfileEditorDocument; } } declare module "sk/frame/plugin/editor/module/profile/ui/UiProfileElementCategoryPanel" { import { ProfileStructureElement } from 'sk/data/family/structure/profile/element/ProfileStructureElement'; import { Element } from 'sk/data/family/element/base/Element'; import { ProfileFamilyStructure } from 'sk/data/family/structure/profile/ProfileFamilyStructure'; import { FamilyStructure } from 'sk/data/family/library/FamilyStructure'; import { UiCategoryPanel, UiCategoryPanelProps, UiCategoryPanelState } from 'sk/editor/view/ui/UiCategoryPanel'; export interface UiElementCategoryPanelProps extends UiCategoryPanelProps { } export interface UiElementCategoryPanelState extends UiCategoryPanelState { } export class UiProfileElementCategoryPanel extends UiCategoryPanel { protected makeTitle(element: Element): any; protected makeVariables(element: ProfileStructureElement): JSX.Element; protected makeStructElement(element: Element, familyStructure?: ProfileFamilyStructure): JSX.Element; protected makeDocument(element: ProfileStructureElement, familyStructure: ProfileFamilyStructure): JSX.Element; makeElement(element: Element, familyStructure: FamilyStructure): any; onSelect: (selectedKeys: string[], e: any) => void; makeNodes(): any; } } declare module "sk/frame/plugin/editor/module/profile/ui/ProfileCategoryTabPanel" { import { UiCategoryTabPanel } from 'sk/editor/view/ui/UiCategoryTabPanel'; export class ProfileCategoryTabPanel extends UiCategoryTabPanel { render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/profile/ui/ProfilePropertyTabPanel" { import { UiPropertyTabPanel } from 'sk/editor/view/ui/UiPropertyTabPanel'; export class ProfilePropertyTabPanel extends UiPropertyTabPanel { render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/profile/frame/ProfileConstants" { export class ProfileConstants { static ModuleName: string; static DocumentName: string; static CanvasName: string; static SceneName: string; } } declare module "sk/frame/plugin/editor/module/profile/action/dummy/MovePointEvent" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { ElementNode } from 'foundation/data/common/element/ElementNode'; import { ActionEvent } from 'foundation/editor/view/action/ActionEvent'; export class MovePointEvent extends ActionEvent { startPoint: Vector2; pointElmentTemp: ElementNode; } } declare module "sk/frame/plugin/editor/module/profile/action/dummy/MovePointAction" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { ElementNode } from 'foundation/data/common/element/ElementNode'; import { Action } from 'foundation/editor/view/action/Action'; import { CreateTempFreeform } from "sk/frame/plugin/editor/module/profile/action/dummy/CreateTempFreeform"; import { MovePointEvent } from "sk/frame/plugin/editor/module/profile/action/dummy/MovePointEvent"; export class MovePointAction extends Action { startPoint: Vector2; pointElmentTemp: ElementNode; document: any; _createTempFreeForm: CreateTempFreeform; protected isCommandInputting: boolean; setCommandInputting(isCommandInputting: boolean): void; constructor(); changePointPosition(endpos: Vector2): void; onExecute(event: MovePointEvent): void; } } declare module "sk/frame/plugin/editor/module/profile/ProfileCanvas2d" { import { SchemeCanvas2d } from 'sk/editor/scheme/view/canvas2d/SchemeCanvas2d'; export class ProfileCanvas2d extends SchemeCanvas2d { constructor(); } } declare module "sk/frame/plugin/editor/module/profile/view/C2dCircleArc2CurvePorfile" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { NodeFieldEvent } from 'cross/runtime/framework/node/NodeFieldEvent'; import { KeyboardDeviceEvent } from 'cross/editor/device/keyboard/KeyboardDeviceEvent'; import { KeyboardDeviceService } from 'cross/editor/device/keyboard/KeyboardDeviceService'; import { CircleArcCurve2d } from 'foundation/runtime/geometry/curve2d/CircleArcCurve2d'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { C2dCircleArc2Curve } from 'sk/editor/family/view/canvas2d/geometric/C2dCircleArc2Curve'; export class C2dCircleArc2CurvePorfile extends C2dCircleArc2Curve { curveCache: CircleArcCurve2d; protected radius: number; onLocalEntityFieldChanged(sender: ListenerContext, event: any): void; createNode(): void; onLinkNodeDirty(sender: ListenerContext, event: NodeFieldEvent): void; updateShape(): void; protected isdown: boolean; protected _keyboardService: KeyboardDeviceService; protected _lineWidthStart: number; protected _selectionService: SelectionService; onSelect(): void; cancleSelect(): void; onKeyboardDown(sender: ListenerContext, event: KeyboardDeviceEvent): void; dispose(): void; } } declare module "sk/frame/plugin/editor/module/profile/view/C2dCircleArc3CurvePorfile" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { NodeFieldEvent } from 'cross/runtime/framework/node/NodeFieldEvent'; import { KeyboardDeviceEvent } from 'cross/editor/device/keyboard/KeyboardDeviceEvent'; import { KeyboardDeviceService } from 'cross/editor/device/keyboard/KeyboardDeviceService'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { CircleArcCurve2d } from 'foundation/runtime/geometry/curve2d/CircleArcCurve2d'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { C2dCircleArc3Curve } from 'sk/editor/family/view/canvas2d/geometric/C2dCircleArc3Curve'; export class C2dCircleArc3CurveProfile extends C2dCircleArc3Curve { curveCache: CircleArcCurve2d; protected radius: number; onLocalEntityFieldChanged(sender: ListenerContext, event: any): void; createNode(): void; onLinkNodeDirty(sender: ListenerContext, event: NodeFieldEvent): void; updateShape(): void; computeArc(p1: Vector2, p2: Vector2, p3: Vector2): void; isLeft(a: Vector3, b: Vector3, c: Vector3): boolean; protected isdown: boolean; protected _keyboardService: KeyboardDeviceService; protected _lineWidthStart: number; protected _selectionService: SelectionService; onSelect(): void; cancleSelect(): void; onKeyboardDown(sender: ListenerContext, event: KeyboardDeviceEvent): void; dispose(): void; } } declare module "sk/frame/plugin/editor/module/profile/view/C2dProfileBase" { 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 { DataDisplay } from 'foundation/editor/view/base/DataDisplay'; 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 { C2dBaseController } from "sk/frame/plugin/editor/module/common/view/C2dBaseController"; export class C2dProfileBase extends DataDisplay { context: C2dCanvasContext; layer: C2dLayer; node: V2dGraphicContainer; controller: C2dBaseController; protected graphics: V2dGraphicDrawing; protected _lineWidth: number; protected _lineColor: number; protected _color: number; protected static HoverColor: number; protected static SelectColor: number; constructor(); setup(): void; onScaleChange(): void; onEntityFlagChanged(sender: ListenerContext, event: DataNodeFlagEvent): void; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; onEntityDirty(sender: ListenerContext, event: DataNodeFieldEvent): void; onActivate(): void; onDeactivate(): void; sceneScale(): number; dirty(): void; createNode(): any; onDraw(context?: DisplayContext): void; updateTransform(): void; updateStyleStatus(): void; updateShape(): void; removeFromView(): void; dispose(): void; } } declare module "sk/frame/plugin/editor/module/profile/view/C2dCircleCurveProfile" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { NodeFieldEvent } from 'cross/runtime/framework/node/NodeFieldEvent'; import { KeyboardDeviceEvent } from 'cross/editor/device/keyboard/KeyboardDeviceEvent'; import { KeyboardDeviceService } from 'cross/editor/device/keyboard/KeyboardDeviceService'; import { CircleCurve2d } from 'foundation/runtime/geometry/curve2d/CircleCurve2d'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { C2dProfileBase } from "sk/frame/plugin/editor/module/profile/view/C2dProfileBase"; export class C2dCircleCurveProfile extends C2dProfileBase { curveCache: CircleCurve2d; createNode(): void; onLinkNodeDirty(sender: ListenerContext, event: NodeFieldEvent): void; updateShape(): void; dispose(): void; protected isdown: boolean; protected _keyboardService: KeyboardDeviceService; protected _lineWidthStart: number; protected _selectionService: SelectionService; onSelect(): void; cancleSelect(): void; onKeyboardDown(sender: ListenerContext, event: KeyboardDeviceEvent): void; } } declare module "sk/frame/plugin/editor/module/profile/view/C2dLineCurveProfile" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { NodeFieldEvent } from 'cross/runtime/framework/node/NodeFieldEvent'; import { KeyboardDeviceEvent } from 'cross/editor/device/keyboard/KeyboardDeviceEvent'; import { KeyboardDeviceService } from 'cross/editor/device/keyboard/KeyboardDeviceService'; import { LineCurve2d } from 'foundation/runtime/geometry/curve2d/LineCurve2d'; import { LineCurve2dNode } from 'foundation/data/common/model/brep/geometric/curve2d/LineCurve2dNode'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { V2dGraphicDrawing } from 'foundation/editor/view/view2d/render/V2dGraphicDrawing'; import { C2dProfileBase } from "sk/frame/plugin/editor/module/profile/view/C2dProfileBase"; export class C2dLineCurveProfile extends C2dProfileBase { curveCache: LineCurve2d; nodeHook: V2dGraphicDrawing; entity: LineCurve2dNode; protected isdown: boolean; protected _keyboardService: KeyboardDeviceService; protected _lineWidthStart: number; protected _selectionService: SelectionService; setup(): void; onScaleChange(): void; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; canDraw(): boolean; createNode(): void; onLinkNodeDirty(sender: ListenerContext, event: NodeFieldEvent): void; updateShape(): void; updateStyleStatus(): void; dispose(): void; onSelect(): void; cancleSelect(): void; onKeyboardDown(sender: ListenerContext, event: KeyboardDeviceEvent): void; } } declare module "sk/frame/plugin/editor/module/profile/view/C2dPointProfile" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { KeyboardDeviceEvent } from 'cross/editor/device/keyboard/KeyboardDeviceEvent'; import { KeyboardDeviceService } from 'cross/editor/device/keyboard/KeyboardDeviceService'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { PointNode } from 'foundation/data/common/model/brep/geometric/PointNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { C2dProfileBase } from "sk/frame/plugin/editor/module/profile/view/C2dProfileBase"; export class C2dPointProfile extends C2dProfileBase { protected isdown: boolean; entity: PointNode; protected _keyboardService: KeyboardDeviceService; protected _lineWidthStart: number; protected _selectionService: SelectionService; radius: number; position: Vector2; onScaleChange(): void; createNode(): void; updateShape(): void; updateTransform(): void; onSelect(): void; cancleSelect(): void; onKeyboardDown(sender: ListenerContext, event: KeyboardDeviceEvent): void; dispose(): void; } } declare module "sk/frame/plugin/editor/module/profile/view/C2dPolylinePorfile" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { NodeFieldEvent } from 'cross/runtime/framework/node/NodeFieldEvent'; import { KeyboardDeviceEvent } from 'cross/editor/device/keyboard/KeyboardDeviceEvent'; import { KeyboardDeviceService } from 'cross/editor/device/keyboard/KeyboardDeviceService'; import { LineCurve2d } from 'foundation/runtime/geometry/curve2d/LineCurve2d'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { C2dPolylineCurve2d } from 'sk/editor/family/view/canvas2d/geometric/C2dPolylineCurve2d'; export class C2dPolylinePorfile extends C2dPolylineCurve2d { curveCache: LineCurve2d[]; _lineColor: number; _lineWidth: number; createNode(): void; addPoint(): void; updateShape(): void; onLinkNodeDirty(sender: ListenerContext, event: NodeFieldEvent): void; dispose(): void; protected isdown: boolean; protected _keyboardService: KeyboardDeviceService; protected _lineWidthStart: number; protected _selectionService: SelectionService; onSelect(): void; cancleSelect(): void; onKeyboardDown(sender: ListenerContext, event: KeyboardDeviceEvent): void; } } declare module "sk/frame/plugin/editor/module/profile/view/C2dGridProfile" { 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 { WheelDeviceEvent } from 'cross/editor/device/mouse/WheelDeviceEvent'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { DataNode, DataNodeCollection } from 'foundation/data/common/model/base/DataNode'; import { PixiHookEvent } from 'sk/editor/render/pixi/PixiHookEvent'; import { C2dCanvasController } from 'sk/editor/logic/view/canvas2d/C2dCanvasController'; import { C2dGrid } from 'sk/editor/logic/view/canvas2d/C2dGrid'; import { ProfileEditorDocument } from "sk/frame/plugin/editor/module/profile/entity/ProfileEditorDocument"; import { ProfileCanvas2d } from "sk/frame/plugin/editor/module/profile/ProfileCanvas2d"; export class C2dGridProfile extends C2dGrid { protected _statusDown: boolean; protected _statusDragging: boolean; protected _lastX: number; protected _lastY: number; protected _hookEventDragStart: PixiHookEvent; protected _hookEventDrag: PixiHookEvent; protected _hookEventDragEnd: PixiHookEvent; protected torlerance: number; getScale(): number; protected _mouseService: MouseDeviceService; protected isChanging: boolean; choseCache: any; protected canvasController: C2dCanvasController; protected nodeAll: DataNodeCollection; hasNodes: boolean; protected canvas: ProfileCanvas2d; document: ProfileEditorDocument; protected _keyboardService: KeyboardDeviceService; constructor(); setup(): void; onMouseMove(sender: ListenerContext, event: MouseDeviceEvent): void; protected isSelectPointFromParentNode(parentNode: DataNode, p: Vector2): boolean; protected isSelectPointFromPointNode(pointNode: DataNode, p: Vector2): boolean; onClick(sender: ListenerContext, event: MouseDeviceEvent): void; onMouseWheel(sender: ListenerContext, event: WheelDeviceEvent): void; sleep(time: number): void; isOnPoint(pointClick: Vector2, pointOriginal: Vector2, distance: number): boolean; onDragStart(sender: ListenerContext, event: MouseDeviceEvent): void; onDragMove(sender: ListenerContext, event: MouseDeviceEvent): void; onDragEnd(sender: ListenerContext, event: MouseDeviceEvent): void; onKeyboardDown(sender: ListenerContext, event: KeyboardDeviceEvent): void; dispose(): void; } } declare module "sk/frame/plugin/editor/module/profile/action/dummy/CreateTempFreeform" { 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 { Display, DisplayIdMap } from 'foundation/editor/view/base/Display'; import { DisplayContext } from 'foundation/editor/view/base/DisplayContext'; import { PointElement } from 'sk/data/family/element/brep/geometric/PointElement'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; import { C2dLayer } from 'sk/editor/logic/view/canvas2d/C2dLayer'; import { C2dLayers } from 'sk/editor/logic/view/canvas2d/C2dLayers'; import { C2dGridProfile } from "sk/frame/plugin/editor/module/profile/view/C2dGridProfile"; import { C2dPointProfile } from "sk/frame/plugin/editor/module/profile/view/C2dPointProfile"; type PointInfo = { display: C2dPointProfile; element: PointElement; point: Vector2; }; export class CreateTempFreeform extends Display { context: C2dCanvasContext; canvasContext: C2dCanvasContext; layer: C2dLayer; node: V2dGraphicContainer; protected graphics: V2dGraphicDrawing; protected clickCount: number; protected gridTemp: C2dGridProfile; protected displayMap: DisplayIdMap; protected layersTemp: C2dLayers; protected isCommandInputting: boolean; protected _mouseService: MouseDeviceService; protected _keyboardService: KeyboardDeviceService; constructor(); setCommandInputting(isCommandInputting: boolean): void; createNode(): void; onDraw(context?: DisplayContext): void; updateShape(): void; protected onClick(sender: ListenerContext, event: MouseDeviceEvent): void; protected onMouseMove(sender: ListenerContext, event: MouseDeviceEvent): void; protected onKeyboardDown(sender: ListenerContext, event: KeyboardDeviceEvent): void; protected adsorbPoint(point: Vector2): Vector2; protected adsorbPointInfo(point: Vector2): PointInfo; protected adsorbAxis(point: Vector2, anchorPoint: Vector2, tolerances: number): Vector2; protected isOnPoint(pointClick: Vector2, pointOriginal: Vector2, distance: number): boolean; removeFromView(): void; dispose(): void; createPoint(point: Vector2): void; createFreeFormPoint(point: Vector2): void; commandInputting(commandStr: string): void; commandExecute(commandStr: string): void; } } declare module "sk/frame/plugin/editor/module/profile/action/dummy/CreatTempActionEvent" { import { ActionEvent } from 'foundation/editor/view/action/ActionEvent'; import { C2dCanvas } from 'sk/editor/logic/view/canvas2d/C2dCanvas'; import { ProfileToolBar } from "sk/frame/plugin/editor/module/profile/ui/ProfileToolBar"; export class CreatTempActionEvent extends ActionEvent { canvas: C2dCanvas; _profileToolBar: ProfileToolBar; } } declare module "sk/frame/plugin/editor/module/profile/action/dummy/CreateTempAction" { import { Action } from 'foundation/editor/view/action/Action'; import { C2dCanvas } from 'sk/editor/logic/view/canvas2d/C2dCanvas'; import { ProfileToolBar } from "sk/frame/plugin/editor/module/profile/ui/ProfileToolBar"; import { CreateTempFreeform } from "sk/frame/plugin/editor/module/profile/action/dummy/CreateTempFreeform"; import { CreatTempActionEvent } from "sk/frame/plugin/editor/module/profile/action/dummy/CreatTempActionEvent"; export class CreateTempAction extends Action { canvas: C2dCanvas; _porfileToolBar: ProfileToolBar; document: any; _createTempFreeForm: CreateTempFreeform; constructor(); onExecute(event: CreatTempActionEvent): void; onUndo(): void; onRedo(): void; cancel(event?: any): void; complete(event?: CreatTempActionEvent): any; } } declare module "sk/frame/plugin/editor/module/profile/action/dummy/CircleAcr2CreateAction" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { PointElement } from 'sk/data/family/element/brep/geometric/PointElement'; import { CreateTempAction } from "sk/frame/plugin/editor/module/profile/action/dummy/CreateTempAction"; export class CircleAcr2CreateAction extends CreateTempAction { creatCircleAcr(startpos: Vector3, endpos: Vector3, radius: number, optionForward: boolean): void; creatCircleAcrProfile(startpos: Vector3, startElement: PointElement, endpos: Vector3, endElement: PointElement, radius: number, optionForward: boolean): void; } } declare module "sk/frame/plugin/editor/module/profile/action/dummy/CircleAcr3PointsCreateAction" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { CreateTempAction } from "sk/frame/plugin/editor/module/profile/action/dummy/CreateTempAction"; export class CircleAcr3PointsCreateAction extends CreateTempAction { creatCircleAcr(startpos: Vector3, controlpos: Vector3, endpos: Vector3): void; } } declare module "sk/frame/plugin/editor/module/profile/action/dummy/CircleCreateAction" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { PointElement } from 'sk/data/family/element/brep/geometric/PointElement'; import { CreateTempAction } from "sk/frame/plugin/editor/module/profile/action/dummy/CreateTempAction"; export class CircleCreateAction extends CreateTempAction { creatCircle(startpos: Vector2, endpos: Vector2): void; creatCircleProfile(startpos: Vector2, startElement: PointElement, endpos: Vector2, endElement: PointElement): void; } } declare module "sk/frame/plugin/editor/module/profile/action/dummy/LineCreateAction" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { PointDrawingElement } from 'sk/data/family/element/brep/drawing/PointDrawingElement'; import { PointElement } from 'sk/data/family/element/brep/geometric/PointElement'; import { CreateTempAction } from "sk/frame/plugin/editor/module/profile/action/dummy/CreateTempAction"; export class LineCreateAction extends CreateTempAction { lastPointElement: PointDrawingElement; creatLine(startpos: Vector2, endpos: Vector2): void; creatLineProfile(startpos: Vector2, startElement: PointElement, endpos: Vector2, endElement: PointElement): void; creatLineContinuous(endpos: Vector2): void; } } declare module "sk/frame/plugin/editor/module/profile/action/dummy/PointCreateAction" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { CreateTempAction } from "sk/frame/plugin/editor/module/profile/action/dummy/CreateTempAction"; export class PointCreateAction extends CreateTempAction { creatLine(pos: Vector2): void; } } declare module "sk/frame/plugin/editor/module/profile/action/dummy/PolyLineCreateAction" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { CreateTempAction } from "sk/frame/plugin/editor/module/profile/action/dummy/CreateTempAction"; export class PolyLineCreateAction extends CreateTempAction { creatLine(pos: Vector2[]): void; } } declare module "sk/frame/plugin/editor/module/profile/action/ProfileAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { StructureElement } from 'sk/data/family/element/base/StructureElement'; import { FamilyStructure } from 'sk/data/family/library/FamilyStructure'; import { ProfileBlueprintEntity } from "sk/frame/plugin/editor/module/profile/entity/ProfileBlueprintEntity"; import { ProfileActionEvent } from "sk/frame/plugin/editor/module/profile/action/content/ProfileActionEvent"; export class ProfileAction extends Action { document: any; blueprint: ProfileBlueprintEntity; profileStructure: FamilyStructure; structure: StructureElement; protected _selectionService: SelectionService; onSetup(): void; onReceive(code: string, event: ProfileActionEvent): boolean; } } declare module "sk/frame/plugin/editor/module/profile/action/content/ProfileElementAddAction" { import { ProfileAction } from "sk/frame/plugin/editor/module/profile/action/ProfileAction"; import { ProfileActionEvent } from "sk/frame/plugin/editor/module/profile/action/content/ProfileActionEvent"; export type StorageData = { visible: boolean; }; export class ProfileElementAddAction extends ProfileAction { visible: boolean; protected _savedData: StorageData; protected _restoreData: StorageData; constructor(); onExecute(event?: ProfileActionEvent): boolean; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/module/profile/action/content/ProfileElementRemoveAction" { import { ProfileAction } from "sk/frame/plugin/editor/module/profile/action/ProfileAction"; import { ProfileActionEvent } from "sk/frame/plugin/editor/module/profile/action/content/ProfileActionEvent"; export class ProfileElementRemoveAction extends ProfileAction { onExecute(event?: ProfileActionEvent): boolean; } } declare module "sk/frame/plugin/editor/module/profile/action/ProfileActionUtil" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { ActionService } from 'foundation/editor/view/action/ActionService'; export class ProfileActionUtil { protected static _actionService: ActionService; protected static _selectionService: SelectionService; static addProfileElement(elementClass: any): void; static deleteSelectedNode(element: any, frame: any): void; } } declare module "sk/frame/plugin/editor/module/profile/frame/ProfileEditorModule" { 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 { ProfileEditorDocument } from "sk/frame/plugin/editor/module/profile/entity/ProfileEditorDocument"; export class ProfileEditorModule extends FrameEditorModule { _document: ProfileEditorDocument; canvas: C2dCanvas; protected _canvasService: CanvasService; constructor(); onStartup(context: ModuleContext): void; onBindCanvasAsync(json?: any): Promise; onReleaseCanvas(): void; static get instance(): ProfileEditorModule; } } declare module "sk/frame/plugin/editor/module/profile/ui/ProfileToolBar" { import { HttpDeviceService } from 'cross/core/device/http/HttpDeviceService'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { ProfileDocumentService } from 'sk/data/family/structure/profile/ProfileDocumentService'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { ProfileEditorDocument } from "sk/frame/plugin/editor/module/profile/entity/ProfileEditorDocument"; export class ProfileToolBar extends UiContainer { document: ProfileEditorDocument; protected _httpService: HttpDeviceService; protected _uiFrameService: UiFrameService; protected _profileDocumentService: ProfileDocumentService; componentStatusChange(state: any, props: any): void; protected hasEnoughPoints(): boolean; protected _actionService: ActionService; onCreateNode(code: string): Function; onDelete: () => void; onClear: () => void; private importFileCallback; onImportFile: () => void; onExportFile: () => void; onSave: () => Promise; onClose: () => void; private makeButtons; protected map: { [key: string]: any; }; private buttonConfig; private onCommandExecute; private onCommandInputting; private onFocus; private onBlur; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/profile/frame/PointTextView" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { MouseDeviceEvent } from 'cross/editor/device/mouse/MouseDeviceEvent'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { UiContainer, UiContainerProps, UiContainerState } from 'foundation/editor/ui/core/UiContainer'; import { C2dCanvas } from 'sk/editor/logic/view/canvas2d/C2dCanvas'; export interface PointTextViewProps extends UiContainerProps { } export interface PointTextViewState extends UiContainerState { pointer?: Vector2; } export class PointTextView

extends UiContainer { protected _canvas: C2dCanvas; protected _mouseIsDown: boolean; protected onBindView: (view: any) => void; onMouseUp: (sender: ListenerContext, event: MouseDeviceEvent) => void; onMouseDown: (sender: ListenerContext, event: MouseDeviceEvent) => void; onGridMove: (sender: ListenerContext, event: MouseDeviceEvent) => void; disposeListenner(): void; dispose(): void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/profile/frame/ProfileEditorFrame" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { MouseDeviceService } from 'cross/editor/device/mouse/MouseDeviceService'; import { Vector2 } from 'foundation/runtime/math/Vector2'; 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 { ActionService } from 'foundation/editor/view/action/ActionService'; import { FrameEditorFrame, FrameEditorFrameProps, FrameEditorFrameState } from 'sk/editor/view/frame/FrameEditorFrame'; import { ProfileEditorDocument } from "sk/frame/plugin/editor/module/profile/entity/ProfileEditorDocument"; import { ProfileEditorModule } from "sk/frame/plugin/editor/module/profile/frame/ProfileEditorModule"; export interface ProfileEditorFrameProps extends FrameEditorFrameProps { } export interface ProfileEditorFrameState extends FrameEditorFrameState { selectedElement?: null; statusOpened?: boolean; pointer?: Vector2; editing: boolean; } export class ProfileEditorFrame

extends FrameEditorFrame { static pageName: string; module: ProfileEditorModule; document: ProfileEditorDocument; private _tree; protected _mouseService: MouseDeviceService; protected _actionService: ActionService; protected _mouseIsDown: boolean; protected _pointTextRef: any; constructor(props?: any, context?: any); initListenner(): void; disposeListenner(): void; loadDocumentAsync(): Promise; refreshTree: () => void; onSelectionChanged(sender: ListenerContext, event: SelectionEvent): void; onSelectElement: (selectedElement: any) => void; onCanvasViewChange: (id: string, modeCd: ObserverModeEnum, typeCd: ObserverTypeEnum) => () => void; protected onCenterCanvas(): void; protected makeCanvas(): JSX.Element; protected onBindView: (view: any) => void; protected onSplitResize: () => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/profile/action/content/ProfileActionEvent" { import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { ProfileEditorFrame } from "sk/frame/plugin/editor/module/profile/frame/ProfileEditorFrame"; export class ProfileActionEvent extends ContentActionEvent { elementClass: Element; frame: ProfileEditorFrame; free(): void; } } declare module "sk/frame/plugin/editor/module/common/view/C2dBaseController" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { DisplayController } from 'foundation/editor/view/base/DisplayController'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; export class C2dBaseController extends DisplayController { context: C2dCanvasContext; protected _eventHooks: Array; constructor(); bindEvent(): void; onClick(event: PIXI.interaction.InteractionEvent): void; onMouseOver(event: PIXI.interaction.InteractionEvent): void; onMouseOut(event: PIXI.interaction.InteractionEvent): void; onMouseMove(event: MouseEvent, x: number, y: number): void; onMouseUp(event: MouseEvent): void; onDragStart(event: MouseEvent, x: number, y: number): void; startMoveAction(point: Vector2, mouseEvent: MouseEvent): void; onDragMove(event: PIXI.interaction.InteractionEvent, cx: number, cy: number): void; onDragEnd(event: PIXI.interaction.InteractionEvent): void; dispose(): void; } } declare module "sk/frame/plugin/editor/module/drawing/entity/DrawingEditOptions" { import { EditOptions } from 'foundation/editor/view/entity/EditOptions'; export class DrawingEditOptions extends EditOptions { rotationX: number; rotationY: number; rotationZ: number; reset(): void; } } declare module "sk/frame/plugin/editor/module/drawing/entity/DrawingBlueprintEntity" { import { GridEntity } from 'foundation/editor/view/entity/GridEntity'; import { ObserverViewEntity } from 'foundation/editor/view/entity/ObserverViewEntity'; import { DrawingBlueprintNode } from 'sk/data/family/drawing/model/DrawingBlueprintNode'; import { DrawingEditOptions } from "sk/frame/plugin/editor/module/drawing/entity/DrawingEditOptions"; export class DrawingBlueprintEntity extends DrawingBlueprintNode { editOptions: DrawingEditOptions; activeObserver: ObserverViewEntity; grid: GridEntity; constructor(); reset(): void; } } declare module "sk/frame/plugin/editor/module/drawing/entity/DrawingEditorDocument" { import { PersistentFactory } from 'cross/runtime/module/persistent/PersistentFactory'; import { StorageDeviceService } from 'cross/core/device/storage/StorageDeviceService'; import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { LogicResult } from 'foundation/data/common/logic/LogicResult'; import { ContainerElement } from 'sk/data/family/element/brep/frame/ContainerElement'; import { DrawingFrameElement } from 'sk/data/family/drawing/element/DrawingFrameElement'; import { DrawingDocument } from 'sk/data/family/drawing/DrawingDocument'; import { FamilyDocumentService } from 'sk/data/family/service/FamilyDocumentService'; import { TemplateLogicService } from 'sk/data/resource/model/service/TemplateLogicService'; import { DrawingUpdateContentResponse } from 'sk/data/logic/module/message/DrawingUpdateContentResponse'; import { DrawingBlueprintEntity } from "sk/frame/plugin/editor/module/drawing/entity/DrawingBlueprintEntity"; export class DrawingEditorDocument extends DrawingDocument { protected static _factory: PersistentFactory; protected _storageService: StorageDeviceService; protected _familyDocumentService: FamilyDocumentService; static get Factory(): PersistentFactory; blueprint: DrawingBlueprintEntity; baseUrl: string; protected _templateService: TemplateLogicService; protected constructor(); get factory(): PersistentFactory; makeStorageCode(): string; loadByUrlAsync(url: string): Promise; loadByIdAsync(id: string, version?: number | string): Promise; saveAsync(): Promise; saveLocal(): any; findContentByElement(element: ContainerElement): DataNode; computeVision(element?: DrawingFrameElement): void; static createEmptyDocument(json?: any): DrawingEditorDocument; static createDefaultDocument(): DrawingEditorDocument; } } declare module "sk/frame/plugin/editor/module/drawing/frame/DrawingConstants" { export class DrawingConstants { static ModuleName: string; static DocumentName: string; static CanvasName: string; static SceneName: string; } } declare module "sk/frame/plugin/editor/module/drawing/action/content/DrawingActionEvent" { import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { DrawingFrameElement } from 'sk/data/family/drawing/element/DrawingFrameElement'; export class DrawingActionEvent extends ContentActionEvent { frameElement: DrawingFrameElement; parentElement: any; element: any; width: number; height: number; elementClass: any; free(): void; } } declare module "sk/frame/plugin/editor/module/drawing/action/DrawingAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { StructureElement } from 'sk/data/family/element/base/StructureElement'; import { FamilyStructure } from 'sk/data/family/library/FamilyStructure'; import { DrawingBlueprintEntity } from "sk/frame/plugin/editor/module/drawing/entity/DrawingBlueprintEntity"; import { DrawingEditorDocument } from "sk/frame/plugin/editor/module/drawing/entity/DrawingEditorDocument"; import { DrawingActionEvent } from "sk/frame/plugin/editor/module/drawing/action/content/DrawingActionEvent"; export class DrawingAction extends Action { document: DrawingEditorDocument; blueprint: DrawingBlueprintEntity; familyStructure: FamilyStructure; structure: StructureElement; protected _selectionService: SelectionService; onSetup(): void; onReceive(code: string, event: DrawingActionEvent): any; } } declare module "sk/frame/plugin/editor/module/drawing/action/content/DrawingAddAction" { import { DrawingAction } from "sk/frame/plugin/editor/module/drawing/action/DrawingAction"; import { DrawingActionEvent } from "sk/frame/plugin/editor/module/drawing/action/content/DrawingActionEvent"; export class DrawingAddAction extends DrawingAction { element: any; onExecute(event: DrawingActionEvent): void; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/module/drawing/action/content/DrawingDeleteAction" { import { DrawingAction } from "sk/frame/plugin/editor/module/drawing/action/DrawingAction"; import { DrawingActionEvent } from "sk/frame/plugin/editor/module/drawing/action/content/DrawingActionEvent"; export class DrawingDeleteAction extends DrawingAction { element: any; protected parentElement: any; onExecute(event: DrawingActionEvent): void; deleteElement(): void; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/module/drawing/action/DrawingActionUtil" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { DrawingFrameElement } from 'sk/data/family/drawing/element/DrawingFrameElement'; import { DrawingEditorDocument } from "sk/frame/plugin/editor/module/drawing/entity/DrawingEditorDocument"; export class DrawingActionUtil { protected static _actionService: ActionService; protected static _selectionService: SelectionService; static addDrawingNode(frameElement: DrawingFrameElement, parentElement: any, elementClass: any, position?: Vector2): void; static framePositionUpdate(document: DrawingEditorDocument): void; static deleteSelectedNode(): void; } } declare module "sk/frame/plugin/editor/module/drawing/action/content/ContentDisplayAction" { import { ContentNode } from 'foundation/data/common/model/brep/ContentNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { DrawingActionEvent } from "sk/frame/plugin/editor/module/drawing/action/content/DrawingActionEvent"; export type StorageData = { visible: boolean; }; export class ContentDisplayAction extends Action { chest: ContentNode; content: ContentNode; visible: boolean; protected _savedData: StorageData; protected _restoreData: StorageData; protected _selectionService: SelectionService; constructor(); protected switchVisible(visible: boolean): void; onExecute(event?: DrawingActionEvent): void; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/module/drawing/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/module/drawing/action/content/ContentScaleAction" { import { Action } from 'foundation/editor/view/action/Action'; export class ContentScaleAction extends Action { content: any; contentpos: any; cscale: any; } } declare module "sk/frame/plugin/editor/module/drawing/action/content/DrawingMoveAction" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { DrawingAction } from "sk/frame/plugin/editor/module/drawing/action/DrawingAction"; import { DrawingActionEvent } from "sk/frame/plugin/editor/module/drawing/action/content/DrawingActionEvent"; export class DrawingMoveAction extends DrawingAction { element: any; protected _basePoint: Vector2; protected _baseOffset: Vector2; protected _saveInfo: any; private _isMoved; constructor(); isContentMoved(): boolean; move(offset: Vector3, parameters: any): void; moveTo(offset: Vector3): void; onExecute(event?: any): void; onReceive(code: string, event: DrawingActionEvent): boolean; protected saveRestoreData(): void; protected onUndoRedo(): void; } } declare module "sk/frame/plugin/editor/module/drawing/action/content/DrawingAddCompositeAction" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { CompositeAction } from 'foundation/editor/view/action/CompositeAction'; import { DrawingActionEvent } from "sk/frame/plugin/editor/module/drawing/action/content/DrawingActionEvent"; export class DrawingAddCompositeAction extends CompositeAction { position: Vector2; rotation: number; entity: any; constructor(); onExecute(event?: DrawingActionEvent): void; onReceive(code: string, event: any): boolean; } } declare module "sk/frame/plugin/editor/module/drawing/action/selection/SelectionSelectProcess" { import { EditingService } from 'foundation/editor/base/selection/EditingService'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { SelectActionEvent } from 'foundation/editor/view/action/selection/SelectActionEvent'; import { SelectActionEventEnum } from 'foundation/editor/view/action/selection/SelectActionEventEnum'; import { ActionService } from 'foundation/editor/view/action/ActionService'; export class SelectionSelectProcess { entity: any; entityPath: Array; event: any; multiSelect: boolean; protected _selectionService: SelectionService; protected _editingService: EditingService; protected _actionService: ActionService; constructor(); process(selectType: SelectActionEventEnum, event: SelectActionEvent): void; } } declare module "sk/frame/plugin/editor/module/drawing/entity/DrawingDomainEntity" { import { DrawingDomainNode } from 'sk/data/family/drawing/model/DrawingDomainNode'; export class DrawingDomainEntity extends DrawingDomainNode { } } declare module "sk/frame/plugin/editor/module/drawing/entity/DrawingFrameEntity" { import { DrawingFrameNode } from 'sk/data/family/drawing/model/DrawingFrameNode'; export class DrawingFrameEntity extends DrawingFrameNode { } } declare module "sk/frame/plugin/editor/module/drawing/entity/MemoControlEntity" { import { MemoControlNode } from 'sk/data/family/model/brep/frame/control/MemoControlNode'; export class MemoControlEntity extends MemoControlNode { } } declare module "sk/frame/plugin/editor/module/drawing/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/module/drawing/entity/PanelControlEntity" { import { PanelControlNode } from 'sk/data/family/model/brep/frame/control/PanelControlNode'; export class PanelControlEntity extends PanelControlNode { } } declare module "sk/frame/plugin/editor/module/drawing/entity/PictureControlEntity" { import { PictureControlNode } from 'sk/data/family/model/brep/frame/control/PictureControlNode'; export class PictureControlEntity extends PictureControlNode { } } declare module "sk/frame/plugin/editor/module/drawing/entity/PolygonCurve2dEntity" { import { PolygonCurve2dNode } from 'foundation/data/common/model/brep/geometric/curve2d/PolygonCurve2dNode'; export class PolygonCurved2dEntity extends PolygonCurve2dNode { static CLASS_NAME: string; } } declare module "sk/frame/plugin/editor/module/drawing/entity/PolylineCurve2dEntity" { import { PolylineCurve2dNode } from 'foundation/data/common/model/brep/geometric/curve2d/PolylineCurve2dNode'; export class PolylineCurved2dEntity extends PolylineCurve2dNode { static CLASS_NAME: string; } } declare module "sk/frame/plugin/editor/module/drawing/entity/TextControlEntity" { import { TextControlNode } from 'sk/data/family/model/brep/frame/control/TextControlNode'; export class TextControlEntity extends TextControlNode { } } declare module "sk/frame/plugin/editor/module/drawing/frame/DrawingEditorModule" { 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 { DrawingEditorDocument } from "sk/frame/plugin/editor/module/drawing/entity/DrawingEditorDocument"; export class DrawingEditorModule extends FrameEditorModule { canvas: C2dCanvas; protected _document: DrawingEditorDocument; protected _canvasService: CanvasService; constructor(); get document(): DrawingEditorDocument; onStartup(context: ModuleContext): void; onBindCanvasAsync(json?: any): Promise; onReleaseCanvas(): void; static get instance(): DrawingEditorModule; } } declare module "sk/frame/plugin/editor/module/drawing/ui/UiDrawingElementCategoryPanel" { import * as React from 'react'; import { DrawingStyleBindingElement } from 'sk/data/family/drawing/element/config/DrawingStyleBindingElement'; import { DimensionRuleElement } from 'sk/data/family/drawing/element/rule/DimensionRuleElement'; import { MatchingItemElement } from 'sk/data/family/drawing/element/rule/MatchingItemElement'; import { MatchingRuleElement } from 'sk/data/family/drawing/element/rule/MatchingRuleElement'; import { RuleController } from 'sk/data/family/drawing/element/rule/RuleController'; import { DrawingStyleBindingController } from 'sk/data/family/drawing/element/style/DrawingStyleBindingController'; import { DrawingStyleController } from 'sk/data/family/drawing/element/style/DrawingStyleController'; import { StyleElement } from 'sk/data/family/element/brep/style/StyleElement'; import { StyleItemElement } from 'sk/data/family/element/brep/style/StyleItemElement'; import { Element } from 'sk/data/family/element/base/Element'; import { FamilyStructureManager } from 'sk/data/family/library/FamilyStructureManager'; import { ObjectFrameService } from 'sk/editor/view/ui/ObjectFrameService'; import { UiCategoryPanel, UiCategoryPanelProps, UiCategoryPanelState } from 'sk/editor/view/ui/UiCategoryPanel'; export interface UiDrawingElementCategoryPanelProps extends UiCategoryPanelProps { } export interface UiDrawingElementCategoryPanelState extends UiCategoryPanelState { popNode: any; familyDictionary: any; } export class UiDrawingElementCategoryPanel

extends UiCategoryPanel { optionDrawingStyleController: boolean; optionDrawingStyleBindingController: boolean; optionRuleController: boolean; protected _objectFrameService: ObjectFrameService; constructor(props: any, context?: any); componentStatusChange(state: any, props: any): void; onRightClick: ({ event, node }: { event: any; node: any; }) => void; protected closeContextMenu(): void; protected insertElement(clazz?: string): React.MouseEventHandler; protected editStyleElement(): React.MouseEventHandler; protected copyElement(element: Element): Function; protected pasteElement(element: Element): Function; protected deleteElement(element: Element): React.MouseEventHandler; handlePopoverVisibleChange: (visible: any) => void; protected onCheckboxStateChange: (event: any) => void; makePopNode(node: any, context: any): any; getFamilyTypeNameAsync(id: string): Promise; makeControllerElementItemTitle(item: MatchingItemElement | StyleItemElement): any; makeControllerElementItemTreeNode(item: MatchingItemElement | StyleItemElement): any; getStyleNameById(id: string): string; makeControllerItemTitle(item: DimensionRuleElement | MatchingRuleElement | StyleElement | DrawingStyleBindingElement): any; makeControllerItemTreeNode(item: DimensionRuleElement | MatchingRuleElement | StyleElement | DrawingStyleBindingElement): any; makeControllerTitle(controller: RuleController | DrawingStyleController | DrawingStyleBindingController): any; makeControllerTreeNode(controller: RuleController | DrawingStyleController | DrawingStyleBindingController, parentKey: string): any; makeStructureManager(structureManager: FamilyStructureManager): JSX.Element; makeNodes(): any; } } declare module "sk/frame/plugin/editor/module/drawing/ui/DrawingCategoryTabPanelProps" { import { UiCategoryTabPanel, UiCategoryTabPanelProps } from 'sk/editor/view/ui/UiCategoryTabPanel'; export interface DrawingCategoryTabPanelProps extends UiCategoryTabPanelProps { onSelectElement: any; onSelectEntity: any; onSelectDispaly: any; } export class DrawingCategoryTabPanel extends UiCategoryTabPanel { render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/drawing/ui/DrawingDocumentAddModal" { import { UiContainer, UiContainerProps } from 'foundation/editor/ui/core/UiContainer'; import { Element } from 'sk/data/family/element/base/Element'; import { FamilyDocument } from 'sk/data/family/library/FamilyDocument'; import { ObjectFrameService } from 'sk/editor/view/ui/ObjectFrameService'; export interface DrawingDocumentAddProps extends UiContainerProps { onOk?: any; onCancel?: any; frameName: string; show?: boolean; title: string; data: any; } export class DrawingDocumentAddModal extends UiContainer { protected _formData: Element; protected _element: any; protected _currentElement: string; protected _document: FamilyDocument; protected _show: boolean; protected _objectFrameService: ObjectFrameService; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; makeFrame(): JSX.Element; protected onCancel: () => void; protected onOk: () => void; private insertData; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/drawing/ui/DrawingDocumentEditModal" { import * as React from 'react'; import { Types } from 'cross/runtime/lang/collection/Types'; import { UiContainer, UiContainerProps } from 'foundation/editor/ui/core/UiContainer'; import { Element } from 'sk/data/family/element/base/Element'; import { FamilyDocument } from 'sk/data/family/library/FamilyDocument'; import { ObjectFrameService } from 'sk/editor/view/ui/ObjectFrameService'; export interface DrawingDocumentEditProps extends UiContainerProps { onOk?: any; onCancel?: any; show?: boolean; data: any; } export class DrawingDocumentEditModal extends UiContainer { protected _formDatas: Types; protected _element: any; protected _document: FamilyDocument; protected _show: boolean; protected _objectFrameService: ObjectFrameService; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; private makeValueSelectComponent; private makeTable; makeFrame: () => React.JSX.Element; protected onCancel: () => void; protected onOk: () => void; private insertData; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/drawing/ui/DrawingPropertyTabPanel" { import { UiPropertyTabPanel } from 'sk/editor/view/ui/UiPropertyTabPanel'; export class DrawingPropertyTabPanel extends UiPropertyTabPanel { render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/drawing/ui/DrawingToolBar" { import * as React from 'react'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { UiToolBarPanel } from 'sk/editor/view/ui/UiToolBarPanel'; import { DrawingEditorDocument } from "sk/frame/plugin/editor/module/drawing/entity/DrawingEditorDocument"; export class DrawingToolBar extends UiToolBarPanel { document: DrawingEditorDocument; protected _uiFrameService: UiFrameService; state: { popNode: any; }; constructor(props?: any, context?: any); private blockSingleStyle; private blockStyle; private blockThreeStyle; private titleStyle; private btnStyle; private dividerStyle; private makeAddPart; handlePopoverVisibleChange: (visible: any) => void; onBtnClick: (name: string) => () => void; addElement(elementClass: any): React.MouseEventHandler; onDelete: () => void; onClear: () => void; onSaveAsync: () => Promise; onClose: () => void; onDownload: () => void; onUploadAsync: () => Promise; private readTextFileAsync; private uploadFileAsync; private downloadFile; buttonsConfigure: { left: ({ name: string; callback?: undefined; maker?: undefined; } | { name: string; callback: () => void; maker: (name: string, btn: any) => React.JSX.Element; } | { name: string; callback: () => void; maker?: undefined; })[]; right: ({ name: string; callback: () => void; icon?: undefined; } | { name: string; icon: string; callback: () => void; })[]; }; private elementMenuConfig; } } declare module "sk/frame/plugin/editor/module/drawing/frame/DrawingEditorFrame" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { SelectionEvent } from 'foundation/editor/base/selection/SelectionEvent'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { BrepElement } from 'sk/data/family/element/brep/BrepElement'; import { FrameEditorFrame, FrameEditorFrameProps, FrameEditorFrameState } from 'sk/editor/view/frame/FrameEditorFrame'; import { DrawingEditorDocument } from "sk/frame/plugin/editor/module/drawing/entity/DrawingEditorDocument"; import { DrawingEditorModule } from "sk/frame/plugin/editor/module/drawing/frame/DrawingEditorModule"; export interface DrawingEditorFrameProps extends FrameEditorFrameProps { } export interface DrawingEditorFrameState extends FrameEditorFrameState { currentElement?: string; selectObject?: BrepElement; showAddFrameModal?: boolean; showEditFrameModal?: boolean; } export class DrawingEditorFrame extends FrameEditorFrame { static pageName: string; module: DrawingEditorModule; document: DrawingEditorDocument; private _tree; protected _actionService: ActionService; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; initListenner(): void; disposeListenner(): void; loadDocumentAsync(): Promise; refreshTree(): void; onSelectionChanged(sender: ListenerContext, event: SelectionEvent): void; onSelectElement: (selectedElement: any) => void; makeCategory(): any; makeToolBar(): any; makeCanvas(): any; makeProperty(): any; private makeAddFrameModal; private makeEditFrameModal; protected onSplitResize: () => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/drawing/frame/DrawingSettings" { import { EditorSettings } from 'cross/editor/framework/setting/EditorSettings'; export class DrawingSettings extends EditorSettings { htmlView: HTMLElement; curveGuid: string; curveVersion: string; curveData: string; user_id: string; user_path: string; } } declare module "sk/frame/plugin/editor/module/drawing/ui/ControlIdentityEnum" { export class ControlIdentityEnum { static Main: string; static Toolbar: string; static PropertyBar: string; } } declare module "sk/frame/plugin/editor/module/drawing/ui/Drawing3Tree" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { KeyboardDeviceEvent } from 'cross/editor/device/keyboard/KeyboardDeviceEvent'; import { KeyboardDeviceService } from 'cross/editor/device/keyboard/KeyboardDeviceService'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { DrawingEditorDocument } from "sk/frame/plugin/editor/module/drawing/entity/DrawingEditorDocument"; export class Drawing3Tree extends UiContainer { document: DrawingEditorDocument; selectElementCallback: any; protected _keyboardService: KeyboardDeviceService; state: { popNode: any; selectedElementKeys: any[]; selectedDisplayKeys: any[]; blueprintIsOpened: boolean; }; componentDidMount(): void; componentWillUnmount(): void; componentStatusChange(state: any, props: any): void; onKeyboardDown(sender: ListenerContext, event: KeyboardDeviceEvent): void; onSelectElement: (selectedKeys: string[], e: any) => void; onSelectNode: (selectedKeys: string[], e: any) => void; private makeTitle; private makeDisplayTitle; makeElementTree(): JSX.Element; makeDisplayTree(): any; makeMeshTree(): any; onTabChange: () => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/drawing/ui/DrawingFramePropertyContentConfigControl" { import { CustomizedControlNode } from 'sk/editor/frame/service/frame/node/CustomizedControlNode'; import { UiDefineEditControl } from 'sk/editor/frame/ui/base/UiDefineEditControl'; export class DrawingFramePropertyContentConfigControl extends UiDefineEditControl { declare: CustomizedControlNode; state: { value: string; showModal: boolean; formData: any; declare: any; dataSource: any[]; selectedRowKeys: any[]; }; componentStatusChange(state: any, props: any): void; private makeDataSource; private makeSelectedRowKeys; private makeTable; private makeModal; private onClick; buildEditInput(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/drawing/ui/DrawingFramePropertyTextCustomControl" { import { CustomizedControlNode } from 'sk/editor/frame/service/frame/node/CustomizedControlNode'; import { UiDefineEditControl } from 'sk/editor/frame/ui/base/UiDefineEditControl'; export class DrawingFramePropertyTextCustomControl extends UiDefineEditControl { declare: CustomizedControlNode; state: { text: string; showModal: boolean; formData: any; declare: any; dataSource: any[]; }; componentStatusChange(state: any, props: any): void; private makeDataSource; private makeInput; private makeTable; private makeModal; private onClick; buildEditInput(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/drawing/ui/DrawingPropForm" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { BrepNode } from 'foundation/data/common/model/brep/BrepNode'; 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'; import { UiDataContext } from 'sk/editor/frame/ui/UiDataContext'; export class DrawingPropForm extends UiContainer { protected _selectionService: SelectionService; document: FamilyDocument; element: BrepNode; state: { element: any; }; componentStatusChange(state: any, props: any): void; componentWillUnmount(): void; onSelectChange(sender: ListenerContext, event: SelectionEvent): void; onFieldChanged: () => void; onValueChanged: (key: string, value: any) => void; makeDataContext(element: any): UiDataContext; makePropertyPanel(): JSX.Element; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/drawing/ui/action/DrawingOpenEditorAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class DrawingOpenEditorAction extends FrameAction { process(args: FrameActionArgs): void; } } declare module "sk/frame/plugin/editor/module/drawing/ui/category/DrawingLinkElementTreeController" { import { Types } from 'cross/runtime/lang/collection/Types'; import { ControllerOption } from 'sk/data/family/util/ControllerUtil'; import { ElementTreeController } from 'sk/editor/family/ui/category/controller/ElementTreeController'; export class DrawingLinkElementTreeController extends ElementTreeController { makeTreeNode(element: any, expandedKeys: Types, option?: ControllerOption): any; } } declare module "sk/frame/plugin/editor/module/drawing/ui/property/DrawingBasePanel" { import { UiPropertyPanel } from 'sk/editor/view/ui/UiPropertyPanel'; import { DrawingEditorDocument } from "sk/frame/plugin/editor/module/drawing/entity/DrawingEditorDocument"; export class DrawingBasePanel extends UiPropertyPanel { document: DrawingEditorDocument; onValueChanged(key: string, value: any): void; } } declare module "sk/frame/plugin/editor/module/drawing/ui/property/DrawingContentConfigPanel" { import { UiDataContext } from 'sk/editor/frame/ui/UiDataContext'; import { DrawingBasePanel } from "sk/frame/plugin/editor/module/drawing/ui/property/DrawingBasePanel"; export class DrawingContentConfigForm extends DrawingBasePanel { constructor(props?: any, context?: any); makeDataContext(selectObject: any): UiDataContext; onValueChanged(key: string, value: any): void; } } declare module "sk/frame/plugin/editor/module/drawing/ui/property/DrawingDomainPanel" { import { DrawingBasePanel } from "sk/frame/plugin/editor/module/drawing/ui/property/DrawingBasePanel"; export class DrawingDomainPanel extends DrawingBasePanel { constructor(props?: any, context?: any); } } declare module "sk/frame/plugin/editor/module/drawing/ui/property/DrawingFramePanel" { import { DrawingBasePanel } from "sk/frame/plugin/editor/module/drawing/ui/property/DrawingBasePanel"; export class DrawingFramePanel extends DrawingBasePanel { constructor(props?: any, context?: any); } } declare module "sk/frame/plugin/editor/module/drawing/ui/property/DrawingSpecialContentConfigManageForm" { import { UiDataContext } from 'sk/editor/frame/ui/UiDataContext'; import { DrawingBasePanel } from "sk/frame/plugin/editor/module/drawing/ui/property/DrawingBasePanel"; export class DrawingSpecialContentConfigManageForm extends DrawingBasePanel { constructor(props?: any, context?: any); makeDataContext(selectObject: any): UiDataContext; } } declare module "sk/frame/plugin/editor/module/drawing/ui/property/DrawingSpecialContentConfigManagePanel" { import * as React from 'react'; import { Types } from 'cross/runtime/lang/collection/Types'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { DrawingSpecialContentConfigElement } from 'sk/data/family/drawing/element/config/DrawingSpecialContentConfigElement'; export class DrawingSpecialContentConfigManagePanel extends UiContainer { protected specialContentConfigs: Types; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; componentDidMount(): void; getFamilyTypeNameAsync(id: string): Promise; private getContentAsync; private getContent; protected makeFamilyModal: () => React.JSX.Element; private makeDisplayCdComponent; private makeContentCdComponent; private makeContentClassComponent; private makeContentComponent; private makeDimTable; private makeDimModal; private makeDimRulesComponent; private makeFrame; private getDataSourceASync; private onAdd; protected onDelete: (record: any) => void; protected onEdit: (record: any) => void; private makeButtons; private makeColumns; private makeModal; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/drawing/ui/property/DrawingStructurePanel" { import { DrawingBasePanel } from "sk/frame/plugin/editor/module/drawing/ui/property/DrawingBasePanel"; export class DrawingStructureForm extends DrawingBasePanel { constructor(props?: any, context?: any); } } declare module "sk/frame/plugin/editor/module/drawing/ui/property/DrawingStyleBindingManagePanel" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { ControlElement } from 'sk/data/family/element/brep/frame/ControlElement'; import { DrawingDocument } from 'sk/data/family/drawing/DrawingDocument'; export class DrawingStyleBindingManagePanel extends UiContainer { protected document: DrawingDocument; protected element: ControlElement; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; componentDidMount(): void; private getDataSource; private onAdd; protected onDelete: (index: any) => void; getFamilyTypeNameAsync(id: string): Promise; private makeButtons; private makeColumns; private makeBindingTable; private makeBindingModal; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/drawing/ui/property/DrawingStyleBindingPanel" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class DrawingStyleBindingPanel extends UiContainer { constructor(props?: any, context?: any); getFamilyTypeNameAsync(id: string): Promise; componentDidMount(): void; componentStatusChange(state: any, props: any): void; private inputText; private onClick; private makeStyleIdComponent; private makeBindingCdComponent; private makeBindingClassComponent; private makeBindingContentComponent; private makeModal; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/drawing/ui/property/MatchingItemPanel" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class MatchingItemPanel extends UiContainer { constructor(props?: any, context?: any); getFamilyTypeNameAsync(id: string): Promise; componentDidMount(): void; componentStatusChange(state: any, props: any): void; private inputText; private onClick; private makeTypeCdComponent; private makeContentClassComponent; private makeContentComponent; private makeModal; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/drawing/ui/property/PanelControlPanel" { import { DrawingBasePanel } from "sk/frame/plugin/editor/module/drawing/ui/property/DrawingBasePanel"; export class PanelControlPanel extends DrawingBasePanel { constructor(props?: any, context?: any); } } declare module "sk/frame/plugin/editor/module/drawing/ui/property/PictureControlPanel" { import { DrawingBasePanel } from "sk/frame/plugin/editor/module/drawing/ui/property/DrawingBasePanel"; export class PictureControlPanel extends DrawingBasePanel { constructor(props?: any, conPicture?: any); } } declare module "sk/frame/plugin/editor/module/drawing/ui/property/StyleItemPanel" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class StyleItemPanel extends UiContainer { constructor(props?: any, context?: any); private makeStyleSelectComponent; private makeValueSelectComponent; private makeStyleValueComponent; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/drawing/ui/property/TextControlPanel" { import { DrawingBasePanel } from "sk/frame/plugin/editor/module/drawing/ui/property/DrawingBasePanel"; export class TextControlPanel extends DrawingBasePanel { constructor(props?: any, context?: any); } } declare module "sk/frame/plugin/editor/module/drawing/util/DrawingLinkUtil" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; export class DrawingLinkUtil { static getCircleCrossPoint(center: Vector2, dir: Vector2, radius: number, target?: Vector2): Vector2; static getRectCrossPoint(center: Vector2, dir: Vector2, halfWidth: number, halfHeight: number, target?: Vector2): Vector2; static getDiamondCrossPoint(center: Vector2, dir: Vector2, halfWidth: number, halfHeight: number, target?: Vector2): Vector2; static convertDisplayLine(context: C2dCanvasContext, line: any): any; static computeArrowPoints(line: any, scale?: number): any[]; } } declare module "sk/frame/plugin/editor/module/drawing/view/C2dDrawing" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { GeometricNode } from 'foundation/data/common/model/brep/GeometricNode'; import { V2dGraphicContainer } from 'foundation/editor/view/view2d/render/V2dGraphicContainer'; import { V2dGraphicDrawing } from 'foundation/editor/view/view2d/render/V2dGraphicDrawing'; import { DataDisplay } from 'foundation/editor/view/base/DataDisplay'; 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 { C2dBaseController } from "sk/frame/plugin/editor/module/common/view/C2dBaseController"; export class C2dDrawing extends DataDisplay { context: C2dCanvasContext; entity: GeometricNode; layer: C2dLayer; node: V2dGraphicContainer; controller: C2dBaseController; protected graphics: V2dGraphicDrawing; protected _lineWidth: number; protected _lineColor: number; protected _pointColor: number; setup(): void; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; sceneScale(): number; dirty(): void; createNode(): void; onDraw(context?: DisplayContext): void; updateStyleStatus(): void; updateShape(): void; removeFromView(): void; dispose(): void; } } declare module "sk/frame/plugin/editor/module/drawing/view/C2dCircleArc2Curve2dDrawing" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { NodeFieldEvent } from 'cross/runtime/framework/node/NodeFieldEvent'; import { C2dDrawing } from "sk/frame/plugin/editor/module/drawing/view/C2dDrawing"; export class C2dCircleArc2Curve2dDrawing extends C2dDrawing { setup(): void; onLocalEntityFieldChanged(sender: ListenerContext, event: any): void; onLinkNodeDirty(sender: ListenerContext, event: NodeFieldEvent): void; updateShape(): void; dispose(): void; } } declare module "sk/frame/plugin/editor/module/drawing/view/C2dCircleCurve2dDrawing" { 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 { CircleCurve2dDrawingEntity } from 'sk/editor/family/entity/drawing/CircleCurve2dDrawingEntity'; import { C2dDrawing } from "sk/frame/plugin/editor/module/drawing/view/C2dDrawing"; export class C2dCircleCurve2dDrawing extends C2dDrawing { entity: CircleCurve2dDrawingEntity; setup(): void; onLinkNodeDirty(sender: ListenerContext, event: NodeFieldEvent): void; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; updateShape(): void; dispose(): void; } } declare module "sk/frame/plugin/editor/module/drawing/view/C2dDrawingBaseController" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { BrepNode } from 'foundation/data/common/model/brep/BrepNode'; import { V2dHookManager } from 'foundation/editor/view/view2d/render/V2dHookManager'; import { DisplayController } from 'foundation/editor/view/base/DisplayController'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; export class C2dDrawingBaseController extends DisplayController { entity: BrepNode; context: C2dCanvasContext; display: any; protected _hookManager: V2dHookManager; constructor(); bindEvent(): void; unbindEvent(): void; onClick(event: PIXI.interaction.InteractionEvent): void; onMouseOver(event: PIXI.interaction.InteractionEvent): void; onMouseOut(event: PIXI.interaction.InteractionEvent): void; onMouseMove(event: MouseEvent, x: number, y: number): void; onMouseUp(event: MouseEvent): void; onDragStart(event: MouseEvent, x: number, y: number): void; startMoveAction(point: Vector2, mouseEvent: MouseEvent): void; onDragMove(event: PIXI.interaction.InteractionEvent, cx: number, cy: number): void; onDragEnd(event: PIXI.interaction.InteractionEvent): void; dispose(): void; } } declare module "sk/frame/plugin/editor/module/drawing/view/C2dDrawingBase" { 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 { V2dGraphicText } from 'foundation/editor/view/view2d/render/V2dGraphicText'; import { DataDisplay } from 'foundation/editor/view/base/DataDisplay'; import { DisplayContext } from 'foundation/editor/view/base/DisplayContext'; import { ControlNode } from 'sk/data/family/model/brep/frame/ControlNode'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; import { C2dLayer } from 'sk/editor/logic/view/canvas2d/C2dLayer'; import { C2dDrawingBaseController } from "sk/frame/plugin/editor/module/drawing/view/C2dDrawingBaseController"; export class C2dDrawingBase extends DataDisplay { context: C2dCanvasContext; entity: ControlNode; layer: C2dLayer; node: V2dGraphicContainer; protected graphics: V2dGraphicDrawing; protected text: V2dGraphicText; controller: C2dDrawingBaseController; protected _statusDragged: boolean; protected _lineWidth: number; protected _lineColor: number; constructor(); setup(): void; onEntityFlagChanged(sender: ListenerContext, event: DataNodeFlagEvent): void; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; onEntityDirty(sender: ListenerContext, event: DataNodeFieldEvent): void; sceneScale(): number; dirty(): void; createNode(): void; onDraw(context?: DisplayContext): void; updateStyleStatus(): void; protected drawTitle(name: string): void; updateShape(): void; removeFromView(): void; dispose(): void; } } declare module "sk/frame/plugin/editor/module/drawing/view/C2dDrawingDomain" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { DrawingDomainEntity } from "sk/frame/plugin/editor/module/drawing/entity/DrawingDomainEntity"; import { C2dDrawingBase } from "sk/frame/plugin/editor/module/drawing/view/C2dDrawingBase"; export class C2dDrawingDomain extends C2dDrawingBase { entity: DrawingDomainEntity; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; updateShape(): void; } } declare module "sk/frame/plugin/editor/module/drawing/view/C2dDrawingFrame" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { DrawingFrameEntity } from "sk/frame/plugin/editor/module/drawing/entity/DrawingFrameEntity"; import { C2dDrawingBase } from "sk/frame/plugin/editor/module/drawing/view/C2dDrawingBase"; export class C2dDrawingFrame extends C2dDrawingBase { entity: DrawingFrameEntity; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; updateShape(): void; } } declare module "sk/frame/plugin/editor/module/drawing/view/C2dLineCurve2dDrawing" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { NodeFieldEvent } from 'cross/runtime/framework/node/NodeFieldEvent'; import { C2dDrawing } from "sk/frame/plugin/editor/module/drawing/view/C2dDrawing"; export class C2dLineCurve2dDrawing extends C2dDrawing { setup(): void; onLinkNodeDirty(sender: ListenerContext, event: NodeFieldEvent): void; updateShape(): void; dispose(): void; } } declare module "sk/frame/plugin/editor/module/drawing/view/C2dMemoControl" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { V2dGraphicText } from 'foundation/editor/view/view2d/render/V2dGraphicText'; import { MemoControlEntity } from "sk/frame/plugin/editor/module/drawing/entity/MemoControlEntity"; import { C2dDrawingBase } from "sk/frame/plugin/editor/module/drawing/view/C2dDrawingBase"; export class C2dMemoControl extends C2dDrawingBase { entity: MemoControlEntity; content: V2dGraphicText; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; createNode(): void; updateShape(): void; } } declare module "sk/frame/plugin/editor/module/drawing/view/C2dPanelControl" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { PanelControlEntity } from "sk/frame/plugin/editor/module/drawing/entity/PanelControlEntity"; import { C2dDrawingBase } from "sk/frame/plugin/editor/module/drawing/view/C2dDrawingBase"; export class C2dPanelControl extends C2dDrawingBase { entity: PanelControlEntity; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; updateShape(): void; } } declare module "sk/frame/plugin/editor/module/drawing/view/C2dPictureControl" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { V2dGraphicSprite } from 'foundation/editor/view/view2d/render/V2dGraphicSprite'; import { PictureControlEntity } from "sk/frame/plugin/editor/module/drawing/entity/PictureControlEntity"; import { C2dDrawingBase } from "sk/frame/plugin/editor/module/drawing/view/C2dDrawingBase"; export class C2dPictureControl extends C2dDrawingBase { entity: PictureControlEntity; sprite: V2dGraphicSprite; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; createNode(): void; updateShape(): void; } } declare module "sk/frame/plugin/editor/module/drawing/view/C2dPointDrawing" { import { C2dProfileBase } from "sk/frame/plugin/editor/module/profile/view/C2dProfileBase"; export class C2dPointDrawing extends C2dProfileBase { updateShape(): void; } } declare module "sk/frame/plugin/editor/module/drawing/view/C2dPolygonCurve2dDrawing" { 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 { PolygonCurve2dDrawingNode } from 'sk/data/family/model/brep/drawing/curve2d/PolygonCurve2dDrawingNode'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; import { C2dLayer } from 'sk/editor/logic/view/canvas2d/C2dLayer'; export class C2dPolygonCurve2dDrawing extends Display { context: C2dCanvasContext; entity: PolygonCurve2dDrawingNode; 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/module/drawing/view/C2dPolylineCurve2dDrawing" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { PolylineCurve2dNode } from 'foundation/data/common/model/brep/geometric/curve2d/PolylineCurve2dNode'; 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'; export class C2dPolylineCurve2dDrawing extends Display { context: C2dCanvasContext; entity: PolylineCurve2dNode; 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/module/drawing/view/C2dTextControl" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { V2dGraphicText } from 'foundation/editor/view/view2d/render/V2dGraphicText'; import { TextControlEntity } from "sk/frame/plugin/editor/module/drawing/entity/TextControlEntity"; import { C2dDrawingBase } from "sk/frame/plugin/editor/module/drawing/view/C2dDrawingBase"; export class C2dTextControl extends C2dDrawingBase { entity: TextControlEntity; content: V2dGraphicText; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; createNode(): void; updateShape(): void; } } declare module "sk/frame/plugin/editor/module/drawing/view/gizmo/C2dCreateWorkflowLink" { import { KeyboardDeviceService } from 'cross/editor/device/keyboard/KeyboardDeviceService'; import { V2dTemp } from 'foundation/editor/view/view2d/V2dTemp'; import { C2dCanvas } from 'sk/editor/logic/view/canvas2d/C2dCanvas'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; export class C2dCreateDrawingLink extends V2dTemp { view: C2dCanvas; context: C2dCanvasContext; private renderer; private graphics; private start; private point; private beginNode; private endNode; private sceneContainer; private hoverNode; protected _keyboardService: KeyboardDeviceService; constructor(); setup(): void; dispose(): void; } } declare module "sk/frame/plugin/editor/module/family/action/liner/LinearElementActionEvent" { import { ActionEvent } from 'foundation/editor/view/action/ActionEvent'; import { ComponentElement } from 'sk/data/family/element/component/ComponentElement'; import { FamilyStructure } from 'sk/data/family/library/FamilyStructure'; export class LinearElementActionEvent extends ActionEvent { structure: FamilyStructure; parent: ComponentElement; free(): void; } } declare module "sk/frame/plugin/editor/module/family/action/liner/LinearElementCreateAction" { import { Action } from 'foundation/editor/view/action/Action'; import { PathCurve3dElement } from 'sk/data/family/element/brep/geometric/curve3d/PathCurve3dElement'; import { ComponentElement } from 'sk/data/family/element/component/ComponentElement'; import { LinearPointElement } from 'sk/data/family/element/instance/LinearPointElement'; import { FamilyStructure } from 'sk/data/family/library/FamilyStructure'; import { LinearElementActionEvent } from "sk/frame/plugin/editor/module/family/action/liner/LinearElementActionEvent"; export class LinearElementCreateAction extends Action { stucture: FamilyStructure; parent: ComponentElement; linear: ComponentElement; constructor(); onExecute(event: LinearElementActionEvent): boolean; createPoints(parent: PathCurve3dElement): LinearPointElement[]; createCurves(parent: PathCurve3dElement, points: Array): void; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/module/family/action/plank/PlankElementActionEvent" { import { ActionEvent } from 'foundation/editor/view/action/ActionEvent'; import { ComponentElement } from 'sk/data/family/element/component/ComponentElement'; import { FamilyStructure } from 'sk/data/family/library/FamilyStructure'; export class PlankElementActionEvent extends ActionEvent { structure: FamilyStructure; parent: ComponentElement; free(): void; } } declare module "sk/frame/plugin/editor/module/family/action/plank/PlankArcElementCreateAction" { import { Action } from 'foundation/editor/view/action/Action'; import { PointElement } from 'sk/data/family/element/brep/geometric/PointElement'; import { ComponentElement } from 'sk/data/family/element/component/ComponentElement'; import { FamilyStructure } from 'sk/data/family/library/FamilyStructure'; import { PlankElementActionEvent } from "sk/frame/plugin/editor/module/family/action/plank/PlankElementActionEvent"; export class PlankArcElementCreateAction extends Action { stucture: FamilyStructure; parent: ComponentElement; plank: ComponentElement; constructor(); createPoints(parent: ComponentElement, structure: FamilyStructure): Array; createEdgeSurfaces(points: Array, parent: ComponentElement, structure: FamilyStructure): void; onExecute(event: PlankElementActionEvent): boolean; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/module/family/action/plank/PlankElementCreateAction" { import { Action } from 'foundation/editor/view/action/Action'; import { PointElement } from 'sk/data/family/element/brep/geometric/PointElement'; import { ComponentElement } from 'sk/data/family/element/component/ComponentElement'; import { FamilyStructure } from 'sk/data/family/library/FamilyStructure'; import { PlankElementActionEvent } from "sk/frame/plugin/editor/module/family/action/plank/PlankElementActionEvent"; export class PlankElementCreateAction extends Action { stucture: FamilyStructure; parent: ComponentElement; plank: ComponentElement; constructor(); createPoints(parent: ComponentElement, structure: FamilyStructure): Array; createEdgeSurfaces(points: Array, parent: ComponentElement, structure: FamilyStructure): void; onExecute(event: PlankElementActionEvent): boolean; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/module/family/action/family/ElementCreateUtil" { import { ComponentElement } from 'sk/data/family/element/component/ComponentElement'; import { FamilyStructure } from 'sk/data/family/library/FamilyStructure'; export class ElementCreateUtil { static createFamily(parent: ComponentElement, structure: FamilyStructure, type: string): ComponentElement; } } declare module "sk/frame/plugin/editor/module/family/action/family/FamilyBrepElementCreateActionEvent" { import { ActionEvent } from 'foundation/editor/view/action/ActionEvent'; import { NestElement } from 'sk/data/family/element/base/NestElement'; import { FamilyStructure } from 'sk/data/family/library/FamilyStructure'; export class FamilyBrepElementCreateActionEvent extends ActionEvent { structure: FamilyStructure; parent: NestElement; elementClass: Function; free(): void; } } declare module "sk/frame/plugin/editor/module/family/action/family/FamilyBrepElementCreateAction" { import { Action } from 'foundation/editor/view/action/Action'; import { NestElement } from 'sk/data/family/element/base/NestElement'; import { BrepElement } from 'sk/data/family/element/brep/BrepElement'; import { FamilyStructure } from 'sk/data/family/library/FamilyStructure'; import { FamilyBrepElementCreateActionEvent } from "sk/frame/plugin/editor/module/family/action/family/FamilyBrepElementCreateActionEvent"; export class FamilyBrepElementCreateAction extends Action { stucture: FamilyStructure; parent: NestElement; element: BrepElement; constructor(); onExecute(event: FamilyBrepElementCreateActionEvent): void; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/module/family/action/family/FamilyElementActionEvent" { import { ActionEvent } from 'foundation/editor/view/action/ActionEvent'; import { Element } from 'sk/data/family/element/base/Element'; import { FamilyStructure } from 'sk/data/family/library/FamilyStructure'; export class FamilyElementActionEvent extends ActionEvent { structure: FamilyStructure; parent: Element; type: string; free(): void; } } declare module "sk/frame/plugin/editor/module/family/action/plank/PlankElementDecorateChangeAction" { import { Action } from 'foundation/editor/view/action/Action'; import { PlankElementActionEvent } from "sk/frame/plugin/editor/module/family/action/plank/PlankElementActionEvent"; export class PlankElementDecorateChangeAction extends Action { constructor(); onExecute(event: PlankElementActionEvent): boolean; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/module/family/action/plank/PlankElementSizeChangeAction" { import { Action } from 'foundation/editor/view/action/Action'; import { PlankElementActionEvent } from "sk/frame/plugin/editor/module/family/action/plank/PlankElementActionEvent"; export class PlankElementSizeChangeAction extends Action { constructor(); onExecute(event: PlankElementActionEvent): boolean; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/module/family/base/ComponenEventEnum" { export class ComponenEventEnum { static UNIT_FIELD_CHANGE: string; static ELEMENT_FIELD_CHANGE: string; static ELEMENT_RULE_ADD: string; static ELEMENT_RULE_REMOVE: string; static ELEMENT_RULE_CHANGE: string; static ELEMENT_HOLE_REMOVE: string; static ELEMENT_HOLE_ADD: string; static ELEMENT_HOLE_UPDATE: string; static ELEMENT_CHILD_ADD: string; static ELEMENT_CHILD_REMOVE: string; static ELEMENT_CHILD_CHANGE: string; static ELEMENT_CHILD_COPY: string; } } declare module "sk/frame/plugin/editor/module/family/base/FieldsSet" { export class FieldSet { fields: any; constructor(); setField(name: string, value: any): void; getField(name: string): any; } } declare module "sk/frame/plugin/editor/module/family/base/RouterUtil" { export class RouterUtil { static getHistory(jobject: any): any; } } declare module "sk/frame/plugin/editor/module/family/entity/FamilyEditorDocument" { import { PersistentFactory } from 'cross/runtime/module/persistent/PersistentFactory'; import { StructureElement } from 'sk/data/family/element/base/StructureElement'; import { SpatialFamilyStructure } from 'sk/data/family/element/SpatialFamilyStructure'; import { FamilyDocument } from 'sk/data/family/library/FamilyDocument'; import { FamilyStructure } from 'sk/data/family/library/FamilyStructure'; import { FamilyDocumentService } from 'sk/data/family/service/FamilyDocumentService'; import { WorkflowProcessService } from 'sk/data/family/workflow/WorkflowProcessService'; import { ModelResource } from 'sk/data/resource/model/resource/ModelResource'; import { FamilyBlueprintEntity } from 'sk/editor/family/entity/FamilyBlueprintEntity'; import { FamilyBlueprintOptions } from 'sk/editor/family/entity/FamilyBlueprintOptions'; export class FamilyEditorDocument extends FamilyDocument { static CLASS_NAME: string; protected static _factory: PersistentFactory; static get Factory(): PersistentFactory; blueprint: FamilyBlueprintEntity; modelResource: ModelResource; activeFamilyStructure: SpatialFamilyStructure; protected _workflowProcessService: WorkflowProcessService; protected _familyDocumentService: FamilyDocumentService; protected constructor(); get factory(): PersistentFactory; setup(): void; get editorOptions(): FamilyBlueprintOptions; get rootFamilyStructure(): FamilyStructure; get rootStructure(): StructureElement; static createEmptyDocument(): FamilyEditorDocument; static createDefaultDocument(): FamilyEditorDocument; reset(): void; } } declare module "sk/frame/plugin/editor/module/family/frame/FamilyEditorConstants" { export class FamilyEditorConstants { static PIPE_PROCESSOR_FAMILY: string; } } declare module "sk/frame/plugin/editor/module/familytype/frame/FamilyTypeEditorDocument" { 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 { SpatialStructureElement } from 'sk/data/family/element/brep/SpatialStructureElement'; import { SpatialFamilyStructure } from 'sk/data/family/element/SpatialFamilyStructure'; import { FamilyDocument } from 'sk/data/family/library/FamilyDocument'; import { TemplateLogicService } from 'sk/data/resource/model/service/TemplateLogicService'; import { FamilyTypeUpdateContentResponse } from 'sk/data/logic/module/message/FamilyTypeUpdateContentResponse'; export class FamilyTypeEditorDocument extends FamilyDocument { protected static _factory: PersistentFactory; static get Factory(): PersistentFactory; baseUrl: string; protected _storageService: StorageDeviceService; protected _templateService: TemplateLogicService; constructor(); setup(): void; get factory(): PersistentFactory; get rootFamilyStructure(): SpatialFamilyStructure; get rootStructure(): SpatialStructureElement; makeStorageCode(): string; loadByUrlAsync(url: string): Promise; loadByIdAsync(id: string, version?: number | string): Promise; saveOssAsync(): Promise; saveLocal(): any; } } declare module "sk/frame/plugin/editor/module/library/ui/modal/LibraryDatasetCheckModal" { import { UiContainer, UiContainerProps, UiContainerState } from 'foundation/editor/ui/core/UiContainer'; import { DatasetUnitCheckTypeEnum } from 'sk/data/logic/module/enumeration/DatasetUnitCheckTypeEnum'; export enum DatasetCheckDataType { Library = "library", Family = "family", Pattern = "pattern" } export interface LibraryDatasetCheckProps extends UiContainerProps { data: any; dataType?: DatasetCheckDataType; checkType?: DatasetUnitCheckTypeEnum; onHide?: () => void; } export interface LibraryDatasetCheckState extends UiContainerState { datasetResults: Array; visible: boolean; content: any; } export class LibraryDatasetCheckModal

extends UiContainer { private _checkHandlers; state: LibraryDatasetCheckState; props: LibraryDatasetCheckProps; constructor(props: LibraryDatasetCheckProps, context?: any); componentPropsChange(nextProps: LibraryDatasetCheckProps, nextContext: any): void; private onLibraryHandle; private onFamilyHandle; private onPatternHandle; private onFinish; protected onCancel: () => void; protected onCheck(): void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/library/ui/modal/LibraryDatasetCheckResultModal" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { LibraryDatasetCheckProps } from "sk/frame/plugin/editor/module/library/ui/modal/LibraryDatasetCheckModal"; export class LibraryDatasetCheckResultModal extends UiContainer { private columns; constructor(props: LibraryDatasetCheckProps, context?: any); componentPropsChange(nextProps: any, nextContext: any): void; private buildDataSource; private loadJson; private downloadCheckResult; private onOk; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/frame/FamilyEditorModule" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { LockService } from 'cross/runtime/module/lock/LockService'; import { ProcessPipeService } from 'cross/runtime/module/pipe/ProcessPipeService'; import { ObserverModeEnum } from 'foundation/data/common/model/brep/ObserverModeEnum'; import { ObserverTypeEnum } from 'foundation/data/common/model/brep/ObserverTypeEnum'; import { MoldingVisionEnum } from 'foundation/data/common/enumeration/MoldingVisionEnum'; import { CanvasService } from 'foundation/editor/view/base/CanvasService'; import { V3dCanvas } from 'foundation/editor/view/view3d/V3dCanvas'; import { SpecificationWarehouseService } from 'sk/data/specification/warehouse/SpecificationWarehouseService'; import { DecorateCacheService } from 'sk/data/family/service/DecorateCacheService'; import { SchemeDocumentService } from 'sk/data/scheme/service/SchemeDocumentService'; import { BackgroundTypeEnum } from 'sk/data/logic/calculate/enumeration/task/render/BackgroundTypeEnum'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { FrameEditorModule } from 'sk/editor/view/frame/FrameEditorModule'; import { SchemeEditorDocument } from 'sk/frame/logic/scheme/SchemeEditorDocument'; import { SchemeTechnologyDocument } from 'sk/frame/logic/technology/SchemeTechnologyDocument'; import { FamilyEditorDocument } from "sk/frame/plugin/editor/module/family/entity/FamilyEditorDocument"; export type FamilyEditorModuleWorkflowOptions = { optionScheme?: boolean; optionTechnology?: boolean; processPlaceCd?: boolean; processForce?: boolean; }; export class FamilyEditorModule extends FrameEditorModule { viewLeft: V3dCanvas; viewRight: V3dCanvas; statusBuild: boolean; technologyDocumentIsClosed: boolean; protected _schemeDocument: SchemeEditorDocument; protected _technologyDocument: SchemeTechnologyDocument; technologyBuildDirty: boolean; defaultComputeOptions: FamilyEditorModuleWorkflowOptions; protected _canvasService: CanvasService; protected _warehouseService: SpecificationWarehouseService; protected _schemeDocumentService: SchemeDocumentService; protected _processPipeService: ProcessPipeService; protected _lockService: LockService; protected _uiFrameService: UiFrameService; protected _decorateCacheService: DecorateCacheService; renderBackground: BackgroundTypeEnum; constructor(); toResize(): void; get document(): FamilyEditorDocument; get schemeDocument(): SchemeEditorDocument; get technologyDocument(): SchemeTechnologyDocument; onStartup(): void; onBindCanvasAsync(json: any): Promise; onReleaseCanvas(): void; rebindCanvas(panelId: string): void; documentOpen(): void; documentClose(): void; loadSchemeAndTechnologyDocumentAsync(schemeJson: any, techJson: any): Promise; changeDrawMode(canvasId: string, modeCd: MoldingVisionEnum): void; cameraFit(canvasId: string): void; cameraFitByView(view: V3dCanvas): void; changeCameraView(canvasId: string, modeCd: ObserverModeEnum, typeCd: ObserverTypeEnum): void; changeCameraRotateView(canvasId: string, modeCd: ObserverModeEnum, typeCd: ObserverTypeEnum): void; onBuildWorkflowAsync(options?: FamilyEditorModuleWorkflowOptions): Promise; buildWorkflowAsync(options?: FamilyEditorModuleWorkflowOptions): Promise; buildWorkflow(options?: FamilyEditorModuleWorkflowOptions, callback?: any): void; static get instance(): FamilyEditorModule; graphicUnitTest(id: string): void; graphicTestByType(id: string, type: string): void; } } declare module "sk/frame/plugin/editor/module/family/util/CacheClearUtil" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { DatabaseDeviceService } from 'cross/core/device/database/DatabaseDeviceService'; import { LogicSessionService } from 'cross/data/module/logic/session/LogicSessionService'; import { ConfigPaletteDocumentService } from 'sk/data/family/config/configure/ConfigPaletteDocumentService'; import { RuleDocumentService } from 'sk/data/family/rule/RuleDocumentService'; import { FamilyDocumentService } from 'sk/data/family/service/FamilyDocumentService'; import { SchemeConfigService } from 'sk/data/scheme/config/SchemeConfigService'; import { SchemeLibraryFamilyDocumentService } from 'sk/data/scheme/config/SchemeLibraryFamilyDocumentService'; export class CacheNameEnum { static GetFamilyInfoByIdAsync: string; } export class CacheClearUtil { protected static _databaseService: DatabaseDeviceService; protected static _sessionService: LogicSessionService; protected static _familyDocumentService: FamilyDocumentService; protected static _ruleDocumentService: RuleDocumentService; protected static _schemeConfigService: SchemeConfigService; protected static _configPaletteService: ConfigPaletteDocumentService; protected static _schemeLibraryFamilyDocumentService: SchemeLibraryFamilyDocumentService; static getService(code: string): FamilyDocumentService | RuleDocumentService | SchemeLibraryFamilyDocumentService | ConfigPaletteDocumentService; static clear(cacheName: string, code: string): void; static clearCacheInterface(): void; static clearCacheInterfaceByCodeAsync(cacheName: string, code: string): Promise; static clearDocumentCache(id: string, serviceType: string): void; static clearFamilyDocumentCacheByIdAsync(id: string): Promise; static clearDocumentServiceCache(id: string, serviceType: string): void; static clearPaletteDocumentServiceCache(id: string): void; static clearStructuresServiceCache(id: string, serviceType: string): void; } } declare module "sk/frame/plugin/editor/module/family/ui/toolbar/FamilyToolBarAction" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { ComponentElement } from 'sk/data/family/element/component/ComponentElement'; import { FamilyDocument } from 'sk/data/family/library/FamilyDocument'; import { FamilyEditorFrame } from "sk/frame/plugin/editor/module/family/frame/FamilyEditorFrame"; export class FamilyToolBarAction extends UiContainer { activeFrame: FamilyEditorFrame; activeDocument: FamilyDocument; activeElement: ComponentElement; componentStatusChange(state: any, props: any): void; protected handleCopyClick: () => void; protected handlePasteClick: () => void; protected handleDeleteClick: () => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/toolbar/FamilyToolBarDisplay" { import * as React from 'react'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { ComponentElement } from 'sk/data/family/element/component/ComponentElement'; import { FamilyDocument } from 'sk/data/family/library/FamilyDocument'; import { FamilyEditorFrame } from "sk/frame/plugin/editor/module/family/frame/FamilyEditorFrame"; export class FamilyToolBarDisplay extends UiContainer { activeFrame: FamilyEditorFrame; activeDocument: FamilyDocument; activeElement: ComponentElement; componentDidMount(): void; componentStatusChange(state: any, props: any): void; protected changeLockStatus(): void; protected changeVisibleStatus(optionName: string): any; makeDisplayOptions: (name: string, btn: any) => React.JSX.Element; protected handleHideClick: () => void; protected handleShowAllClick: () => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/toolbar/FamilyToolBar" { import * as React from 'react'; import { DatabaseDeviceService } from 'cross/core/device/database/DatabaseDeviceService'; import { HttpDeviceService } from 'cross/core/device/http/HttpDeviceService'; import { StorageDeviceService } from 'cross/core/device/storage/StorageDeviceService'; import { JsonService } from 'cross/core/module/json/JsonService'; import { FileUploadService } from 'foundation/data/common/upload/FileUploadService'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { UiDesktopService } from 'foundation/editor/ui/desktop/UiDesktopService'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { Element } from 'sk/data/family/element/base/Element'; import { FamilyConfigService } from 'sk/data/family/service/FamilyConfigService'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { ObjectFrameService } from 'sk/editor/view/ui/ObjectFrameService'; import { PerspectiveConfigDecorateItemService } from 'sk/frame/logic/storage/perspective/config/decorate/item/PerspectiveConfigDecorateItemService'; import { FamilySymbolService } from 'sk/frame/logic/storage/module/family/symbol/FamilySymbolService'; import { FamilyContentService } from 'sk/frame/logic/storage/module/family/FamilyContentService'; import { FamilyEditorDocument } from "sk/frame/plugin/editor/module/family/entity/FamilyEditorDocument"; export class FamilyToolBar extends UiContainer { protected _showFamilyPicker: boolean; protected _httpService: HttpDeviceService; protected _storageService: StorageDeviceService; protected _actionService: ActionService; protected _propertyService: ObjectFrameService; protected _familyContentService: FamilyContentService; protected _uiFrameService: UiFrameService; protected _perspectiveConfigDecorateItemService: PerspectiveConfigDecorateItemService; protected _familySymbolService: FamilySymbolService; protected _fileUploadService: FileUploadService; protected _databaseService: DatabaseDeviceService; protected _jsonService: JsonService; protected _desktopService: UiDesktopService; protected _familyConfigService: FamilyConfigService; state: { document: any; calculates: any; checkResults: any[]; }; calculateConfigure: { name: string; code: string; stage: number; }[]; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; protected onCreatePoint: () => void; protected onCreateLine: () => void; protected onCreateRect: () => void; protected onCreateCircle: () => void; protected onCreateStructure(clazz: any): any; protected onCreateGeometry(clazz: any, name: string): any; protected onAddComponentElement: (clazz: any) => () => void; protected initElementPropertyDefaultValue(element: Element): void; protected onAddElement: (clazz: any) => () => void; protected makeAddStructure: (name: string, btn: any) => React.JSX.Element; protected makeAddConfigure: (name: string, btn: any) => React.JSX.Element; protected fix: () => void; protected openFamilyEditor: () => Promise; protected makeCalculate: (name: string, btn: any) => React.JSX.Element; protected onCalculateButtonClickAsync: (calculateCode: string, compute?: boolean) => () => Promise; private onLoadDocument; private loopChildren; protected createBatchAsync: (calculateCode: string) => Promise; private elementMenu; private getGroupMenu; private getRowGroupMenu; protected makeAddPart: (name: string, btn: any) => React.JSX.Element; protected onDelete: () => void; protected onOpenAddModal: (event: any) => void; protected onShowAddFrameBySelectedElement: () => void; protected onShowAddFrame: (type: any) => () => void; protected onShowResourcePicker: () => void; protected onShowFamilyPicker: () => void; protected onShowPlankGuiderModal: () => void; protected onCheckContent: () => void; protected onHideCheckResult: () => void; protected onSaveDocumentClick: () => void; protected onSubmitDocumentClick: () => void; private importFileCallback; onImportDocumentClick: () => void; onExportDocumentClick: () => void; protected getCanvasImageBlob: (modelCd?: number) => Blob[]; protected onToolsMove: () => void; protected onReloadSystemConfigAsync: () => Promise; protected saveDocumentToLocalAsync: () => Promise; protected hasSymbol(document: FamilyEditorDocument): boolean; protected deleteFromCacheAsync: (code: any) => Promise; protected saveDocumentAsync: () => Promise; private saveFeaturesToDocumentAsync; protected onSwitchViewClick: (viewCd: number) => () => void; protected handleOption3DEngineClick: (event: any) => void; protected makeOptionMenu: (name: string, btn: any) => React.JSX.Element; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/FamilyEntityCategoryPanel" { import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { UiCategoryPanel } from 'sk/editor/view/ui/UiCategoryPanel'; export class FamilyEntityCategoryPanel extends UiCategoryPanel { protected makeTitle(node: DataNode): any; } } declare module "sk/frame/plugin/editor/module/family/ui/FamilyCategoryTabPanel" { import { UiCategoryTabPanel } from 'sk/editor/view/ui/UiCategoryTabPanel'; export class FamilyCategoryTabPanel extends UiCategoryTabPanel { render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/FamilyConfigTabPanel" { import * as React from 'react'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class FamilyConfigTabPanel extends UiContainer { state: { activeKey: any; }; protected tabRender: (props: any, DefaultTabBar: any) => React.JSX.Element; private makeVerticalTitle; private onTabClick; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/FamilyConfigurePickModal" { import { Dictionary } from 'cross/runtime/lang/collection/Dictionary'; import { UiContainer, UiContainerProps, UiContainerState } from 'foundation/editor/ui/core/UiContainer'; export interface FamilyDocumentTreeAddSymbolProps extends UiContainerProps { onClose: any; onConfirm: any; show: boolean; document: any; configureType: string; } export interface FamilyDocumentTreeAddSymbolState extends UiContainerState { dataSource: Dictionary>; record: any; activeKey: string; } export class FamilyConfigurePickModal extends UiContainer { private titleMap; private tableColumns; constructor(props?: any, context?: any); componentPropsChange(nextProps: any, nextContext: any): void; private onComponentPropsChangeAsync; private getRemoteDataSourceAsync; private getLocalDataSource; private makeTable; private changeSource; private onClose; private onOk; private makeModal; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/FamilyDocumentTreeAddModal" { import { UiContainer, UiContainerProps } from 'foundation/editor/ui/core/UiContainer'; import { Element } from 'sk/data/family/element/base/Element'; import { FamilyDocument } from 'sk/data/family/library/FamilyDocument'; import { ObjectFrameService } from 'sk/editor/view/ui/ObjectFrameService'; export interface FamilyDocumentTreeAddProps extends UiContainerProps { onOk?: any; onCancel?: any; frameName: string; show?: boolean; title: string; data: any; } export class FamilyDocumentTreeAddModal extends UiContainer { protected _formData: Element; protected _element: any; protected _document: FamilyDocument; protected _show: boolean; protected _objectFrameService: ObjectFrameService; componentStatusChange(state: any, props: any): void; makeFrame(): JSX.Element; protected onCancel: () => void; protected onOk: () => void; private insertData; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/FamilyGeneralAddModal" { import { UiContainer, UiContainerProps } from 'foundation/editor/ui/core/UiContainer'; import { Element } from 'sk/data/family/element/base/Element'; import { FamilyDocument } from 'sk/data/family/library/FamilyDocument'; import { ObjectFrameService } from 'sk/editor/view/ui/ObjectFrameService'; export interface FamilyGeneralAddProps extends UiContainerProps { onOk?: any; onCancel?: any; frameName: string; show?: boolean; title: string; data: any; } export class FamilyGeneralAddModal extends UiContainer { protected _formData: Element; protected _element: any; protected _document: FamilyDocument; protected _show: boolean; protected _objectFrameService: ObjectFrameService; componentStatusChange(state: any, props: any): void; makeFrame(): JSX.Element; protected onCancel: () => void; protected onOk: () => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/util/FamilyPlankGuideUtil" { import { Dictionary } from 'cross/runtime/lang/collection/Dictionary'; import { PlaneComponentElement } from 'sk/data/family/element/component/PlaneComponentElement'; import { FamilyEditorDocument } from "sk/frame/plugin/editor/module/family/entity/FamilyEditorDocument"; export class FamilyPlankGuideUtil { static planeName: string; static placeCd: string; static positionX: string; static positionY: string; static positionZ: string; static lengthX: string; static lengthY: string; static lengthZ: string; static rotationX: string; static rotationY: string; static rotationZ: string; static scaleX: string; static scaleY: string; static scaleZ: string; static lengthMinX: string; static lengthMinY: string; static lengthMinZ: string; static lengthMaxX: string; static lengthMaxY: string; static lengthMaxZ: string; static pxSurfaceDecorateId: string; static nxSurfaceDecorateId: string; static edgeSurfaceDecorateId: string; static substrateDecorateId: string; private static createPlane; private static createPoints; private static createPlaneSurface; private static createEdgeSurface; private static createSubstrate; static createBasePlank(plankInfo: Dictionary, document: FamilyEditorDocument): PlaneComponentElement; } } declare module "sk/frame/plugin/editor/module/family/ui/FamilyPlankGuideModal" { import { UiContainer, UiContainerProps, UiContainerState } from 'foundation/editor/ui/core/UiContainer'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { FamilyEditorDocument } from "sk/frame/plugin/editor/module/family/entity/FamilyEditorDocument"; export interface FamilyPlankGuideProps extends UiContainerProps { onClose: any; visible: boolean; document: FamilyEditorDocument; selectedElement: Element; frame: any; } export interface FamilyPlankGuideState extends UiContainerState { current: number; decoratePickerVisible: boolean; currentKey: string; } export class FamilyPlankGuideModal extends UiContainer { constructor(props: any, context?: any); protected _frameService: UiFrameService; private plankInfo; componentPropsChange(nextProps: any, nextContext: any): void; private initPlaneInfo; protected onInputValueChange: (event: any) => void; private onPlaceCdChange; private onCompleted; private makeFormItem; private makeBaseInfoForm; private makeGeometryInfoForm; private makeConfigureModal; private onPickerClick; private makeDecoratePickFormItem; private makeVisionInfoForm; private makeSteps; private onCancel; private onOk; protected goBack: () => void; private makeModalFrame; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/UiFamilyExplodeComponent" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class UiFamilyExplodeComponent extends UiContainer { private minExplodeValue; private maxExplodeValue; private canvasId; constructor(props: any, context?: any); state: { explodeValue: number; }; onValueChanged: (value: any) => void; UNSAFE_componentWillMount(): void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/frame/FamilyEditorFrame" { import * as React from 'react'; import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { JsonService } from 'cross/core/module/json/JsonService'; import { DataOptions } from 'cross/data/module/dataset/DataOptions'; import { ObserverModeEnum } from 'foundation/data/common/model/brep/ObserverModeEnum'; import { ObserverTypeEnum } from 'foundation/data/common/model/brep/ObserverTypeEnum'; import { MoldingVisionEnum } from 'foundation/data/common/enumeration/MoldingVisionEnum'; import { SelectionEvent } from 'foundation/editor/base/selection/SelectionEvent'; import { CanvasService } from 'foundation/editor/view/base/CanvasService'; import { VisionModelElement } from 'sk/data/family/element/brep/vision/VisionModelElement'; import { ComponentElement } from 'sk/data/family/element/component/ComponentElement'; import { SpatialFamilyStructure } from 'sk/data/family/element/SpatialFamilyStructure'; import { FamilyConfigService } from 'sk/data/family/service/FamilyConfigService'; import { FamilyDocumentService } from 'sk/data/family/service/FamilyDocumentService'; import { FamilyTypeDocumentService } from 'sk/data/family/service/FamilyTypeDocumentService'; import { ModelDataDocument } from 'sk/data/resource/model/model/ModelDataDocument'; import { ModelMeshNode } from 'sk/data/resource/model/model/ModelMeshNode'; import { ModelDocumentService } from 'sk/data/resource/model/service/ModelDocumentService'; import { FrameEditorFrame, FrameEditorFrameProps, FrameEditorFrameState } from 'sk/editor/view/frame/FrameEditorFrame'; import { FamilyEditorDocument } from "sk/frame/plugin/editor/module/family/entity/FamilyEditorDocument"; import { FamilyCategoryTabPanel } from "sk/frame/plugin/editor/module/family/ui/FamilyCategoryTabPanel"; import { FamilyEditorModule } from "sk/frame/plugin/editor/module/family/frame/FamilyEditorModule"; export interface FamilyEditorFrameProps extends FrameEditorFrameProps { } export interface FamilyEditorFrameState extends FrameEditorFrameState { selectedElement?: any; addedElement?: any; deletedElement?: any; showGeneralAddFrameModal: boolean; generalAddOkCallback: any; showGeneralPicker: boolean; record: any; generalPickOkCallback: any; pickFrameName: string; pickTitle: string; showAddFrameModal: boolean; showFamilyPicker: boolean; pickFamilyRecord: any; showFamilyTypePicker: boolean; pickFamilyTypeRecord: any; showResourcePicker: boolean; pickResourceRecord: any; showAllElement: boolean; hideNode: any; showAddSymbolModal: boolean; configureType: string; rightViewVisible: boolean; familyConfigTabShow: boolean; plankGuiderVisible: boolean; } export class FamilyEditorFrame

extends FrameEditorFrame { static pageName: string; module: FamilyEditorModule; protected _tree: FamilyCategoryTabPanel; protected _switchViewDirty: boolean; protected _familyDataOptions: DataOptions; protected _resourceDataOptions: DataOptions; document: FamilyEditorDocument; schemeDocumentJson: any; techDocumentJson: any; leftCanvaComponent: any; rightCanvaComponent: any; protected _jsonService: JsonService; protected _familyTypeDocumentService: FamilyTypeDocumentService; protected _documentService: FamilyDocumentService; protected _modelDocumentService: ModelDocumentService; protected _canvasService: CanvasService; protected _familyConfigService: FamilyConfigService; constructor(props?: any, context?: any); componentDidUpdate(nextProps?: any, nextState?: any): void; initListenner(): void; disposeListenner(): void; loadDocumentAsync(): Promise; protected resetGridEntity(): void; refreshTree(): void; onSelectionChanged(sender: ListenerContext, event: SelectionEvent): void; onSelectElement: (selectedItem: any, isUnselected?: boolean) => void; isComponentElementSelected(element: any): boolean; onGraphicUnitTest(id: string): any; onGraphicTest(id: string, type: string): any; onCanvasViewChange: (id: string, modeCd: ObserverModeEnum, typeCd: ObserverTypeEnum) => () => void; onCanvasRotateChange: (id: string, modeCd: ObserverModeEnum, typeCd: ObserverTypeEnum) => () => void; onChangeDrawMode: (id: string, modeCd: MoldingVisionEnum) => () => void; onCameraFit(id: string): any; makeGraphicTestButton(id: string): JSX.Element; protected addFamilyElementAsync(id: string, name: string, version: string, typeCode: string): Promise; protected addFamilyTypeElementAsync(id: string, name: string, version?: string): Promise; private buildPlankElement; private openAddModal; removeElement(element: any): void; copyElement(element: ComponentElement): void; pasteElement(elementroot: ComponentElement): void; switchView(viewCd: number): void; private openAddFrameModal; openGeneralAddFrameModal(addedElement: any, generalAddOkCallback: any): void; openGeneralPicker(title: string, frameName: string, okCallBack: any): void; toggleAddSymbolModal(show: boolean, type: string): void; private isExists; private addSymbolElement; private makeAddSymbolModal; private makeAddFrameModal; protected makeGeneralAddFrameModal: () => React.JSX.Element; protected makeGeneralPicker: () => any; protected makeFamilySymbolPicker: () => React.JSX.Element; protected makeFamilyPicker: () => React.JSX.Element; protected makeFamilyTypePicker: () => React.JSX.Element; private makePlankGuiderModal; protected addModelElement(spatialFamilyStructure: SpatialFamilyStructure, id: string, version: string, index: number, node: ModelMeshNode): VisionModelElement; protected addModelElementByModelDocument(spatialFamilyStructure: SpatialFamilyStructure, modelDocument: ModelDataDocument): VisionModelElement; protected loadResourceDataAsync(name: string, id: string, version: string, parameters?: any): Promise; makeResourcePicker(): JSX.Element; makeCanvas(id: string, style: any): JSX.Element; protected getDataOptions: () => DataOptions; private onConfigTabShow; onBindView: (view: any) => void; onBindCanvasAsync(): Promise; onReleaseCanvas(): void; protected onTabReplace(sender: any, data: any): void; protected onSplitResize: () => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/frame/FamilyEditorPipeProcessor" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { ProcessPipeProcessor } from 'cross/runtime/module/pipe/ProcessPipeProcessor'; export class FamilyEditorPipeProcessor extends ProcessPipeProcessor { processAsync(): Promise; } } declare module "sk/frame/plugin/editor/module/family/frame/FamilyFrameService" { 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 FamilyFrameService 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/module/family/frame/FamilyModuleViewEnum" { export class FamilyModuleViewEnum { static Left: string; static Right: string; } } declare module "sk/frame/plugin/editor/module/family/frame/FamilySettings" { import { EditorSettings } from 'cross/editor/framework/setting/EditorSettings'; import { DocumentEnum } from 'foundation/data/common/model/DocumentEnum'; export class FamilySettings extends EditorSettings { documentCd: DocumentEnum; documentGuid: string; documentVersion: string; } } declare module "sk/frame/plugin/editor/module/family/frame/PatternEditorConstants" { export class PatternEditorConstants { static PIPE_PROCESSOR_PATTERN: string; } } declare module "sk/frame/plugin/editor/module/family/frame/PatternEditorPipeProcessor" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { ProcessPipeProcessor } from 'cross/runtime/module/pipe/ProcessPipeProcessor'; export class PatternEditorPipeProcessor extends ProcessPipeProcessor { processAsync(): Promise; } } declare module "sk/frame/plugin/editor/module/family/ui/CircleArcElementCustomControl" { import { Types } from 'cross/runtime/lang/collection/Types'; import { CircleArcCurve2dElement } from 'sk/data/family/element/brep/geometric/curve2d/CircleArcCurve2dElement'; import { FamilyDocumentService } from 'sk/data/family/service/FamilyDocumentService'; import { UiDefineEditControl } from 'sk/editor/frame/ui/base/UiDefineEditControl'; export class CircleArcElementCustomControl extends UiDefineEditControl { element: CircleArcCurve2dElement; options: Types; protected _familyDocumentService: FamilyDocumentService; state: { formData: any; declare: any; CircleArcCurve2dElementId: any; radian: any; curve: any; }; componentStatusChange(state: any, props: any): void; private checkComponetTypeValid; handleSelectChange: (value: any) => void; handleCircleArcCurveTextInputChange: (name: any, e: any, useAngle?: any) => void; handleCircleArcCurveUseAngle: (useAngle: any, value: any) => void; buildEditInput(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/Curve2dStructureCustomControl" { import * as React from 'react'; import { TechnologyMillingTrackComponentElement } from 'sk/data/family/database/technology/element/TechnologyMillingTrackComponentElement'; import { FamilyDocumentService } from 'sk/data/family/service/FamilyDocumentService'; import { UiDefineEditControl } from 'sk/editor/frame/ui/base/UiDefineEditControl'; export class Curve2dStructureCustomControl extends UiDefineEditControl { element: TechnologyMillingTrackComponentElement; typeMap: any; protected _familyDocumentService: FamilyDocumentService; constructor(props: any, context?: any); state: { formData: any; declare: any; pointElementId: any; curve: any; }; componentStatusChange(state: any, props: any): void; clearCurve: () => void; handleCurveTypeSelectChange: (typeCode: string) => void; handleLineCurveTextInputChange: (name: any, e: any) => void; handleLineCurveNumberInputChange: (name: any, value: any) => void; handleCurveInputOnBlur: (e: any) => void; handleCircleArcCurveTextInputChange: (name: any, e: any, useAngle?: any) => void; handleCircleArcCurveUseAngle: (useAngle: any, value: any) => void; handleCircleArcCurveNumberInputChange: (name: any, value: any) => void; private makeCurve2dStructureUI; handleCurvePositiveSelectChange: (code: string) => void; private makeLineCurve2dStructure; private makeCircleArcCurve2dStructure; private makeCircleArc2Curve2dStructure; makeCurve2dStructureTypeSelect: () => React.JSX.Element; buildEditInput(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/FamilyDecorateItemCustomControl" { import { CustomizedControlNode } from 'sk/editor/frame/service/frame/node/CustomizedControlNode'; import { UiDefineEditControl } from 'sk/editor/frame/ui/base/UiDefineEditControl'; export class FamilyDecorateItemCustomControl extends UiDefineEditControl { declare: CustomizedControlNode; editStatusUpdate: boolean; private _parentBindingCd; private systemFrameName; private documentFrameName; state: { contentId: any; contentVersion: any; showModal: boolean; record: any; formData: any; declare: any; }; componentStatusChange(state: any, props: any): void; private getFrameName; private makeModal; private makeButton; private onClick; buildEditInput(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/FamilyDecorateItemPickModal" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class FamilyEditorDecorateItemForm extends UiContainer { state: { document: any; }; private columns; private makeDecorateItems; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/FamilyMeshInstanceCustomControl" { import { UiDefineEditControl } from 'sk/editor/frame/ui/base/UiDefineEditControl'; export class FamilyMeshInstanceCustomControl extends UiDefineEditControl { state: { showDecorateItemPicker: boolean; record: any; document: any; declare: any; formData: any; materialDecorateId: any; materialDecorateVersion: any; }; componentStatusChange(state: any, props: any): void; onClick: () => void; onChangeRecord: (record: any) => void; private onPickConfirm; private onCancel; private makeDecorateItemPicker; buildEditInput(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/util/FamilyPlankMaterialUtil" { import { MaterialInsertRequest } from 'sk/data/logic/module/message/MaterialInsertRequest'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; export class FamilyPlankMaterialUtil { protected static _uiFrameService: UiFrameService; static businessTypeId: string; static businessTypeName: string; static typeId: string; static typeName: string; static categoryId: string; static categoryName: string; static unit: string; static materialCode: string; static materialName: string; static lengthX: string; static lengthY: string; static lengthZ: string; static statusCd: string; static examineCd: string; static remark: string; static getMaterialInsertRequestsAsync(businessTypeId: string, familyId: string): Promise>; } } declare module "sk/frame/plugin/editor/module/family/ui/FamilyPlankMaterialProduceModal" { import * as React from 'react'; import { UiContainer, UiContainerProps, UiContainerState } from 'foundation/editor/ui/core/UiContainer'; import { MaterialInsertRequest } from 'sk/data/logic/module/message/MaterialInsertRequest'; export interface PlankMaterialModalProps extends UiContainerProps { } export interface PlankMaterialModalState extends UiContainerState { visible: boolean; pickerVisible: boolean; pickerFrameName: string; businessTypeRecord: any; typeRecord: any; categoryRecord: any; materialInsertRequests: Array; } export class FamilyPlankMaterialProduceModal extends UiContainer { constructor(props: any, context?: any); private readonly typePickerName; private readonly categoryPickerName; private readonly businessTypePickerName; private commonInfo; private initCommonInfo; private makePickerFrame; private validateAsync; private mergeMaterialData; private batchValidateMaterialInfoAsync; private batchSendInsertRequestAsync; protected onCancel: () => void; protected onOk: () => void; protected onShowPicker: (frameName: string) => void; protected setMaterialData(param: string, value: any): void; protected onInputValueChange: (event: any) => void; private makeCommonInfoCol; private makeMaterialInfoCol; protected onSelectValueChange: (value: any, option: any) => void; private makeTextAreaFormItem; private makeSelectItemCol; private makeMaterialForm; private makeMaterialForms; private makeCommonInfoForm; private makeBusinessTypeForm; protected makeMaterialFrame: () => React.JSX.Element; protected makeModalFrame: () => React.JSX.Element; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/FamilyProduceModal" { import * as React from 'react'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { MaterialFamilyInsertRequestVo } from 'sk/data/logic/module/message/MaterialFamilyInsertRequest'; import { MaterialInsertRequestVo } from 'sk/data/logic/module/message/MaterialInsertRequest'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { FamilySymbolService } from 'sk/frame/logic/storage/module/family/symbol/FamilySymbolService'; export class FamilyProduceModal extends UiContainer { protected _frame: any; private _materialArray; protected _familySymbolService: FamilySymbolService; protected _frameService: UiFrameService; constructor(props: any, context?: any); private getFamilySymbolsAsync; protected onCancel: () => void; protected onOk: () => void; protected goBack: () => void; protected goNext: () => void; validateProduceMaterialAsync(material: MaterialInsertRequestVo): Promise; validateProduceMaterialFamily(materialFamily: MaterialFamilyInsertRequestVo): boolean; private produceMaterialManage; private materialMerge; private produceMaterialFamily; private materialFamilyMerge; protected onShowCategoryTreePicker: () => void; private makeCategoryTreePickerFrame; protected onShowTypePicker: () => void; private makeTypePickerFrame; protected onShowBusinessTypePicker: (index: number) => void; private makeBusinessTypePickerFrame; protected onShowFamilyPicker: (index: number) => void; private makeFamilyPickerFrame; protected onShowSymbolPicker: (index: number) => void; private makeSymbolPickerFrame; protected onShowMaterialPicker: (index: number) => void; private makeMaterialPickerFrame; protected makeFamilySymbolTable: () => React.JSX.Element; protected makeMaterialManageTable: () => React.JSX.Element; protected makeMaterialFamily: () => React.JSX.Element; protected onSelectValueChanged: (value: any, option: any) => void; protected onInputValueChanged: (event: any) => void; private makeInputFormItemCol; private makeSelectItemCol; private makeInputPickerFormItemCol; private makeInputTextAreaFormItemCol; private makeSteps; protected makeModalFrame: () => React.JSX.Element; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/FamilyPublishModal" { import { UiContainer, UiContainerProps } from 'foundation/editor/ui/core/UiContainer'; import { UiFrameDataResult } from 'sk/editor/frame/ui/UiFrameDataResult'; import { UiFrameDataService } from 'sk/editor/frame/ui/UiFrameDataService'; export interface FamilyPublishProps extends UiContainerProps { onChangeRow?: any; onOk?: any; onCancel?: any; frameName: string; showModal?: boolean; } export class FamilyPublishModal extends UiContainer { protected _frameDataService: UiFrameDataService; protected _frame: any; constructor(props?: any, context?: any); state: { showModal: boolean; }; componentStatusChange(state: any, props: any): void; makePickerFrame(): JSX.Element; protected onValueChanged: () => void; protected onCancel: () => void; protected onOk: () => void; private insertData; saveAsync(form: any): Promise; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/FamilySymbolIdentifyCodeUpdateModal" { import * as React from 'react'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class FamilySymbolIdentifyCodeUpdateModal extends UiContainer { constructor(props: any, context?: any); protected onCancel: () => void; protected onOk: () => Promise; protected makeModalFrame: () => React.JSX.Element; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/FamilySymbolUpdateAllModal" { import * as React from 'react'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class FamilySymbolUpdateAllModal extends UiContainer { constructor(props: any, context?: any); protected onCancel: () => void; protected onOk: () => Promise; protected makeModalFrame: () => React.JSX.Element; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/FamilyTree" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { FamilyDocument } from 'sk/data/family/library/FamilyDocument'; export class FamilyTree extends UiContainer { document: FamilyDocument; 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; makeElementTree(): JSX.Element; makeNodeTree(): JSX.Element; makeDisplayTree(view: any): JSX.Element; makeGizmoTree(view: any): JSX.Element; makeViewTree(): JSX.Element; onTabChange: () => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/FamilyVisionLineModelResourcePicker" { import { FamilyDocumentService } from 'sk/data/family/service/FamilyDocumentService'; import { UiDefineEditControl } from 'sk/editor/frame/ui/base/UiDefineEditControl'; export class FamilyVisionLineModelResourcePicker extends UiDefineEditControl { protected _familyDocumentService: FamilyDocumentService; state: { resourceId: any; showModal: boolean; record: any; formData: any; declare: any; }; componentStatusChange(state: any, props: any): void; private makeModal; private onClick; buildEditInput(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/PointElementCustomControl" { import { Types } from 'cross/runtime/lang/collection/Types'; import { PointElement } from 'sk/data/family/element/brep/geometric/PointElement'; import { ComponentElement } from 'sk/data/family/element/component/ComponentElement'; import { UiDefineEditControl } from 'sk/editor/frame/ui/base/UiDefineEditControl'; export class PointElementCustomControl extends UiDefineEditControl { element: ComponentElement; options: Types; state: { formData: any; declare: any; pointElementId: any; pointElement: typeof PointElement; }; componentStatusChange(state: any, props: any): void; private checkComponetTypeValid; handleSelectChange: (value: any) => void; makeOptions: () => any[]; buildEditInput(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/ProductLinkItemCustomControl" { import { CustomizedControlNode } from 'sk/editor/frame/service/frame/node/CustomizedControlNode'; import { UiDefineEditControl } from 'sk/editor/frame/ui/base/UiDefineEditControl'; export class ProductLinkItemCustomControl extends UiDefineEditControl { declare: CustomizedControlNode; editStatusUpdate: boolean; private _pickerMap; private _canSendRequest; constructor(props: any, context?: any); state: { linkCd: number; linkId: any; linkName: any; showModal: boolean; record: any; formData: any; declare: any; }; componentStatusChange(state: any, props: any): void; private getLinkNameAsync; private makePickerFrame; private onClick; buildEditInput(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/layout/entity/LayoutBlueprintEntity" { import { GridEntity } from 'foundation/editor/view/entity/GridEntity'; import { LayoutBlueprintNode } from 'sk/data/family/structure/layout/model/LayoutBlueprintNode'; import { LayoutEditOptions } from "sk/frame/plugin/editor/module/layout/entity/LayoutEditOptions"; export class LayoutBlueprintEntity extends LayoutBlueprintNode { grid: GridEntity; protected _editOptions: LayoutEditOptions; constructor(); get editOptions(): LayoutEditOptions; reset(): void; dispose(): void; } } declare module "sk/frame/plugin/editor/module/layout/entity/LayoutEditorDocument" { import { Types } from 'cross/runtime/lang/collection/Types'; import { PersistentFactory } from 'cross/runtime/module/persistent/PersistentFactory'; import { StorageDeviceService } from 'cross/core/device/storage/StorageDeviceService'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { LogicResult } from 'foundation/data/common/logic/LogicResult'; import { AssetVersionType } from 'foundation/data/common/resource/AssetUtil'; import { CircleArc2Curve2dDrawingElement } from 'sk/data/family/element/brep/drawing/curve2d/CircleArc2Curve2dDrawingElement'; import { CircleCurve2dDrawingElement } from 'sk/data/family/element/brep/drawing/curve2d/CircleCurve2dDrawingElement'; import { LineCurve2dElement } from 'sk/data/family/element/brep/geometric/curve2d/LineCurve2dElement'; import { PointElement } from 'sk/data/family/element/brep/geometric/PointElement'; import { LayoutTileElement } from 'sk/data/family/structure/layout/element/LayoutTileElement'; import { StructureElement } from 'sk/data/family/element/base/StructureElement'; import { RuleElement } from 'sk/data/family/rule/element/RuleElement'; import { LayoutDocument } from 'sk/data/family/structure/layout/LayoutDocument'; import { StructureDocumentService } from 'sk/data/family/structure/StructureDocumentService'; import { TemplateLogicService } from 'sk/data/resource/model/service/TemplateLogicService'; import { StructureLayoutUpdateContentResponse } from 'sk/data/logic/module/message/StructureLayoutUpdateContentResponse'; import { TileLocation } from 'sk/rule/data/layout/LayoutResultTile'; import { LayoutBlueprintEntity } from "sk/frame/plugin/editor/module/layout/entity/LayoutBlueprintEntity"; export class Path { _path: Array; _closed: boolean; } export class ParameterCircle { constructor(radius?: number); radius: number; } export class ParameterRectangle { constructor(width?: number, height?: number); width: number; height: number; } export class ClipAreaParameters { constructor(type?: string, para?: any); type: string; para: any; } export class LayoutEditorDocument extends LayoutDocument { protected static _factory: PersistentFactory; static get Factory(): PersistentFactory; blueprint: LayoutBlueprintEntity; baseUrl: string; protected _storageService: StorageDeviceService; protected _templateService: TemplateLogicService; protected _structureDocumentService: StructureDocumentService; protected constructor(); get factory(): PersistentFactory; makeStorageCode(): string; findContentByElement(element: any): DataNode; loadByUrlAsync(url: string): Promise; loadByIdAsync(id: string, version?: AssetVersionType): Promise; saveAsync(): Promise; saveLocal(): any; computeElement(element: any, node: any): void; asyncDocumentAsync(): Promise; private vec2tovec3; private vec3tovec2; node2Path(node: DataNode): Path; path2Node(path: Path): DataNode; getPointNode(element: PointElement, offset: TileLocation): any; getLineCurveNode(drawelement: LineCurve2dElement, offset: TileLocation): any; getCircleNode(drawelement: CircleCurve2dDrawingElement, offset: TileLocation): any; getCircleArcNode(drawelement: CircleArc2Curve2dDrawingElement, offset: TileLocation): any; static calCircleCenter(p1: Vector3, p2: Vector3, r: number): Array; clipNode(inputnode: DataNode, clipareanode: DataNode): DataNode[]; proifleToNode(structureElement: StructureElement, offset: TileLocation, cliparea?: DataNode): void; transformNodes(tiles: any, x: number, y: number): void; workFlowCompute(tile: LayoutTileElement, rules: Types): any; tileInstanceToNode(clipparameter?: ClipAreaParameters): void; createContainerNode(clipparameter: ClipAreaParameters): DataNode; compute(): void; private computeAsync; static createEmptyDocument(json?: any): LayoutEditorDocument; static createDefaultDocument(): LayoutEditorDocument; } } declare module "sk/frame/plugin/editor/module/family/ui/ReferenceStructureCustomControl" { import { LayoutDocumentService } from 'sk/data/family/structure/layout/LayoutDocumentService'; import { FamilyDocumentService } from 'sk/data/family/service/FamilyDocumentService'; import { CustomizedControlNode } from 'sk/editor/frame/service/frame/node/CustomizedControlNode'; import { UiDefineEditControl } from 'sk/editor/frame/ui/base/UiDefineEditControl'; export class ReferenceStructureCustomControl extends UiDefineEditControl { protected _layoutDocumentService: LayoutDocumentService; protected _familyDocumentService: FamilyDocumentService; declare: CustomizedControlNode; editStatusUpdate: boolean; state: { contentId: any; showModal: boolean; record: any; formData: any; declare: any; }; componentStatusChange(state: any, props: any): void; private loadLayoutEditorDocumentAsync; private getLayoutTileElementsAsync; private clearBindingProperties; private initBindingPropertysAsync; private onEditClose; private getFrameName; private makeModal; private makeButton; private onClick; private getName; buildEditInput(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/ReferenceStructureCustomEditorControl" { import { FamilyDocumentService } from 'sk/data/family/service/FamilyDocumentService'; import { CustomizedControlNode } from 'sk/editor/frame/service/frame/node/CustomizedControlNode'; import { UiDefineEditControl } from 'sk/editor/frame/ui/base/UiDefineEditControl'; export class ReferenceStructureCustomEditorControl extends UiDefineEditControl { protected _familyDocumentService: FamilyDocumentService; declare: CustomizedControlNode; editStatusUpdate: boolean; state: { contentId: any; contentVersion: any; showModal: boolean; record: any; formData: any; declare: any; }; componentStatusChange(state: any, props: any): void; private getFrameName; private makeModal; private onClick; buildEditInput(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/ReferenceStructureCustomReadonlyControl" { import { CustomizedControlNode } from 'sk/editor/frame/service/frame/node/CustomizedControlNode'; import { UiDefineEditControl } from 'sk/editor/frame/ui/base/UiDefineEditControl'; export class ReferenceStructureCustomReadonlyControl extends UiDefineEditControl { declare: CustomizedControlNode; editStatusUpdate: boolean; state: { contentId: any; contentVersion: any; showModal: boolean; record: any; formData: any; declare: any; }; componentStatusChange(state: any, props: any): void; buildEditInput(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/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/module/family/ui/action/MeshInstanceActionEvent" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { ActionEvent } from 'foundation/editor/view/action/ActionEvent'; import { NestElement } from 'sk/data/family/element/base/NestElement'; import { FamilyDocument } from 'sk/data/family/library/FamilyDocument'; import { FamilyStructure } from 'sk/data/family/library/FamilyStructure'; export class MeshInstanceActionEvent extends ActionEvent { document: FamilyDocument; name: string; position: Vector3; parent: NestElement; familyStructure: FamilyStructure; size: Vector3; modelResourceId: string; modelResourceVersion: string; constructor(); free(): void; } } declare module "sk/frame/plugin/editor/module/family/ui/action/MeshInstanceAddAction" { import { Action } from 'foundation/editor/view/action/Action'; import { NestElement } from 'sk/data/family/element/base/NestElement'; import { FamilyDocument } from 'sk/data/family/library/FamilyDocument'; import { FamilyDocumentService } from 'sk/data/family/service/FamilyDocumentService'; import { MeshInstanceActionEvent } from "sk/frame/plugin/editor/module/family/ui/action/MeshInstanceActionEvent"; export class MeshInstanceAddAction extends Action { document: FamilyDocument; parentElement: NestElement; protected _familyDocumentService: FamilyDocumentService; onExecute(event: MeshInstanceActionEvent): void; onCleanup(): void; onReceive(dataName: string, attributes: any): boolean; } } declare module "sk/frame/plugin/editor/module/family/ui/action/frame/FamilyCheckAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class FamilyCheckAction extends FrameAction { private _toolbar; private _frameName; constructor(typeName?: string); process(args: FrameActionArgs): void; private addFrame; } } declare module "sk/frame/plugin/editor/module/family/ui/action/frame/FamilyOpenEditorAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; export class FamilyOpenEditorAction extends FrameAction { protected _uiFrameService: UiFrameService; process(args: FrameActionArgs): void; checkEditableAsync(familyId: string): Promise; } } declare module "sk/frame/plugin/editor/module/family/ui/action/frame/FamilyOpenProduceAction" { import { FamilyConfigService } from 'sk/data/family/service/FamilyConfigService'; import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class FamilyOpenProduceAction extends FrameAction { private _toolbar; protected _familyConfigService: FamilyConfigService; process(args: FrameActionArgs): void; private addMaterialProducerFrame; private addPlankMaterialProducerFrame; private isPlankAsync; } } declare module "sk/frame/plugin/editor/module/product/ui/ProductPublishModal" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { ProductProductInsertResponse } from 'sk/data/logic/module/message/ProductProductInsertResponse'; import { FamilySymbolService } from 'sk/frame/logic/storage/module/family/symbol/FamilySymbolService'; export class ProductPublishModal extends UiContainer { protected _frame: any; private _productVo; protected _familySymbolService: FamilySymbolService; constructor(props: any, context?: any); componentDidMount(): void; private init; private getFamilySymbolList; private getPatternSymbolList; protected onShowTypePicker: () => void; protected onCancel: () => void; protected onOk: () => void; protected goBack: () => void; validateProduct(): boolean; protected onPublishAsync(): Promise; protected onInsertAsync(): Promise; protected makeTypePickerFrame(): JSX.Element; private getShowSize; private makeColumns; protected makeSymbolForm(): JSX.Element; protected makeProductTable(): JSX.Element; protected onInputValueChanged: (event: any) => void; protected onSelectValueChanged: (key: string, value: any) => void; private makeSelectItemCol; private makeInputFormItemCol; private makeProductForm; protected makeModalFrame(): JSX.Element; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/action/frame/FamilyOpenPublishAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class FamilyOpenPublishAction extends FrameAction { private _toolbar; constructor(typeName?: string); process(args: FrameActionArgs): void; private showPublishFrame; } } declare module "sk/frame/plugin/editor/module/family/ui/action/frame/FamilyOpenSymbolAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class FamilyOpenSymbolAction extends FrameAction { constructor(typeName?: string); process(args: FrameActionArgs): void; } } declare module "sk/frame/plugin/editor/module/family/ui/action/frame/FamilySymbolIdentifyCodeUpdateAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class FamilySymbolIdentifyCodeUpdateAction extends FrameAction { private _toolbar; constructor(typeName?: string); process(args: FrameActionArgs): void; private addFrame; } } declare module "sk/frame/plugin/editor/module/family/ui/action/frame/FamilySymbolUpdateAllAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class FamilySymbolUpdateAllAction extends FrameAction { private _toolbar; constructor(typeName?: string); process(args: FrameActionArgs): void; private addFrame; } } declare module "sk/frame/plugin/editor/module/family/ui/action/frame/FamilySyncFeaturesAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; import { FamilyContentService } from 'sk/frame/logic/storage/module/family/FamilyContentService'; export class FamilySyncFeaturesAction extends FrameAction { protected _familyContentService: FamilyContentService; process(args: FrameActionArgs): void; } } declare module "sk/frame/plugin/editor/module/family/ui/category/FamilyElementCategoryPanel" { import * as React from 'react'; import { ConfigureController } from 'sk/data/family/element/config/configure/ConfigureController'; import { ConfigureElement } from 'sk/data/family/element/config/configure/ConfigureElement'; import { ConfigureOptionElement } from 'sk/data/family/element/config/configure/ConfigureOptionElement'; import { DecorateController } from 'sk/data/family/element/config/decorate/DecorateController'; import { DecorateElement } from 'sk/data/family/element/config/decorate/DecorateElement'; import { DecorateItemElement } from 'sk/data/family/element/config/decorate/DecorateItemElement'; import { SymbolController } from 'sk/data/family/element/config/symbol/SymbolController'; import { SymbolElement } from 'sk/data/family/element/config/symbol/SymbolElement'; import { TimelineController } from 'sk/data/family/element/config/timeline/TimelineController'; import { TimelineElement } from 'sk/data/family/element/config/timeline/TimelineElement'; import { VariableController } from 'sk/data/family/element/config/variable/VariableController'; import { VariableElement } from 'sk/data/family/element/config/variable/VariableElement'; import { Element } from 'sk/data/family/element/base/Element'; import { FamilyStructure } from 'sk/data/family/library/FamilyStructure'; import { FamilyStructureManager } from 'sk/data/family/library/FamilyStructureManager'; import { UiElementCategoryPanel, UiElementCategoryPanelProps, UiElementCategoryPanelState } from 'sk/editor/family/ui/category/UiElementCategoryPanel'; export interface FamilyElementCategoryPanelProps extends UiElementCategoryPanelProps { popNode: any; } export interface FamilyElementCategoryPanelState extends UiElementCategoryPanelState { popNode: any; } export class FamilyElementCategoryPanel extends UiElementCategoryPanel { onRightClick: ({ event, node }: { event: any; node: any; }) => void; protected closeContextMenu(): void; protected insertElement(): React.MouseEventHandler; protected copyElement(element: Element): React.MouseEventHandler; protected pasteElement(element: Element): React.MouseEventHandler; protected deleteElement(element: Element): React.MouseEventHandler; handlePopoverVisibleChange: (visible: any) => void; protected onCheckboxStateChange: () => void; makePopNode(node: any, context: any): any; protected makeTitle(element: Element): any; makeElement(element: Element): any; makeFamilyStructure(familyStructure: FamilyStructure): JSX.Element; makeStructureManager(structureManager: FamilyStructureManager): JSX.Element; makeControllerTreeNode(controller: VariableController | DecorateController | ConfigureController | SymbolController | TimelineController, parentKey: string): any; makeControllerItemTreeNode(item: VariableElement | DecorateElement | ConfigureElement | SymbolElement | TimelineElement): any; makeControllerElementItemTreeNode(item: DecorateItemElement | ConfigureOptionElement): any; makeNodes(): any; } } declare module "sk/frame/plugin/editor/module/family/ui/component/DataTable" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class DataTablePageOption { totalRecords: number; pageSize: number; currentPage: number; } export class DataTableOption { size: 'default' | 'middle' | 'small'; noDataMessage: any; multiSelect: boolean; columns: Array; dataSource: Array; selectedRowKeys: Array; page: DataTablePageOption; scrolHeight: any; constructor(); } export class DataTable extends UiContainer { state: DataTableOption; constructor(props: any, context?: any); componentStatusChange(state: any, props: any): void; private onRowSelect; private onSelectedRowKeysChange; getSelectRowIds(): any[]; reset(): void; onPageSizeChange(): any; onPageChange(): any; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/component/DataToolBar" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; class ToolBarState { searchValue: string; sortValue: string; } export class DataToolBar extends UiContainer { state: ToolBarState; constructor(props: any, context?: any); componentStatusChange(state: any, props: any): void; onSearchChange: (e: any) => void; onSearchClick: () => void; onSearchClear: () => void; onSortChange: (sortValue: any) => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/component/DataTreeview" { import * as React from 'react'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class DataTreeview extends UiContainer { draggleAble: boolean; checkAble: boolean; treeLine: boolean; onNodeSelect: Function; onNodeSelectChange: Function; onNodeRightClick: Function; onInsert: Function; onDelete: Function; onUpdate: Function; onPositionUpdate: Function; onCategoryDropUpdate: Function; dataDic: any; infoForm: any; state: { currentKey: string; menuData: any[]; formFields: any; isMenuNeedShow: boolean; isPopNeedShow: boolean; data: any[]; infoDialogVisible: boolean; deleteDialogVisible: boolean; status: string; treeLine: boolean; selectedCheckKeys: any[]; defaultSelectedNode: any; selectedKeys: string[]; categoryName: string; }; constructor(props: any, context?: any); componentStatusChange(state: any, props: any): void; onMenuClick(func: any): React.MouseEventHandler; onMenuInsert: () => void; onMenuUpdate: () => void; onMenuDelete: () => void; showInfoModal(): void; showDeleteModal(): void; hideInfoModal(): void; hideDeleteModal(): void; handlePopoverVisibleChange: (alertShow: any) => void; makeCatalogTree(data: any): any; onRightClick: ({ event, node }: { event: any; node: any; }) => void; onNodeClick: ({ event, node }: { event: any; node: any; }) => void; onDrag: (info: any) => void; onDrop: (info: any) => void; getCategoryUnitByKey(key: string, data: any): any; firstBit(dragKey: string, defaultParent: any): void; secondBit(dragKey: string, dropPosition: any, dropPos: any, parent: any): any; thirdBit(dragKey: any, currentSortNum: any, parent: any): void; bitSpecial(dragKey: any, dropPosition: any, dropPos: any, parent: any, defaultUnit: any): void; onNodeInfoOk: () => void; onNodeInfoCancel: () => void; onNodeDeleteCancel: () => void; onNodeDeleteOk: () => void; onNodePositionUpdate(parentKey: string, nodeKey: string): void; onFieldsChange: (changedFields: any) => void; onSelectChange: (selectedKeys: any) => void; onClearSelectedKeys(): void; onCheckChange: (selectedKeys: any, e: any) => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/component/EditableCell" { import * as React from 'react'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class EditableCell extends UiContainer { constructor(props?: any, context?: any); state: { value: any; showModal: boolean; selectedRowKeys: any[]; treeData: any[]; defaultActiveKey: string; }; componentStatusChange(state: any, props: any): void; check: () => void; edit: () => void; changeSource: (key: any) => void; handleCancel: () => void; makeTable: (treeData: any) => React.JSX.Element; selectRow: (record: any) => void; onSelectedRowKeysChange: (selectedRowKeys: any) => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/component/EditableInputCell" { import * as React from 'react'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class EditableInputCell extends UiContainer { constructor(props?: any, context?: any); state: { value: any; showModal: boolean; }; componentPropsChange(nextProps: any, nextContext: any): void; check: () => void; edit: () => void; handleCancel: () => void; onInputChange: (e: any) => void; makeInput: (value: any) => React.JSX.Element; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/component/EditableSelectCell" { import * as React from 'react'; import { BooleanEnum } from 'cross/runtime/lang/BooleanEnum'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class EditableSelectCell extends UiContainer { constructor(props?: any, context?: any); state: { value: any; showModal: boolean; }; componentPropsChange(nextProps: any, nextContext: any): void; check: () => void; edit: () => void; handleCancel: () => void; onChange: (enumValue: BooleanEnum) => void; makeInput: (value: any) => React.JSX.Element; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/component/EditableTable" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class EditableTable extends UiContainer { private _onDataChange; private _columns; private _getRowData; private _setRowData; private _buttons; constructor(props?: any, context?: any); state: { dataSource: any[]; treeData: any[]; treeDataOnline: any[]; currentTreeData: any[]; defaultActiveKey: string; }; componentStatusChange(state: any, props: any): void; private getColumns; componentPropsChange(state: any, props: any): void; private getRowData; protected onCellChange: (index: any, key: any) => (configId: any) => void; protected onDefaultValueCellChange: (index: any, key: any) => (value: any) => void; protected onDelete: (index: any) => void; protected handleAdd: () => void; protected handleAddOnline: () => void; protected handleAddLocation: () => void; protected handleClear: () => void; protected makeButtons: () => any[]; protected onTreeType: (treeType: any) => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/component/SiderBar" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class SiderBar extends UiContainer { menuContent: any; onMenuClick: any; menuStruct: any; defaultOpenKeys: any[]; componentStatusChange(state: any, props: any): void; onMenuSelect: (event: any) => void; makeMenu(): any[]; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/core/EditMode" { export class EditMode { static Normal: "normal"; static Editor: "editor"; } } declare module "sk/frame/plugin/editor/module/family/ui/core/PageDataMode" { export class PageDataMode { static Insert: "insert"; static Update: "update"; } } declare module "sk/frame/plugin/editor/module/family/ui/property/CavityComponentElementPanel" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class CavityComponentElementPanel extends UiContainer { constructor(props?: any, context?: any); componentDidMount(): void; componentStatusChange(state: any, props: any): void; private updateDataSource; private saveValue; onChangeCavityDepth: (value: any) => void; onChangeCavityRadius: (value: any) => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/property/ComponentProfilePickerControl" { import { Types } from 'cross/runtime/lang/collection/Types'; import { ParameterElement } from 'sk/data/family/element/config/ParameterElement'; import { UiDefineEditControl } from 'sk/editor/frame/ui/base/UiDefineEditControl'; export class ComponentProfilePickerControl extends UiDefineEditControl { state: { profileInfos: any; showModal: boolean; record: any; id: string; dataSource: any[]; }; componentPropsChange(nextProps: any, nextContext: any): void; private saveValue; private makeColumns; private updateDataSource; loadByUrlAsync(url: string): Promise>; loadByIdAsync(id: string, version?: number | string): Promise>; private getProfileInfoAsync; private setVariablesAsync; private makeModal; private onClick; buildEditInput(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/property/ConditionPropertyModal" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class ConditionPropertyModalForm extends UiContainer { private formRef; constructor(props?: any, context?: any); componentPropsChange(nextProps: any, nextContext: any): void; onSubmit: (e: any) => void; handleCancel: () => void; private makeConditionSelect; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/property/ConditionPropertyManagePanel" { 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 ConditionPropertyManagePanel extends UiContainer { protected document: FamilyDocument; protected element: BrepElement; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; componentDidMount(): void; private getDataSource; private addConditionProperty; private findConditionPropertyStructureById; private onAdd; private onEditor; protected onDelete: (record: any) => void; private makeButtons; private makeColumns; private hideConditionPropertyEditorModal; private submitCallBack; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/property/ConfigurePropertyManagePanel" { 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 ConfigurePropertyManagePanel extends UiContainer { protected document: FamilyDocument; protected element: BrepElement; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; componentDidMount(): void; private getDataSource; private clearBindingProperties; private saveDataSource; private getConfigureElementTree; private onDataChange; private getServiceElementTreeAsync; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/property/DecoratePropertyManagePanel" { 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'; import { FamilyDocumentService } from 'sk/data/family/service/FamilyDocumentService'; export class DecoratePropertyManagePanel extends UiContainer { protected document: FamilyDocument; protected element: BrepElement; protected _familyDocumentService: FamilyDocumentService; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; componentDidMount(): void; private getDataSource; private clearBindingProperties; private saveDataSource; private getConfigureElementTree; private onDataChange; private setRowDataHandle; buttons: { add: boolean; delete: boolean; clear: boolean; }; private getServiceElementTreeAsync; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/property/GrooveComponentDirectionControl" { import { CustomizedControlNode } from 'sk/editor/frame/service/frame/node/CustomizedControlNode'; import { UiDefineEditControl } from 'sk/editor/frame/ui/base/UiDefineEditControl'; export class GrooveComponentDirectionControl extends UiDefineEditControl { declare: CustomizedControlNode; state: { element: any; }; componentPropsChange(nextProps: any, nextContext: any): void; private onInput; buildEditInput(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/property/GrooveComponentElementPanel" { import { LogicResult } from 'foundation/data/common/logic/LogicResult'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class TechnologyGrooveComponentElementPanel extends UiContainer { constructor(props?: any, context?: any); componentDidMount(): void; componentStatusChange(state: any, props: any): void; private getFrameName; loadByUrlAsync(url: string): Promise; loadByIdAsync(id: string, version?: number | string): Promise; private getParametersAsync; private setParameters; private updateDataSource; private getNameAndVersionAsync; private makeModal; private onClick; private saveValue; onChangeGrooveHeight: (value: any) => void; onChangeGrooveWidth: (value: any) => void; onChangeGrooveDirection_x: (value: any) => void; onChangeGrooveDirection_y: (value: any) => void; onChangeGrooveDirection_z: (value: any) => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/property/HoleComponentElementPanel" { import { LogicResult } from 'foundation/data/common/logic/LogicResult'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class HoleComponentElementPanel extends UiContainer { constructor(props?: any, context?: any); componentDidMount(): void; componentStatusChange(state: any, props: any): void; private getFrameName; loadByUrlAsync(url: string): Promise; loadByIdAsync(id: string, version?: number | string): Promise; private getParametersAsync; private setParameters; private updateDataSource; private getNameAndVersionAsync; private makeModal; private onClick; private saveValue; onChangeHoleDepth: (value: any) => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/property/MillingComponentElementPanel" { import { LogicResult } from 'foundation/data/common/logic/LogicResult'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class TechnologyMillingComponentElementPanel extends UiContainer { constructor(props?: any, context?: any); componentDidMount(): void; componentStatusChange(state: any, props: any): void; private getFrameName; loadPathByIdAsync(id: string, version?: number | string): Promise; loadBeginByIdAsync(id: string, version?: number | string): Promise; loadEndByIdAsync(id: string, version?: number | string): Promise; private getPathParametersAsync; private getBeginParametersAsync; private getEndParametersAsync; private setPathParameters; private setBeginParameters; private setEndParameters; private updatePathDataSource; private updateBeginDataSource; private updateEndDataSource; private getPathNameAndVersionAsync; private getBeginNameAndVersionAsync; private getEndNameAndVersionAsync; private makePathModal; private makeBeginModal; private makeEndModal; private onPathClick; private onBeginClick; private onEndClick; private savePathValue; private saveBeginValue; private saveEndValue; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/property/ParameterPropertyModal" { import * as React from 'react'; import { FormInstance } from 'antd/lib/form'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class ParameterPropertyModalForm extends UiContainer { formRef: React.RefObject>; constructor(props?: any, context?: any); componentPropsChange(nextProps: any, nextContext: any): void; componentStatusChange(state: any, props: any): void; onSubmit: (e: any) => void; handleCancel: () => void; private makeParameterSelect; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/property/ParameterPropertyManagePanel" { 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 ParameterPropertyManagePanel extends UiContainer { protected document: FamilyDocument; protected element: BrepElement; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; componentDidMount(): void; private getDataSource; private addParameterProperty; private clearBindingProperties; private saveDataSource; private onDataChange; private findParameterPropertyStructureById; private onAdd; private onEditor; protected onDelete: (record: any) => void; private makeButtons; private makeColumns; private hideParameterPropertyEditorModal; private submitCallBack; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/property/PlankPropertyPanel" { import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; export class PlankPropertyPanel extends InstanceObject { } } declare module "sk/frame/plugin/editor/module/rule/rule/frame/RuleEditorDocument" { 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 { RuleDocument } from 'sk/data/family/rule/RuleDocument'; import { TemplateLogicService } from 'sk/data/resource/model/service/TemplateLogicService'; export class RuleEditorDocument extends RuleDocument { protected static _factory: PersistentFactory; static get Factory(): PersistentFactory; baseUrl: string; protected _storageService: StorageDeviceService; protected _templateService: TemplateLogicService; constructor(); get factory(): PersistentFactory; makeStorageCode(): string; loadByUrlAsync(url: string): Promise; loadByIdAsync(id: string, version?: number | string): Promise; saveOssAsync(): Promise; saveLocal(): any; static createEmptyDocument(): RuleEditorDocument; } } declare module "sk/frame/plugin/editor/module/family/ui/property/RuleInstanceItemElementManageModal" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { RuleItemElement } from 'sk/data/family/rule/element/instance/RuleItemElement'; import { RuleDocumentService } from 'sk/data/family/rule/RuleDocumentService'; import { RuleService } from 'sk/frame/logic/storage/module/rule/rule/RuleService'; export class RuleInstanceItemElementManageModalForm extends UiContainer { private formRef; protected isHandle: boolean; protected _ruleDocumentService: RuleDocumentService; protected _ruleService: RuleService; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; private loadRuleEditorDocumentAsync; private getCodeByIdAsync; private initRuleParameterElementsAsync; private updateRuleInstanceItemElementAsync; private updateChildRuleInstanceItemElementAsync; private getRuleParameterElements; onSubmit: (e: any) => void; setConfigValue(code: string, value: any): void; setValidConditionValue: () => void; handleCancel: () => void; makeConfigItems: () => any[]; private makeEnumCdComponent; private buildHandleItems; makeFormItems: () => any[]; makeConditionsData(element: RuleItemElement): any; addCondition: () => void; removeCondition(index: number): any; onConditionValueChange(condition: any): any; onConditionVisibleClick(condition: any): any; makeConditionsFormItem: () => any; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/property/RuleInstancePropertyManagePanel" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { ComponentElement } from 'sk/data/family/element/component/ComponentElement'; import { FamilyDocument } from 'sk/data/family/library/FamilyDocument'; export class RuleInstancePropertyManagePanel extends UiContainer { protected document: FamilyDocument; protected element: ComponentElement; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; componentDidMount(): void; private getDataSource; private saveDataSource; private onDataChange; private addRuleTypeItemElement; private onAdd; protected onDelete: (index: any) => void; private onSelect; private makeButtons; private makeColumns; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/rule/type/frame/RuleTypeEditorDocument" { 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 { RuleStructureElement } from 'sk/data/family/rule/element/RuleStructureElement'; import { FamilyDocument } from 'sk/data/family/library/FamilyDocument'; import { RuleFamilyStructure } from 'sk/data/family/rule/RuleFamilyStructure'; import { TemplateLogicService } from 'sk/data/resource/model/service/TemplateLogicService'; import { RuleTypeUpdateContentResponse } from 'sk/data/logic/module/message/RuleTypeUpdateContentResponse'; export class RuleTypeEditorDocument extends FamilyDocument { protected static _factory: PersistentFactory; static get Factory(): PersistentFactory; baseUrl: string; protected _storageService: StorageDeviceService; protected _templateService: TemplateLogicService; constructor(); get factory(): PersistentFactory; setup(): void; get rootFamilyStructure(): RuleFamilyStructure; get rootStructure(): RuleStructureElement; makeStorageCode(): string; loadByUrlAsync(url: string): Promise; loadByIdAsync(id: string, version?: number | string): Promise; saveOssAsync(): Promise; saveLocal(): any; } } declare module "sk/frame/plugin/editor/module/family/ui/property/RuleTypeItemElementManageModal" { import * as React from 'react'; import { Types } from 'cross/runtime/lang/collection/Types'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { RuleItemElement } from 'sk/data/family/rule/element/instance/RuleItemElement'; import { RuleParameterElement } from 'sk/data/family/rule/element/instance/RuleParameterElement'; import { RuleTypeItemElement } from 'sk/data/family/rule/element/instance/RuleTypeItemElement'; import { RuleTypeDocumentService } from 'sk/data/family/rule/RuleTypeDocumentService'; import { RuleTypeService } from 'sk/frame/logic/storage/module/rule/type/RuleTypeService'; export class RuleTypeItemElementManageModalForm extends UiContainer { protected _ruleTypeDocumentService: RuleTypeDocumentService; protected _ruleTypeService: RuleTypeService; protected isHandle: boolean; protected params: Types; private formRef; constructor(props?: any, context?: any); componentPropsChange(nextProps: any, nextContext: any): void; private getVersionByIdAsync; private loadRuleTypeEditorDocumentAsync; private initRuleParameterElementsAsync; private buildRuleTypeItemElement; private clearRuleParameters; onSubmitAsync: (e: any) => Promise; setConfigValue(code: string, value: any, ruleTypeItemElement?: RuleTypeItemElement): void; setParameterElementValue: (code: string, value: any, ruleTypeItemElement?: RuleTypeItemElement) => void; setValidConditionValue: () => void; handleCancel: () => void; protected makeFamilyModal: () => React.JSX.Element; private makeEnumCdComponent; private onFamilyClick; private buildHandleItems; makeConfigItems: () => any[]; makeFormItems: () => any[]; makeConditionsData(element: RuleItemElement): any; addCondition: () => void; removeCondition(index: number): any; onConditionValueChange(condition: any): any; onConditionVisibleClick(condition: any): any; makeConditionsFormItem: () => any; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/property/RulePropertyManagePanel" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { RuleItemElement } from 'sk/data/family/rule/element/instance/RuleItemElement'; import { ComponentElement } from 'sk/data/family/element/component/ComponentElement'; import { FamilyDocument } from 'sk/data/family/library/FamilyDocument'; import { RuleDocumentService } from 'sk/data/family/rule/RuleDocumentService'; import { FamilyDocumentService } from 'sk/data/family/service/FamilyDocumentService'; export class RulePickerConstant { static readonly Type: string; static readonly Instance: string; static readonly TypeFrameName: string; static readonly InstanceFrameName: string; } export class RulePropertyManagePanel extends UiContainer { protected document: FamilyDocument; protected element: ComponentElement; protected _pickerFrame: any; protected _familyDocumentService: FamilyDocumentService; protected _ruleDocumentService: RuleDocumentService; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; componentDidMount(): void; getRuleInfoAsync(id: string, type: string): Promise; private getDataSourceAsync; getRuleDataAsync(rule: RuleItemElement): Promise; private addRuleElementAsync; private createInstanceRuleAsync; private loadRuleEditorDocumentAsync; private initRuleParameterElementsAsync; private onAdd; private onAddChild; private onEditor; protected onDelete: (record: any) => void; private makeButtons; private makeColumns; private check; private handleCancel; private changeKey; private onPickOk; private hideRuleTypeItemElementManageModal; private hideRuleInstanceItemElementManageModal; private makeFrame; selectRow: (record: any) => void; onSelectedRowKeysChange: (selectedRowKeys: any) => void; private makeRulePicker; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/property/TilePropertyManagePanel" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { LayoutComponentElement } from 'sk/data/family/element/component/LayoutComponentElement'; import { FamilyDocument } from 'sk/data/family/library/FamilyDocument'; export class TilePropertyManagePanel extends UiContainer { protected document: FamilyDocument; protected element: LayoutComponentElement; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; private getDataSource; private clearBindingProperties; private saveDataSource; private getConfigureElementTree; private onDataChange; private setRowDataHandle; buttons: { add: boolean; delete: boolean; }; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/property/VariablePropertyManagePanel" { 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 VariablePropertyManagePanel extends UiContainer { protected document: FamilyDocument; protected element: BrepElement; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; componentDidMount(): void; private getDataSource; private clearBindingProperties; private saveDataSource; private getConfigureElementTree; private onDataChange; private getServiceElementTreeAsync; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/property/element/LinerComponentElementPanel" { import { BasePropertyPanel } from 'sk/editor/family/ui/property/BasePropertyPanel'; import { FamilyEditorDocument } from "sk/frame/plugin/editor/module/family/entity/FamilyEditorDocument"; export class LinearComponentElementPanel extends BasePropertyPanel { document: FamilyEditorDocument; constructor(props?: any, context?: any); onValueChanged(key: string, value: any): void; } } declare module "sk/frame/plugin/editor/module/family/ui/property/element/LinerComponentProfilePanel" { import { LogicResult } from 'foundation/data/common/logic/LogicResult'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { ProfileDocumentService } from 'sk/data/family/structure/profile/ProfileDocumentService'; import { FamilyDocumentService } from 'sk/data/family/service/FamilyDocumentService'; export class LinerComponentProfilePanel extends UiContainer { protected _familyDocumentService: FamilyDocumentService; protected _profileDocumentService: ProfileDocumentService; constructor(props?: any, context?: any); componentDidMount(): void; componentStatusChange(state: any, props: any): void; private getFrameName; loadByUrlAsync(url: string): Promise; loadByIdAsync(id: string, version?: number | string): Promise; private getParametersAsync; private setParameters; private updateDataSource; private getNameAndVersionAsync; private makeModal; private onClick; private saveValue; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/pattern/entity/PatternEditOptions" { import { EditOptions } from 'foundation/editor/view/entity/EditOptions'; export class PatternEditOptions extends EditOptions { rotationX: number; rotationY: number; rotationZ: number; calculateRefresh: boolean; reset(): void; } } declare module "sk/frame/plugin/editor/module/pattern/entity/PatternBlueprintEntity" { import { GridEntity } from 'foundation/editor/view/entity/GridEntity'; import { PatternBlueprintNode } from 'sk/data/family/pattern/model/PatternBlueprintNode'; import { PatternEditOptions } from "sk/frame/plugin/editor/module/pattern/entity/PatternEditOptions"; export class PatternBlueprintEntity extends PatternBlueprintNode { editOptions: PatternEditOptions; grid: GridEntity; constructor(); reset(): void; } } declare module "sk/frame/plugin/editor/module/pattern/entity/PatternEditorDocument" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { PersistentContext } from 'cross/runtime/module/persistent/PersistentContext'; import { PersistentFactory } from 'cross/runtime/module/persistent/PersistentFactory'; import { PatternStructureElement } from 'sk/data/family/pattern/element/PatternStructureElement'; import { PatternDocument } from 'sk/data/family/pattern/PatternDocument'; import { PatternDocumentService } from 'sk/data/family/pattern/PatternDocumentService'; import { PatternFamilyStructure } from 'sk/data/family/pattern/PatternFamilyStructure'; import { PatternUpdateContentResponse } from 'sk/data/logic/module/message/PatternUpdateContentResponse'; import { PatternBlueprintEntity } from "sk/frame/plugin/editor/module/pattern/entity/PatternBlueprintEntity"; export class PatternEditorDocument extends PatternDocument { protected static _factory: PersistentFactory; protected _patternDocumentService: PatternDocumentService; static get Factory(): PersistentFactory; blueprint: PatternBlueprintEntity; activeFamilyStructure: PatternFamilyStructure; constructor(); get factory(): PersistentFactory; setup(): void; get rootFamilyStructure(): PatternFamilyStructure; get rootStructure(): PatternStructureElement; static createEmptyDocument(json?: any): PatternEditorDocument; static createDefaultDocument(): PatternEditorDocument; computeLoadAsync(): Promise; saveJson(jconfig?: any, options?: any, context?: PersistentContext): any; saveAsync(): Promise; computeVision(element?: Element): void; computeVisionAsync(element?: Element): Promise; } } declare module "sk/frame/plugin/editor/module/pattern/frame/PatternConstants" { export class PatternConstants { static ModuleName: string; static DocumentName: string; static CanvasName: string; static SceneName: string; } } declare module "sk/frame/plugin/editor/module/pattern/frame/PatternEditorModule" { 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 { MoldingVisionEnum } from 'foundation/data/common/enumeration/MoldingVisionEnum'; import { CanvasService } from 'foundation/editor/view/base/CanvasService'; import { FrameEditorModule } from 'sk/editor/view/frame/FrameEditorModule'; import { FamilyCanvas3d } from 'sk/editor/family/view/FamilyCanvas3d'; import { PatternEditorDocument } from "sk/frame/plugin/editor/module/pattern/entity/PatternEditorDocument"; export class PatternEditorModule extends FrameEditorModule { _document: PatternEditorDocument; viewLeft: FamilyCanvas3d; viewRight: FamilyCanvas3d; protected _canvasService: CanvasService; constructor(); get document(): PatternEditorDocument; onStartup(context: ModuleContext): void; bindCanvasAsync(panelId: string, json?: any): Promise; releaseCanvas(panelId: string): void; changeDrawMode(canvasId: string, modeCd: MoldingVisionEnum): void; cameraFit(canvasId: string): void; changeCameraView(canvasId: string, modeCd: ObserverModeEnum, typeCd: ObserverTypeEnum): void; static get instance(): PatternEditorModule; } } declare module "sk/frame/plugin/editor/module/family/ui/property/element/LinkerPatternElementPanel" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { LinkerPatternElement } from 'sk/data/family/element/pattern/LinkerPatternElement'; export class LinkerPatternElementPanel extends UiContainer { protected element: LinkerPatternElement; private _pickerMap; private _pickerFrame; private style; constructor(props?: any, context?: any); private initPickerMap; componentDidMount(): void; componentStatusChange(state: any, props: any): void; private setParameters; protected onLinkCdChanged: (value: any, option: any) => void; private makeSelectItemCol; private makeDecoratePickerFrame; private getLinkNameAsync; private getDecorateNameAsync; private makePickerModalFrame; private onClick; private getDocumentDecorateItemList; private getSystemDecorateItemListAsync; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/family/ui/property/element/ProfileElementPanel" { import { LogicResult } from 'foundation/data/common/logic/LogicResult'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class ProfileElementPanel extends UiContainer { constructor(props?: any, context?: any); componentDidMount(): void; componentStatusChange(state: any, props: any): void; private getFrameName; loadByUrlAsync(url: string): Promise; loadByIdAsync(id: string, version?: number | string): Promise; private getParametersAsync; private setParameters; private updateDataSource; private getNameAndVersionAsync; private makeModal; private onClick; private saveValue; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/familytype/ui/FamilyTypeEditorFrame" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { FamilyTypeEditorDocument } from "sk/frame/plugin/editor/module/familytype/frame/FamilyTypeEditorDocument"; export class FamilyTypeEditorFrame extends UiContainer { document: FamilyTypeEditorDocument; documentId: string; documentVersion: string; documentJson: any; protected _key: string; protected _uiFrameService: UiFrameService; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; componentDidMount(): void; loadDocumentAsync(): Promise; onDocumentChanged(id: string, version: string): void; onSaveAsync(): Promise; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/familytype/ui/action/FamilyTypeOpenEditorAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class FamilyTypeOpenEditorAction extends FrameAction { process(args: FrameActionArgs): void; } } declare module "sk/frame/plugin/editor/module/layout/frame/LayoutConstants" { export class LayoutConstants { static ModuleName: string; static DocumentName: string; static CanvasName: string; static SceneName: string; } } declare module "sk/frame/plugin/editor/module/layout/action/content/LayoutActionEvent" { import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; export class LayoutActionEvent extends ContentActionEvent { elementClass: any; free(): void; } } declare module "sk/frame/plugin/editor/module/layout/action/LayoutAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { StructureElement } from 'sk/data/family/element/base/StructureElement'; import { FamilyStructure } from 'sk/data/family/library/FamilyStructure'; import { LayoutBlueprintEntity } from "sk/frame/plugin/editor/module/layout/entity/LayoutBlueprintEntity"; import { LayoutActionEvent } from "sk/frame/plugin/editor/module/layout/action/content/LayoutActionEvent"; export class LayoutAction extends Action { document: any; blueprint: LayoutBlueprintEntity; layoutStructure: FamilyStructure; structure: StructureElement; protected _selectionService: SelectionService; onSetup(): void; onReceive(code: string, event: LayoutActionEvent): boolean; } } declare module "sk/frame/plugin/editor/module/layout/action/LayoutActionUtil" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { ActionService } from 'foundation/editor/view/action/ActionService'; export class LayoutActionUtil { protected static _actionService: ActionService; protected static _selectionService: SelectionService; static addLayoutNode(elementClass: any, position?: Vector2): void; static deleteSelectedNode(): void; } } declare module "sk/frame/plugin/editor/module/layout/action/content/ContentDisplayAction" { import { ContentNode } from 'foundation/data/common/model/brep/ContentNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { LayoutActionEvent } from "sk/frame/plugin/editor/module/layout/action/content/LayoutActionEvent"; export type StorageData = { visible: boolean; }; export class ContentDisplayAction extends Action { chest: ContentNode; content: ContentNode; visible: boolean; protected _savedData: StorageData; protected _restoreData: StorageData; protected _selectionService: SelectionService; constructor(); protected switchVisible(visible: boolean): void; onExecute(event?: LayoutActionEvent): void; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/module/layout/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/module/layout/action/content/ContentScaleAction" { import { Action } from 'foundation/editor/view/action/Action'; export class ContentScaleAction extends Action { content: any; contentpos: any; cscale: any; } } declare module "sk/frame/plugin/editor/module/layout/action/selection/SelectionSelectProcess" { import { EditingService } from 'foundation/editor/base/selection/EditingService'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { SelectActionEvent } from 'foundation/editor/view/action/selection/SelectActionEvent'; import { SelectActionEventEnum } from 'foundation/editor/view/action/selection/SelectActionEventEnum'; import { ActionService } from 'foundation/editor/view/action/ActionService'; export class SelectionSelectProcess { entity: any; entityPath: Array; event: any; multiSelect: boolean; protected _selectionService: SelectionService; protected _editingService: EditingService; protected _actionService: ActionService; constructor(); process(selectType: SelectActionEventEnum, event: SelectActionEvent): void; } } declare module "sk/frame/plugin/editor/module/layout/entity/LayoutTileEntity" { import { LayoutTileNode } from 'sk/data/family/structure/layout/model/LayoutTileNode'; export class LayoutTileEntity extends LayoutTileNode { } } declare module "sk/frame/plugin/editor/module/layout/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/module/layout/ui/UiLayoutElementCategoryPanel" { import { LayoutStructureElement } from 'sk/data/family/structure/layout/element/LayoutStructureElement'; import { Element } from 'sk/data/family/element/base/Element'; import { RuleWorkflowElement } from 'sk/data/family/workflow/element/RuleWorkflowElement'; import { UiCategoryPanel, UiCategoryPanelProps, UiCategoryPanelState } from 'sk/editor/view/ui/UiCategoryPanel'; export interface UiElementCategoryPanelProps extends UiCategoryPanelProps { } export interface UiElementCategoryPanelState extends UiCategoryPanelState { } export class UiLayoutElementCategoryPanel extends UiCategoryPanel { protected makeTitle(element: Element): any; protected makeVariables(element: LayoutStructureElement): JSX.Element; protected makeStructElement(element: Element): JSX.Element; protected makeWorkflow(element: RuleWorkflowElement): JSX.Element; protected makeLayoutTileElement(element: Element): JSX.Element; protected makeDocument(element: LayoutStructureElement): JSX.Element; makeElement(element: Element): JSX.Element; makeNodes(): any; } } declare module "sk/frame/plugin/editor/module/layout/ui/LayoutCategoryTabPanel" { import { UiCategoryTabPanel } from 'sk/editor/view/ui/UiCategoryTabPanel'; export class LayoutCategoryTabPanel extends UiCategoryTabPanel { render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/layout/ui/LayoutPropertyTabPanel" { import { UiPropertyTabPanel } from 'sk/editor/view/ui/UiPropertyTabPanel'; export class LayoutPropertyTabPanel extends UiPropertyTabPanel { render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/layout/ui/LayoutToolBar" { import { HttpDeviceService } from 'cross/core/device/http/HttpDeviceService'; import { UiContainer, UiContainerProps, UiContainerState } from 'foundation/editor/ui/core/UiContainer'; import { PointDrawingEntity } from 'sk/editor/family/entity/drawing/PointDrawingEntity'; import { LayoutEditorDocument, ClipAreaParameters, ParameterCircle, ParameterRectangle } from "sk/frame/plugin/editor/module/layout/entity/LayoutEditorDocument"; export class TileContainerShapeTypeEnum { static Rectangle: string; static Parallelogram: string; } export interface LayoutToolbarProps extends UiContainerProps { } export interface LayoutToolbarState extends UiContainerState { clipParameter: ClipAreaParameters; parameterRectangle: ParameterRectangle; parameterCircle: ParameterCircle; } export class LayoutToolBar extends UiContainer { document: LayoutEditorDocument; protected _httpService: HttpDeviceService; selectObject: any; frame: any; protected _tmpnode: PointDrawingEntity; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; onCreateNode(elementClass: any): any; onDeleteInstance: () => void; onClear: () => void; onSave: () => Promise; private makeButtons; private onClipDataChanged; private onClipDataPressEnter; private makeCircleClipUI; private makeRectClipUI; private addVariable; private addTile; private deleteTile; private addTileInstance; private addTransformRule; onRefreshTiles: () => void; private buttonConfig; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/layout/frame/LayoutEditorModule" { 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 { LayoutEditorDocument } from "sk/frame/plugin/editor/module/layout/entity/LayoutEditorDocument"; export class LayoutEditorModule extends FrameEditorModule { _document: LayoutEditorDocument; canvas: C2dCanvas; protected _canvasService: CanvasService; constructor(); onStartup(context: ModuleContext): void; onBindCanvasAsync(json?: any): Promise; onReleaseCanvas(): void; static get instance(): LayoutEditorModule; } } declare module "sk/frame/plugin/editor/module/layout/frame/LayoutEditorFrame" { 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 { FrameEditorFrame, FrameEditorFrameProps, FrameEditorFrameState } from 'sk/editor/view/frame/FrameEditorFrame'; import { ClipAreaParameters, LayoutEditorDocument } from "sk/frame/plugin/editor/module/layout/entity/LayoutEditorDocument"; import { LayoutEditorModule } from "sk/frame/plugin/editor/module/layout/frame/LayoutEditorModule"; export interface LayoutEditorFrameProps extends FrameEditorFrameProps { } export interface LayoutEditorFrameState extends FrameEditorFrameState { selectObject?: any; statusOpened?: boolean; } export class LayoutEditorFrame extends FrameEditorFrame { static pageName: string; module: LayoutEditorModule; document: LayoutEditorDocument; private _tree; constructor(props?: any, context?: any); initListenner(): void; disposeListenner(): void; loadDocumentAsync(): Promise; refreshTree: () => void; getCanvas: () => void; onSelectionChanged(sender: ListenerContext, event: SelectionEvent): void; onSelectElement: (selectedElement: any) => void; onCanvasViewChange: (id: string, modeCd: ObserverModeEnum, typeCd: ObserverTypeEnum) => any; private makeCanvas; makeTile(clipparameter?: ClipAreaParameters): void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/layout/frame/LayoutSettings" { import { EditorSettings } from 'cross/editor/framework/setting/EditorSettings'; export class LayoutSettings extends EditorSettings { htmlView: HTMLElement; curveGuid: string; curveVersion: string; curveData: string; user_id: string; user_path: string; } } declare module "sk/frame/plugin/editor/module/layout/ui/ControlIdentityEnum" { export class ControlIdentityEnum { static Main: string; static Toolbar: string; static PropertyBar: string; } } declare module "sk/frame/plugin/editor/module/layout/ui/LayoutPropForm" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; 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'; import { UiDataContext } from 'sk/editor/frame/ui/UiDataContext'; export class LayoutPropForm extends UiContainer { protected _selectionService: SelectionService; document: FamilyDocument; state: { element: any; }; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; onSelectChange(sender: ListenerContext, event: SelectionEvent): void; onFieldChanged: () => void; onValueChanged: (key: string, value: any) => void; makeDataContext(element: any): UiDataContext; makePropertyPanel(): JSX.Element; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/layout/ui/LayoutTree" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { KeyboardDeviceEvent } from 'cross/editor/device/keyboard/KeyboardDeviceEvent'; import { KeyboardDeviceService } from 'cross/editor/device/keyboard/KeyboardDeviceService'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { LayoutEditorDocument } from "sk/frame/plugin/editor/module/layout/entity/LayoutEditorDocument"; export class LayoutTree extends UiContainer { document: LayoutEditorDocument; selectElementCallback: any; protected _keyboardService: KeyboardDeviceService; state: { popNode: any; selectedElementKeys: any[]; selectedDisplayKeys: any[]; blueprintIsOpened: boolean; }; constructor(props?: any, context?: any); componentDidMount(): void; componentWillUnmount(): void; componentStatusChange(state: any, props: any): void; onKeyboardDown(sender: ListenerContext, event: KeyboardDeviceEvent): void; onSelectElement: (selectedKeys: string[], e: any) => void; onSelectNode: (selectedKeys: string[], e: any) => void; private makeTitle; private makeDisplayTitle; makeElementTree(): any; makeDisplayTree(): any; makeMeshTree(): any; onTabChange: () => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/layout/ui/action/LayoutOpenEditorAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class LayoutOpenEditorAction extends FrameAction { process(args: FrameActionArgs): void; } } declare module "sk/frame/plugin/editor/module/layout/ui/property/LayoutLayout2dRulePropertyPanel" { import { UiPropertyPanel } from 'sk/editor/view/ui/UiPropertyPanel'; export class LayoutLayout2dRulePropertyPanel extends UiPropertyPanel { constructor(); onValueChanged: (key: string, value: any) => void; } } declare module "sk/frame/plugin/editor/module/layout/ui/property/LayoutTileInstancePropertyPanel" { import { UiPropertyPanel } from 'sk/editor/view/ui/UiPropertyPanel'; export class LayoutTileInstancePropertyPanel extends UiPropertyPanel { constructor(); onValueChanged: (key: string, value: any) => void; } } declare module "sk/frame/plugin/editor/module/layout/ui/property/LayoutTilePropertyPanel" { import { UiPropertyPanel } from 'sk/editor/view/ui/UiPropertyPanel'; export class LayoutTilePropertyPanel extends UiPropertyPanel { constructor(); onValueChanged: (key: string, value: any) => void; } } declare module "sk/frame/plugin/editor/module/layout/ui/property/LayoutTransformRulePropertyPanel" { import { UiPropertyPanel } from 'sk/editor/view/ui/UiPropertyPanel'; export class LayoutTransformRulePropertyPanel extends UiPropertyPanel { constructor(); onValueChanged: (key: string, value: any) => void; } } declare module "sk/frame/plugin/editor/module/layout/ui/property/LayoutVariablePropertyPanel" { import { UiPropertyPanel } from 'sk/editor/view/ui/UiPropertyPanel'; export class LayoutVariablePropertyPanel extends UiPropertyPanel { constructor(); onValueChanged: (key: string, value: any) => void; } } declare module "sk/frame/plugin/editor/module/layout/util/LayoutLinkUtil" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; export class LayoutLinkUtil { static getCircleCrossPoint(center: Vector2, dir: Vector2, radius: number, target?: Vector2): Vector2; static getRectCrossPoint(center: Vector2, dir: Vector2, halfWidth: number, halfHeight: number, target?: Vector2): Vector2; static getDiamondCrossPoint(center: Vector2, dir: Vector2, halfWidth: number, halfHeight: number, target?: Vector2): Vector2; static convertDisplayLine(context: C2dCanvasContext, line: any): any; static computeArrowPoints(line: any, scale?: number): any[]; } } declare module "sk/frame/plugin/editor/module/layout/view/C2dLayoutBaseController" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { DisplayController } from 'foundation/editor/view/base/DisplayController'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; export class C2dLayoutBaseController extends DisplayController { context: C2dCanvasContext; protected _eventHooks: Array; constructor(); bindEvent(): void; onClick(event: PIXI.interaction.InteractionEvent): void; onMouseOver(event: PIXI.interaction.InteractionEvent): void; onMouseOut(event: PIXI.interaction.InteractionEvent): void; onMouseMove(event: MouseEvent, x: number, y: number): void; onMouseUp(event: MouseEvent): void; onDragStart(event: MouseEvent, x: number, y: number): void; startMoveAction(point: Vector2, mouseEvent: MouseEvent): void; onDragMove(event: PIXI.interaction.InteractionEvent, cx: number, cy: number): void; onDragEnd(event: PIXI.interaction.InteractionEvent): void; dispose(): void; } } declare module "sk/frame/plugin/editor/module/layout/view/C2dLayoutBase" { 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 { V2dGraphicText } from 'foundation/editor/view/view2d/render/V2dGraphicText'; import { DataDisplay } from 'foundation/editor/view/base/DataDisplay'; 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 { C2dLayoutBaseController } from "sk/frame/plugin/editor/module/layout/view/C2dLayoutBaseController"; export class C2dLayoutBase extends DataDisplay { context: C2dCanvasContext; layer: C2dLayer; node: V2dGraphicContainer; protected graphics: V2dGraphicDrawing; protected text: V2dGraphicText; controller: C2dLayoutBaseController; protected _statusDragged: boolean; protected _lineWidth: number; protected _lineColor: number; constructor(); setup(): void; onEntityFlagChanged(sender: ListenerContext, event: DataNodeFlagEvent): void; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; onEntityDirty(sender: ListenerContext, event: DataNodeFieldEvent): void; sceneScale(): number; dirty(): void; createNode(): void; onDraw(context?: DisplayContext): void; updateStyleStatus(): void; updateShape(): void; removeFromView(): void; dispose(): void; } } declare module "sk/frame/plugin/editor/module/layout/view/C2dLayoutTile" { import { C2dLayoutBase } from "sk/frame/plugin/editor/module/layout/view/C2dLayoutBase"; export class C2dLayoutTile extends C2dLayoutBase { updateShape(): void; } } declare module "sk/frame/plugin/editor/module/library/ui/modal/LibraryBackupModal" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class LibraryBackupModal extends UiContainer { constructor(props: any, context?: any); componentStatusChange(state: any, props: any): void; protected onCancel: () => void; protected onOk: () => Promise; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/library/ui/action/LibraryBackupAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class LibraryBackupAction extends FrameAction { private _toolbar; process(args: FrameActionArgs): void; private addFrame; } } declare module "sk/frame/plugin/editor/module/library/ui/modal/LibraryDataFixModal" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class LibraryDataFixModal extends UiContainer { componentPropsChange(nextProps: any, nextContext: any): void; protected onCancel(): void; private onFixAsync; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/library/ui/action/LibraryDataFixAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class LibraryDataFixAction extends FrameAction { private _toolbar; private _frameName; process(args: FrameActionArgs): void; private addFrame; } } declare module "sk/frame/plugin/editor/module/library/ui/action/LibraryDatasetCheckAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class LibraryDatasetCheckAction extends FrameAction { private _toolbar; private _frameName; process(args: FrameActionArgs): void; private addFrame; } } declare module "sk/frame/plugin/editor/module/library/ui/modal/LibraryPublishModal" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { ModuleLibraryPublishResponse } from 'sk/data/logic/warehouse/message/ModuleLibraryPublishResponse'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; export class LibraryPublishModal extends UiContainer { private _options; private _optionMap; private _defaultValue; protected _uiFrameService: UiFrameService; componentPropsChange(nextProps: any, nextContext: any): void; private init; private reset; private getShowDataCheck; protected onCancel: (response?: ModuleLibraryPublishResponse) => void; protected onPublish: () => void; private getOption; private onPublishAsync; private processPublishResponse; private onOptionChange; private makeOptionsPanel; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/library/ui/action/LibraryPublishAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class LibraryPublishAction extends FrameAction { private _toolbar; private readonly _frameName; process(args: FrameActionArgs): void; private addFrame; } } declare module "sk/frame/plugin/editor/module/library/ui/action/LibraryPublishResultCheckAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; export class LibraryPublishResultCheckAction extends FrameAction { protected _uiFrameService: UiFrameService; process(args: FrameActionArgs): void; private showResult; } } declare module "sk/frame/plugin/editor/module/library/ui/modal/LibraryRebuildGlobalConfigModal" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { LibraryDatasetCheckProps } from "sk/frame/plugin/editor/module/library/ui/modal/LibraryDatasetCheckModal"; export class LibraryRebuildGlobalConfigModal extends UiContainer { componentPropsChange(nextProps: LibraryDatasetCheckProps, nextContext: any): void; protected onCancel(): void; protected onRebuildAsync(): Promise; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/library/ui/action/LibraryRebuildGlobalConfigAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class LibraryRebuildGlobalConfigAction extends FrameAction { private _toolbar; private _frameName; process(args: FrameActionArgs): void; private addFrame; } } declare module "sk/frame/plugin/editor/module/library/ui/modal/LibraryRestoreModal" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class LibraryRestoreModal extends UiContainer { protected _restoreFile: string; constructor(props: any, context?: any); componentPropsChange(nextProps: any, nextContext: any): void; onChange: (value: any) => void; makeSelectionComponent(): JSX.Element; protected getBackupListAsync(): Promise; protected onCancel: () => void; protected onOk: () => Promise; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/library/ui/action/LibraryRestoreAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class LibraryRestoreAction extends FrameAction { private _toolbar; constructor(typeName?: string); process(args: FrameActionArgs): void; private addFrame; } } declare module "sk/frame/plugin/editor/module/library/ui/action/LibraryTaskPublishAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class LibraryTaskPublishAction extends FrameAction { private _toolbar; private readonly _frameName; process(args: FrameActionArgs): void; private addFrame; } } declare module "sk/frame/plugin/editor/module/library/ui/modal/LibraryUpdateModal" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class LibraryUpdateModal extends UiContainer { constructor(props: any, context?: any); protected onCancel: () => void; protected onUpdate: () => void; private onCheckAsync; protected onDataCheck: () => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/library/ui/action/LibraryUpdateAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class LibraryUpdateAction extends FrameAction { private _toolbar; process(args: FrameActionArgs): void; private addFrame; } } declare module "sk/frame/plugin/editor/module/library/ui/modal/LibraryUpgradeModal" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class LibraryUpgradeModal extends UiContainer { private columns; componentPropsChange(nextProps: any, nextContext: any): void; private init; private getLibraryListAsync; protected onCancel: () => void; protected onUpgrade(): void; private onUpgradeAsync; private onConfirm; private onChange; private onSelect; private onSelectAll; private makeLibraryTable; private makeUpgradeModal; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/library/ui/action/LibraryUpgradeAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class LibraryUpgradeAction extends FrameAction { private _toolbar; private _frameName; process(args: FrameActionArgs): void; private addFrame; } } declare module "sk/frame/plugin/editor/module/library/ui/action/ResourceLibraryBackupAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class ResourceLibraryBackupAction extends FrameAction { private _toolbar; process(args: FrameActionArgs): void; private addFrame; } } declare module "sk/frame/plugin/editor/module/library/ui/modal/ResourceLibraryDatasetCheckModal" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class ResourceLibraryDatasetCheckModal extends UiContainer { constructor(props: any, context?: any); componentPropsChange(nextProps: any, nextContext: any): void; protected onCancel: () => void; protected onCheck(): void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/library/ui/action/ResourceLibraryDatasetCheckAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class ResourceLibraryDatasetCheckAction extends FrameAction { private _toolbar; private _frameName; constructor(typeName?: string); process(args: FrameActionArgs): void; private addFrame; } } declare module "sk/frame/plugin/editor/module/library/ui/action/ResourceLibraryRestoreAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class ResourceLibraryRestoreAction extends FrameAction { private _toolbar; process(args: FrameActionArgs): void; private addFrame; } } declare module "sk/frame/plugin/editor/module/library/ui/modal/LibraryCheckDocumentModal" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { EnvironmentService } from 'cross/runtime/module/environment/EnvironmentService'; import { PersistentService } from 'cross/runtime/module/persistent/PersistentService'; import { JsonService } from 'cross/core/module/json/JsonService'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; export class LibraryCheckDocumentModal extends UiContainer { protected _persistentService: PersistentService; protected _jsonService: JsonService; protected _environmentService: EnvironmentService; protected _uiFrameService: UiFrameService; private checkResult; private columns; constructor(props: any, context?: any); protected onCancel: () => void; protected onOk: () => void; checkDocumentAsync(page: number, libraryId: string): Promise; private checkDocumentContentClassAsync; downloadFileAsync(json: any, filename: string): Promise; private makeCheckResultTable; private makeTipModal; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/material/action/ui/MaterialExpandFieldsManageModal" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class MaterialExpandFieldsManageModal extends UiContainer { private table; constructor(props: any, context?: any); private init; componentPropsChange(nextProps: any, nextContext: any): void; protected onCancel: () => void; protected onSaveAsync: () => Promise; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/material/action/ui/MaterialOpenExpandFieldsManagePanelAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class MaterialOpenExpandFieldsManagePanelAction extends FrameAction { private _toolbar; process(args: FrameActionArgs): void; private openModalFrame; } } declare module "sk/frame/plugin/editor/module/material/action/ui/MaterialOpenPublishAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class MaterialOpenPublishAction extends FrameAction { private _toolbar; process(args: FrameActionArgs): void; private openPublishFrame; } } declare module "sk/frame/plugin/editor/module/pattern/action/content/PatternActionEvent" { import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; export class PatternActionEvent extends ContentActionEvent { elementClass: any; free(): void; } } declare module "sk/frame/plugin/editor/module/pattern/action/PatternAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { StructureElement } from 'sk/data/family/element/base/StructureElement'; import { FamilyStructure } from 'sk/data/family/library/FamilyStructure'; import { PatternBlueprintEntity } from "sk/frame/plugin/editor/module/pattern/entity/PatternBlueprintEntity"; import { PatternActionEvent } from "sk/frame/plugin/editor/module/pattern/action/content/PatternActionEvent"; export class PatternAction extends Action { document: any; blueprint: PatternBlueprintEntity; patternStructure: FamilyStructure; structure: StructureElement; protected _selectionService: SelectionService; onSetup(): void; onReceive(code: string, event: PatternActionEvent): boolean; } } declare module "sk/frame/plugin/editor/module/pattern/action/PatternActionUtil" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { ActionService } from 'foundation/editor/view/action/ActionService'; export class PatternActionUtil { protected static _actionService: ActionService; protected static _selectionService: SelectionService; static addPatternNode(elementClass: any, position?: Vector2): void; static deleteSelectedNode(): void; } } declare module "sk/frame/plugin/editor/module/pattern/action/content/ContentDisplayAction" { import { ContentNode } from 'foundation/data/common/model/brep/ContentNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { PatternActionEvent } from "sk/frame/plugin/editor/module/pattern/action/content/PatternActionEvent"; export type StorageData = { visible: boolean; }; export class ContentDisplayAction extends Action { chest: ContentNode; content: ContentNode; visible: boolean; protected _savedData: StorageData; protected _restoreData: StorageData; protected _selectionService: SelectionService; constructor(); protected switchVisible(visible: boolean): void; onExecute(event?: PatternActionEvent): void; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/module/pattern/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/module/pattern/action/content/ContentScaleAction" { import { Action } from 'foundation/editor/view/action/Action'; export class ContentScaleAction extends Action { content: any; contentpos: any; cscale: any; } } declare module "sk/frame/plugin/editor/module/pattern/action/selection/SelectionSelectProcess" { import { EditingService } from 'foundation/editor/base/selection/EditingService'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { SelectActionEvent } from 'foundation/editor/view/action/selection/SelectActionEvent'; import { SelectActionEventEnum } from 'foundation/editor/view/action/selection/SelectActionEventEnum'; import { ActionService } from 'foundation/editor/view/action/ActionService'; export class SelectionSelectProcess { entity: any; entityPath: Array; event: any; multiSelect: boolean; protected _selectionService: SelectionService; protected _editingService: EditingService; protected _actionService: ActionService; constructor(); process(selectType: SelectActionEventEnum, event: SelectActionEvent): void; } } declare module "sk/frame/plugin/editor/module/pattern/action/ui/PatternCheckAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class PatternCheckAction extends FrameAction { private _toolbar; private _frameName; constructor(typeName?: string); process(args: FrameActionArgs): void; private addFrame; } } declare module "sk/frame/plugin/editor/module/pattern/action/ui/PatternOpenPublishAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class PatternOpenPublishAction extends FrameAction { private _toolbar; constructor(typeName?: string); process(args: FrameActionArgs): void; private openPublishFrame; } } declare module "sk/frame/plugin/editor/module/pattern/action/ui/PatternOpenSymbolAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class PatternOpenSymbolAction extends FrameAction { constructor(typeName?: string); process(args: FrameActionArgs): void; } } declare module "sk/frame/plugin/editor/module/pattern/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/module/pattern/ui/UiPatternElementCategoryPanel" { import { Types } from 'cross/runtime/lang/collection/Types'; import { TreeNodeTypeNode } from 'cross/editor/frame/service/tree/node/TreeNodeTypeNode'; import { TreeLogicService } from 'cross/editor/frame/service/tree/TreeLogicService'; import { ConfigureElement } from 'sk/data/family/element/config/configure/ConfigureElement'; import { ConfigureOptionElement } from 'sk/data/family/element/config/configure/ConfigureOptionElement'; import { DecorateElement } from 'sk/data/family/element/config/decorate/DecorateElement'; import { DecorateItemElement } from 'sk/data/family/element/config/decorate/DecorateItemElement'; import { SizeSymbolItemElement } from 'sk/data/family/element/config/symbol/SizeSymbolItemElement'; import { SymbolElement } from 'sk/data/family/element/config/symbol/SymbolElement'; import { TimelineElement } from 'sk/data/family/element/config/timeline/TimelineElement'; import { VariableElement } from 'sk/data/family/element/config/variable/VariableElement'; import { Element } from 'sk/data/family/element/base/Element'; import { ConfigController } from 'sk/data/family/element/config/ConfigController'; import { FamilyDocument } from 'sk/data/family/library/FamilyDocument'; import { FamilyStructure } from 'sk/data/family/library/FamilyStructure'; import { FamilyStructureEnum } from 'sk/data/family/library/FamilyStructureEnum'; import { FamilyStructureManager } from 'sk/data/family/library/FamilyStructureManager'; import { PatternDocumentService } from 'sk/data/family/pattern/PatternDocumentService'; import { ObjectFrameService } from 'sk/editor/view/ui/ObjectFrameService'; import { UiCategoryPanel, UiCategoryPanelProps, UiCategoryPanelState } from 'sk/editor/view/ui/UiCategoryPanel'; export interface UiElementCategoryPanelProps extends UiCategoryPanelProps { selectObject: { element: any; fieldName?: string; }; structureType: FamilyStructureEnum; } export interface UiElementCategoryPanelState extends UiCategoryPanelState { popNode: any; nodeFlag: string; clickNode: any; insertParent: any; insertTypeNode: TreeNodeTypeNode; treeName: string; referenceElement: Element; clipboard: any; } export class UiPatternElementCategoryPanel extends UiCategoryPanel { protected _objectFrameService: ObjectFrameService; protected _treeLogicService: TreeLogicService; protected _patternDocumentService: PatternDocumentService; private _treeName; private _treeLogic; optionSymbolController: boolean; optionVariableController: boolean; optionFormulaController: boolean; optionDecorateController: boolean; optionConfigureController: boolean; optionTimelineController: boolean; constructor(props: any, context?: any); componentStatusChange(state: any, props: any): void; private loadTreeLogic; onSelect: (selectedKeys: string[], e: any) => void; private onInsertNode; private onDeleteNode; onPopoverVisibleChange: (visible: any) => void; getPopMenu(element: Element, typeNode: TreeNodeTypeNode): JSX.Element; makePopover(content: any, element: Element, typeNode: TreeNodeTypeNode): JSX.Element; makeDocumentTitle(document: FamilyDocument): any; makeSizeSymbolElementItemTitle(item: SizeSymbolItemElement): any; makeControllerTitle(controller: ConfigController, displayName?: string): any; makeControllerElementItemTitle(item: DecorateItemElement | ConfigureOptionElement): any; makeControllerElementItemTreeNode(item: SizeSymbolItemElement | DecorateItemElement | ConfigureOptionElement): any; makeControllerItemTitle(item: SymbolElement | VariableElement | DecorateElement | ConfigureElement | TimelineElement): any; makeControllerItemTreeNode(item: SymbolElement | VariableElement | DecorateElement | ConfigureElement | SymbolElement | TimelineElement): any; onRightClick: ({ event, node }: { event: any; node: any; }) => void; protected closeContextMenu(): void; protected insertElement(): any; protected copyElement(element: Element): any; protected pasteElement(element: any): any; protected addCopy(element: any): Element; private checkReference; protected deleteElement(element: Element): any; insertConfigureElement(): any; insertSymbolElement(type: string): any; handlePopoverVisibleChange: (visible: any) => void; makeControllerPopNode(node: any, context: any): any; makeControllerTreeNode(controller: ConfigController, parentKey: string, optionShow?: boolean, displayName?: string): any; changeDisplay: (element: any) => (e: any) => void; makeEyeUICom(element: any): JSX.Element; private getElementTreeNodeType; makeTreeNodeTitle(element: any, nodeType: TreeNodeTypeNode): JSX.Element; protected makeElementTreeNode(element: any): JSX.Element; makeStructureTreeNode(structure: FamilyStructure, expandedKeys: Types): any; makeStructureManagerTreeNode(structureManager: FamilyStructureManager): JSX.Element; makeNodes(): any; } } declare module "sk/frame/plugin/editor/module/pattern/ui/PatternCategoryTabPanel" { import { UiCategoryTabPanel } from 'sk/editor/view/ui/UiCategoryTabPanel'; export class PatternCategoryTabPanel extends UiCategoryTabPanel { render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/pattern/ui/PatternToolBar" { import * as React from 'react'; import { DatabaseDeviceService } from 'cross/core/device/database/DatabaseDeviceService'; import { HttpDeviceService } from 'cross/core/device/http/HttpDeviceService'; import { FileUploadService } from 'foundation/data/common/upload/FileUploadService'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { PerspectiveConfigDecorateItemService } from 'sk/frame/logic/storage/perspective/config/decorate/item/PerspectiveConfigDecorateItemService'; import { PatternEditorDocument } from "sk/frame/plugin/editor/module/pattern/entity/PatternEditorDocument"; export class PatternToolBar extends UiContainer { document: PatternEditorDocument; selectObject: any; protected _httpService: HttpDeviceService; protected _fileUploadService: FileUploadService; protected _databaseService: DatabaseDeviceService; protected _uiFrameService: UiFrameService; protected _perspectiveDecorateService: PerspectiveConfigDecorateItemService; state: { checkResults: any[]; }; componentStatusChange(state: any, props: any): void; saveDocumentAsync: () => Promise; private syncSymbolAsync; protected hasSymbol(document: PatternEditorDocument): boolean; protected deleteFromCacheAsync: (code: any) => Promise; protected getCanvasImageBlob: (modelCd?: number) => Blob[]; protected onToolsMove: () => void; protected onToolsRotation: () => void; protected onToolsScale: () => void; protected hideElement: () => void; protected showAllElement: () => void; protected onShowFamilyPicker: () => void; protected fix: () => void; protected pasteElement: () => void; protected copyElement: () => void; protected onSwitchViewClick: (viewCd: number) => () => void; protected deleteElement: () => void; protected onAddElement: (clazz: any) => () => void; protected onOpenAddModal: (event: any) => void; protected onCheckContent: () => void; protected onHideCheckResult: () => void; protected onSubmitDocumentClick: () => void; private elementMenu; private getGroupMenu; private getRowGroupMenu; protected makeAddPart: (name: string, btn: any) => React.JSX.Element; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/pattern/frame/PatternEditorFrame" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DataOptions } from 'cross/data/module/dataset/DataOptions'; import { ObserverModeEnum } from 'foundation/data/common/model/brep/ObserverModeEnum'; import { ObserverTypeEnum } from 'foundation/data/common/model/brep/ObserverTypeEnum'; import { MoldingVisionEnum } from 'foundation/data/common/enumeration/MoldingVisionEnum'; import { SelectionEvent } from 'foundation/editor/base/selection/SelectionEvent'; import { PatternDocumentService } from 'sk/data/family/pattern/PatternDocumentService'; import { PropertyFieldOption } from 'sk/data/family/util/ControllerUtil'; import { FrameEditorFrame, FrameEditorFrameProps, FrameEditorFrameState } from 'sk/editor/view/frame/FrameEditorFrame'; import { PatternEditorDocument } from "sk/frame/plugin/editor/module/pattern/entity/PatternEditorDocument"; import { PatternCategoryTabPanel } from "sk/frame/plugin/editor/module/pattern/ui/PatternCategoryTabPanel"; import { PatternEditorModule } from "sk/frame/plugin/editor/module/pattern/frame/PatternEditorModule"; export interface PatternEditorFrameProps extends FrameEditorFrameProps { } export interface PatternEditorFrameState extends FrameEditorFrameState { selectObject?: any; propertyFieldOption?: PropertyFieldOption; statusOpened?: boolean; deletedElement?: any; addedElement?: any; showFamilyPicker: boolean; pickFamilyRecord: any; rightViewVisible: boolean; showAddFrameModal: boolean; showAddSymbolModal: boolean; configureType: string; } export class PatternEditorFrame extends FrameEditorFrame { module: PatternEditorModule; document: PatternEditorDocument; protected _tree: PatternCategoryTabPanel; protected _switchViewDirty: boolean; rightCanvaComponent: any; leftCanvaComponent: any; protected _familyDataOptions: DataOptions; protected _documentService: PatternDocumentService; constructor(props?: any, context?: any); componentDidUpdate(nextProps?: any, nextState?: any): void; loadDocumentAsync(): Promise; onBindCanvasAsync(): Promise; private addFamilyElement; private makeFamilyPicker; refreshTree: () => void; onSelectionChanged(sender: ListenerContext, event: SelectionEvent): void; onSelectElement: (selectObject: any, propertyFieldOption?: PropertyFieldOption) => void; onChangeDrawMode: (id: string, modeCd: MoldingVisionEnum) => () => void; onCameraFit(id: string): any; switchView(viewCd: number): void; onCanvasViewChange: (id: string, modeCd: ObserverModeEnum, typeCd: ObserverTypeEnum) => () => void; private openAddModal; private copyElement; private pasteElementAsync; private removeElementAsync; toggleAddSymbolModal(show: boolean, type: string): void; private isExists; private addSymbolElement; private makeAddSymbolModal; private makeAddFrameModal; protected getDataOptions: () => DataOptions; onBindView: (view: any) => void; makeCanvas(id: string, style: any): JSX.Element; protected onSplitResize: () => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/pattern/frame/PatternSettings" { import { EditorSettings } from 'cross/editor/framework/setting/EditorSettings'; export class PatternSettings extends EditorSettings { htmlView: HTMLElement; curveGuid: string; curveVersion: string; curveData: string; user_id: string; user_path: string; } } declare module "sk/frame/plugin/editor/module/pattern/frame/PdmsPatternEditorModule" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { LockService } from 'cross/runtime/module/lock/LockService'; import { ProcessPipeService } from 'cross/runtime/module/pipe/ProcessPipeService'; import { ObserverModeEnum } from 'foundation/data/common/model/brep/ObserverModeEnum'; import { ObserverTypeEnum } from 'foundation/data/common/model/brep/ObserverTypeEnum'; import { MoldingVisionEnum } from 'foundation/data/common/enumeration/MoldingVisionEnum'; import { CanvasService } from 'foundation/editor/view/base/CanvasService'; import { V3dCanvas } from 'foundation/editor/view/view3d/V3dCanvas'; import { SpecificationWarehouseService } from 'sk/data/specification/warehouse/SpecificationWarehouseService'; import { DecorateCacheService } from 'sk/data/family/service/DecorateCacheService'; import { SchemeDocumentService } from 'sk/data/scheme/service/SchemeDocumentService'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { FrameEditorModule } from 'sk/editor/view/frame/FrameEditorModule'; import { SchemeEditorDocument } from 'sk/frame/logic/scheme/SchemeEditorDocument'; import { SchemeTechnologyDocument } from 'sk/frame/logic/technology/SchemeTechnologyDocument'; import { PatternEditorDocument } from "sk/frame/plugin/editor/module/pattern/entity/PatternEditorDocument"; export type PatternEditorModuleWorkflowOptions = { optionScheme?: boolean; optionTechnology?: boolean; processPlaceCd?: boolean; processForce?: boolean; }; export class PdmsPatternEditorModule extends FrameEditorModule { view3d: V3dCanvas; statusBuild: boolean; protected _schemeDocument: SchemeTechnologyDocument; defaultComputeOptions: PatternEditorModuleWorkflowOptions; protected _canvasService: CanvasService; protected _warehouseService: SpecificationWarehouseService; protected _schemeDocumentService: SchemeDocumentService; protected _processPipeService: ProcessPipeService; protected _lockService: LockService; protected _uiFrameService: UiFrameService; protected _decorateCacheService: DecorateCacheService; constructor(); toResize(): void; get document(): PatternEditorDocument; get schemeDocument(): SchemeEditorDocument; onStartup(): void; onBindCanvasAsync(json: any): Promise; onReleaseCanvas(): void; rebindCanvas(panelId: string): void; documentOpen(): void; documentClose(): void; changeDrawMode(canvasId: string, modeCd: MoldingVisionEnum): void; cameraFit(canvasId: string): void; cameraFitByView(view: V3dCanvas): void; changeCameraView(canvasId: string, modeCd: ObserverModeEnum, typeCd: ObserverTypeEnum): void; onBuildWorkflowAsync(options?: PatternEditorModuleWorkflowOptions): Promise; buildWorkflowAsync(options?: PatternEditorModuleWorkflowOptions): Promise; buildWorkflow(options?: PatternEditorModuleWorkflowOptions, callback?: any): void; static get instance(): PdmsPatternEditorModule; graphicUnitTest(id: string): void; graphicTestByType(id: string, type: string): void; } } declare module "sk/frame/plugin/editor/module/pattern/ui/ControlIdentityEnum" { export class ControlIdentityEnum { static Main: string; static Toolbar: string; static PropertyBar: string; } } declare module "sk/frame/plugin/editor/module/pattern/ui/PatternPropForm" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; 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'; import { UiDataContext } from 'sk/editor/frame/ui/UiDataContext'; export class PatternPropForm extends UiContainer { protected _selectionService: SelectionService; document: FamilyDocument; state: { element: any; }; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; onSelectChange(sender: ListenerContext, event: SelectionEvent): void; onFieldChanged: () => void; onValueChanged: (key: string, value: any) => void; makeDataContext(element: any): UiDataContext; makePropertyPanel(): JSX.Element; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/pattern/ui/PatternPropertyTabPanel" { import { UiPropertyTabPanel } from 'sk/editor/view/ui/UiPropertyTabPanel'; export class PatternPropertyTabPanel extends UiPropertyTabPanel { render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/pattern/ui/PatternTree" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { KeyboardDeviceEvent } from 'cross/editor/device/keyboard/KeyboardDeviceEvent'; import { KeyboardDeviceService } from 'cross/editor/device/keyboard/KeyboardDeviceService'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { PatternEditorDocument } from "sk/frame/plugin/editor/module/pattern/entity/PatternEditorDocument"; export class PatternTree extends UiContainer { document: PatternEditorDocument; selectElementCallback: any; protected _keyboardService: KeyboardDeviceService; state: { popNode: any; selectedElementKeys: any[]; selectedDisplayKeys: any[]; blueprintIsOpened: boolean; }; componentDidMount(): void; componentWillUnmount(): void; componentStatusChange(state: any, props: any): void; onKeyboardDown(sender: ListenerContext, event: KeyboardDeviceEvent): void; onSelectElement: (selectedKeys: string[], e: any) => void; onSelectNode: (selectedKeys: string[], e: any) => void; private makeTitle; private makeDisplayTitle; makeElementTree(): JSX.Element; makeDisplayTree(): any[] | JSX.Element; makeMeshTree(): any[] | JSX.Element; onTabChange: () => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/pattern/ui/action/PatternOpenEditorAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; export class PatternOpenEditorAction extends FrameAction { protected _uiFrameService: UiFrameService; process(args: FrameActionArgs): void; checkEditableAsync(familyId: string): Promise; } } declare module "sk/frame/plugin/editor/module/pattern/ui/property/AlgorithmPropertyManagePanel" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { PatternElement } from 'sk/data/family/element/pattern/PatternElement'; import { FamilyDocumentService } from 'sk/data/family/service/FamilyDocumentService'; import { AlgorithmService } from 'sk/rule/data/algorithm/AlgorithmService'; import { PatternEditorDocument } from "sk/frame/plugin/editor/module/pattern/entity/PatternEditorDocument"; export class AlgorithmPropertyManagePanel extends UiContainer { protected document: PatternEditorDocument; protected element: PatternElement; protected _familyDocumentService: FamilyDocumentService; protected _algorithmService: AlgorithmService; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; UNSAFE_componentWillMount(): void; private getAlgorithms; private getDataSource; private addAlgorithmElement; private onAdd; private onAddChild; protected onDelete: (record: any) => void; private makeButtons; private makeColumns; private check; private handleCancel; private makeFrame; selectRow: (record: any) => void; onSelectedRowKeysChange: (selectedRowKeys: any) => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/pattern/ui/property/PatternTileInstancePropertyPanel" { import { UiPropertyPanel } from 'sk/editor/view/ui/UiPropertyPanel'; export class PatternTileInstancePropertyPanel extends UiPropertyPanel { constructor(); } } declare module "sk/frame/plugin/editor/module/pattern/ui/property/PatternTilePropertyPanel" { import { UiPropertyPanel } from 'sk/editor/view/ui/UiPropertyPanel'; export class PatternTilePropertyPanel extends UiPropertyPanel { constructor(); } } declare module "sk/frame/plugin/editor/module/pattern/ui/property/PatternTransformRulePropertyPanel" { import { UiPropertyPanel } from 'sk/editor/view/ui/UiPropertyPanel'; export class PatternTransformRulePropertyPanel extends UiPropertyPanel { constructor(); } } declare module "sk/frame/plugin/editor/module/pattern/util/PatternLinkUtil" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; export class PatternLinkUtil { static getCircleCrossPoint(center: Vector2, dir: Vector2, radius: number, target?: Vector2): Vector2; static getRectCrossPoint(center: Vector2, dir: Vector2, halfWidth: number, halfHeight: number, target?: Vector2): Vector2; static getDiamondCrossPoint(center: Vector2, dir: Vector2, halfWidth: number, halfHeight: number, target?: Vector2): Vector2; static convertDisplayLine(context: C2dCanvasContext, line: any): any; static computeArrowPoints(line: any, scale?: number): any[]; } } declare module "sk/frame/plugin/editor/module/pattern/view/C2dPatternBaseController" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { DisplayController } from 'foundation/editor/view/base/DisplayController'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; export class C2dPatternBaseController extends DisplayController { context: C2dCanvasContext; protected _eventHooks: Array; constructor(); bindEvent(): void; onClick(event: PIXI.interaction.InteractionEvent): void; onMouseOver(event: PIXI.interaction.InteractionEvent): void; onMouseOut(event: PIXI.interaction.InteractionEvent): void; onMouseMove(event: MouseEvent, x: number, y: number): void; onMouseUp(event: MouseEvent): void; onDragStart(event: MouseEvent, x: number, y: number): void; startMoveAction(point: Vector2, mouseEvent: MouseEvent): void; onDragMove(event: PIXI.interaction.InteractionEvent, cx: number, cy: number): void; onDragEnd(event: PIXI.interaction.InteractionEvent): void; dispose(): void; } } declare module "sk/frame/plugin/editor/module/pattern/view/C2dPatternBase" { 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 { V2dGraphicText } from 'foundation/editor/view/view2d/render/V2dGraphicText'; import { DataDisplay } from 'foundation/editor/view/base/DataDisplay'; 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 { C2dPatternBaseController } from "sk/frame/plugin/editor/module/pattern/view/C2dPatternBaseController"; export class C2dPatternBase extends DataDisplay { context: C2dCanvasContext; layer: C2dLayer; node: V2dGraphicContainer; protected graphics: V2dGraphicDrawing; protected text: V2dGraphicText; controller: C2dPatternBaseController; protected _statusDragged: boolean; protected _lineWidth: number; protected _lineColor: number; constructor(); setup(): void; onEntityFlagChanged(sender: ListenerContext, event: DataNodeFlagEvent): void; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; onEntityDirty(sender: ListenerContext, event: DataNodeFieldEvent): void; sceneScale(): number; dirty(): void; createNode(): void; onDraw(context?: DisplayContext): void; updateStyleStatus(): void; updateShape(): void; removeFromView(): void; dispose(): void; } } declare module "sk/frame/plugin/editor/module/product/ui/ProductDecorateSurfaceCategoryPickModal" { import { DataNode } from 'antd/lib/tree'; import { JsonService } from 'cross/core/module/json/JsonService'; import { LogicSessionService } from 'cross/data/module/logic/session/LogicSessionService'; import { StructureTypes } from 'foundation/data/common/structure/StructureTypes'; import { UiSafeContainer } from 'foundation/editor/ui/core/UiSafeContainer'; import { MerchandiseLinkTypeEnum } from 'sk/data/logic/digitization/enumeration/MerchandiseLinkTypeEnum'; import { ProductShowCategoryTreeResponseItemsVo } from 'sk/data/logic/digitization/message/ProductShowCategoryTreeResponse'; import { UiFormComponent } from 'sk/editor/frame/ui/component/UiFormComponent'; import { UiDataContext } from 'sk/editor/frame/ui/UiDataContext'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; export type TreeDataType = { key: string; title: string; children?: Array; }; export interface ProductDecorateSurfaceCategoryPickModalState { treeData: Array; checkedKeys: Array; expandedKeys: Array; dataSource: Array; } export type ProductDecorateSurfaceCategoryLogic = { title: string; linkCd: MerchandiseLinkTypeEnum; categoryTreeGetter: () => Promise; }; export class ProductDecorateSurfaceCategoryPickModal extends UiSafeContainer { state: ProductDecorateSurfaceCategoryPickModalState; protected _jsonService: JsonService; protected _sessionService: LogicSessionService; protected _uiFrameService: UiFrameService; protected _featureData: UiDataContext; protected _productForm: UiFormComponent; protected _productData: any; protected _featureName: string; protected _featureValue: string; private _categoryItems; protected _logicItems: Map; private readonly _productFrameName; constructor(props: any, context?: any); componentDidMount(): void; private initData; private initProductData; private initFeaturesData; private initLogic; private getTitle; getCategoryTree(): void; private getDigitizationProductCategoryTreeAsync; protected makeDigitizationProductCategoryTreeData(categories: StructureTypes, parentId?: string): Array; private getMerchandiseCategoryTreeAsync; private makeMerchandiseCategoryTreeData; onCheck: (checkedKeys: Array) => void; onSelect: (selectedKeys: Array, info: { event: 'select'; selected: boolean; node: any; selectedNodes: DataNode[]; nativeEvent: MouseEvent; }) => void; private onExpand; protected onPickOk: () => void; private checkFrame; private sendPageRequestAsync; private sendSyncRequestAsync; private buildParentCategories; private sortCategories; private sortParentCategories; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/product/ui/ProductShowPublishModal" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { UiFrameDataService } from 'sk/editor/frame/ui/UiFrameDataService'; import { ProductShowCategoryItemUnit } from 'sk/frame/logic/storage/module/product/show/category/item/ProductShowCategoryItemUnit'; import { ProductSymbolService } from 'sk/frame/logic/storage/module/product/symbol/ProductSymbolService'; export enum PublishType { Module = 0, Digitization = 1 } export class ProductShowPublishModal extends UiContainer { protected _frameDataService: UiFrameDataService; protected _productSymbolService: ProductSymbolService; protected _frame: any; protected _productShowItemUnit: ProductShowCategoryItemUnit; constructor(props: any, context?: any); private getProductSymbolsAsync; protected onCancel: () => void; protected onOk: () => void; protected goBack: () => void; validateProductShowItem(): boolean; private onPublishAsync; private onInsertAsync; private buildProductSymbols; protected makeProductSymbolTable(): JSX.Element; protected makeProductShowFrame(): JSX.Element; private makeInputFormItemCol; protected onInputValueChanged: (event: any) => void; protected onNumberInputValueChanged: (value: any) => void; private makeProductForm; private makeSteps; protected makeModalFrame(): JSX.Element; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/product/ui/ProductSymbolModal" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { ProductSymbolService } from 'sk/frame/logic/storage/module/product/symbol/ProductSymbolService'; export class ProductSymbolModal extends UiContainer { private columns; protected _productSymbolService: ProductSymbolService; constructor(props: any, context?: any); private buildProductSymbolShowTable; private getProductSymbolsAsync; private onHide; private onChange; private onSelectAsync; private onSelectAllAsync; makeTable(): JSX.Element; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/product/ui/action/ProductDigitizationPublishAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class ProductDigitizationPublishAction extends FrameAction { private _toolbar; process(args: FrameActionArgs): void; private showPublishFrame; } } declare module "sk/frame/plugin/editor/module/product/ui/action/ProductOpenSymbolAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class ProductOpenSymbolAction extends FrameAction { private _toolbar; constructor(typeName?: string); process(args: FrameActionArgs): void; } } declare module "sk/frame/plugin/editor/module/product/ui/action/ProductShowPublishAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class ProductShowPublishAction extends FrameAction { private _toolbar; process(args: FrameActionArgs): void; private showPublishFrame; } } declare module "sk/frame/plugin/editor/module/profile/action/dummy/CircleAcr2CreateFreeform" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { MouseDeviceEvent } from 'cross/editor/device/mouse/MouseDeviceEvent'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { PointElement } from 'sk/data/family/element/brep/geometric/PointElement'; import { CircleAcr2CreateAction } from "sk/frame/plugin/editor/module/profile/action/dummy/CircleAcr2CreateAction"; import { CreateTempFreeform } from "sk/frame/plugin/editor/module/profile/action/dummy/CreateTempFreeform"; export class CircleAcr2CreateFreeform extends CreateTempFreeform { action: CircleAcr2CreateAction; protected startPoint: Vector2; protected endPoint: Vector2; protected startElement: PointElement; protected endElement: PointElement; protected thirdPoint: Vector2; protected radius: number; protected radiusMin: number; protected startPointEntity: Vector2; protected endPointEntity: Vector2; protected thirdPointEntity: Vector2; protected optionForward: boolean; protected middlePoint: Vector2; updateShape(): void; computeArc(): void; isLeft(a: Vector2, b: Vector2, c: Vector2): void; onClick(sender: ListenerContext, event: MouseDeviceEvent): void; onMouseMove(sender: ListenerContext, event: MouseDeviceEvent): void; createPoint(point: Vector2): void; createFreeFormPoint(point: Vector2): void; protected adsorbMiddlePoint(point: Vector2): Vector2; } } declare module "sk/frame/plugin/editor/module/profile/action/dummy/CircleAcr3PointsCreateFreeform" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { MouseDeviceEvent } from 'cross/editor/device/mouse/MouseDeviceEvent'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { CircleAcr3PointsCreateAction } from "sk/frame/plugin/editor/module/profile/action/dummy/CircleAcr3PointsCreateAction"; import { CreateTempFreeform } from "sk/frame/plugin/editor/module/profile/action/dummy/CreateTempFreeform"; export class CircleAcr3PointsCreateFreeform extends CreateTempFreeform { action: CircleAcr3PointsCreateAction; protected startPoint: Vector2; protected endPoint: Vector2; protected thirdPoint: Vector2; protected radius: number; protected startPointEntity: Vector2; protected endPointEntity: Vector2; protected thirdPointEntity: Vector2; protected optionForward: boolean; protected radian: number; protected startAngles: number; protected endAngles: number; updateShape(): void; computeArc(p1: Vector2, p2: Vector2, p3: Vector2): void; isLeft(a: Vector3, b: Vector3, c: Vector3): boolean; onClick(sender: ListenerContext, event: MouseDeviceEvent): void; onMouseMove(sender: ListenerContext, event: MouseDeviceEvent): void; createPoint(point: Vector2): void; createFreeFormPoint(point: Vector2): void; } } declare module "sk/frame/plugin/editor/module/profile/action/dummy/CircleAcrCreateAction" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { CreateTempAction } from "sk/frame/plugin/editor/module/profile/action/dummy/CreateTempAction"; export class CircleAcrCreateAction extends CreateTempAction { creatCircleAcr(centerpos: Vector3, beginpos: Vector3, radian: number): void; } } declare module "sk/frame/plugin/editor/module/profile/action/dummy/CircleAcrCreateFreeform" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { MouseDeviceEvent } from 'cross/editor/device/mouse/MouseDeviceEvent'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { CircleAcrCreateAction } from "sk/frame/plugin/editor/module/profile/action/dummy/CircleAcrCreateAction"; import { CreateTempFreeform } from "sk/frame/plugin/editor/module/profile/action/dummy/CreateTempFreeform"; export class CircleAcrCreateFreeform extends CreateTempFreeform { action: CircleAcrCreateAction; protected startPoint: Vector2; protected endPoint: Vector2; protected thirdPoint: Vector2; protected radius: number; protected radiusMin: number; protected startPointEntity: Vector2; protected endPointEntity: Vector2; protected thirdPointEntity: Vector2; protected optionForward: boolean; updateShape(): void; onClick(sender: ListenerContext, event: MouseDeviceEvent): void; onMouseMove(sender: ListenerContext, event: MouseDeviceEvent): void; } } declare module "sk/frame/plugin/editor/module/profile/action/dummy/CircleCreateFreeform" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { MouseDeviceEvent } from 'cross/editor/device/mouse/MouseDeviceEvent'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { PointElement } from 'sk/data/family/element/brep/geometric/PointElement'; import { CircleCreateAction } from "sk/frame/plugin/editor/module/profile/action/dummy/CircleCreateAction"; import { CreateTempFreeform } from "sk/frame/plugin/editor/module/profile/action/dummy/CreateTempFreeform"; export class CircleCreateFreeform extends CreateTempFreeform { action: CircleCreateAction; protected startPoint: Vector2; protected endPoint: Vector2; protected startElement: PointElement; protected endElement: PointElement; protected radius: number; protected startPointEntity: Vector2; protected endPointEntity: Vector2; updateShape(): void; onClick(sender: ListenerContext, event: MouseDeviceEvent): void; onMouseMove(sender: ListenerContext, event: MouseDeviceEvent): void; createPoint(point: Vector2): void; createFreeFormPoint(point: Vector2): void; } } declare module "sk/frame/plugin/editor/module/profile/action/dummy/LineCreateFreeform" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { MouseDeviceEvent } from 'cross/editor/device/mouse/MouseDeviceEvent'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { PointElement } from 'sk/data/family/element/brep/geometric/PointElement'; import { CreateTempFreeform } from "sk/frame/plugin/editor/module/profile/action/dummy/CreateTempFreeform"; import { LineCreateAction } from "sk/frame/plugin/editor/module/profile/action/dummy/LineCreateAction"; export class LineCreateFreeform extends CreateTempFreeform { action: LineCreateAction; protected startPoint: Vector2; protected endPoint: Vector2; protected startPointEntity: Vector2; protected endPointEntity: Vector2; protected startPointElement: PointElement; protected endPointElement: PointElement; updateShape(): void; protected adjustScale(): void; onClick(sender: ListenerContext, event: MouseDeviceEvent): void; onMouseMove(sender: ListenerContext, event: MouseDeviceEvent): void; createPoint(point: Vector2): void; createFreeFormPoint(point: Vector2): void; } } declare module "sk/frame/plugin/editor/module/profile/action/dummy/MovePointFreeform" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { MouseDeviceEvent } from 'cross/editor/device/mouse/MouseDeviceEvent'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { ElementNode } from 'foundation/data/common/element/ElementNode'; import { CreateTempFreeform } from "sk/frame/plugin/editor/module/profile/action/dummy/CreateTempFreeform"; import { MovePointAction } from "sk/frame/plugin/editor/module/profile/action/dummy/MovePointAction"; export class MovePointFreeform extends CreateTempFreeform { action: MovePointAction; startPoint: Vector2; protected endPoint: Vector2; protected startPointEntity: Vector2; protected endPointEntity: Vector2; protected pointElmentTemp: ElementNode; createNode(): void; updateShape(): void; onClick(sender: ListenerContext, event: MouseDeviceEvent): void; onMouseMove(sender: ListenerContext, event: MouseDeviceEvent): void; createPoint(p: Vector2): void; createFreeFormPoint(p: Vector2): void; } } declare module "sk/frame/plugin/editor/module/profile/action/dummy/PointCreateFreeform" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { MouseDeviceEvent } from 'cross/editor/device/mouse/MouseDeviceEvent'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { CreateTempFreeform } from "sk/frame/plugin/editor/module/profile/action/dummy/CreateTempFreeform"; import { PointCreateAction } from "sk/frame/plugin/editor/module/profile/action/dummy/PointCreateAction"; export class PointCreateFreeform extends CreateTempFreeform { action: PointCreateAction; protected startPoint: Vector2; protected startPointEntity: Vector2; radius: number; updateShape(): void; protected onClick(sender: ListenerContext, event: MouseDeviceEvent): void; protected onMouseMove(sender: ListenerContext, event: MouseDeviceEvent): void; createPoint(point: Vector2): void; createFreeFormPoint(point: Vector2): void; } } declare module "sk/frame/plugin/editor/module/profile/action/dummy/PolyLineCreateFreeform" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { KeyboardDeviceEvent } from 'cross/editor/device/keyboard/KeyboardDeviceEvent'; import { MouseDeviceEvent } from 'cross/editor/device/mouse/MouseDeviceEvent'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { CreateTempFreeform } from "sk/frame/plugin/editor/module/profile/action/dummy/CreateTempFreeform"; import { PolyLineCreateAction } from "sk/frame/plugin/editor/module/profile/action/dummy/PolyLineCreateAction"; export class PolyLineCreateFreeform extends CreateTempFreeform { action: PolyLineCreateAction; protected startPoints: Vector2[]; protected startPointEntity: Vector2[]; updateShape(): void; onClick(sender: ListenerContext, event: MouseDeviceEvent): void; onMouseMove(sender: ListenerContext, event: MouseDeviceEvent): void; onKeyboardDown(sender: ListenerContext, event: KeyboardDeviceEvent): void; createPoint(point: Vector2): void; createFreeFormPoint(point: Vector2): void; } } declare module "sk/frame/plugin/editor/module/profile/action/selection/SelectionSelectProcess" { import { EditingService } from 'foundation/editor/base/selection/EditingService'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { SelectActionEvent } from 'foundation/editor/view/action/selection/SelectActionEvent'; import { SelectActionEventEnum } from 'foundation/editor/view/action/selection/SelectActionEventEnum'; import { ActionService } from 'foundation/editor/view/action/ActionService'; export class SelectionSelectProcess { entity: any; entityPath: Array; event: any; multiSelect: boolean; protected _selectionService: SelectionService; protected _editingService: EditingService; protected _actionService: ActionService; constructor(); process(selectType: SelectActionEventEnum, event: SelectActionEvent): void; } } declare module "sk/frame/plugin/editor/module/profile/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/module/profile/entity/ProfileEntity" { import { ProfileNode } from 'sk/data/family/structure/profile/model/ProfileNode'; export class ProfileEntity extends ProfileNode { } } declare module "sk/frame/plugin/editor/module/profile/frame/ProfileSettings" { import { EditorSettings } from 'cross/editor/framework/setting/EditorSettings'; export class ProfileSettings extends EditorSettings { htmlView: HTMLElement; curveGuid: string; curveVersion: string; curveData: string; user_id: string; user_path: string; } } declare module "sk/frame/plugin/editor/module/profile/ui/ControlIdentityEnum" { export class ControlIdentityEnum { static Main: string; static Toolbar: string; static PropertyBar: string; } } declare module "sk/frame/plugin/editor/module/profile/ui/ProfilePropForm" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; 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'; import { UiDataContext } from 'sk/editor/frame/ui/UiDataContext'; export class ProfilePropForm extends UiContainer { protected _selectionService: SelectionService; document: FamilyDocument; state: { element: any; }; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; onSelectChange(sender: ListenerContext, event: SelectionEvent): void; onFieldChanged: () => void; onValueChanged: (key: string, value: any) => void; makeDataContext(element: any): UiDataContext; makePropertyPanel(): JSX.Element; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/profile/ui/ProfileTree" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { KeyboardDeviceEvent } from 'cross/editor/device/keyboard/KeyboardDeviceEvent'; import { KeyboardDeviceService } from 'cross/editor/device/keyboard/KeyboardDeviceService'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { ProfileEditorDocument } from "sk/frame/plugin/editor/module/profile/entity/ProfileEditorDocument"; export class ProfileTree extends UiContainer { document: ProfileEditorDocument; selectElementCallback: any; protected _keyboardService: KeyboardDeviceService; state: { popNode: any; selectedElementKeys: any[]; selectedDisplayKeys: any[]; blueprintIsOpened: boolean; }; componentDidMount(): void; componentWillUnmount(): void; componentStatusChange(state: any, props: any): void; onKeyboardDown(sender: ListenerContext, event: KeyboardDeviceEvent): void; onSelectElement: (selectedKeys: string[], e: any) => void; onSelectNode: (selectedKeys: string[], e: any) => void; private makeTitle; private makeDisplayTitle; makeElementTree(): JSX.Element; makeDisplayTree(): any[] | JSX.Element; makeMeshTree(): any[] | JSX.Element; onTabChange: () => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/profile/ui/action/StructureOpenEditorAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class StructureOpenEditorAction extends FrameAction { process(args: FrameActionArgs): void; } } declare module "sk/frame/plugin/editor/module/profile/ui/property/CircleArc2CurvePropertyPanel" { import { UiPropertyPanel } from 'sk/editor/view/ui/UiPropertyPanel'; export class CircleArc2CurvePropertyPanel extends UiPropertyPanel { constructor(); onValueChanged: (key: string, value: any) => void; } } declare module "sk/frame/plugin/editor/module/profile/ui/property/CircleArc3CurvePropertyPanel" { import { UiPropertyPanel } from 'sk/editor/view/ui/UiPropertyPanel'; export class CircleArc3CurvePropertyPanel extends UiPropertyPanel { constructor(); onValueChanged: (key: string, value: any) => void; } } declare module "sk/frame/plugin/editor/module/profile/ui/property/CircleArcCurvePropertyPanel" { import { UiPropertyPanel } from 'sk/editor/view/ui/UiPropertyPanel'; export class CircleArcCurvePropertyPanel extends UiPropertyPanel { constructor(); onValueChanged: (key: string, value: any) => void; } } declare module "sk/frame/plugin/editor/module/profile/ui/property/CircleCurvePropertyPanel" { import { UiPropertyPanel } from 'sk/editor/view/ui/UiPropertyPanel'; export class CircleCurvePropertyPanel extends UiPropertyPanel { constructor(); onValueChanged: (key: string, value: any) => void; } } declare module "sk/frame/plugin/editor/module/profile/ui/property/LinePropertyPanel" { import { UiPropertyPanel } from 'sk/editor/view/ui/UiPropertyPanel'; export class LinePropertyPanel extends UiPropertyPanel { constructor(); onValueChanged: (key: string, value: any) => void; } } declare module "sk/frame/plugin/editor/module/profile/ui/property/PointDrawingPropertyPanel" { import { UiPropertyPanel } from 'sk/editor/view/ui/UiPropertyPanel'; export class PointDrawingPropertyPanel extends UiPropertyPanel { constructor(); onValueChanged: (key: string, value: any) => void; } } declare module "sk/frame/plugin/editor/module/profile/ui/property/PointPropertyPanel" { import { UiPropertyPanel } from 'sk/editor/view/ui/UiPropertyPanel'; export class PointPropertyPanel extends UiPropertyPanel { constructor(); onValueChanged: (key: string, value: any) => void; } } declare module "sk/frame/plugin/editor/module/profile/ui/property/PolylineCurvePropertyPanel" { import { UiPropertyPanel } from 'sk/editor/view/ui/UiPropertyPanel'; export class PolylineCurvePropertyPanel extends UiPropertyPanel { constructor(); onValueChanged: (key: string, value: any) => void; } } declare module "sk/frame/plugin/editor/module/profile/ui/property/ProfileElementPanel" { import { UiPropertyPanel } from 'sk/editor/view/ui/UiPropertyPanel'; export class ProfileElementPanel extends UiPropertyPanel { constructor(props?: any, context?: any); onValueChanged: (key: string, value: any) => void; } } declare module "sk/frame/plugin/editor/module/profile/ui/property/ProfileVarialblePropertyPanel" { import { UiPropertyPanel } from 'sk/editor/view/ui/UiPropertyPanel'; export class ProfileVariablePropertyPanel extends UiPropertyPanel { constructor(); onValueChanged: (key: string, value: any) => void; } } declare module "sk/frame/plugin/editor/module/profile/util/ProfileElementUtil" { import { ProfileElement } from 'sk/data/family/structure/profile/element/ProfileElement'; import { ProfilePointElement } from 'sk/data/family/structure/profile/element/ProfilePointElement'; export class ProfileElementUtil { static addPoint(profile: ProfileElement): void; static deletePoint(profile: ProfileElement, point: ProfilePointElement): void; protected static refreshPointCurveRelation(profile: ProfileElement): void; static initRectangle(profile: ProfileElement, value: any): void; static initCircular(profile: ProfileElement, value: any): void; private static createRectangle; private static setCircularArc; static isNumberCheck(value: string): boolean; } } declare module "sk/frame/plugin/editor/module/profile/util/ProfileImageTool" { import { BaseImageTool } from 'sk/editor/scheme/floorplan/util/canvas/BaseImageTool'; import { ProfileEditorDocument } from "sk/frame/plugin/editor/module/profile/entity/ProfileEditorDocument"; export class ProfileImageTool extends BaseImageTool { profileDocument: ProfileEditorDocument; getImageData(): any; private buildTransformFunc; private drawAxis; } } declare module "sk/frame/plugin/editor/module/profile/util/ProfileLinkUtil" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; export class ProfileLinkUtil { static getCircleCrossPoint(center: Vector2, dir: Vector2, radius: number, target?: Vector2): Vector2; static getRectCrossPoint(center: Vector2, dir: Vector2, halfWidth: number, halfHeight: number, target?: Vector2): Vector2; static getDiamondCrossPoint(center: Vector2, dir: Vector2, halfWidth: number, halfHeight: number, target?: Vector2): Vector2; static convertDisplayLine(context: C2dCanvasContext, line: any): any; static computeArrowPoints(line: any, scale?: number): any[]; } } declare module "sk/frame/plugin/editor/module/profile/view/C2dCircleArcCurvePorfile" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { NodeFieldEvent } from 'cross/runtime/framework/node/NodeFieldEvent'; import { KeyboardDeviceEvent } from 'cross/editor/device/keyboard/KeyboardDeviceEvent'; import { KeyboardDeviceService } from 'cross/editor/device/keyboard/KeyboardDeviceService'; import { CircleArcCurve2d } from 'foundation/runtime/geometry/curve2d/CircleArcCurve2d'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { C2dCircleArcCurve } from 'sk/editor/family/view/canvas2d/geometric/C2dCircleArcCurve'; export class C2dCircleArcCurvePorfile extends C2dCircleArcCurve { curveCache: CircleArcCurve2d; protected radius: number; onLocalEntityFieldChanged(sender: ListenerContext, event: any): void; createNode(): void; onLinkNodeDirty(sender: ListenerContext, event: NodeFieldEvent): void; updateShape(): void; protected isdown: boolean; protected _keyboardService: KeyboardDeviceService; protected _lineWidthStart: number; protected _selectionService: SelectionService; onSelect(): void; cancleSelect(): void; onKeyboardDown(sender: ListenerContext, event: KeyboardDeviceEvent): void; dispose(): void; } } declare module "sk/frame/plugin/editor/module/profile/view/C2dProfile" { import { ProfileNode } from 'sk/data/family/structure/profile/model/ProfileNode'; import { C2dProfileBase } from "sk/frame/plugin/editor/module/profile/view/C2dProfileBase"; export class C2dProfile extends C2dProfileBase { entity: ProfileNode; constructor(); setup(): void; updateShape(): void; } } declare module "sk/frame/plugin/editor/module/profile/view/C2dProfileCurve" { 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 { ProfileCurveNode } from 'sk/data/family/structure/profile/model/ProfileCurveNode'; import { C2dProfileBase } from "sk/frame/plugin/editor/module/profile/view/C2dProfileBase"; export class C2dProfileCurve extends C2dProfileBase { nodeHook: V2dGraphicDrawing; entity: ProfileCurveNode; setup(): void; onScaleChange(): void; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; canDraw(): boolean; createNode(): void; onLinkNodeDirty(sender: ListenerContext, event: NodeFieldEvent): void; updateShape(): void; private showLine; private showArc; private setAlphaLayer; updateStyleStatus(): void; dispose(): void; private getLeftNormal; private getRightNormal; } } declare module "sk/frame/plugin/editor/module/profile/view/C2dProfilePoint" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { V2dGraphicDrawing } from 'foundation/editor/view/view2d/render/V2dGraphicDrawing'; import { ProfilePointElement } from 'sk/data/family/structure/profile/element/ProfilePointElement'; import { ProfilePointNode } from 'sk/data/family/structure/profile/model/ProfilePointNode'; import { C2dProfileBase } from "sk/frame/plugin/editor/module/profile/view/C2dProfileBase"; export class C2dProfilePoint extends C2dProfileBase { protected isdown: boolean; entity: ProfilePointNode; radius: number; position: Vector2; private _textColor; private _textSize; private _text2D; protected _curve_line: V2dGraphicDrawing; protected _dotted_line: V2dGraphicDrawing; protected _points: V2dGraphicDrawing; private _dottedColor; private _aOrxColor; private _bOryColor; constructor(); createNode(): any; onScaleChange(): void; updateShape(): void; private crossCountIsZero; private pointBackground; private curveUpdata; private arcDraw; private ellipseArcDraw; private dottedDraw; private pointsDraw; private cutDraw; private textDraw; updateTransform(): void; updateStyleStatus(): void; protected getFormulaValue(field: string, element: ProfilePointElement, node: ProfilePointNode): number; } } declare module "sk/frame/plugin/editor/module/resource/ui/ResourceShowPublishModal" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { ResourceShowCategoryItemInsertRequestVo } from 'sk/data/logic/digitization/message/ResourceShowCategoryItemInsertRequest'; import { UiFrameDataService } from 'sk/editor/frame/ui/UiFrameDataService'; export enum PublishType { Module = 0, Digitization = 1 } export class ResourceShowPublishModal extends UiContainer { protected _frameDataService: UiFrameDataService; protected _frame: any; protected _resourceShowItemUnit: ResourceShowCategoryItemInsertRequestVo; constructor(props: any, context?: any); protected onCancel: () => void; protected onOk: () => void; validateResourceShowItem(): boolean; private onPublishAsync; private onInsertAsync; protected makeResourceSymbolTable(): JSX.Element; private makeInputFormItemCol; protected onInputValueChanged: (event: any) => void; protected makeModalFrame(): JSX.Element; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/resource/action/ResourcePublishAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class ResourcePublishAction extends FrameAction { private _toolbar; process(args: FrameActionArgs): void; private showPublishFrame; } } declare module "sk/frame/plugin/editor/module/rule/config/frame/RuleConfigEditorDocument" { 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 { RuleDocument } from 'sk/data/family/rule/RuleDocument'; import { TemplateLogicService } from 'sk/data/resource/model/service/TemplateLogicService'; import { RuleConfigUpdateContentResponse } from 'sk/data/logic/module/message/RuleConfigUpdateContentResponse'; export class RuleConfigEditorDocument extends RuleDocument { protected static _factory: PersistentFactory; static get Factory(): PersistentFactory; baseUrl: string; protected _storageService: StorageDeviceService; protected _templateService: TemplateLogicService; constructor(); get factory(): PersistentFactory; makeStorageCode(): string; loadByUrlAsync(url: string): Promise; loadByIdAsync(id: string, version?: number | string): Promise; saveOssAsync(): Promise; saveLocal(): any; } } declare module "sk/frame/plugin/editor/module/rule/config/ui/component/RuleConfigEditorTreeComponent" { import { AntTreeNodeExpandedEvent } from 'antd/lib/tree/Tree'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { RuleConfigEditorDocument } from "sk/frame/plugin/editor/module/rule/config/frame/RuleConfigEditorDocument"; export class RuleConfigEditorTreeComponent extends UiContainer { document: RuleConfigEditorDocument; componentPropsChange(nextProps: any, nextContext: any): void; makeDocumentTitle(document: RuleConfigEditorDocument): any; makeTreeNodeTitle(element: any): any; protected makeTreeNode(element: any): JSX.Element; protected makeTreeNodes(): JSX.Element; private makeTree; onExpand: (expandedKeys: string[], info: AntTreeNodeExpandedEvent) => void; private onSave; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/rule/config/ui/RuleConfigEditorFrame" { import * as React from 'react'; import { UiContainer, UiContainerState, UiContainerProps } from 'foundation/editor/ui/core/UiContainer'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { RuleConfigService } from 'sk/frame/logic/storage/module/rule/config/RuleConfigService'; import { RuleConfigEditorDocument } from "sk/frame/plugin/editor/module/rule/config/frame/RuleConfigEditorDocument"; export interface RuleConfigEditorFrameProps extends UiContainerProps { } export interface RuleConfigEditorFrameState extends UiContainerState { document?: RuleConfigEditorDocument; showModal?: boolean; showFamilyModal?: boolean; isEdit?: boolean; record?: any; familyDictionary?: any; currentConfig?: any; validateFields?: any; } export class RuleConfigEditorFrame extends UiContainer { document: RuleConfigEditorDocument; documentId: string; documentVersion: string; protected _key: string; protected _uiFrameService: UiFrameService; protected _ruleConfigService: RuleConfigService; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; componentDidMount(): void; loadDocumentAsync(): Promise; onDocumentChanged(): void; onSaveAsync(): Promise; getFamilyNameAsync(id: string): Promise; private getDataSource; private onAdd; private onEdit; private onCopy; private onDelete; private makeTable; protected makeFamilyModal: () => React.JSX.Element; private makeFrame; private makeModal; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/rule/config/ui/action/RuleConfigOpenEditorAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; import { RuleConfigService } from 'sk/frame/logic/storage/module/rule/config/RuleConfigService'; export class RuleConfigOpenEditorAction extends FrameAction { protected _ruleConfigService: RuleConfigService; processAsync(args: FrameActionArgs): Promise; } } declare module "sk/frame/plugin/editor/module/rule/process/frame/RuleProcessEditorDocument" { 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 { RuleStructureElement } from 'sk/data/family/rule/element/RuleStructureElement'; import { FamilyDocument } from 'sk/data/family/library/FamilyDocument'; import { RuleFamilyStructure } from 'sk/data/family/rule/RuleFamilyStructure'; import { TemplateLogicService } from 'sk/data/resource/model/service/TemplateLogicService'; export class RuleProcessEditorDocument extends FamilyDocument { protected static _factory: PersistentFactory; static get Factory(): PersistentFactory; baseUrl: string; protected _storageService: StorageDeviceService; protected _templateService: TemplateLogicService; constructor(); get factory(): PersistentFactory; setup(): void; get rootFamilyStructure(): RuleFamilyStructure; get rootStructure(): RuleStructureElement; makeStorageCode(): string; loadByUrlAsync(url: string): Promise; loadByIdAsync(id: string, version?: number | string): Promise; saveOssAsync(): Promise; saveLocal(): any; } } declare module "sk/frame/plugin/editor/module/rule/process/ui/UiRuleProcessDocumentEditor" { import { UiDocumentEditor } from 'sk/editor/family/ui/UiDocumentEditor'; export class UiRuleProcessDocumentEditor extends UiDocumentEditor { protected workspace: any; protected firstloadDocument: boolean; protected startAnimation: boolean; state: any; componentDidMount(): void; componentPropsChange(nextProps: any, nextContext: any): void; private onChange; private toFullScreen; private startResizeAnimation; private resizeAnimation; protected makeFrame(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/rule/process/ui/RuleProcessEditorFrame" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { RuleProcessEditorDocument } from "sk/frame/plugin/editor/module/rule/process/frame/RuleProcessEditorDocument"; export class RuleProcessEditorFrame extends UiContainer { document: RuleProcessEditorDocument; documentId: string; documentVersion: string; documentJson: any; protected _key: string; protected _uiFrameService: UiFrameService; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; componentDidMount(): void; loadDocumentAsync(): Promise; onDocumentChanged(id: string, version: string): void; onSaveAsync(): Promise; initSpace(instance: any): void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/rule/process/ui/action/RuleProcessOpenEditorAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class RuleProcessOpenEditorAction extends FrameAction { process(args: FrameActionArgs): void; } } declare module "sk/frame/plugin/editor/module/rule/rule/ui/component/RuleHandleEditorTreeComponent" { import { AntTreeNodeExpandedEvent } from 'antd/lib/tree/Tree'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { RuleTypeEditorDocument } from "sk/frame/plugin/editor/module/rule/type/frame/RuleTypeEditorDocument"; export class RuleHandleEditorTreeComponent extends UiContainer { document: RuleTypeEditorDocument; componentPropsChange(nextProps: any, nextContext: any): void; getRoot(): any; makeDocumentTitle(document: RuleTypeEditorDocument): any; makeTreeNodeTitle(element: any): any; protected makeTreeNode(element: any): JSX.Element; protected makeTreeNodes(root: any): JSX.Element; private makeTree; onExpand: (expandedKeys: string[], info: AntTreeNodeExpandedEvent) => void; private onSave; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/rule/rule/frame/RuleHandleEditorFrame" { import * as React from 'react'; import { UiContainer, UiContainerProps, UiContainerState } from 'foundation/editor/ui/core/UiContainer'; import { RuleInputDeclareElement } from 'sk/data/family/rule/element/declare/RuleInputDeclareElement'; import { RuleParameterDeclareElement } from 'sk/data/family/rule/element/declare/RuleParameterDeclareElement'; import { RuleProcessDocumentService } from 'sk/data/family/rule/RuleProcessDocumentService'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { RuleTypeService } from 'sk/frame/logic/storage/module/rule/type/RuleTypeService'; import { RuleTypeEditorDocument } from "sk/frame/plugin/editor/module/rule/type/frame/RuleTypeEditorDocument"; export interface RuleHandleEditorFrameProps extends UiContainerProps { } export interface RuleHandleEditorFrameState extends UiContainerState { document?: RuleTypeEditorDocument; familyDictionary?: any; showFamilyModal?: boolean; } export class RuleHandleEditorFrame extends UiContainer { document: RuleTypeEditorDocument; documentId: string; documentVersion: string; protected _key: string; protected _uiFrameService: UiFrameService; protected _ruleTypeService: RuleTypeService; protected _ruleProcessDocumentService: RuleProcessDocumentService; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; findByCode(parentElement: RuleInputDeclareElement, code: string): RuleParameterDeclareElement; private removeUselessElement; private noUnique; private getParamValueByCode; private setParamValueByCode; private makeHandleRule; private resetHandleDocument; private alertMessage; private getFamilyNameAsync; private processHandleData; onDocumentChanged(): void; loadDocumentAsync(): Promise; private syncElementsFromProcess; private loadRuleProcessDocumentAsync; onSaveAsync(): Promise; private makeEnumCdComponent; protected makeFamilyModal: () => React.JSX.Element; private onInput; private makeFrame; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/rule/rule/ui/RuleDocumentLoader" { import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { RuleTypeDocumentService } from 'sk/data/family/rule/RuleTypeDocumentService'; import { RuleService } from 'sk/frame/logic/storage/module/rule/rule/RuleService'; import { RuleTypeService } from 'sk/frame/logic/storage/module/rule/type/RuleTypeService'; import { RuleEditorDocument } from "sk/frame/plugin/editor/module/rule/rule/frame/RuleEditorDocument"; export class RuleDocumentLoader extends InstanceObject { document: RuleEditorDocument; protected _ruleService: RuleService; protected _ruleTypeService: RuleTypeService; protected _ruleTypeDocumentService: RuleTypeDocumentService; loadDocumentAsync(document: RuleEditorDocument, id: string, version: string, syncStructure?: boolean): Promise>; syncByTypeIdAsync(document: RuleEditorDocument, typeId: string): Promise>; private syncFromTypeDocument; private addNewChild; private makeElements; private makeNewElement; private loadRuleTypeDocumentAsync; } } declare module "sk/frame/plugin/editor/module/rule/rule/ui/RuleEditorFrame" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { RuleTypeDocumentService } from 'sk/data/family/rule/RuleTypeDocumentService'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { RuleService } from 'sk/frame/logic/storage/module/rule/rule/RuleService'; import { RuleTypeService } from 'sk/frame/logic/storage/module/rule/type/RuleTypeService'; import { RuleEditorDocument } from "sk/frame/plugin/editor/module/rule/rule/frame/RuleEditorDocument"; export class RuleEditorFrame extends UiContainer { document: RuleEditorDocument; documentId: string; documentVersion: string; documentJson: any; protected _key: string; protected _uiFrameService: UiFrameService; protected _ruleService: RuleService; protected _ruleTypeService: RuleTypeService; protected _ruleTypeDocumentService: RuleTypeDocumentService; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; componentDidMount(): void; onDocumentChanged(id: string, version: string): void; onSaveAsync(): Promise; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/rule/rule/ui/action/RuleOpenEditorAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; import { RuleService } from 'sk/frame/logic/storage/module/rule/rule/RuleService'; export class RuleOpenEditorAction extends FrameAction { protected _ruleService: RuleService; processAsync(args: FrameActionArgs): Promise; } } declare module "sk/frame/plugin/editor/module/rule/rule/ui/action/RuleOpenHandleEditorAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; import { RuleTypeService } from 'sk/frame/logic/storage/module/rule/type/RuleTypeService'; export class RuleOpenHandleEditorAction extends FrameAction { protected _ruleTypeService: RuleTypeService; processAsync(args: FrameActionArgs): Promise; } } declare module "sk/frame/plugin/editor/module/rule/type/ui/RuleTypeEditorFrame" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { RuleProcessDocumentService } from 'sk/data/family/rule/RuleProcessDocumentService'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { RuleTypeService } from 'sk/frame/logic/storage/module/rule/type/RuleTypeService'; import { RuleTypeEditorDocument } from "sk/frame/plugin/editor/module/rule/type/frame/RuleTypeEditorDocument"; export class RuleTypeEditorFrame extends UiContainer { document: RuleTypeEditorDocument; documentId: string; documentVersion: string; documentJson: any; protected _key: string; protected _uiFrameService: UiFrameService; protected _ruleTypeService: RuleTypeService; protected _ruleProcessDocumentService: RuleProcessDocumentService; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; componentDidMount(): void; loadDocumentAsync(): Promise>; private syncFromProcessDocument; private loadRuleProcessDocumentAsync; onDocumentChanged(id: string, version: string): void; onSaveAsync(): Promise; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/rule/type/ui/action/RuleTypeOpenEditorAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; import { RuleTypeService } from 'sk/frame/logic/storage/module/rule/type/RuleTypeService'; export class RuleTypeOpenEditorAction extends FrameAction { protected _ruleTypeService: RuleTypeService; processAsync(args: FrameActionArgs): Promise; } } declare module "sk/frame/plugin/editor/module/section/entity/SectionEditOptions" { import { EditOptions } from 'foundation/editor/view/entity/EditOptions'; export class SectionEditOptions extends EditOptions { rotationX: number; rotationY: number; rotationZ: number; reset(): void; } } declare module "sk/frame/plugin/editor/module/section/entity/SectionBlueprintEntity" { import { GridEntity } from 'foundation/editor/view/entity/GridEntity'; import { ObserverViewEntity } from 'foundation/editor/view/entity/ObserverViewEntity'; import { SectionBlueprintNode } from 'sk/data/family/structure/section/model/SectionBlueprintNode'; import { SectionEditOptions } from "sk/frame/plugin/editor/module/section/entity/SectionEditOptions"; export class SectionBlueprintEntity extends SectionBlueprintNode { editOptions: SectionEditOptions; activeObserver: ObserverViewEntity; grid: GridEntity; constructor(); } } declare module "sk/frame/plugin/editor/module/section/entity/SectionEditorDocument" { import { Types } from 'cross/runtime/lang/collection/Types'; import { PersistentFactory } from 'cross/runtime/module/persistent/PersistentFactory'; import { StorageDeviceService } from 'cross/core/device/storage/StorageDeviceService'; import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { GeometricNode } from 'foundation/data/common/model/brep/GeometricNode'; import { LogicResult } from 'foundation/data/common/logic/LogicResult'; import { CircleArc2Curve2dDrawingElement } from 'sk/data/family/element/brep/drawing/curve2d/CircleArc2Curve2dDrawingElement'; import { CircleCurve2dDrawingElement } from 'sk/data/family/element/brep/drawing/curve2d/CircleCurve2dDrawingElement'; import { LineCurve2dElement } from 'sk/data/family/element/brep/geometric/curve2d/LineCurve2dElement'; import { PointElement } from 'sk/data/family/element/brep/geometric/PointElement'; import { SectionProfileElement } from 'sk/data/family/structure/section/element/SectionProfileElement'; import { SectionProfileInstanceElement } from 'sk/data/family/structure/section/element/SectionProfileInstanceElement'; import { SectionSurfaceInstanceElement } from 'sk/data/family/structure/section/element/SectionSurfaceInstanceElement'; import { SectionProfileNode } from 'sk/data/family/structure/section/model/SectionProfileNode'; import { StructureElement } from 'sk/data/family/element/base/StructureElement'; import { VertexElement } from 'sk/data/family/element/brep/VertexElement'; import { SectionDocument } from 'sk/data/family/structure/section/SectionDocument'; import { StructureDocumentService } from 'sk/data/family/structure/StructureDocumentService'; import { TemplateLogicService } from 'sk/data/resource/model/service/TemplateLogicService'; import { StructureSectionUpdateContentResponse } from 'sk/data/logic/module/message/StructureSectionUpdateContentResponse'; import { SectionBlueprintEntity } from "sk/frame/plugin/editor/module/section/entity/SectionBlueprintEntity"; export class SectionEditorDocument extends SectionDocument { protected static _factory: PersistentFactory; static get Factory(): PersistentFactory; blueprint: SectionBlueprintEntity; baseUrl: string; protected _storageService: StorageDeviceService; protected _templateService: TemplateLogicService; protected _structureDocumentService: StructureDocumentService; protected constructor(); get factory(): PersistentFactory; makeStorageCode(): string; loadByUrlAsync(url: string): Promise; loadByIdAsync(id: string, version?: number | string): Promise; saveOssAsync(): Promise; saveLocal(): any; findContentByElement(element: any): DataNode; computeElement(element: VertexElement, node: any): void; computeSectionLayerNode(element: SectionSurfaceInstanceElement): void; getPointNode(element: PointElement): any; getLineCurveNode(drawElement: LineCurve2dElement): any; getCircleNode(drawElement: CircleCurve2dDrawingElement): any; getCircleArcNode(drawElement: CircleArc2Curve2dDrawingElement): any; profileToNode(structureElement: StructureElement, types: Types): void; buildSectionProfileNode(node: SectionProfileNode, element: SectionProfileElement, type: 'inner' | 'outer'): void; computeSectionProfileNode(element: SectionProfileInstanceElement): void; asyncDocumentAsync(): Promise; computeAsync(): Promise; static createEmptyDocument(json?: any): SectionEditorDocument; static createDefaultDocument(): SectionEditorDocument; } } declare module "sk/frame/plugin/editor/module/section/frame/SectionConstants" { export class SectionConstants { static ModuleName: string; static DocumentName: string; static CanvasName: string; static SceneName: string; } } declare module "sk/frame/plugin/editor/module/section/action/content/SectionActionEvent" { import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; export class SectionActionEvent extends ContentActionEvent { elementClass: any; free(): void; } } declare module "sk/frame/plugin/editor/module/section/action/SectionAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { StructureElement } from 'sk/data/family/element/base/StructureElement'; import { FamilyStructure } from 'sk/data/family/library/FamilyStructure'; import { SectionBlueprintEntity } from "sk/frame/plugin/editor/module/section/entity/SectionBlueprintEntity"; import { SectionActionEvent } from "sk/frame/plugin/editor/module/section/action/content/SectionActionEvent"; export class SectionAction extends Action { document: any; blueprint: SectionBlueprintEntity; sectionStructure: FamilyStructure; structure: StructureElement; protected _selectionService: SelectionService; onSetup(): void; onReceive(code: string, event: SectionActionEvent): boolean; } } declare module "sk/frame/plugin/editor/module/section/action/SectionActionUtil" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { ActionService } from 'foundation/editor/view/action/ActionService'; export class SectionActionUtil { protected static _actionService: ActionService; protected static _selectionService: SelectionService; static addSectionNode(elementClass: any, position?: Vector2): void; static deleteSelectedNode(): void; } } declare module "sk/frame/plugin/editor/module/section/action/content/ContentDisplayAction" { import { ContentNode } from 'foundation/data/common/model/brep/ContentNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { SectionActionEvent } from "sk/frame/plugin/editor/module/section/action/content/SectionActionEvent"; export type StorageData = { visible: boolean; }; export class ContentDisplayAction extends Action { chest: ContentNode; content: ContentNode; visible: boolean; protected _savedData: StorageData; protected _restoreData: StorageData; protected _selectionService: SelectionService; constructor(); protected switchVisible(visible: boolean): void; onExecute(event?: SectionActionEvent): void; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/module/section/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/module/section/action/content/ContentScaleAction" { import { Action } from 'foundation/editor/view/action/Action'; export class ContentScaleAction extends Action { content: any; contentpos: any; cscale: any; } } declare module "sk/frame/plugin/editor/module/section/action/selection/SelectionSelectProcess" { import { EditingService } from 'foundation/editor/base/selection/EditingService'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { SelectActionEvent } from 'foundation/editor/view/action/selection/SelectActionEvent'; import { SelectActionEventEnum } from 'foundation/editor/view/action/selection/SelectActionEventEnum'; import { ActionService } from 'foundation/editor/view/action/ActionService'; export class SelectionSelectProcess { entity: any; entityPath: Array; event: any; multiSelect: boolean; protected _selectionService: SelectionService; protected _editingService: EditingService; protected _actionService: ActionService; constructor(); process(selectType: SelectActionEventEnum, event: SelectActionEvent): void; } } declare module "sk/frame/plugin/editor/module/section/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/module/section/ui/UiSectionElementCategoryPanel" { import { ConfigureOptionElement } from 'sk/data/family/element/config/configure/ConfigureOptionElement'; import { DecorateItemElement } from 'sk/data/family/element/config/decorate/DecorateItemElement'; import { Element } from 'sk/data/family/element/base/Element'; import { FamilyStructureManager } from 'sk/data/family/library/FamilyStructureManager'; import { ObjectFrameService } from 'sk/editor/view/ui/ObjectFrameService'; import { UiCategoryPanel, UiCategoryPanelProps, UiCategoryPanelState } from 'sk/editor/view/ui/UiCategoryPanel'; export interface UiElementCategoryPanelProps extends UiCategoryPanelProps { } export interface UiElementCategoryPanelState extends UiCategoryPanelState { } export class UiSectionElementCategoryPanel

extends UiCategoryPanel { optionSymbolController: boolean; optionVariableController: boolean; optionFormulaController: boolean; optionDecorateController: boolean; optionConfigureController: boolean; optionSectionLayerController: boolean; optionSectionProfileController: boolean; protected _objectFrameService: ObjectFrameService; constructor(props: any, context?: any); componentStatusChange(state: any, props: any): void; protected makeTitle(element: Element): any; makeElement(element: Element): any; makeControllerElementItemTreeNode(item: DecorateItemElement | ConfigureOptionElement): any; makeControllerItemTreeNode(item: Element): any; makeControllerTreeNode(controller: any, parentKey: string): any; makeStructureManager(structureManager: FamilyStructureManager): JSX.Element; makeNodes(): any; } } declare module "sk/frame/plugin/editor/module/section/ui/SectionCategoryTabPanel" { import { UiCategoryTabPanel } from 'sk/editor/view/ui/UiCategoryTabPanel'; export class SectionCategoryTabPanel extends UiCategoryTabPanel { render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/section/ui/SectionPropertyTabPanel" { import { UiPropertyTabPanel } from 'sk/editor/view/ui/UiPropertyTabPanel'; export class SectionPropertyTabPanel extends UiPropertyTabPanel { render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/section/ui/SectionToolBar" { import { HttpDeviceService } from 'cross/core/device/http/HttpDeviceService'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { SectionEditorDocument } from "sk/frame/plugin/editor/module/section/entity/SectionEditorDocument"; export class SectionToolBar extends UiContainer { document: SectionEditorDocument; protected _httpService: HttpDeviceService; protected _uiFrameService: UiFrameService; selectObject: any; componentStatusChange(state: any, props: any): void; onCreateNode(elementClass: any): Function; private addSectionLayer; private addSectionProfile; private addSectionLayerInstance; private addSectionProfileInstance; private removeElement; addVariable: () => void; private addLayer; onDelete: () => void; onClear: () => void; onSave: () => Promise; onClose: () => void; private makeButtons; private buttonConfig; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/section/frame/SectionEditorModule" { 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 { SectionEditorDocument } from "sk/frame/plugin/editor/module/section/entity/SectionEditorDocument"; export class SectionEditorModule extends FrameEditorModule { _document: SectionEditorDocument; canvas: C2dCanvas; protected _canvasService: CanvasService; constructor(); onStartup(context: ModuleContext): void; onBindCanvasAsync(panelId: string, json?: any): Promise; onReleaseCanvas(): void; static get instance(): SectionEditorModule; } } declare module "sk/frame/plugin/editor/module/section/frame/SectionEditorFrame" { 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 { FrameEditorFrame, FrameEditorFrameProps, FrameEditorFrameState } from 'sk/editor/view/frame/FrameEditorFrame'; import { SectionEditorDocument } from "sk/frame/plugin/editor/module/section/entity/SectionEditorDocument"; import { SectionEditorModule } from "sk/frame/plugin/editor/module/section/frame/SectionEditorModule"; export interface SectionEditorFrameProps extends FrameEditorFrameProps { } export interface SectionEditorFrameState extends FrameEditorFrameState { statusOpened?: boolean; selectObject?: any; } export class SectionEditorFrame extends FrameEditorFrame { static pageName: string; module: SectionEditorModule; document: SectionEditorDocument; private _tree; constructor(props?: any, context?: any); initListenner(): void; disposeListenner(): void; loadDocumentAsync(): Promise; refreshTree: () => void; onSelectionChanged(sender: ListenerContext, event: SelectionEvent): void; onSelectElement: (selectedElement: any) => void; onCanvasViewChange: (id: string, modeCd: ObserverModeEnum, typeCd: ObserverTypeEnum) => () => void; private makeCanvas; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/section/frame/SectionSettings" { import { EditorSettings } from 'cross/editor/framework/setting/EditorSettings'; export class SectionSettings extends EditorSettings { htmlView: HTMLElement; curveGuid: string; curveVersion: string; curveData: string; user_id: string; user_path: string; } } declare module "sk/frame/plugin/editor/module/section/property/LayerPropertyPanel" { import { UiPropertyPanel } from 'sk/editor/view/ui/UiPropertyPanel'; export class LayerPropertyPanel extends UiPropertyPanel { constructor(); onValueChanged: (key: string, value: any) => void; } } declare module "sk/frame/plugin/editor/module/section/property/SectionProfileInstancePropertyPanel" { import { UiPropertyPanel } from 'sk/editor/view/ui/UiPropertyPanel'; export class SectionProfileInstancePropertyPanel extends UiPropertyPanel { constructor(); onValueChanged: (key: string, value: any) => void; } } declare module "sk/frame/plugin/editor/module/section/property/SectionProfilePropertyPanel" { import { UiPropertyPanel } from 'sk/editor/view/ui/UiPropertyPanel'; export class SectionProfilePropertyPanel extends UiPropertyPanel { constructor(); onValueChanged: (key: string, value: any) => void; } } declare module "sk/frame/plugin/editor/module/section/property/SectionSurfaceInstancePropertyPanel" { import { UiPropertyPanel } from 'sk/editor/view/ui/UiPropertyPanel'; export class SectionSurfaceInstancePropertyPanel extends UiPropertyPanel { constructor(); onValueChanged: (key: string, value: any) => void; } } declare module "sk/frame/plugin/editor/module/section/property/SectionSurfacePropertyPanel" { import { UiPropertyPanel } from 'sk/editor/view/ui/UiPropertyPanel'; export class SectionSurfacePropertyPanel extends UiPropertyPanel { constructor(); onValueChanged: (key: string, value: any) => void; } } declare module "sk/frame/plugin/editor/module/section/ui/ControlIdentityEnum" { export class ControlIdentityEnum { static Main: string; static Toolbar: string; static PropertyBar: string; } } declare module "sk/frame/plugin/editor/module/section/ui/action/SectionOpenEditorAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class SectionOpenEditorAction extends FrameAction { process(args: FrameActionArgs): void; } } declare module "sk/frame/plugin/editor/module/section/util/SectionLinkUtil" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; export class SectionLinkUtil { static getCircleCrossPoint(center: Vector2, dir: Vector2, radius: number, target?: Vector2): Vector2; static getRectCrossPoint(center: Vector2, dir: Vector2, halfWidth: number, halfHeight: number, target?: Vector2): Vector2; static getDiamondCrossPoint(center: Vector2, dir: Vector2, halfWidth: number, halfHeight: number, target?: Vector2): Vector2; static convertDisplayLine(context: C2dCanvasContext, line: any): any; static computeArrowPoints(line: any, scale?: number): any[]; } } declare module "sk/frame/plugin/editor/module/section/view/C2dSectionBaseController" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { DisplayController } from 'foundation/editor/view/base/DisplayController'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; export class C2dSectionBaseController extends DisplayController { context: C2dCanvasContext; protected _eventHooks: Array; constructor(); bindEvent(): void; onClick(event: PIXI.interaction.InteractionEvent): void; onMouseOver(event: PIXI.interaction.InteractionEvent): void; onMouseOut(event: PIXI.interaction.InteractionEvent): void; onMouseMove(event: MouseEvent, x: number, y: number): void; onMouseUp(event: MouseEvent): void; onDragStart(event: MouseEvent, x: number, y: number): void; startMoveAction(point: Vector2, mouseEvent: MouseEvent): void; onDragMove(event: PIXI.interaction.InteractionEvent, cx: number, cy: number): void; onDragEnd(event: PIXI.interaction.InteractionEvent): void; dispose(): void; } } declare module "sk/frame/plugin/editor/module/section/view/C2dSectionBase" { 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 { V2dGraphicText } from 'foundation/editor/view/view2d/render/V2dGraphicText'; import { DataDisplay } from 'foundation/editor/view/base/DataDisplay'; 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 { C2dSectionBaseController } from "sk/frame/plugin/editor/module/section/view/C2dSectionBaseController"; export class C2dSectionBase extends DataDisplay { context: C2dCanvasContext; layer: C2dLayer; node: V2dGraphicContainer; protected graphics: V2dGraphicDrawing; protected text: V2dGraphicText; controller: C2dSectionBaseController; protected _statusDragged: boolean; protected _lineWidth: number; protected _lineColor: number; constructor(); setup(): void; onEntityFlagChanged(sender: ListenerContext, event: DataNodeFlagEvent): void; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; onEntityDirty(sender: ListenerContext, event: DataNodeFieldEvent): void; sceneScale(): number; dirty(): void; createNode(): void; onDraw(context?: DisplayContext): void; updateStyleStatus(): void; updateShape(): void; removeFromView(): void; dispose(): void; } } declare module "sk/frame/plugin/editor/module/section/view/C2dSectionSurface" { 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 { SectionSurfaceNode } from 'sk/data/family/structure/section/model/SectionSurfaceNode'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; import { C2dLayer } from 'sk/editor/logic/view/canvas2d/C2dLayer'; export class C2dSectionSurface extends Display { context: C2dCanvasContext; entity: SectionSurfaceNode; layer: C2dLayer; node: V2dGraphicContainer; protected graphics: V2dGraphicDrawing; protected _statusDragged: boolean; protected _lineWidth: number; protected _lineColor: number; constructor(); setup(): void; onEntityFlagChanged(sender: ListenerContext, event: DataNodeFlagEvent): void; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; onEntityDirty(sender: ListenerContext, event: DataNodeFieldEvent): void; sceneScale(): number; dirty(): void; createNode(): void; onDraw(context?: DisplayContext): void; updateStyleStatus(): void; updateShape(): void; removeFromView(): void; dispose(): void; } } declare module "sk/frame/plugin/editor/module/warehouse/database/ui/modal/DatabaseExportUserConfigModal" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class DatabaseExportUserConfigModal extends UiContainer { private readonly _scriptName; private readonly _authHost; constructor(props: any, context?: any); private fetchDatabaseListAsync; protected onCancel: () => void; protected onOk: () => void; private buildSqlBatchScript; private buildSqlScript; private saveSqlBatchScript; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/warehouse/database/ui/action/DatabaseExportUserConfigAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class DatabaseExportUserConfigAction extends FrameAction { private _toolbar; process(args: FrameActionArgs): void; private addFrame; } } declare module "sk/frame/plugin/editor/module/workflow/entity/WorkflowEditOptions" { import { EditOptions } from 'foundation/editor/view/entity/EditOptions'; export class WorkflowEditOptions extends EditOptions { rotationX: number; rotationY: number; rotationZ: number; reset(): void; } } declare module "sk/frame/plugin/editor/module/workflow/entity/WorkflowEditorDocument" { 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 { WorkflowDocument } from 'sk/data/family/workflow/WorkflowDocument'; import { TemplateLogicService } from 'sk/data/resource/model/service/TemplateLogicService'; import { WorkflowUpdateContentResponse } from 'sk/data/logic/module/message/WorkflowUpdateContentResponse'; import { WorkflowBlueprintEntity } from "sk/frame/plugin/editor/module/workflow/entity/WorkflowBlueprintEntity"; export class WorkflowEditorDocument extends WorkflowDocument { static CLASS_NAME: string; protected static _factory: PersistentFactory; static get Factory(): PersistentFactory; blueprint: WorkflowBlueprintEntity; baseUrl: string; protected _storageService: StorageDeviceService; protected _templateService: TemplateLogicService; get factory(): PersistentFactory; testValid(): boolean; makeStorageCode(): string; loadByUrlAsync(url: string): Promise; loadByIdAsync(id: string, version?: AssetVersionType): Promise; saveAsync(): Promise; saveLocal(): any; static createEmptyDocument(json?: any): WorkflowEditorDocument; static createDefaultDocument(): WorkflowEditorDocument; } } declare module "sk/frame/plugin/editor/module/workflow/entity/WorkflowBlueprintEntity" { import { GridEntity } from 'foundation/editor/view/entity/GridEntity'; import { ObserverViewEntity } from 'foundation/editor/view/entity/ObserverViewEntity'; import { WorkflowBlueprintNode } from 'sk/data/family/workflow/model/WorkflowBlueprintNode'; import { WorkflowEditOptions } from "sk/frame/plugin/editor/module/workflow/entity/WorkflowEditOptions"; export class WorkflowBlueprintEntity extends WorkflowBlueprintNode { editOptions: WorkflowEditOptions; activeObserver: ObserverViewEntity; grid: GridEntity; constructor(); reset(): void; } } declare module "sk/frame/plugin/editor/module/workflow/frame/WorkflowConstants" { export class WorkflowConstants { static ModuleName: string; static DocumentName: string; static CanvasName: string; static SceneName: string; } } declare module "sk/frame/plugin/editor/module/workflow/action/content/WorkflowActionEvent" { import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { WorkflowBaseElement } from 'sk/data/family/workflow/element/WorkflowBaseElement'; export class WorkflowActionEvent extends ContentActionEvent { element: WorkflowBaseElement; elementClass: any; first: WorkflowBaseElement; second: WorkflowBaseElement; free(): void; } } declare module "sk/frame/plugin/editor/module/workflow/action/WorkflowAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { StructureElement } from 'sk/data/family/element/base/StructureElement'; import { FamilyStructure } from 'sk/data/family/library/FamilyStructure'; import { WorkflowBlueprintEntity } from "sk/frame/plugin/editor/module/workflow/entity/WorkflowBlueprintEntity"; import { WorkflowActionEvent } from "sk/frame/plugin/editor/module/workflow/action/content/WorkflowActionEvent"; export class WorkflowAction extends Action { document: any; blueprint: WorkflowBlueprintEntity; familyStructure: FamilyStructure; structure: StructureElement; protected _selectionService: SelectionService; onSetup(): void; onReceive(code: string, event: WorkflowActionEvent): boolean; } } declare module "sk/frame/plugin/editor/module/workflow/action/content/WorkflowAddAction" { import { WorkflowBaseElement } from 'sk/data/family/workflow/element/WorkflowBaseElement'; import { WorkflowAction } from "sk/frame/plugin/editor/module/workflow/action/WorkflowAction"; import { WorkflowActionEvent } from "sk/frame/plugin/editor/module/workflow/action/content/WorkflowActionEvent"; export class WorkflowAddAction extends WorkflowAction { element: WorkflowBaseElement; onExecute(event: WorkflowActionEvent): void; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/module/workflow/action/content/WorkflowMoveAction" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { WorkflowBaseElement } from 'sk/data/family/workflow/element/WorkflowBaseElement'; import { WorkflowAction } from "sk/frame/plugin/editor/module/workflow/action/WorkflowAction"; import { WorkflowActionEvent } from "sk/frame/plugin/editor/module/workflow/action/content/WorkflowActionEvent"; export class WorkflowMoveAction extends WorkflowAction { element: WorkflowBaseElement; protected _basePoint: Vector2; protected _baseOffset: Vector2; protected _saveInfo: any; private _isMoved; constructor(); isContentMoved(): boolean; move(point: Vector3, parameters: any): void; moveTo(offset: Vector3): void; onExecute(event?: any): void; onReceive(code: string, event: WorkflowActionEvent): boolean; protected saveRestoreData(): void; protected onUndoRedo(): void; } } declare module "sk/frame/plugin/editor/module/workflow/action/content/WorkflowAddCompositeAction" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { CompositeAction } from 'foundation/editor/view/action/CompositeAction'; import { WorkflowBaseNode } from 'sk/data/family/workflow/model/WorkflowBaseNode'; import { WorkflowActionEvent } from "sk/frame/plugin/editor/module/workflow/action/content/WorkflowActionEvent"; export class WorkflowAddCompositeAction extends CompositeAction { position: Vector2; rotation: number; entity: WorkflowBaseNode; constructor(); onExecute(event?: WorkflowActionEvent): void; onReceive(code: string, event: any): boolean; } } declare module "sk/frame/plugin/editor/module/workflow/action/content/WorkflowCreateLinkAction" { import { WorkflowLinkElement } from 'sk/data/family/workflow/element/WorkflowLinkElement'; import { WorkflowAction } from "sk/frame/plugin/editor/module/workflow/action/WorkflowAction"; import { WorkflowActionEvent } from "sk/frame/plugin/editor/module/workflow/action/content/WorkflowActionEvent"; export class WorkflowCreateLinkAction extends WorkflowAction { element: WorkflowLinkElement; onExecute(event?: any): void; onReceive(code: string, event: WorkflowActionEvent): boolean; createLink(event: WorkflowActionEvent): void; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/module/workflow/action/content/WorkflowDeleteAction" { import { WorkflowBaseElement } from 'sk/data/family/workflow/element/WorkflowBaseElement'; import { WorkflowAction } from "sk/frame/plugin/editor/module/workflow/action/WorkflowAction"; import { WorkflowActionEvent } from "sk/frame/plugin/editor/module/workflow/action/content/WorkflowActionEvent"; export class WorkflowDeleteAction extends WorkflowAction { element: WorkflowBaseElement; onExecute(event: WorkflowActionEvent): void; deleteElement(): void; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/module/workflow/action/WorkflowActionUtil" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { ActionService } from 'foundation/editor/view/action/ActionService'; export class WorkflowActionUtil { protected static _actionService: ActionService; protected static _selectionService: SelectionService; static addWorkflowNode(elementClass: any, position?: Vector2): void; static deleteSelectedNode(): void; } } declare module "sk/frame/plugin/editor/module/workflow/action/content/ContentDisplayAction" { import { ContentNode } from 'foundation/data/common/model/brep/ContentNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { WorkflowActionEvent } from "sk/frame/plugin/editor/module/workflow/action/content/WorkflowActionEvent"; export type StorageData = { visible: boolean; }; export class ContentDisplayAction extends Action { chest: ContentNode; content: ContentNode; visible: boolean; protected _savedData: StorageData; protected _restoreData: StorageData; protected _selectionService: SelectionService; constructor(); protected switchVisible(visible: boolean): void; onExecute(event?: WorkflowActionEvent): void; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/plugin/editor/module/workflow/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/module/workflow/action/content/ContentScaleAction" { import { Action } from 'foundation/editor/view/action/Action'; export class ContentScaleAction extends Action { content: any; contentpos: any; cscale: any; } } declare module "sk/frame/plugin/editor/module/workflow/action/selection/SelectionSelectProcess" { import { EditingService } from 'foundation/editor/base/selection/EditingService'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { SelectActionEvent } from 'foundation/editor/view/action/selection/SelectActionEvent'; import { SelectActionEventEnum } from 'foundation/editor/view/action/selection/SelectActionEventEnum'; import { ActionService } from 'foundation/editor/view/action/ActionService'; export class SelectionSelectProcess { entity: any; entityPath: Array; event: any; multiSelect: boolean; protected _selectionService: SelectionService; protected _editingService: EditingService; protected _actionService: ActionService; constructor(); process(selectType: SelectActionEventEnum, event: SelectActionEvent): void; } } declare module "sk/frame/plugin/editor/module/workflow/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/module/workflow/entity/WorkflowDecisionEntity" { import { WorkflowDecisionNode } from 'sk/data/family/workflow/model/WorkflowDecisionNode'; export class WorkflowDecisionEntity extends WorkflowDecisionNode { } } declare module "sk/frame/plugin/editor/module/workflow/entity/WorkflowDeclarationEntity" { import { WorkflowDeclarationNode } from 'sk/data/family/workflow/model/WorkflowDeclarationNode'; export class WorkflowDeclarationEntity extends WorkflowDeclarationNode { } } declare module "sk/frame/plugin/editor/module/workflow/entity/WorkflowInputEntity" { import { WorkflowInputNode } from 'sk/data/family/workflow/model/WorkflowInputNode'; export class WorkflowInputEntity extends WorkflowInputNode { } } declare module "sk/frame/plugin/editor/module/workflow/entity/WorkflowLinkEntity" { import { WorkflowLinkNode } from 'sk/data/family/workflow/model/WorkflowLinkNode'; export class WorkflowLinkEntity extends WorkflowLinkNode { } } declare module "sk/frame/plugin/editor/module/workflow/entity/WorkflowOutputEntity" { import { WorkflowOutputNode } from 'sk/data/family/workflow/model/WorkflowOutputNode'; export class WorkflowOutputEntity extends WorkflowOutputNode { } } declare module "sk/frame/plugin/editor/module/workflow/entity/WorkflowPlainEntity" { import { WorkflowPlainNode } from 'sk/data/family/workflow/model/WorkflowPlainNode'; export class WorkflowPlainEntity extends WorkflowPlainNode { } } declare module "sk/frame/plugin/editor/module/workflow/entity/WorkflowStartEntity" { import { WorkflowStartNode } from 'sk/data/family/workflow/model/WorkflowStartNode'; export class WorkflowStartEntity extends WorkflowStartNode { } } declare module "sk/frame/plugin/editor/module/workflow/entity/WorkflowStateEntity" { import { WorkflowStateNode } from 'sk/data/family/workflow/model/WorkflowStateNode'; export class WorkflowStateEntity extends WorkflowStateNode { } } declare module "sk/frame/plugin/editor/module/workflow/entity/WorkflowStopEntity" { import { WorkflowStopNode } from 'sk/data/family/workflow/model/WorkflowStopNode'; export class WorkflowStopEntity extends WorkflowStopNode { } } declare module "sk/frame/plugin/editor/module/workflow/entity/WorkflowTaskEntity" { import { WorkflowTaskNode } from 'sk/data/family/workflow/model/WorkflowTaskNode'; export class WorkflowTaskEntity extends WorkflowTaskNode { } } declare module "sk/frame/plugin/editor/module/workflow/frame/WorkflowEditorModule" { 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 { WorkflowEditorDocument } from "sk/frame/plugin/editor/module/workflow/entity/WorkflowEditorDocument"; export class WorkflowEditorModule extends FrameEditorModule { canvas: C2dCanvas; protected _document: WorkflowEditorDocument; protected _canvasService: CanvasService; constructor(); get document(): WorkflowEditorDocument; onStartup(context: ModuleContext): void; onBindCanvasAsync(json?: any): Promise; onReleaseCanvas(): void; static get instance(): WorkflowEditorModule; } } declare module "sk/frame/plugin/editor/module/workflow/ui/WorkflowCategoryTabPanel" { import { UiCategoryTabPanel, UiCategoryTabPanelProps } from 'sk/editor/view/ui/UiCategoryTabPanel'; export interface WorkflowCategoryTabPanelProps extends UiCategoryTabPanelProps { onSelectElement: any; onSelectEntity: any; onSelectDispaly: any; } export class WorkflowCategoryTabPanel extends UiCategoryTabPanel { render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/workflow/ui/WorkflowPropertyTabPanel" { import { UiPropertyTabPanel } from 'sk/editor/view/ui/UiPropertyTabPanel'; export class WorkflowPropertyTabPanel extends UiPropertyTabPanel { render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/workflow/ui/WorkflowToolBar" { import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { UiToolBarPanel } from 'sk/editor/view/ui/UiToolBarPanel'; import { WorkflowEditorDocument } from "sk/frame/plugin/editor/module/workflow/entity/WorkflowEditorDocument"; export class WorkflowToolBar extends UiToolBarPanel { document: WorkflowEditorDocument; protected _uiFrameService: UiFrameService; constructor(props?: any, context?: any); onCreateNode(elementClass: any): Function; onDelete: () => void; onClear: () => void; onSaveAsync: () => Promise; onClose: () => void; onDownload: () => void; onUploadAsync: () => Promise; private readTextFileAsync; private uploadFileAsync; private downloadFile; } } declare module "sk/frame/plugin/editor/module/workflow/frame/WorkflowEditorFrame" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { SelectionEvent } from 'foundation/editor/base/selection/SelectionEvent'; import { WorkflowBaseElement } from 'sk/data/family/workflow/element/WorkflowBaseElement'; import { WorkflowDocumentService } from 'sk/data/family/workflow/WorkflowDocumentService'; import { FrameEditorViewFrame, FrameEditorViewFrameProps, FrameEditorViewFrameState } from 'sk/editor/view/frame/FrameEditorViewFrame'; import { WorkflowEditorDocument } from "sk/frame/plugin/editor/module/workflow/entity/WorkflowEditorDocument"; import { WorkflowEditorModule } from "sk/frame/plugin/editor/module/workflow/frame/WorkflowEditorModule"; export interface WorkflowEditorFrameProps extends FrameEditorViewFrameProps { } export interface WorkflowEditorFrameState extends FrameEditorViewFrameState { selectObject?: WorkflowBaseElement; } export class WorkflowEditorFrame extends FrameEditorViewFrame { static pageName: string; module: WorkflowEditorModule; document: WorkflowEditorDocument; private _tree; protected _documentService: WorkflowDocumentService; constructor(props?: any, context?: any); initListenner(): void; disposeListenner(): void; loadDocumentAsync(): Promise; refreshTree(): void; onSelectionChanged(sender: ListenerContext, event: SelectionEvent): void; onSelectElement: (selectedElement: any) => void; makeCategory(): any; makeToolBar(): any; makeCanvas(): any; makeProperty(): any; } } declare module "sk/frame/plugin/editor/module/workflow/frame/WorkflowSettings" { import { EditorSettings } from 'cross/editor/framework/setting/EditorSettings'; export class WorkflowSettings extends EditorSettings { htmlView: HTMLElement; curveGuid: string; curveVersion: string; curveData: string; user_id: string; user_path: string; } } declare module "sk/frame/plugin/editor/module/workflow/ui/ControlIdentityEnum" { export class ControlIdentityEnum { static Main: string; static Toolbar: string; static PropertyBar: string; } } declare module "sk/frame/plugin/editor/module/workflow/ui/Workflow3Tree" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { KeyboardDeviceEvent } from 'cross/editor/device/keyboard/KeyboardDeviceEvent'; import { KeyboardDeviceService } from 'cross/editor/device/keyboard/KeyboardDeviceService'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { WorkflowEditorDocument } from "sk/frame/plugin/editor/module/workflow/entity/WorkflowEditorDocument"; export class Workflow3Tree extends UiContainer { document: WorkflowEditorDocument; selectElementCallback: any; protected _keyboardService: KeyboardDeviceService; state: { popNode: any; selectedElementKeys: any[]; selectedDisplayKeys: any[]; blueprintIsOpened: boolean; }; componentDidMount(): void; componentWillUnmount(): void; componentStatusChange(state: any, props: any): void; onKeyboardDown(sender: ListenerContext, event: KeyboardDeviceEvent): void; onSelectElement: (selectedKeys: string[], e: any) => void; onSelectNode: (selectedKeys: string[], e: any) => void; private makeTitle; private makeDisplayTitle; makeElementTree(): JSX.Element; makeDisplayTree(): any; makeMeshTree(): any; onTabChange: () => void; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/workflow/ui/WorkflowPropForm" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; 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 { WorkflowBaseElement } from 'sk/data/family/workflow/element/WorkflowBaseElement'; import { FamilyDocument } from 'sk/data/family/library/FamilyDocument'; import { UiDataContext } from 'sk/editor/frame/ui/UiDataContext'; export class WorkflowPropForm extends UiContainer { protected _selectionService: SelectionService; document: FamilyDocument; element: WorkflowBaseElement; state: { element: any; }; componentStatusChange(state: any, props: any): void; componentWillUnmount(): void; onSelectChange(sender: ListenerContext, event: SelectionEvent): void; onFieldChanged: () => void; onValueChanged: (key: string, value: any) => void; makeDataContext(element: any): UiDataContext; makePropertyPanel(): JSX.Element; render(): JSX.Element; } } declare module "sk/frame/plugin/editor/module/workflow/ui/action/WorkflowOpenEditorAction" { import { FrameAction, FrameActionArgs } from 'sk/editor/frame/service/frame/FrameAction'; export class WorkflowOpenEditorAction extends FrameAction { process(args: FrameActionArgs): void; } } declare module "sk/frame/plugin/editor/module/workflow/ui/category/WorkflowLinkElementTreeController" { import { Types } from 'cross/runtime/lang/collection/Types'; import { WorkflowLinkElement } from 'sk/data/family/workflow/element/WorkflowLinkElement'; import { ControllerOption } from 'sk/data/family/util/ControllerUtil'; import { ElementTreeController } from 'sk/editor/family/ui/category/controller/ElementTreeController'; export class WorkflowLinkElementTreeController extends ElementTreeController { makeTreeNode(element: WorkflowLinkElement, expandedKeys: Types, option?: ControllerOption): any; } } declare module "sk/frame/plugin/editor/module/workflow/ui/property/WorkflowBasePanel" { import { UiPropertyPanel } from 'sk/editor/view/ui/UiPropertyPanel'; import { WorkflowEditorDocument } from "sk/frame/plugin/editor/module/workflow/entity/WorkflowEditorDocument"; export class WorkflowBasePanel extends UiPropertyPanel { document: WorkflowEditorDocument; onValueChanged(key: string, value: any): void; } } declare module "sk/frame/plugin/editor/module/workflow/ui/property/WorkflowDecisionPanel" { import { WorkflowBasePanel } from "sk/frame/plugin/editor/module/workflow/ui/property/WorkflowBasePanel"; export class WorkflowDecisionPanel extends WorkflowBasePanel { constructor(props?: any, context?: any); } } declare module "sk/frame/plugin/editor/module/workflow/ui/property/WorkflowLinkPanel" { import { UiDataContext } from 'sk/editor/frame/ui/UiDataContext'; import { WorkflowBasePanel } from "sk/frame/plugin/editor/module/workflow/ui/property/WorkflowBasePanel"; export class WorkflowLinkPanel extends WorkflowBasePanel { constructor(props?: any, context?: any); makeDataContext(element: any): UiDataContext; } } declare module "sk/frame/plugin/editor/module/workflow/ui/property/WorkflowPlainPanel" { import { WorkflowBasePanel } from "sk/frame/plugin/editor/module/workflow/ui/property/WorkflowBasePanel"; export class WorkflowPlainPanel extends WorkflowBasePanel { constructor(props?: any, context?: any); } } declare module "sk/frame/plugin/editor/module/workflow/ui/property/WorkflowStartPanel" { import { WorkflowBasePanel } from "sk/frame/plugin/editor/module/workflow/ui/property/WorkflowBasePanel"; export class WorkflowStartPanel extends WorkflowBasePanel { constructor(props?: any, context?: any); } } declare module "sk/frame/plugin/editor/module/workflow/ui/property/WorkflowStopPanel" { import { WorkflowBasePanel } from "sk/frame/plugin/editor/module/workflow/ui/property/WorkflowBasePanel"; export class WorkflowStopPanel extends WorkflowBasePanel { constructor(props?: any, context?: any); } } declare module "sk/frame/plugin/editor/module/workflow/ui/property/WorkflowTaskPanel" { import { WorkflowBasePanel } from "sk/frame/plugin/editor/module/workflow/ui/property/WorkflowBasePanel"; export class WorkflowTaskPanel extends WorkflowBasePanel { constructor(props?: any, context?: any); } } declare module "sk/frame/plugin/editor/module/workflow/util/WorkflowLinkUtil" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { WorkflowBaseNode } from 'sk/data/family/workflow/model/WorkflowBaseNode'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; export class WorkflowLinkUtil { static getCircleCrossPoint(center: Vector2, dir: Vector2, radius: number, target?: Vector2): Vector2; static getRectCrossPoint(center: Vector2, dir: Vector2, halfWidth: number, halfHeight: number, target?: Vector2): Vector2; static getDiamondCrossPoint(center: Vector2, dir: Vector2, halfWidth: number, halfHeight: number, target?: Vector2): Vector2; static getNodeCrossPoint(node: WorkflowBaseNode, center: Vector2, dir: Vector2, cross?: Vector2): Vector2; static computLinkLine(beginNode: WorkflowBaseNode, endNode: WorkflowBaseNode): Vector2[]; static getNodeLinkLine(startNode: WorkflowBaseNode, point: Vector2): Vector2[]; static convertDisplayLine(context: C2dCanvasContext, line: any): any; static computeArrowPoints(line: any, scale?: number): any[]; } } declare module "sk/frame/plugin/editor/module/workflow/view/C2dWorkflowBaseController" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { V2dHookEvent } from 'foundation/editor/view/view2d/render/V2dHookEvent'; import { V2dHookManager } from 'foundation/editor/view/view2d/render/V2dHookManager'; import { DisplayController } from 'foundation/editor/view/base/DisplayController'; import { WorkflowBaseNode } from 'sk/data/family/workflow/model/WorkflowBaseNode'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; import { C2dWorkflowBase } from "sk/frame/plugin/editor/module/workflow/view/C2dWorkflowBase"; export class C2dWorkflowBaseController extends DisplayController { context: C2dCanvasContext; entity: WorkflowBaseNode; display: C2dWorkflowBase; protected _hookManager: V2dHookManager; constructor(); bindEvent(): void; unbindEvent(): void; onClick(sender: ListenerContext, event: V2dHookEvent): void; onMouseOver(sender: ListenerContext, event: V2dHookEvent): void; onMouseOut(sender: ListenerContext, event: V2dHookEvent): void; onMouseMove(sender: ListenerContext, event: V2dHookEvent): void; onMouseUp(sender: ListenerContext, event: V2dHookEvent): void; onDragStart(event: MouseEvent, x: number, y: number): void; startMoveAction(point: Vector2, mouseEvent: MouseEvent): void; onDragMove(sender: ListenerContext, event: V2dHookEvent): void; onDragEnd(sender: ListenerContext, event: V2dHookEvent): void; dispose(): void; } } declare module "sk/frame/plugin/editor/module/workflow/view/C2dWorkflowBase" { 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 { V2dGraphicText } from 'foundation/editor/view/view2d/render/V2dGraphicText'; import { DataDisplay } from 'foundation/editor/view/base/DataDisplay'; import { DisplayContext } from 'foundation/editor/view/base/DisplayContext'; import { WorkflowBaseNode } from 'sk/data/family/workflow/model/WorkflowBaseNode'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; import { C2dLayer } from 'sk/editor/logic/view/canvas2d/C2dLayer'; import { C2dWorkflowBaseController } from "sk/frame/plugin/editor/module/workflow/view/C2dWorkflowBaseController"; export class C2dWorkflowBase extends DataDisplay { context: C2dCanvasContext; entity: WorkflowBaseNode; layer: C2dLayer; node: V2dGraphicContainer; protected graphics: V2dGraphicDrawing; protected text: V2dGraphicText; controller: C2dWorkflowBaseController; protected _statusDragged: boolean; protected _lineWidth: number; protected _lineColor: number; constructor(); setup(): void; onEntityFlagChanged(sender: ListenerContext, event: DataNodeFlagEvent): void; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; onEntityDirty(sender: ListenerContext, event: DataNodeFieldEvent): void; sceneScale(): number; dirty(): void; createNode(): any; onDraw(context?: DisplayContext): void; updateStyleStatus(): void; updateShape(): void; removeFromView(): void; dispose(): void; } } declare module "sk/frame/plugin/editor/module/workflow/view/C2dWorkflowDecision" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { C2dWorkflowBase } from "sk/frame/plugin/editor/module/workflow/view/C2dWorkflowBase"; export class C2dWorkflowDecision extends C2dWorkflowBase { onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; updateShape(): void; } } declare module "sk/frame/plugin/editor/module/workflow/view/C2dWorkflowLink" { 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 { WorkflowLinkEntity } from "sk/frame/plugin/editor/module/workflow/entity/WorkflowLinkEntity"; import { C2dWorkflowBase } from "sk/frame/plugin/editor/module/workflow/view/C2dWorkflowBase"; export class C2dWorkflowLink extends C2dWorkflowBase { entity: WorkflowLinkEntity; setup(): void; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; onLinkNodeDirty(sender: ListenerContext, event: NodeFieldEvent): void; updateShape(): void; dispose(): void; } } declare module "sk/frame/plugin/editor/module/workflow/view/C2dWorkflowPlain" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { C2dWorkflowBase } from "sk/frame/plugin/editor/module/workflow/view/C2dWorkflowBase"; export class C2dWorkflowPlain extends C2dWorkflowBase { onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; updateShape(): void; } } declare module "sk/frame/plugin/editor/module/workflow/view/C2dWorkflowStart" { import { C2dWorkflowBase } from "sk/frame/plugin/editor/module/workflow/view/C2dWorkflowBase"; export class C2dWorkflowStart extends C2dWorkflowBase { updateShape(): void; } } declare module "sk/frame/plugin/editor/module/workflow/view/C2dWorkflowStop" { import { C2dWorkflowBase } from "sk/frame/plugin/editor/module/workflow/view/C2dWorkflowBase"; export class C2dWorkflowStop extends C2dWorkflowBase { updateShape(): void; } } declare module "sk/frame/plugin/editor/module/workflow/view/C2dWorkflowTask" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { C2dWorkflowBase } from "sk/frame/plugin/editor/module/workflow/view/C2dWorkflowBase"; export class C2dWorkflowTask extends C2dWorkflowBase { onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; updateShape(): void; } } declare module "sk/frame/plugin/editor/module/workflow/view/gizmo/C2dCreateWorkflowLink" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { KeyboardDeviceEvent } from 'cross/editor/device/keyboard/KeyboardDeviceEvent'; import { KeyboardDeviceService } from 'cross/editor/device/keyboard/KeyboardDeviceService'; import { V2dHookEvent } from 'foundation/editor/view/view2d/render/V2dHookEvent'; import { V2dTemp } from 'foundation/editor/view/view2d/V2dTemp'; import { WorkflowBaseElement } from 'sk/data/family/workflow/element/WorkflowBaseElement'; import { WorkflowBaseNode } from 'sk/data/family/workflow/model/WorkflowBaseNode'; import { C2dCanvas } from 'sk/editor/logic/view/canvas2d/C2dCanvas'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; import { WorkflowCreateLinkAction } from "sk/frame/plugin/editor/module/workflow/action/content/WorkflowCreateLinkAction"; export class C2dCreateWorkflowLink extends V2dTemp { view: C2dCanvas; context: C2dCanvasContext; action: WorkflowCreateLinkAction; private renderer; private graphics; private start; private point; private beginNode; private endNode; private sceneContainer; private hoverNode; protected _keyboardService: KeyboardDeviceService; constructor(); setup(): void; canElementLink(element: WorkflowBaseElement): boolean; hitWorkflowNode(x: number, y: number): WorkflowBaseNode; onMouseClick(sender: ListenerContext, event: V2dHookEvent): void; onMouseMove(sender: ListenerContext, event: V2dHookEvent): void; onKeyboardDown(sender: ListenerContext, event: KeyboardDeviceEvent): void; hover(node: WorkflowBaseNode): void; onDraw(): void; dispose(): void; } }