/// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// declare module "copyright" { export class FrameLogicCopyright { static toString(): string; } } declare module "sk/frame/logic/IndexSpace" { export class IndexSpace { static namespaces(): string[]; } } declare module "sk/frame/logic/base/CoordTransformUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { Vector3 } from 'foundation/runtime/math/Vector3'; export class CoordTransformUtil { static objectCoordToUserCoord(objectMatrix: Matrix4, userMatrix: Matrix4, point: Vector3 | Vector2): Vector3; static objectCoordToUserCoord2d(objectMatrix: Matrix4, userMatrix: Matrix4, point: Vector3 | Vector2): Vector2; static objectCoordToWorldCoord(objectMatrix: Matrix4, point: Vector3 | Vector2): Vector3; static objectCoordToWorldCoord2d(objectMatrix: Matrix4, point: Vector3 | Vector2): Vector2; static worldCoordToUserCoord2d(userMatrix: Matrix4, point: Vector3): Vector2; static worldCoordToUserCoord(userMatrix: Matrix4, point: Vector3): Vector3; } } declare module "sk/frame/logic/base/EditorDomainEnum" { export class EditorDomainEnum { static Toolbar: string; static TabTree: string; static Operate: string; static Property: string; static Array: string; static Partition: string; } } declare module "sk/frame/logic/base/EditorPanelDomainService" { import { Types } from 'cross/runtime/lang/collection/Types'; import { Service } from 'cross/runtime/module/Service'; export type EditorPanelDomainDeclareInfo = { panelType: string; domainType: string; instanceClass: any; panelClass: any; }; export class EditorPanelDomainService extends Service { protected _declares: Types; findDeclare(panelType: string, domainType: string, instanceClass?: any): EditorPanelDomainDeclareInfo; registerDeclare(panelType: string, domainType: string, panelClass: any, instanceClass?: any): void; findDeclareByClass(panelType: string, domainType: string, instance?: any): EditorPanelDomainDeclareInfo; } } declare module "sk/frame/logic/base/EditorPanelDomainDeclare" { export function EditorPanelDomainDeclare(panelType: string, domainType: string, instanceClass?: Function): (target: any) => void; } declare module "sk/frame/logic/editor/component/CanvasViewComponent" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { Module } from 'cross/runtime/framework/module/Module'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { DataDocument } from 'foundation/data/common/model/DataDocument'; import { EditorStatusService } from 'foundation/editor/base/core/EditorStatusService'; import { UiContainer, UiContainerProps } from 'foundation/editor/ui/core/UiContainer'; import { RenderService } from 'foundation/editor/view/base/render/RenderService'; import { Canvas } from 'foundation/editor/view/base/Canvas'; import { CanvasService } from 'foundation/editor/view/base/CanvasService'; export interface CanvasViewComponentProps extends UiContainerProps { module: Module; document: DataDocument; htmlContainerId: string; canvasEnum: string; view?: Canvas; reserveCanvas?: boolean; manualBind?: boolean; customContent?: any; onBindView?: any; optionVideo?: boolean; registerViewName?: string; canvasId?: string; style?: any; } export class CanvasViewComponent extends UiContainer { view: Canvas; videoView: Canvas; private htmlContainerId; private registerViewName; private module; private document; private canvasEnum; videoServiceAddress: string; optionOutRenderer: boolean; protected _canvasService: CanvasService; protected _renderService: RenderService; mousePosition: Vector2; protected _editorStatusService: EditorStatusService; constructor(props: any, context?: any); onMouseDown: (e: any) => void; componentPropsChange(nextProps: CanvasViewComponentProps, nextContext: any): void; componentDidMount(): void; componentWillUnmount(): void; bindViewAsync(): Promise; private createViewAsync; private createVideoViewAsync; releaseView(): void; private activeView; private deactiveView; private onSwitchVideo; private onVideoServerClick; private makeVideoButton; render(): JSX.Element; } } declare module "sk/frame/logic/editor/component/SplitPanelTrigger" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class SplitPanelTrigger extends UiContainer { protected _mode: string; protected _leftTop: boolean; componentStatusChange(state: any, props: any): void; private buildStyleByMode; render(): JSX.Element; } } declare module "sk/frame/logic/editor/component/UISplitPanelComponent" { import { UiContainer, UiContainerProps, UiContainerState } from 'foundation/editor/ui/core/UiContainer'; export interface UISplitPanelComponentProps extends UiContainerProps { } export interface UISplitPanelComponentState extends UiContainerState { position?: Number; mouseDown?: Boolean; preX?: Number; preY?: Number; } export class UISplitPanelComponent extends UiContainer { private _closeFront; protected _mode: string; protected _leftTop: boolean; protected _moveTrigger: boolean; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; componentPropsChange(nextProps: any, nextContext: any): void; private buildStyleByMode; private handleMouseDown; private handleMouseMove; private handleMouseUp; render(): JSX.Element; } } declare module "sk/frame/logic/storage/perspective/config/decorate/item/ConfigDecorateItemUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class ConfigDecorateItemUnit extends StorageUnit { static CLASS_NAME: string; configId: string; decorateItemId: string; tenantId: string; libraryId: string; code: string; name: string; linkCd: string; linkCode: string; linkId: string; linkName: string; linkVersion: string; optionDefault: number; constructor(); } } declare module "sk/frame/logic/storage/perspective/config/decorate/item/PerspectiveConfigDecorateItemService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { ConfigDecorateItemGetDefaultResponse } from 'sk/data/logic/perspective/message/ConfigDecorateItemGetDefaultResponse'; import { ConfigDecorateItemPageResponse } from 'sk/data/logic/perspective/message/ConfigDecorateItemPageResponse'; import { ConfigDecorateItemSyncResponse } from 'sk/data/logic/perspective/message/ConfigDecorateItemSyncResponse'; import { ConfigDecorateItemUnit } from "sk/frame/logic/storage/perspective/config/decorate/item/ConfigDecorateItemUnit"; export class PerspectiveConfigDecorateItemService extends StorageUnitService { constructor(); pageAsync(pageQuery: any): Promise; getDefaultAsync(obj?: any): Promise; syncDecorateItemAsync(obj?: any): Promise; } } declare module "sk/frame/logic/scheme/util/SchemeDocumentUtil" { import { IContext } from 'cross/runtime/lang/IContext'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { StorageDigitizationTypeEnum } from 'foundation/data/common/enumeration/StorageDigitizationTypeEnum'; import { SchemeDocument } from 'sk/data/scheme/model/SchemeDocument'; export class SchemeDocumentUtil { static makeSaveNewRequestAsync(context: IContext, document: SchemeDocument, typeCd?: StorageDigitizationTypeEnum, data?: any): Promise; static makeSaveRequestAsync(context: IContext, document: SchemeDocument, typeCd?: StorageDigitizationTypeEnum, data?: any): Promise; static sendSaveRequestAsync(context: IContext, document: SchemeDocument, request: any): Promise; static saveNewAsync(context: IContext, document: SchemeDocument, typeCd?: StorageDigitizationTypeEnum, data?: any): Promise; static saveAsync(context: IContext, document: SchemeDocument, typeCd?: StorageDigitizationTypeEnum, data?: any): Promise; static saveStructureNewAsync(document: SchemeDocument, data?: any): Promise; static saveStructureAsync(document: SchemeDocument, typeCd?: StorageDigitizationTypeEnum, data?: any): Promise; } } declare module "sk/frame/logic/scheme/SchemeEditorOptions" { import { EditOptions } from 'foundation/editor/view/entity/EditOptions'; export class SchemeEditorOptions extends EditOptions { statusSaving: boolean; } } declare module "sk/frame/logic/scheme/WorkInfo" { export class WorkInfo { projectId: string; projectName: string; houseType: string; houseStyle: string; area: number; aHousingEstate: string; colourScheme: number; instruction: string; province: string; city: string; packageId: string; labels: Array; labelName: string; loadJson(jconfig: any): void; } } declare module "sk/frame/logic/scheme/SchemeEditorDocument" { import { ByteStream } from 'cross/runtime/lang/stream/ByteStream'; import { ContextObject } from 'cross/runtime/lang/ContextObject'; import { IContext } from 'cross/runtime/lang/IContext'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { PersistentFactory } from 'cross/runtime/module/persistent/PersistentFactory'; import { ThreadService } from 'cross/runtime/module/thread/ThreadService'; import { DocumentResult } from 'cross/runtime/framework/document/DocumentResult'; import { DatabaseDeviceService } from 'cross/core/device/database/DatabaseDeviceService'; import { JsonService } from 'cross/core/module/json/JsonService'; import { WorkflowProcesResult } from 'foundation/data/common/workflow/process/WorkflowProcesResult'; import { StorageDigitizationTypeEnum } from 'foundation/data/common/enumeration/StorageDigitizationTypeEnum'; import { DataResourceService } from 'foundation/data/common/io/DataResourceService'; import { AssetVersionType } from 'foundation/data/common/resource/AssetUtil'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { UiDesktopService } from 'foundation/editor/ui/desktop/UiDesktopService'; import { UiHelperService } from 'foundation/editor/ui/desktop/UiHelperService'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { SpecificationFamilyInfoService } from 'sk/data/specification/familyinfo/SpecificationFamilyInfoService'; import { SpecificationPatternInfoService } from 'sk/data/specification/patterninfo/SpecificationPatternInfoService'; import { Element } from 'sk/data/family/element/base/Element'; import { ElementCache } from 'sk/data/family/performer/element/ElementCache'; import { DecorateCacheService } from 'sk/data/family/service/DecorateCacheService'; import { FamilyConfigService } from 'sk/data/family/service/FamilyConfigService'; import { FamilyDocumentService } from 'sk/data/family/service/FamilyDocumentService'; import { SchemeConfigService } from 'sk/data/scheme/config/SchemeConfigService'; import { SchemeDocument } from 'sk/data/scheme/model/SchemeDocument'; import { SchemeDocumentService, SchemeWorkflowOptions } from 'sk/data/scheme/service/SchemeDocumentService'; import { SchemeBlueprintEntity } from 'sk/editor/scheme/entity/SchemeBlueprintEntity'; import { PerspectiveConfigDecorateItemService } from "sk/frame/logic/storage/perspective/config/decorate/item/PerspectiveConfigDecorateItemService"; import { SchemeEditorOptions } from "sk/frame/logic/scheme/SchemeEditorOptions"; import { WorkInfo } from "sk/frame/logic/scheme/WorkInfo"; export class SchemeEditorDocument extends SchemeDocument { static binary: ByteStream; static binaryload: boolean; static json: any; static jsonload: boolean; static SAVE_CHECK_INTERVAL: number; static AUTOSAVE_CHECK_INTERVAL: number; protected static _factory: PersistentFactory; protected _decorateCacheService: DecorateCacheService; static get Factory(): PersistentFactory; protected _editorOptions: SchemeEditorOptions; isDataChange: boolean; isModeSwitch: boolean; isSaveNeeded: boolean; workInfo: WorkInfo; blueprint: SchemeBlueprintEntity; fileContent: string; protected _lastSaveTick: number; protected _lastSource: string; protected _actionService: ActionService; structureId: string; structureVersion: string; protected _threadService: ThreadService; protected _selectionService: SelectionService; protected _jsonService: JsonService; protected _helperService: UiHelperService; protected _desktopService: UiDesktopService; protected _resourceService: DataResourceService; protected _databaseService: DatabaseDeviceService; protected _schemeConfigService: SchemeConfigService; protected _schemeDocumentService: SchemeDocumentService; protected _perspectiveConfigDecorateItemService: PerspectiveConfigDecorateItemService; protected _familyConfigService: FamilyConfigService; protected _specificationFamilyInfoService: SpecificationFamilyInfoService; protected _specificationPatternInfoService: SpecificationPatternInfoService; protected _familyDocumentService: FamilyDocumentService; protected constructor(); get factory(): PersistentFactory; get editorOptions(): SchemeEditorOptions; isEmpty(): boolean; computePrepareAsync(context?: IContext, element?: Element, options?: SchemeWorkflowOptions): Promise; computePatternBuildAsync(calculatorCd: string): Promise; computeMove(element?: Element, options?: SchemeWorkflowOptions): WorkflowProcesResult; computeShape(element?: Element, options?: SchemeWorkflowOptions): WorkflowProcesResult; computeVision(element?: Element, options?: SchemeWorkflowOptions): WorkflowProcesResult; computeVisionAsync(context?: IContext, element?: Element, options?: SchemeWorkflowOptions): Promise>; computeLoadAsync(context?: IContext, cleanNode?: boolean): Promise; computeBuildAsync(calculatorCd: string, cleanNode?: boolean): Promise; loadByUrlAsync(url: string, key: string): Promise; loadByIdAsync(context: IContext, id: string, version?: AssetVersionType, typeCd?: StorageDigitizationTypeEnum, usePreview?: boolean): Promise; loadSchemeDocumentByStorageIdAsync(id: string): Promise; loadByStructureIdAsync(id: string, version?: AssetVersionType, typeCd?: StorageDigitizationTypeEnum): Promise; saveNewAsync(context: IContext, typeCd?: StorageDigitizationTypeEnum, data?: any): Promise; saveAsync(context: IContext, typeCd?: StorageDigitizationTypeEnum, data?: any): Promise; saveStructureNewAsync(typeCd?: StorageDigitizationTypeEnum, data?: any): Promise; saveStructureAsync(typeCd?: StorageDigitizationTypeEnum, data?: any): Promise; calculateStructureAsync(typeCd?: StorageDigitizationTypeEnum, data?: any): Promise; protected checkCacheElement(caches: Map, element: Element): void; resetCache(): void; dump(): void; loadExternalsAsync(context: ContextObject): Promise; static createEmptyDocument(): SchemeEditorDocument; close(): void; static createDefaultDocument(): SchemeEditorDocument; } } declare module "sk/frame/logic/base/PluginPanelService" { import { Types } from 'cross/runtime/lang/collection/Types'; import { Service } from 'cross/runtime/module/Service'; export type PluginPanelDeclareInfo = { name: string; panelClass: any; }; export class PluginPanelService extends Service { protected _declares: Types; findDeclareByName(name: string): PluginPanelDeclareInfo; registerDeclare(declare: PluginPanelDeclareInfo): void; } } declare module "sk/frame/logic/base/PluginPanelDeclare" { export function PluginPanelDeclare(panelType: string): (target: any) => void; } declare module "sk/frame/logic/base/ExamplePluginPanel" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class ExamplePluginPanel extends UiContainer { private module; private document; protected _view3d: any; protected _view2d: any; UNSAFE_componentWillMount(): void; onResize: () => void; render(): JSX.Element; } } declare module "sk/frame/logic/base/LogicPanelEnum" { export class LogicPanelEnum { static Scheme: string; static Script: string; static Explode: string; static Drawing: string; static Produce: string; static Bom: string; static Stage: string; static Valuation: string; static Structure: string; } } declare module "sk/frame/logic/base/SchemeConstants" { export class SchemeConstants { static Module: string; static Document: string; static TechnologyDocument: string; static DrawingDocument: string; } } declare module "sk/frame/logic/base/SchemeLockEnum" { export class SchemeLockEnum { static FamilyDesign: string; static SchemeDesign: string; } } declare module "sk/frame/logic/design/storage/category/CategoryUnit" { import { Types } from 'cross/runtime/lang/collection/Types'; import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class CategoryUnit extends StorageUnit { static CLASS_NAME: string; children: Types; code: string; categoryName: string; categoryId: string; constructor(); } } declare module "sk/frame/logic/design/storage/category/CategoryService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { CategoryTreeResponse } from 'sk/data/logic/home/message/CategoryTreeResponse'; import { CategoryUnit } from "sk/frame/logic/design/storage/category/CategoryUnit"; export class CategoryService extends StorageUnitService { constructor(); treeAsync(pageQuery?: any): Promise; } } declare module "sk/frame/logic/design/storage/design/match/question/AnswerUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class AnswerUnit extends StorageUnit { static CLASS_NAME: string; answer: string; id: string; seq: number; questionId: string; constructor(); } } declare module "sk/frame/logic/design/storage/design/match/question/QuestionUnit" { import { Types } from 'cross/runtime/lang/collection/Types'; import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; import { AnswerUnit } from "sk/frame/logic/design/storage/design/match/question/AnswerUnit"; export class QuestionUnit extends StorageUnit { static CLASS_NAME: string; answerItems: Types; id: string; question: string; seq: number; typeCd: number; preQuestionId: string; display: boolean; constructor(); } } declare module "sk/frame/logic/design/storage/design/match/question/QuestionService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { DesignMatchQuestionGetLabelListResponse } from 'sk/data/logic/home/message/DesignMatchQuestionGetLabelListResponse'; import { DesignMatchQuestionGetListResponse } from 'sk/data/logic/home/message/DesignMatchQuestionGetListResponse'; import { QuestionUnit } from "sk/frame/logic/design/storage/design/match/question/QuestionUnit"; export class QuestionService extends StorageUnitService { constructor(); getListAsync(spaceTypeCode?: any, answerItems?: Array): Promise; getLabelListAsync(answerItems?: Array): Promise; } } declare module "sk/frame/logic/design/storage/design/template/TemplateQuery" { export class TemplateQuery { page: number; pageSize: number; houseStyleCdCeq: string; schemeColourCdCeq: string; schemeLevelCdCeq: string; spaceTypeCdCeq: number; } } declare module "sk/frame/logic/design/storage/design/template/TemplateUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class TemplateUnit extends StorageUnit { static CLASS_NAME: string; houseStyleCdCeq: string; nameClike: string; schemeColourCdCeq: string; schemeLevelCdCeq: string; spaceTypeCdCeq: string; effectPicture: string; id: string; houseStyleCd: string; name: string; designCategoryIdCeq: string; templateIdCeq: string; constructor(); } } declare module "sk/frame/logic/design/storage/design/template/TemplateService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { DesignTemplateGetTemplatePageResponse } from 'sk/data/logic/home/message/DesignTemplateGetTemplatePageResponse'; import { DesignTemplateGetTemplateRelMerchandisePageResponse } from 'sk/data/logic/home/message/DesignTemplateGetTemplateRelMerchandisePageResponse'; import { DesignTemplateGetTemplateResponse } from 'sk/data/logic/home/message/DesignTemplateGetTemplateResponse'; import { TemplateUnit } from "sk/frame/logic/design/storage/design/template/TemplateUnit"; export class TemplateService extends StorageUnitService { constructor(); getTemplatePageAsync(pageQuery: any): Promise; getTemplateAsync(id: string): Promise; getTemplateRelMerchandisePageAsync(pageQuery: any): Promise; pageAsync(pageQuery: any): Promise; } } declare module "sk/frame/logic/design/storage/merchandise/MerchandiseUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class MerchandiseUnit extends StorageUnit { static CLASS_NAME: string; brandCode: string; categoryCode: string; ifNoSale: number; merchandiseCode: string; merchandiseName: string; skuCode: string; categoryName: string; dealerPrice: string; marketPrice: string; model: string; salePrice: string; productId: string; mainUnit: number; propName: string; propValue: string; code: string; lesSalePrice: number; greSalePrice: number; propId: string; propKey: string; url: string; inputModel: number; ifSelected: string; ifRequiredCd: number; unit: string; haveUnit: number; propGroupCd: number; brandLogo: string; brandName: string; brandType: number; id: string; tdCategoryCode: string; constructor(); } } declare module "sk/frame/logic/design/storage/merchandise/MerchandiseService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { MerchandisePageResponse } from 'sk/data/logic/home/message/MerchandisePageResponse'; import { MerchandiseSkuPageResponse } from 'sk/data/logic/home/message/MerchandiseSkuPageResponse'; import { MerchandiseUnit } from "sk/frame/logic/design/storage/merchandise/MerchandiseUnit"; export class MerchandiseService extends StorageUnitService { constructor(); pageAsync(pageQuery: any): Promise; skuPageAsync(pageQuery: any): Promise; } } declare module "sk/frame/logic/design/storage/scheme/excellent/ExcellentUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class ExcellentUnit extends StorageUnit { static CLASS_NAME: string; houseStyleCeq: string; houseTypeCeq: string; spaceCeq: string; houseStyle: string; houseType: string; id: string; schemeCode: string; schemeName: string; totalPrice: number; constructor(); } } declare module "sk/frame/logic/design/storage/scheme/excellent/ExcellentService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { SchemeExcellentGetSearchConditionResponse } from 'sk/data/logic/home/message/SchemeExcellentGetSearchConditionResponse'; import { SchemeExcellentPageResponse } from 'sk/data/logic/home/message/SchemeExcellentPageResponse'; import { ExcellentUnit } from "sk/frame/logic/design/storage/scheme/excellent/ExcellentUnit"; export class ExcellentService extends StorageUnitService { constructor(); pageAsync(pageQuery: any): Promise; getSearchConditionAsync(): Promise; } } declare module "sk/frame/logic/design/storage/scheme/handle/HandleUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class HandleUnit extends StorageUnit { static CLASS_NAME: string; schemeName: string; houseTypeCd: number; houseStyleCd: number; area: number; id: string; schemeCode: string; schemeColourCd: number; schemeLevelCd: number; ifSingleSpaceCd: number; outerSchemeId: string; constructor(); } } declare module "sk/frame/logic/design/storage/scheme/handle/HandleService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { SchemeHandleInsertResponse } from 'sk/data/logic/home/message/SchemeHandleInsertResponse'; import { SchemeHandleUpdateResponse } from 'sk/data/logic/home/message/SchemeHandleUpdateResponse'; import { HandleUnit } from "sk/frame/logic/design/storage/scheme/handle/HandleUnit"; export class HandleService extends StorageUnitService { constructor(); insertAsync(unit: HandleUnit): Promise; updateAsync(unit: HandleUnit): Promise; } } declare module "sk/frame/logic/design/storage/system/code/CodeUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class CodeUnit extends StorageUnit { static CLASS_NAME: string; code: string; dataValue: string; name: string; seq: number; typeCode: string; tempId: string; constructor(); } } declare module "sk/frame/logic/design/storage/system/code/CodeService" { import { Dictionary } from 'cross/runtime/lang/collection/Dictionary'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { SystemCodeGetListResponse } from 'sk/data/logic/home/message/SystemCodeGetListResponse'; import { CodeUnit } from "sk/frame/logic/design/storage/system/code/CodeUnit"; export class CodeService extends StorageUnitService { constructor(); getListAsync(code: string): Promise; protected _codeMap: Dictionary; getListDataAsync(code: string): Promise>; } } declare module "sk/frame/logic/drawing/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/logic/drawing/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 { FamilyDocumentService } from 'sk/data/family/service/FamilyDocumentService'; import { TemplateLogicService } from 'sk/data/resource/model/service/TemplateLogicService'; import { DrawingSchemeDocument } from 'sk/data/scheme/drawing/DrawingSchemeDocument'; import { DrawingUpdateContentResponse } from 'sk/data/logic/module/message/DrawingUpdateContentResponse'; import { DrawingBlueprintEntity } from "sk/frame/logic/drawing/DrawingBlueprintEntity"; export class DrawingEditorDocument extends DrawingSchemeDocument { protected static _factory: PersistentFactory; protected _familyDocumentService: FamilyDocumentService; static get Factory(): PersistentFactory; blueprint: DrawingBlueprintEntity; 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; findContentByElement(element: ContainerElement): DataNode; computeWorkflowVision(element?: DrawingFrameElement): void; static createDefaultDocument(): DrawingEditorDocument; } } declare module "sk/frame/logic/drawing/DrawingBlueprintEntity" { import { GridEntity } from 'foundation/editor/view/entity/GridEntity'; import { ObserverViewEntity } from 'foundation/editor/view/entity/ObserverViewEntity'; import { SchemeBlueprintNode } from 'sk/data/scheme/model/SchemeBlueprintNode'; import { DrawingEditOptions } from "sk/frame/logic/drawing/DrawingEditOptions"; export class DrawingBlueprintEntity extends SchemeBlueprintNode { editOptions: DrawingEditOptions; activeObserver: ObserverViewEntity; grid: GridEntity; constructor(); reset(): void; addGrid(): void; } } declare module "sk/frame/logic/editor/action/EditorHideAction" { import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { Element } from 'sk/data/family/element/base/Element'; import { SchemeAction } from 'sk/editor/scheme/action/SchemeAction'; type HistoryData = { [key: string]: boolean; }; export class EditorHideAction extends SchemeAction { protected _savedData: HistoryData; protected _restoreData: HistoryData; protected elements: any[]; constructor(); revordVisible(element: Element, visible: boolean): void; switchVisible(element: Element, history: HistoryData): void; onExecute(event?: ContentActionEvent): boolean; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/logic/editor/action/EditorScaleCreateAction" { import { SchemeAction } from 'sk/editor/scheme/action/SchemeAction'; export class EditorScaleCreateAction extends SchemeAction { constructor(); onExecute(event?: any): void; onReceive(code: string, event: any): boolean; } } declare module "sk/frame/logic/editor/base/AssembleEditorPluginEventEnum" { export class AssembleEditorPluginEventEnum { static RefreshTree: string; } } declare module "sk/frame/logic/editor/component/UiLogicEditorEvent" { import { EventObject } from 'cross/runtime/lang/EventObject'; export class UiLogicEditorEvent extends EventObject { actionType: string; } } declare module "sk/frame/logic/editor/component/UiLogicEditorEventEnum" { export class UiLogicEditorEventEnum { static EntityChanged: string; static TabChange: string; static Action: string; static EditorEntityChanged: string; static RefreshTree: string; static TabTree: string; static TreeNodeDisable: string; static TreeNodeEnable: string; static TreeNodeStatusUpdate: string; } } declare module "sk/frame/logic/editor/component/UiLogicEditorPanel" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class UiLogicEditorPanel extends UiContainer { } } declare module "sk/frame/logic/editor/component/UiLogicEditorContainer" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { UiLogicEditorEvent } from "sk/frame/logic/editor/component/UiLogicEditorEvent"; import { UiLogicEditorPanel } from "sk/frame/logic/editor/component/UiLogicEditorPanel"; export class UiLogicEditorContainer extends UiContainer { protected _editorPanel: UiLogicEditorPanel; componentDidMount(): void; componentWillUnmount(): void; onEditorEntityChanged(context: ListenerContext, event: UiLogicEditorEvent): void; onEditorActionAsync(context: ListenerContext, event: UiLogicEditorEvent): Promise; } } declare module "sk/frame/logic/editor/component/UiSafeLogicEditorContainer" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { UiSafeContainer, UiSafeContainerProps, UiSafeContainerState } from 'foundation/editor/ui/core/UiSafeContainer'; import { UiLogicEditorEvent } from "sk/frame/logic/editor/component/UiLogicEditorEvent"; import { UiLogicEditorPanel } from "sk/frame/logic/editor/component/UiLogicEditorPanel"; export interface UiSafeLogicEditorContainerProps extends UiSafeContainerProps { } export interface UiSafeLogicEditorContainerState extends UiSafeContainerState { } export class UiSafeLogicEditorContainer

extends UiSafeContainer { protected _editorPanel: UiLogicEditorPanel; componentDidMount(): void; componentWillUnmount(): void; onEditorEntityChanged(context: ListenerContext, event: UiLogicEditorEvent): void; onEditorActionAsync(context: ListenerContext, event: UiLogicEditorEvent): Promise; } } declare module "sk/frame/logic/editor/component/EditorPropertyPanel" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { CoordService } from 'foundation/runtime/math/coord/CoordService'; import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { UiLogicEditorContainer } from "sk/frame/logic/editor/component/UiLogicEditorContainer"; import { UiLogicEditorEvent } from "sk/frame/logic/editor/component/UiLogicEditorEvent"; import { UiSafeLogicEditorContainerProps, UiSafeLogicEditorContainerState } from "sk/frame/logic/editor/component/UiSafeLogicEditorContainer"; export enum EditorPropertyStyleType { label = 0, inputText = 1, inputNumber = 2, slider = 3, checkbox = 4, button = 5, frame = 6, config = 7, textNumber = 8, select = 9 } export type EditorPropertyOption = { max?: number; min?: number; step?: number; digit?: number; }; export type EditorPropertyConfig = { key: string; name: string; element_name?: string; label: string; type: EditorPropertyStyleType; style?: any; frame?: any; enable?: boolean; option?: EditorPropertyOption; mode?: string; }; export interface EditorPropertyPanelProps extends UiSafeLogicEditorContainerProps { } export interface EditorPropertyPanelState extends UiSafeLogicEditorContainerState { selectEntity: any; } export class EditorPropertyPanel extends UiLogicEditorContainer { state: EditorPropertyPanelState; selectEntities: any[]; protected configs: EditorPropertyConfig[]; protected newEntity: DataNode; protected oldEntity: DataNode; protected _coordService: CoordService; get selectEntity(): any; get editorEntity(): any; UNSAFE_componentWillMount(): void; componentWillUnmount(): void; onEditorEntityChanged(context: ListenerContext, event: UiLogicEditorEvent): void; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; onValueChange(config: EditorPropertyConfig, value: any): void; onButtonCilck: (e: any) => void; onInputeTextChange(config: EditorPropertyConfig): (value: any) => void; onInputeTextPressEnter(config: EditorPropertyConfig): (e: any) => void; onInputeNumberChange(config: EditorPropertyConfig): (value: any) => void; onInputTextNumberPressEnter(config: EditorPropertyConfig): (event: any) => void; onInputTextNumberChange(config: EditorPropertyConfig): (event: any) => void; onInputeNumberPressEnter(config: EditorPropertyConfig): (e: any) => void; onSliderChange(config: EditorPropertyConfig): (value: any) => void; onSliderAfterChange(config: EditorPropertyConfig): (value: any) => void; onModeChange: (mode: string) => void; protected convertLocalNumberToUser(name: string, value: number): number; protected makeContents(): any; makeSelect(list: any[], i: number, config: EditorPropertyConfig, state: EditorPropertyPanelState): any; render(): JSX.Element; } } declare module "sk/frame/logic/editor/action/PropertyChangeEvent" { import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { SchemeDocument } from 'sk/data/scheme/model/SchemeDocument'; import { EditorPropertyConfig } from "sk/frame/logic/editor/component/EditorPropertyPanel"; export class PropertyChangeEvent extends ContentActionEvent { values: any; multi: boolean; configs: EditorPropertyConfig[]; document: SchemeDocument; free(): void; } } declare module "sk/frame/logic/editor/action/PropertyChangeAction" { import { SchemeAction } from 'sk/editor/scheme/action/SchemeAction'; import { EditorPropertyConfig } from "sk/frame/logic/editor/component/EditorPropertyPanel"; import { PropertyChangeEvent } from "sk/frame/logic/editor/action/PropertyChangeEvent"; export class PropertyChangeAction extends SchemeAction { oldValues: any; newValues: any; configs: EditorPropertyConfig[]; entity: any; constructor(); onExecute(event: PropertyChangeEvent): void; onUndo(): boolean; onRedo(): boolean; private isValid; performCalculation(element: any): void; } } declare module "sk/frame/logic/editor/base/base/EditorLayer" { import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; import { FamilyInstanceNode } from 'sk/data/family/model/instance/FamilyInstanceNode'; export class EdiorLayer extends InstanceObject { name: string; container: FamilyInstanceNode; visible: boolean; dispose(): void; } } declare module "sk/frame/logic/editor/base/base/LayerContontrllerEvent" { import { EventObject } from 'cross/runtime/lang/EventObject'; import { FamilyInstanceNode } from 'sk/data/family/model/instance/FamilyInstanceNode'; export class LayerContrllerEvent extends EventObject { name: string; container: FamilyInstanceNode; visible: boolean; free(): void; } } declare module "sk/frame/logic/editor/base/base/LayerContrllerEventEnum" { export class LayerContrllerEventEnum { static Add: string; static Init: string; static Delete: string; static Switch: string; static VisibleChange: string; } } declare module "sk/frame/logic/editor/base/util/AssembleEditorViewUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { BrepNode } from 'foundation/data/common/model/brep/BrepNode'; import { ContentNode } from 'foundation/data/common/model/brep/ContentNode'; export class AssembleEditorViewUtil { static projectModelOutlineToTargetSpace(node: ContentNode, observeAxis: Vector3, targetMatrix: Matrix4): Vector2[]; static switchVisible(node: DataNode, visible: boolean): void; static setNodeVisible(node: BrepNode, visible: boolean): void; static switchOptionMove(node: ContentNode, move: boolean): void; static setOptionMove(node: ContentNode, move: boolean): void; } } declare module "sk/frame/logic/editor/base/base/LayerControlService" { import { Service } from 'cross/runtime/module/Service'; import { FamilyInstanceNode } from 'sk/data/family/model/instance/FamilyInstanceNode'; import { EdiorLayer } from "sk/frame/logic/editor/base/base/EditorLayer"; export class LayerControlService extends Service { layers: Array; currentVisibleLayers: Array; currentControlLayer: EdiorLayer; constructor(); switchControlLayer(name: string): void; switchVisibleLayer(name: string): void; register(): void; getCurrentLayer(): string[]; pushLayer(layer: FamilyInstanceNode, name?: string, visible?: boolean): void; hideDecorateLayer(): void; switchLayer(name: string, visible: boolean): void; switchLayerOptionMove(name: string, all: boolean): void; switchLayerNoDispatch(name: string, visible: boolean): void; resetLayer(name: string): void; displayAll(): void; init(): void; protected dispatchLayerChangeEvent(layer: EdiorLayer): void; private canSendMessage; } } declare module "sk/frame/logic/editor/base/base/StateControllerEvent" { import { EventObject } from 'cross/runtime/lang/EventObject'; export class StateControllerEvent extends EventObject { name: string; free(): void; } } declare module "sk/frame/logic/editor/base/base/StateControllerEventEnum" { export class StateControllerEventEnum { static SurfaceDesign: string; static CreviceDesign: string; static CreviceEditor: string; static CreviceEditorInnerBase: string; static CreviceEditorOuterBase: string; static CreviceEditorBase: string; static CreviceEditorSurface: string; static ReCaculateArea: string; static ReCaculateHardware: string; static Default: string; static Switch: string; static ViewInwall: string; static ViewOuterWall: string; static ViewTop: string; static PartitionPlank: string; static ArrayCommand: string; static RefreshTree: string; } } declare module "sk/frame/logic/editor/base/base/StateControlService" { import { Service } from 'cross/runtime/module/Service'; export class StateControlService extends Service { private current; active(): void; deactive(): void; getCurrentstate(): string; setCurrentState(value: string): void; init(): void; protected dispatchLayerChangeEvent(value: string): void; } } declare module "sk/frame/logic/editor/base/util/AssembleNodeUtil" { import { Line2 } from 'foundation/runtime/math/Line2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { BrepNode } from 'foundation/data/common/model/brep/BrepNode'; import { ContentNode } from 'foundation/data/common/model/brep/ContentNode'; import { HoleStructure } from 'foundation/data/common/structure/HoleStructure'; import { OperateLineNode } from 'sk/data/family/model/assistant/operate/OperateLineNode'; import { ContainerNode } from 'sk/data/family/model/instance/ContainerNode'; import { PatternInstanceNode } from 'sk/data/family/model/instance/PatternInstanceNode'; import { PlaneNode } from 'sk/data/family/model/instance/PlaneNode'; import { PlankEntity } from 'sk/editor/logic/entity/PlankEntity'; export class AssembleNodeUtil { static getEditorPolygonOnUserCoord(node: PatternInstanceNode): Array; static getContentCenterOnUserCoord(node: ContentNode): Vector2; static getPolygonOnUserCoord(entity: ContentNode): Array; static getPlaneNodePolygonOnUserCoord(entity: PlaneNode): Array; static getPlaneNodePolygonOnParentCoord(entity: PlaneNode): Array; static getContentNodePolygonOnUserCoord(node: ContentNode): Array; static getContentNodePolygonOnParentCoord(node: ContentNode): Array; static getHoleStructurePolygonOnUserCoord(hole: HoleStructure, parent: ContentNode): Array; static getLine2OnUserCoord(line: Line2, parent: ContentNode): Line2; static getLocalPointOnUserCoord(point: Vector2, entity: OperateLineNode): Vector2; static getObjPosFromUser(entity: PlankEntity, point: Vector2): Vector2; static getProxyParent(node: BrepNode): PatternInstanceNode; static dirtyRootParent(node: BrepNode): void; static isExistParent(entity: DataNode, name: string): boolean; static getContainerChildByName(node: ContentNode, name: string): ContainerNode; } } declare module "sk/frame/logic/editor/base/editor/Inference" { import { Types } from 'cross/runtime/lang/collection/Types'; import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; import { Line2 } from 'foundation/runtime/math/Line2'; import { Value2 } from 'foundation/runtime/math/Value2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { SnapRectInfo } from 'sk/editor/scheme/floorplan/view/canvas2d/inference/Inference'; import { CowallEntity } from 'sk/editor/scheme/floorplan/entity/CowallEntity'; import { FloorplanEntity } from 'sk/editor/scheme/floorplan/entity/FloorplanEntity'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; export type SnapInfo = { pos: Vector2; location: Vector2; host?: any; conent: any; dis: number; rate?: number; type: SnapType; score: number; }; export enum SnapType { Default = 0, HistoryPoint = 1, Corner = 2, Center = 3, EdgeCenter = 4, AxisCorner = 5, Anchor = 6, HistoryLine = 7, Edge = 8, Line = 9, AxisLine = 10, CrossLine = 11, CrossPoint = 12, LineLineCross = 13 } export type SnapPoint = { point: Vector2; type: SnapType; target: any; }; export type SnapLine = { from: Vector2; to: Vector2; type: SnapType; target: any; }; export type CalcualteOption = { isCrossLine?: boolean; findAllSnapPts?: boolean; isCorner?: boolean; isCenterPoint?: boolean; onlyPedal?: boolean; }; export class Inference extends InstanceObject { context: C2dCanvasContext; protected _snapLines: Types; protected _snapPoints: Types; protected _snapEdgeCenterPoints: Types; protected _snapCornerPoints: Types; protected _snapAxiss: Types; protected _snapLineCrossPoints: Types; protected _alignTolerance: number; snapOffset: number; option: CalcualteOption; floorplan: FloorplanEntity; protected _snapWalls: Types; protected _snapRectList: Types; _lastSnappedLine: any; snapPixelOffset: number; enableWalls: boolean; _orthogonalSnapLines: Array; enableWallBorders: boolean; enableWallAxes: boolean; enableCrossOrthoCross: boolean; enableBeamBorders: boolean; enableBeamAxes: boolean; firstPoint: Vector2; constructor(option?: CalcualteOption); get snapPoints(): Types; get snapEdgeCenterPoints(): Types; get snapCornerPoints(): Types; get snapLineCrossPoints(): Types; clear(): void; setup(): void; addRect(pos: Vector2, lenX: number, lenY: number, rot: number): void; sort(infos: Array): void; addSnapLine(line: SnapLine): void; setOrthogonalSnapLines(lines: Array): void; setSnapWalls(cowalls: Types): void; snapLine(point: Vector2, line: SnapLine): SnapInfo; addSnapAxis(line: SnapLine): void; snapAxis(point: Value2, line: SnapLine): SnapInfo; addSnapPoint(point: SnapPoint): void; addSnapCornorPoint(point: SnapPoint): void; addSnapEdgeCenterPoint(point: SnapPoint): void; addSnapLineCrossPoint(point: SnapPoint): void; protected getSnapPoints(): void; private snapPoint; private snapPosition; private snapCrossLine; snapCrossPoint(point: Vector2): SnapInfo; removeRepeatVertices(gridVertices: Array): Array; solve(point: Vector2, firstPt?: Vector2): Array; snapAnchor(firstPt: Vector2, point: Vector2, line: SnapLine): SnapInfo; reset(): void; dispose(flag?: boolean): void; } } declare module "sk/frame/logic/editor/base/editor/PointInference" { import { Types } from 'cross/runtime/lang/collection/Types'; import { Line2 } from 'foundation/runtime/math/Line2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { ContentNode } from 'foundation/data/common/model/brep/ContentNode'; import { HoleStructure } from 'foundation/data/common/structure/HoleStructure'; import { AreaPolygonNode } from 'sk/data/family/model/brep/area/AreaPolygonNode'; import { PatternInstanceNode } from 'sk/data/family/model/instance/PatternInstanceNode'; import { CalcualteOption, Inference, SnapInfo, SnapLine, SnapPoint } from "sk/frame/logic/editor/base/editor/Inference"; export class SnapOption { isCorner?: boolean; isEdge?: boolean; isBoxCenterLine?: boolean; isEdgeCenter?: boolean; isCenter?: boolean; isTerminal?: boolean; isPedal?: boolean; isMid?: boolean; isCirclrAxis?: boolean; constructor(); centerMode(): void; edgeMode(): void; midMode(): void; } export class PointInference extends Inference { constructor(option?: CalcualteOption); setContents(contents: Array, option: SnapOption): void; setContent(content: ContentNode, option: SnapOption): void; setHoleStructureGroups(holes: Array>, host: ContentNode, option: SnapOption): void; appendPoints(points: Vector2[], content: ContentNode): void; appendLines(lines: Line2[], content: ContentNode): void; calculateLineCrossPoints(): void; protected setSnapPoints(points: Vector2[], content: any, option: SnapOption): void; protected setSnapHolesStructure(hole: HoleStructure, host: ContentNode, option: SnapOption): void; protected setSnapHolesGroup(holeGroup: Array, host: ContentNode): void; snapContent(entity: ContentNode, position: Vector2): Array; snapArea(entity: AreaPolygonNode, offset: Vector2): Array; snapPos(position: Vector2): Array; get snapLines(): Types; setLines(contents: Array, option: SnapOption): void; setPoint(point: Vector3): void; setHistoryPoints(contents: Array, option: SnapOption): void; setPatternInstance(pattern: PatternInstanceNode, option: SnapOption): void; setPolygons(points: Array, option: SnapOption): void; } } declare module "sk/frame/logic/editor/base/editor/C2dEditorMoveAction" { import { CoordService } from 'foundation/runtime/math/coord/CoordService'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { ContentNode } from 'foundation/data/common/model/brep/ContentNode'; import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { ContentInstanceElement } from 'sk/data/family/element/instance/ContentInstanceElement'; import { FamilyInstanceActionEvent } from 'sk/editor/scheme/action/instance/FamilyInstanceActionEvent'; import { SchemeAction } from 'sk/editor/scheme/action/SchemeAction'; import { PointInference } from "sk/frame/logic/editor/base/editor/PointInference"; export class C2dEditorMoveAction extends SchemeAction { entities: Array; entity: ContentNode; elements: Array; element: ContentInstanceElement; protected _basePoint: Vector3; protected _baseOffset: Vector3; ignoreSnapOffset: any; currentPositon: Vector3; protected _oldData: any; protected _newData: any; protected snapOffset: number; snapScreenOffset: number; defaultSnapOffset: number; inference: PointInference; protected _coordService: CoordService; constructor(); onExecute(event: FamilyInstanceActionEvent): void; protected setSnapContent(): void; protected saveOldData(): void; protected saveNewData(): void; doSnap(location: Vector3, offset: Vector3, event: ContentActionEvent): Vector3; protected isContentMoved(): boolean; move(offset: Vector3, event: ContentActionEvent): Vector3; moveTo(point: Vector3): void; moveOffset(offset: Vector3): void; getUserLocation(point: Vector3): Vector3; protected computeMove(): void; onMoveEnd(): void; onMove(event: ContentActionEvent): void; onMoveTo(event: ContentActionEvent): void; protected onMoveStart(event: ContentActionEvent): void; protected onMouseMove(event: ContentActionEvent): void; onReceive(code: string, event: ContentActionEvent): boolean; onUndo(): void; onRedo(): void; } } declare module "sk/frame/logic/editor/base/editor/C2dPlankMoveAction" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { FamilyInstanceActionEvent } from 'sk/editor/scheme/action/instance/FamilyInstanceActionEvent'; import { C2dEditorMoveAction } from "sk/frame/logic/editor/base/editor/C2dEditorMoveAction"; export class C2dPlankMoveAction extends C2dEditorMoveAction { constructor(); onExecute(event: FamilyInstanceActionEvent): void; doSnap(location: Vector3, offset: Vector3, event: FamilyInstanceActionEvent): Vector3; } } declare module "sk/frame/logic/editor/base/display/C2dActionMoveGizmo" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { KeyboardDeviceService } from 'cross/editor/device/keyboard/KeyboardDeviceService'; import { MouseDeviceService } from 'cross/editor/device/mouse/MouseDeviceService'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { V2dGraphicDrawing } from 'foundation/editor/view/view2d/render/V2dGraphicDrawing'; import { V2dHookEvent } from 'foundation/editor/view/view2d/render/V2dHookEvent'; import { W2dTemp } from 'sk/editor/scheme/floorplan/view/canvas2d/W2dTemp'; import { FamilyInstanceActionEvent } from 'sk/editor/scheme/action/instance/FamilyInstanceActionEvent'; import { C2dCanvas } from 'sk/editor/logic/view/canvas2d/C2dCanvas'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; import { C2dPlankMoveAction } from "sk/frame/logic/editor/base/editor/C2dPlankMoveAction"; export class C2dActionMoveGizmo extends W2dTemp { view: C2dCanvas; context: C2dCanvasContext; action: C2dPlankMoveAction; graphic: V2dGraphicDrawing; protected _pos: Vector2; protected _originPos: Vector2; protected _keyboardService: KeyboardDeviceService; protected _mouseService: MouseDeviceService; constructor(); setup(): void; private drawLine; private isValid; drawGraphic(): void; draw(): void; onMouseDown(sender: ListenerContext, event: V2dHookEvent): void; onDragMove(sender: ListenerContext, event: FamilyInstanceActionEvent): void; onScaleChanged(): void; addToView(): void; dispose(): void; } } declare module "sk/frame/logic/editor/base/display/C2dContentCornerGizmo" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { KeyboardDeviceEvent } from 'cross/editor/device/keyboard/KeyboardDeviceEvent'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { DataNodeFlagEvent } from 'foundation/data/common/model/base/DataNodeFlagEvent'; import { ContentNode } from 'foundation/data/common/model/brep/ContentNode'; import { V2dGraphicDrawing } from 'foundation/editor/view/view2d/render/V2dGraphicDrawing'; import { V2dHookEvent } from 'foundation/editor/view/view2d/render/V2dHookEvent'; import { ActionEvent } from 'foundation/editor/view/action/ActionEvent'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { DisplayContext } from 'foundation/editor/view/base/DisplayContext'; import { C2dGizmo } from 'sk/editor/logic/view/canvas2d/gizmo/C2dGizmo'; export class WidgetsTypeEnum { static CornerPoint: string; } export class C2dContentCornerGizmo extends C2dGizmo { entity: ContentNode; content: ContentNode; protected _actionService: ActionService; private _container; private _graphics; private _corners; private _index; private _statusShapeChanged; private _statusTransformChanged; private _dragPoint; private _dragCorner; protected _drag: boolean; protected _hover: boolean; constructor(); setup(): void; onDirty(sender: ListenerContext, event: any): void; updateZoomChanged(sender: ListenerContext, event: any): void; onKeyDown(sender: ListenerContext, event: KeyboardDeviceEvent): void; onKeyUp(sender: ListenerContext, event: KeyboardDeviceEvent): void; updateTransform(): void; updateShape(): void; private drawRect; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; onEntityFlagChanged(sender: ListenerContext, event: DataNodeFlagEvent): void; onCommandRunning(sender: ListenerContext, event: ActionEvent): void; onDragStart: (index: number) => (sender: ListenerContext, event: V2dHookEvent) => void; onDragMove: (index: number) => (sender: ListenerContext, event: V2dHookEvent) => void; onDragEnd: (index: number) => (event: MouseEvent) => void; shapedDirty(): void; transformDirty(): void; update(): void; onDraw(displayContext?: DisplayContext): void; private onMouseOver; private onMouseOut; bindRectCommand(rect: V2dGraphicDrawing, index: number): void; show(): void; hide(): void; dispose(): void; } } declare module "sk/frame/logic/editor/base/editor/C2dMoveAction" { import { CoordService } from 'foundation/runtime/math/coord/CoordService'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { SchemeAction } from 'sk/editor/scheme/action/SchemeAction'; import { PointInference } from "sk/frame/logic/editor/base/editor/PointInference"; export class C2dMoveAction extends SchemeAction { protected _oldContent: any; protected _newContent: any; ignoreSnapOffset: any; path: Array; currentLocation: Vector3; inference: PointInference; protected _coordService: CoordService; protected _actionService: ActionService; constructor(); onExecute(event: ContentActionEvent): void; doSnap(location: Vector3, event: ContentActionEvent): Vector3; move(event: ContentActionEvent): Vector3; onMouseMove(event: ContentActionEvent): void; onMouseDown(event: ContentActionEvent): void; onReceive(code: string, event: ContentActionEvent): boolean; } } declare module "sk/frame/logic/editor/base/editor/C2dCutKeelAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CoordService } from 'foundation/runtime/math/coord/CoordService'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { LoDbKeel } from 'sk/rule/data/rule/layout/entitys/LoDbKeel'; import { HardwareEntity } from 'sk/editor/logic/entity/HardwareEntity'; import { C2dMoveAction } from "sk/frame/logic/editor/base/editor/C2dMoveAction"; export type StorageData = { visible: boolean; }; export class C2dCutKeelAction extends C2dMoveAction { entity: HardwareEntity; visible: boolean; protected _savedData: StorageData; protected _restoreData: StorageData; protected _coordService: CoordService; protected _selectionService: SelectionService; protected _calculatorService: CalculatorService; constructor(); cutKeelAsync(distance: number): Promise>; cutKeel(keel: LoDbKeel, distance: number): { keel1: LoDbKeel; keel2: LoDbKeel; }; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/logic/editor/base/display/C2dCutKeelActionGizmo" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { CoordService } from 'foundation/runtime/math/coord/CoordService'; import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { V2dHookEvent } from 'foundation/editor/view/view2d/render/V2dHookEvent'; 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'; import { C2dCutKeelAction } from "sk/frame/logic/editor/base/editor/C2dCutKeelAction"; export class C2dCutKeelActionGizmo extends V2dTemp { view: C2dCanvas; context: C2dCanvasContext; action: C2dCutKeelAction; private _dragLineGraphics; private _keelEntity; protected _coordService: CoordService; setup(): void; onMove(sender: ListenerContext, event: ContentActionEvent): void; onMouseDown(sender: ListenerContext, event: V2dHookEvent): void; protected tryComplete(distance: number): void; onMouseMove(sender: ListenerContext, event: V2dHookEvent): void; draw(): void; get scale(): number; drawGraphic(): void; removeFromView(): void; onActivate(): void; onDeactivate(): void; dispose(): void; onScaleChanged(): void; addToView(): void; } } declare module "sk/frame/logic/editor/base/display/C2dEditorAreaLine" { import { CoordService } from 'foundation/runtime/math/coord/CoordService'; import { C2dBrep } from 'sk/editor/logic/view/canvas2d/C2dBrep'; export class C2dEditorAreaLine extends C2dBrep { private line; private origin; protected _coordService: CoordService; constructor(); setup(): void; setupLayer(): void; protected updateShape(): void; protected updateTransform(): void; } } declare module "sk/frame/logic/editor/base/display/C2dEditorContent" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { CoordService } from 'foundation/runtime/math/coord/CoordService'; import { Bound2 } from 'foundation/runtime/math/Bound2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { DataNodeFlagEvent } from 'foundation/data/common/model/base/DataNodeFlagEvent'; import { C2dContent } from 'sk/editor/logic/view/canvas2d/C2dContent'; export class C2dEditorContent extends C2dContent { outline: Array; origin: Vector2; protected _coordService: CoordService; constructor(); get bound(): Bound2; setupLayer(): void; onCoordChanged(sender: ListenerContext, event: any): void; protected updateBound(): Bound2; protected getLevelIndex(): number; onEntityFlagChanged(sender: ListenerContext, event: DataNodeFlagEvent): void; protected changeLayerTop(): void; setup(): void; bindAction(): void; unbindAction(): void; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; protected updateShape(): void; protected updateStyleStatus(): void; protected updateTransform(): void; dispose(): void; } } declare module "sk/frame/logic/editor/base/display/C2dEditorCircleContent" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { CoordService } from 'foundation/runtime/math/coord/CoordService'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { C2dEditorContent } from "sk/frame/logic/editor/base/display/C2dEditorContent"; export class C2dEditorCircleContent extends C2dEditorContent { diameter: number; center: Vector2; protected _coordService: CoordService; constructor(); onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; protected updateShape(): void; protected updateStyleStatus(): void; protected updateTransform(): void; } } declare module "sk/frame/logic/editor/base/display/C2dEditorCreateScaleRuler" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { V2dGraphicDrawing } from 'foundation/editor/view/view2d/render/V2dGraphicDrawing'; import { V2dGraphicText } from 'foundation/editor/view/view2d/render/V2dGraphicText'; import { V2dGraphicTextStyle } from 'foundation/editor/view/view2d/render/V2dGraphicTextStyle'; import { V2dHookEvent } from 'foundation/editor/view/view2d/render/V2dHookEvent'; import { EditorStackService } from 'foundation/editor/view/stack/EditorStackService'; import { FamilyInstanceNode } from 'sk/data/family/model/instance/FamilyInstanceNode'; import { W2dTemp } from 'sk/editor/scheme/floorplan/view/canvas2d/W2dTemp'; import { C2dAlignmentLines } from 'sk/editor/logic/view/canvas2d/gizmo/C2dAlignmentLines'; import { ContainerEntity } from 'sk/editor/logic/entity/ContainerEntity'; import { PointInference } from "sk/frame/logic/editor/base/editor/PointInference"; export class C2dEditorCreateScaleRuler extends W2dTemp { private _lineGraphics; private _beginGraphics; private _endGraphics; private _snapGraphics; private _graphicsTxt; private _baseColor; private _surpportColor; private _fontSize; private _points; protected _inference: PointInference; protected _alignmentLines: C2dAlignmentLines; protected _alignmentLineContainer: V2dGraphicDrawing; private _currentPos; private _snapedPos; private _snapType; private _textStyle; protected _stackService: EditorStackService; protected _selectionService: SelectionService; statusAssistLine: boolean; optionAssistLine: boolean; private graphicsTxtArray; constructor(); setup(): void; onFieldChanged(sender: any, event: any): void; onScaleChange(): void; protected setSnapContent(): void; obtainContent(contents: Array, parent: ContainerEntity, entity: DataNode): void; onMouseDown(sender: ListenerContext, event: V2dHookEvent): void; onMouseMove(sender: ListenerContext, event: V2dHookEvent): void; private filterSnapPts; private getClosestSnapPt; snapPositon(startX: number, startY: number, endX: number, endY: number): Vector2; drawDisplay(): void; drawSnaps(): void; drawingCircle(graphics: V2dGraphicDrawing, point: Vector2, radius: number, color?: number): void; drawingRectLine(graphics: V2dGraphicDrawing, point: Vector2, long: number, offset?: boolean, lineWidth?: number, color?: number): void; drawingPedal(graphics: V2dGraphicDrawing, point: Vector2, long: number, lineWidth?: number, color?: number): void; drawingCross(graphics: V2dGraphicDrawing, point: Vector2, long: number, lineWidth?: number, color?: number): void; drawingTriangle(graphics: V2dGraphicDrawing, point: Vector2, long: number, lineWidth?: number, color?: number): void; drawStraightLine(graphics: V2dGraphicDrawing, start: Vector2, end: Vector2, lineWidth?: number, color?: number): void; drawRules(): void; private drawTextAssist; private getGraphicText; drawRulerText(): void; drawText(gra: V2dGraphicText, start: Vector2, end: Vector2, location: Vector2, rotation: number, text: string, style: V2dGraphicTextStyle): void; onActivate(): void; onDeactivate(): void; protected snapPerpendicular(canvasPos: Vector2, canvasFactor: number): Vector2; dispose(): void; } } declare module "sk/frame/logic/editor/base/display/C2dEditorFloorplanArea" { 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 } from 'foundation/editor/view/base/Display'; import { DisplayContext } from 'foundation/editor/view/base/DisplayContext'; import { C2dCanvas } from 'sk/editor/logic/view/canvas2d/C2dCanvas'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; import { C2dLayer } from 'sk/editor/logic/view/canvas2d/C2dLayer'; export class C2dEditorFloorplanArea extends Display { view: C2dCanvas; context: C2dCanvasContext; layer: C2dLayer; node: V2dGraphicContainer; protected _nodePoly: V2dGraphicDrawing; private graphics; protected _colorPoly: number; protected _colorHole: number; constructor(); setup(): void; dispose(): void; createNode(): void; private outlinePoints; private primitivePoints; private innerOutLinePoints; createShape(): void; getPrimitivePoints(): Vector2[]; private readonly lineColor; private readonly lineWidth; private readonly lineAlpha; private readonly innerLineWidth; private readonly wallColor; private readonly wallFillAlpha; private readonly roomColor; private readonly holeLineColor; private readonly holeLineWidth; private readonly holeFillColor; protected drawGraphic(): void; onDraw(displayContext?: DisplayContext): void; } } declare module "sk/frame/logic/editor/base/editor/C2dEditorActionEvent" { import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { ISpecificationFamilyInfo } from 'sk/data/specification/base/ISpecificationFamilyInfo'; export class C2dEditorActionEvent extends ContentActionEvent { libraryId: string; libraryVersion: number; familyId: string; familyVersion: number; familySymbolId: string; familyInfoId: string; productId: string; name: string; elementClass: any; info: ISpecificationFamilyInfo; isDisableCompute: boolean; flipAxis: 'X' | 'Y' | 'Z'; fieldMap: Map; assign(event: C2dEditorActionEvent): void; free(): void; } } declare module "sk/frame/logic/editor/base/editor/C2dEditorController" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { ContentNode } from 'foundation/data/common/model/brep/ContentNode'; import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { ContentInstanceController } from 'sk/editor/scheme/view/base/ContentInstanceController'; import { C3dContent } from 'sk/editor/logic/view/webgl3d/C3dContent'; import { LayerControlService } from "sk/frame/logic/editor/base/base/LayerControlService"; import { StateControlService } from "sk/frame/logic/editor/base/base/StateControlService"; import { C2dEditorActionEvent } from "sk/frame/logic/editor/base/editor/C2dEditorActionEvent"; export class C2dEditorController extends ContentInstanceController { display: C3dContent; entity: ContentNode; protected _stateService: StateControlService; protected _layerService: LayerControlService; getEntity(): ContentNode; filterEntity(entity: ContentNode): boolean; onMouseEnter(sender: ListenerContext, event: ContentActionEvent): void; onMouseLeave(sender: ListenerContext, event: ContentActionEvent): void; onDragStart(sender: ListenerContext, event: C2dEditorActionEvent): boolean; isMultiSelectKey(event: ContentActionEvent): boolean; onClick(sender: ListenerContext, event: ContentActionEvent): boolean; dispatchEvent(code: any, event: any): boolean; } } declare module "sk/frame/logic/editor/base/display/C2dEditorGroup" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { CoordService } from 'foundation/runtime/math/coord/CoordService'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { V2dGraphicText } from 'foundation/editor/view/view2d/render/V2dGraphicText'; import { C2dEditorContent } from "sk/frame/logic/editor/base/display/C2dEditorContent"; export class C2dEditorGroup extends C2dEditorContent { outline: Array; origin: Vector2; protected _textSprite: V2dGraphicText; protected _textfont: number; protected _coordService: CoordService; constructor(); createNode(): void; canDraw(): boolean; setupLayer(): void; setup(): void; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; protected updateShape(): void; protected updateStyleStatus(): void; protected updateTransform(): void; } } declare module "sk/frame/logic/editor/base/display/C2dEditorLinearDimension" { import { C2dLinearDimension } from 'sk/editor/scheme/floorplan/view/canvas2d/gizmo/C2dLinearDimension'; export class C2dEditorLinearDimension extends C2dLinearDimension { protected _state: number; constructor(); isCharMatchTheRules(): any; getStrValue(data: string): number; } } declare module "sk/frame/logic/editor/base/display/C2dEditorMoveActionController" { import { DimensionEvent } from 'foundation/editor/ui/widget/DimensionEvent'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { DisplayController } from 'foundation/editor/view/base/DisplayController'; export class C2dEditorMoveActionController extends DisplayController { protected _actionService: ActionService; dispatch(event: DimensionEvent): void; } } declare module "sk/frame/logic/editor/base/display/C2dEditorPlankTexColorEnum" { export class C2dEditorPlankTexColorEnum { static Default: string; static Base: string; static BaseInner: string; static BaseOuter: string; static Surface: string; } } declare module "sk/frame/logic/editor/base/display/C2dEditorPlank" { import { TypeMap } from 'cross/runtime/lang/collection/TypeMap'; import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { Circle2 } from 'foundation/runtime/math/Circle2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { V2dGraphicText } from 'foundation/editor/view/view2d/render/V2dGraphicText'; import { C2dEditorContent } from "sk/frame/logic/editor/base/display/C2dEditorContent"; export class C2dEditorPlank extends C2dEditorContent { protected _textSprite: V2dGraphicText; protected _textfont: number; protected layerTextColor: TypeMap; protected pathOutline: Array; protected technologyHoleCircles: Array; protected technologyHoleRects: Array>; protected optionText: boolean; protected optionHookNode: boolean; constructor(); createNode(): void; canDraw(): boolean; setupLayer(): void; setup(): void; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; updateShapeCompute(): void; protected updateShape(): void; change4(identifier: string): string; protected updateStyleStatus(): void; protected updateTransform(): void; } } declare module "sk/frame/logic/editor/base/display/C2dLevelingWallLineDimensionEnum" { export class C2dLevelingWallLineDimensionEnum { static plankType: string; static outlineType: string; } } declare module "sk/frame/logic/editor/base/display/C2dOpereateLineDimensionTypeEnum" { export class C2dOpereateLineDimensionTypeEnum { static plankType: string; static outlineType: string; } } declare module "sk/frame/logic/editor/base/editor/C2dPartitionPlankAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CoordService } from 'foundation/runtime/math/coord/CoordService'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { PlankElement } from 'sk/data/scheme/database/furniture/element/PlankElement'; import { PlankEntity } from 'sk/editor/logic/entity/PlankEntity'; import { C2dMoveAction } from "sk/frame/logic/editor/base/editor/C2dMoveAction"; export type StorageData = { visible: boolean; }; export class C2dPartitionPlankAction extends C2dMoveAction { entity: PlankEntity; protected oldPlank: PlankElement; protected newPlanks: PlankElement[]; visible: boolean; protected _savedData: StorageData; protected _restoreData: StorageData; protected _coordService: CoordService; protected _selectionService: SelectionService; protected _calculatorService: CalculatorService; constructor(); partitionPlankAsync(path: Vector2[]): Promise>; onUndoAsync(): Promise>; onRedoAsync(): Promise>; } } declare module "sk/frame/logic/editor/base/util/C2dPartionPlankEnum" { export class C2dPartionPlankOperateEnum { static Input: string; static Drag: string; } export class C2dPartionPlankCutModeEnum { static HorizenCut: string; static VerticalCut: string; } export class C2dPartionPlankEnum { static CutType: string; static Distance: string; static ButtonStartCut: string; } } declare module "sk/frame/logic/editor/base/util/C2DPlankPartitionUtil" { import { Line2 } from 'foundation/runtime/math/Line2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; export class C2DPlankPartitionUtil { static pushLine(start: Vector2, end: Vector2, xLine: Line2[], yLine: Line2[]): void; static pointOnXLine(point: Vector2, beginPoint: Vector2, endPoint: Vector2): boolean; static pointOnYLine(point: Vector2, beginPoint: Vector2, endPoint: Vector2): boolean; } } declare module "sk/frame/logic/editor/base/display/C2dPartitionPlankActionGizmo" { import { Types } from 'cross/runtime/lang/collection/Types'; import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { HotkeyService } from 'cross/editor/module/hotkey/HotkeyService'; import { TriggerHotkey } from 'cross/editor/module/hotkey/TriggerHotkey'; import { Line2 } from 'foundation/runtime/math/Line2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { V2dGraphicContainer } from 'foundation/editor/view/view2d/render/V2dGraphicContainer'; import { V2dGraphicDrawing } from 'foundation/editor/view/view2d/render/V2dGraphicDrawing'; import { V2dHookEvent } from 'foundation/editor/view/view2d/render/V2dHookEvent'; import { V2dTemp } from 'foundation/editor/view/view2d/V2dTemp'; import { C2dLinearDimension } from 'sk/editor/scheme/floorplan/view/canvas2d/gizmo/C2dLinearDimension'; import { C2dAlignmentLines } from 'sk/editor/logic/view/canvas2d/gizmo/C2dAlignmentLines'; import { C2dCanvas } from 'sk/editor/logic/view/canvas2d/C2dCanvas'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; import { C2dLayer } from 'sk/editor/logic/view/canvas2d/C2dLayer'; import { PlankEntity } from 'sk/editor/logic/entity/PlankEntity'; import { StateControlService } from "sk/frame/logic/editor/base/base/StateControlService"; import { C2dPartitionPlankAction } from "sk/frame/logic/editor/base/editor/C2dPartitionPlankAction"; import { PointInference } from "sk/frame/logic/editor/base/editor/PointInference"; export class C2dPartitionPlankActionGizmo extends V2dTemp { view: C2dCanvas; context: C2dCanvasContext; action: C2dPartitionPlankAction; entity: PlankEntity; private _dragLineGraphics; snapPoints: Types; snapLength: number; protected snapLines: Types; protected _pointValid: boolean; protected _curMousePosCanvas: Vector2; protected _alignmentLines: C2dAlignmentLines; protected _alignmentLineGraphics: V2dGraphicDrawing; inference: PointInference; private _points; protected _lengthDimension: C2dLinearDimension; protected _traceDimension: C2dLinearDimension; sceneContainer: V2dGraphicContainer; layer: C2dLayer; protected _isClose: boolean; ignoreSnapOffset: any; isSnapping: boolean; protected _isTracing: boolean; protected _tracingPosition: any; protected _tracingTimer: any; pointTracingStart: Vector2; operateMode: string; cutMode: string; cutDistance: number; minDistanceHorizen: number; maxDistanceHorizen: number; minDistanceVertical: number; maxDistanceVertical: number; leftCornerPoint: Vector2; rightCornerPoint: Vector2; upCornerPoint: Vector2; downCornerPoint: Vector2; cutPoint1: Vector2; cutPoint2: Vector2; xLinesPlank: Array; yLinesPlank: Array; protected _hotkeyService: HotkeyService; protected showLineHotkey: TriggerHotkey; protected _stateService: StateControlService; protected _selectionService: SelectionService; constructor(); setup(): void; initSnapPoints(): void; protected initDimension(): void; initPartitionPlank(): void; onValueChangeStart(sender: ListenerContext, event: any): void; protected onTraceValueChangeCommit(sender: ListenerContext, event: any): void; onMouseMove(sender: ListenerContext, event: V2dHookEvent): void; onMouseDown(sender: ListenerContext, event: V2dHookEvent): void; onMove(sender: ListenerContext, event: ContentActionEvent): void; onCutTypeChanged(sender: ListenerContext, event: ContentActionEvent): void; onDistanceChanged(sender: ListenerContext, event: ContentActionEvent): void; onButtonStartCut(sender: ListenerContext, event: ContentActionEvent): void; private startCutPlankAsync; operateModeChange(): void; protected addPoint(posX: number, posY: number): void; protected tryCompleteAsync(points: Array): Promise; doSnap(_point: Vector2): Vector2; doTrace(point: Vector2): void; computeCutPoint(cutDistance: number): Vector2[]; draw(): void; get scale(): number; drawGraphic(): void; updateLengthDimension(dimension: C2dLinearDimension, start: Vector2, end: Vector2): void; removeFromView(): void; onActivate(): void; onDeactivate(): void; dispose(): void; onScaleChanged(): void; addToView(): void; } } declare module "sk/frame/logic/editor/base/editor/C2dPartitionPlankDesignAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CoordService } from 'foundation/runtime/math/coord/CoordService'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { EditorMessageService } from 'foundation/editor/view/base/message/EditorMessageService'; import { ContentElement } from 'sk/data/family/element/brep/ContentElement'; import { PlankElement } from 'sk/data/scheme/database/furniture/element/PlankElement'; import { PlankEntity } from 'sk/editor/logic/entity/PlankEntity'; import { C2dMoveAction } from "sk/frame/logic/editor/base/editor/C2dMoveAction"; export type StorageData = { visible: boolean; }; export class C2dPartitionPlankDesignAction extends C2dMoveAction { plankEntitys: Array; protected _newPlanks: PlankElement[]; protected _oldPlanks: PlankElement[]; visible: boolean; protected _savedData: StorageData; protected _restoreData: StorageData; protected _parent: ContentElement; type: string; protected _coordService: CoordService; protected _calculatorService: CalculatorService; protected _editorMessageService: EditorMessageService; constructor(); partitionPlankAsync(path: Vector2[], plankEntitys: Array, gap?: number, type?: string): Promise>; private fetchBindingDecorateAsync; onUndoAsync(): Promise>; onRedoAsync(): Promise>; } } declare module "sk/frame/logic/editor/base/display/C2dPartitionPlankDesignActionGizmo" { import { Types } from 'cross/runtime/lang/collection/Types'; import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { HotkeyService } from 'cross/editor/module/hotkey/HotkeyService'; import { TriggerHotkey } from 'cross/editor/module/hotkey/TriggerHotkey'; import { Line2 } from 'foundation/runtime/math/Line2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { V2dGraphicContainer } from 'foundation/editor/view/view2d/render/V2dGraphicContainer'; import { V2dGraphicDrawing } from 'foundation/editor/view/view2d/render/V2dGraphicDrawing'; import { V2dHookEvent } from 'foundation/editor/view/view2d/render/V2dHookEvent'; import { V2dTemp } from 'foundation/editor/view/view2d/V2dTemp'; import { C2dLinearDimension } from 'sk/editor/scheme/floorplan/view/canvas2d/gizmo/C2dLinearDimension'; import { C2dAlignmentLines } from 'sk/editor/logic/view/canvas2d/gizmo/C2dAlignmentLines'; import { C2dCanvas } from 'sk/editor/logic/view/canvas2d/C2dCanvas'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; import { C2dLayer } from 'sk/editor/logic/view/canvas2d/C2dLayer'; import { PlankEntity } from 'sk/editor/logic/entity/PlankEntity'; import { StateControlService } from "sk/frame/logic/editor/base/base/StateControlService"; import { C2dPartitionPlankDesignAction } from "sk/frame/logic/editor/base/editor/C2dPartitionPlankDesignAction"; import { PointInference } from "sk/frame/logic/editor/base/editor/PointInference"; export class C2dPartitionPlankDesignActionGizmo extends V2dTemp { view: C2dCanvas; context: C2dCanvasContext; action: C2dPartitionPlankDesignAction; plankEntitys: Array; private _dragLineGraphics; snapPoints: Types; snapLength: number; protected snapLines: Types; protected _pointValid: boolean; protected _curMousePosCanvas: Vector2; protected _alignmentLines: C2dAlignmentLines; protected _alignmentLineGraphics: V2dGraphicDrawing; inference: PointInference; private _points; protected _lengthDimension: C2dLinearDimension; protected _traceDimension: C2dLinearDimension; sceneContainer: V2dGraphicContainer; layer: C2dLayer; protected _isClose: boolean; ignoreSnapOffset: any; isSnapping: boolean; protected _isTracing: boolean; protected _tracingPosition: any; protected _tracingTimer: any; pointTracingStart: Vector2; operateMode: string; cutMode: string; cutDistance: number; minDistanceHorizen: number; maxDistanceHorizen: number; minDistanceVertical: number; maxDistanceVertical: number; leftCornerPoint: Vector2; rightCornerPoint: Vector2; upCornerPoint: Vector2; downCornerPoint: Vector2; cutPoint1: Vector2; cutPoint2: Vector2; xLinesPlank: Array; yLinesPlank: Array; _snapType: number; protected _hotkeyService: HotkeyService; protected showLineHotkey: TriggerHotkey; protected _stateService: StateControlService; protected _selectionService: SelectionService; constructor(); setup(): void; initSnapPoints(): void; protected initDimension(): void; protected onTraceValueChangeCommit(sender: ListenerContext, event: any): void; onMouseMove(sender: ListenerContext, event: V2dHookEvent): void; onMouseDown(sender: ListenerContext, event: V2dHookEvent): void; onMove(sender: ListenerContext, event: ContentActionEvent): void; private computeSelectPlankNodes; protected addPoint(posX: number, posY: number): void; protected tryCompleteAsync(points: Array): Promise; doSnap(_point: Vector2): Vector2; private filterSnapPts; private getClosestSnapPt; doTrace(point: Vector2): void; draw(): void; get scale(): number; drawGraphic(): void; drawingTriangle(graphics: V2dGraphicDrawing, point: Vector2, long: number, lineWidth?: number, color?: number): void; updateLengthDimension(dimension: C2dLinearDimension, start: Vector2, end: Vector2): void; removeFromView(): void; onActivate(): void; onDeactivate(): void; dispose(): void; onScaleChanged(): void; addToView(): void; } } declare module "sk/frame/logic/editor/base/editor/C2dOperateLineEditorController" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { C2dEditorActionEvent } from "sk/frame/logic/editor/base/editor/C2dEditorActionEvent"; import { C2dEditorController } from "sk/frame/logic/editor/base/editor/C2dEditorController"; export class C2dOperateLineEditorController extends C2dEditorController { onDragStart(sender: ListenerContext, event: C2dEditorActionEvent): boolean; } } declare module "sk/frame/logic/editor/base/display/C2dPlankOperateLine" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { NodeFieldEvent } from 'cross/runtime/framework/node/NodeFieldEvent'; import { CoordService } from 'foundation/runtime/math/coord/CoordService'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { OperateLineNode } from 'sk/data/family/model/assistant/operate/OperateLineNode'; import { SchemeBlueprintEntity } from 'sk/editor/scheme/entity/SchemeBlueprintEntity'; import { C2dBrep } from 'sk/editor/logic/view/canvas2d/C2dBrep'; export class C2dPlankOperateLine extends C2dBrep { blueprint: SchemeBlueprintEntity; entity: OperateLineNode; private userMatrix; private parantObjctMatrix; protected _dragPoint: Vector2; protected _lastPoint: Vector2; protected _coordService: CoordService; constructor(); setup(): void; createNode(): any; onEditOptionsChanged(sender: ListenerContext, event: NodeFieldEvent): void; canDraw(): boolean; onAddToView(): void; private getWorldPosition; protected updateShape(): void; updateValidLine(start: Vector2, end: Vector2, lineWidth: number, color: number, lineAlpha: number): void; updateInvalidLine(start: Vector2, end: Vector2, lineWidth: number, color: number, lineAlpha: number): void; } } declare module "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomBaseDesignData" { export class BathroomBaseDesignData { static DEFAULT_FLOOR_EDGE_THICKNESS: number; static DEFAULT_SURFACE_THICKNESS: number; static DEFAULT_BASE_HEIGHT: number; } export class PlankTypeEnum { static Tile: string; static Iron: string; static Stone: string; } export class PlankTypeCode { static wallCode: number; static doorCode: number; static windowUpCode: number; static windowDownCode: number; } } declare module "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomCreateDesignData" { import { Line2 } from 'foundation/runtime/math/Line2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { ISpecificationFamilyInfo } from 'sk/data/specification/base/ISpecificationFamilyInfo'; export class BathroomFamilyInfoDesignData { floorData: FloorFamilyInfoData; wallData: WallFamilyInfoData; ceilingData: CeilingFamilyInfoData; constructor(); } export class FloorFamilyInfoData { floorDryFamilyInfoId: string; floorDryFamilyInfo?: ISpecificationFamilyInfo; floorWetFamilyInfoId: string; floorWetFamilyInfo?: ISpecificationFamilyInfo; floorWetSymbolFamilyInfoId: string; floorWetSymbolFamilyInfo?: ISpecificationFamilyInfo; tileFamilyInfoId: string; tileFamilyInfo?: ISpecificationFamilyInfo; } export class WallFamilyInfoData { wallFamilyInfoId: string; wallFamilyInfo?: ISpecificationFamilyInfo; tileFamilyInfoId: string; tileFamilyInfo?: ISpecificationFamilyInfo; } export class CeilingFamilyInfoData { ceilingSymbolFamilyInfoId: string; tileceilingSymbolFamilyInfo?: ISpecificationFamilyInfo; tileFamilyInfoId: string; tileFamilyInfo?: ISpecificationFamilyInfo; } export class BathroomCreateDesignData { ceilingDownHeight: number; floorData: FloorCreateDataInfo; wallData: WallCreateDataInfo; ceilingData: CeilingCreateDataInfo; bathroomData: BathroomData; static doorCenter: Vector2[]; outerDoorData: Array; constructor(); getHoleCenter(createData: BathroomCreateDesignData): void; } export class ContentBase { name: string; type: string; x: number; y: number; lengthX: number; lengthY: number; rotation: number; doorFlag: boolean; constructor(); getPoints(): Array; } export class BathroomData extends ContentBase { z: number; height: number; floorFnish: number; ceilingSpace: number; constructor(); setBathroomData(x: number, y: number, lenghtX: number, lengthY: number): void; } export class FloorCreateDataInfo { lengthZ: number; z: number; symbolWetPlanks: Array; wetArea: Array; dryArea: Array; waterBar: Array; baseTthickness: number; surfaceThickness: number; floorEdgeThickness: number; constructor(); } export class SymbolWetPlank extends ContentBase { edgeThickness?: number; edgeHeight?: number; code?: string; floorWetPlankPatternInfoId?: string; floorWetPlankFamilyInfoId?: string; floorWetId?: string; } export class FloorWetTile extends ContentBase { edgeThickness?: number; edgeHeight?: number; code?: string; floorWetTilePatternInfoId?: string; floorWetTileFamilyInfoId?: string; floorWetId?: string; } export class AreaLayoutData { name: string; type: AreaType; outline: Array; constructor(name?: string, type?: AreaType, outline?: AreaSingleLine[]); setOutline(outline: AreaSingleLine[]): void; getPoints(): Array; } export class AreaInfo extends ContentBase { outline: Array; constructor(); } export enum WaterInterBarType { doorBar = "doorBar", dryWetConnectBar = "dryWetConnectBar" } export class AreaType { static wetArea: string; static dryArea: string; static wallArea: string; static ceilingArea: string; } export class AreaLineType { static wetOutline: string; static dryOutline: string; static WaterInterBar: string; static outerWllOutline: string; static inerWllOutline: string; static ceilingOutline: string; } export class WaterInletType { static showerInlet: string; static closestoolInlet: string; static basinInlet: string; } export class WaterInterBarLayoutData extends AreaInfo { waterIntertype: WaterInterBarType; z: number; constructor(); } export class WallCreateDataInfo { wallOutlines: Array; indoorHoles: Array; lines: Array; z: number; thickness: number; height: number; baseTthickness: number; surfaceThickness: number; floorEdgeThickness: number; heightRule: boolean; constructor(); } export class WallAreaLine { outline: Array; constructor(); } export class AreaSingleLine { lineName: string; lineType: AreaLineType; line: Line2; prevLine: AreaSingleLine; nextLine: AreaSingleLine; hole: Array; inletWaterHole: Array; constructor(); } export class WallHoleData extends ContentBase { holeType: string; z: number; line: Line2; center: Vector2; constructor(); } export class WallWaterInletData { type: string; x: number; height: number; radius: number; space: number; constructor(); } export enum CeilingSurfaceLayoutType { entire = "ceilingSurface.entire", areas = "ceilingSurface.areas" } export class CeilingCreateDataInfo { ceilingLayout: CeilingSurfaceLayoutType; ceilingAreas: Array; ceilingSpace: number; lengthZ: number; area: Array; z: number; baseThickness: number; surfaceThickness: number; floorEdgeThickness: number; arrangeDirection: string; constructor(); } export class DoorHoleInfo { center: Vector2; from: Vector2; to: Vector2; constructor(); } } declare module "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/walldesign/BathroomWallElementBuilderUtil" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { HoleStructure } from 'foundation/data/common/structure/HoleStructure'; import { FamilyInstanceElement } from 'sk/data/family/element/instance/FamilyInstanceElement'; import { WareElement } from 'sk/data/family/element/instance/WareElement'; import { FamilyStructure } from 'sk/data/family/library/FamilyStructure'; import { TechnologyHoleElement } from 'sk/data/scheme/database/technology/element/TechnologyHoleElement'; import { WallHoleData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomCreateDesignData"; export class BathroomWallElementBuilderUtil { static addPlankTechnologyHoleByAreaData(plankElement: FamilyInstanceElement, area: WallHoleData): void; static addPlankTechnologyHoleByHoleData(plankElement: FamilyInstanceElement, hole: HoleStructure): void; static addPlankTechnologyHoleByCutHole(plankElement: FamilyInstanceElement, hole: WareElement): void; static createTechnologyHoleByPolygon(familyStructure: FamilyStructure, polygon: Vector2[], lengthX: number, lengthY: number, lengthZ: number): TechnologyHoleElement; static createCircleTechnologyHole(familyStructure: FamilyStructure, center: Vector2, diameter: number, depth: number): TechnologyHoleElement; } } declare module "sk/frame/logic/scheme/bathroom/util/BathroomDesignNodeUtil" { import { TechnologyHoleNode } from 'sk/data/family/database/technology/model/TechnologyHoleNode'; import { ContainerNode } from 'sk/data/family/model/instance/ContainerNode'; import { PatternInstanceNode } from 'sk/data/family/model/instance/PatternInstanceNode'; import { WareNode } from 'sk/data/family/model/instance/WareNode'; import { RoomNode } from 'sk/data/scheme/database/floorplan/model/RoomNode'; import { PlankNode } from 'sk/data/scheme/database/furniture/model/PlankNode'; import { AssembleBathroomNode } from 'sk/data/scheme/database/pattern/node/AssembleBathroomNode'; import { BathroomCeilingNode } from 'sk/data/scheme/database/pattern/node/BathroomCeilingNode'; import { BathroomWallNode } from 'sk/data/scheme/database/pattern/node/BathroomWallNode'; export class BathroomDesignNodeUtil { static findSurfaceContainer(root: PatternInstanceNode): ContainerNode; static findBaseContainer(root: PatternInstanceNode): ContainerNode; static findSeamContainer(root: PatternInstanceNode): ContainerNode; static findBasePlank(container: ContainerNode): PlankNode; static findSeamPlank(container: ContainerNode): PlankNode; static findPatternInstanceNodeCutHoleIn(hole: WareNode): PatternInstanceNode; static findBathroomWalls(root: AssembleBathroomNode): BathroomWallNode[]; static getSurfacePlanks(root: PatternInstanceNode): PlankNode[]; static setFlagFacePlanks(root: PatternInstanceNode, flag: number, on: boolean): void; static isCircleTechHole(node: TechnologyHoleNode): boolean; static getBathroomCeilingNode(root: PatternInstanceNode): BathroomCeilingNode; static getCurRoom(root: PatternInstanceNode): RoomNode; static updateBathroomWallHoles(wall: BathroomWallNode): void; } } declare module "sk/frame/logic/scheme/bathroom/util/bathroomwall/addtechhole/BathroomWallDesignTechHoleBusinessLogic" { import { WareElement } from 'sk/data/family/element/instance/WareElement'; import { PlankElement } from 'sk/data/scheme/database/furniture/element/PlankElement'; import { TechnologyHoleElement } from 'sk/data/scheme/database/technology/element/TechnologyHoleElement'; import { WareEntity } from 'sk/editor/scheme/entity/WareEntity'; import { PlankEntity } from 'sk/editor/logic/entity/PlankEntity'; export enum TypeHoleEnum { Circle = "Circle", Square = "Square" } export enum BathroomEditorElementCodeEnum { TechHoleForStandard = "hole.tech.standard" } export class BathroomWallDesignTechHoleBusinessLogic { plankSurfaceElement: PlankElement; cutHoleElement: WareElement; plankBaseElement: PlankElement; addTechHoleToSurfacePlankByCutHole(plank: PlankEntity, cutHole: WareEntity, typeHole: TypeHoleEnum): TechnologyHoleElement; addTechHoleToBasePlankByCutHole(plank: PlankEntity, cutHole: WareEntity, typeHole: TypeHoleEnum): TechnologyHoleElement; removeTechHolesFromSurfacePlank(plank: PlankEntity): TechnologyHoleElement[]; removeTechHolesFromBasePlankBySurfacePlank(plankBase: PlankEntity, plankSurface: PlankEntity): TechnologyHoleElement[]; removeAllTechHolesFromBasePlank(plank: PlankEntity): TechnologyHoleElement[]; existTechHolesInSurfacePlank(plank: PlankEntity): boolean; private getPolygonHoleInPlank; private getCenterHoleInPlank; private createPolygonPointsByPosAndSize; private addTechHoleToPlank; private addCircleTechHoleToPlank; private findTechHolesInBase; private isCircleTechHoleRelative; private isSquareTechHoleRelative; private getCurvePointsSquareHole; private getTechHolesElementByNode; private removeTechHolesFromPlank; private addTechHoleToSurfacePlankByOutline; private addTechHoleToBasePlankByOutline; } } declare module "sk/frame/logic/scheme/bathroom/event/BathroomFloorDryDesignActionEvent" { import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { BathroomFloorDryElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorDryElement'; import { BathroomFloorDryNode } from 'sk/data/scheme/database/pattern/node/BathroomFloorDryNode'; export class BathroomFloorDryDesignActionEvent extends ContentActionEvent { entity: BathroomFloorDryNode; element: BathroomFloorDryElement; propName: string; propValue: string; propName2: string; propValue2: string; floorFlag: boolean; constructor(); reset(): void; free(): void; } } declare module "sk/frame/logic/scheme/bathroom/util/BathroomDesignMath2dUtil" { import { Types } from 'cross/runtime/lang/collection/Types'; import { Line2 } from 'foundation/runtime/math/Line2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; export class BathroomDesignMath2dUtil { static getPointProjectionToLine(point: Vector2, from: Vector2, to: Vector2): Vector2; static getPointProjectionToRay(point: Vector2, origin: Vector2, dir: Vector2): { t: number; res: Vector2; }; static checkPointBetweenLine(point: Vector2, from: Vector2, to: Vector2): boolean; static computeSegmentIntersection(line1From: Vector2, line1To: Vector2, line2From: Vector2, line2To: Vector2): { from: Vector2; to: Vector2; }; static rayLineIntersection(rayStart: Vector2, rayDirection: Vector2, lineStart: Vector2, lineEnd: Vector2): Vector2; static convertOutlineVectorToLine(points: Types): Types; static convertOutlineVectorToLine2(points: Array): Array; static isouterCorner(line1: Line2, line2: Line2): boolean; static convertPointsRelativeOrigin(points: Array, origin: Vector2): Array; static convertPointsGlobal(points: Array, origin: Vector2): Array; static convertSinglePointReleativeOrigin(point: Vector2, origin: Vector2): Vector2; static convertSinglePointToGlobal(point: Vector2, origin: Vector2): Vector2; static getPointsOfBound(bound: number[]): Vector2[]; static getLineHorizonAndVerticalOfBound(bound: number[]): { lineHor: Line2; lineVer: Line2; }; static makePointsClockwiseAndLeftUpFirst(points: Vector2[]): void; static swapArrayVector2(arr: Vector2[], i: number, j: number): void; static isPointRightHandLine(point: Vector2, from: Vector2, to: Vector2): boolean; static isRectOfPolygon(polygon: Vector2[], tolerance?: number): boolean; } } declare module "sk/frame/logic/storage/module/product/show/category/item/ProductShowCategoryItemUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class ProductShowCategoryItemUnit extends StorageUnit { static CLASS_NAME: string; categoryId: string; productId: string; code: string; dataOrder: number; name: string; constructor(); } } declare module "sk/frame/logic/storage/module/product/show/category/item/ProductShowCategoryItemService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { ProductShowCategoryItemGetResponse } from 'sk/data/logic/module/message/ProductShowCategoryItemGetResponse'; import { ProductShowCategoryItemInsertResponse } from 'sk/data/logic/module/message/ProductShowCategoryItemInsertResponse'; import { ProductShowCategoryItemPageResponse } from 'sk/data/logic/module/message/ProductShowCategoryItemPageResponse'; import { ProductShowCategoryItemUnit } from "sk/frame/logic/storage/module/product/show/category/item/ProductShowCategoryItemUnit"; export class ProductShowCategoryItemService extends StorageUnitService { constructor(); pageAsync(pageQuery: any): Promise; getAsync(obj?: any): Promise; insertAsync(unit: ProductShowCategoryItemUnit): Promise; } } declare module "sk/frame/logic/storage/module/product/show/category/ProductShowCategoryUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class ProductShowCategoryUnit extends StorageUnit { static CLASS_NAME: string; id: string; parentId: string; code: string; name: string; dataOrder: number; remark: string; constructor(); } } declare module "sk/frame/logic/storage/module/product/show/category/ProductShowCategoryService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { ProductShowCategoryGetResponse } from 'sk/data/logic/module/message/ProductShowCategoryGetResponse'; import { ProductShowCategoryTreeResponse } from 'sk/data/logic/module/message/ProductShowCategoryTreeResponse'; import { ProductShowCategoryUnit } from "sk/frame/logic/storage/module/product/show/category/ProductShowCategoryUnit"; export class ProductShowCategoryService extends StorageUnitService { constructor(); treeAsync(pageQuery?: any): Promise; getAsync(obj?: any): Promise; } } declare module "sk/frame/logic/storage/module/product/product/ProductUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class ProductUnit extends StorageUnit { static CLASS_NAME: string; categoryId: string; familyId: string; levelCd: string; typeId: string; code: string; name: string; constructor(); } } declare module "sk/frame/logic/storage/module/product/product/ProductService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { ProductProductGetResponse } from 'sk/data/logic/design/message/ProductProductGetResponse'; import { ProductProductPageResponse } from 'sk/data/logic/design/message/ProductProductPageResponse'; import { ProductProductInsertResponse } from 'sk/data/logic/module/message/ProductProductInsertResponse'; import { ProductProductUpdateResponse } from 'sk/data/logic/module/message/ProductProductUpdateResponse'; import { ProductUnit } from "sk/frame/logic/storage/module/product/product/ProductUnit"; export class ProductService extends StorageUnitService { constructor(); pageAsync(pageQuery: any): Promise; getAsync(obj?: any): Promise; insertAsync(unit: ProductUnit): Promise; updateAsync(unit: ProductUnit): Promise; } } declare module "sk/frame/logic/service/FrameCatalogService" { import { Dictionary } from 'cross/runtime/lang/collection/Dictionary'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { Service } from 'cross/runtime/module/Service'; import { LoginLogicService } from 'cross/data/module/logic/login/LoginLogicService'; export class CatalogTypeEnum { static Product: string; static Merchandise: string; static Digitization: string; } export class DesignShowTypeEnum { static Sku: number; static Spu: number; static ColorCard: number; } export class MerchandiseTypeEnum { static NoSale: number; static Goods: number; } export class CatalogTreeData { id: string; code: string; name: string; icon: string; parentTree: CatalogTreeData; hierachy: number; designShowTypeCd: Number; catalogType: CatalogTypeEnum; items: Array; showFlag: string; constructor(); findChildCatalogTreeDataById(id: string): CatalogTreeData; private getChildCatalogTreeDataById; } export class CatalogPageData { page: number; pageCount: number; pageSize: number; total: number; rows: Array; constructor(); } export class DetailData { id: string; productId: string; code: string; name: string; icon: string; salePrice: number; mainUnitName: string; specification: string; brandName: string; model: string; collectFlag: string; productSymbolId: string; symbols: Array; categoryCode: string; categoryId: string; skuCode: string; skuId: string; skuName: string; ifSell: Number; dataInfo: string; constructor(); } export class SymbolData { id: string; name: string; familyInfoId: string; features: string; linkCd: string; } export class FrameCatalogService extends Service { protected _loginLogicService: LoginLogicService; protected _catalogTreeDataCaches: Dictionary; protected _prdouctIdCaches: Dictionary; onInitialize(): void; onUnload(): void; clearCache(): void; pageAsync(catalogType: CatalogTypeEnum, categoryId: string, page?: number, pageSize?: number, searchName?: string, ifNoSaleCeq?: number, showFlag?: string): Promise>; treeAsync(catalogType: CatalogTypeEnum, categoryCode?: string): Promise>; detailDataAsync(catalogType: CatalogTypeEnum, id: string): Promise>; collectAsync(catalogType: CatalogTypeEnum, data: DetailData): Promise>; private merchandiseCollectAsync; private productTreeAsync; private productTreeToCatalogTreeData; private merchandiseTreeAsync; private merchandiseTreeToCatalogTreeData; private digitizationTreeAsync; private digitizationTreeToCatalogTreeData; private productPageAsync; private merchandisePageAsync; private digitizationPageAsync; private merchandiseDetailDataAsync; getSymbolsAsync(productId: string): Promise>; } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomDesignContext" { import { ContextObject } from 'cross/runtime/lang/ContextObject'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { ISpecificationFamilyInfo } from 'sk/data/specification/base/ISpecificationFamilyInfo'; import { AssembleBathroomPatternElement } from 'sk/data/family/database/pattern/element/AssembleBathroomPatternElement'; import { BathroomCeilingPatternElement } from 'sk/data/family/database/pattern/element/BathroomCeilingPatternElement'; import { BathroomFloorDryPatternElement } from 'sk/data/family/database/pattern/element/BathroomFloorDryPatternElement'; import { BathroomFloorPatternElement } from 'sk/data/family/database/pattern/element/BathroomFloorPatternElement'; import { BathroomFloorWetPatternElement } from 'sk/data/family/database/pattern/element/BathroomFloorWetPatternElement'; import { BathroomFloorWetSlotPatternElement } from 'sk/data/family/database/pattern/element/BathroomFloorWetSlotPatternElement'; import { BathroomFloorWetWarePatternElement } from 'sk/data/family/database/pattern/element/BathroomFloorWetWarePatternElement'; import { BathroomWallPatternElement } from 'sk/data/family/database/pattern/element/BathroomWallPatternElement'; import { ParameterPropertyStructure } from 'sk/data/family/element/config/parameter/ParameterPropertyStructure'; import { RoomNode } from 'sk/data/scheme/database/floorplan/model/RoomNode'; import { AssembleBathroomElement } from 'sk/data/scheme/database/pattern/element/AssembleBathroomElement'; import { BathroomElement } from 'sk/data/scheme/database/pattern/element/BathroomElement'; import { SchemeConfigService } from 'sk/data/scheme/config/SchemeConfigService'; import { SchemeDocument } from 'sk/data/scheme/model/SchemeDocument'; import { FrameCatalogService } from "sk/frame/logic/service/FrameCatalogService"; export enum BathroomDesignPropertyCodeEnum { EdgeThickness = "edgeThickness", ModCategory = "modCategory" } export class BathroomDesignContext { roomNode: RoomNode; document: SchemeDocument; bathroom: BathroomElement; context: ContextObject; assembleInfoId: string; assemblePatternElement: AssembleBathroomPatternElement; wallInfoId: string; wallPatternElement: BathroomWallPatternElement; wallPlankInfoId: string; wallSurfaceInfoId: string; floorWallThickness: number; wallSeamInfoId: string; wallBaseThickness: number; wallSurfaceThickness: number; wallIndentation: number; wallExpansion: number; surfacetype: string; wallSeamGap: number; floorInfoId: string; floorPatternElement: BathroomFloorPatternElement; floorEdgeThickness: number; floorDryInfoId: string; floorDryPatternElement: BathroomFloorDryPatternElement; floorDryPlankInfoId: string; floorDrySeamInfoId: string; floorDrySurfaceInfoId: string; wetType: string; wetWareType: string; floorWetInfoId: string; floorWetPatternElement: BathroomFloorWetPatternElement; floorWetWarePatternElement: BathroomFloorWetWarePatternElement; floorWetSlotatternElement: BathroomFloorWetSlotPatternElement; floorWetWareInfoId: string; floorWetPlankInfoId: string; floorWetSurfaceInfoId: string; floorWetSeamInfoId: string; floorWaterSpliterInfoId: string; floorSymbolWetInfoId: string; floorWetBaseThickness: number; floorWetSurfaceThickness: number; floorWetSeamGap: number; floorWetOutlineGap: number; floorWetSeamThickness: number; floorDryBaseThickness: number; floorDrySurfaceThickness: number; floorDrySeamThickness: number; floorDrySeamGap: number; floorDryOutlineGap: number; floorDryEdgeThickness: number; floorWetEdgeThickness: number; ceilingInfoId: string; ceilingPatternElement: BathroomCeilingPatternElement; ceilingPlankInfoId: string; ceilingSurfaceInfoId: string; ceilingBaseThickness: number; ceilingSurfaceThickness: number; ceilingThickness: number; ceilingSeamGap: number; options: any; layoutData: any; holeInnerWallInfo: ISpecificationFamilyInfo; floorThickness: number; floorWetThickness: number; floorWetDrainInfoId: string; floorWetStoneInfoId: string; floorWetSlotInfoId: string; floorWetDesignThickness: number; wallModCategory: string; ceilingModCategory: string; floorDryModCategory: string; floorWetModCategory: string; wallTenantId: string; dryTenantId: string; wetTenantId: string; ceilingTenantId: string; protected _schemeConfigService: SchemeConfigService; protected _categoryService: FrameCatalogService; constructor(roomNode: RoomNode); protected setValue(key: string, property: ParameterPropertyStructure): void; loadAssembleBathroomParamsAsync(context: ContextObject, bathroom: BathroomElement): Promise; loadBathroomParamsAsync(context: ContextObject, bathroom: BathroomElement): Promise; loadAssembleBathroomParamsFromAssembleAsync(context: ContextObject, assembleBathroom: AssembleBathroomElement): Promise; loadBathroomParamsFromAssembleAsync(context: ContextObject, assembleBathroom: AssembleBathroomElement): Promise; loadBathroomWallParamsAsync(context: ContextObject, bathroomWall: BathroomWallPatternElement): Promise; loadBathroomFloorDryParamsAsync(context: ContextObject, bathroomFloorDry: BathroomFloorDryPatternElement): Promise; loadBathroomFloorWetParamsAsync(context: ContextObject, bathroomFloorWet: BathroomFloorWetPatternElement): Promise; loadBathroomFloorWetWareParamsAsync(context: ContextObject, bathroomFloorWet: BathroomFloorWetWarePatternElement): Promise; loadBathroomFloorWetSlotParamsAsync(context: ContextObject, bathroomFloorWet: BathroomFloorWetSlotPatternElement): Promise; loadBathroomFloorParamsAsync(context: ContextObject, bathroomFloor: BathroomFloorPatternElement): Promise; loadBathroomCeilingParamsAsync(context: ContextObject, bathroomCeiling: BathroomCeilingPatternElement): Promise; } } declare module "sk/frame/logic/scheme/bathroom/util/AssembleBathroomElementDesignUtil" { import { ElementPerformerContext } from 'sk/data/family/performer/element/ElementPerformerContext'; import { AssembleBathroomElement } from 'sk/data/scheme/database/pattern/element/AssembleBathroomElement'; import { BathroomElement } from 'sk/data/scheme/database/pattern/element/BathroomElement'; import { CeilingCreateDataInfo } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomCreateDesignData"; import { BathroomDesignContext } from "sk/frame/logic/scheme/bathroom/action/BathroomDesignContext"; export class AssembleBathroomElementDesignUtil { static createAssembleBathroomElement(context: ElementPerformerContext, roomContext: BathroomDesignContext, parentElement: BathroomElement, ceilingData: CeilingCreateDataInfo): AssembleBathroomElement; } } declare module "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/floordesign/floorwetdesign/BathroomFloorWetAreaDesignData" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { BathroomFloorWetElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorWetElement'; import { BathroomDesignContext } from "sk/frame/logic/scheme/bathroom/action/BathroomDesignContext"; import { BathroomBaseDesignData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomBaseDesignData"; import { AreaInfo, FloorCreateDataInfo } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomCreateDesignData"; export class BathroomFloorWetAreaDesignData extends BathroomBaseDesignData { basePlankId: string; tileInfoId: string; x: number; y: number; z: number; lengthX: number; lengthY: number; lengthZ: number; polygon: Vector2[]; basethickness: number; surfaceThickness: number; floorEdgeThickness: number; startX: number; startY: number; outlineGap: number; gap: number; type: string; outline: Array; extendOutline: Array; seamThickness: number; code: string; name: string; offsetX: number; offsetY: number; floorThickness: number; floorWetModCategory: string; tenantId: string; constructor(); recalculation(roomContext: BathroomDesignContext, floorDataInfo: FloorCreateDataInfo, areData: AreaInfo): void; rebuildFromElement(bathroomFloorWetElement: BathroomFloorWetElement): void; setFloorWetData(floorWetElement: BathroomFloorWetElement): BathroomFloorWetAreaDesignData; } } declare module "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/floordesign/floorwetdesign/BathroomFloorWetWareDesignData" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { BathroomFloorWetElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorWetElement'; import { BathroomFloorWetWareElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorWetWareElement'; import { BathroomDesignContext } from "sk/frame/logic/scheme/bathroom/action/BathroomDesignContext"; import { BathroomBaseDesignData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomBaseDesignData"; import { AreaInfo, FloorCreateDataInfo } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomCreateDesignData"; export class BathroomFloorWetWareDesignData extends BathroomBaseDesignData { basePlankId: string; tileInfoId: string; x: number; y: number; z: number; lengthX: number; lengthY: number; lengthZ: number; polygon: Vector2[]; floorEdgeThickness: number; startX: number; startY: number; outlineGap: number; gap: number; type: string; outline: Array; extendOutline: Array; seamThickness: number; code: string; name: string; offsetX: number; offsetY: number; floorThickness: number; constructor(); recalculation(roomContext: BathroomDesignContext, floorDataInfo: FloorCreateDataInfo, areData: AreaInfo): void; rebuildFromElement(bathroomFloorWetElement: BathroomFloorWetWareElement): void; setFloorWetData(floorWetElement: BathroomFloorWetElement): BathroomFloorWetWareDesignData; } } declare module "sk/frame/logic/scheme/bathroom/base/BathroomGeometryUtil" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { PolygonSurfaceStructure } from 'foundation/data/common/structure/geometric/surface/PolygonSurfaceStructure'; import { SectionSurfaceStructure } from 'foundation/data/common/structure/geometric/surface/SectionSurfaceStructure'; export class BathroomGeometryUtil { static createSurfaceSectionUtil(points: Array, originx?: number, originy?: number): SectionSurfaceStructure; static createPlaneSurfaceSectionUtil(points: Array, originx?: number, originy?: number): PolygonSurfaceStructure; static polygonStructureToPoints(polygonStructure: PolygonSurfaceStructure): Array; } } declare module "sk/frame/logic/scheme/bathroom/BathroomFloorWetWareElementDesignUtil" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { ElementPerformerContext } from 'sk/data/family/performer/element/ElementPerformerContext'; import { BathroomFloorElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorElement'; import { BathroomFloorWetWareElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorWetWareElement'; import { BathroomFloorWetAreaDesignData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/floordesign/floorwetdesign/BathroomFloorWetAreaDesignData"; import { FloorCreateDataInfo } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomCreateDesignData"; import { BathroomDesignContext } from "sk/frame/logic/scheme/bathroom/action/BathroomDesignContext"; export class BathroomFloorWetWareElementDesignUtil { static createFloorWetElementAsync(context: ElementPerformerContext, roomContext: BathroomDesignContext, floorElement: BathroomFloorElement, floorData: FloorCreateDataInfo): Promise; static createFloorWetWareEleAsync(context: ElementPerformerContext, roomContext: BathroomDesignContext, floorElement: BathroomFloorElement, floorDataInfo: FloorCreateDataInfo): Promise; static setBathroomFloorProperty(bathroomFloorWetElement: BathroomFloorWetWareElement, areaDataDesignData: BathroomFloorWetAreaDesignData): void; static createFloorWareElementAsync(context: ElementPerformerContext, roomContext: BathroomDesignContext, floorElement: BathroomFloorWetWareElement): Promise; } } declare module "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/layout/BathroomLayoutDesignCalculator" { import { Curve2 } from 'foundation/runtime/math/Curve2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; export class TilePartData { x: number; y: number; lengthX: number; lengthY: number; rotate: number; type: string; cutlines: Array; constructor(); getPoints(): Array; } export class TileData { location: number; length: number; constructor(); } export class TileDatas { datas: Array; constructor(); } export class LayoutPolygon { name: string; points: Array; holes: Array>; constructor(); } export class LayoutInputData { polygon: LayoutPolygon; tileLengthX: number; tileLengthY: number; beginOffsetX: number; beginOffsetY: number; gap: number; endXSlice: number; endYSlice: number; rotation: number; endXJF: boolean; endYJF: boolean; reverseX: boolean; reverseY: boolean; isSlice: boolean; standard: number; xMain: boolean; yMain: boolean; modContent: string; constructor(); } export class LayoutOutputData { tiles: Array; constructor(); } export class BathroomLayoutDesignCalculator { constructor(); layoutDataCalculator(inputData: LayoutInputData, isFloor?: boolean): LayoutOutputData; layoutDataCalcutatorByHorizenAndVerticalInfo(horizenLayout: number[], verticalLayout: number[], dir: string): LayoutOutputData; layoutDataCalcutatorHorizen(start: number, end: number, verticalLayout: number[], tileLength: number, gap: number, minLength: number, endJF: boolean, reverse: boolean): TilePartData[]; layoutDataCalcutatorVertical(start: number, end: number, horizonLayout: number[], tileLength: number, gap: number, minLength: number, endJF: boolean, reverse: boolean): TilePartData[]; removeTiles(tileLists: Array, outline: Array): void; removeTilesInnerPolygon(tileLists: Array, outline: Array): void; processOriginPoint(inputData: LayoutInputData, bound: Array): void; layoutCalculator(start: number, end: number, offset: number, tileLength: number, gap: number, minLength: number, endJF: boolean, isFloor?: boolean, mainDir?: boolean): TileDatas; layoutColumn(tileLength: number, gap: number, start: number, end: number, minLength: number, endJF: boolean, revese?: boolean): TileDatas; layoutTiles(xList: TileDatas, yList: TileDatas): Array; sliceTiles(tileList: Array, outline: Array, clipType?: string): void; modRuleLayoutCalculator(inputData: LayoutInputData): LayoutOutputData; modRuleLayoutColumn(modContent: string, gap: number, start: number): TileDatas; } } declare module "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/floordesign/floordrydesign/BathroomFloorDryAreaDesignData" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { BathroomFloorDryElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorDryElement'; import { BathroomDesignContext } from "sk/frame/logic/scheme/bathroom/action/BathroomDesignContext"; import { TilePartData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/layout/BathroomLayoutDesignCalculator"; import { BathroomBaseDesignData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomBaseDesignData"; import { AreaInfo, FloorCreateDataInfo } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomCreateDesignData"; export class LayoutDirectEnum { static leftTop: string; static rightTop: string; static leftDown: string; static rightDown: string; } export class BathroomFloorDryAreaDesignData extends BathroomBaseDesignData { basePlankId: string; tileInfoId: string; tileDirect: string; x: number; y: number; z: number; lengthX: number; lengthY: number; lengthZ: number; outline: Array; basethickness: number; surfaceThickness: number; startX: number; startY: number; offsetX: number; offsetY: number; outlineGap: number; gap: number; type: string; extendOutline: Array; extendX: number; extendY: number; extendStartX: number; extendStartY: number; code: string; name: string; seamThickness: number; floorThickness: number; floorDryModCategory: string; tenantId: string; constructor(); recalculation(roomContext: BathroomDesignContext, floorDataInfo: FloorCreateDataInfo, dryData: AreaInfo): void; getExtendsOutline(gap?: number): Array; caluclateExtendsStartPoint(): Vector2; setFloorDryData(floorDryElement: BathroomFloorDryElement, mark?: boolean): BathroomFloorDryAreaDesignData; layoutOffsetX(parts: Array, gap: number, sliceY: number, offsetX: number): void; layoutOffsetY(parts: Array, gap: number, sliceY: number, offsetY: number): void; reLayoutOneX(parts: Array, gap: number, sliceY: number): void; reLayoutOneY(parts: Array, gap: number, sliceY: number): void; reLayoutTwoX(parts: Array, gap: number, sliceY: number): void; reLayoutTwoY(parts: Array, gap: number, sliceY: number): void; } } declare module "sk/frame/logic/scheme/bathroom/rule/validation/BathroomValidationRuleConfig" { import { Dictionary } from 'cross/runtime/lang/collection/Dictionary'; import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; export class BathroomValidationRuleConfig extends InstanceObject { tenants: Dictionary; items: Dictionary; constructor(); static loadFromConfig(jconfigs: Array): Dictionary>; } export class BathroomValidationRuleConfigTenant extends InstanceObject { id: string; name: string; static loadFromConfig(jconfigs: Array): Dictionary; static create(jconfig: any): BathroomValidationRuleConfigTenant; } export class BathroomValidationRuleConfigItem extends InstanceObject { code: string; name: string; ranges: Array; symbols: Array; constructor(); static loadFromConfig(jconfigs: Array): Dictionary; static create(jconfig: any): BathroomValidationRuleConfigItem; } export class BathroomValidationRuleConfigItmRange extends InstanceObject { min: number; max: number; interval: number; static loadFromConfig(jcontents: Array): Array; private static create; } export class BathroomValidationRuleConfigItmSymbol extends InstanceObject { length: number; width: number; static loadFromConfig(jcontents: Array): Array; private static create; } } declare module "sk/frame/logic/scheme/bathroom/rule/validation/BathroomValidationRuleConfigService" { import { Dictionary } from 'cross/runtime/lang/collection/Dictionary'; import { IContext } from 'cross/runtime/lang/IContext'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { JsonService } from 'cross/core/module/json/JsonService'; import { DataCacheInvoker } from 'foundation/data/common/service/DataCacheInvoker'; import { DataService } from 'foundation/data/common/service/DataService'; import { BathroomValidationRuleConfigItem, BathroomValidationRuleConfigItmRange, BathroomValidationRuleConfigItmSymbol } from "sk/frame/logic/scheme/bathroom/rule/validation/BathroomValidationRuleConfig"; export class BathroomValidationRuleConfigService extends DataService { protected _jsonService: JsonService; getRangeRulesAsync(context: IContext, code: string, tenantId?: string): Promise>>; getSymbolRulesAsync(context: IContext, code: string, tenantId?: string): Promise>>; getRuleItemAsync(context: IContext, code: string, tenantId?: string): Promise>; protected createInvoker(name: string, handleLoadAsync: any, handleGet: any): DataCacheInvoker; protected loadRuleConfigAsync(context: IContext): Promise>>>; protected handleRulesLoadAsync(context: IContext, service: BathroomValidationRuleConfigService, parameters: any): Promise; protected handleRulesGet(context: IContext, parameters: any, content: Array): Dictionary>; } } declare module "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/floordesign/floordrydesign/BathroomFloorDryDesignBuilder" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { ContentElement } from 'sk/data/family/element/brep/ContentElement'; import { ElementPerformerContext } from 'sk/data/family/performer/element/ElementPerformerContext'; import { LayoutTypeEnum } from 'sk/data/family/enumeration/LayoutTypeEnum'; import { BathroomFloorDryElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorDryElement'; import { SchemeConfigService } from 'sk/data/scheme/config/SchemeConfigService'; import { BathroomValidationRuleConfigService } from "sk/frame/logic/scheme/bathroom/rule/validation/BathroomValidationRuleConfigService"; import { LayoutInputData, TilePartData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/layout/BathroomLayoutDesignCalculator"; import { BathroomFloorDryAreaDesignData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/floordesign/floordrydesign/BathroomFloorDryAreaDesignData"; export class BathroomFloorDryDesignBuilder { protected static _schemeConfigService: SchemeConfigService; protected static _configRulerService: BathroomValidationRuleConfigService; static buildDryBaseDataAsync(context: ElementPerformerContext, parent: ContentElement, floorData: BathroomFloorDryAreaDesignData): Promise; static buildDrySeamDataAsync(context: ElementPerformerContext, parent: ContentElement, floorData: BathroomFloorDryAreaDesignData): Promise; static buildDryFaceDataAsync(context: ElementPerformerContext, parent: ContentElement, floorData: BathroomFloorDryAreaDesignData): Promise; static recreateDryFaceDataAsync(context: ElementPerformerContext, parent: ContentElement, floorData: BathroomFloorDryAreaDesignData, layoutType?: LayoutTypeEnum): Promise; static alignGapDryFaceDataAsync(context: ElementPerformerContext, parent: ContentElement): Promise; static layoutTiles(tileLengthX: number, tileLengthY: number, outline: Array, beginOffsetX: number, beginOffsetY: number, endXSlice: number, endYSlice: number, endXJF: boolean, endYJF: boolean, gap?: number): Array; static modRuleLayoutTiles(modContent: string, tileLengthY: number, outline: Array, endYSlice: number, endYJF: boolean, gap?: number): Array; static checkMainDir(input: LayoutInputData, beginOffsetX: number, beginOffsetY: number): void; static layoutTilesNoSlice(tileLengthX: number, tileLengthY: number, outline: Array, beginOffsetX: number, beginOffsetY: number, endXSlice: number, endYSlice: number, endXJF: boolean, endYJF: boolean, gap?: number): Array; static modRuleFaceLayout(context: ElementPerformerContext, outline: Vector2[], floorDryElement: BathroomFloorDryElement, floorDryData: BathroomFloorDryAreaDesignData, tileLengthY: number, minLengthY: number): Promise; protected static meetWorkFaceRuleCheckAsync(floorDryData: BathroomFloorDryAreaDesignData): Promise; protected static patternModContentsAsync(context: ElementPerformerContext, floorDryData: BathroomFloorDryAreaDesignData): Promise; } } declare module "sk/frame/logic/scheme/bathroom/util/BathroomFloorDryElementDesignUtil" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { ContainerElement } from 'sk/data/family/element/instance/ContainerElement'; import { ElementPerformerContext } from 'sk/data/family/performer/element/ElementPerformerContext'; import { LayoutTypeEnum } from 'sk/data/family/enumeration/LayoutTypeEnum'; import { BathroomFloorDryElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorDryElement'; import { BathroomFloorElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorElement'; import { BathroomWallElement } from 'sk/data/scheme/database/pattern/element/BathroomWallElement'; import { BathroomFloorDryAreaDesignData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/floordesign/floordrydesign/BathroomFloorDryAreaDesignData"; import { FloorCreateDataInfo } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomCreateDesignData"; import { BathroomDesignContext } from "sk/frame/logic/scheme/bathroom/action/BathroomDesignContext"; export class BathroomFloorDryElementDesignUtil { static createFloorDryElementAsync(context: ElementPerformerContext, roomContext: BathroomDesignContext, floorElement: BathroomFloorElement, floorData: FloorCreateDataInfo): Promise; static createFloorDryEleAsync(context: ElementPerformerContext, roomContext: BathroomDesignContext, floorElement: BathroomFloorElement, floorDataInfo: FloorCreateDataInfo): Promise; static replaceBathroomFloorDryElementsAsync(context: ElementPerformerContext, bathroomFloorDryElement: BathroomFloorDryElement): Promise; static updateBathroomFloorDryElementsAsync(context: ElementPerformerContext, floorDryElement: BathroomFloorDryElement, layoutType?: LayoutTypeEnum): Promise; static alignGapBathroomFloorDryElementsAsync(context: ElementPerformerContext, floor: BathroomFloorDryElement, curWall: BathroomWallElement): Promise; static searchChildrenAndChangeHeight(element: any, height: number): void; static updateAssembleBathroomDryFloorSeamWidthAsync(context: ElementPerformerContext, seamElement: any, layoutType?: LayoutTypeEnum): Promise; static setSeamData(floorDryElement: BathroomFloorDryElement): BathroomFloorDryAreaDesignData; static setBathroomFloorProperty(bathroomFloorDryElement: BathroomFloorDryElement, areaDataDesignData: BathroomFloorDryAreaDesignData): void; static createFloorDryContainerElement(floorDryElement: BathroomFloorDryElement): ContainerElement; static createFloorDryBaseElementAsync(context: ElementPerformerContext, parent: ContainerElement, floorData: BathroomFloorDryAreaDesignData): Promise; static createFloorDrySeamElementAsync(context: ElementPerformerContext, parent: ContainerElement, floorData: BathroomFloorDryAreaDesignData): Promise; static createFloorDryFaceElementAsync(context: ElementPerformerContext, parent: ContainerElement, floorData: BathroomFloorDryAreaDesignData): Promise; } } declare module "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/floordesign/floorwetdesign/BathroomFloorWetDesignBuilder" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { ContentElement } from 'sk/data/family/element/brep/ContentElement'; import { ElementPerformerContext } from 'sk/data/family/performer/element/ElementPerformerContext'; import { LayoutTypeEnum } from 'sk/data/family/enumeration/LayoutTypeEnum'; import { BathroomFloorWetElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorWetElement'; import { SchemeConfigService } from 'sk/data/scheme/config/SchemeConfigService'; import { BathroomValidationRuleConfigService } from "sk/frame/logic/scheme/bathroom/rule/validation/BathroomValidationRuleConfigService"; import { TilePartData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/layout/BathroomLayoutDesignCalculator"; import { BathroomFloorWetAreaDesignData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/floordesign/floorwetdesign/BathroomFloorWetAreaDesignData"; export class BathroomFloorWetDesignBuilder { protected static _schemeConfigService: SchemeConfigService; protected static _configRulerService: BathroomValidationRuleConfigService; static buildWetBaseDataAsync(context: ElementPerformerContext, parent: ContentElement, wetData: BathroomFloorWetAreaDesignData): Promise; static buildWetFaceDataAsync(context: ElementPerformerContext, parent: ContentElement, wetData: BathroomFloorWetAreaDesignData): Promise; static buildWetSeamDataAsync(context: ElementPerformerContext, parent: ContentElement, wetData: BathroomFloorWetAreaDesignData): Promise; static recreateWetFaceDataAsync(context: ElementPerformerContext, parent: ContentElement, wetData: BathroomFloorWetAreaDesignData, layoutType?: LayoutTypeEnum): Promise; static layoutTiles(tileLengthX: number, tileLengthY: number, outline: Array, beginOffsetX: number, beginOffsetY: number, endXSlice: number, endYSlice: number, endXJF: boolean, endYJF: boolean, gap?: number): Array; static modRuleLayoutTiles(modContent: string, tileLengthY: number, outline: Array, endYSlice: number, endYJF: boolean, gap?: number): Array; static modRuleFaceLayout(context: ElementPerformerContext, outline: Vector2[], floorWetElement: BathroomFloorWetElement, floorWetData: BathroomFloorWetAreaDesignData, tileLengthY: number, minLengthY: number): Promise; protected static meetWorkFaceRuleCheckAsync(floorWetData: BathroomFloorWetAreaDesignData): Promise; protected static patternModContentsAsync(context: ElementPerformerContext, floorWetData: BathroomFloorWetAreaDesignData): Promise; } } declare module "sk/frame/logic/scheme/bathroom/util/BathroomFloorWetElementDesignUtil" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { ContainerElement } from 'sk/data/family/element/instance/ContainerElement'; import { ElementPerformerContext } from 'sk/data/family/performer/element/ElementPerformerContext'; import { BuildStructureTypeEnum } from 'sk/data/family/enumeration/BuildStructureTypeEnum'; import { LayoutTypeEnum } from 'sk/data/family/enumeration/LayoutTypeEnum'; import { BathroomFloorElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorElement'; import { BathroomFloorWetElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorWetElement'; import { BathroomFloorWetAreaDesignData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/floordesign/floorwetdesign/BathroomFloorWetAreaDesignData"; import { FloorCreateDataInfo } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomCreateDesignData"; import { BathroomDesignContext } from "sk/frame/logic/scheme/bathroom/action/BathroomDesignContext"; export class BathroomFloorWetElementDesignUtil { static createFloorWetElementAsync(context: ElementPerformerContext, roomContext: BathroomDesignContext, floorElement: BathroomFloorElement, floorData: FloorCreateDataInfo): Promise; static createFloorWetEleAsync(context: ElementPerformerContext, roomContext: BathroomDesignContext, floorElement: BathroomFloorElement, floorDataInfo: FloorCreateDataInfo): Promise; static replaceBathroomFloorWetElementsAsync(context: ElementPerformerContext, bathroomFloorWetElement: BathroomFloorWetElement): Promise; static updateBathroomFloorWetElementsAsync(context: ElementPerformerContext, floorWetElement: BathroomFloorWetElement, calcualteType?: BuildStructureTypeEnum, layoutType?: LayoutTypeEnum): Promise; static setSeamData(floorDryElement: BathroomFloorWetElement): BathroomFloorWetAreaDesignData; static updateAssembleBathroomWetFloorSeamWidthAsync(context: ElementPerformerContext, seamElement: any, layoutType?: LayoutTypeEnum): Promise; static updateAssembleBathroomFloorHeight(floorElement: BathroomFloorWetElement, finshedHeight: number): ResultObject; static searchChildrenAndChangeHeight(element: any, height: number): void; static setBathroomFloorProperty(bathroomFloorWetElement: BathroomFloorWetElement, areaDataDesignData: BathroomFloorWetAreaDesignData): void; static createFloorWetContainerElement(floorWetElement: BathroomFloorWetElement): ContainerElement; static createFloorWetBaseElementAsync(context: ElementPerformerContext, floorWetPlankElement: ContainerElement, floorData: BathroomFloorWetAreaDesignData): Promise; static createFloorWetFaceElementAsync(context: ElementPerformerContext, floorWetPlankElement: ContainerElement, floorData: BathroomFloorWetAreaDesignData): Promise; static createFloorWetSeamElementAsync(context: ElementPerformerContext, parent: ContainerElement, floorData: BathroomFloorWetAreaDesignData): Promise; } } declare module "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/floordesign/floorwetdesign/BathroomFloorWetSlotAreaDesignData" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { BathroomFloorWetSlotElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorWetSlotElement'; import { BathroomDesignContext } from "sk/frame/logic/scheme/bathroom/action/BathroomDesignContext"; import { BathroomBaseDesignData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomBaseDesignData"; import { AreaInfo, FloorCreateDataInfo } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomCreateDesignData"; export class BathroomFloorWetSlotAreaDesignData extends BathroomBaseDesignData { basePlankId: string; tileInfoId: string; x: number; y: number; z: number; lengthX: number; lengthY: number; lengthZ: number; polygon: Vector2[]; basethickness: number; surfaceThickness: number; floorEdgeThickness: number; startX: number; startY: number; outlineGap: number; gap: number; type: string; outline: Array; localOutline: Vector2[]; extendOutline: Array; localExtendOutline: Array; seamThickness: number; code: string; name: string; offsetX: number; offsetY: number; floorThickness: number; rotation: number; constructor(); recalculation(roomContext: BathroomDesignContext, floorDataInfo: FloorCreateDataInfo, areData: AreaInfo): void; getLocalPolygon(): void; rebuildFromElement(bathroomFloorWetElement: BathroomFloorWetSlotElement): void; setFloorWetData(floorWetElement: BathroomFloorWetSlotElement): BathroomFloorWetSlotAreaDesignData; } } declare module "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/floordesign/floorwetdesign/BathroomFloorWetSlotDesignBuilder" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { ContentElement } from 'sk/data/family/element/brep/ContentElement'; import { ElementPerformerContext } from 'sk/data/family/performer/element/ElementPerformerContext'; import { BathroomFloorWetSlotElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorWetSlotElement'; import { TilePartData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/layout/BathroomLayoutDesignCalculator"; import { BathroomFloorWetSlotAreaDesignData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/floordesign/floorwetdesign/BathroomFloorWetSlotAreaDesignData"; export enum SlotName { BasePlank = "\u6DCB\u6D74\u533A\u57FA\u5C42\u80CC\u677F", FacePlank = "\u6DCB\u6D74\u533A\u9762\u5C42", FaceStrone = "\u6DCB\u6D74\u533A\u9762\u5C42\u5927\u7406\u77F3", FaceSlot = "\u6DCB\u6D74\u533A\u9762\u5C42\u77F3\u69FD", FaceDrain = "\u6DCB\u6D74\u533A\u5730\u6F0F", SeamPlank = "\u6E7F\u533A\u7F8E\u7F1D\u80CC\u677F", Hole = "\u62C9\u69FD\u5927\u7406\u77F3\u6D1E" } export class BathroomFloorWetSlotDesignBuilder { static buildWetBaseDataAsync(context: ElementPerformerContext, parent: ContentElement, wetData: BathroomFloorWetSlotAreaDesignData): Promise; static buildWetFaceDataAsync(context: ElementPerformerContext, parent: ContentElement, wetData: BathroomFloorWetSlotAreaDesignData): Promise; static buildWetFaceDataAsyncAbandon(context: ElementPerformerContext, parent: ContentElement, wetData: BathroomFloorWetSlotAreaDesignData): Promise; static convertPointsRelativeOrigin(points: Array, origin: Vector2): Array; static extendPolygonByElement(outLine: Vector2[], wetSlotElement: BathroomFloorWetSlotElement): Vector2[]; static buildWetStronDataAsync(context: ElementPerformerContext, parent: ContentElement, wetData: BathroomFloorWetSlotAreaDesignData): Promise; static buildWetDrainDataAsync(context: ElementPerformerContext, parent: ContentElement, wetData: BathroomFloorWetSlotAreaDesignData): Promise; static findPolygonUpSideMiddleX(polygon: Vector2[], yvalue: number): number; static buildWetSeamDataAsync(context: ElementPerformerContext, parent: ContentElement, wetData: BathroomFloorWetSlotAreaDesignData): Promise; static layoutTiles(tileLengthX: number, tileLengthY: number, outline: Array, beginOffsetX: number, beginOffsetY: number, endXSlice: number, endYSlice: number, endXJF: boolean, endYJF: boolean, gap?: number): Array; } } declare module "sk/frame/logic/scheme/bathroom/util/BathroomFloorWetSlotElementDesignUtil" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { ContainerElement } from 'sk/data/family/element/instance/ContainerElement'; import { ElementPerformerContext } from 'sk/data/family/performer/element/ElementPerformerContext'; import { BuildStructureTypeEnum } from 'sk/data/family/enumeration/BuildStructureTypeEnum'; import { BathroomFloorElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorElement'; import { BathroomFloorWetSlotElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorWetSlotElement'; import { BathroomFloorWetSlotAreaDesignData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/floordesign/floorwetdesign/BathroomFloorWetSlotAreaDesignData"; import { FloorCreateDataInfo } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomCreateDesignData"; import { BathroomDesignContext } from "sk/frame/logic/scheme/bathroom/action/BathroomDesignContext"; export class BathroomFloorWetSlotElementDesignUtil { static createFloorWetElementAsync(context: ElementPerformerContext, roomContext: BathroomDesignContext, floorElement: BathroomFloorElement, floorData: FloorCreateDataInfo): Promise; static createFloorWetEleAsync(context: ElementPerformerContext, roomContext: BathroomDesignContext, floorElement: BathroomFloorElement, floorDataInfo: FloorCreateDataInfo): Promise; static replaceBathroomFloorWetElementsAsync(context: ElementPerformerContext, bathroomFloorWetElement: BathroomFloorWetSlotElement): Promise; static updateBathroomFloorWetElementsAsync(context: ElementPerformerContext, floorWetElement: BathroomFloorWetSlotElement, calcualteType?: BuildStructureTypeEnum): Promise; static setSeamData(floorDryElement: BathroomFloorWetSlotElement): BathroomFloorWetSlotAreaDesignData; static updateAssembleBathroomWetFloorSeamWidthAsync(context: ElementPerformerContext, WetSlotElement: any): Promise; static updateAssembleBathroomFloorHeight(floorElement: BathroomFloorWetSlotElement, finshedHeight: number): ResultObject; static searchChildrenAndChangeHeight(element: any, height: number): void; static setBathroomFloorProperty(bathroomFloorWetElement: BathroomFloorWetSlotElement, areaDataDesignData: BathroomFloorWetSlotAreaDesignData): void; static createFloorWetContainerElement(floorWetElement: BathroomFloorWetSlotElement): ContainerElement; static createFloorWetBaseElementAsync(context: ElementPerformerContext, floorWetPlankElement: ContainerElement, floorData: BathroomFloorWetSlotAreaDesignData): Promise; static createFloorWetFaceElementAsync(context: ElementPerformerContext, floorWetPlankElement: ContainerElement, floorData: BathroomFloorWetSlotAreaDesignData): Promise; static createFloorWetSeamElementAsync(context: ElementPerformerContext, parent: ContainerElement, floorData: BathroomFloorWetSlotAreaDesignData): Promise; } } declare module "sk/frame/logic/scheme/bathroom/util/BathroomWareElementDesignUtil" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { WareElement } from 'sk/data/family/element/instance/WareElement'; import { ElementPerformerContext } from 'sk/data/family/performer/element/ElementPerformerContext'; import { BuildStructureTypeEnum } from 'sk/data/family/enumeration/BuildStructureTypeEnum'; import { BathroomFloorElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorElement'; import { FloorCreateDataInfo } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomCreateDesignData"; import { BathroomDesignContext } from "sk/frame/logic/scheme/bathroom/action/BathroomDesignContext"; export class BathroomWareElementDesignUtil { static createFloorSMCElementAsync(context: ElementPerformerContext, roomContext: BathroomDesignContext, floorElement: BathroomFloorElement, floorDataInfo: FloorCreateDataInfo): Promise; static updateBathroomWareElementsAsync(context: ElementPerformerContext, SMC: WareElement, calcualteType?: BuildStructureTypeEnum): Promise; } } declare module "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/floordesign/waterbardesign/BathroomWaterBarDesignData" { import { WaterInterBarLayoutData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomCreateDesignData"; export class BathroomWaterBarDesignData { x: number; y: number; z: number; lengthX: number; lengthY: number; rotationZ: number; name: string; constructor(waterData: WaterInterBarLayoutData, zValue: number); } } declare module "sk/frame/logic/scheme/bathroom/util/BathroomWaterBarElementDesignUtil" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { ContainerElement } from 'sk/data/family/element/instance/ContainerElement'; import { ElementPerformerContext } from 'sk/data/family/performer/element/ElementPerformerContext'; import { BathroomFloorElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorElement'; import { BathroomWaterBarDesignData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/floordesign/waterbardesign/BathroomWaterBarDesignData"; import { FloorCreateDataInfo } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomCreateDesignData"; import { BathroomDesignContext } from "sk/frame/logic/scheme/bathroom/action/BathroomDesignContext"; export class BathroomWaterBarElementDesignUtil { static createFloorWaterBarElementAsync(context: ElementPerformerContext, roomContext: BathroomDesignContext, floorElement: BathroomFloorElement, floorData: FloorCreateDataInfo): Promise; static createContainerElementAsync(context: ElementPerformerContext, roomContext: BathroomDesignContext, floorElement: BathroomFloorElement, waterBarData: BathroomWaterBarDesignData): Promise; static createWaterBarElementAsync(context: ElementPerformerContext, roomContext: BathroomDesignContext, containerElement: ContainerElement, waterBarData: BathroomWaterBarDesignData): Promise; } } declare module "sk/frame/logic/scheme/bathroom/util/BathroomFloorElementDesignUtil" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { ActionResult } from 'foundation/editor/view/action/ActionResult'; import { ElementPerformerContext } from 'sk/data/family/performer/element/ElementPerformerContext'; import { AssembleBathroomElement } from 'sk/data/scheme/database/pattern/element/AssembleBathroomElement'; import { BathroomFloorElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorElement'; import { FloorCreateDataInfo, FloorFamilyInfoData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomCreateDesignData"; import { BathroomDesignContext } from "sk/frame/logic/scheme/bathroom/action/BathroomDesignContext"; export class BathroomFloorElementDesignUtil { static DEFAULT_FINISH: number; static DEFAULT_BASEPLATE_SUPPORT: number; static createBathroomFloorElementAsync(context: ElementPerformerContext, roomContext: BathroomDesignContext, assembleBathroom: AssembleBathroomElement, floorData: FloorCreateDataInfo, floorproductDataInfo: FloorFamilyInfoData): Promise; static updateAssembleBathroomFloorHeight(element: BathroomFloorElement, finshedHeight: number): ActionResult; static createFloorElement(assembleElement: AssembleBathroomElement, roomContext: BathroomDesignContext): BathroomFloorElement; } } declare module "sk/frame/logic/scheme/bathroom/util/BathroomDesignFamilyInfoUtil" { import { ISpecificationFamilyInfo } from 'sk/data/specification/base/ISpecificationFamilyInfo'; import { FamilyInstanceNode } from 'sk/data/family/model/instance/FamilyInstanceNode'; import { WareEntity } from 'sk/editor/scheme/entity/WareEntity'; import { VisionModelEntity } from 'sk/editor/logic/entity/VisionModelEntity'; export class BathroomDesignFamilyInfoUtil { static isCanScaledPlaceholderWareNode(node: WareEntity): boolean; static isPresetWashBasinArea(entity: WareEntity): boolean; static isPresetToiletCloseStoolArea(entity: WareEntity): boolean; static isPresetWetShowerArea(entity: WareEntity): boolean; static isPresetWashArea(entity: WareEntity): boolean; static isPresetToiletArea(entity: WareEntity): boolean; static isPresetWetArea(entity: WareEntity): boolean; static isWallArea(entity: WareEntity): boolean; static isPresetWaterProofBarArea(entity: WareEntity): boolean; static isPresetUserDefinedArea(entity: WareEntity): boolean; static isPresetWashingMachineArea(entity: WareEntity): boolean; static isPresetBathArea(entity: WareEntity): boolean; static isPresetWashAreaByInfo(info: ISpecificationFamilyInfo): boolean; static isPresetToiletAreaByInfo(info: ISpecificationFamilyInfo): boolean; static isPresetWetAreaByInfo(info: ISpecificationFamilyInfo): boolean; static isWallAreaByInfo(info: ISpecificationFamilyInfo): boolean; static isPresetWashWareByInfo(info: ISpecificationFamilyInfo): boolean; static isPresetToiletWareByInfo(info: ISpecificationFamilyInfo): boolean; static isPresetWetWareByInfo(info: ISpecificationFamilyInfo): boolean; static isPlaceholderWareNode(node: FamilyInstanceNode): boolean; static isPartArea(node: FamilyInstanceNode): boolean; static isDoorholeWareNode(node: FamilyInstanceNode): boolean; static isShowerWareNode(node: FamilyInstanceNode): boolean; static isClosestoolWareNode(node: FamilyInstanceNode): boolean; static isBasinWareNode(node: FamilyInstanceNode): boolean; static isCircleCutHole(entity: WareEntity): boolean; static isSquareCutHole(entity: WareEntity): boolean; static isCutHole(entity: WareEntity): boolean; static isBathroomFloorWetWarePart(entity: VisionModelEntity): boolean; static isBathroomFloorDrySectionLine(entity: WareEntity): boolean; } } declare module "sk/frame/logic/scheme/bathroom/util/BathroomLayoutConvertUtil" { import { Bound2 } from 'foundation/runtime/math/Bound2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { AreaPolygonNode } from 'sk/data/family/model/brep/area/AreaPolygonNode'; import { InstanceElement } from 'sk/data/family/element/base/InstanceElement'; import { BrepElement } from 'sk/data/family/element/brep/BrepElement'; import { BathroomLayoutAreaElement } from 'sk/data/family/element/instance/BathroomLayoutAreaElement'; import { BathroomLayoutAreaNode } from 'sk/data/family/model/instance/BathroomLayoutAreaNode'; import { RoomNode } from 'sk/data/scheme/database/floorplan/model/RoomNode'; import { SchemeWorkflowOptions } from 'sk/data/scheme/service/SchemeDocumentService'; export class BathroomLayoutConvertUtil { static createAreaContainer(parent: InstanceElement, name: string, code: string): BathroomLayoutAreaElement; static getBathroomLayout(room: RoomNode): BathroomLayoutAreaNode; static convertPointsRelativeOrigin(points: Array, origin: Vector2): Array; static convertSinglePointReleativeOrigin(point: Vector2, origin: Vector2): Vector2; static getBound2OfPolygon(points: Vector2[]): Bound2; static getCompleteLineNode(room: RoomNode): AreaPolygonNode; static createCompleteLinesNode(room: RoomNode): AreaPolygonNode; static computeWorkflowVison(element?: BrepElement, options?: SchemeWorkflowOptions): void; } } declare module "sk/frame/logic/scheme/bathroom/util/BathroomLayoutInfoConvert" { import { Line2 } from 'foundation/runtime/math/Line2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { HoleStructure } from 'foundation/data/common/structure/HoleStructure'; import { RoomNode } from 'sk/data/scheme/database/floorplan/model/RoomNode'; import { BathroomWallElement } from 'sk/data/scheme/database/pattern/element/BathroomWallElement'; import { BathroomWallNode } from 'sk/data/scheme/database/pattern/node/BathroomWallNode'; import { WareEntity } from 'sk/editor/scheme/entity/WareEntity'; import { BathroomCreateDesignData, WallWaterInletData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomCreateDesignData"; export class BathroomDesignSetupParams { floorFinish: number; ceilingSpace: number; heightRule: boolean; constructor(floorFinish: number, ceilingSpace: number); } export class BathroomLayoutInfoConvert { private wetAreaNodes; private userdefinedAreaNodes; private waterBarNodes; private wallNodes; private showerNodes; private closestoolNodes; private basinNodes; private wetAreaInfo; private waterBarInfo; private wallAreaInfo; private completeLines; private bound2Completelines; private bathroomPosition; private floorOutlines; private wetOutlines; private waterBarOutlines; private dryOutlines; private wallPlaceholderOutlines; private room; private floorSink; private floorFnish; private ceilingSpace; private heightRule; private tolerance; private showerInletOffset; private holeRaidus; constructor(); convertLayoutInfoToCreateData(room: RoomNode, params?: BathroomDesignSetupParams): BathroomCreateDesignData; getWallHoleDataGroupByBathroomWallElment(wall: BathroomWallElement): Array>; getWaterHoleInfoByLayoutAreaAndBathroomWall(area: WareEntity, wall: BathroomWallNode): { isAreaNearWall: boolean; waterHoleInfo: HoleStructure[]; }; getPreAndNextWallElement(wall: BathroomWallElement): { preWall: BathroomWallElement; nextWall: BathroomWallElement; }; private getBathroomWallOutline; private getRoomByBathroomWall; private getHoleDataFromOutLine; private isSameSegment; private getCurWallLine; private getWallByWallLine; private setParms; static convertPositionWorldToAssembleBathroom(entity: WareEntity): Vector2; private findAllAreaNode; private createBathroomData; private getZBySinkHeight; private getSinkHeight; private getValidSpaceHeight; private getCeilingPartHeight; private getCeilingParts; private getMaxHeightCeilingPart; private createFloorData; private createWallData; private createCeilingData; private createDataFromAreaNode; private createDataFromUserAreaNode; private createWetData; private createWaterBarData; private createDryData; private createAreaDataFromOutlines; private createCeilingAreaData; private createWaterBarDataFromAreaNode; private createDataFromWareNode; private createWaterBarDataFromDoorHole; private createWallLinesFromOutline; private isInnerLine; private createHoleDataFromRoomNode; private mapHoleDataToWallLine; private storeOutDoorHoleData; private adjustHoleDirection; private createHoleDataFromWallAreaNode; private createShowerInletHole; getShowerInletHoleData(shower: WareEntity, lineWall: Line2): WallWaterInletData; private computeShowerInletHoleData; private createToiletInletHole; getToiletInletHoleData(closestool: WareEntity, lineWall: Line2): WallWaterInletData; private computeToiletInletHoleData; private createBasinInletHole; private getBasinInletHoleData; private computeBasinInletHoleData; private dealWithInletWaterHoleInfo; private convertWaterHoleToHoleStructure; private createIndoorHoles; private createIndoorHolesDataFromDoorNode; private getFaucetPartEntity; private getInletHorizenPosition; private getWorldInletHorizenPosition; private findWallLineWithPartArea; private findLinePart; private makePointsClockwiseAndLeftUpFirst; private swapArrayVector2; private segmentInSegment; private parraPointToWallLine; private getInletOffsetInfoFromPartArea; private getInletRadiusInfoFromPartArea; private getInletSpacetInfoFromPartArea; private getInletHeightInfoFromPartArea; private createInletHoleData; private getHoleType; private createHoleData; private getHoleCenterLine; private convertLine2ToLocalPosition; private getParrallelAreaLines; private discardOutofProjectionOfCenterLine; private isPointProjectionBetweenSegment; private findClosetWallLineFromHole; private getPointProjectionToLine; private computeSegmentIntersection; private checkPointBetweenLine; private static getDistancePointToLine; private creatDoorHoleTowall; private buildDoorLines; private findWallLineContainsDoor; private setDoorHoleData; private filterDoorLines; private fixedOutlineDataPresice; } } declare module "sk/frame/logic/scheme/bathroom/util/BathroomWallElementCodeUtil" { import { Line2 } from 'foundation/runtime/math/Line2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { AssembleBathroomElement } from 'sk/data/scheme/database/pattern/element/AssembleBathroomElement'; import { BathroomElement } from 'sk/data/scheme/database/pattern/element/BathroomElement'; import { BathroomWallElement } from 'sk/data/scheme/database/pattern/element/BathroomWallElement'; import { BathroomCreateDesignData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomCreateDesignData"; export class WallCodeData { code: string; walls: Array; begin: Vector2; end: Vector2; constructor(); } export class BathroomWallElementCodeUtil { static wallCodeByBathroomNode(bathroomElement: BathroomElement, bathData: BathroomCreateDesignData): Array; static wallCodeByBathroomNode2(bathroomElement: BathroomElement, bathData: BathroomCreateDesignData): void; static sortWallByNameCode(assembleRoom: AssembleBathroomElement): void; private static findWallElementFromLine; private static wallCodeInSpace; private static wallCode; private static getDistancePointToLine; static wallCodePP(wallCodeDatas: Array): void; static computeALine(outline: Array, doorPos: Vector2, doorLine: Line2): Line2; static findElement(wallElements: Array, from: Vector2, to: Vector2): any; static computeWallCode(walls: Array, line: Line2): Array; } } declare module "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/walldesign/BathroomWallDesignData" { import { Line2 } from 'foundation/runtime/math/Line2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { AssembleBathroomElement } from 'sk/data/scheme/database/pattern/element/AssembleBathroomElement'; import { BathroomWallElement } from 'sk/data/scheme/database/pattern/element/BathroomWallElement'; import { BathroomDesignContext } from "sk/frame/logic/scheme/bathroom/action/BathroomDesignContext"; import { TilePartData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/layout/BathroomLayoutDesignCalculator"; import { AreaSingleLine, BathroomData, WallAreaLine, WallCreateDataInfo, WallFamilyInfoData, WallHoleData, WallWaterInletData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomCreateDesignData"; export class AreaData { polygon: Vector2[]; lenghtX: number; lenghtY: number; lenghtZ: number; } export class InDoorHoleData { x: number; y: number; z: number; lengthX: number; lengthY: number; lengthZ: number; rotationZ: number; name: string; constructor(indoorHole: WallHoleData); } export class BathroomWallBaseTransformData { x: number; lengthX: number; constructor(); } export class BathroomWallDesignData { static DEFAULT_CREVICE_WIDTH: number; static DEFAULT_SIDE_PLANK_MIN_WIDTH: number; static DEFAULT_THINESS: number; static DEFAULT_BASETHINESS: number; static DEFAULT_SURFACETHINESS: number; static DEFAULT_FLOOREDGETHINESS: number; element: BathroomWallElement; xx: number; yy: number; zz: number; lengthX: number; lengthY: number; lengthZ: number; rotationX: number; rotationY: number; rotationZ: number; prevWallpoints: Array; currentWallpoints: Array; nextWallpoints: Array; baseThickness: number; surfaceThickness: number; floorEdgeThickness: number; thickness: number; dir: Vector2; normal: Vector2; holes: Array; inletWaterHoles: Array; name: string; code: string; startX: number; startY: number; doorCenter: Vector2; wallOutline: Line2; gap: number; type: string; lineType: string; faceInfoId: string; baseInfoId: string; seamInfoId: string; tileLengthX: number; tileLengthY: number; offsetX: number; offsetY: number; ceilingz: number; tileDirect: string; tileDivideType: string; baseTransformData: BathroomWallBaseTransformData; seamExtend: number; heightRule: boolean; wallModCategory: string; tenantId: string; constructor(); getPoints(): void; recalculationXYZ(wallDataInfo: WallCreateDataInfo, areaSingleline: AreaSingleLine, roomContext: BathroomDesignContext, bathroomDataInfo: BathroomData, assembleBathroom: AssembleBathroomElement): void; recalculateBaseTransformData(lineLast: AreaSingleLine, lineCur: AreaSingleLine, lineNext: AreaSingleLine): void; private isouterCorner; internalCornerWall(wallAreaLine: WallAreaLine, thicknesses: number): void; build(createData: WallCreateDataInfo, wallProductData: WallFamilyInfoData): BathroomWallDesignData; rebuildFromElement(wallElement: BathroomWallElement): BathroomWallDesignData; updateWallData(wallElement: BathroomWallElement): BathroomWallDesignData; updateFromProductData(wallProductData: WallFamilyInfoData): BathroomWallDesignData; layoutOffsetX(parts: Array, gap: number, sliceY: number, offsetX: number): void; reLayoutOne(parts: Array, gap: number, sliceY: number): void; reLayoutTwo(parts: Array, gap: number, sliceY: number): void; reverseData(parts: Array, gap: number, sliceY: number): void; getDoorHoleCenter(bathroomWallDesignData: BathroomWallDesignData): void; } } declare module "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/walldesign/BathroomWallDesignBuilder" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { SectionSurface } from 'foundation/runtime/geometry/surface/SectionSurface'; import { Surface } from 'foundation/runtime/geometry/Surface'; import { ISpecificationFamilyInfo } from 'sk/data/specification/base/ISpecificationFamilyInfo'; import { ContentElement } from 'sk/data/family/element/brep/ContentElement'; import { ElementPerformerContext } from 'sk/data/family/performer/element/ElementPerformerContext'; import { SchemeConfigService } from 'sk/data/scheme/config/SchemeConfigService'; import { BathroomValidationRuleConfigService } from "sk/frame/logic/scheme/bathroom/rule/validation/BathroomValidationRuleConfigService"; import { TilePartData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/layout/BathroomLayoutDesignCalculator"; import { AreaInfo, ContentBase } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomCreateDesignData"; import { BathroomWallDesignData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/walldesign/BathroomWallDesignData"; export class BathroomWallDesignBuilder { protected static _schemeConfigService: SchemeConfigService; protected static _configRulerService: BathroomValidationRuleConfigService; static buildWallBaseDataAsync(context: ElementPerformerContext, parent: ContentElement, bathroomWallDesignData: BathroomWallDesignData): Promise; static buildWallSeamDataAsync(context: ElementPerformerContext, parent: ContentElement, bathroomWallDesignData: BathroomWallDesignData, decorate?: any): Promise; static buildWallHoleDataAsync(context: ElementPerformerContext, parent: ContentElement, info: ISpecificationFamilyInfo): Promise; static computeStartPoint(bathroomWallDesignData: BathroomWallDesignData): Vector2; static buildWallFaceDataAsync(context: ElementPerformerContext, parent: ContentElement, bathroomWallDesignData: BathroomWallDesignData): Promise; static meetWallWorkFaceRulerCheckAsync(bathroomWallDesignData: BathroomWallDesignData): Promise; static wallPatternModContentsAsync(context: ElementPerformerContext, bathroomWallDesignData: BathroomWallDesignData): Promise; static rebuildWallFaceDataAsync(context: ElementPerformerContext, parent: ContentElement, bathroomWallDesignData: BathroomWallDesignData): Promise; static freeRebuildWallFaceDataAsync(context: ElementPerformerContext, parent: ContentElement, bathroomWallDesignData: BathroomWallDesignData): Promise; static createSectionSurfaceByPoints(points: any): SectionSurface; static computeTileSurfaceIntersectTargetSurface(tileSurface: SectionSurface[], layoutSurface: Surface, openingSurfaces: Surface[]): any; static modRebuildWallFaceDataAsync(context: ElementPerformerContext, parent: ContentElement, bathroomWallDesignData: BathroomWallDesignData): Promise; static flexRebuildWallFaceDataAsync(context: ElementPerformerContext, parent: ContentElement, bathroomWallDesignData: BathroomWallDesignData): Promise; private static groupAreas; private static layoutAreas; private static modLayoutAreas; static alignGapWallFaceDataAsync(context: ElementPerformerContext, parent: ContentElement, bathroomWallDesignData: BathroomWallDesignData, gapPoints: Array): Promise; private static processFloorAreas; static buildTilesByPartsAsync(context: ElementPerformerContext, parent: ContentElement, infoId: string, tiles: Array, bathroomWallDesignData?: BathroomWallDesignData): Promise; static layoutTiles(tileLengthX: number, tileLengthY: number, outline: Array, beginOffsetX: number, beginOffsetY: number, endXSlice: number, endYSlice: number, endXJF: boolean, endYJF: boolean, gap?: number, reverseX?: boolean, reverseY?: boolean): Array; static modRuleLayoutTiles(modContent: string, tileLengthY: number, outline: Array, endYSlice: number, endYJF: boolean, gap?: number): Array; static divideWallFaceData(bathroomWallDesignData: BathroomWallDesignData): Array; static wholeWallFaceData(bathroomWallDesignData: BathroomWallDesignData): AreaInfo; static getBathroomWallOutline(bathroomWallDesignData: BathroomWallDesignData): Vector2[][]; static clipHoles(bathroomWallDesignData: BathroomWallDesignData, parts: TilePartData[]): void; private static getWallPartOutLine; static wallHolesDataProcess(bathroomWallDesignData: BathroomWallDesignData, areas: Array): void; private static edgeNearProcessLengthX; private static isWindowArea; private static isHoleNearWallOutline; static isDoor(areas: Array): boolean; } } declare module "sk/frame/logic/scheme/bathroom/util/BathroomWallElementUpdateUtil" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { BoundaryBox } from 'foundation/data/common/model/base/BoundaryBox'; import { PlaneSurfaceElement } from 'sk/data/family/element/instance/PlaneSurfaceElement'; import { ElementPerformerContext } from 'sk/data/family/performer/element/ElementPerformerContext'; import { PlankElement } from 'sk/data/scheme/database/furniture/element/PlankElement'; import { PlankNode } from 'sk/data/scheme/database/furniture/model/PlankNode'; import { BathroomCeilingElement } from 'sk/data/scheme/database/pattern/element/BathroomCeilingElement'; import { BathroomWallElement } from 'sk/data/scheme/database/pattern/element/BathroomWallElement'; import { AssembleBathroomNode } from 'sk/data/scheme/database/pattern/node/AssembleBathroomNode'; import { BathroomCeilingNode } from 'sk/data/scheme/database/pattern/node/BathroomCeilingNode'; import { BathroomWallNode } from 'sk/data/scheme/database/pattern/node/BathroomWallNode'; import { SchemeElementPerformerContext } from 'sk/data/scheme/performer/element/SchemeElementPerformerContext'; export class BathroomWallElementUpdateUtil { static updateBathroomWallElementAsync(context: ElementPerformerContext, entity: BathroomWallNode): Promise; static searchChildrenByType(element: any, target?: Array): Array; static bathroomCeilingDropChangeWalls(entity: BathroomCeilingNode): Promise; static clearBathroomWallOutline(element: BathroomCeilingElement): Promise; static bathroomCeilingDropChangeWall(context: SchemeElementPerformerContext, bathroomWall: BathroomWallNode): Promise; static bathroomCeilingDropChangeWallOutline(bathroomWall: BathroomWallNode): void; static bathroomCeilingDropCutWallPlank(assembleBathroomNode: AssembleBathroomNode): void; static bathroomCeilingDropCutWallPlankByBathroomWallElement(bathroomWallElement: BathroomWallElement): void; static slicePlank(plank: PlankNode, outline: Array): void; static removeTiles(plank: PlankNode, outline: Array): void; static slicePlankByElement(plankElement: PlankElement, outline: Array): void; static getDrapedPlanksBox(entity: BathroomCeilingNode): BoundaryBox[]; private static isBoxCrossoverBoxs; private static getBathroomWallPlane; private static getPorjectPoint; private static convertCoord; private static adaptWallExpends; private static lineToBox; private static boxToWallPolygon; } } declare module "sk/frame/logic/scheme/bathroom/util/BathroomWallElementDesignUtil" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { ContainerElement } from 'sk/data/family/element/instance/ContainerElement'; import { ElementPerformerContext } from 'sk/data/family/performer/element/ElementPerformerContext'; import { LayoutTypeEnum } from 'sk/data/family/enumeration/LayoutTypeEnum'; import { PlankElement } from 'sk/data/scheme/database/furniture/element/PlankElement'; import { AssembleBathroomElement } from 'sk/data/scheme/database/pattern/element/AssembleBathroomElement'; import { BathroomWallElement } from 'sk/data/scheme/database/pattern/element/BathroomWallElement'; import { SchemeDocument } from 'sk/data/scheme/model/SchemeDocument'; import { BathroomWallDesignData, InDoorHoleData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/walldesign/BathroomWallDesignData"; import { BathroomCreateDesignData, BathroomData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomCreateDesignData"; import { BathroomDesignContext } from "sk/frame/logic/scheme/bathroom/action/BathroomDesignContext"; export class BathroomWallElementDesignUtil { document: SchemeDocument; static createBathroomWallElementAsync(context: ElementPerformerContext, roomContext: BathroomDesignContext, assembleBathroom: AssembleBathroomElement, createData: BathroomCreateDesignData, bathroomDataInfo: BathroomData): Promise; static createWallElementAsync(context: ElementPerformerContext, roomContext: BathroomDesignContext, assembleBathroom: AssembleBathroomElement, bathroomWallDesignData: BathroomWallDesignData): Promise; static replaceBathroomWallElementsAsync(context: ElementPerformerContext, wallElement: BathroomWallElement): Promise; static updateBathroomWallElementsAsync(context: ElementPerformerContext, wallElement: BathroomWallElement, layoutType?: LayoutTypeEnum): Promise; static updateBathroomWallElementsBaseAsync(context: ElementPerformerContext, wallElement: BathroomWallElement): Promise; static alignGapInBathroomWallAsync(context: ElementPerformerContext, wallElement: BathroomWallElement, gapPoints: Array): Promise; static updateBathroomWallSeamElementsAsync(context: ElementPerformerContext, wallElement: BathroomWallElement): Promise; private static fetchBindingDecorate; static updateAssembleBathroomWallByHole(wallElement: BathroomWallElement, cavity: number): ResultObject; static cutPlank(parentElement: ContainerElement, facePlanks: Array, cutNumber: number, gap: number): void; static getTopPlanks(plankList: Array): Array; static setBathroomWallProperty(wallElement: BathroomWallElement, bathroomWallDesignData: BathroomWallDesignData): void; static createWallContainerElement(wallElement: BathroomWallElement): ContainerElement; static createWallBaseElementAsync(context: ElementPerformerContext, parent: ContainerElement, bathroomWallDesignData: BathroomWallDesignData): Promise; static createWallSeamElementAsync(context: ElementPerformerContext, parent: ContainerElement, bathroomWallDesignData: BathroomWallDesignData): Promise; static createWallFaceElementAsync(context: ElementPerformerContext, parent: ContainerElement, bathroomWallDesignData: BathroomWallDesignData): Promise; static createInnerDoorHoleElement(context: ElementPerformerContext, parent: ContainerElement, inDoorHoleData: InDoorHoleData, holeInnerWallInfo: any): Promise; static updateAssembleBathroomWallHeight(wallElement: BathroomWallElement, finshedHeight: number): ResultObject; static adjustWallPress(formerWall: BathroomWallElement, latterWall: BathroomWallElement): void; } } declare module "sk/frame/logic/scheme/bathroom/util/BathroomElementDesignUtil" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { Line2 } from 'foundation/runtime/math/Line2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { ContentElement } from 'sk/data/family/element/brep/ContentElement'; import { ElementPerformerContext } from 'sk/data/family/performer/element/ElementPerformerContext'; import { DoorNode } from 'sk/data/scheme/database/floorplan/model/DoorNode'; import { RoomNode } from 'sk/data/scheme/database/floorplan/model/RoomNode'; import { PlankElement } from 'sk/data/scheme/database/furniture/element/PlankElement'; import { AssembleBathroomElement } from 'sk/data/scheme/database/pattern/element/AssembleBathroomElement'; import { BathroomAreaElement } from 'sk/data/scheme/database/pattern/element/BathroomAreaElement'; import { BathroomElement } from 'sk/data/scheme/database/pattern/element/BathroomElement'; import { SchemeLibraryPatternDocumentService } from 'sk/data/scheme/config/SchemeLibraryPatternDocumentService'; import { AreaLayoutData, BathroomCreateDesignData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomCreateDesignData"; import { BathroomDesignContext } from "sk/frame/logic/scheme/bathroom/action/BathroomDesignContext"; export class BathroomElementDesignUtil { protected static _schemeLibraryPatternDocumentService: (SchemeLibraryPatternDocumentService); static loadBathroomContextDataAsync(context: ElementPerformerContext, room: RoomNode, bathroom: BathroomElement, dataParams?: any): Promise; static loadAssembleBathroomContextDataAsync(context: ElementPerformerContext, room: RoomNode, assembleBathroom: AssembleBathroomElement, dataParams?: any): Promise; static fetchBindingDecorateAsync(element: any): Promise; static getPolygon(points: Array): AreaLayoutData; static getCeilingPolygon(points: Array): AreaLayoutData; static getFloorPolygon(points: Array, str?: string): AreaLayoutData; static setBathroom(context: ElementPerformerContext, bathroom: BathroomElement, createData: BathroomCreateDesignData): void; static createBathroomAsync(context: ElementPerformerContext, bathroom: BathroomElement, room: RoomNode, roomContext: BathroomDesignContext): Promise; static getAreaByName(name: string, areas: BathroomAreaElement[]): any; static getLastAreaByDoor(door: DoorNode, areas: BathroomAreaElement[]): BathroomAreaElement; static isPolygonAdjacent(points1: { x: number; y: number; }[], points2: { x: number; y: number; }[]): boolean; static isLineOnLine(line1: Line2, line2: Line2, join?: boolean): boolean; private static isPointOnLine; static createPlankElement(parent: ContentElement, hight?: number): PlankElement; } } declare module "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/ceilingdesign/BathroomCeilingDesignData" { import { Line2 } from 'foundation/runtime/math/Line2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { AssembleBathroomElement } from 'sk/data/scheme/database/pattern/element/AssembleBathroomElement'; import { BathroomCeilingElement } from 'sk/data/scheme/database/pattern/element/BathroomCeilingElement'; import { BathroomDesignContext } from "sk/frame/logic/scheme/bathroom/action/BathroomDesignContext"; import { AreaInfo, BathroomData, CeilingCreateDataInfo, CeilingSurfaceLayoutType } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomCreateDesignData"; export class BathroomCeilingDesignData { basePlankId: string; tileInfoId: string; x: number; y: number; z: number; lengthX: number; lengthY: number; lengthZ: number; rotation: number; outline: Vector2[]; localX: number; localY: number; localLengthX: number; localLengthY: number; localPolygon: Vector2[]; surfaceLocalPolygon: Vector2[][]; basethickness: number; surfaceThickness: number; floorEdgeThickness: number; startX: number; startY: number; gap: number; type: string; arrangeDirection: string; thickness: number; finishHeight: number; ceilingLayout: CeilingSurfaceLayoutType; ceilingModCategory: string; tenantId: string; constructor(); recalculation(roomContext: BathroomDesignContext, ceilingDataInfo: CeilingCreateDataInfo, ceilingdata: AreaInfo, assembleBathroom: AssembleBathroomElement, bathroomDataInfo: BathroomData): void; rebuildFromElement(ceilingElement: BathroomCeilingElement): BathroomCeilingDesignData; static sliceBounds(points: Array): Array; static sliceBound(points: Array, isLengthDirecton?: boolean): Array; static getLineByPoints(points: Array): Array; static getLengthLine(lines: Array): Array; static getWidthLine(lines: Array): Array; static getPointsX(outline: Array): Array; static getPointsY(outline: Array): Array; static getAreaXByLine(horizontalLines: Array, points: Array): Array>; static getAreaYByLine(verticalLines: Array, points: Array): Array>; getLocalPolygon(): void; static getLocalPolygon(outline: Array): Array; getSurfaceLocalPolygon(ceilingDataInfo: CeilingCreateDataInfo): void; } } declare module "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/ceilingdesign/BathroomCeilingDesignBuilder" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { ContentElement } from 'sk/data/family/element/brep/ContentElement'; import { ElementPerformerContext } from 'sk/data/family/performer/element/ElementPerformerContext'; import { LayoutTypeEnum } from 'sk/data/family/enumeration/LayoutTypeEnum'; import { BathroomCeilingElement } from 'sk/data/scheme/database/pattern/element/BathroomCeilingElement'; import { SchemeConfigService } from 'sk/data/scheme/config/SchemeConfigService'; import { BathroomValidationRuleConfigService } from "sk/frame/logic/scheme/bathroom/rule/validation/BathroomValidationRuleConfigService"; import { TilePartData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/layout/BathroomLayoutDesignCalculator"; import { BathroomCeilingDesignData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/ceilingdesign/BathroomCeilingDesignData"; export class BathroomCeilingDesignBuilder { protected static _schemeConfigService: SchemeConfigService; protected static _configRulerService: BathroomValidationRuleConfigService; static buildCeilingBaseDataAsync(context: ElementPerformerContext, parent: ContentElement, ceilingData: BathroomCeilingDesignData): Promise; static buildCeilingFaceDataAsync(context: ElementPerformerContext, parent: ContentElement, ceilingData: BathroomCeilingDesignData, decorate?: any): Promise; static buildCeilingFaceDataFromAreasAsync(context: ElementPerformerContext, parent: ContentElement, ceilingData: BathroomCeilingDesignData, decorate?: any): Promise; static layoutTiles(tileLengthX: number, tileLengthY: number, outline: Array, beginOffsetX: number, beginOffsetY: number, endXSlice: number, endYSlice: number, endXJF: boolean, endYJF: boolean, gap?: number): Array; static modRuleLayoutTiles(modContent: string, tileLengthY: number, outline: Array, endYSlice: number, endYJF: boolean, gap?: number): Array; static recreateCeilingFaceDataAsync(context: ElementPerformerContext, parent: ContentElement, ceilingData: BathroomCeilingDesignData, decorate?: any): Promise; static switchCeilingFaceDataAsync(context: ElementPerformerContext, parent: ContentElement, ceilingData: BathroomCeilingDesignData, decorate?: any, layoutType?: LayoutTypeEnum): Promise; static modRuleFaceLayout(context: ElementPerformerContext, outline: Vector2[], ceilingElement: BathroomCeilingElement, ceilingData: BathroomCeilingDesignData, lengthX: number, tileLengthY: number, minLengthY: number, gap?: number): Promise; protected static meetWorkFaceRuleCheckAsync(ceilingData: BathroomCeilingDesignData): Promise; protected static patternModContentsAsync(context: ElementPerformerContext, ceilingData: BathroomCeilingDesignData, lengthX: number): Promise; protected static createTileElementAsync(context: ElementPerformerContext, parts: TilePartData[], outline: Vector2[], parent: ContentElement, ceilingData: BathroomCeilingDesignData, decorate?: any, isSlice?: boolean): Promise; } } declare module "sk/frame/logic/scheme/bathroom/util/BathroomCeilingElementDesignUtil" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { ContainerElement } from 'sk/data/family/element/instance/ContainerElement'; import { ElementPerformerContext } from 'sk/data/family/performer/element/ElementPerformerContext'; import { LayoutTypeEnum } from 'sk/data/family/enumeration/LayoutTypeEnum'; import { AssembleBathroomElement } from 'sk/data/scheme/database/pattern/element/AssembleBathroomElement'; import { BathroomCeilingElement } from 'sk/data/scheme/database/pattern/element/BathroomCeilingElement'; import { BathroomCeilingDesignData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/ceilingdesign/BathroomCeilingDesignData"; import { BathroomData, CeilingCreateDataInfo } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomCreateDesignData"; import { BathroomDesignContext } from "sk/frame/logic/scheme/bathroom/action/BathroomDesignContext"; export enum BathroomCeilingCode { Base = "base", Surface = "surface", SurfacVertical = "surface_vertical" } export class BathroomCeilingElementDesignUtil { static DEFAULT_CAVUM: number; static createBathroomCeilingElementAsync(context: ElementPerformerContext, roomContext: BathroomDesignContext, assembleBathroom: AssembleBathroomElement, ceilingDataInfo: CeilingCreateDataInfo, bathroomDataInfo: BathroomData): Promise; static replaceBathroomCeilingElementsAsync(context: ElementPerformerContext, bathroomCeilingElement: BathroomCeilingElement): Promise; static updateAssembleBathroomCeilingHole(ceilingElement: BathroomCeilingElement, cavity: number): ResultObject; static updateBathroomCeilingElementsAsync(context: ElementPerformerContext, ceilingElement: BathroomCeilingElement): Promise; static renewalBathroomCeilingElementsAsync(context: ElementPerformerContext, ceilingElement: BathroomCeilingElement, layoutType?: LayoutTypeEnum, isSwitch?: boolean): Promise; static fetchBindingDecorateAsync(element: any): Promise; static setCeilingData(ceilingElement: BathroomCeilingElement): BathroomCeilingDesignData; static setCeilingDataWithoutRotation(ceilingElement: BathroomCeilingElement): BathroomCeilingDesignData; static setBathroomCellingProperty(bathroomCeilingElement: BathroomCeilingElement, areaDataDesignData: BathroomCeilingDesignData): void; static createCeilingContainer(bathroomCeiling: BathroomCeilingElement): ContainerElement; static createCeilingBaseElementAsync(context: ElementPerformerContext, parent: ContainerElement, ceilingData: BathroomCeilingDesignData): Promise; static createCeilingFaceElementAsync(context: ElementPerformerContext, parent: ContainerElement, ceilingData: BathroomCeilingDesignData): Promise; static createCeilingFaceVerticalElement(parent: ContainerElement, ceilingData: BathroomCeilingDesignData): ContainerElement; } } declare module "sk/frame/logic/storage/perspective/config/decorate/item/ConfigDecorateItemPageCacheService" { import { Dictionary } from 'cross/runtime/lang/collection/Dictionary'; import { Service } from 'cross/runtime/module/Service'; import { SchemeConfigDecorateInfo } from 'sk/data/scheme/config/SchemeConfigDecorateInfo'; export class ConfigDecorateItemPageCacheService extends Service { protected _items: Dictionary; get items(): Dictionary>; cacheCount(): number; findItem(cacheKey: string, page?: number, pageSize?: number): Array; cache(content: Array, cacheKey: string, page?: number, pageSize?: number): void; removeCache(cacheKey: string, page?: number, pageSize?: number): void; clearCache(): void; } } declare module "sk/frame/logic/scheme/util/SchemePropertyUtil" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { ResourcePictureService } from 'foundation/core/resource/ResourcePictureService'; import { Element } from 'sk/data/family/element/base/Element'; import { DecorateBindTypeEnum } from 'sk/data/family/enumeration/DecorateBindTypeEnum'; import { LoadDecorateOptions } from "sk/frame/logic/scheme/util/SchemeDecorateUtil"; export type DecorateResultType = { configId: string; configCode: string; configName: string; linkCd: DecorateBindTypeEnum; defaultItem: any; list: Array<{ name: string; linkId: string; referenceInfoId: string; previewUrl: string; linkCd: DecorateBindTypeEnum; linkCode: string; familyId: string; }>; }; export class SchemePropertyUtil { protected static _resourcePictureService: ResourcePictureService; static getFamilyInfoIdByFamilyIdAsync(familyId: string): Promise>; private static getDecoratesAsync; static getDecoratesByIdAsync(configId: string, options?: LoadDecorateOptions): Promise; static getDocumentComponentByInfoIdAsync(infoId: string, componentClass: any): Promise; static makeDecorateItemPreviewUrl(item: any, height?: number, width?: number): string[]; static makeLocalImagePreviewUrl(iconPath: string, height?: number, width?: number): string; } } declare module "sk/frame/logic/scheme/util/SchemeDecorateUtil" { import { ContextObject } from 'cross/runtime/lang/ContextObject'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { BrepNode } from 'foundation/data/common/model/brep/BrepNode'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { ComponentElement } from 'sk/data/family/element/component/ComponentElement'; import { ContentInstanceElement } from 'sk/data/family/element/instance/ContentInstanceElement'; import { FamilyInstanceElement } from 'sk/data/family/element/instance/FamilyInstanceElement'; import { DecorateBindTypeEnum } from 'sk/data/family/enumeration/DecorateBindTypeEnum'; import { FamilyDocumentService } from 'sk/data/family/service/FamilyDocumentService'; import { SchemeConfigDecorateInfo } from 'sk/data/scheme/config/SchemeConfigDecorateInfo'; export type LoadDecorateOptions = { loadTexture?: boolean; isMaterial?: boolean; enableSameMatchRule?: boolean; notLoadTextureFamilyInfo?: boolean; }; export enum DecorateDataStructureType { NewDataStructure = 0, OldDataStructure = 1 } export type DecorateDataStructure = { id: string; linkId: any; linkCd: any; linkCode: string; code: string; name: string; list: any; previewUrl: string; referenceInfoId: string; textureRotation: string; }; export type DecoratePropertyItem = { id: string; code: string; name: string; linkCd: DecorateBindTypeEnum; element: FamilyInstanceElement; list: Array; current: string; select: string; }; export type DecorateItemStructure = { name: string; linkId: string; referenceInfoId: string; previewUrl: string; }; export type DecorateStructure = { id: string; code: string; name: string; nodes?: Array; linkCd: DecorateBindTypeEnum; list: Array; select: string; }; export class EdgebandingType { static HomonchromyEdgebanding: string; static SelectedEdgebanding: string; } export class SchemeDecorateUtil { protected static _calculatorService: CalculatorService; protected static _documentService: FamilyDocumentService; protected static _actionService: ActionService; static DECORATE_COLLECTION_TYPE_CODE: string; static getDecorateItemFamilyAsync(context: ContextObject, decorate: SchemeConfigDecorateInfo, options?: LoadDecorateOptions): Promise>; static getDecorateChangeListsAsync(context: any, element: any, decorateData: any, values: any, isSpecific?: boolean, options?: LoadDecorateOptions): Promise; static getBindingDecorateItemDataAsync(context: any, decorateData: any, element: any, referenceInfoId: string, textureId: string, linkId: string, linkCd: string, values: any, options?: LoadDecorateOptions): Promise; private static getBindingDecorateValueAsync; private static getDecorateValueAsync; private static getDecorateAsync; static constructDecorateObject(id: string, linkId: any, linkCd: any, code: string, name: string, list: any, previewUrl: string, referenceInfoId: string, linkCode?: string, textureRotation?: string): DecorateDataStructure; private static isBindingSameMatchRuleAsync; private static getChildrenDecorateByStruct; private static getDecorateByReferenceInfoIdAsync; private static getDecorateItem; private static getDecoratesRecursive; private static isMaterialDecorate; private static isMaterialDecorateByValuesCount; static constructDecorateDefaultDataAsync(values: any, options?: LoadDecorateOptions): Promise; private static filterDecorate; private static constructDecorateDataByPropertyAsync; private static constructDecorateCollectionDataByBindingValueAsync; private static makeDecorateName; static getComponentElementByInstanceElementAsync(context: any, element: any): Promise>; private static isElementBindingMatchRule; static getDrawerChildrenDecorateAsync(context: any, element: any, decorateDatas: any): Promise; static getChildrenDecorateAsync(context: any, element: any, decorateDatas: any, options?: LoadDecorateOptions, onUpdate?: (datas: any) => void): Promise; static getDecorateDataByEntityAsync(entity: any, options?: LoadDecorateOptions, onUpdate?: (datas: any) => void): Promise; static getDecorateDatasByElememtNameAsync(entity: any): Promise; static getDecorateCollectionDatasByEntityAsync(entity: any, decorateCollectionDatas?: any[]): Promise; static getDrawerDecorateDataByEntityAsync(entity: any): Promise; static decorateChangeEventAsync(element: any, decorateData: Array, oldPropertyValue?: any, newPropertyValue?: any): Promise; static updateFamilyDecorateCollectionValue(element: ContentInstanceElement, decorateData: any): void; static updateFamilyDecorateAsync(context: any, element: any, decorateData: any, values: any, isSpecific?: boolean, options?: LoadDecorateOptions, oldPropertyValue?: any, newPropertyValue?: any): Promise; private static getDecorateByIdAsync; static getDecoratesByPropertyAsync(element: any, property: any, isOnlyShowMaterial?: boolean): Promise; static getDecoratesByElementAsync(element: any, isOnlyShowMaterial?: boolean): Promise; static getDecoratesByEntityAsync(entity: any, isOnlyShowMaterial?: boolean): Promise; static getDecorateDataAsync(entities: Array, isOnlyShowMaterial?: boolean): Promise; static getMaterialRotationAsync(textureId: any): Promise>; } } declare module "sk/frame/logic/editor/base/display/C2dPolygonCornerDrawActionGizmo" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { Line2 } from 'foundation/runtime/math/Line2'; 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 { V2dHookEvent } from 'foundation/editor/view/view2d/render/V2dHookEvent'; import { EditorStackService } from 'foundation/editor/view/stack/EditorStackService'; 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'; import { C2dPolygonCornerDrawAction } from "sk/frame/logic/editor/base/display/C2dPolygonCornerDrawAction"; export type PolygonPoint = { graphic: V2dGraphicDrawing; over?: boolean; point: Vector2; origin: Vector2; }; export class C2dPolygonCornerDrawActionGizmo extends V2dTemp { view: C2dCanvas; context: C2dCanvasContext; action: C2dPolygonCornerDrawAction; protected _curMousePosCanvas: Vector2; points: Array; polygonLines: Array; sceneContainer: V2dGraphicContainer; protected _statusShapeChanged: boolean; protected wallFrom: PolygonPoint; protected wallTo: PolygonPoint; linearDimensionGizmoDatas: any[]; protected _editorStackService: EditorStackService; constructor(); setup(): void; private initData; private initBathroomFloorData; private initBathroomCeilingData; private initBathroomWallData; private getPointsByPolygon; private getCeilingPointsByPolygon; onMouseOver(point: PolygonPoint): any; onMouseOut(point: PolygonPoint): any; onMouseDownPoint(point: PolygonPoint): any; onMouseDown(sender: ListenerContext, event: V2dHookEvent): void; onClick(point: PolygonPoint): any; private createGraphics; onScaleChanged(sender: ListenerContext, event: any): void; onDraw(): void; updateShape(): void; private updateGraphics; } } declare module "sk/frame/logic/editor/base/display/C2dPolygonCornerDrawAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { V2dGraphicContainer } from 'foundation/editor/view/view2d/render/V2dGraphicContainer'; import { ActionEvent } from 'foundation/editor/view/action/ActionEvent'; import { ActionResult } from 'foundation/editor/view/action/ActionResult'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { PlaneSurfaceElement } from 'sk/data/family/element/instance/PlaneSurfaceElement'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { PointEntity } from 'sk/editor/family/entity/geometric/PointEntity'; import { SchemeAction } from 'sk/editor/scheme/action/SchemeAction'; import { C2dCanvas } from 'sk/editor/logic/view/canvas2d/C2dCanvas'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; import { BathroomFloorDryDesignActionEvent } from "sk/frame/logic/scheme/bathroom/event/BathroomFloorDryDesignActionEvent"; import { DecorateItemStructure, DecorateStructure } from "sk/frame/logic/scheme/util/SchemeDecorateUtil"; import { C2dPartitionPlankDesignAction } from "sk/frame/logic/editor/base/editor/C2dPartitionPlankDesignAction"; import { PointInference } from "sk/frame/logic/editor/base/editor/PointInference"; import { PolygonPoint } from "sk/frame/logic/editor/base/display/C2dPolygonCornerDrawActionGizmo"; export class C2dPolygonCornerDrawAction extends SchemeAction { view: C2dCanvas; context: C2dCanvasContext; action: C2dPartitionPlankDesignAction; pointEntitys: Array; sceneContainer: V2dGraphicContainer; protected _curMousePosCanvas: Vector2; inference: PointInference; points: Array; decorate: DecorateStructure; item: DecorateItemStructure; protected _uiFrameService: UiFrameService; protected _actionService: ActionService; protected _calculatorService: CalculatorService; private _oldData; private _newData; constructor(); onExecute(event: BathroomFloorDryDesignActionEvent): Promise; floorDryLayoutBySelectPointAsync(selectPoint: PolygonPoint): Promise; ceilingLayoutBySelectPointAsync(selectPoint: PolygonPoint): Promise; wallLayoutBySelectPointAsync(selectPoint: PolygonPoint, from: PolygonPoint, to: PolygonPoint): Promise; buildBathroomCeilingAsync(): Promise; buildBathroomAsync(): Promise; bathroomWallUpdate(): Promise; searchChildrenByType(element: any, target?: Array): Array; onReceive(code: string, event: ActionEvent): boolean; getOutlinePoint(dryOutlinePoints: Array): Array; onUndo(): Promise>; onRedo(): Promise>; } } declare module "sk/frame/logic/editor/base/display/C2dReferenceAxisLine" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { NodeFieldEvent } from 'cross/runtime/framework/node/NodeFieldEvent'; import { CoordService } from 'foundation/runtime/math/coord/CoordService'; import { ReferenceAxisNode } from 'sk/data/family/model/assistant/reference/ReferenceAxisNode'; import { SchemeBlueprintEntity } from 'sk/editor/scheme/entity/SchemeBlueprintEntity'; import { C2dBrep } from 'sk/editor/logic/view/canvas2d/C2dBrep'; export class C2dReferenceAxisLine extends C2dBrep { blueprint: SchemeBlueprintEntity; entity: ReferenceAxisNode; private userMatrix; private parantObjctMatrix; protected _coordService: CoordService; constructor(); setup(): void; createNode(): any; onEditOptionsChanged(sender: ListenerContext, event: NodeFieldEvent): void; bindEvent(): void; onAddToView(): void; private getWorldPosition; protected updateShape(): void; } } declare module "sk/frame/logic/editor/base/editor/ReferenceAxisLineActionEvent" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; export class ReferenceAxisLineActionEvent extends ContentActionEvent { parantContainer: DataNode; beginPoint: Vector3; endPoint: Vector3; free(): void; } } declare module "sk/frame/logic/editor/base/editor/C2dReferenceAxisLineCreateAction" { import { CoordService } from 'foundation/runtime/math/coord/CoordService'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { C2dMoveAction } from "sk/frame/logic/editor/base/editor/C2dMoveAction"; import { ReferenceAxisLineActionEvent } from "sk/frame/logic/editor/base/editor/ReferenceAxisLineActionEvent"; export class C2dReferenceAxisLineCreateAction extends C2dMoveAction { protected parantContainer: DataNode; protected _coordService: CoordService; onExecute(event: ReferenceAxisLineActionEvent): void; onReceive(code: string, event: ReferenceAxisLineActionEvent): boolean; computeReferenceAxisLine(begin: Vector3, end: Vector3): void; } } declare module "sk/frame/logic/editor/base/display/C2dReferenceAxisLineGizmo" { import { Types } from 'cross/runtime/lang/collection/Types'; import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { MouseDeviceService } from 'cross/editor/device/mouse/MouseDeviceService'; import { Line2 } from 'foundation/runtime/math/Line2'; import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { V2dGraphicDrawing } from 'foundation/editor/view/view2d/render/V2dGraphicDrawing'; import { V2dHookEvent } from 'foundation/editor/view/view2d/render/V2dHookEvent'; import { W2dTemp } from 'sk/editor/scheme/floorplan/view/canvas2d/W2dTemp'; import { C2dCanvas } from 'sk/editor/logic/view/canvas2d/C2dCanvas'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; import { C2dReferenceAxisLineCreateAction } from "sk/frame/logic/editor/base/editor/C2dReferenceAxisLineCreateAction"; export class C2dReferenceAxisLineGizmo extends W2dTemp { view: C2dCanvas; context: C2dCanvasContext; action: C2dReferenceAxisLineCreateAction; protected _alignmentLines: Types; protected _graphics: V2dGraphicDrawing; protected _mouseService: MouseDeviceService; setup(): void; onMove(sender: ListenerContext, event: ContentActionEvent): void; onViewBoxChanged(sender: ListenerContext, event: any): void; updateAlignmentLines(lines: Types): void; hideAlignmentLines(): void; private drawLines; drawGraphic(): void; draw(): void; disableUndoRedo(): void; enableUndoRedo(): void; onMouseDown(sender: ListenerContext, event: V2dHookEvent): void; onMouseMove(sender: ListenerContext, event: V2dHookEvent): void; onRemoveFromView(): void; onActivate(): void; onDeactivate(): void; onScaleChanged(): void; addToView(): void; dispose(): void; } } declare module "sk/frame/logic/editor/base/util/BathroomFilterUtil" { import { BrepNode } from 'foundation/data/common/model/brep/BrepNode'; import { EditorStackService } from 'foundation/editor/view/stack/EditorStackService'; import { ContentInstanceNode } from 'sk/data/family/model/instance/ContentInstanceNode'; import { PatternInstanceNode } from 'sk/data/family/model/instance/PatternInstanceNode'; export class BathroomFilterUtil { protected static _editorStackService: EditorStackService; static isBathroomWallPlankContainer(node: ContentInstanceNode): boolean; static isBathroomWallTile(node: ContentInstanceNode): boolean; static isBathroomWallRootContainer(node: ContentInstanceNode): boolean; static isBathroomWallPlank(node: ContentInstanceNode): boolean; static isBathroomFloorDry(node: ContentInstanceNode): boolean; static isBathroomFloorWet(node: ContentInstanceNode): boolean; static isCurrentBathroomNode(node: ContentInstanceNode): boolean; static isBathroomCeilingTile(node: ContentInstanceNode): boolean; static isBathroomCeilingWallTile(node: ContentInstanceNode): boolean; static isBathroomFloorTile(node: ContentInstanceNode): boolean; static getProxyParent(node: BrepNode): PatternInstanceNode; static isCurrentCut(node: ContentInstanceNode): boolean; } } declare module "sk/frame/logic/editor/base/display/C2dReferenceLine" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { NodeFieldEvent } from 'cross/runtime/framework/node/NodeFieldEvent'; import { CoordService } from 'foundation/runtime/math/coord/CoordService'; import { DataNodeFieldEvent } from 'foundation/data/common/model/base/DataNodeFieldEvent'; import { ReferenceLineNode } from 'sk/data/family/model/assistant/reference/ReferenceLineNode'; import { SchemeBlueprintEntity } from 'sk/editor/scheme/entity/SchemeBlueprintEntity'; import { C2dBrep } from 'sk/editor/logic/view/canvas2d/C2dBrep'; export class C2dReferenceLine extends C2dBrep { blueprint: SchemeBlueprintEntity; entity: ReferenceLineNode; private userMatrix; private parantObjctMatrix; protected _coordService: CoordService; constructor(); setup(): void; onEntityFieldChanged(sender: ListenerContext, event: DataNodeFieldEvent): void; createNode(): any; onEditOptionsChanged(sender: ListenerContext, event: NodeFieldEvent): void; bindEvent(): void; canDraw(): boolean; onAddToView(): void; private getWorldPosition; protected updateShape(): void; } } declare module "sk/frame/logic/editor/base/editor/C2dReferenceLineAddAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CoordService } from 'foundation/runtime/math/coord/CoordService'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { ReferenceLineElement } from 'sk/data/family/element/assistant/reference/ReferenceLineElement'; import { ContentElement } from 'sk/data/family/element/brep/ContentElement'; import { PlankEntity } from 'sk/editor/logic/entity/PlankEntity'; import { C2dMoveAction } from "sk/frame/logic/editor/base/editor/C2dMoveAction"; export class C2dReferenceLineAddAction extends C2dMoveAction { plankEntitys: Array; referenceLine: ReferenceLineElement; protected _parent: ContentElement; protected _coordService: CoordService; constructor(); creatReferenceLineAsync(begin: Vector2, end: Vector2): Promise>; onUndoAsync(): Promise>; onRedoAsync(): Promise>; } } declare module "sk/frame/logic/editor/base/display/C2dReferenceLineAddActionGizmo" { import { Types } from 'cross/runtime/lang/collection/Types'; import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { KeyboardDeviceEvent } from 'cross/editor/device/keyboard/KeyboardDeviceEvent'; import { KeyboardDeviceService } from 'cross/editor/device/keyboard/KeyboardDeviceService'; import { Line2 } from 'foundation/runtime/math/Line2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { V2dGraphicContainer } from 'foundation/editor/view/view2d/render/V2dGraphicContainer'; import { V2dHookEvent } from 'foundation/editor/view/view2d/render/V2dHookEvent'; import { V2dTemp } from 'foundation/editor/view/view2d/V2dTemp'; import { C2dLinearDimension } from 'sk/editor/scheme/floorplan/view/canvas2d/gizmo/C2dLinearDimension'; import { C2dCanvas } from 'sk/editor/logic/view/canvas2d/C2dCanvas'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; import { C2dLayer } from 'sk/editor/logic/view/canvas2d/C2dLayer'; import { PlankEntity } from 'sk/editor/logic/entity/PlankEntity'; import { C2dReferenceLineAddAction } from "sk/frame/logic/editor/base/editor/C2dReferenceLineAddAction"; import { PointInference } from "sk/frame/logic/editor/base/editor/PointInference"; export class C2dReferenceLineAddActionGizmo extends V2dTemp { context: C2dCanvasContext; view: C2dCanvas; action: C2dReferenceLineAddAction; plankEntitys: Array; private _dragLineGraphics; snapLength: number; protected snapLines: Types; protected referenceLine: Line2; protected targetLine: Line2; protected direction: Vector2; protected startPoint: Vector2; protected endPoint: Vector2; inference: PointInference; protected _lengthDimension: C2dLinearDimension; sceneContainer: V2dGraphicContainer; layer: C2dLayer; protected _keyboardService: KeyboardDeviceService; constructor(); setup(): void; onkeyDown(sender: ListenerContext, event: KeyboardDeviceEvent): void; initSnapLines(): void; protected initDimension(): void; protected onLengthValueChangeCommit(sender: ListenerContext, event: any): void; onMouseMove(sender: ListenerContext, event: V2dHookEvent): void; onMouseDown(sender: ListenerContext, event: V2dHookEvent): void; onMove(sender: ListenerContext, event: ContentActionEvent): void; protected addPoint(_point: Vector2): void; protected tryCompleteAsync(): Promise; doSnap(_point: Vector2): void; computeReferenceLine(_point: Vector2): void; draw(): void; get scale(): number; drawGraphic(): void; updateLengthDimension(dimension: C2dLinearDimension, start: Vector2, end: Vector2): void; removeFromView(): void; onActivate(): void; onDeactivate(): void; dispose(): void; onScaleChanged(): void; addToView(): void; } } declare module "sk/frame/logic/editor/base/display/W2dFlatWallDimension" { import { HotkeyEvent } from 'cross/editor/module/hotkey/HotkeyEvent'; import { HotkeyService } from 'cross/editor/module/hotkey/HotkeyService'; import { TriggerHotkey } from 'cross/editor/module/hotkey/TriggerHotkey'; import { HardwareNode } from 'sk/data/family/model/instance/HardwareNode'; import { PlankNode } from 'sk/data/scheme/database/furniture/model/PlankNode'; import { W2dContentDimension } from 'sk/editor/scheme/view/canvas2d/gizmo/W2dContentDimension'; export class W2dFlatWallDimension extends W2dContentDimension { entity: PlankNode | HardwareNode; private flatWallNode; private referenceElement; private entityBox; private flatWallBox2; protected _hotkeyService: HotkeyService; protected tabHotkey: TriggerHotkey; protected tablKey: boolean; constructor(); setup(): void; onActivate(): void; onDeactivate(): void; onTab(event: HotkeyEvent): void; onEditOptionsChanged(listener: any, event: any): void; private findChildByClass; private findFlatWall; private planks; private computeNailDimBox; private computeToPlankDim; private skyKells; private earthKells; private computeTopBottomDim; private verticalKells; private computeVerticalDim; computeChildGizmoInfo(): void; private drawDims; } } declare module "sk/frame/logic/editor/base/display/W2dHardwareDimensionEnum" { export class W2dHardwareDimensionReferenceEnum { static plankType: string; static outlineType: string; static nearWareType: string; static nearWareNewType: string; } export class W2dHardwareDimensionShowTypeEnum { static center: string; static bound: string; } } declare module "sk/frame/logic/editor/base/display/W2dHardwareDimension" { import { HotkeyService } from 'cross/editor/module/hotkey/HotkeyService'; import { TriggerHotkey } from 'cross/editor/module/hotkey/TriggerHotkey'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { W2dContentDimension } from 'sk/editor/scheme/view/canvas2d/gizmo/W2dContentDimension'; import { WareEntity } from 'sk/editor/scheme/entity/WareEntity'; class WareContainsCenter { ware: WareEntity; center: Vector2; } export class W2dHardwareDimension extends W2dContentDimension { protected _hotkeyService: HotkeyService; protected showLineHotkey: TriggerHotkey; protected toggleLineTypeHotkey: TriggerHotkey; currentLineEditMode: string; currentShowType: string; warelistX: Array; warelistY: Array; root: any; countGizmos: number; countGizmosNoInput: number; linearDimensionGizmoDatasNoInput: any[]; viewModeList: string[]; currentModeCount: number; constructor(); setup(): void; onActivate(): void; onDeactivate(): void; private showLineChange; private isDrawing; onEditOptionsChanged(listener: any, event: any): void; computeChildGizmoInfo(): void; private computeAreaLines; private computerHardwareInPlank; private computePlankLinesHardware; private computeHardwareCenter; private computeHardwareBox; private getWareBoundBox; private computeNearAreaLineHardware; private computeNearWare; private findWaresInPlank; private getPlankOfWareIn; private checkInPlank; private getBoundCenter; private sortWareX; private sortWareY; private pointOnLineHorizen; private pointOnLineVertical; private setDimDataHardware; private setDimDataBoundBox; private xLinesPlank; private yLinesPlank; private xLinesArea; private yLinesArea; private pushLine; setDimDataNoInput(wares: WareContainsCenter[]): void; private createDimensionNoInput; private setDimensionDataNoInput; updateGizmos(): void; } } declare module "sk/frame/logic/editor/base/display/W2dLevelingWallDimension" { import { HotkeyService } from 'cross/editor/module/hotkey/HotkeyService'; import { TriggerHotkey } from 'cross/editor/module/hotkey/TriggerHotkey'; import { W2dContentDimension } from 'sk/editor/scheme/view/canvas2d/gizmo/W2dContentDimension'; export class W2dLevelingWallDimension extends W2dContentDimension { protected _hotkeyService: HotkeyService; protected showLineHotkey: TriggerHotkey; currentLineEditMode: string; constructor(); setup(): void; onActivate(): void; onDeactivate(): void; private showLineChange; private isDrawing; onEditOptionsChanged(listener: any, event: any): void; computeChildGizmoInfo(): void; private computeAreaLines; private computerHardwareInPlank; private computePlankLinesHardware; private computePlankLines; private computeHardwareCenter; private computeNearAreaLine; private computeNearAreaLineHardware; private setDimDataPlank; private setDimDataHardware; private xLinesPlank; private yLinesPlank; private xLinesArea; private yLinesArea; private pushLine; } } declare module "sk/frame/logic/editor/base/editor/C2dPlankOperateLineMoveAction" { import { TypeMap } from 'cross/runtime/lang/collection/TypeMap'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CoordService } from 'foundation/runtime/math/coord/CoordService'; import { Line2 } from 'foundation/runtime/math/Line2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { BrepNode } from 'foundation/data/common/model/brep/BrepNode'; import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { SnapNumberHelper } from 'foundation/editor/view/snap/helper/SnapNumberHelper'; import { OperateLineNode } from 'sk/data/family/model/assistant/operate/OperateLineNode'; import { ContentInstanceNode } from 'sk/data/family/model/instance/ContentInstanceNode'; import { Computor } from 'sk/data/family/util/ComputeUtil'; import { PlankNode } from 'sk/data/scheme/database/furniture/model/PlankNode'; import { DirectionString } from 'sk/rule/data/scehme/util/ChestNodeUtil'; import { SchemeContentMoveAction } from 'sk/editor/scheme/action/content/SchemeContentMoveAction'; import { PlankEntity } from 'sk/editor/logic/entity/PlankEntity'; import { StateControlService } from "sk/frame/logic/editor/base/base/StateControlService"; export class ContentHistoryData { x: Computor; y: Computor; lengthX: Computor; lengthY: Computor; verts: Vector2[]; } export class CreviceHistoryData { beginX: Computor; beginY: Computor; endX: Computor; endY: Computor; } export class C2dPlankOperateLineMoveAction extends SchemeContentMoveAction { topComposite: DataNode; entity: any; container: BrepNode; element: any; protected _connectContents: Map>; protected _snap: SnapNumberHelper; protected _saveContent: ContentHistoryData; private isValid; private userMatrix; private parantObjctMatrix; private history; private connectHisory; private connectResrtor; protected _basePoint: Vector3; protected _baseOffset: Vector3; currentPositon: Vector3; startPositon: Vector3; private planks; root: any; protected creviceEditorType: TypeMap; protected _coordService: CoordService; protected _stateService: StateControlService; constructor(); onExecute(event: ContentActionEvent): void; onDragEnd(event: ContentActionEvent): void; onReceive(code: string, event: ContentActionEvent): boolean; private setHistory; private getPlankVerts; private saveData; isLineValid(line: OperateLineNode): boolean; onMove(event: ContentActionEvent): void; onMoveTo(event: ContentActionEvent): void; onMoveEnd(event: ContentActionEvent): void; moveTo(offset: Vector3): void; moveLine(offset: Vector3): void; movePlank(offset: Vector3): void; move(offset: Vector3): void; private moveConnectPlanksByOffset; private setPlankElementPropertyByOffset; private moveCreviceByOffset; private computeMillingTrack; getPlankEdgeSameOfCrevice(): Line2; private xLinesPlank; private yLinesPlank; private pushLine; transformFromLocalToUser(point: Vector3, plank: PlankNode): Vector3; transformPointFromUserToLocal(point: Vector3, plank: PlankNode): Vector3; transformPointFromLocalToParent(point: Vector2, plank: PlankNode): Vector2; transformPolygonFromUserToLocal(polygonUser: Vector2[], plank: PlankNode): Vector2[]; transformPolygonFromUserToObject(polygonUser: Vector2[], plank: PlankNode): Vector2[]; getUserLocationOfCrevice(): Array; setLocalPositionOfPlank(plank: PlankEntity): void; private getMoveVector2; directMove(offset: Vector3): void; protected computeMove(moveEnd?: boolean): void; private moveEndComputeAsync; private moveEndComputeWithoutComputeCreviceAsync; onUndoAsync(): Promise>; reComputeCreviceAsync(curstate: string): Promise>; onRedoAsync(): Promise>; private setPlanks; private createPlankElementByVerts; dispose(): void; } } declare module "sk/frame/logic/editor/base/display/W2dOperateLineDimensionController" { import { DimensionEvent } from 'foundation/editor/ui/widget/DimensionEvent'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { DisplayController } from 'foundation/editor/view/base/DisplayController'; export class W2dOperateLineDimensionController extends DisplayController { protected _actionService: ActionService; dispatch(event: DimensionEvent): void; } } declare module "sk/frame/logic/editor/base/display/W2dOperateLineDimensionEnum" { export class W2dOperateLineDimensionEnum { static plankType: string; static outlineType: string; } export class W2dOperateLineTypeEnum { static horizen: string; static vertical: string; } } declare module "sk/frame/logic/editor/base/display/W2dOperateLineDimension" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { HotkeyService } from 'cross/editor/module/hotkey/HotkeyService'; import { TriggerHotkey } from 'cross/editor/module/hotkey/TriggerHotkey'; import { CoordService } from 'foundation/runtime/math/coord/CoordService'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { Polygon } from 'foundation/runtime/graphics/shape/brep/Polygon'; import { OperateLineNode } from 'sk/data/family/model/assistant/operate/OperateLineNode'; import { W2dContentDimension } from 'sk/editor/scheme/view/canvas2d/gizmo/W2dContentDimension'; import { PlankEntity } from 'sk/editor/logic/entity/PlankEntity'; export class W2dOperateLineDimension extends W2dContentDimension { entity: OperateLineNode; polygon: Polygon; roomPointMin: Vector2; roomPointMax: Vector2; currentLineEditMode: string; protected showLineHotkey: TriggerHotkey; lineType: string; minSpace: number; protected _coordService: CoordService; protected _hotkeyService: HotkeyService; constructor(); setup(): void; onActivate(): void; onDeactivate(): void; showLineChange(): void; onValueChangeStart(sender: ListenerContext, event: any): void; private getPlanksByPostion; private swapPlankNode; private setGizmoInvalid; computeChildGizmoInfo(): void; private xLines; private yLines; private pushLine; getUserLocation(): Array; getUserLocationPlank(plank: PlankEntity): Vector3; private computeLineCenter; private computePolygonLinesPlank; private getNodeByElement; private pushPolygonLines; private setDimData; private computeAreaLines; private computeNearestAreaLine; private setDimDataArea; private xLinesArea; private yLinesArea; private pushLineArea; } } declare module "sk/frame/logic/editor/base/display/W2dPlankDimension" { import { Line2 } from 'foundation/runtime/math/Line2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { C2dLinearDimension } from 'sk/editor/scheme/floorplan/view/canvas2d/gizmo/C2dLinearDimension'; import { W2dContentDimension } from 'sk/editor/scheme/view/canvas2d/gizmo/W2dContentDimension'; import { StateControlService } from "sk/frame/logic/editor/base/base/StateControlService"; type ReferenceLine = { minX: number; maxX: number; minY: number; maxY: number; }; type BoundBox = { minX: number; maxX: number; minY: number; maxY: number; }; export class W2dPlankDimension extends W2dContentDimension { protected _stateService: StateControlService; private showDimention; constructor(); setup(): void; onActivate(): void; onDeactivate(): void; createLinearDimension(): C2dLinearDimension; private stateChangeListener; private isDrawing; onEditOptionsChanged(listener: any, event: any): void; computeChildGizmoInfo(): void; protected computeAreaLines(): void; protected computePlankLines(): void; protected computeNearAreaLine(boundBox: BoundBox): void; protected setDimDataPlank(center: Vector2, bound: BoundBox, refLine: ReferenceLine): void; protected xLinesPlank: Line2[]; protected yLinesPlank: Line2[]; protected xLinesArea: Line2[]; protected yLinesArea: Line2[]; protected pushLine(start: Vector2, end: Vector2, xLine: Line2[], yLine: Line2[]): void; } } declare module "sk/frame/logic/editor/base/display/W2dReferenceLineDimension" { import { Line2 } from 'foundation/runtime/math/Line2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { ReferenceLineNode } from 'sk/data/family/model/assistant/reference/ReferenceLineNode'; import { C2dLinearDimension } from 'sk/editor/scheme/floorplan/view/canvas2d/gizmo/C2dLinearDimension'; import { W2dContentDimension } from 'sk/editor/scheme/view/canvas2d/gizmo/W2dContentDimension'; import { StateControlService } from "sk/frame/logic/editor/base/base/StateControlService"; export class W2dReferenceLineDimension extends W2dContentDimension { protected _stateService: StateControlService; private showDimention; entity: ReferenceLineNode; constructor(); setup(): void; onActivate(): void; onDeactivate(): void; createLinearDimension(): C2dLinearDimension; private stateChangeListener; private isDrawing; onEditOptionsChanged(listener: any, event: any): void; computeChildGizmoInfo(): void; protected computeAreaLines(): void; protected computePlankLines(): void; protected computeNearAreaLine(): void; protected findCrossPoint(ray: Line2): Vector2; protected setDimDataPlank(center: Vector2, leftPoint: Vector2, rightPoint: Vector2): void; protected line: Line2; protected areaLines: Line2[]; } } declare module "sk/frame/logic/editor/base/editor/C2dAlignPlankAction" { import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { Element } from 'sk/data/family/element/base/Element'; import { FamilyInstanceNode } from 'sk/data/family/model/instance/FamilyInstanceNode'; import { FamilyDocumentService } from 'sk/data/family/service/FamilyDocumentService'; import { SchemeDocumentService, SchemeWorkflowOptions } from 'sk/data/scheme/service/SchemeDocumentService'; import { ContentElementActionEvent } from 'sk/editor/scheme/action/instance/pattern/ContentElementActionEvent'; import { PlankEntity } from 'sk/editor/logic/entity/PlankEntity'; export type StorageData = { visible: boolean; }; export class C2dAlignPlankAction extends Action { entity: FamilyInstanceNode; visible: boolean; protected _savedData: StorageData; protected _restoreData: StorageData; protected _selectionService: SelectionService; protected _calculatorService: CalculatorService; protected _familyDocumentService: FamilyDocumentService; protected _schemeDocumentService: SchemeDocumentService; constructor(); protected switchVisible(visible: boolean): void; private setNodeVisible; onExecute(event?: ContentElementActionEvent): void; protected movePlank(entity: PlankEntity, posx: number, posy: number, posz: number): void; computeWorkflowMove(element?: Element, options?: SchemeWorkflowOptions): void; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/logic/editor/base/editor/C2dBathroomMoveAction" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { FamilyInstanceActionEvent } from 'sk/editor/scheme/action/instance/FamilyInstanceActionEvent'; import { C2dEditorMoveAction } from "sk/frame/logic/editor/base/editor/C2dEditorMoveAction"; export class C2dBathroomMoveAction extends C2dEditorMoveAction { constructor(); onExecute(event: FamilyInstanceActionEvent): void; doSnap(location: Vector3): Vector3; } } declare module "sk/frame/logic/editor/base/editor/C2dBathroomOpeningMoveAction" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { FamilyInstanceActionEvent } from 'sk/editor/scheme/action/instance/FamilyInstanceActionEvent'; import { C2dEditorMoveAction } from "sk/frame/logic/editor/base/editor/C2dEditorMoveAction"; export class C2dBathroomOpeningMoveAction extends C2dEditorMoveAction { constructor(); onExecute(event: FamilyInstanceActionEvent): void; doSnap(location: Vector3, offset: Vector3, event: FamilyInstanceActionEvent): Vector3; } } declare module "sk/frame/logic/editor/base/editor/C2dBathroomWallPlankContainerMoveAction" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { FamilyInstanceActionEvent } from 'sk/editor/scheme/action/instance/FamilyInstanceActionEvent'; import { C2dEditorMoveAction } from "sk/frame/logic/editor/base/editor/C2dEditorMoveAction"; export class C2dBathroomWallPlankContainerMoveAction extends C2dEditorMoveAction { constructor(); onExecute(event: FamilyInstanceActionEvent): void; doSnap(location: Vector3, offset: Vector3, event: FamilyInstanceActionEvent): Vector3; } } declare module "sk/frame/logic/editor/base/editor/C2dBathroomWallPlankMoveAction" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { FamilyInstanceActionEvent } from 'sk/editor/scheme/action/instance/FamilyInstanceActionEvent'; import { C2dEditorMoveAction } from "sk/frame/logic/editor/base/editor/C2dEditorMoveAction"; export class C2dBathroomWallPlankMoveAction extends C2dEditorMoveAction { constructor(); onExecute(event: FamilyInstanceActionEvent): void; doSnap(location: Vector3, offset: Vector3, event: FamilyInstanceActionEvent): Vector3; } } declare module "sk/frame/logic/editor/base/editor/C2dBathroomWallTileMoveAction" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { FamilyInstanceActionEvent } from 'sk/editor/scheme/action/instance/FamilyInstanceActionEvent'; import { C2dEditorMoveAction } from "sk/frame/logic/editor/base/editor/C2dEditorMoveAction"; export class C2dBathroomWallTileMoveAction extends C2dEditorMoveAction { constructor(); onExecute(event: FamilyInstanceActionEvent): void; doSnap(location: Vector3, offset: Vector3, event: FamilyInstanceActionEvent): Vector3; } } declare module "sk/frame/logic/editor/base/editor/C2dCopyElementActionEvent" { import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { ContentElementActionEvent } from 'sk/editor/scheme/action/instance/pattern/ContentElementActionEvent'; export class C2dCopyElementActionEvent extends ContentElementActionEvent { copyNode: DataNode; } } declare module "sk/frame/logic/editor/base/editor/C2dDistributeAction" { import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { Action } from 'foundation/editor/view/action/Action'; import { Element } from 'sk/data/family/element/base/Element'; import { FamilyInstanceNode } from 'sk/data/family/model/instance/FamilyInstanceNode'; import { FamilyDocumentService } from 'sk/data/family/service/FamilyDocumentService'; import { SchemeDocumentService, SchemeWorkflowOptions } from 'sk/data/scheme/service/SchemeDocumentService'; import { ContentElementActionEvent } from 'sk/editor/scheme/action/instance/pattern/ContentElementActionEvent'; import { PlankEntity } from 'sk/editor/logic/entity/PlankEntity'; export type StorageData = { visible: boolean; }; export class C2dDistributeAction extends Action { entity: FamilyInstanceNode; visible: boolean; protected _savedData: StorageData; protected _restoreData: StorageData; protected _selectionService: SelectionService; protected _calculatorService: CalculatorService; protected _familyDocumentService: FamilyDocumentService; protected _schemeDocumentService: SchemeDocumentService; constructor(); protected switchVisible(visible: boolean): void; private setNodeVisible; onExecute(event?: ContentElementActionEvent): void; protected movePlank(entity: PlankEntity, posx: number, posy: number, posz: number): void; computeWorkflowMove(element?: Element, options?: SchemeWorkflowOptions): void; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/logic/editor/base/editor/C2dEditorAddCompositeAction" { import { CoordService } from 'foundation/runtime/math/coord/CoordService'; import { ContentNode } from 'foundation/data/common/model/brep/ContentNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { ActionResult } from 'foundation/editor/view/action/ActionResult'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { AsyncCompositeAction } from 'foundation/editor/view/action/AsyncCompositeAction'; import { ContentElementActionEvent } from 'sk/editor/scheme/action/instance/pattern/ContentElementActionEvent'; import { ContentElementAddAction } from 'sk/editor/scheme/action/instance/pattern/ContentElementAddAction'; import { C2dEditorMoveAction } from "sk/frame/logic/editor/base/editor/C2dEditorMoveAction"; export class C2dEditorAddCompositeAction extends AsyncCompositeAction { entity: ContentNode; element: any; addAction: ContentElementAddAction; moveAction: C2dEditorMoveAction; protected _actionService: ActionService; protected _selectionService: SelectionService; protected _coordService: CoordService; constructor(); onSetup(): void; onExecute(event?: any): void; onExecuteAsync(event?: ContentElementActionEvent): Promise; onReceive(code: string, event: any): boolean; } } declare module "sk/frame/logic/editor/base/editor/C2dEditorMultiCopyAction" { import { Types } from 'cross/runtime/lang/collection/Types'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { ActionResult } from 'foundation/editor/view/action/ActionResult'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { NestElement } from 'sk/data/family/element/base/NestElement'; import { ContentInstanceElement } from 'sk/data/family/element/instance/ContentInstanceElement'; import { ContentInstanceNode } from 'sk/data/family/model/instance/ContentInstanceNode'; import { FamilyInstanceActionEvent } from 'sk/editor/scheme/action/instance/FamilyInstanceActionEvent'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; export class C2dEditorMultiCopyAction extends SchemeAsyncAction { entitys: Array; copyEntitys: Array; elements: Array; protected copyElements: Array; parent: NestElement; host: DataNode; protected _selectionService: SelectionService; protected _actionService: ActionService; constructor(); protected addElement(): void; onExecuteAsync(event?: FamilyInstanceActionEvent): Promise; getCopyEntitys(): Types; onUndoAsync(): Promise>; onRedoAsync(): Promise>; } } declare module "sk/frame/logic/editor/base/editor/C2dEditorCopyCompositeAction" { import { CoordService } from 'foundation/runtime/math/coord/CoordService'; import { ContentNode } from 'foundation/data/common/model/brep/ContentNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { ActionResult } from 'foundation/editor/view/action/ActionResult'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { AsyncCompositeAction } from 'foundation/editor/view/action/AsyncCompositeAction'; import { FamilyDocument } from 'sk/data/family/library/FamilyDocument'; import { SchemeWorkflowOptions } from 'sk/data/scheme/service/SchemeTechnologyDocumentService'; import { C2dCopyElementActionEvent } from "sk/frame/logic/editor/base/editor/C2dCopyElementActionEvent"; import { C2dEditorMoveAction } from "sk/frame/logic/editor/base/editor/C2dEditorMoveAction"; import { C2dEditorMultiCopyAction } from "sk/frame/logic/editor/base/editor/C2dEditorMultiCopyAction"; export class C2dEditorCopyCompositeAction extends AsyncCompositeAction { entity: ContentNode; element: any; multiCopyAction: C2dEditorMultiCopyAction; moveAction: C2dEditorMoveAction; private _schemeDocumentService; document: FamilyDocument; protected _actionService: ActionService; protected _selectionService: SelectionService; protected _coordService: CoordService; constructor(); onSetup(): void; onExecute(event?: any): void; computeWorkflowVison(element?: Element, options?: SchemeWorkflowOptions): void; onExecuteAsync(event?: C2dCopyElementActionEvent): Promise; onReceive(code: string, event: any): boolean; } } declare module "sk/frame/logic/editor/base/editor/C2dFamilyInstanceDeleteAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { ContentNode } from 'foundation/data/common/model/brep/ContentNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { AsyncAction } from 'foundation/editor/view/action/AsyncAction'; import { BrepElement } from 'sk/data/family/element/brep/BrepElement'; import { ContentElement } from 'sk/data/family/element/brep/ContentElement'; import { FamilyInstanceElement } from 'sk/data/family/element/instance/FamilyInstanceElement'; export class C2dFamilyInstanceDeleteAction extends AsyncAction { entity: ContentNode; element: ContentElement; parent: ContentElement; host: BrepElement; protected _delDatas: FamilyInstanceElement[]; protected _selectionService: SelectionService; constructor(); onExecuteAsync(event?: ContentActionEvent): Promise>; onUndoAsync(): Promise>; onRedoAsync(): Promise>; } } declare module "sk/frame/logic/editor/base/editor/C2dLevellerMoveAction" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { FamilyInstanceActionEvent } from 'sk/editor/scheme/action/instance/FamilyInstanceActionEvent'; import { C2dEditorMoveAction } from "sk/frame/logic/editor/base/editor/C2dEditorMoveAction"; export class C2dLevellerMoveAction extends C2dEditorMoveAction { constructor(); onExecute(event: FamilyInstanceActionEvent): void; doSnap(location: Vector3): Vector3; } } declare module "sk/frame/logic/editor/base/editor/C2dLevellerEditorController" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { C2dEditorActionEvent } from "sk/frame/logic/editor/base/editor/C2dEditorActionEvent"; import { C2dEditorController } from "sk/frame/logic/editor/base/editor/C2dEditorController"; export class C2dLevellerEditorController extends C2dEditorController { onDragStart(sender: ListenerContext, event: C2dEditorActionEvent): boolean; } } declare module "sk/frame/logic/editor/base/editor/C2dMergerPlankAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { UiDesktopService } from 'foundation/editor/ui/desktop/UiDesktopService'; import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { AsyncAction } from 'foundation/editor/view/action/AsyncAction'; import { FamilyInstanceNode } from 'sk/data/family/model/instance/FamilyInstanceNode'; import { PlankElement } from 'sk/data/scheme/database/furniture/element/PlankElement'; export class C2dMergePlankAction extends AsyncAction { entity: FamilyInstanceNode; protected oldPlanks: PlankElement[]; protected newPlank: PlankElement; protected _selectionService: SelectionService; protected _calculatorService: CalculatorService; protected _actionService: ActionService; protected _uiDesktopService: UiDesktopService; constructor(); onExecuteAsync(event?: ContentActionEvent): Promise>; onUndoAsync(): Promise>; onRedoAsync(): Promise>; } } declare module "sk/frame/logic/editor/base/editor/C2dPitAlignAction" { import { CoordService } from 'foundation/runtime/math/coord/CoordService'; import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { WareElement } from 'sk/data/family/element/instance/WareElement'; import { SchemeAction } from 'sk/editor/scheme/action/SchemeAction'; import { WareEntity } from 'sk/editor/scheme/entity/WareEntity'; export class C2dPitAlignAction extends SchemeAction { entity: WareEntity; element: WareElement; protected _oldData: any; protected _newData: any; protected _coordService: CoordService; constructor(); onExecute(event: ContentActionEvent): void; private getCenterPoint; private pitAlignVerify; private getRoomToWare; onUndo(): void; onRedo(): void; } } declare module "sk/frame/logic/editor/base/editor/C2dPlankContainerEditorController" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { C2dEditorActionEvent } from "sk/frame/logic/editor/base/editor/C2dEditorActionEvent"; import { C2dEditorController } from "sk/frame/logic/editor/base/editor/C2dEditorController"; export class C2dPlankContainerEditorController extends C2dEditorController { onDragStart(sender: ListenerContext, event: C2dEditorActionEvent): boolean; } } declare module "sk/frame/logic/editor/base/editor/C2dPlankEditorController" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { C2dEditorActionEvent } from "sk/frame/logic/editor/base/editor/C2dEditorActionEvent"; import { C2dEditorController } from "sk/frame/logic/editor/base/editor/C2dEditorController"; export class C2dPlankEditorController extends C2dEditorController { onDragStart(sender: ListenerContext, event: C2dEditorActionEvent): boolean; } } declare module "sk/frame/logic/editor/base/editor/C2dPlankElementEditorController" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { C2dEditorActionEvent } from "sk/frame/logic/editor/base/editor/C2dEditorActionEvent"; import { C2dEditorController } from "sk/frame/logic/editor/base/editor/C2dEditorController"; export class C2dPlankElementEditorController extends C2dEditorController { onDragStart(sender: ListenerContext, event: C2dEditorActionEvent): boolean; } } declare module "sk/frame/logic/editor/base/editor/C2dPlankMergeDesignAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { UiDesktopService } from 'foundation/editor/ui/desktop/UiDesktopService'; import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { AsyncAction } from 'foundation/editor/view/action/AsyncAction'; import { ContentElement } from 'sk/data/family/element/brep/ContentElement'; import { PlankElement } from 'sk/data/scheme/database/furniture/element/PlankElement'; export class C2dPlankMergeDesignAction extends AsyncAction { protected _oldPlanks: PlankElement[]; protected _newPlanks: PlankElement[]; protected _parent: ContentElement; protected _selectionService: SelectionService; protected _calculatorService: CalculatorService; protected _uiDesktopService: UiDesktopService; constructor(); onExecuteAsync(event?: ContentActionEvent): Promise>; private fetchBindingDecorateAsync; onUndoAsync(): Promise>; onRedoAsync(): Promise>; } } declare module "sk/frame/logic/editor/base/editor/C2dPlankTileEditorController" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { C2dEditorActionEvent } from "sk/frame/logic/editor/base/editor/C2dEditorActionEvent"; import { C2dEditorController } from "sk/frame/logic/editor/base/editor/C2dEditorController"; export class C2dPlankTileEditorController extends C2dEditorController { onDragStart(sender: ListenerContext, event: C2dEditorActionEvent): boolean; } } declare module "sk/frame/logic/editor/base/editor/C2dReferenceLineClearAction" { import { Types } from 'cross/runtime/lang/collection/Types'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { ActionResult } from 'foundation/editor/view/action/ActionResult'; import { AsyncAction } from 'foundation/editor/view/action/AsyncAction'; import { ReferenceLineElement } from 'sk/data/family/element/assistant/reference/ReferenceLineElement'; import { ContentElement } from 'sk/data/family/element/brep/ContentElement'; export class C2dReferenceLineClearAction extends AsyncAction { referenceLines: Types; protected _parent: ContentElement; protected _selectionService: SelectionService; constructor(); onExecuteAsync(event: ContentActionEvent): Promise; onUndoAsync(): Promise>; onRedoAsync(): Promise>; } } declare module "sk/frame/logic/editor/base/editor/C2dReferenceLineVisibleAction" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { Action } from 'foundation/editor/view/action/Action'; import { ReferenceLineNode } from 'sk/data/family/model/assistant/reference/ReferenceLineNode'; export type StorageData = { visible: boolean; }; export class VisibleEnum { static visibleChange: string; } export class C2dReferenceLineVisibleAction extends Action { lines: Array; visible: boolean; protected _savedData: StorageData; protected _restoreData: StorageData; protected _selectionService: SelectionService; constructor(); protected switchVisible(node: ReferenceLineNode, visible: boolean): void; onExecute(event?: ContentActionEvent): boolean; onUndo(): boolean; onRedo(): boolean; } } declare module "sk/frame/logic/editor/component/EditorCheckPanel" { import { Types } from 'cross/runtime/lang/collection/Types'; import { ValidateMessage } from 'foundation/core/module/validate/ValidateMessage'; import { UiComponent } from 'foundation/editor/ui/core/UiComponent'; export class EditorCheckPanel extends UiComponent { state: { messages: Types; }; showValidMessage(messages: Types): void; private showMessage; render(): JSX.Element; } } declare module "sk/frame/logic/editor/component/EditorOpterateCard" { import { UiControl } from 'foundation/editor/ui/core/UiControl'; export class EditorOpterateCard extends UiControl { productShow: any; afterMouseEnter: any; afterMouseLeave: any; onClick: any; constructor(props: any, context?: any); render(): JSX.Element; } } declare module "sk/frame/logic/editor/component/EditorOperatePanel" { import { TypeMap } from 'cross/runtime/lang/collection/TypeMap'; import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { ContentNode } from 'foundation/data/common/model/brep/ContentNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { UiControl } from 'foundation/editor/ui/core/UiControl'; import { ActionResult } from 'foundation/editor/view/action/ActionResult'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { ContentInstanceElement } from 'sk/data/family/element/instance/ContentInstanceElement'; import { ElementPerformerContext } from 'sk/data/family/performer/element/ElementPerformerContext'; import { AssemblyLayerTypeEnum } from 'sk/data/family/enumeration/AssemblyLayerTypeEnum'; import { SchemeConfigService } from 'sk/data/scheme/config/SchemeConfigService'; import { UiLogicEditorEvent } from "sk/frame/logic/editor/component/UiLogicEditorEvent"; export interface PartOperateState { products: Array; loading: boolean; modalVisible: boolean; modalItem: any; curTabLayer: string; curAddLayer: string; keyword: string; } export class EditorOperatePanel extends UiControl<{}, PartOperateState> { entity: ContentNode; selectEntity: ContentNode; layerMap: TypeMap; symbolLayerMap: TypeMap; plugin: any; protected isRenderSeleted: boolean; protected productMap: Map>; protected _selectionService: SelectionService; protected _actionService: ActionService; protected _schemeConfigService: SchemeConfigService; searchStyle: { searchButton: { width: string; height: string; background: string; borderRadius: string; fontSize: string; color: string; margin: string; lineHeight: string; }; resetButton: { width: string; height: string; background: string; borderRadius: string; fontSize: string; color: string; margin: string; lineHeight: string; }; searchInput: { width: string; height: string; }; tabpane: { paddingLeft: string; }; }; constructor(props?: any, context?: any); UNSAFE_componentWillMount(): void; componentWillUnmount(): void; protected onCardClickLayer: (e: any) => void; protected getProductData(): any[]; protected addProductData(code: AssemblyLayerTypeEnum, data: any): void; protected setProductData(code: string, array: Array): void; protected loadDataAsync(): Promise; protected getProductDataAsync(): Promise; protected saveToMapAsync(context: ElementPerformerContext, id: string, type: AssemblyLayerTypeEnum): Promise; protected renderLevels(keyword?: string): any; protected onTabChange(context: ListenerContext, event: UiLogicEditorEvent): void; protected refreshPanel(): void; protected refreshTree(): void; protected onLevelCardClickAsync: (item: any) => Promise; protected search(): void; protected reset(): void; protected onPressEnter(e: any): void; protected makeSearchBox(): JSX.Element; protected renderEmpty(): any; render(): JSX.Element; } } declare module "sk/frame/logic/editor/component/EditorOperateShowInfoPanel" { import { ResourcePictureService } from 'foundation/core/resource/ResourcePictureService'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class EditorOperateShowInfoPanel extends UiContainer { parent: any; protected _resourcePictureService: ResourcePictureService; constructor(props?: any, context?: any); makeModelList(): any[]; onSymbolClick: (symbol: any) => () => void; render(): JSX.Element; } } declare module "sk/frame/logic/editor/component/EditorPropertyControl" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { EditorPanelDomainService } from "sk/frame/logic/base/EditorPanelDomainService"; import { UiLogicEditorEvent } from "sk/frame/logic/editor/component/UiLogicEditorEvent"; import { UiSafeLogicEditorContainer, UiSafeLogicEditorContainerProps, UiSafeLogicEditorContainerState } from "sk/frame/logic/editor/component/UiSafeLogicEditorContainer"; export interface EditorPropertyPanelProps extends UiSafeLogicEditorContainerProps { panelType: string; selectEntity: any; editorEntity: any; domainType: string; } export interface EditorPropertyPanelState extends UiSafeLogicEditorContainerState { selectEntity: any; } export class EditorPropertyControl extends UiSafeLogicEditorContainer { protected _editorPanelDomainService: EditorPanelDomainService; constructor(props: EditorPropertyPanelProps, context?: any); get selectEntity(): any; onEditorEntityChanged(context: ListenerContext, event: UiLogicEditorEvent): void; render(): JSX.Element; } } declare module "sk/frame/logic/editor/component/EditorTable" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { SelectionEvent } from 'foundation/editor/base/selection/SelectionEvent'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { UiPanel } from 'foundation/editor/ui/container/UiPanel'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { TransactionService } from 'foundation/editor/view/transaction/TransactionService'; import { DynamicWareNode } from 'sk/data/family/model/instance/DynamicWareNode'; import { UiLogicEditorEvent } from "sk/frame/logic/editor/component/UiLogicEditorEvent"; export class EditorTable extends UiPanel { protected entity: DynamicWareNode; protected _selectionService: SelectionService; protected _transactionService: TransactionService; protected _actionService: ActionService; private plugin; private layer; private isCurrentLayer; private isHideObjStatus; protected _columnsDirty: boolean; private _mutiple; searchStyle: { searchButton: { width: string; height: string; background: string; borderRadius: string; fontSize: string; color: string; margin: string; lineHeight: string; }; resetButton: { width: string; height: string; background: string; borderRadius: string; fontSize: string; color: string; margin: string; lineHeight: string; }; searchInput: { width: string; height: string; }; }; constructor(props: any, context?: any); onSelectedRowKeysChange: (selectedRowKeys: any) => void; selectRow: (record: any) => void; UNSAFE_componentWillMount(): void; componentWillUnmount(): void; protected onTreeSelect: (selectedKeys: any, info: any) => void; onSelectionChanged(sender: ListenerContext, event: SelectionEvent): void; onTabChange(sender: ListenerContext, event: SelectionEvent): void; onStageChange(sender: ListenerContext, event: SelectionEvent): void; makeTableData(): any; private dataNameFix; private expandKey; private contentFilter; private createTree; private changeTwoDecimal; private createTable; private changeTreeNodeStatus; refreshTreeNode(sender: ListenerContext, event: UiLogicEditorEvent): void; private onHideRefreshTree; isVisibleTreeNode(): boolean; getDataKey(): string; onRowClick: (event: any, record: any, index: any) => void; onRowDoubleClick: (event: any, record: any, index: number) => void; protected onRowMouseEnter: (event: any, record: any, index: number) => void; protected onRowMouseLeave: (event: any, record: any, index: number) => void; protected search(): void; protected reset(): void; protected onPressEnter(e: any): void; protected makeSearchBox(): JSX.Element; private onExpand; render(): JSX.Element; } } declare module "sk/frame/logic/scheme/ViewCameraEnum" { export class ViewCameraEnum { static FlatCanvas: string; static FlatUpCanvas: string; static AerialView: string; static FirstPerson: string; static NormalRender: string; static BirdRender: string; static PanoRender: string; static Orthogonal: string; } } declare module "sk/frame/logic/ui/toolbar/ToolbarTransaction" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { HotkeyService } from 'cross/editor/module/hotkey/HotkeyService'; import { UiOptionContainer } from 'foundation/editor/ui/core/UiOptionContainer'; import { UiContext } from 'foundation/editor/ui/UiContext'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { TransactionEvent } from 'foundation/editor/view/transaction/TransactionEvent'; import { TransactionService } from 'foundation/editor/view/transaction/TransactionService'; import { EditBrushService } from 'sk/editor/scheme/furniture/service/EditBrushService'; export type ToolbarTransactionState = { cameraViewCd: string; redoEnable: boolean; undoEnable: boolean; }; export class ToolbarTransaction extends UiOptionContainer { state: ToolbarTransactionState; private hotkeyArray; protected _actionService: ActionService; protected _transactionService: TransactionService; protected _hotkeyService: HotkeyService; protected _editBrushService: EditBrushService; constructor(props: any, context?: any); UNSAFE_componentWillMount(): void; componentWillUnmount(): void; componentResize(context?: UiContext): void; private registerHotKey; private unregisterHotKey; onUndoRedoStateChanged(sender: ListenerContext, event: TransactionEvent): void; onUndoClickAsync: (event: any) => Promise; onRedoClickAsync: (event: any) => Promise; onEsc(): void; render(): JSX.Element; } } declare module "sk/frame/logic/editor/component/ToolbarIconCollectionEnum" { export class ToolbarIconCollectionEnum { static hide: string; static hideHover: string; static hideClicked: string; static delete: string; static deleteHover: string; static deleteClicked: string; static show: string; static showHover: string; static showClicked: string; static undo: string; static undoHover: string; static undoClicked: string; static redo: string; static redoHover: string; static redoClicked: string; static back: string; static backHover: string; static backClicked: string; static save: string; static saveHover: string; static saveClicked: string; static editPlank: string; static editPlankHover: string; static editPlankClicked: string; static mergePlank: string; static mergePlankHover: string; static mergePlankClicked: string; static resetAll: string; static resetAllHover: string; static resetAllClicked: string; static resetHardware: string; static resetHardwareHover: string; static resetHardwareClicked: string; static addMilling: string; static addMillingHover: string; static addMillingClicked: string; static addHole: string; static addHoleHover: string; static addHoleClicked: string; static addTechRoundHole: string; static addTechRoundHoleHover: string; static addTechRoundHoleClicked: string; static addTechSquareHole: string; static addTechSquareHoleHover: string; static addTechSquareHoleClicked: string; static view: string; static viewHover: string; static viewClicked: string; static overturnHorizen: string; static overturnHorizenHover: string; static overturnHorizenClicked: string; static overturnVertical: string; static overturnVerticalHover: string; static overturnVerticalClicked: string; static drawing: string; static drawingHover: string; static drawingClicked: string; static ruler: string; static rulerHover: string; static rulerClicked: string; static display: string; static displayHover: string; static displayClicked: string; } } declare module "sk/frame/logic/editor/component/EditorToolbarPanel" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { CoordService } from 'foundation/runtime/math/coord/CoordService'; import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { UiDesktopEvent } from 'foundation/editor/ui/desktop/UiDesktopEvent'; import { UiDesktopService } from 'foundation/editor/ui/desktop/UiDesktopService'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { EditorStackService } from 'foundation/editor/view/stack/EditorStackService'; import { PatternInstanceElement } from 'sk/data/family/element/instance/PatternInstanceElement'; import { PatternInstanceNode } from 'sk/data/family/model/instance/PatternInstanceNode'; import { SchemeDocumentService } from 'sk/data/scheme/service/SchemeDocumentService'; import { LayerControlService } from "sk/frame/logic/editor/base/base/LayerControlService"; import { StateControlService } from "sk/frame/logic/editor/base/base/StateControlService"; import { UiLogicEditorContainer } from "sk/frame/logic/editor/component/UiLogicEditorContainer"; import { UiLogicEditorEvent } from "sk/frame/logic/editor/component/UiLogicEditorEvent"; export enum EditorToolbarStyleType { UiLogicToolButton = 0, UiLogicToolCheck = 1, UiLogicToolPopover = 2, UiLogicToolSplit = 3, UiLogicToolContent = 4, frame = 5, config = 6 } export type EditorToolbarConfig = { key?: string; name?: string; label?: string; type?: EditorToolbarStyleType; child_name?: string; id?: string; icon?: string; style?: any; title?: any; frame?: any; frame_function?: any; enable?: boolean; className?: string; arrayGap?: number; arrayCount?: number; }; export class EditorToolbarPanel extends UiLogicEditorContainer { protected _actionService: ActionService; protected _selectionService: SelectionService; protected _desktopService: UiDesktopService; protected _stackService: EditorStackService; protected _coordService: CoordService; protected _schemeDocumentService: SchemeDocumentService; protected _stateService: StateControlService; editorEntity: DataNode; selectEntity: any; protected frame: any; protected layout: any; protected paramContent: any; protected configs: EditorToolbarConfig[]; protected nodes: Map; protected plugin: any; private childs; protected _layerControlService: LayerControlService; constructor(props?: any, contex?: any); UNSAFE_componentWillMount(): void; componentWillUnmount(): void; refreshlayer(): void; refreshPanel(): void; protected onMouseDown(sender: ListenerContext, event: UiDesktopEvent): void; protected onKeyboardDown(sender: ListenerContext, event: UiDesktopEvent): void; onHide: () => void; onDeleteAsync: () => Promise; onVisible: () => void; protected onCheckClick(): void; protected onResetClick(): void; protected onClearClick(): void; protected onCloseClick(): void; protected onLayerClick(layer: string, event: any): void; protected onLayerClick1(layer: string, event: any): void; protected initRoomNode(name: string): boolean; protected clearAsync: (element: PatternInstanceElement) => Promise; protected resetAsync: (element: PatternInstanceElement) => Promise; onToolCheck: (config: EditorToolbarConfig, childs?: any) => void; onLoadContainers(): void; computeReferenceAxisLine(node: PatternInstanceNode, containerName: string): void; clearReferenceAxisLine(node: PatternInstanceNode, containerName: string): void; addArrayReferenceAxisLine(): void; createArrayReferenceAxisLinPanel(): JSX.Element; onInputChange(event: any): void; private setNodeVisible; protected refreshTree(event?: UiLogicEditorEvent): void; private findNode; protected makeModeSelect(): any; renderLayers(): void; protected onModeChange(config: EditorToolbarConfig): void; onEventClick: (config: EditorToolbarConfig) => (event: any) => void; protected updateEditorEntityData(): void; protected onRulerClick: () => void; protected handleRulerClick: () => void; protected handleAlignClick(parameter: string): void; protected handleDistributeClick(parameter: string): void; protected makeContents(): any; protected leftContents(): any; protected rightContentsDebug(): any; protected rightContents(): any; render(): JSX.Element; } } declare module "sk/frame/logic/editor/component/EditorTreePanel" { import { EventObject } from 'cross/runtime/lang/EventObject'; import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DeviceService } from 'cross/runtime/module/device/DeviceService'; import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { SelectionEvent } from 'foundation/editor/base/selection/SelectionEvent'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { UiPanel } from 'foundation/editor/ui/container/UiPanel'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { TransactionService } from 'foundation/editor/view/transaction/TransactionService'; import { LayerControlService } from "sk/frame/logic/editor/base/base/LayerControlService"; import { EditorTable } from "sk/frame/logic/editor/component/EditorTable"; import { UiLogicEditorEvent } from "sk/frame/logic/editor/component/UiLogicEditorEvent"; export type EditorTreeConfig = { key: string; tabType: string; entity?: DataNode; layerFilter: MatchFilter; contentFilter?: MatchFilter[]; }; export type MatchFilter = { items: MathItemFilter[]; }; export type MathItemFilter = { type: TabFilterType; save?: boolean; clazzs?: Function[]; names?: string[]; funcs?: Function[]; }; export enum TabFilterType { all = 0, clazz = 1, name = 2, func = 3 } export class EditorTreePanel extends UiPanel { protected entity: DataNode; protected configs: EditorTreeConfig[]; curTree: EditorTable; protected curClass: Function; protected curPlugin: any; protected _selectionService: SelectionService; protected _actionService: ActionService; protected _deviceService: DeviceService; protected _layerControlService: LayerControlService; protected _transactionService: TransactionService; constructor(props?: any, context?: any); onTreeRef: (instance: any) => void; UNSAFE_componentWillMount(): void; componentDidMount(): void; componentWillUnmount(): void; onEditorEntityChanged(context: ListenerContext, event: UiLogicEditorEvent): void; onSelectionChangedAsync(sender: ListenerContext, event: SelectionEvent): Promise; refreshTreeNode(sender?: ListenerContext, event?: EventObject): void; registLayer(): void; protected loadAssembleNode(): void; protected findContainer(node: DataNode): DataNode[]; private filterNodeByConfig; private matchDataByName; private matchDataByClazz; private matchDataByFunc; private resetConfigDatas; protected hideObj(activeKey: string): void; protected onTabChangeEvent(activeKey: string): void; private onResize; render(): JSX.Element; } } declare module "sk/frame/logic/editor/component/LogicEditorUtil" { import { DataNode } from 'foundation/data/common/model/base/DataNode'; export class LogicEditorUtil { static makeTitleConvertNodeName(node: DataNode, visible: boolean): JSX.Element; private static convertNodeName; private static change4; } } declare module "sk/frame/logic/editor/component/EditorTree" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { SelectionEvent } from 'foundation/editor/base/selection/SelectionEvent'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { UiPanel } from 'foundation/editor/ui/container/UiPanel'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { TransactionService } from 'foundation/editor/view/transaction/TransactionService'; import { DynamicWareNode } from 'sk/data/family/model/instance/DynamicWareNode'; import { UiLogicEditorEvent } from "sk/frame/logic/editor/component/UiLogicEditorEvent"; export class EditorTree extends UiPanel { protected entity: DynamicWareNode; protected _selectionService: SelectionService; protected _transactionService: TransactionService; protected _actionService: ActionService; private plugin; private layer; private isCurrentLayer; private isHideObjStatus; constructor(props: any, context?: any); UNSAFE_componentWillMount(): void; componentWillUnmount(): void; private onEditorEntityChanged; onSelectionChanged(sender: ListenerContext, event: SelectionEvent): void; onTabChange(sender: ListenerContext, event: SelectionEvent): void; onStageChange(sender: ListenerContext, event: SelectionEvent): void; makeTreeData(): any; private createTree; private initExpandedId; private findExpandedId; private checkSelectedNodeKeyValid; private changeTreeNodeStatus; private onLoadTreeNodeData; refreshTreeNode(sender: ListenerContext, event: UiLogicEditorEvent): void; private updateTreeStatusVisible; private onHideRefreshTree; private onVisibleRefreshTree; protected onTreeSelect: (selectedKeys: any, info: any) => void; isVisibleTreeNode(): boolean; isMultiSelectKey(info: any): boolean; clearTreeState(): void; private onTreeNodeRightClick; private onExpand; private onLoad; private checkNodeProperty; private constainHideNodeClazz; private renderTreeNodes; private checkNodeByMatchFilter; private checkNodeByItemFilter; private matchContentByName; private matchContentByClazz; private matchContentByFunc; render(): JSX.Element; } } declare module "sk/frame/logic/editor/component/LevelCard" { import { UiControl } from 'foundation/editor/ui/core/UiControl'; export class LevelCard extends UiControl { productShow: any; afterMouseEnter: any; afterMouseLeave: any; onClick: any; constructor(props: any, context?: any); mouseEnter: () => void; mouseLeave: () => void; render(): JSX.Element; } } declare module "sk/frame/logic/editor/component/PartOperatePanel" { import { UiControl } from 'foundation/editor/ui/core/UiControl'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { LevelingFloorNode } from 'sk/data/scheme/database/pattern/node/LevelingFloorNode'; import { ProductShowCategoryItemService } from "sk/frame/logic/storage/module/product/show/category/item/ProductShowCategoryItemService"; export interface PartOperateState { levelers: Array; baseBlanks: Array; decoratePlanks: Array; loadedLevels: boolean; loadedBasePlanks: boolean; loadedDecoratePlanks: boolean; loadingLevels: boolean; loadingBasePlanks: boolean; loadingDecoratePlanks: boolean; } export class PartOperatePanel extends UiControl<{}, PartOperateState> { private levelingCode; private baseBlankCode; private decorateBlankCode; entity: LevelingFloorNode; protected _productShowCategoryItemService: ProductShowCategoryItemService; protected _actionService: ActionService; constructor(props: any, context?: any); UNSAFE_componentWillMount(): void; private renderLevels; private onLevelClick; private addProduct; protected loadDataAsync(code: string): Promise; onCardClick: (_productShow: any) => void; private renderEmpty; render(): JSX.Element; } } declare module "sk/frame/logic/editor/component/UiLogicEditorActionEnum" { export class UiLogicEditorActionEnum { static TabTree: string; static TreeNodeDisable: string; static TreeNodeEnable: string; static TreeNodeStatusUpdate: string; } } declare module "sk/frame/logic/editor/component/UiLogicPropertyPanel" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class UiLogicPropertyPanel extends UiContainer { render(): JSX.Element; } } declare module "sk/frame/logic/editor/component/UiLogicPropertyRow" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class UiLogicPropertyRow extends UiContainer { render(): JSX.Element; } } declare module "sk/frame/logic/editor/component/UiLogicPropertySegment" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class UiLogicPropertySegment extends UiContainer { render(): JSX.Element; } } declare module "sk/frame/logic/editor/component/UiTreeTablePanel" { import { UiSafeContainer, UiSafeContainerProps, UiSafeContainerState } from 'foundation/editor/ui/core/UiSafeContainer'; export interface UiTreeTablePanelProps extends UiSafeContainerProps { value?: any; columns?: any; } export interface UiTreeTablePanelState extends UiSafeContainerState { dataSource?: Array; height: number; } export class UiTreeTablePanel extends UiSafeContainer { private _panel; constructor(props?: any, context?: any); static getDerivedStateFromProps(nextProps: any, prevState: any): any; componentDidMount(): void; setPanel: (panel: any) => void; render(): JSX.Element; } } declare module "sk/frame/logic/editor/component/common/ContentNodeInfoProperty" { import { EditorPropertyPanel } from "sk/frame/logic/editor/component/EditorPropertyPanel"; export class ContentNodeInfoProperty extends EditorPropertyPanel { private showData; private defiaultData; constructor(props?: any, contex?: any); componentDidMount(): void; UNSAFE_componentWillUpdate(nextProps?: any, nextState?: any): void; private makeProperty; buildColumns(): Array; render(): JSX.Element; } } declare module "sk/frame/logic/editor/component/display/C2dEditorDimension" { import { BrepNode } from 'foundation/data/common/model/brep/BrepNode'; import { V2dGraphicDrawing } from 'foundation/editor/view/view2d/render/V2dGraphicDrawing'; import { BrepDisplay } from 'foundation/editor/view/base/BrepDisplay'; import { Canvas } from 'foundation/editor/view/base/Canvas'; import { DrawingDataDocument } from 'sk/data/family/drawing/DrawingDataDocument'; import { BaseDrawingConverter } from 'sk/data/scheme/drawing/converter/base/BaseDrawingConverter'; import { C2dCanvasContext } from 'sk/editor/logic/view/canvas2d/C2dCanvasContext'; type C2dEditorConfig = { editorClazz: any; }; export class C2dEditorDimension extends BrepDisplay { context: C2dCanvasContext; entity: any; dimensionGraphic: V2dGraphicDrawing; drawDimNodes: BrepNode[]; protected begintimingaction: NodeJS.Timeout; editorCanvasconvert: BaseDrawingConverter; configs: C2dEditorConfig; protected editorClazz: any; constructor(); setup(): void; bindAction(): void; private onDirty; protected startDrawTiming(): void; protected startDraw: () => void; protected cleanDrawDimensionTimingAndNodes(): void; private cleanDrawNodes; protected drawFloorplanDimensions(entity: any): void; protected findDrawNodes(document: DrawingDataDocument): BrepNode[]; protected addNodesToDisplays(nodes: BrepNode[], canvas: Canvas): void; dispose(): void; } } declare module "sk/frame/logic/technology/SchemeTechnologyDocument" { import { Dictionary } from 'cross/runtime/lang/collection/Dictionary'; import { SchemeEditorDocument } from "sk/frame/logic/scheme/SchemeEditorDocument"; export class SchemeTechnologyDocument extends SchemeEditorDocument { identifys: Dictionary; constructor(); resetOptions(): void; loadProcessAsync(): Promise; static createEmptyDocument(): SchemeTechnologyDocument; static createDefaultDocument(): SchemeTechnologyDocument; loadSchemeDocumentJson(jconfig: any, options?: any): void; loadSchemeDocumentBinary(documentSource: any, options?: any): void; } } declare module "sk/frame/logic/editor/component/exploded/ExplodedEvent" { import { EventObject } from 'cross/runtime/lang/EventObject'; export class ExplodedEvent extends EventObject { parameters: any; viewType: string; hideLeft: boolean; hideRight: boolean; selectObject: any; free(): void; dispose(): void; } } declare module "sk/frame/logic/editor/component/exploded/ExplodedEventEnum" { export class ExplodedEventEnum { static ViewType: string; static HideLeft: string; static HideRight: string; static SelectObject: string; static SvgDrawingCode: string; static Action: string; } } declare module "sk/frame/logic/editor/component/exploded/ExplodedTree" { import { Types } from 'cross/runtime/lang/collection/Types'; import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { SelectionEvent } from 'foundation/editor/base/selection/SelectionEvent'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { UiSafeContainer, UiSafeContainerProps, UiSafeContainerState } from 'foundation/editor/ui/core/UiSafeContainer'; import { SchemeTechnologyDocument } from "sk/frame/logic/technology/SchemeTechnologyDocument"; import { ExplodedEvent } from "sk/frame/logic/editor/component/exploded/ExplodedEvent"; import { ExplodedPanel } from "sk/frame/logic/editor/component/exploded/ExplodedPanel"; export interface ExplodedTreeProps extends UiSafeContainerProps { expandedKeys?: Array; selectedKeys?: Array; document?: any; onSelectObject?: any; onSelect?: any; } export interface ExplodedTreeState extends UiSafeContainerState { expandedAll: boolean; expandedKeys: Array; selectedKeys: Array; treeData: any; } export abstract class ExplodedTree

extends UiSafeContainer { protected _statusSelecting: boolean; protected _explodedPanel: ExplodedPanel; protected _defaultKeys: Types; protected _allKeys: Types; protected _selectionService: SelectionService; constructor(props?: any, context?: any); componentDidMount(): void; componentWillUnmount(): void; onSelectionChangedAsync(sender: ListenerContext, event: SelectionEvent): Promise; onActionAsync(sender: ListenerContext, event: ExplodedEvent): Promise; protected abstract makeDocument(document: SchemeTechnologyDocument): void; onSelect: (selectedKeys: Array, event: any) => void; render(): JSX.Element; } } declare module "sk/frame/logic/editor/component/exploded/ExplodedLogicTree" { import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { OpeningNode } from 'sk/data/family/model/instance/OpeningNode'; import { WareNode } from 'sk/data/family/model/instance/WareNode'; import { FamilyBaseBlueprintNode } from 'sk/data/family/model/FamilyBaseBlueprintNode'; import { CeilingNode } from 'sk/data/scheme/database/floorplan/model/CeilingNode'; import { CowallNode } from 'sk/data/scheme/database/floorplan/model/CowallNode'; import { FloorNode } from 'sk/data/scheme/database/floorplan/model/FloorNode'; import { FloorplanNode } from 'sk/data/scheme/database/floorplan/model/FloorplanNode'; import { RoomNode } from 'sk/data/scheme/database/floorplan/model/RoomNode'; import { ChestNode } from 'sk/data/scheme/database/furniture/model/ChestNode'; import { PlankNode } from 'sk/data/scheme/database/furniture/model/PlankNode'; import { SchemeTechnologyDocument } from "sk/frame/logic/technology/SchemeTechnologyDocument"; import { ExplodedTree, ExplodedTreeProps, ExplodedTreeState } from "sk/frame/logic/editor/component/exploded/ExplodedTree"; export interface ExplodedLogicTreeProps extends ExplodedTreeProps { } export interface ExplodedLogicTreeState extends ExplodedTreeState { } export class ExplodedLogicTree extends ExplodedTree { makeFloorplanNode(node: FloorplanNode): any; makeRoomNode(node: RoomNode): any; makeCowallNode(node: CowallNode): any; makeCeilingNode(node: CeilingNode): any; makeFloorNode(node: FloorNode): any; makeOpeningNode(node: OpeningNode): any; makeWareNode(node: WareNode): any; makeChestNode(node: ChestNode): any; makePlankNode(node: PlankNode): any; makeNode(node: DataNode, expandKeys: string[], selectKeys: string[]): any; makeBlueprintNode(blueprint: FamilyBaseBlueprintNode, expandKeys: string[], selectKeys: string[]): any; protected makeDocument(document: SchemeTechnologyDocument): void; } } declare module "sk/frame/logic/editor/component/exploded/ExplodedNodeTree" { import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { FamilyBaseBlueprintNode } from 'sk/data/family/model/FamilyBaseBlueprintNode'; import { SchemeTechnologyDocument } from "sk/frame/logic/technology/SchemeTechnologyDocument"; import { ExplodedTree, ExplodedTreeProps, ExplodedTreeState } from "sk/frame/logic/editor/component/exploded/ExplodedTree"; export interface ExplodedNodeTreeProps extends ExplodedTreeProps { } export interface ExplodedNodeTreeState extends ExplodedTreeState { } export class ExplodedNodeTree extends ExplodedTree { makeNode(node: DataNode, expandKeys: string[], selectKeys: string[]): any; makeBlueprintNode(blueprint: FamilyBaseBlueprintNode, expandKeys: string[], selectKeys: string[]): any; protected makeDocument(document: SchemeTechnologyDocument): void; } } declare module "sk/frame/logic/editor/component/exploded/ExplodedContentPanel" { import { Dictionary } from 'cross/runtime/lang/collection/Dictionary'; import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { HttpDeviceService } from 'cross/core/device/http/HttpDeviceService'; import { JsonService } from 'cross/core/module/json/JsonService'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { RenderService } from 'foundation/editor/view/base/render/RenderService'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { DrawingDomainNode } from 'sk/data/family/drawing/model/DrawingDomainNode'; import { SchemeConfigService } from 'sk/data/scheme/config/SchemeConfigService'; import { SchemeTechnologyDocument } from "sk/frame/logic/technology/SchemeTechnologyDocument"; import { ExplodedEvent } from "sk/frame/logic/editor/component/exploded/ExplodedEvent"; import { ExplodedPanel } from "sk/frame/logic/editor/component/exploded/ExplodedPanel"; export class ExplodedContentPanel extends UiContainer { protected _calculatorService: CalculatorService; protected technologyDocument: SchemeTechnologyDocument; protected _currentViewType: string; protected expandKeys: string[]; protected allExpandKeys: string[]; protected selectNode: DrawingDomainNode; protected bomDocument: any; protected bomInfo: any[]; protected identifys: Dictionary; protected changeByTree: boolean; protected _contentPanel: any; protected _explodedPanel: ExplodedPanel; protected _selectionService: SelectionService; protected _httpService: HttpDeviceService; protected _jsonService: JsonService; protected _schemeConfigService: SchemeConfigService; protected _actionService: ActionService; protected _renderService: RenderService; constructor(props?: any, context?: any); onContentPanelRef: (value: any) => void; shouldComponentUpdate(nextProps: any, nextState: any): boolean; componentPropsChange(nextProps: any, nextContext: any): void; componentDidMount(): void; componentWillUnmount(): void; onHideLeft(sender: ListenerContext, event: ExplodedEvent): void; private onLoadDocumentAsync; onResize: () => void; render(): JSX.Element; } } declare module "sk/frame/logic/scheme/component/ToolbarDisplayComponent" { import { Dictionary } from 'cross/runtime/lang/collection/Dictionary'; import { HotkeyService } from 'cross/editor/module/hotkey/HotkeyService'; import { MoldingVisionEnum } from 'foundation/data/common/enumeration/MoldingVisionEnum'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { UiOptionContainer } from 'foundation/editor/ui/core/UiOptionContainer'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { TransactionService } from 'foundation/editor/view/transaction/TransactionService'; import { ISpecificationFamilyInfo } from 'sk/data/specification/base/ISpecificationFamilyInfo'; import { FamilyInstanceNode } from 'sk/data/family/model/instance/FamilyInstanceNode'; import { SchemeConfigService } from 'sk/data/scheme/config/SchemeConfigService'; import { SchemeDocumentService, SchemeWorkflowOptions } from 'sk/data/scheme/service/SchemeDocumentService'; import { EditBrushService } from 'sk/editor/scheme/furniture/service/EditBrushService'; import { SchemeBlueprintOptions } from 'sk/editor/scheme/entity/SchemeBlueprintOptions'; import { SchemeEditorDocument } from "sk/frame/logic/scheme/SchemeEditorDocument"; export type ToolbarDisplayProps = { document: SchemeEditorDocument; }; export type ToolbarDisplayState = { cameraViewCd: string; redoEnable: string; undoEnable: string; }; export class ToolbarDisplayComponent extends UiOptionContainer { protected document: SchemeEditorDocument; protected visionCallbacks: Dictionary; editOptions: SchemeBlueprintOptions; protected _actionService: ActionService; protected _transactionService: TransactionService; protected _hotkeyService: HotkeyService; protected _editBrushService: EditBrushService; protected _schemeDocumentService: SchemeDocumentService; protected _selectionService: SelectionService; protected _schemeConfigService: SchemeConfigService; constructor(props: any, context?: any); UNSAFE_componentWillMount(): void; componentDidMount(): void; private changeDimensionVisible; private changeSpaceTypeVisible; changeSpaceAreaVisible: () => void; changeBeamVisible: () => void; private loopNode; getFamilyInfoByNode(node: FamilyInstanceNode): ISpecificationFamilyInfo; protected setNodeMoldingVision(content: any, visionCd: MoldingVisionEnum): void; private setVisionCallback; private changeVisionCd; computeWorkflowShape(element?: any, options?: SchemeWorkflowOptions): void; computeWorkflowVision(element?: any, options?: SchemeWorkflowOptions): void; private computeWorkflow; changeGridVisible: () => void; changefurniturePositionVisible: () => void; private changeBackgroundVisible; changefurnitureVisible: () => void; protected changeLockStatus(): void; protected changeVisibleStatus(optionName: string): () => void; private makeControlHead; private makeRightControlHead; private makeControlLine; private makeRightControlLine; makeShowMenu(): JSX.Element; render(): JSX.Element; } } declare module "sk/frame/logic/editor/component/exploded/ExplodedToolbar" { import { StorageDeviceService } from 'cross/core/device/storage/StorageDeviceService'; import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { UiContainer, UiContainerProps, UiContainerState } from 'foundation/editor/ui/core/UiContainer'; import { UiDesktopService } from 'foundation/editor/ui/desktop/UiDesktopService'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { TransactionService } from 'foundation/editor/view/transaction/TransactionService'; import { FloorplanNode } from 'sk/data/scheme/database/floorplan/model/FloorplanNode'; import { SchemeConfigService } from 'sk/data/scheme/config/SchemeConfigService'; import { SchemeDocument } from 'sk/data/scheme/model/SchemeDocument'; import { SchemeTechnologyDocument } from "sk/frame/logic/technology/SchemeTechnologyDocument"; import { ExplodedContentPanel } from "sk/frame/logic/editor/component/exploded/ExplodedContentPanel"; import { ExplodedPanel } from "sk/frame/logic/editor/component/exploded/ExplodedPanel"; export interface ExplodedToolbarProps extends UiContainerProps { document: SchemeDocument; parent: any; } export interface ExplodedToolbarState extends UiContainerState { viewType: string; hideLeft: boolean; hideRight: boolean; } export class ExplodedToolbar

extends UiContainer { props: ExplodedToolbarProps; state: ExplodedToolbarState; protected document: SchemeTechnologyDocument; protected _explodedPanel: ExplodedPanel; protected _storageService: StorageDeviceService; protected _actionService: ActionService; protected _transactionService: TransactionService; protected _selectionService: SelectionService; protected _schemeConfigService: SchemeConfigService; protected _desktopService: UiDesktopService; constructor(props?: any, context?: any); componentDidMount(): void; protected getContentPanel: () => ExplodedContentPanel; protected getFloorplan(): FloorplanNode; protected onExpandAll: () => void; protected onUnexpandAll: () => void; protected onShowAllEntity: () => void; protected loopNode(node: DataNode, callback: Function): void; protected loopChildren(childNodes: any, callback: Function): void; protected validSelectType: (obj: DataNode, strict?: boolean) => boolean; protected onShowEntity: () => void; protected onHideEntity: () => void; protected onFocusEntity: () => void; protected onSwitchView2d: () => void; protected onSwitchView3d: () => void; protected onSwitchShowLeft(): void; protected onSwitchShowRight(key: string): void; protected onOption3DEngineClick: (event: any) => void; protected onValid: () => Promise; protected makeToolMenu(): JSX.Element; render(): JSX.Element; } } declare module "sk/frame/logic/editor/component/exploded/ExplodedPanel" { import { UiSafeContainer, UiSafeContainerProps, UiSafeContainerState } from 'foundation/editor/ui/core/UiSafeContainer'; import { CanvasService } from 'foundation/editor/view/base/CanvasService'; import { SchemeCanvas3d } from 'sk/editor/scheme/view/webgl3d/SchemeCanvas3d'; import { SchemeTechnologyDocument } from "sk/frame/logic/technology/SchemeTechnologyDocument"; export interface ExplodedDisplayOptions { isFamilyExploded?: boolean; explodedPanelDisplayOptions?: { explodedContentPanelDisplayOptions?: { explodedToolBarDisplayOptions?: { hideRight?: boolean; }; }; }; } export interface ExplodedPanelProps extends UiSafeContainerProps { code?: string; document: SchemeTechnologyDocument; bomDocument?: any; displayOptions?: any; } export interface ExplodedPanelState extends UiSafeContainerState { } export class ExplodedPanel extends UiSafeContainer { static canvasView: SchemeCanvas3d; selectObject: any; viewType: string; hideLeft: boolean; hideRight: boolean; isSvgDrawing: boolean; svgDrawingCode: string; protected _canvasService: CanvasService; constructor(props?: any, context?: any); changeViewType(value: string): void; changeHideLeft(value: boolean): void; changeHideRight(value: boolean): void; changeSelectObject(value: any): void; changeSvgDrawingCode(code: any): void; processAction(code: any, parameters?: any): void; render(): JSX.Element; } } declare module "sk/frame/logic/editor/component/exploded/ExplodedContentListPanel" { import { Dictionary } from 'cross/runtime/lang/collection/Dictionary'; import { IContext } from 'cross/runtime/lang/IContext'; import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { UiSafeContainer, UiSafeContainerProps, UiSafeContainerState } from 'foundation/editor/ui/core/UiSafeContainer'; import { SchemeTechnologyDocument } from "sk/frame/logic/technology/SchemeTechnologyDocument"; import { ExplodedEvent } from "sk/frame/logic/editor/component/exploded/ExplodedEvent"; import { ExplodedPanel } from "sk/frame/logic/editor/component/exploded/ExplodedPanel"; export interface ExplodedContentViewProps extends UiSafeContainerProps { technologyDocument: SchemeTechnologyDocument; bomDocument: any; } export interface ExplodedContentViewState extends UiSafeContainerState { _technologyDocument: SchemeTechnologyDocument; technologyDocument: SchemeTechnologyDocument; _bomDocument: any; bomDocument: any; boms: Dictionary; selectObject: DataNode; data: any[]; } export class ExplodedContentListPanel extends UiSafeContainer { protected _explodedPanel: ExplodedPanel; protected bomInfo: Array; protected currentInfos: Array; private _formulaObject; constructor(props?: ExplodedContentViewProps, context?: any); protected static buildBomMap(boms: Dictionary, infos: any[]): void; static getDerivedStateFromProps(nextProps: ExplodedContentViewProps, prevState: ExplodedContentViewState): any; componentDidMount(): void; componentWillUnmount(): void; onSelectObjectChanged(context: ListenerContext, event: ExplodedEvent): void; private getIdentifyCode; findBomLinkNode(bom: any, parentNode: any): any; private buildListDataAsync; buildDataAsync(context: IContext): Promise; private handleBuildNode; private onRowClick; render(): JSX.Element; } } declare module "sk/frame/logic/editor/component/exploded/ExplodedContentMapPanel" { import { Dictionary } from 'cross/runtime/lang/collection/Dictionary'; import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { UiSafeContainer, UiSafeContainerProps, UiSafeContainerState } from 'foundation/editor/ui/core/UiSafeContainer'; import { SchemeTechnologyDocument } from "sk/frame/logic/technology/SchemeTechnologyDocument"; import { ExplodedEvent } from "sk/frame/logic/editor/component/exploded/ExplodedEvent"; import { ExplodedPanel } from "sk/frame/logic/editor/component/exploded/ExplodedPanel"; export interface ExplodedContentViewProps extends UiSafeContainerProps { technologyDocument: SchemeTechnologyDocument; bomDocument: any; } export interface ExplodedContentViewState extends UiSafeContainerState { _technologyDocument: SchemeTechnologyDocument; technologyDocument: SchemeTechnologyDocument; _bomDocument: any; bomDocument: any; boms: Dictionary; selectObject: DataNode; } export class ExplodedContentMapPanel extends UiSafeContainer { protected _explodedPanel: ExplodedPanel; protected bomInfo: Array; protected currentInfos: Array; constructor(props?: any, context?: any); protected static buildBomMap(boms: Dictionary, infos: any[]): void; static getDerivedStateFromProps(nextProps: ExplodedContentViewProps, prevState: ExplodedContentViewState): any; componentDidMount(): void; componentWillUnmount(): void; onSelectObjectChanged(context: ListenerContext, event: ExplodedEvent): void; private isEqual; private getIdentifyCode; private getMapByInfo; private computeMap; private buildMapData; private handleBuildNode; private onRowClick; render(): JSX.Element; } } declare module "sk/frame/logic/editor/component/exploded/ExplodedContentToolBar" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { UiContainer, UiContainerProps, UiContainerState } from 'foundation/editor/ui/core/UiContainer'; import { ExplodedEvent } from "sk/frame/logic/editor/component/exploded/ExplodedEvent"; import { ExplodedPanel } from "sk/frame/logic/editor/component/exploded/ExplodedPanel"; export interface ExplodedContentToolBarProps extends UiContainerProps { technologyDocument: any; btnDynamicNode: any; parent: any; displayOptions: any; onSwitchMode: any; } export interface ExplodedContentToolBarState extends UiContainerState { selectObject: any; value: any; hideRight: boolean; } export class ExplodedContentToolBar extends UiContainer { props: ExplodedContentToolBarProps; state: ExplodedContentToolBarState; protected _explodedPanel: ExplodedPanel; private beamInfoMap; private beamContext; constructor(props?: any, context?: any); componentDidMount(): void; componentWillUnmount(): void; onSelectObjectChanged(context: ListenerContext, event: ExplodedEvent): void; private changeLevelingDrawingAsync; private changeLevelingDrawingCode; private changeDrawingAsync; private onClickRoomView; private changeBeamDrawingAsync; private buildFlatWallBtns; private buildLevelingFloorBtns; private buildProxyCeilingBtns; private buildBeamWareBtns; private makeRoomDrawingButttons; private buildSingleBtn; protected buildButtons(): JSX.Element; render(): JSX.Element; } } declare module "sk/frame/logic/editor/component/exploded/ExplodedContentView3d" { 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 { MoldingVisionEnum } from 'foundation/data/common/enumeration/MoldingVisionEnum'; import { UiSafeContainer, UiSafeContainerProps, UiSafeContainerState } from 'foundation/editor/ui/core/UiSafeContainer'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { CanvasService } from 'foundation/editor/view/base/CanvasService'; import { SchemeTechnologyDocument } from "sk/frame/logic/technology/SchemeTechnologyDocument"; import { CanvasViewComponent } from "sk/frame/logic/editor/component/CanvasViewComponent"; import { ExplodedEvent } from "sk/frame/logic/editor/component/exploded/ExplodedEvent"; import { ExplodedPanel } from "sk/frame/logic/editor/component/exploded/ExplodedPanel"; export interface ExplodedContentView3dProps extends UiSafeContainerProps { code: string; technologyDocument: SchemeTechnologyDocument; } export interface ExplodedContentView3dState extends UiSafeContainerState { viewType: string; hideRight: boolean; distanceMultiple: number; } export class ExplodedContentView3d extends UiSafeContainer { minDistanceMultiple: number; maxDistanceMultiple: number; protected _explodedPanel: ExplodedPanel; protected _view3dComponent: CanvasViewComponent; protected _actionService: ActionService; protected _canvasService: CanvasService; constructor(props?: any, context?: any); onContentPanelRef: (value: any) => void; componentDidMount(): void; componentWillUnmount(): void; private onBindView; onViewChanged(sender: ListenerContext, event: ExplodedEvent): void; onHideRight(sender: ListenerContext, event: ExplodedEvent): void; onResize: () => void; onCanvasViewChange: (modeCd: ObserverModeEnum, typeCd: ObserverTypeEnum) => () => void; onChangeDrawMode: (modeCd: MoldingVisionEnum) => () => void; onDistanceMultipleChange: (distanceMultiple: number) => void; render(): JSX.Element; } } declare module "sk/frame/logic/editor/component/exploded/ExplodedContentViewProperty" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { UiSafeContainer, UiSafeContainerProps, UiSafeContainerState } from 'foundation/editor/ui/core/UiSafeContainer'; import { SchemeDocument } from 'sk/data/scheme/model/SchemeDocument'; import { ExplodedEvent } from "sk/frame/logic/editor/component/exploded/ExplodedEvent"; import { ExplodedPanel } from "sk/frame/logic/editor/component/exploded/ExplodedPanel"; export interface ExplodedContentViewPropertyProps extends UiSafeContainerProps { document: SchemeDocument; } export interface ExplodedContentViewPropertyState extends UiSafeContainerState { selectObject: any; } export class ExplodedContentViewProperty extends UiSafeContainer { protected _explodedPanel: ExplodedPanel; constructor(props?: any, context?: any); componentDidMount(): void; componentWillUnmount(): void; onSelectObjectChanged(context: ListenerContext, event: ExplodedEvent): void; getFieldDataComponent(): any; getBindingValuesDataComponent(): any; render(): JSX.Element; } } declare module "sk/frame/logic/editor/component/exploded/ExplodedContentViewSvg" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { UiContainer, UiContainerProps, UiContainerState } from 'foundation/editor/ui/core/UiContainer'; import { ExplodedEvent } from "sk/frame/logic/editor/component/exploded/ExplodedEvent"; import { ExplodedPanel } from "sk/frame/logic/editor/component/exploded/ExplodedPanel"; export interface ExplodedContentViewSvgProps extends UiContainerProps { } export interface ExplodedContentViewSvgState extends UiContainerState { selectObject: any; drawingCode: string; } export class ExplodedContentViewSvg extends UiContainer { props: ExplodedContentViewSvgProps; state: ExplodedContentViewSvgState; protected _explodedPanel: ExplodedPanel; private beamContext; constructor(props?: any, context?: any); componentDidMount(): void; componentWillUnmount(): void; onSelectObjectChanged(context: ListenerContext, event: ExplodedEvent): void; onSvgDrawingCodeChanged(context: ListenerContext, event: ExplodedEvent): void; private changeDrawingAsync; render(): JSX.Element; } } declare module "sk/frame/logic/editor/component/exploded/ExplodedContentViewPanel" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { UiContainer, UiContainerProps, UiContainerState } from 'foundation/editor/ui/core/UiContainer'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { CanvasService } from 'foundation/editor/view/base/CanvasService'; import { ExplodedContentView3d } from "sk/frame/logic/editor/component/exploded/ExplodedContentView3d"; import { ExplodedEvent } from "sk/frame/logic/editor/component/exploded/ExplodedEvent"; import { ExplodedPanel } from "sk/frame/logic/editor/component/exploded/ExplodedPanel"; export interface ExplodedContentViewProps extends UiContainerProps { code: string; parent?: any; technologyDocument: any; } export interface ExplodedContentViewState extends UiContainerState { viewType: string; hideRight: boolean; distanceMultiple: number; } export class ExplodedContentViewPanel extends UiContainer { props: ExplodedContentViewProps; state: ExplodedContentViewState; minDistanceMultiple: number; maxDistanceMultiple: number; protected _explodedPanel: ExplodedPanel; protected _view3dPanel: ExplodedContentView3d; protected _actionService: ActionService; protected _canvasService: CanvasService; constructor(props?: any, context?: any); onView3dPanelRef: (value: any) => void; componentDidMount(): void; componentWillUnmount(): void; onViewChanged(sender: ListenerContext, event: ExplodedEvent): void; onHideRight(sender: ListenerContext, event: ExplodedEvent): void; onResize: () => void; render(): JSX.Element; } } declare module "sk/frame/logic/editor/component/exploded/ExplodedContentBody" { import { UiContainer, UiContainerProps, UiContainerState } from 'foundation/editor/ui/core/UiContainer'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { SchemeTechnologyDocument } from "sk/frame/logic/technology/SchemeTechnologyDocument"; import { ExplodedContentListPanel } from "sk/frame/logic/editor/component/exploded/ExplodedContentListPanel"; import { ExplodedContentMapPanel } from "sk/frame/logic/editor/component/exploded/ExplodedContentMapPanel"; import { ExplodedContentViewPanel } from "sk/frame/logic/editor/component/exploded/ExplodedContentViewPanel"; export interface ExplodedContentViewProps extends UiContainerProps { code: string; technologyDocument: SchemeTechnologyDocument; bomDocument: any; parent?: any; viewBodyType?: string; hideRight?: any; btnDynamicNode?: any; explodedToolBarDisplayOptions?: any; } export interface ExplodedContentViewState extends UiContainerState { mode: string; } export class ExplodedContentBody extends UiContainer { props: ExplodedContentViewProps; state: ExplodedContentViewState; protected _contentViewPanel: ExplodedContentViewPanel; protected _contentListPanel: ExplodedContentListPanel; protected _contentMapPanel: ExplodedContentMapPanel; protected _actionService: ActionService; constructor(props?: any, context?: any); onContentViewPanelRef: (value: any) => void; onContentListPanelRef: (value: any) => void; onContentMapPanelRef: (value: any) => void; onSwitchMode: (event: any) => void; onResize: () => void; render(): JSX.Element; } } declare module "sk/frame/logic/helper/ArticleService" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { EnvironmentService } from 'cross/runtime/module/environment/EnvironmentService'; import { Service } from 'cross/runtime/module/Service'; import { HttpDeviceService } from 'cross/core/device/http/HttpDeviceService'; import { HttpEvent } from 'cross/core/device/http/HttpEvent'; import { JsonService } from 'cross/core/module/json/JsonService'; import { LogicDispatcher } from 'foundation/core/module/logic/LogicDispatcher'; export class ArticleService extends Service { _dirTree: any; _home: any; protected _jsonService: JsonService; protected _httpService: HttpDeviceService; protected _environmentService: EnvironmentService; protected onFetchArticleDirSuccess(sender: ListenerContext, event: HttpEvent): void; onFailure(sender: ListenerContext, event: HttpEvent): void; fetchArticleDirAsync(): Promise; getArticleTree(dirName: string): any; getArticleHome(): any; protected onFetchArticleSuccess(sender: ListenerContext, event: HttpEvent): void; fetchArticle(source: any): LogicDispatcher; onSaveArticleSuccess(sender: ListenerContext, event: HttpEvent): void; saveArticle(source: string, md: string): LogicDispatcher; onGetPdfSuccess(sender: ListenerContext, event: HttpEvent): void; getPdf(source: string): LogicDispatcher; reload(): void; } } declare module "sk/frame/logic/helper/ArticleUnit" { import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; export class ArticleUnit extends InstanceObject { } } declare module "sk/frame/logic/helper/DirUnit" { import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; export class DirUnit extends InstanceObject { } } declare module "sk/frame/logic/plugin/performance/PerformanceOptimizerPlugin" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { PluginBase } from 'cross/runtime/framework/plugin/PluginBase'; import { PluginContext } from 'cross/runtime/framework/plugin/PluginContext'; import { PluginResult } from 'cross/runtime/framework/plugin/PluginResult'; import { ActionEvent } from 'foundation/editor/view/action/ActionEvent'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { CanvasService } from 'foundation/editor/view/base/CanvasService'; export class PerformanceOptimizerPlugin extends PluginBase { protected _actionService: ActionService; protected _filterActions: Array; protected _filterActionsFreezeStructure: Array; protected _canvasService: CanvasService; activeAsync(context: PluginContext): Promise; changeCanvasFreeze(freeze: boolean): void; changeFloorplanFreeze(action: any, freeze: boolean): void; onActionRunning(sender: ListenerContext, event: ActionEvent): void; beforeActionStop(sender: ListenerContext, event: ActionEvent): void; onActionStopped(sender: ListenerContext, event: ActionEvent): void; execute(sender: ListenerContext, event: ActionEvent, handle: Function): void; deactiveAsync(context: PluginContext): Promise; } } declare module "sk/frame/logic/scheme/SchemeEditorService" { import { IContext } from 'cross/runtime/lang/IContext'; import { Service } from 'cross/runtime/module/Service'; import { SchemeEditorDocument } from "sk/frame/logic/scheme/SchemeEditorDocument"; export class SchemeEditorService extends Service { protected _processCount: number; processChest(context: IContext, document: SchemeEditorDocument): void; private processPrepareFamily; private processOneFamily; } } declare module "sk/frame/logic/scheme/SchemeStructureEditorDocument" { import { ByteStream } from 'cross/runtime/lang/stream/ByteStream'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { PersistentFactory } from 'cross/runtime/module/persistent/PersistentFactory'; import { ThreadService } from 'cross/runtime/module/thread/ThreadService'; import { DocumentResult } from 'cross/runtime/framework/document/DocumentResult'; import { DatabaseDeviceService } from 'cross/core/device/database/DatabaseDeviceService'; import { WorkflowProcesResult } from 'foundation/data/common/workflow/process/WorkflowProcesResult'; import { StorageDigitizationTypeEnum } from 'foundation/data/common/enumeration/StorageDigitizationTypeEnum'; import { DataResourceService } from 'foundation/data/common/io/DataResourceService'; import { AssetVersionType } from 'foundation/data/common/resource/AssetUtil'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { UiDesktopService } from 'foundation/editor/ui/desktop/UiDesktopService'; import { UiHelperService } from 'foundation/editor/ui/desktop/UiHelperService'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { Element } from 'sk/data/family/element/base/Element'; import { ElementCache } from 'sk/data/family/performer/element/ElementCache'; import { FamilyConfigService } from 'sk/data/family/service/FamilyConfigService'; import { SchemeConfigService } from 'sk/data/scheme/config/SchemeConfigService'; import { SchemeDocument } from 'sk/data/scheme/model/SchemeDocument'; import { SchemeDocumentService, SchemeWorkflowOptions } from 'sk/data/scheme/service/SchemeDocumentService'; import { SchemeBlueprintEntity } from 'sk/editor/scheme/entity/SchemeBlueprintEntity'; import { PerspectiveConfigDecorateItemService } from "sk/frame/logic/storage/perspective/config/decorate/item/PerspectiveConfigDecorateItemService"; import { SchemeEditorOptions } from "sk/frame/logic/scheme/SchemeEditorOptions"; import { WorkInfo } from "sk/frame/logic/scheme/WorkInfo"; export class SchemeStructureEditorDocument extends SchemeDocument { static binary: ByteStream; static binaryload: boolean; static json: any; static jsonload: boolean; static SAVE_CHECK_INTERVAL: number; static AUTOSAVE_CHECK_INTERVAL: number; protected static _factory: PersistentFactory; protected _schemeConfigService: SchemeConfigService; static get Factory(): PersistentFactory; protected _editorOptions: SchemeEditorOptions; isDataChange: boolean; isModeSwitch: boolean; isSaveNeeded: boolean; workInfo: WorkInfo; blueprint: SchemeBlueprintEntity; fileContent: string; protected _lastSaveTick: number; protected _lastSource: string; protected _actionService: ActionService; structureId: string; structureVersion: string; protected _threadService: ThreadService; protected _selectionService: SelectionService; protected _helperService: UiHelperService; protected _desktopService: UiDesktopService; protected _resourceService: DataResourceService; protected _databaseService: DatabaseDeviceService; protected _schemeDocumentService: SchemeDocumentService; protected _perspectiveConfigDecorateItemService: PerspectiveConfigDecorateItemService; protected _familyConfigService: FamilyConfigService; protected constructor(); get factory(): PersistentFactory; get editorOptions(): SchemeEditorOptions; isEmpty(): boolean; computePrepareAsync(): Promise; computeMove(element?: Element, options?: SchemeWorkflowOptions): WorkflowProcesResult; computeShape(element?: Element, options?: SchemeWorkflowOptions): WorkflowProcesResult; computeVision(element?: Element, options?: SchemeWorkflowOptions): WorkflowProcesResult; computeVisionAsync(element?: Element, options?: SchemeWorkflowOptions): Promise>; computeLoadAsync(): Promise; loadByUrlAsync(url: string, key: string): Promise; loadByIdAsync(id: string, version?: AssetVersionType, typeCd?: StorageDigitizationTypeEnum): Promise; loadByStructureIdAsync(id: string, version?: AssetVersionType, typeCd?: StorageDigitizationTypeEnum): Promise; saveStructureAsync(typeCd?: StorageDigitizationTypeEnum, data?: any): Promise; protected checkCacheElement(caches: Map, element: Element): void; resetCache(): void; dump(): void; static createEmptyDocument(): SchemeStructureEditorDocument; static createDefaultDocument(): SchemeStructureEditorDocument; } } declare module "sk/frame/logic/scheme/bathroom/action/AssembleBathroomAddDesignAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { NestElement } from 'sk/data/family/element/base/NestElement'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; export class AssembleBathroomAddDesignAction extends SchemeAsyncAction { parent: NestElement; host: DataNode; oldData: any; newData: any; params: null; protected _calculatorService: CalculatorService; constructor(); onExecuteAsync(event: any): Promise; onUndo(): void; createAsync(dataParams: any): Promise; onRedoAsync(): Promise>; } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomAddCabinetDesignAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { ISpecificationFamilyInfo } from 'sk/data/specification/base/ISpecificationFamilyInfo'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; export class BathroomAddCabinetDesignAction extends SchemeAsyncAction { element: any; entity: any; info: ISpecificationFamilyInfo; oldData: any; newData: any; protected _calculatorService: CalculatorService; constructor(); onExecuteAsync(event: any): Promise; onUndo(): void; onRedo(): void; } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomAddCurtainDesignAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { ISpecificationFamilyInfo } from 'sk/data/specification/base/ISpecificationFamilyInfo'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; export class BathroomAddCurtainDesignAction extends SchemeAsyncAction { element: any; entity: any; info: ISpecificationFamilyInfo; oldData: any; newData: any; protected _calculatorService: CalculatorService; constructor(); onExecuteAsync(event: any): Promise; createElementByWaterBarAsync(entity: any, element: any): Promise; createElementBySpliterAsync(entity: any, element: any): Promise; onUndo(): void; onRedo(): void; } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomAddDesignAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { NestElement } from 'sk/data/family/element/base/NestElement'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; export class BathroomAddDesignAction extends SchemeAsyncAction { parent: NestElement; host: DataNode; oldData: any; newData: any; params: null; protected _calculatorService: CalculatorService; constructor(); onExecuteAsync(event: any): Promise; onUndo(): void; createAsync(dataParams: any): Promise; onRedoAsync(): Promise>; } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomAddShowerDesignAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { ISpecificationFamilyInfo } from 'sk/data/specification/base/ISpecificationFamilyInfo'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; export class BathroomAddShowerDesignAction extends SchemeAsyncAction { element: any; entity: any; info: ISpecificationFamilyInfo; oldData: any; newData: any; protected _calculatorService: CalculatorService; constructor(); onExecuteAsync(event: any): Promise; onUndo(): void; onRedo(): void; } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomAddToiletDesignAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { ISpecificationFamilyInfo } from 'sk/data/specification/base/ISpecificationFamilyInfo'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; export class BathroomAddToiletDesignAction extends SchemeAsyncAction { element: any; entity: any; info: ISpecificationFamilyInfo; oldData: any; newData: any; protected _calculatorService: CalculatorService; constructor(); onExecuteAsync(event: any): Promise; onUndo(): void; onRedo(): void; } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomAssembleLayoutDesignContext" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { AssembleLayoutElement } from 'sk/data/family/database/pattern/element/AssembleLayoutElement'; import { FloorplanEntity } from 'sk/editor/scheme/floorplan/entity/FloorplanEntity'; export class BathroomAssembleLayoutDesignContext { event: any; assembleLayout: AssembleLayoutElement; floorplan: FloorplanEntity; layoutAreas: DataNode[]; closestoolInfoId: string; showerInfoId: string; cabinetUpInfoId: string; cabinetDownInfoId: string; lightInfoId: string; yubaInfoId: string; showerScreenInfoId: string; doorInfoId: string; guomenStoneInfoId: string; windowInfoId: string; windowFrameInfoId: string; windowsillStoneInfoId: string; constructor(event: any); getBathroomParrams(): void; loadLayoutParramsFromAssembleLayout(): Promise; } } declare module "sk/frame/logic/scheme/bathroom/util/AssembleLayoutElementDesignUtil" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { Value2 } from 'foundation/runtime/math/Value2'; import { BrepElement } from 'sk/data/family/element/brep/BrepElement'; import { ContentElement } from 'sk/data/family/element/brep/ContentElement'; import { ContentInstanceNode } from 'sk/data/family/model/instance/ContentInstanceNode'; import { FloorplanElement } from 'sk/data/scheme/database/floorplan/element/FloorplanElement'; import { BathroomAssembleLayoutDesignContext } from "sk/frame/logic/scheme/bathroom/action/BathroomAssembleLayoutDesignContext"; export class AssembleLayoutElementDesignUtil { static getHoleLayoutActionEvent(context: BathroomAssembleLayoutDesignContext): Promise; static addAssembleLayoutElement(hosts: Map, context: BathroomAssembleLayoutDesignContext): Promise; protected static saveRelationData(element: ContentElement): any[]; static deleteOverlapElement(hosts: Map, relations: Map, context: BathroomAssembleLayoutDesignContext): ContentInstanceNode[]; static onDeleteOverlap(floorplan: FloorplanElement, entity: ContentInstanceNode): void; static onCreateWindowDoorElement(context: BathroomAssembleLayoutDesignContext, familyInfoId: string): Promise; static onAddLayoutElement(context: BathroomAssembleLayoutDesignContext, familyInfoId: string, layoutArea: ContentInstanceNode, code: string): Promise; static isPolygonCrossPolygon(polygon1: Array, polygon2: Array, tolerance?: number): boolean; private static setChestZAsync; } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomAssembleLayoutDesignAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { BrepElement } from 'sk/data/family/element/brep/BrepElement'; import { ContentElement } from 'sk/data/family/element/brep/ContentElement'; import { BathroomChangeHoleContentAction } from 'sk/editor/scheme/floorplan/action/opening/BathroomChangeHoleContentAction'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; export class BathroomAssembleLayoutDesignAction extends SchemeAsyncAction { delDatas: any; addDatas: any; protected _adapterAction: BathroomChangeHoleContentAction; delHosts: Map; delRelations: Map; addHosts: Map; addRelations: Map; constructor(); protected saveRelationData(element: ContentElement): any[]; onExecuteAsync(event: any): Promise; onUndoAsync(): Promise>; onRedoAsync(): Promise>; onUndo(): void; onRedo(): void; } } declare module "sk/frame/logic/scheme/bathroom/event/BathroomCeilingDesignActionEvent" { import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { BathroomCeilingElement } from 'sk/data/scheme/database/pattern/element/BathroomCeilingElement'; import { BathroomCeilingNode } from 'sk/data/scheme/database/pattern/node/BathroomCeilingNode'; export class BathroomCeilingDesignActionEvent extends ContentActionEvent { entity: BathroomCeilingNode; element: BathroomCeilingElement; decorateId: string; setDelete: boolean; setFirst: boolean; setBegin: boolean; setEnd: boolean; optionManual: boolean; cavity: number; propName: string; propValue: string; propName2: string; propValue2: string; constructor(); reset(): void; free(): void; } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomCeilingDropChangeWallAction" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { BoundaryBox } from 'foundation/data/common/model/base/BoundaryBox'; import { ActionResult } from 'foundation/editor/view/action/ActionResult'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { PlankNode } from 'sk/data/scheme/database/furniture/model/PlankNode'; import { BathroomCeilingElement } from 'sk/data/scheme/database/pattern/element/BathroomCeilingElement'; import { BathroomCeilingNode } from 'sk/data/scheme/database/pattern/node/BathroomCeilingNode'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; import { BathroomCeilingDesignActionEvent } from "sk/frame/logic/scheme/bathroom/event/BathroomCeilingDesignActionEvent"; export class BathroomCeilingDropChangeWallAction extends SchemeAsyncAction { entity: BathroomCeilingNode; element: BathroomCeilingElement; protected _actionService: ActionService; protected _calculatorService: CalculatorService; constructor(); onExecuteAsync(event: BathroomCeilingDesignActionEvent): Promise; slicePlank(plank: PlankNode, outline: Array): void; removeTiles(plank: PlankNode, outline: Array): void; getDrapedPlanksBox(): BoundaryBox[]; private isBoxCrossoverBoxs; private getBathroomWallPlane; private getPorjectPoint; private convertCoord; private lineToBox; private boxToWallPolygon; isLineCoincideOutLine(outlinePoints: Vector2[], begin: Vector2, end: Vector2): boolean; } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomCeilingHoleUpdateDesignAction" { import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { ActionResult } from 'foundation/editor/view/action/ActionResult'; import { BathroomCeilingElement } from 'sk/data/scheme/database/pattern/element/BathroomCeilingElement'; import { BathroomCeilingNode } from 'sk/data/scheme/database/pattern/node/BathroomCeilingNode'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; import { BathroomCeilingDesignActionEvent } from "sk/frame/logic/scheme/bathroom/event/BathroomCeilingDesignActionEvent"; export class BathroomCeilingHoleUpdateDesignAction extends SchemeAsyncAction { private _oldData; private _newData; entity: BathroomCeilingNode; element: BathroomCeilingElement; cavity: number; protected _calculatorService: CalculatorService; constructor(); onExecuteAsync(event: BathroomCeilingDesignActionEvent): Promise; private updateData; onUndo(): Promise; onRedo(): Promise; } } declare module "sk/frame/logic/scheme/bathroom/event/BathroomCeilingPlankChangeWorldZEvent" { import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { PlankElement } from 'sk/data/scheme/database/furniture/element/PlankElement'; export class BathroomCeilingPlankChangeWorldZEvent extends ContentActionEvent { element: PlankElement; variation: number; } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomCeilingPlankChangeWorldZAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { Box2 } from 'foundation/runtime/math/Box2'; import { Line3 } from 'foundation/runtime/math/Line3'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { ActionResult } from 'foundation/editor/view/action/ActionResult'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { ContainerElement } from 'sk/data/family/element/instance/ContainerElement'; import { PlankElement } from 'sk/data/scheme/database/furniture/element/PlankElement'; import { PlankNode } from 'sk/data/scheme/database/furniture/model/PlankNode'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; import { BathroomCeilingPlankChangeWorldZEvent } from "sk/frame/logic/scheme/bathroom/event/BathroomCeilingPlankChangeWorldZEvent"; export class BathroomCeilingPlankChangeWorldZAction extends SchemeAsyncAction { entity: PlankNode; element: PlankElement; private ceilingElement; protected _oldData: HistoryData; protected _newData: HistoryData; protected _actionService: ActionService; protected _calculatorService: CalculatorService; constructor(); onExecuteAsync(event: BathroomCeilingPlankChangeWorldZEvent): Promise; saveData(data: HistoryData, surfaceVerticalContainer: ContainerElement, zValue: number): void; buildPlankEdgesData(planks: PlankNode[]): PlankEdges[]; calMinDValueByNeighbour(edge: Edge, plankEdgeData: PlankEdges, PlankEdges: PlankEdges[], gap: number): number; getPlankEdges(plank: PlankNode): Line3[]; isLineCoincideOutLine(outlinePoints: Vector2[], begin: Vector2, end: Vector2): boolean; private createCeilingFaceVerticalElement; onUndo(): Promise>; onRedo(): Promise>; } class HistoryData { zValue: number; surfaceVerticalContainer: any[]; constructor(); } class Edge { from: Vector2; to: Vector2; constructor(from?: Vector2, to?: Vector2); } class PlankEdges { plank: PlankNode; edges: Edge[]; box: Box2; constructor(); } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomCeilingReplaceDesignAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { ISpecificationFamilyInfo } from 'sk/data/specification/base/ISpecificationFamilyInfo'; import { BathroomCeilingElement } from 'sk/data/scheme/database/pattern/element/BathroomCeilingElement'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; export class BathroomCeilingReplaceDesignAction extends SchemeAsyncAction { element: any; entity: any; info: ISpecificationFamilyInfo; oldData: any; newData: any; params: null; protected _calculatorService: CalculatorService; protected _uiFrameService: UiFrameService; constructor(); onExecuteAsync(event: any): Promise; protected setDefaultDecorateAsync(element: BathroomCeilingElement, info: ISpecificationFamilyInfo): Promise; onUndo(): void; onRedo(): void; } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomCeilingUpdateDesignAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { ActionResult } from 'foundation/editor/view/action/ActionResult'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { BathroomCeilingElement } from 'sk/data/scheme/database/pattern/element/BathroomCeilingElement'; import { BathroomCeilingNode } from 'sk/data/scheme/database/pattern/node/BathroomCeilingNode'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; import { BathroomCeilingDesignActionEvent } from "sk/frame/logic/scheme/bathroom/event/BathroomCeilingDesignActionEvent"; export class BathroomCeilingUpdateDesignAction extends SchemeAsyncAction { entity: BathroomCeilingNode; element: BathroomCeilingElement; protected _oldData: HistoryData; protected _newData: HistoryData; protected _actionService: ActionService; protected _calculatorService: CalculatorService; constructor(); onExecuteAsync(event: BathroomCeilingDesignActionEvent): Promise; onUndo(): Promise>; onRedo(): Promise>; } class HistoryData { surfaceChildren: any[]; seamChildren: any[]; baseChildren: any[]; ceilingSurfaceContainerData: CeilingSurfaceContainerData; ceilingProperty: any; constructor(); } class CeilingSurfaceContainerData { xValue: number; yValue: number; lengthX: number; lengthY: number; lengthZ: number; rotation: number; constructor(); } } declare module "sk/frame/logic/scheme/bathroom/event/BathroomUpdateDecorateEvent" { import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { PlaneSurfaceElement } from 'sk/data/family/element/instance/PlaneSurfaceElement'; import { DecorateItemStructure, DecorateStructure } from "sk/frame/logic/scheme/util/SchemeDecorateUtil"; export class BathroomUpdateDecorateEvent extends ContentActionEvent { entity: any; decorate: DecorateStructure; item: DecorateItemStructure; plankElements: Array; currentInfoId: string; type: string; isAllSpace: boolean; constructor(); reset(): void; free(): void; } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomDecorateUpdateAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { ActionResult } from 'foundation/editor/view/action/ActionResult'; import { PlaneSurfaceElement } from 'sk/data/family/element/instance/PlaneSurfaceElement'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; import { DecorateItemStructure, DecorateStructure } from "sk/frame/logic/scheme/util/SchemeDecorateUtil"; import { BathroomUpdateDecorateEvent } from "sk/frame/logic/scheme/bathroom/event/BathroomUpdateDecorateEvent"; export class BathroomDecorateUpdateAction extends SchemeAsyncAction { entity: any; element: any; decorate: DecorateStructure; item: DecorateItemStructure; type: string; plankElements: Array; oldData: any; newData: any; constructor(); onExecuteAsync(event: BathroomUpdateDecorateEvent): Promise; protected computeWorkflowAsync(workflowCd: string): Promise; onUndoAsync(): Promise>; onRedoAsync(): Promise>; } } declare module "sk/frame/logic/scheme/bathroom/util/bathroomfloor/BathroomFloorDryElementDesignMath2dUtil" { import { Types } from 'cross/runtime/lang/collection/Types'; import { Line2 } from 'foundation/runtime/math/Line2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { BathroomFloorDryElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorDryElement'; export class BathroomFloorDryElementDesignMath2dUtil { static getPoints(element: BathroomFloorDryElement): Types; static getPointsShrinked(element: BathroomFloorDryElement): Types; static getOutline(element: BathroomFloorDryElement): Types; static getOutlineShrinked(element: BathroomFloorDryElement): Types; } } declare module "sk/frame/logic/scheme/bathroom/util/BathroomDesignLine2Util" { import { Types } from 'cross/runtime/lang/collection/Types'; import { Line2 } from 'foundation/runtime/math/Line2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; export class BathroomDesignLine2Util { static buildLine2sFromPoints1(points: Vector2[]): Line2[]; static buildLine2sFromPoints2(points: Types): Types; static isHorizonLine(line: Line2): boolean; } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomFloorDryGapAlignDesignAction" { import { TypeMap } from 'cross/runtime/lang/collection/TypeMap'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { Line2 } from 'foundation/runtime/math/Line2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { ActionResult } from 'foundation/editor/view/action/ActionResult'; import { ContainerElement } from 'sk/data/family/element/instance/ContainerElement'; import { ContainerNode } from 'sk/data/family/model/instance/ContainerNode'; import { BathroomFloorDryElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorDryElement'; import { BathroomFloorDryNode } from 'sk/data/scheme/database/pattern/node/BathroomFloorDryNode'; import { BathroomWallNode } from 'sk/data/scheme/database/pattern/node/BathroomWallNode'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; export class BathroomFloorDryGapAlignDesignAction extends SchemeAsyncAction { entity: BathroomFloorDryNode; element: BathroomFloorDryElement; protected _oldData: HistoryData; protected _newData: HistoryData; protected _calculatorService: CalculatorService; alignMode: string; tileNums: number; gapIn: number; gapOut: number; parentFaceTile: ContainerNode; parentFaceTileElement: ContainerElement; constructor(); onExecuteAsync(event: ContentActionEvent): Promise; onReceive(code: string, event: ContentActionEvent): boolean; getWallPointsData(): TypeMap; private getOutlineCurFloor; private getPointsCurFloorInBathroom; private convertOutlineFloorToRoom; private getWallsSamelineWithFloorOutline; private getBathroomWallOutline; getWallCenterPointsFromWallLines(wallLines: Line2[]): Array; private getBathroomwallsWithCenter; mainLogicAsync(wallSelect: BathroomWallNode): Promise; private computeGapPositionsInCurWall; private checkIsTopPlank; private convertGapPositionsCurWallToBathroom; private projectGapPositionsToOutline; private computeGapPositionsWithNearWall; private filterPlanksByPosition; private recordPlankEndpoints; private computeGapPositions; private computeLayoutHorizon; private computeLayoutVertical; private converLayoutDataToGlobal; private removeTargetPlanks; private createNewPlanksAsync; private restorePlanksDecorate; private addNewPlanks; onUndo(): Promise>; onRedo(): Promise>; } class HistoryData { surfaceChildren: any[]; seamChildren: any[]; baseChildren: any[]; constructor(); } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomFloorDryGapAlignDesignActionGizmo" { import { TypeMap } from 'cross/runtime/lang/collection/TypeMap'; import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { V2dGraphicDrawing } from 'foundation/editor/view/view2d/render/V2dGraphicDrawing'; import { V2dHookEvent } from 'foundation/editor/view/view2d/render/V2dHookEvent'; import { V2dTemp } from 'foundation/editor/view/view2d/V2dTemp'; import { BathroomWallNode } from 'sk/data/scheme/database/pattern/node/BathroomWallNode'; type PointBathroomWallCenter = { graphic: V2dGraphicDrawing; over?: boolean; point: Vector2; wall: BathroomWallNode; }; export class BathroomFloorDryGapAlignDesignActionGizmo extends V2dTemp { points: TypeMap; dataPoints: PointBathroomWallCenter[]; constructor(); setup(): void; private initData; private createGraphics; onMouseOver(point: PointBathroomWallCenter): any; onMouseOut(point: PointBathroomWallCenter): any; onMouseDownPoint(point: PointBathroomWallCenter): any; onMouseDown(sender: ListenerContext, event: V2dHookEvent): void; onClick(point: PointBathroomWallCenter): any; private updateGraphics; } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomFloorDryReplaceDesignAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { ISpecificationFamilyInfo } from 'sk/data/specification/base/ISpecificationFamilyInfo'; import { BathroomFloorDryElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorDryElement'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; export class BathroomFloorDryReplaceDesignAction extends SchemeAsyncAction { element: any; entity: any; info: ISpecificationFamilyInfo; oldData: any; newData: any; params: null; protected _calculatorService: CalculatorService; protected _uiFrameService: UiFrameService; protected _selectionService: SelectionService; private wareElements; private bathroomFloorElement; constructor(); onExecuteAsync(event: any): Promise; protected setDefaultDecorateAsync(element: BathroomFloorDryElement, info: ISpecificationFamilyInfo): Promise; private saveHoles; private setHoles; onUndo(): Promise>; onRedo(): Promise>; } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomFloorDryUpdateDesignAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { ActionResult } from 'foundation/editor/view/action/ActionResult'; import { PlaneSurfaceElement } from 'sk/data/family/element/instance/PlaneSurfaceElement'; import { BathroomFloorDryElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorDryElement'; import { BathroomFloorDryNode } from 'sk/data/scheme/database/pattern/node/BathroomFloorDryNode'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; import { BathroomFloorDryDesignActionEvent } from "sk/frame/logic/scheme/bathroom/event/BathroomFloorDryDesignActionEvent"; export class BathroomFloorDryUpdateDesignAction extends SchemeAsyncAction { entity: BathroomFloorDryNode; element: BathroomFloorDryElement; protected _oldData: HistoryData; protected _newData: HistoryData; protected _calculatorService: CalculatorService; constructor(); onExecuteAsync(event: BathroomFloorDryDesignActionEvent): Promise; searchChildrenByType(element: any, target?: Array): Array; onUndo(): Promise>; onRedo(): Promise>; } class HistoryData { surfaceChildren: any[]; seamChildren: any[]; baseChildren: any[]; floorDryProperty: any; constructor(); } } declare module "sk/frame/logic/scheme/bathroom/event/BathroomFloorDesignActionEvent" { import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { BathroomFloorDryElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorDryElement'; import { BathroomFloorDryNode } from 'sk/data/scheme/database/pattern/node/BathroomFloorDryNode'; export class BathroomFloorDesignActionEvent extends ContentActionEvent { entity: BathroomFloorDryNode; element: BathroomFloorDryElement; finshedHeight: number; propName: string; propValue: string; constructor(); reset(): void; free(): void; } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomFloorUpdateDesignAction" { import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { ActionResult } from 'foundation/editor/view/action/ActionResult'; import { BathroomFloorElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorElement'; import { BathroomFloorNode } from 'sk/data/scheme/database/pattern/node/BathroomFloorNode'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; import { BathroomFloorDesignActionEvent } from "sk/frame/logic/scheme/bathroom/event/BathroomFloorDesignActionEvent"; export class BathroomFloorUpdateDesignAction extends SchemeAsyncAction { entity: BathroomFloorNode; element: BathroomFloorElement; finshedHeight: number; private _oldData; private _newData; protected _calculatorService: CalculatorService; constructor(); onExecuteAsync(event: BathroomFloorDesignActionEvent): Promise; private updateData; onUndo(): Promise; onRedo(): Promise; } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomFloorWetDesignAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { ISpecificationFamilyInfo } from 'sk/data/specification/base/ISpecificationFamilyInfo'; import { BathroomFloorElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorElement'; import { BathroomFloorWetElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorWetElement'; import { BathroomFloorWetWareElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorWetWareElement'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; export class BathroomFloorWetDesignAction extends SchemeAsyncAction { element: any; entity: any; info: ISpecificationFamilyInfo; oldData: any; newData: any; params: null; protected _calculatorService: CalculatorService; protected _uiFrameService: UiFrameService; protected static _selectionService: SelectionService; constructor(); onExecuteAsync(event: any): Promise; replaceFloorwetElement(selectElemet: BathroomFloorWetElement, bathroomFloorElement: BathroomFloorElement): Promise; replaceByWetWareNodeAsync(selectElemet: BathroomFloorWetWareElement, bathroomFloorElement: BathroomFloorElement): Promise; protected setDefaultDecorateAsync(element: any, info: ISpecificationFamilyInfo): Promise; onUndoAsync(): Promise; onRedoAsync(): Promise; } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomFloorWetSlotReplaceDesignAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { ISpecificationFamilyInfo } from 'sk/data/specification/base/ISpecificationFamilyInfo'; import { BathroomFloorElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorElement'; import { BathroomFloorWetSlotElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorWetSlotElement'; import { BathroomFloorWetWareElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorWetWareElement'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; export class BathroomFloorWetSlotReplaceDesignAction extends SchemeAsyncAction { element: BathroomFloorWetSlotElement; entity: any; info: ISpecificationFamilyInfo; oldData: any; newData: any; params: null; protected _calculatorService: CalculatorService; protected _uiFrameService: UiFrameService; constructor(); onExecuteAsync(event: any): Promise; replaceFloorwetElement(selectElemet: BathroomFloorWetSlotElement, bathroomFloorElement: BathroomFloorElement): Promise; replaceByWetWareNodeAsync(selectElemet: BathroomFloorWetWareElement, bathroomFloorElement: BathroomFloorElement): Promise; protected setDefaultDecorateAsync(element: BathroomFloorWetSlotElement, info: ISpecificationFamilyInfo): Promise; onUndoAsync(): Promise; onRedoAsync(): Promise; } } declare module "sk/frame/logic/scheme/bathroom/event/BathroomFloorWetDesignActionEvent" { import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { BathroomFloorWetElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorWetElement'; import { BathroomFloorWetSlotElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorWetSlotElement'; import { BathroomFloorWetNode } from 'sk/data/scheme/database/pattern/node/BathroomFloorWetNode'; export class BathroomFloorWetDesignActionEvent extends ContentActionEvent { entity: BathroomFloorWetNode; element: BathroomFloorWetElement | BathroomFloorWetSlotElement; propName: string; propValue: string; propName2: string; propValue2: string; floorFlag: boolean; constructor(); reset(): void; free(): void; } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomFloorWetSlotUpdateDesignAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { ActionResult } from 'foundation/editor/view/action/ActionResult'; import { PlaneSurfaceElement } from 'sk/data/family/element/instance/PlaneSurfaceElement'; import { BathroomFloorWetSlotElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorWetSlotElement'; import { BathroomFloorWetSlotNode } from 'sk/data/scheme/database/pattern/node/BathroomFloorWetSlotNode'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; import { BathroomFloorWetDesignActionEvent } from "sk/frame/logic/scheme/bathroom/event/BathroomFloorWetDesignActionEvent"; class HistoryData { propName: string; propValue: string; } export class BathroomFloorWetSlotUpdateDesignAction extends SchemeAsyncAction { entity: BathroomFloorWetSlotNode; element: BathroomFloorWetSlotElement; protected _calculatorService: CalculatorService; oldData: HistoryData; newData: HistoryData; decorateMap: Map; constructor(); onExecuteAsync(event: BathroomFloorWetDesignActionEvent): Promise; private updateElementAsync; private saveData; private setData; private saveDecorateMap; private setDecorate; private fetchBindingDecorate; searchChildrenByType(element: any, target?: Array): Array; onUndoAsync(): Promise>; onRedoAsync(): Promise>; } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomFloorWetUpdateDesignAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { ActionResult } from 'foundation/editor/view/action/ActionResult'; import { PlaneSurfaceElement } from 'sk/data/family/element/instance/PlaneSurfaceElement'; import { BathroomFloorWetElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorWetElement'; import { BathroomFloorWetNode } from 'sk/data/scheme/database/pattern/node/BathroomFloorWetNode'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; import { BathroomFloorWetDesignActionEvent } from "sk/frame/logic/scheme/bathroom/event/BathroomFloorWetDesignActionEvent"; export class BathroomFloorWetUpdateDesignAction extends SchemeAsyncAction { entity: BathroomFloorWetNode; element: BathroomFloorWetElement; protected _oldData: HistoryData; protected _newData: HistoryData; protected _calculatorService: CalculatorService; constructor(); onExecuteAsync(event: BathroomFloorWetDesignActionEvent): Promise; searchChildrenByType(element: any, target?: Array): Array; onUndo(): Promise>; onRedo(): Promise>; } class HistoryData { surfaceChildren: any[]; seamChildren: any[]; baseChildren: any[]; floorWetProperty: any; constructor(); } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomFloorWetWareDesignAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { ISpecificationFamilyInfo } from 'sk/data/specification/base/ISpecificationFamilyInfo'; import { BathroomFloorElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorElement'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; export class BathroomFloorWetWareDesignAction extends SchemeAsyncAction { element: any; entity: any; info: ISpecificationFamilyInfo; oldData: any; newData: any; params: null; protected _calculatorService: CalculatorService; protected _uiFrameService: UiFrameService; protected static _selectionService: SelectionService; constructor(); onExecuteAsync(event: any): Promise; replaceByNodeAsync(selectElemet: any, bathroomFloorElement: BathroomFloorElement): Promise; protected setDefaultDecorateAsync(element: any, info: ISpecificationFamilyInfo): Promise; private createWareElementAsync; onUndoAsync(): Promise; onRedoAsync(): Promise; } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomRotationWetRotateDesignAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; export class BathroomRotationWetRotateDesignAction extends SchemeAsyncAction { element: any; entity: any; oldData: any; newData: any; protected _calculatorService: CalculatorService; protected _uiFrameService: UiFrameService; constructor(); onExecuteAsync(event: any): Promise; onUndo(): void; onRedo(): void; } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomRotationWetSlotRotateDesignAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { BathroomFloorWetSlotElement } from 'sk/data/scheme/database/pattern/element/BathroomFloorWetSlotElement'; import { BathroomFloorWetSlotNode } from 'sk/data/scheme/database/pattern/node/BathroomFloorWetSlotNode'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; class HistoryData { x: number; y: number; rotationZ: number; outline: Vector2[]; surfaceChildren: any[]; seamChildren: any[]; baseChildren: any[]; lengthX: number; lengthY: number; constructor(); } export class BathroomRotationWetSlotRotateDesignAction extends SchemeAsyncAction { element: BathroomFloorWetSlotElement; entity: BathroomFloorWetSlotNode; oldData: HistoryData; newData: HistoryData; protected _calculatorService: CalculatorService; protected _uiFrameService: UiFrameService; decorateMap: Map; constructor(); onExecuteAsync(event: any): Promise; private saveData; private fetchBindingDecorate; onUndoAsync(): Promise>; onRedoAsync(): Promise>; } } declare module "sk/frame/logic/scheme/bathroom/event/BathroomSeamDesignActionEvent" { import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { PatternInstanceElement } from 'sk/data/family/element/instance/PatternInstanceElement'; import { PatternInstanceNode } from 'sk/data/family/model/instance/PatternInstanceNode'; import { DecorateItemStructure, DecorateStructure } from "sk/frame/logic/scheme/util/SchemeDecorateUtil"; export class BathroomSeamDesignActionEvent extends ContentActionEvent { entity: PatternInstanceNode; element: PatternInstanceElement; decorate: DecorateStructure; item: DecorateItemStructure; gap: number; constructor(); reset(): void; free(): void; } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomSeamUpdateDesignAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { ActionResult } from 'foundation/editor/view/action/ActionResult'; import { PatternInstanceElement } from 'sk/data/family/element/instance/PatternInstanceElement'; import { PlaneSurfaceElement } from 'sk/data/family/element/instance/PlaneSurfaceElement'; import { PatternInstanceNode } from 'sk/data/family/model/instance/PatternInstanceNode'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; import { DecorateItemStructure, DecorateStructure } from "sk/frame/logic/scheme/util/SchemeDecorateUtil"; import { BathroomSeamDesignActionEvent } from "sk/frame/logic/scheme/bathroom/event/BathroomSeamDesignActionEvent"; export class BathroomSeamUpdateDesignAction extends SchemeAsyncAction { entity: PatternInstanceNode; element: PatternInstanceElement; decorate: DecorateStructure; item: DecorateItemStructure; protected _oldData: HistoryData; protected _newData: HistoryData; protected _calculatorService: CalculatorService; constructor(); onExecuteAsync(event: BathroomSeamDesignActionEvent): Promise; private updateData; searchChildrenByType(element: any, target?: Array): Array; onUndo(): Promise>; onRedo(): Promise>; } class HistoryData { surfaceChildren: any[]; seamChildren: any[]; baseChildren: any[]; gap: number; constructor(); } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomSmcDesignAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; export class BathroomSmcDesignAction extends SchemeAsyncAction { element: any; entity: any; oldData: any; newData: any; protected _calculatorService: CalculatorService; protected _uiFrameService: UiFrameService; constructor(); onExecuteAsync(event: any): Promise; onUndo(): void; onRedo(): void; } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomWallFaceDesignAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { ISpecificationFamilyInfo } from 'sk/data/specification/base/ISpecificationFamilyInfo'; import { BathroomWallPatternElement } from 'sk/data/family/database/pattern/element/BathroomWallPatternElement'; import { BathroomWallElement } from 'sk/data/scheme/database/pattern/element/BathroomWallElement'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; export class BathroomWallFaceDesignAction extends SchemeAsyncAction { element: BathroomWallElement; entity: any; info: ISpecificationFamilyInfo; oldData: any; newData: any; params: null; wallPlankInfoId: string; wallSurfaceInfoId: string; wallSeamInfoId: string; patternElement: BathroomWallPatternElement; surfacetype: string; baseThickness: number; surfaceThickness: number; seamThickness: number; protected _calculatorService: CalculatorService; protected static _selectionService: SelectionService; gap: number; constructor(); onExecuteAsync(event: any): Promise; protected setDefaultDecorateAsync(info: ISpecificationFamilyInfo): Promise; reclculatWallXY(wallElement: BathroomWallElement, thinkss: number): void; onUndo(): void; onRedo(): void; } } declare module "sk/frame/logic/scheme/bathroom/event/BathroomWallGapAlignActionEvent" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { BathroomWallElement } from 'sk/data/scheme/database/pattern/element/BathroomWallElement'; import { BathroomWallNode } from 'sk/data/scheme/database/pattern/node/BathroomWallNode'; export class BathroomWallGapAlignActionEvent extends ContentActionEvent { entity: BathroomWallNode; element: BathroomWallElement; propName: string; propValue: string; gapPoints: Array; constructor(); reset(): void; free(): void; } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomWallGapAlignAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { ActionResult } from 'foundation/editor/view/action/ActionResult'; import { PlaneSurfaceElement } from 'sk/data/family/element/instance/PlaneSurfaceElement'; import { BathroomWallElement } from 'sk/data/scheme/database/pattern/element/BathroomWallElement'; import { BathroomWallNode } from 'sk/data/scheme/database/pattern/node/BathroomWallNode'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; import { BathroomWallGapAlignActionEvent } from "sk/frame/logic/scheme/bathroom/event/BathroomWallGapAlignActionEvent"; export class BathroomWallGapAlignAction extends SchemeAsyncAction { entity: BathroomWallNode; element: BathroomWallElement; protected _oldWall: HistoryData; protected _newWall: HistoryData; protected _calculatorService: CalculatorService; constructor(); onExecuteAsync(event: BathroomWallGapAlignActionEvent): Promise; searchChildrenByType(element: any, target?: Array): Array; onUndo(): Promise>; onRedo(): Promise>; } class HistoryData { surfaceChildren: any[]; seamChildren: any[]; baseChildren: any[]; constructor(); } } declare module "sk/frame/logic/scheme/bathroom/event/BathroomWallDesignActionEvent" { import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { LayoutTypeEnum } from 'sk/data/family/enumeration/LayoutTypeEnum'; import { BathroomWallElement } from 'sk/data/scheme/database/pattern/element/BathroomWallElement'; import { BathroomWallNode } from 'sk/data/scheme/database/pattern/node/BathroomWallNode'; export class BathroomWallDesignActionEvent extends ContentActionEvent { entity: BathroomWallNode; element: BathroomWallElement; propName: string; propValue: string; propName2: string; propValue2: string; layoutType: LayoutTypeEnum; constructor(); reset(): void; free(): void; } } declare module "sk/frame/logic/scheme/bathroom/action/BathroomWallUpdateDesignAction" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { ActionResult } from 'foundation/editor/view/action/ActionResult'; import { PlaneSurfaceElement } from 'sk/data/family/element/instance/PlaneSurfaceElement'; import { LayoutTypeEnum } from 'sk/data/family/enumeration/LayoutTypeEnum'; import { BathroomWallElement } from 'sk/data/scheme/database/pattern/element/BathroomWallElement'; import { BathroomWallNode } from 'sk/data/scheme/database/pattern/node/BathroomWallNode'; import { SchemeAsyncAction } from 'sk/editor/scheme/action/SchemeAsyncAction'; import { ActionMessageService } from 'sk/editor/logic/service/ActionMessageService'; import { BathroomWallDesignActionEvent } from "sk/frame/logic/scheme/bathroom/event/BathroomWallDesignActionEvent"; export class BathroomWallUpdateDesignAction extends SchemeAsyncAction { entity: BathroomWallNode; element: BathroomWallElement; protected _oldWall: HistoryData; protected _newWall: HistoryData; protected _layoutType: LayoutTypeEnum; protected _calculatorService: CalculatorService; protected _actionMessageService: ActionMessageService; private _shield; constructor(); onExecuteAsync(event: BathroomWallDesignActionEvent): Promise; protected resetFlexLayoutWallData(event: BathroomWallDesignActionEvent, oldValue: number): void; searchChildrenByType(element: any, target?: Array): Array; onUndo(): Promise>; onRedo(): Promise>; } class HistoryData { surfaceChildren: any[]; seamChildren: any[]; baseChildren: any[]; wallProperty: any; constructor(); } } declare module "sk/frame/logic/scheme/bathroom/event/BathroomSmcDesignActionEvent" { import { ContentActionEvent } from 'foundation/editor/view/action/content/ContentActionEvent'; import { BathroomShowerNode } from 'sk/data/scheme/database/pattern/node/BathroomShowerNode'; export class BathroomSmcDesignActionEvent extends ContentActionEvent { entity: BathroomShowerNode; constructor(); reset(): void; free(): void; } } declare module "sk/frame/logic/scheme/bathroom/interface/service/BathroomDesignService" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { SchemeConfigService } from 'sk/data/scheme/config/SchemeConfigService'; import { BathroomWallDesignData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/walldesign/BathroomWallDesignData"; import { BathroomValidationRuleConfigService } from "sk/frame/logic/scheme/bathroom/rule/validation/BathroomValidationRuleConfigService"; export class BathroomDesignService { protected static _schemeConfigService: SchemeConfigService; protected static _configRulerService: BathroomValidationRuleConfigService; static wallPatternModContentsAsync(bathroomWallDesignData: BathroomWallDesignData): Promise; static meetWallWorkFaceRulerCheckAsync(bathroomWallDesignData: BathroomWallDesignData): Promise; static fetchWetFloorSymbolListAsync(tenantId?: string): Promise; static fetchCompleteLineRuleAsync(tenantId?: string): Promise; } } declare module "sk/frame/logic/scheme/bathroom/interface/service/BathroomDesignServiceInterface" { import { Int32 } from 'cross/runtime/lang/Type'; export class SystemUserInfo { tenantId: string; tenantName: string; } export class WetFloorSymbol { length: Int32; width: Int32; } export class CompleteLineRule { min: Int32; max: Int32; step: Int32; } export class WallPlankHeightRule { min: Int32; max: Int32; step: Int32; } export class BathroomDesignServiceInterface { static getWetFloorSymbolListAsync(user?: SystemUserInfo): Promise; static getCompleteLineRuleAsync(user?: SystemUserInfo): Promise; static getWallPlankHeightRuleAsync(user?: SystemUserInfo): Promise; } } declare module "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/floordesign/BathroomFloorDesignData" { export class BathroomFloorDesignData { static DEFAULT_BASE_THICKNESS: number; static DEFAULT_SURFACE_THICKNESS: number; static DEFAULT_EDGE_HEIGHT: number; static DEFAULT_FINISH: number; } } declare module "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/floordesign/waredesign/BathroomWareDesignData" { import { SymbolWetPlank } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomCreateDesignData"; export class BathroomWareDesignData { info: SymbolWetPlank; x: number; y: number; z: number; lengthX: number; lengthY: number; lengthZ: number; maxEdgeCutWidth: number; minEdgeCutWidth: number; constructor(); } } declare module "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/floordesign/waredesign/BathroomWareDesignBuilder" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { WareElement } from 'sk/data/family/element/instance/WareElement'; import { ElementPerformerContext } from 'sk/data/family/performer/element/ElementPerformerContext'; import { BathroomWareDesignData } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/floordesign/waredesign/BathroomWareDesignData"; export class BathroomWareDesignBuilder { protected static _schemeConfigService: any; static buildAsync(context: ElementPerformerContext, wareElement: WareElement): Promise; static createDataByElement(context: ElementPerformerContext, wareElement: WareElement): BathroomWareDesignData; static loadFamilyInfoAsync(context: ElementPerformerContext, wareElement: WareElement, wareData: BathroomWareDesignData): Promise; } } declare module "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/floordesign/waterbardesign/BathroomWaterBarDesignBuilder" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { WareElement } from 'sk/data/family/element/instance/WareElement'; import { ElementPerformerContext } from 'sk/data/family/performer/element/ElementPerformerContext'; export class BathroomWaterBarDesignBuilder { static buildAsync(context: ElementPerformerContext, waterBarElement: WareElement): Promise; } } declare module "sk/frame/logic/scheme/bathroom/util/BathroomCeilingSurfacVerticalUpdateUtil" { import { Box2 } from 'foundation/runtime/math/Box2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { PlankNode } from 'sk/data/scheme/database/furniture/model/PlankNode'; import { BathroomCeilingNode } from 'sk/data/scheme/database/pattern/node/BathroomCeilingNode'; export enum BathroomCeilingCode { Base = "base", Surface = "surface", SurfacVertical = "surface_vertical" } export class BathroomCeilingSurfacVerticalUpdateUtil { protected static _calculatorService: CalculatorService; static updateCeilingFaceVerticalElement(ceilingNode: BathroomCeilingNode): Promise; static buildPlankEdgesData(planks: PlankNode[]): PlankEdges[]; static calMinDValueByNeighbour(edge: Edge, plankEdgeData: PlankEdges, PlankEdges: PlankEdges[], gap: number): number; static isLineCoincideOutLine(outlinePoints: Vector2[], begin: Vector2, end: Vector2): boolean; } class Edge { from: Vector2; to: Vector2; constructor(from?: Vector2, to?: Vector2); } class PlankEdges { plank: PlankNode; edges: Edge[]; box: Box2; constructor(); } } declare module "sk/frame/logic/scheme/bathroom/util/BathroomDataDesignUtil" { import { Vector2 } from 'cross/runtime/math/Vector2'; import { Line2 } from 'foundation/runtime/math/Line2'; import { Value2 } from 'foundation/runtime/math/Value2'; import { AreaSingleLine } from "sk/frame/logic/scheme/bathroom/rule/bathroomlayout/BathroomCreateDesignData"; export class RectAreaData { x: number; y: number; width: number; height: number; } export class BathroomDataDesignUtil { static getRectInfoByPolygon(polygon: Line2[] | Value2[]): RectAreaData; static getRectInfoByOutline(polygon: Array): RectAreaData; static getRectInfoByWallline(polygon: Array, height?: number): RectAreaData; static getRotationZByPoints(from: Vector2, to: Vector2): number; } } declare module "sk/frame/logic/scheme/bathroom/util/BathroomDesignMathUtil" { export class BathroomDesignMathUtil { static convertValueToDisplay(originValue: number): number; } } declare module "sk/frame/logic/scheme/bathroom/util/BathroomLayoutInfoCheck" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { ContentNode } from 'foundation/data/common/model/brep/ContentNode'; import { RoomNode } from 'sk/data/scheme/database/floorplan/model/RoomNode'; import { SchemeConfigService } from 'sk/data/scheme/config/SchemeConfigService'; import { CompleteLineRule, WetFloorSymbol } from "sk/frame/logic/scheme/bathroom/interface/service/BathroomDesignServiceInterface"; import { BathroomValidationRuleConfigService } from "sk/frame/logic/scheme/bathroom/rule/validation/BathroomValidationRuleConfigService"; export class BathroomLayoutCheckResult { status: boolean; code: string; info: string; } export class BathroomLayoutModuleCheckResult { wetFloorCheckRes: BathroomLayoutWetFloorCheckResult[]; completeLineCheckRes: BathroomLayoutCompleteLineCheckResult[]; dryFloorCheckRes: BathroomLayoutDryFloorCheckResult[]; symbolList: WetFloorSymbol[]; lineRuleList: CompleteLineRule[]; constructor(); } export class BathroomLayoutWetFloorCheckResult { isPass: boolean; node: ContentNode; isRect: boolean; width: number; length: number; } export class BathroomLayoutCompleteLineCheckResult { isPass: boolean; from: Vector2; to: Vector2; length: number; } export class BathroomLayoutDryFloorCheckResult { isPass: boolean; outline: Vector2[]; } export class BathroomLayoutInfoCheck { protected _configRulerService: BathroomValidationRuleConfigService; protected _schemeConfigService: SchemeConfigService; private rules; private room; private areaContainerNode; private wetAreaNodes; private userdefinedAreaNodes; private waterBarNodes; private wallNodes; private showerNodes; private closestoolNodes; private basinNodes; private completeLines; private floorOutlines; private wallPlaceholderOutlines; private dryOutlines; private bathroomPosition; tolerance: number; isInit: boolean; constructor(); checkPlaceData(room: RoomNode, code: string, wallHeight: number): Promise; private modHeightRuleCheck; checkLayoutData(room: RoomNode): BathroomLayoutCheckResult; checkLayoutModuleAsync(room: RoomNode): Promise; private init; private computeWetOutline; private computeWaterBarOutline; private computeDryOutlines; private createWaterBarDataFromAreaNode; private createDataFromWareNode; private createDataFromAreaNode; private createDataFromUserAreaNode; private dealWithWetFloorCheck; private dealWithSymbolWetFloorCheck; private dealWithUserDefinedWetFloorCheck; private dealWithDryFloorCheck; private dealWithCompleteLineCheck; private checkSingleFloorOutline; private checkCompleteLineDistance; private checkCompleteLines; private checkCompleteLineByRule; private checkWetFloorSymbol; private checkPresetWetArea; private checkUsrdefinedWetArea; private checkWaterProofBar; private checkPolygonInPolygon; private checkPolygonNearPolygon; private checkWetSurroundByWaterBar; private checkLineOnWaterBars; private checkLineOnWalls; private checkNodeIsOutRoom; private getAreaOutLine; private getPolygonOutLine; private checkIsBathroom; private checkHasCompleteLines; private checkHasLayoutArea; private createLayoutArea; private getAreaContainerNode; private findAllAreaNode; private checkWetIsInRoom; } } declare module "sk/frame/logic/scheme/bathroom/util/bathroomwall/BathroomWallElementDesignMath2dUtil" { import { Types } from 'cross/runtime/lang/collection/Types'; import { IFreeable } from 'cross/runtime/lang/IFreeable'; import { Line2 } from 'foundation/runtime/math/Line2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { BathroomWallElement } from 'sk/data/scheme/database/pattern/element/BathroomWallElement'; import { BathroomWallNode } from 'sk/data/scheme/database/pattern/node/BathroomWallNode'; export class BathroomWallElementDirectionLine implements IFreeable { from: Vector3; to: Vector3; constructor(); dispose(): void; } export class BathroomWallElementDesignMath2dUtil { static getPoints(element: BathroomWallElement): Types; static getPointsWithHoles(element: BathroomWallElement): Types; static getOutline(element: BathroomWallElement): Types; static getOutlineWithHoles(element: BathroomWallElement): Types; static getWallDirectionLineWolrd(entity: BathroomWallNode): BathroomWallElementDirectionLine; } } declare module "sk/frame/logic/scheme/command/SystemMemoryCommand" { import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; export class SystemMemoryCommand extends InstanceObject { static show(): void; } } declare module "sk/frame/logic/scheme/component/produce/ProduceContentPanel" { import { Dictionary } from 'cross/runtime/lang/collection/Dictionary'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class ProduceContentPanel extends UiContainer { protected expandedAllKeys: string[]; private isshowTable; private _isShowSearchResults; protected _searchHistory: Map>; json: any; json2: any; state: { expanded: any[]; selectNode: any; selectId: any; selectType: any; orderId: any; storageId: any; schemeId: any; schemeVersion: any; businessTypeId: any; hardwareList: any[]; searchType: string; searchResults: any[]; defaultExpandBool: boolean; }; private columns; private columns_hardware; private columns_type; private columns_table; private searchResultColumns; constructor(props: any, context?: any); UNSAFE_componentWillMount(): void; componentWillUnmount(): void; componentPropsChange(nextProps: any, nextContext: any): void; setRowClassName: (record: any) => "" | "errorRow" | "selectedRow"; makeTableLong(attrinfos: Dictionary): JSX.Element; private createChildTableLong; makeTable(): any; private createChildTableNodeLoop; private onElementClickAsync; private updateSvg; private updateAttr; private base64ToBlob; downloadFileAsync(json: any, filename: string, isOldIpd?: boolean): Promise; private changeExpended; private allExpended; onTablePartClick: () => void; onSvgPartClick: () => void; private createTableStyle; private createHardwareStatisticalTable; private createPlaneStatisticalTable; private findHardwareNode; private findPlaneNode; private findSelectIpdNode; private getIpdListInfos; private findNodeByType; private notExpended; private onSearchTypeChange; private searchIpdStructure; private onSearch; makeSearchComponentPanel(): JSX.Element; makeSearchResultTable(): JSX.Element; onRowClick: (event: any, record: any, index: any) => void; render(): JSX.Element; } } declare module "sk/frame/logic/scheme/component/produce/ProducePanel" { import { UiContainer, UiContainerProps } from 'foundation/editor/ui/core/UiContainer'; export enum IpdShowModeTypeEnum { List = 1, Svg = 2 } export interface ProducePanelProps extends UiContainerProps { json: any; json2?: any; parent: any; downloadDisable?: boolean; linkList?: any; currentLinkId?: string; } export class ProducePanel

extends UiContainer

{ private contentPanel; private downloadDisable; parent: any; linkList?: any; currentLinkId?: string; constructor(props?: ProducePanelProps, context?: any); style: any; private allExpended; private notExpended; componentPropsChange(nextProps: any, nextContext: any): void; private drawTableSvgBtn; private onTableSvgBtnClick; resetTableBtnState(): void; private makeLinkDropDown; private onChangeOption; render(): JSX.Element; } } declare module "sk/frame/logic/scheme/opearte/SchemeOpearteEnum" { export class SchemeOpearteEnum { static SetupDialog: string; } } declare module "sk/frame/logic/scheme/opearte/SchemeOpearteInfo" { import { SchemeOpearteEnum } from "sk/frame/logic/scheme/opearte/SchemeOpearteEnum"; export class SchemeOpearteInfo { opearteCd: SchemeOpearteEnum; instanceClass: any; opearteClass: any; } } declare module "sk/frame/logic/scheme/opearte/SchemeOpearteSetup" { import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; export class SchemeOpearteSetup extends InstanceObject { instance: any; event: any; processAsync(): Promise; } } declare module "sk/frame/logic/scheme/opearte/SchemeOperateService" { import { Types } from 'cross/runtime/lang/collection/Types'; import { Service } from 'cross/runtime/module/Service'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { SchemeOpearteEnum } from "sk/frame/logic/scheme/opearte/SchemeOpearteEnum"; import { SchemeOpearteInfo } from "sk/frame/logic/scheme/opearte/SchemeOpearteInfo"; export class SchemeOperateService extends Service { protected _operates: Types; protected _calculatorService: CalculatorService; createOperator(opearteCd: SchemeOpearteEnum, instance: any, event: any): any; register(declare: SchemeOpearteInfo): void; } } declare module "sk/frame/logic/scheme/opearte/SchemeOperateDeclare" { import { SchemeOpearteEnum } from "sk/frame/logic/scheme/opearte/SchemeOpearteEnum"; export function SchemeOperateDeclare(opearteCd: SchemeOpearteEnum, type: any): (target: any) => void; } declare module "sk/frame/logic/scheme/util/LengthUnitUtil" { import { SchemeDocument } from 'sk/data/scheme/model/SchemeDocument'; export class LengthUnitUtil { static standardToCurrentUnit(standardValue: number, document: SchemeDocument): string; static currentToStandardUnit(currentValue: number, document: SchemeDocument): number; private static getCurrentLengthUnit; private static numberToFix; } } declare module "sk/frame/logic/scheme/util/ProductCategoryUtil" { import * as React from 'react'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { ResourcePictureService } from 'foundation/core/resource/ResourcePictureService'; import { StructureTypes } from 'foundation/data/common/structure/StructureTypes'; import { ProductLinkEnum } from 'sk/data/logic/module/enumeration/ProductLinkEnum'; import { ProductShowCategoryItemPageResponseSymbolVo } from 'sk/data/logic/module/message/ProductShowCategoryItemPageResponse'; import { ProductShowCategoryItemService } from "sk/frame/logic/storage/module/product/show/category/item/ProductShowCategoryItemService"; import { ProductShowCategoryService } from "sk/frame/logic/storage/module/product/show/category/ProductShowCategoryService"; export class FamilyProduct { id: string; categoryId: string; title: string; imageUrl: string; productLinkCd: ProductLinkEnum; defaultSymbolFamilyInfoId: string; data: any; familyFeatures: string; productLinkId?: string; symbols?: StructureTypes; } export class FamilyCategoryItem { code: string; title: string; id: string; parentId: string; iconNormal: string; iconHighlight: string; domRef: React.RefObject; subItems: Array; isSelected: boolean; products: Array; } export class ProductCategoryUtil { protected static _productShowCategoryService: ProductShowCategoryService; protected static _resourcePictureService: ResourcePictureService; protected static _productShowCategoryItemService: ProductShowCategoryItemService; static loadCategorysByCodeAsync(code: string, libraryId: string, tenantId: string, isFilterByCurLibrary?: boolean): Promise<{ categorys: Array; categoryId: string; }>; static getProductCategoryDatasAsync(categoryCode: string, libraryId: string, tenantId: string, isFilterByCurLibrary?: boolean): Promise; private static recursiveCategoryDataByCode; static getProductCategoryDatasByCode(productCategoryData: any, code: any, isAll?: boolean): Array; static loadProductsByCategoryIdAsync(id: string, searchWord?: string, tenantId?: string, libraryId?: string): Promise>; static getProductDatasByCategoryIdAsync(datas: any, libraryId?: string, tenantId?: string): Promise; } } declare module "sk/frame/logic/scheme/util/RoomPolygonUtil" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { RoomNode } from 'sk/data/scheme/database/floorplan/model/RoomNode'; export class RoomPolygonUtil { static computePolygon(node: RoomNode, computeOpening?: boolean): Vector2[][]; private static computePolygonByWalls; private static computeOpeningBoundOnWall; } } declare module "sk/frame/logic/scheme/util/SchemeMaterialActionUtil" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { BrepNode } from 'foundation/data/common/model/brep/BrepNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { UiDesktopService } from 'foundation/editor/ui/desktop/UiDesktopService'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { ISpecificationFamilyInfo } from 'sk/data/specification/base/ISpecificationFamilyInfo'; import { ContentInstanceNode } from 'sk/data/family/model/instance/ContentInstanceNode'; import { DecorateLayerMaterialTypeEnum } from 'sk/data/scheme/database/pattern/node/config/DecorateLayerMaterialTypeEnum'; import { SchemeConfigService } from 'sk/data/scheme/config/SchemeConfigService'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { SchemeOperateService } from "sk/frame/logic/scheme/opearte/SchemeOperateService"; import { SchemeEditorDocument } from "sk/frame/logic/scheme/SchemeEditorDocument"; import { AddProductOptions } from "sk/frame/logic/scheme/util/SchemeActionUtil"; type SchemeMaterialAddInfo = { info?: ISpecificationFamilyInfo; decorateChangeEnum: DecorateLayerMaterialTypeEnum; }; export class SchemeMaterialActionUtil { protected static _uiFrameService: UiFrameService; protected static _selectionService: SelectionService; protected static _actionService: ActionService; protected static _schemeConfigService: SchemeConfigService; protected static _schemeOperateService: SchemeOperateService; protected static _desktopService: UiDesktopService; static addMaterialInfoAsync(document: SchemeEditorDocument, info: ISpecificationFamilyInfo, options?: AddProductOptions): Promise; protected static addMaterialColorAsync(document: SchemeEditorDocument, info: ISpecificationFamilyInfo, selectedEntity: ContentInstanceNode, options?: AddProductOptions): Promise; protected static addPlankDecorateWallAsync(document: SchemeEditorDocument, info: ISpecificationFamilyInfo, selectedEntity: ContentInstanceNode, options?: AddProductOptions): Promise; protected static addMaterialLayoutAsync(document: SchemeEditorDocument, info: ISpecificationFamilyInfo, selectedEntity: ContentInstanceNode, options?: AddProductOptions): Promise; protected static addMaterialAsync(document: SchemeEditorDocument, info: ISpecificationFamilyInfo, selectedEntity: ContentInstanceNode, options?: AddProductOptions): Promise; static testAddPattern(selectedEntity: BrepNode): boolean; protected static addPatternInfoAsync(document: SchemeEditorDocument, selectedEntity: BrepNode, info: SchemeMaterialAddInfo, options?: any): Promise; private static executeOldAsync; private static executeNewAsync; static testUpdateDecorate(selectedEntity: any): boolean; private static addPatternAsync; private static updateDecorateMaterialAsync; private static checkPatternFamily; private static executeActionAsync; private static findBindPattern; private static makePatternData; private static findPatternInfoIdByRoom; private static findPatternInfoIdByEntity; } } declare module "sk/frame/logic/scheme/util/SchemeActionUtil" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { Value3 } from 'foundation/runtime/math/Value3'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { UiDesktopService } from 'foundation/editor/ui/desktop/UiDesktopService'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { ISpecificationFamilyInfo } from 'sk/data/specification/base/ISpecificationFamilyInfo'; import { PatternInstanceNode } from 'sk/data/family/model/instance/PatternInstanceNode'; import { FamilyConfigService } from 'sk/data/family/service/FamilyConfigService'; import { BathroomNode } from 'sk/data/scheme/database/pattern/node/BathroomNode'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { SchemeEditorDocument } from "sk/frame/logic/scheme/SchemeEditorDocument"; export interface AddProductOptions { editorCode?: string; dontChangeUI?: boolean; rotation?: Vector3; size?: Vector3; decorates?: Array<{ configId: string; code: string; value: string; }>; isDisableCompute?: boolean; categoryCode?: string; categoryId?: string; categoryParentId?: string; stepName?: string; selectColorCardId?: string; } export class SchemeActionUtil { protected static _actionService: ActionService; protected static _familyConfigService: FamilyConfigService; protected static _selectionService: SelectionService; protected static _desktopService: UiDesktopService; protected static _uiFrameService: UiFrameService; static replaceEnable: boolean; static addProductAsync(document: SchemeEditorDocument, symbol: ISpecificationFamilyInfo, position: Value3, options?: AddProductOptions): Promise; static addPatternProductAsync(document: SchemeEditorDocument, info: ISpecificationFamilyInfo, position: Value3, options: AddProductOptions): Promise; static addProductInfoAsync(document: SchemeEditorDocument, info: ISpecificationFamilyInfo, position: Value3, options?: AddProductOptions): Promise; static deletePatternEntityAsync(entity: PatternInstanceNode): Promise; static deleteEntity(entity: DataNode): void; static checkBathroom(document: SchemeEditorDocument): BathroomNode[]; } } declare module "sk/frame/logic/service/FrameFamilyConfigService" { import { ContextObject } from 'cross/runtime/lang/ContextObject'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { ConfigReferenceStructure } from 'foundation/data/common/structure/ConfigReferenceStructure'; import { FamilyConfigService } from 'sk/data/family/service/FamilyConfigService'; import { PerspectiveConfigDecorateItemService } from "sk/frame/logic/storage/perspective/config/decorate/item/PerspectiveConfigDecorateItemService"; export class FrameFamilyConfigService extends FamilyConfigService { protected _perspectiveConfigDecorateItemService: PerspectiveConfigDecorateItemService; getDefaultDecorateLoadAsync(context: ContextObject, service: FrameFamilyConfigService, parameters: any): Promise>; getDefaultDecorateGet(context: ContextObject, parameters: any, content: any): ConfigReferenceStructure; getDefaultDecorateAsync(configId: any): Promise; getDecorateListAsync(pageQuery: any): Promise>>; } } declare module "sk/frame/logic/service/FrameFamilyLibraryService" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { Service } from 'cross/runtime/module/Service'; import { ISpecificationFamilyInfo } from 'sk/data/specification/base/ISpecificationFamilyInfo'; import { ISpecificationFamilySymbol } from 'sk/data/specification/base/ISpecificationFamilySymbol'; import { CustomSymbolElement } from 'sk/data/family/element/config/symbol/CustomSymbolElement'; import { FamilyDocument } from 'sk/data/family/library/FamilyDocument'; import { SchemeConfigFamilyDocument } from 'sk/data/scheme/config/SchemeConfigFamilyDocument'; import { FamilyGetConfigureResponseVo } from 'sk/data/logic/module/message/FamilyGetConfigureResponse'; export class FrameFamilyLibraryService extends Service { private _documents; private _infos; private _symbols; getSchemeFamilyInfoAsync(document: FamilyDocument): Promise>; getSchemeFamilySymbolAsync(document: FamilyDocument): Promise>; getSchemeFamilyDocumentAsync(document: FamilyDocument): Promise>; private getSchemeFamilyDataAsync; private getFamilyConfigureAsync; private createSchemeConfigFamilyInfo; private createSchemeConfigFamilySymbol; private buildSchemeFamilyDocument; setupDocument(document: FamilyDocument, configure: FamilyGetConfigureResponseVo): void; buildCustomSymbol(document: FamilyDocument, info: ISpecificationFamilyInfo): void; createCustomSymbol(info: ISpecificationFamilyInfo): CustomSymbolElement; private createSchemeFamilySymbolInfo; private getDefaultSizeSymbol; private createDefaultSizeSymbolInfo; createCustomSymbolValue(info: ISpecificationFamilyInfo): any; remove(familyId: string): void; dispose(flag?: boolean): void; } } declare module "sk/frame/logic/service/FrameSchemeConfigService" { import { ContextObject } from 'cross/runtime/lang/ContextObject'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { ConfigReferenceStructure } from 'foundation/data/common/structure/ConfigReferenceStructure'; import { SchemeConfigService } from 'sk/data/scheme/config/SchemeConfigService'; import { PerspectiveConfigDecorateItemService } from "sk/frame/logic/storage/perspective/config/decorate/item/PerspectiveConfigDecorateItemService"; export class FrameSchemeConfigService extends SchemeConfigService { protected _perspectiveConfigDecorateItemService: PerspectiveConfigDecorateItemService; getDefaultDecorateLoadAsync(context: ContextObject, service: FrameSchemeConfigService, parameters: any): Promise>; getDefaultDecorateGet(context: ContextObject, parameters: any, content: any): ConfigReferenceStructure; getDefaultDecorateAsync(configId: any): Promise; getDecorateListAsync(pageQuery: any): Promise>>; } } declare module "sk/frame/logic/storage/auth/user/role/UserRoleUnit" { import { DateTime } from 'cross/runtime/lang/DateTime'; import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class UserRoleUnit extends StorageUnit { static CLASS_NAME: string; id: string; objectStatusCd: number; objectVersion: number; tenantId: string; userId: string; roleId: string; orgId: string; createUserId: string; createDate: DateTime; updateUserId: string; updateDate: DateTime; constructor(); } } declare module "sk/frame/logic/storage/auth/user/role/UserRoleService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { UserRoleFetchResponse } from 'sk/data/logic/auth/message/UserRoleFetchResponse'; import { UserRoleFindResponse } from 'sk/data/logic/auth/message/UserRoleFindResponse'; import { UserRoleUnit } from "sk/frame/logic/storage/auth/user/role/UserRoleUnit"; export class UserRoleService extends StorageUnitService { constructor(); findAsync(userId: string): Promise; fetchAsync(userId: string): Promise; } } declare module "sk/frame/logic/storage/business/attribute/AttributeUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class AttributeUnit extends StorageUnit { static CLASS_NAME: string; id: string; typeId: string; categoryId: string; code: string; name: string; featureGroupId: string; dataStructureId: string; configure: string; remark: string; constructor(); } } declare module "sk/frame/logic/storage/business/attribute/AttributeService" { import { Types } from 'cross/runtime/lang/collection/Types'; import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { AttributeGetResponse } from 'sk/data/logic/business/message/AttributeGetResponse'; import { AttributeUnit } from "sk/frame/logic/storage/business/attribute/AttributeUnit"; export class AttributeService extends StorageUnitService { constructor(); listAsync(query?: any): Promise>; getAsync(obj?: any): Promise; } } declare module "sk/frame/logic/storage/business/attribute/category/AttributeCategoryUnit" { import { Types } from 'cross/runtime/lang/collection/Types'; import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class AttributeCategoryUnit extends StorageUnit { static CLASS_NAME: string; id: string; code: string; name: string; parentId: string; dataLevel: number; dataOrder: number; remark: string; nodes: Types; constructor(); } } declare module "sk/frame/logic/storage/business/attribute/category/AttributeCategoryService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { AttributeCategoryTreeResponse } from 'sk/data/logic/business/message/AttributeCategoryTreeResponse'; import { AttributeCategoryUnit } from "sk/frame/logic/storage/business/attribute/category/AttributeCategoryUnit"; export class AttributeCategoryService extends StorageUnitService { constructor(); treeAsync(pageQuery?: any): Promise; } } declare module "sk/frame/logic/storage/business/config/configure/ConfigConfigureUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class ConfigConfigureUnit extends StorageUnit { static CLASS_NAME: string; id: string; name: string; code: string; dataValues: string; constructor(); } } declare module "sk/frame/logic/storage/business/config/configure/ConfigConfigureService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { ConfigConfigurePageResponse } from 'sk/data/logic/business/message/ConfigConfigurePageResponse'; import { ConfigConfigureUnit } from "sk/frame/logic/storage/business/config/configure/ConfigConfigureUnit"; export class ConfigConfigureService extends StorageUnitService { constructor(); pageAsync(pageQuery: any): Promise; } } declare module "sk/frame/logic/storage/business/config/decorate/ConfigDecorateUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class ConfigDecorateUnit extends StorageUnit { static CLASS_NAME: string; id: string; name: string; code: string; constructor(); } } declare module "sk/frame/logic/storage/business/config/decorate/ConfigDecorateService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { ConfigDecoratePageResponse } from 'sk/data/logic/business/message/ConfigDecoratePageResponse'; import { ConfigDecorateUnit } from "sk/frame/logic/storage/business/config/decorate/ConfigDecorateUnit"; export class ConfigDecorateService extends StorageUnitService { constructor(); pageAsync(pageQuery: any): Promise; } } declare module "sk/frame/logic/storage/business/config/variable/ConfigVariableUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class ConfigVariableUnit extends StorageUnit { static CLASS_NAME: string; id: string; name: string; code: string; dataValue: string; constructor(); } } declare module "sk/frame/logic/storage/business/config/variable/ConfigVariableService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { ConfigVariablePageResponse } from 'sk/data/logic/module/message/ConfigVariablePageResponse'; import { ConfigVariableUnit } from "sk/frame/logic/storage/business/config/variable/ConfigVariableUnit"; export class ConfigVariableService extends StorageUnitService { constructor(); pageAsync(pageQuery: any): Promise; } } declare module "sk/frame/logic/storage/business/feature/FeatureUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class FeatureUnit extends StorageUnit { static CLASS_NAME: string; attributeId: string; id: string; dataOrder: number; groupId: string; groupName: string; attributeName: string; referenceCd: string; remark: string; referenceId: string; constructor(); } } declare module "sk/frame/logic/storage/business/feature/FeatureService" { import { Types } from 'cross/runtime/lang/collection/Types'; import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { FeatureDeleteResponse } from 'sk/data/logic/business/message/FeatureDeleteResponse'; import { FeatureGetResponse } from 'sk/data/logic/business/message/FeatureGetResponse'; import { FeatureInsertResponse } from 'sk/data/logic/business/message/FeatureInsertResponse'; import { FeatureUnit } from "sk/frame/logic/storage/business/feature/FeatureUnit"; export class FeatureService extends StorageUnitService { constructor(); listAsync(query?: any): Promise>; getAsync(obj?: any): Promise; insertAsync(unit: FeatureUnit): Promise; deleteAsync(unit: FeatureUnit): Promise; } } declare module "sk/frame/logic/storage/business/feature/group/FeatureGroupUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class FeatureGroupUnit extends StorageUnit { static CLASS_NAME: string; id: string; dataOrder: number; name: string; code: string; remark: string; constructor(); } } declare module "sk/frame/logic/storage/business/feature/group/FeatureGroupService" { import { Types } from 'cross/runtime/lang/collection/Types'; import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { FeatureGroupUnit } from "sk/frame/logic/storage/business/feature/group/FeatureGroupUnit"; export class FeatureGroupService extends StorageUnitService { constructor(); listAsync(query?: any): Promise>; } } declare module "sk/frame/logic/storage/business/tenant/TenantUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class TenantUnit extends StorageUnit { static CLASS_NAME: string; id: string; name: string; constructor(); } } declare module "sk/frame/logic/storage/business/tenant/TenantService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { TenantPageResponse } from 'sk/data/logic/business/message/TenantPageResponse'; import { TenantUnit } from "sk/frame/logic/storage/business/tenant/TenantUnit"; export class TenantService extends StorageUnitService { constructor(); pageAsync(pageQuery: any): Promise; } } declare module "sk/frame/logic/storage/control/server/message/ServerMessageUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class ServerMessageUnit extends StorageUnit { static CLASS_NAME: string; serverId: string; code: string; name: string; constructor(); } } declare module "sk/frame/logic/storage/digitization/batch/BatchUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; import { LinkTypeEnum } from 'sk/data/logic/calculate/enumeration/task/LinkTypeEnum'; import { BatchTypeEnum } from 'sk/data/logic/digitization/enumeration/BatchTypeEnum'; export class BatchUnit extends StorageUnit { static CLASS_NAME: string; id: string; linkId: string; name: string; code: string; linkCd: LinkTypeEnum; typeCd: BatchTypeEnum; remark: string; itemDatas: any; constructor(); } } declare module "sk/frame/logic/storage/digitization/batch/BatchService" { import { Types } from 'cross/runtime/lang/collection/Types'; import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { BatchFetchResponse } from 'sk/data/logic/digitization/message/BatchFetchResponse'; import { BatchGetResponse } from 'sk/data/logic/digitization/message/BatchGetResponse'; import { BatchUnit } from "sk/frame/logic/storage/digitization/batch/BatchUnit"; export class BatchService extends StorageUnitService { constructor(); listUpdateAsync(query?: any): Promise>; listDataOrderAsync(query?: any): Promise>; listAsync(query?: any): Promise>; getAsync(obj?: any): Promise; fecthBatchAsync(batchIds: Array): Promise; } } declare module "sk/frame/logic/storage/digitization/floorplan/FloorplanUnit" { import { DateTime } from 'cross/runtime/lang/DateTime'; import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class FloorplanUnit extends StorageUnit { static CLASS_NAME: string; id: string; code: string; version: number; name: string; createDate: DateTime; createUserName: string; updateDate: DateTime; constructor(); } } declare module "sk/frame/logic/storage/digitization/floorplan/FloorplanService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { FloorplanDeleteResponse } from 'sk/data/logic/digitization/message/FloorplanDeleteResponse'; import { FloorplanInsertResponse } from 'sk/data/logic/digitization/message/FloorplanInsertResponse'; import { FloorplanPageResponse } from 'sk/data/logic/digitization/message/FloorplanPageResponse'; import { FloorplanUpdateResponse } from 'sk/data/logic/digitization/message/FloorplanUpdateResponse'; import { FloorplanUnit } from "sk/frame/logic/storage/digitization/floorplan/FloorplanUnit"; export class FloorplanService extends StorageUnitService { constructor(); pageAsync(pageQuery: any): Promise; insertAsync(unit: FloorplanUnit): Promise; updateAsync(unit: FloorplanUnit): Promise; deleteAsync(unit: FloorplanUnit): Promise; } } declare module "sk/frame/logic/storage/digitization/scheme/SchemeUnit" { import { DateTime } from 'cross/runtime/lang/DateTime'; import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; import { SchemeStatisticsEnum } from 'sk/data/scheme/core/SchemeStatisticsEnum'; export class SchemeUnit extends StorageUnit { static CLASS_NAME: string; id: string; code: string; version: number; name: string; categoryId: string; useCd: SchemeStatisticsEnum; tags: any; createDate: DateTime; createUserName: string; updateDate: DateTime; content: any; constructor(); } } declare module "sk/frame/logic/storage/digitization/scheme/SchemeService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { SchemeUseStatusEnum } from 'sk/data/logic/digitization/enumeration/SchemeUseStatusEnum'; import { SchemeDeleteResponse } from 'sk/data/logic/digitization/message/SchemeDeleteResponse'; import { SchemeDuplicateResponse } from 'sk/data/logic/digitization/message/SchemeDuplicateResponse'; import { SchemeGetResponse } from 'sk/data/logic/digitization/message/SchemeGetResponse'; import { SchemeInsertResponse } from 'sk/data/logic/digitization/message/SchemeInsertResponse'; import { SchemeMoveResponse } from 'sk/data/logic/digitization/message/SchemeMoveResponse'; import { SchemePageResponse } from 'sk/data/logic/digitization/message/SchemePageResponse'; import { SchemeRecycleResponse } from 'sk/data/logic/digitization/message/SchemeRecycleResponse'; import { SchemeRenameResponse } from 'sk/data/logic/digitization/message/SchemeRenameResponse'; import { SchemeRestoreResponse } from 'sk/data/logic/digitization/message/SchemeRestoreResponse'; import { SchemeUpdateResponse } from 'sk/data/logic/digitization/message/SchemeUpdateResponse'; import { SchemeUnit } from "sk/frame/logic/storage/digitization/scheme/SchemeUnit"; export class SchemeService extends StorageUnitService { constructor(); pageAsync(pageQuery: any): Promise; insertAsync(unit: SchemeUnit): Promise; updateAsync(unit: SchemeUnit): Promise; deleteAsync(unit: SchemeUnit): Promise; renameAsync(unit: SchemeUnit): Promise; duplicateAsync(unit: SchemeUnit): Promise; restoreAsync(ids: Array): Promise; moveAsync(ids: Array, categoryId: string): Promise; recycleAsync(ids: Array, useCd: SchemeUseStatusEnum): Promise; getAsync(unit: SchemeUnit): Promise; } } declare module "sk/frame/logic/storage/digitization/scheme/SchemeUnitStorageUnit" { import { DateTime } from 'cross/runtime/lang/DateTime'; import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class SchemeUnitStorageUnit extends StorageUnit { static CLASS_NAME: string; id: string; code: string; version: number; name: string; createDate: DateTime; createUserName: string; updateDate: DateTime; content: any; constructor(); } } declare module "sk/frame/logic/storage/digitization/scheme/SchemeUnitStorageService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { SchemeDeleteResponse } from 'sk/data/logic/digitization/message/SchemeDeleteResponse'; import { SchemeInsertResponse } from 'sk/data/logic/digitization/message/SchemeInsertResponse'; import { SchemePageResponse } from 'sk/data/logic/digitization/message/SchemePageResponse'; import { SchemeUpdateResponse } from 'sk/data/logic/digitization/message/SchemeUpdateResponse'; import { SchemeUnitStorageUnit } from "sk/frame/logic/storage/digitization/scheme/SchemeUnitStorageUnit"; export class SchemeUnitStorageService extends StorageUnitService { constructor(); pageAsync(pageQuery: any): Promise; insertAsync(unit: SchemeUnitStorageUnit): Promise; updateAsync(unit: SchemeUnitStorageUnit): Promise; deleteAsync(unit: SchemeUnitStorageUnit): Promise; } } declare module "sk/frame/logic/storage/digitization/storage/StorageUnit" { import { DateTime } from 'cross/runtime/lang/DateTime'; import { StorageUnit as BaseStorageUnit } from 'foundation/data/common/storage/StorageUnit'; import { StorageTypeEnum } from 'sk/data/logic/digitization/enumeration/StorageTypeEnum'; export class StorageUnit extends BaseStorageUnit { static CLASS_NAME: string; id: string; code: string; name: string; linkId: string; linkVersion: number; linkType: StorageTypeEnum; createUsername: string; createDate: DateTime; constructor(); } } declare module "sk/frame/logic/storage/digitization/user/UserUnitStorageUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class UserUnitStorageUnit extends StorageUnit { static CLASS_NAME: string; id: string; userId: string; tenantId: string; code: string; name: string; configure: any; tags: string; features: string; remark: string; constructor(); } } declare module "sk/frame/logic/storage/digitization/user/UserUnitStorageService" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { UserDeleteResponse } from 'sk/data/logic/digitization/message/UserDeleteResponse'; import { UserInsertResponse } from 'sk/data/logic/digitization/message/UserInsertResponse'; import { UserUpdateResponse } from 'sk/data/logic/digitization/message/UserUpdateResponse'; import { UserUnitStorageUnit } from "sk/frame/logic/storage/digitization/user/UserUnitStorageUnit"; export class UserUnitStorageService extends StorageUnitService { constructor(); insertAsync(unit: UserUnitStorageUnit): Promise; updateAsync(unit: UserUnitStorageUnit): Promise; deleteAsync(unit: UserUnitStorageUnit): Promise; getByUserIdAsync(userId?: string): Promise>; findByUserId(userId: string): UserUnitStorageUnit; syncByUserId(userId: string): UserUnitStorageUnit; addUnitByUserId(unit: UserUnitStorageUnit): void; removeUnitByUserId(unit: UserUnitStorageUnit): void; } } declare module "sk/frame/logic/storage/module/attribute/AttributeUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class AttributeUnit extends StorageUnit { static CLASS_NAME: string; id: string; typeId: string; categoryId: string; code: string; name: string; featureGroupId: string; dataStructureId: string; configure: string; remark: string; dataUseCd: string; parameters: string; constructor(); } } declare module "sk/frame/logic/storage/module/attribute/AttributeService" { import { Types } from 'cross/runtime/lang/collection/Types'; import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { AttributeGetResponse } from 'sk/data/logic/module/message/AttributeGetResponse'; import { AttributeUnit } from "sk/frame/logic/storage/module/attribute/AttributeUnit"; export class AttributeService extends StorageUnitService { constructor(); listAsync(query?: any): Promise>; getAsync(obj?: any): Promise; } } declare module "sk/frame/logic/storage/module/attribute/category/AttributeCategoryUnit" { import { Types } from 'cross/runtime/lang/collection/Types'; import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class AttributeCategoryUnit extends StorageUnit { static CLASS_NAME: string; id: string; code: string; name: string; parentId: string; dataLevel: number; dataOrder: number; remark: string; nodes: Types; constructor(); } } declare module "sk/frame/logic/storage/module/attribute/ConfigCategoryTreeService" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { StructureObject } from 'cross/runtime/framework/base/StructureObject'; import { IMessageContext } from 'cross/data/module/message/IMessageContext'; import { MessageDescription } from 'cross/data/module/message/MessageDescription'; import { MessageRequest } from 'cross/data/module/message/MessageRequest'; import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { StructureTypes } from 'foundation/data/common/structure/StructureTypes'; import { ConfigCategoryTreeResponse } from 'sk/data/logic/module/message/ConfigCategoryTreeResponse'; import { AttributeCategoryUnit } from "sk/frame/logic/storage/module/attribute/category/AttributeCategoryUnit"; export class ConfigCategoryTreeRequestCategoryIdsVo extends StructureObject { id: string; constructor(); } export class ConfigCategoryTreeRequestChildCategoryIdsVo extends StructureObject { id: string; constructor(); } export class ConfigCategoryTreeRequestVo extends StructureObject { categoryId: string; categoryIds: StructureTypes; childCategoryIds: StructureTypes; constructor(); } export class ConfigCategoryTreeRequest extends MessageRequest { static CLASS_DESCRIPTION: MessageDescription; protected _data: ConfigCategoryTreeRequestVo; constructor(); get data(): ConfigCategoryTreeRequestVo; sendAsync(context?: IMessageContext): Promise; } export class ConfigCategoryTreeService extends StorageUnitService { constructor(); getAsync(configId: string): Promise>; } } declare module "sk/frame/logic/storage/module/attribute/category/AttributeCategoryService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { AttributeCategoryTreeResponse } from 'sk/data/logic/module/message/AttributeCategoryTreeResponse'; import { AttributeCategoryUnit } from "sk/frame/logic/storage/module/attribute/category/AttributeCategoryUnit"; export class AttributeCategoryService extends StorageUnitService { constructor(); treeAsync(pageQuery?: any): Promise; } } declare module "sk/frame/logic/storage/module/business/type/BusinessTypeUnit" { import { DateTime } from 'cross/runtime/lang/DateTime'; import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class BusinessTypeUnit extends StorageUnit { static CLASS_NAME: string; id: string; name: string; code: string; createDate: DateTime; constructor(); } } declare module "sk/frame/logic/storage/module/config/configure/ConfigConfigureUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class ConfigConfigureUnit extends StorageUnit { static CLASS_NAME: string; id: string; name: string; code: string; dataValues: string; constructor(); } } declare module "sk/frame/logic/storage/module/config/configure/ConfigConfigureService" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { ConfigConfigurePageResponse } from 'sk/data/logic/module/message/ConfigConfigurePageResponse'; import { ConfigConfigureUnit } from "sk/frame/logic/storage/module/config/configure/ConfigConfigureUnit"; export class ConfigConfigureService extends StorageUnitService { constructor(); pageAsync(pageQuery: any): Promise; getAsync(configId: string): Promise>; } } declare module "sk/frame/logic/storage/module/config/decorate/ConfigDecorateUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class ConfigDecorateUnit extends StorageUnit { static CLASS_NAME: string; id: string; name: string; code: string; constructor(); } } declare module "sk/frame/logic/storage/module/config/decorate/ConfigDecorateService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { ConfigDecoratePageResponse } from 'sk/data/logic/module/message/ConfigDecoratePageResponse'; import { ConfigDecorateUnit } from "sk/frame/logic/storage/module/config/decorate/ConfigDecorateUnit"; export class ConfigDecorateService extends StorageUnitService { constructor(); pageAsync(pageQuery: any): Promise; } } declare module "sk/frame/logic/storage/module/config/palette/ConfigPaletteUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class ConfigPaletteUnit extends StorageUnit { static CLASS_NAME: string; id: string; name: string; brand: string; constructor(); } } declare module "sk/frame/logic/storage/module/config/palette/ConfigPaletteService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { ConfigPaletteColorPageResponse } from 'sk/data/logic/module/message/ConfigPaletteColorPageResponse'; import { ConfigPaletteUnit } from "sk/frame/logic/storage/module/config/palette/ConfigPaletteUnit"; export class ConfigConfigureService extends StorageUnitService { constructor(); pageAsync(pageQuery: any): Promise; } } declare module "sk/frame/logic/storage/module/config/palette/color/ConfigPaletteColorUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class ConfigPaletteColorUnit extends StorageUnit { static CLASS_NAME: string; id: string; name: string; value: number; constructor(); } } declare module "sk/frame/logic/storage/module/config/palette/color/ConfigPaletteColorService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { ConfigPaletteColorPageResponse } from 'sk/data/logic/module/message/ConfigPaletteColorPageResponse'; import { ConfigPaletteColorUnit } from "sk/frame/logic/storage/module/config/palette/color/ConfigPaletteColorUnit"; export class ConfigConfigureService extends StorageUnitService { constructor(); pageAsync(pageQuery: any): Promise; } } declare module "sk/frame/logic/storage/module/config/variable/ConfigVariableUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class ConfigVariableUnit extends StorageUnit { static CLASS_NAME: string; id: string; name: string; code: string; dataValue: string; constructor(); } } declare module "sk/frame/logic/storage/module/config/variable/ConfigVariableService" { import { Types } from 'cross/runtime/lang/collection/Types'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { ConfigVariablePageResponse } from 'sk/data/logic/module/message/ConfigVariablePageResponse'; import { ConfigVariableUnit } from "sk/frame/logic/storage/module/config/variable/ConfigVariableUnit"; export class ConfigVariableService extends StorageUnitService { constructor(); listAsync(query?: any): Promise>; pageAsync(pageQuery: any): Promise; getAsync(configId: string): Promise>; } } declare module "sk/frame/logic/storage/module/drawing/DrawingUnit" { import { DateTime } from 'cross/runtime/lang/DateTime'; import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class DrawingUnit extends StorageUnit { static CLASS_NAME: string; id: string; name: string; createDate: DateTime; constructor(); } } declare module "sk/frame/logic/storage/module/drawing/DrawingService" { import { Types } from 'cross/runtime/lang/collection/Types'; import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { DrawingUnit } from "sk/frame/logic/storage/module/drawing/DrawingUnit"; export class DrawingService extends StorageUnitService { constructor(); listAsync(query?: any): Promise>; } } declare module "sk/frame/logic/storage/module/family/FamilyContentUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class FamilyContentUnit extends StorageUnit { static CLASS_NAME: string; id: string; docJson: string; constructor(); previewFileOssTempKey: File; } } declare module "sk/frame/logic/storage/module/family/FamilyContentService" { import { Dictionary } from 'cross/runtime/lang/collection/Dictionary'; import { IContext } from 'cross/runtime/lang/IContext'; import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { FamilyGetConfigureResponse } from 'sk/data/logic/module/message/FamilyGetConfigureResponse'; import { FamilyGetPropertyDeclareResponse } from 'sk/data/logic/module/message/FamilyGetPropertyDeclareResponse'; import { FamilyGetResponse } from 'sk/data/logic/module/message/FamilyGetResponse'; import { FamilySyncFeaturesResponse } from 'sk/data/logic/module/message/FamilySyncFeaturesResponse'; import { FamilyUpdateCompleteRequestVo } from 'sk/data/logic/module/message/FamilyUpdateCompleteRequest'; import { FamilyUpdateCompleteResponse } from 'sk/data/logic/module/message/FamilyUpdateCompleteResponse'; import { FamilyUpdateContentResponse } from 'sk/data/logic/module/message/FamilyUpdateContentResponse'; import { FamilyContentUnit } from "sk/frame/logic/storage/module/family/FamilyContentUnit"; export class FamilyContentService extends StorageUnitService { constructor(); protected _familyCaches: Dictionary; getFamilyContentAsync(id: string, version?: string): Promise; getContentAsync(id: string, version: string): Promise; protected findFamilyContent(id: string, version?: string): FamilyGetResponse; getFeaturesDeclareAsync(obj?: any): Promise; getConfigureAsync(context: IContext, obj?: any): Promise; updateContentAsync(unit: FamilyContentUnit): Promise; updateCompleteDataNewAsync(context: IContext, data: { familyUnit: FamilyUpdateCompleteRequestVo; docJson: any; }): Promise; updateCompleteDataAsync(context: IContext, data: { familyUnit: any; docJson: any; }): Promise; syncFeaturesAsync(obj: any): Promise; } } declare module "sk/frame/logic/storage/module/family/symbol/FamilySymbolUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class FamilySymbolUnit extends StorageUnit { static CLASS_NAME: string; familyId: string; features: string; lengthX: number; lengthY: number; lengthZ: number; permissions: string; remark: string; tags: string; tenantId: string; constructor(); } } declare module "sk/frame/logic/storage/module/family/symbol/FamilySymbolService" { import { Types } from 'cross/runtime/lang/collection/Types'; import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { FamilySymbolGetResponse } from 'sk/data/logic/module/message/FamilySymbolGetResponse'; import { FamilySymbolPageResponse } from 'sk/data/logic/module/message/FamilySymbolPageResponse'; import { FamilySymbolSyncResponse } from 'sk/data/logic/module/message/FamilySymbolSyncResponse'; import { FamilySymbolUnit } from "sk/frame/logic/storage/module/family/symbol/FamilySymbolUnit"; export class FamilySymbolService extends StorageUnitService { constructor(); listAsync(query?: any): Promise>; pageAsync(pageQuery: any): Promise; getAsync(obj?: any): Promise; syncSymbolAsync(query?: any): Promise; } } declare module "sk/frame/logic/storage/module/family/type/FamilyTypeUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class FamilyTypeUnit extends StorageUnit { static CLASS_NAME: string; code: string; id: string; name: string; constructor(); } } declare module "sk/frame/logic/storage/module/family/type/FamilyTypeService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { FamilyTypeGetResponse } from 'sk/data/logic/module/message/FamilyTypeGetResponse'; import { FamilyTypeUnit } from "sk/frame/logic/storage/module/family/type/FamilyTypeUnit"; export class FamilyTypeService extends StorageUnitService { constructor(); getAsync(obj?: any): Promise; } } declare module "sk/frame/logic/storage/module/feature/FeatureUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class FeatureUnit extends StorageUnit { static CLASS_NAME: string; attributeId: string; id: string; dataOrder: number; groupId: string; groupName: string; attributeName: string; referenceCd: string; remark: string; referenceId: string; constructor(); } } declare module "sk/frame/logic/storage/module/feature/FeatureService" { import { Types } from 'cross/runtime/lang/collection/Types'; import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { FeatureDeleteResponse } from 'sk/data/logic/module/message/FeatureDeleteResponse'; import { FeatureGetResponse } from 'sk/data/logic/module/message/FeatureGetResponse'; import { FeatureInsertResponse } from 'sk/data/logic/module/message/FeatureInsertResponse'; import { FeatureUnit } from "sk/frame/logic/storage/module/feature/FeatureUnit"; export class FeatureService extends StorageUnitService { constructor(); listAsync(query?: any): Promise>; getAsync(obj?: any): Promise; insertAsync(unit: FeatureUnit): Promise; deleteAsync(unit: FeatureUnit): Promise; } } declare module "sk/frame/logic/storage/module/feature/group/FeatureGroupUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class FeatureGroupUnit extends StorageUnit { static CLASS_NAME: string; id: string; dataOrder: number; name: string; code: string; remark: string; constructor(); } } declare module "sk/frame/logic/storage/module/feature/group/FeatureGroupService" { import { Types } from 'cross/runtime/lang/collection/Types'; import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { FeatureGroupUnit } from "sk/frame/logic/storage/module/feature/group/FeatureGroupUnit"; export class FeatureGroupService extends StorageUnitService { constructor(); listAsync(query?: any): Promise>; } } declare module "sk/frame/logic/storage/module/layout/PatternUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class PatternUnit extends StorageUnit { static CLASS_NAME: string; id: string; version: number; content: string; constructor(); } } declare module "sk/frame/logic/storage/module/layout/PatternService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { PatternUnit } from "sk/frame/logic/storage/module/layout/PatternUnit"; export class PatternService extends StorageUnitService { constructor(); } } declare module "sk/frame/logic/storage/module/library/LibraryUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class LibraryUnit extends StorageUnit { static CLASS_NAME: string; id: string; code: string; name: string; remark: string; constructor(); } } declare module "sk/frame/logic/storage/module/library/LibraryService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { LibraryPageResponse } from 'sk/data/logic/module/message/LibraryPageResponse'; import { LibraryUnit } from "sk/frame/logic/storage/module/library/LibraryUnit"; export class LibraryService extends StorageUnitService { constructor(); pageAsync(pageQuery: any): Promise; } } declare module "sk/frame/logic/storage/module/library/version/LibraryVersionUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class LibraryVersionUnit extends StorageUnit { static CLASS_NAME: string; id: string; code: string; name: string; constructor(); } } declare module "sk/frame/logic/storage/module/library/version/LibraryVersionService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { LibraryVersionUpdateContentResponse } from 'sk/data/logic/module/message/LibraryVersionUpdateContentResponse'; import { LibraryVersionUnit } from "sk/frame/logic/storage/module/library/version/LibraryVersionUnit"; export class LibraryVersionService extends StorageUnitService { constructor(); updateContentAsync(obj?: any): Promise; } } declare module "sk/frame/logic/storage/module/material/family/MaterialFamilyUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class MaterialFamilyUnit extends StorageUnit { static CLASS_NAME: string; id: string; businessTypeId: string; familyId: string; materialId: string; constructor(); } } declare module "sk/frame/logic/storage/module/material/family/MaterialFamilyService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { MaterialFamilyGetMaterialResponse } from 'sk/data/logic/module/message/MaterialFamilyGetMaterialResponse'; import { MaterialFamilyUnit } from "sk/frame/logic/storage/module/material/family/MaterialFamilyUnit"; export class MaterialFamilyService extends StorageUnitService { constructor(); getAsync(obj?: any): Promise; } } declare module "sk/frame/logic/storage/module/pattern/LayoutUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class LayoutUnit extends StorageUnit { static CLASS_NAME: string; id: string; version: number; content: string; constructor(); } } declare module "sk/frame/logic/storage/module/pattern/LayoutService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { LayoutUnit } from "sk/frame/logic/storage/module/pattern/LayoutUnit"; export class LayoutService extends StorageUnitService { constructor(); } } declare module "sk/frame/logic/storage/module/pattern/PatternUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class PatternUnit extends StorageUnit { static CLASS_NAME: string; id: string; version: number; content: string; constructor(); } } declare module "sk/frame/logic/storage/module/pattern/PatternService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { PatternUnit } from "sk/frame/logic/storage/module/pattern/PatternUnit"; export class PatternService extends StorageUnitService { constructor(); } } declare module "sk/frame/logic/storage/module/perspective/config/decorate/item/PerspectiveConfigDecorateItemUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class PerspectiveConfigDecorateItemUnit extends StorageUnit { static CLASS_NAME: string; configId: string; decorateItemId: string; tenantId: string; libraryId: string; code: string; name: string; linkCd: string; linkCode: string; linkId: string; linkName: string; linkVersion: string; optionDefault: number; constructor(); } } declare module "sk/frame/logic/storage/module/perspective/product/show/product/PerspectiveProductShowProductUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class PerspectiveProductShowProductUnit extends StorageUnit { static CLASS_NAME: string; tenantId: string; libraryId: string; categoryId: string; categoryCode: string; productId: string; code: string; name: string; dataIcon: string; dataOrder: number; tags: string; features: string; permissions: string; remark: string; constructor(); } } declare module "sk/frame/logic/storage/module/product/category/ProductCategoryUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class ProductCategoryUnit extends StorageUnit { static CLASS_NAME: string; id: string; parentId: string; code: string; name: string; dataLevel: number; dataOrder: number; remark: string; constructor(); } } declare module "sk/frame/logic/storage/module/product/category/ProductCategoryService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { ProductCategoryGetResponse } from 'sk/data/logic/module/message/ProductCategoryGetResponse'; import { ProductCategoryTreeResponse } from 'sk/data/logic/module/message/ProductCategoryTreeResponse'; import { ProductCategoryUnit } from "sk/frame/logic/storage/module/product/category/ProductCategoryUnit"; export class ProductCategoryService extends StorageUnitService { constructor(); treeAsync(pageQuery?: any): Promise; getAsync(obj?: any): Promise; } } declare module "sk/frame/logic/storage/module/product/info/ProductInfoUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class ProductInfoUnit extends StorageUnit { static CLASS_NAME: string; id: string; tenantId: string; libraryId: string; libraryVersion: number; productId: string; symbolId: string; familyId: string; code: string; name: string; lengthX: number; lengthY: number; lengthZ: number; features: string; constructor(); } } declare module "sk/frame/logic/storage/module/product/info/ProductInfoService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { ProductInfoGetBySymbolIdResponse } from 'sk/data/logic/module/message/ProductInfoGetBySymbolIdResponse'; import { ProductInfoGetResponse } from 'sk/data/logic/module/message/ProductInfoGetResponse'; import { ProductInfoInsertResponse } from 'sk/data/logic/module/message/ProductInfoInsertResponse'; import { ProductInfoListResponse } from 'sk/data/logic/module/message/ProductInfoListResponse'; import { ProductInfoUpdateResponse } from 'sk/data/logic/module/message/ProductInfoUpdateResponse'; import { ProductInfoUnit } from "sk/frame/logic/storage/module/product/info/ProductInfoUnit"; export class ProductInfoService extends StorageUnitService { constructor(); getAsync(obj?: any): Promise; insertAsync(unit: ProductInfoUnit): Promise; updateAsync(unit: ProductInfoUnit): Promise; getBySymbolIdAsync(obj?: any): Promise; listAsync(obj?: any): Promise; } } declare module "sk/frame/logic/storage/module/product/symbol/ProductSymbolUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class ProductSymbolUnit extends StorageUnit { static CLASS_NAME: string; tenantId: string; productId: string; familyId: string; familySymbolId: string; linkCd: number; features: string; constructor(); } } declare module "sk/frame/logic/storage/module/product/symbol/ProductSymbolService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { ProductSymbolDeleteResponse } from 'sk/data/logic/module/message/ProductSymbolDeleteResponse'; import { ProductSymbolGetResponse } from 'sk/data/logic/module/message/ProductSymbolGetResponse'; import { ProductSymbolInsertResponse } from 'sk/data/logic/module/message/ProductSymbolInsertResponse'; import { ProductSymbolListResponse } from 'sk/data/logic/module/message/ProductSymbolListResponse'; import { ProductSymbolPageResponse } from 'sk/data/logic/module/message/ProductSymbolPageResponse'; import { ProductSymbolUpdateResponse } from 'sk/data/logic/module/message/ProductSymbolUpdateResponse'; import { ProductSymbolUnit } from "sk/frame/logic/storage/module/product/symbol/ProductSymbolUnit"; export class ProductSymbolService extends StorageUnitService { constructor(); pageAsync(pageQuery: any): Promise; getAsync(obj?: any): Promise; insertAsync(unit: ProductSymbolUnit): Promise; updateAsync(unit: ProductSymbolUnit): Promise; deleteAsync(unit: ProductSymbolUnit): Promise; listAsync(query: any): Promise; } } declare module "sk/frame/logic/storage/module/profile/ProfileUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class ProfileUnit extends StorageUnit { static CLASS_NAME: string; id: string; version: number; content: string; constructor(); } } declare module "sk/frame/logic/storage/module/profile/ProfileService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { ProfileUnit } from "sk/frame/logic/storage/module/profile/ProfileUnit"; export class ProfileService extends StorageUnitService { constructor(); } } declare module "sk/frame/logic/storage/module/publish/family/info/FamilyInfoUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class FamilyInfoUnit extends StorageUnit { static CLASS_NAME: string; id: string; tenantId: string; libraryId: string; libraryVersion: number; familyId: string; symbolId: string; code: string; name: string; lengthX: number; lengthY: number; lengthZ: number; features: string; constructor(); } } declare module "sk/frame/logic/storage/module/rule/RuleContentUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class RuleContentUnit extends StorageUnit { static CLASS_NAME: string; id: string; docJson: string; constructor(); } } declare module "sk/frame/logic/storage/module/rule/RuleContentService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { RuleContentUnit } from "sk/frame/logic/storage/module/rule/RuleContentUnit"; export class RuleContentService extends StorageUnitService { constructor(); } } declare module "sk/frame/logic/storage/module/rule/config/RuleConfigUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class RuleConfigUnit extends StorageUnit { static CLASS_NAME: string; code: string; id: string; name: string; constructor(); } } declare module "sk/frame/logic/storage/module/rule/config/RuleConfigService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { RuleConfigGetResponse } from 'sk/data/logic/module/message/RuleConfigGetResponse'; import { RuleConfigPageResponse } from 'sk/data/logic/module/message/RuleConfigPageResponse'; import { RuleConfigUnit } from "sk/frame/logic/storage/module/rule/config/RuleConfigUnit"; export class RuleConfigService extends StorageUnitService { constructor(); pageAsync(pageQuery: any): Promise; getAsync(obj?: any): Promise; } } declare module "sk/frame/logic/storage/module/rule/process/RuleProcessUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class RuleProcessUnit extends StorageUnit { static CLASS_NAME: string; code: string; id: string; name: string; constructor(); } } declare module "sk/frame/logic/storage/module/rule/process/RuleProcessService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { RuleTypePageResponse } from 'sk/data/logic/module/message/RuleTypePageResponse'; import { RuleProcessUnit } from "sk/frame/logic/storage/module/rule/process/RuleProcessUnit"; export class RuleProcessService extends StorageUnitService { constructor(); pageAsync(pageQuery: any): Promise; } } declare module "sk/frame/logic/storage/module/rule/rule/RuleUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class RuleUnit extends StorageUnit { static CLASS_NAME: string; code: string; id: string; name: string; constructor(); } } declare module "sk/frame/logic/storage/module/rule/rule/RuleService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { RuleGetResponse } from 'sk/data/logic/module/message/RuleGetResponse'; import { RulePageResponse } from 'sk/data/logic/module/message/RulePageResponse'; import { RuleUnit } from "sk/frame/logic/storage/module/rule/rule/RuleUnit"; export class RuleService extends StorageUnitService { constructor(); pageAsync(pageQuery: any): Promise; getAsync(obj?: any): Promise; } } declare module "sk/frame/logic/storage/module/rule/type/RuleTypeUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class RuleTypeUnit extends StorageUnit { static CLASS_NAME: string; code: string; id: string; name: string; constructor(); } } declare module "sk/frame/logic/storage/module/rule/type/RuleTypeService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { RuleTypeGetResponse } from 'sk/data/logic/module/message/RuleTypeGetResponse'; import { RuleTypePageResponse } from 'sk/data/logic/module/message/RuleTypePageResponse'; import { RuleTypeUnit } from "sk/frame/logic/storage/module/rule/type/RuleTypeUnit"; export class RuleTypeService extends StorageUnitService { constructor(); pageAsync(pageQuery: any): Promise; getAsync(obj?: any): Promise; } } declare module "sk/frame/logic/storage/module/section/SectionUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class SectionUnit extends StorageUnit { static CLASS_NAME: string; id: string; version: number; content: string; constructor(); } } declare module "sk/frame/logic/storage/module/section/SectionService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { SectionUnit } from "sk/frame/logic/storage/module/section/SectionUnit"; export class SectionService extends StorageUnitService { constructor(); } } declare module "sk/frame/logic/storage/module/structure/structure/StructureUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class StructureUnit extends StorageUnit { static CLASS_NAME: string; categoryId: string; code: string; levelCd: string; name: string; remark: string; typeId: string; version: number; constructor(); } } declare module "sk/frame/logic/storage/module/structure/structure/StructureService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { StructureStructureGetResponse } from 'sk/data/logic/module/message/StructureStructureGetResponse'; import { StructureStructurePageResponse } from 'sk/data/logic/module/message/StructureStructurePageResponse'; import { StructureUnit } from "sk/frame/logic/storage/module/structure/structure/StructureUnit"; export class StructureService extends StorageUnitService { constructor(); pageAsync(pageQuery: any): Promise; getAsync(obj?: any): Promise; } } declare module "sk/frame/logic/storage/perspective/product/show/product/ProductShowProductUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class ProductShowProductUnit extends StorageUnit { static CLASS_NAME: string; tenantId: string; libraryId: string; categoryId: string; categoryCode: string; productId: string; code: string; name: string; dataIcon: string; dataOrder: number; tags: string; features: string; permissions: string; remark: string; constructor(); } } declare module "sk/frame/logic/storage/perspective/product/show/product/PerspectiveProductShowProductService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { ProductShowProductSyncResponse } from 'sk/data/logic/perspective/message/ProductShowProductSyncResponse'; import { ProductShowProductUnit } from "sk/frame/logic/storage/perspective/product/show/product/ProductShowProductUnit"; export class PerspectiveProductShowProductService extends StorageUnitService { constructor(); syncProductShowItemAsync(query: any): Promise; } } declare module "sk/frame/logic/storage/perspective/product/show/product/ProductShowProductService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { ProductShowProductUnit } from "sk/frame/logic/storage/perspective/product/show/product/ProductShowProductUnit"; export class ProductShowProductService extends StorageUnitService { constructor(); } } declare module "sk/frame/logic/storage/resource/category/CategoryUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class CategoryUnit extends StorageUnit { static CLASS_NAME: string; id: string; parentId: string; libraryId: string; code: string; name: string; dataLevel: number; dataOrder: number; remark: string; constructor(); } } declare module "sk/frame/logic/storage/resource/category/CategoryService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { CategoryDeleteResponse } from 'sk/data/logic/resource/message/CategoryDeleteResponse'; import { CategoryGetResponse } from 'sk/data/logic/resource/message/CategoryGetResponse'; import { CategoryInsertResponse } from 'sk/data/logic/resource/message/CategoryInsertResponse'; import { CategoryTreeResponse } from 'sk/data/logic/resource/message/CategoryTreeResponse'; import { CategoryUpdateResponse } from 'sk/data/logic/resource/message/CategoryUpdateResponse'; import { CategoryUnit } from "sk/frame/logic/storage/resource/category/CategoryUnit"; export class CategoryService extends StorageUnitService { constructor(); treeAsync(pageQuery?: any): Promise; getAsync(obj?: any): Promise; insertAsync(unit: CategoryUnit): Promise; updateAsync(unit: CategoryUnit): Promise; deleteAsync(unit: CategoryUnit): Promise; } } declare module "sk/frame/logic/storage/resource/library/LibraryUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class LibraryUnit extends StorageUnit { static CLASS_NAME: string; id: string; code: string; name: string; remark: string; constructor(); } } declare module "sk/frame/logic/storage/resource/library/LibraryService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { LibraryPageResponse } from 'sk/data/logic/resource/message/LibraryPageResponse'; import { LibraryUnit } from "sk/frame/logic/storage/resource/library/LibraryUnit"; export class LibraryService extends StorageUnitService { constructor(); pageAsync(pageQuery: any): Promise; } } declare module "sk/frame/logic/storage/resource/resource/ResourceUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class ResourceUnit extends StorageUnit { static CLASS_NAME: string; id: string; lengthX: number; lengthY: number; lengthZ: number; objectVersion: number; parentId: string; libraryId: string; tenantId: string; typeId: string; code: string; name: string; remark: string; categoryId: string; constructor(); } } declare module "sk/frame/logic/storage/resource/resource/ResourceService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { ResourceDeleteResponse } from 'sk/data/logic/resource/message/ResourceDeleteResponse'; import { ResourceDownloadResponse } from 'sk/data/logic/resource/message/ResourceDownloadResponse'; import { ResourceGetInfoResponse } from 'sk/data/logic/resource/message/ResourceGetInfoResponse'; import { ResourceGetResponse } from 'sk/data/logic/resource/message/ResourceGetResponse'; import { ResourceInsertResponse } from 'sk/data/logic/resource/message/ResourceInsertResponse'; import { ResourcePageResponse } from 'sk/data/logic/resource/message/ResourcePageResponse'; import { ResourceUpdateCurveResponse } from 'sk/data/logic/resource/message/ResourceUpdateCurveResponse'; import { ResourceUpdateDrawingGraphResponse } from 'sk/data/logic/resource/message/ResourceUpdateDrawingGraphResponse'; import { ResourceUpdateDrawingTemplateResponse } from 'sk/data/logic/resource/message/ResourceUpdateDrawingTemplateResponse'; import { ResourceUpdateEffectResponse } from 'sk/data/logic/resource/message/ResourceUpdateEffectResponse'; import { ResourceUpdateFbxmodelResponse } from 'sk/data/logic/resource/message/ResourceUpdateFbxmodelResponse'; import { ResourceUpdateIesResponse } from 'sk/data/logic/resource/message/ResourceUpdateIesResponse'; import { ResourceUpdateMaterialResponse } from 'sk/data/logic/resource/message/ResourceUpdateMaterialResponse'; import { ResourceUpdateModelResponse } from 'sk/data/logic/resource/message/ResourceUpdateModelResponse'; import { ResourceUpdatePictureResponse } from 'sk/data/logic/resource/message/ResourceUpdatePictureResponse'; import { ResourceUpdateResponse } from 'sk/data/logic/resource/message/ResourceUpdateResponse'; import { ResourceUpgradeResponse } from 'sk/data/logic/resource/message/ResourceUpgradeResponse'; import { ResourceUnit } from "sk/frame/logic/storage/resource/resource/ResourceUnit"; export class ResourceService extends StorageUnitService { constructor(); pageAsync(pageQuery: any): Promise; getAsync(obj?: any): Promise; insertAsync(unit: ResourceUnit): Promise; updateAsync(unit: ResourceUnit): Promise; deleteAsync(unit: ResourceUnit): Promise; getInfoAsync(obj?: any): Promise; insertMaterialFileAsync(query: any): Promise; insertEffectFileAsync(query: any): Promise; insertModelFileAsync(query: any): Promise; updateFbxModelFileAsync(query: any): Promise; insertCurveFileAsync(query: any): Promise; insertPictureFileAsync(query: any): Promise; insertIesFileAsync(query: any): Promise; insertDrawingTemplateFileAsync(query: any): Promise; insertDrawingGraphFileAsync(query: any): Promise; upgradeAsync(categoryId?: string): Promise; downloadAsync(query: any): Promise; } } declare module "sk/frame/logic/storage/resource/resource/material/ResourceMaterialUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class ResourceMaterialUnit extends StorageUnit { static CLASS_NAME: string; libraryId: string; tenantId: string; resourceId: string; effectResourceId: string; id: string; constructor(); } } declare module "sk/frame/logic/storage/resource/resource/material/ResourceMaterialService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { ResourceMaterialDeleteResponse } from 'sk/data/logic/resource/message/ResourceMaterialDeleteResponse'; import { ResourceMaterialGetResponse } from 'sk/data/logic/resource/message/ResourceMaterialGetResponse'; import { ResourceMaterialInsertResponse } from 'sk/data/logic/resource/message/ResourceMaterialInsertResponse'; import { ResourceMaterialPageResponse } from 'sk/data/logic/resource/message/ResourceMaterialPageResponse'; import { ResourceMaterialUpdateResponse } from 'sk/data/logic/resource/message/ResourceMaterialUpdateResponse'; import { ResourceMaterialUnit } from "sk/frame/logic/storage/resource/resource/material/ResourceMaterialUnit"; export class ResourceMaterialService extends StorageUnitService { constructor(); pageAsync(pageQuery: any): Promise; getAsync(obj?: any): Promise; insertAsync(unit: ResourceMaterialUnit): Promise; updateAsync(unit: ResourceMaterialUnit): Promise; deleteAsync(unit: ResourceMaterialUnit): Promise; } } declare module "sk/frame/logic/storage/resource/resource/picture/ResourcePictureUnit" { import { StorageUnit } from 'foundation/data/common/storage/StorageUnit'; export class ResourcePictureUnit extends StorageUnit { static CLASS_NAME: string; libraryId: string; tenantId: string; resourceId: string; dataType: string; id: string; constructor(); } } declare module "sk/frame/logic/storage/resource/resource/picture/ResourcePictureService" { import { StorageUnitService } from 'foundation/data/common/storage/StorageUnitService'; import { ResourcePictureDeleteResponse } from 'sk/data/logic/resource/message/ResourcePictureDeleteResponse'; import { ResourcePictureGetResponse } from 'sk/data/logic/resource/message/ResourcePictureGetResponse'; import { ResourcePictureInsertResponse } from 'sk/data/logic/resource/message/ResourcePictureInsertResponse'; import { ResourcePicturePageResponse } from 'sk/data/logic/resource/message/ResourcePicturePageResponse'; import { ResourcePictureUpdateResponse } from 'sk/data/logic/resource/message/ResourcePictureUpdateResponse'; import { ResourcePictureUnit } from "sk/frame/logic/storage/resource/resource/picture/ResourcePictureUnit"; export class ResourcePictureService extends StorageUnitService { constructor(); pageAsync(pageQuery: any): Promise; getAsync(obj?: any): Promise; insertAsync(unit: ResourcePictureUnit): Promise; updateAsync(unit: ResourcePictureUnit): Promise; deleteAsync(unit: ResourcePictureUnit): Promise; } } declare module "sk/frame/logic/ui/SchemeControlConstants" { export class SchemeControlConstants { static TOOLBAR_WIDTH_MAX: number; } } declare module "sk/frame/logic/ui/attribute/FieldsSet" { export class FieldSet { fields: any; constructor(); setField(name: string, value: any): void; getField(name: string): any; } } declare module "sk/frame/logic/ui/attribute/AttributeCategory" { import { UiContainer, UiContainerProps } from 'foundation/editor/ui/core/UiContainer'; import { AttributeCategoryService } from "sk/frame/logic/storage/module/attribute/category/AttributeCategoryService"; export interface AttributeCategoryProps extends UiContainerProps { categoryFilter?: (code: any) => boolean | null; } export class AttributeCategory 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; protected _attributeCategoryService: AttributeCategoryService; state: { currentId: 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; searchVisible: boolean; }; constructor(props: any, context?: any); componentStatusChange(state: any, props: any): void; onMenuClick(func: any): () => void; onMenuInsert: () => void; onMenuUpdate: () => void; onMenuDelete: () => void; showInfoModal(): void; showDeleteModal(): void; hideInfoModal(): void; hideDeleteModal(): void; handlePopoverVisibleChange: (alertShow: any) => void; loadAttributeCategoryDataAsync(): Promise; 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/logic/ui/attribute/FeatureContainer" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { AttributeUnit } from "sk/frame/logic/storage/module/attribute/AttributeUnit"; import { FeatureService } from "sk/frame/logic/storage/module/feature/FeatureService"; export class FeatureContainer extends UiContainer { private referenceCd; private referenceId; private refreshCallback; private onSelectAttrubite; protected _featureService: FeatureService; state: { groups: any; }; componentStatusChange(state: any, props: any): void; componentDidMount(): void; clearGroups(groups: any[]): void; hasAttribute(attr: AttributeUnit): boolean; listAsync(): Promise; private deleteAttrAsync; onFeatureBarClick(feature: any): () => void; onGroupDelete(group: any): () => void; deleteGroupAsync(group: any, refresh?: boolean): Promise; onAttributeDelete(feature: any): () => void; private makeGroupBar; private makeFeatureBar; makeGroups(): any[]; render(): JSX.Element; } } declare module "sk/frame/logic/ui/catalog/CatalogCacheService" { import { Dictionary } from 'cross/runtime/lang/collection/Dictionary'; import { Service } from 'cross/runtime/module/Service'; import { StructureDataset } from 'foundation/data/common/structure/StructureDataset'; import { ProductShowCategoryItemPageResponseContentVo } from 'sk/data/logic/module/message/ProductShowCategoryItemPageResponse'; export class CatalogCacheService extends Service { protected _items: Dictionary>; get items(): Dictionary>; cacheCount(): number; private getKey; findItem(cacheKey: string, page?: number, pageSize?: number, familyType?: string, familyInfoId?: string): StructureDataset; cache(content: StructureDataset, cacheKey: string, page?: number, pageSize?: number, familyType?: string, familyInfoId?: string): void; removeCache(cacheKey: string, page?: number, pageSize?: number, familyType?: string, familyInfoId?: string): void; clearCache(): void; } } declare module "sk/frame/logic/ui/catalog/HierarchyPanel" { import { ResourcePictureService } from 'foundation/core/resource/ResourcePictureService'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { CatalogType } from "sk/frame/logic/ui/catalog/CatalogPanel"; export class ProductShowCard extends UiContainer { productShow: any; isProduct: boolean; afterMouseEnter: any; afterMouseLeave: any; onClick: any; protected _resourcePictureService: ResourcePictureService; constructor(props?: any, context?: any); mouseEnter: () => void; mouseLeave: () => void; render(): JSX.Element; } export class HierarchyPanel extends UiContainer { parent: any; catalogMap: Map; state: { data: any; top: number; selectedKeys: any[]; }; constructor(props?: any, context?: any); componentPropsChange(nextProps: any, nextContext: any): void; onCatalogChangeAsync(selectedKeys: string[]): Promise; makeCardList(): any[]; makeCatalogTreeNodeListLoop(catalog: CatalogType, parentCatalogKey?: string): any[]; searchByPagination: (pageNumber: number) => void; makeCatalogTree(): any[]; render(): JSX.Element; } } declare module "sk/frame/logic/ui/catalog/PopParametersForm" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { RuleDocumentService } from 'sk/data/family/rule/RuleDocumentService'; export class PopParametersForm extends UiContainer { protected _ruleDocumentService: RuleDocumentService; protected _fieldMap: Map; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; onSubmit: (e: any) => void; handleCancel: () => void; handleChangeInputValue: (event: any) => void; makeFormItems: () => any[]; render(): JSX.Element; } } declare module "sk/frame/logic/ui/catalog/ProductShowInfoPanel" { import { ResourcePictureService } from 'foundation/core/resource/ResourcePictureService'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { ProductShowCategoryItemPageResponseSymbolVo } from 'sk/data/logic/module/message/ProductShowCategoryItemPageResponse'; export class ProductShowInfoPanel extends UiContainer { parent: any; protected _resourcePictureService: ResourcePictureService; constructor(props?: any, context?: any); makeModelList(): any[]; onSymbolClick: (symbol: ProductShowCategoryItemPageResponseSymbolVo, active: boolean) => () => void; render(): JSX.Element; } } declare module "sk/frame/logic/ui/catalog/CatalogPanel" { import { Types } from 'cross/runtime/lang/collection/Types'; import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { LoginLogicService } from 'cross/data/module/logic/login/LoginLogicService'; import { LogicSessionService } from 'cross/data/module/logic/session/LogicSessionService'; import { LogicEvent } from 'foundation/core/module/logic/LogicEvent'; import { ResourcePictureService } from 'foundation/core/resource/ResourcePictureService'; import { SelectionEvent } from 'foundation/editor/base/selection/SelectionEvent'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { ISpecificationFamilyInfo } from 'sk/data/specification/base/ISpecificationFamilyInfo'; import { FamilyTypeEnum } from 'sk/data/family/enumeration/FamilyTypeEnum'; import { ProductShowCategoryItemPageResponseContentVo, ProductShowCategoryItemPageResponseSymbolVo } from 'sk/data/logic/module/message/ProductShowCategoryItemPageResponse'; import { ProductShowCategoryItemService } from "sk/frame/logic/storage/module/product/show/category/item/ProductShowCategoryItemService"; import { ProductShowCategoryService } from "sk/frame/logic/storage/module/product/show/category/ProductShowCategoryService"; import { ProductService } from "sk/frame/logic/storage/module/product/product/ProductService"; import { CategoryService } from "sk/frame/logic/design/storage/category/CategoryService"; import { MerchandiseService } from "sk/frame/logic/design/storage/merchandise/MerchandiseService"; import { CatalogCacheService } from "sk/frame/logic/ui/catalog/CatalogCacheService"; import { HierarchyPanel } from "sk/frame/logic/ui/catalog/HierarchyPanel"; export type CatalogType = { id?: string; code?: string; name?: string; ctgyName?: string; dataIcon?: string; items?: Types; children?: Types; }; export class CatalogPanel extends UiContainer { pageSize: number; total: number; private subCatalogMap; hierarchyPanel: HierarchyPanel; commodityHierarchPanel: any; parentCatalogCode: string; rootCatalogMap: Map; filterFamilyInfoId: string; protected _productShowCategoryService: ProductShowCategoryService; protected _productShowCategoryItemService: ProductShowCategoryItemService; protected _actionService: ActionService; protected _selectionService: SelectionService; protected _catalogCacheService: CatalogCacheService; protected _categoryService: CategoryService; protected _sessionService: LogicSessionService; protected _merchandiseService: MerchandiseService; protected _productService: ProductService; protected valueMap: Map; _info: ISpecificationFamilyInfo; protected readonly commodityEnable = true; protected _resourcePictureService: ResourcePictureService; protected _loginService: LoginLogicService; uiStyle: any; state: { catalogList: CatalogType[]; catalog: any; subCatalog: CatalogType; items: any; productShow: any; currentPage: number; familyTypeCode: string; familyInfoId: string; selectingVersion: boolean; lock: boolean; selectedEntity: any; showInputDlg: boolean; itemColorChange: boolean; isProduct: boolean; }; constructor(props?: any, context?: any); componentDidMount(): void; componentWillUnmount(): void; onSelectionChanged(sender: ListenerContext, event: SelectionEvent): void; onLoginSuccess(sender: ListenerContext, event: LogicEvent): void; onLogoutSuccess(sender: ListenerContext, event: LogicEvent): void; loadData: () => Promise; private loopSetCatalogMap; private findCatalogByCode; private loadCatalogDataAsync; loadProductShowPageDataAsync: (catalog: CatalogType, subCatalog: CatalogType, pageNum?: number, familyTypeCode?: string) => Promise; isCommodityCatalog(catalog: CatalogType): boolean; getCatalogId(catalog: CatalogType): string; private getCatalogChildren; private onCatalogOverAsync; private onCatalogClick; private makeCategoryList; private onProductClick; protected onSymbolClick: (symbol: any) => void; onProductShowSelect(productShow: ProductShowCategoryItemPageResponseContentVo, symbol: ProductShowCategoryItemPageResponseSymbolVo): void; onProductShowSelectAsync(productShow: ProductShowCategoryItemPageResponseContentVo, symbol: ProductShowCategoryItemPageResponseSymbolVo): Promise; hideInputDlg(parameters: any): void; private hideRuleInstanceItemElementManageModal; setInputDlgState(value: Boolean): void; private handleCancel; consturctParameters(wndName: string): void; directlyShowCatalogAsync(code: string, familyType?: FamilyTypeEnum): Promise; private onLock; getModal(): any; private onMouseLeave; render(): JSX.Element; } } declare module "sk/frame/logic/ui/catalog/dialog/AssembleRoomSetupDialog" { import { Dictionary } from 'cross/runtime/lang/collection/Dictionary'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { CalculatorService } from 'foundation/core/module/calculator/CalculatorService'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { UiFrameService } from 'sk/editor/frame/ui/UiFrameService'; import { AssembleRoomAddAction } from 'sk/editor/scheme/action/instance/pattern/AssembleRoomAddAction'; import { SchemeOpearteSetup } from "sk/frame/logic/scheme/opearte/SchemeOpearteSetup"; class OptionData { name: string; code: string; } class AssembleRoomContentOptionItem extends OptionData { valid: boolean; } class AssembleRoomInputContentOptionItem extends OptionData { value: number; } export class AssembleRoomSetupDialog extends UiContainer { action: AssembleRoomAddAction; opearteSetUp: AssembleRoomOpearteSetup; contents: Dictionary; inputContents: Dictionary; state: { contents: Dictionary; inputContents: Dictionary; }; constructor(props: any, context?: any); initContents(): void; onChange(arr: string[]): void; private onInputChange; createInputComponent(): any[]; render(): JSX.Element; } export class AssembleRoomOpearteSetup extends SchemeOpearteSetup { private isOnClicked; dataParams: any; protected static _actionService: ActionService; protected _calculatorService: CalculatorService; protected _uiFrameService: UiFrameService; protected okAsync(handle: Function): Promise; onOk(handle: Function): void; private findElementByInfoIdAsync; processAsync(): Promise>; } } declare module "sk/frame/logic/ui/catalog/dialog/BathroomSetupDialog" { import { Dictionary } from 'cross/runtime/lang/collection/Dictionary'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { BathroomAddAction } from 'sk/editor/scheme/action/instance/pattern/BathroomAddAction'; import { SchemeOpearteSetup } from "sk/frame/logic/scheme/opearte/SchemeOpearteSetup"; class OptionData { name: string; code: string; } class BathroomContentOptionItem extends OptionData { valid: boolean; } class BathroomInputContentOptionItem extends OptionData { value: number; } export class BathroomSetupDialog extends UiContainer { action: BathroomAddAction; opearteSetUp: BathroomOpearteSetup; contents: Dictionary; inputContents: Dictionary; state: { contents: Dictionary; inputContents: Dictionary; }; constructor(props: any, context?: any); initContents(): void; onChange(names: string[]): void; private onInputChange; createInputComponent(): any[]; render(): JSX.Element; } export class BathroomOpearteSetup extends SchemeOpearteSetup { private isOnClicked; dataParams: any; protected static _actionService: ActionService; protected okAsync(handle: Function): Promise; onOk(handle: Function): void; processAsync(): Promise>; } } declare module "sk/frame/logic/ui/component/UiAttributeConfigure" { import { UiDefineEditControl } from 'sk/editor/frame/ui/base/UiDefineEditControl'; export interface AttributeConfigureShowMode { show: any; showModalOnClick: any; } export class UiAttributeConfigure extends UiDefineEditControl { private editorFrame; private useModal; private configureStyle; constructor(props: any, context?: any); componentStatusChange(state: any, props: any): void; private onSelectChange; private makeSelection; private onClick; private makeButton; private makeTextArea; private onEditOk; private onEditCancel; private toLine; private getDataContext; private makeEditorModal; private makeEditor; private makeEditorContent; buildEditInput(): JSX.Element; } } declare module "sk/frame/logic/ui/component/UiAttributeFeaturesEdit" { import { Types } from 'cross/runtime/lang/collection/Types'; import { UiContainer, UiContainerProps } from 'foundation/editor/ui/core/UiContainer'; import { UiDataContext } from 'sk/editor/frame/ui/UiDataContext'; import { FeatureGroupService } from "sk/frame/logic/storage/module/feature/group/FeatureGroupService"; import { FeatureGroupUnit } from "sk/frame/logic/storage/module/feature/group/FeatureGroupUnit"; import { AttributeService } from "sk/frame/logic/storage/module/attribute/AttributeService"; import { AttributeUnit } from "sk/frame/logic/storage/module/attribute/AttributeUnit"; import { FeatureService } from "sk/frame/logic/storage/module/feature/FeatureService"; interface UiAttributeFeaturesEditProsp extends UiContainerProps { categoryFilter?: (dataUseCd: any) => boolean; attributeFilter?: (dataUseCd: any) => boolean; isEditItemCode?: boolean; visible?: boolean; data: any; } class FeatureState { visible: boolean; featureData: any; data: UiDataContext; attributeData: Types; attributeDataDic: any; selectAttribute: AttributeUnit; groupData: Types; selectGroup: FeatureGroupUnit; infoSelectData: any; attributeDic: any; } export class UiAttributeFeaturesEdit extends UiContainer { state: FeatureState; props: UiAttributeFeaturesEditProsp; private attributeCategory; private featureContainer; private groupPicker; protected _attributeService: AttributeService; protected _featureGroupService: FeatureGroupService; protected _featureService: FeatureService; statusUpdate: boolean; constructor(props: any, context?: any); componentStatusChange(state: any, props: any): void; onCategorySelectChange: (categoryItem: any) => void; private filterSpecificCodeDataAsync; loadAttributesAsync(categoryItem: any): Promise; onSelectAttrubiteCallback: (attrubiteId: any) => void; onClickAttribute(unit: AttributeUnit): () => void; makeAttributes(): JSX.Element; onFeatureRefresh: () => void; onInsertFeature: () => Promise; getAttributeAsync(attributeId: string): Promise; makeFeatureInfo(): JSX.Element; render(): JSX.Element; } } declare module "sk/frame/logic/ui/component/UiAttributeFeatures" { import { CustomizedControlNode } from 'sk/editor/frame/service/frame/node/CustomizedControlNode'; import { UiDefineEditControl } from 'sk/editor/frame/ui/base/UiDefineEditControl'; export class UiAttributeFeatures extends UiDefineEditControl { declare: CustomizedControlNode; private editorFrame; editStatusUpdate: boolean; state: { value: any; showEditor: boolean; editType: string; }; componentStatusChange(state: any, props: any): void; private onEditClose; private makeEditorModal; private makeButton; private onEditClick; private makeFeaturesView; private makeGroupBar; private makeAttributeBar; buildEditInput(): JSX.Element; } } declare module "sk/frame/logic/ui/component/UiAttributeParameters" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { UiDefineEditControl } from 'sk/editor/frame/ui/base/UiDefineEditControl'; import { AttributeCategoryService } from "sk/frame/logic/storage/business/attribute/category/AttributeCategoryService"; export class UiAttributeParameters extends UiDefineEditControl { private unitCodeList; protected _attributeCategoryService: AttributeCategoryService; constructor(props: any, context?: any); componentPropsChange(nextProps: any, nextContext: any): void; componentDidMountAsync(): Promise; private initSetState; private initSetProps; private setUnitsAsync; private updateFormData; private getSelectedUnitItem; private getUnitItems; private onChange; private onInputChange; buildEditInput(): JSX.Element; } } declare module "sk/frame/logic/ui/component/UiMeasureDimensionComponent" { import { UiContainer, UiContainerProps, UiContainerState } from 'foundation/editor/ui/core/UiContainer'; import { AttributeService } from "sk/frame/logic/storage/module/attribute/AttributeService"; export interface UiMeasureComponentProps extends UiContainerProps { declare?: any; value?: any; } export interface UiMeasureComponentState extends UiContainerState { dataSource: any; curSelctedMeasureItem?: any; isEditabled?: boolean; } export class UiMeasureDimensionComponent extends UiContainer { private unitCodeList; private declare; private value; private measureFixedList; protected _attributeService: AttributeService; private valueChange; private columns; constructor(props?: any, context?: any); componentPropsChange(nextProps: any, nextContext: any): void; private initStateSet; private initPropsSet; private initDataSet; private getUnitsAsync; private getMeatureDataAsync; private getMeasureDimensionStructureByValue; private getMeasureDimensionStructureByDeclare; private getMergeInheritFeatures; private constructorTableDataSource; private getUnitName; protected makeMeasureTablePanel(): JSX.Element; protected onRowEditStatusChange: (event: any) => void; private constructorFeaturesJson; onMeasureCorrectPanelCancel: () => void; protected onMeasureCorrectPanelOkAsync: (event: any) => Promise; private measureResultContidion; private measureResultEvaluation; addMeasureResult: () => void; loadMeasureResult(): any[]; private onClickUnitItem; protected downOptionUnitListPanel(): JSX.Element; private checkingFormulaFormat; private getFormulaNameForCode; private getFormulaNameForChinese; private onClickFormulaItem; protected downOptionListPanel(): JSX.Element; makevaluePrecisionCdOption(): JSX.Element; makeMeasureEditorPanel(): JSX.Element; render(): JSX.Element; } } declare module "sk/frame/logic/ui/component/UiSymbolFeaturesComponent" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class UiSymbolFeaturesComponent extends UiContainer { private stateValue; constructor(props?: any, context?: any); private initPropsSet; componentPropsChange(nextProps: any, nextContext: any): void; private updateSymbolData; private getSymbolDimensionStructureByValue; private makeSymbolTable; private specSymbol; render(): JSX.Element; } } declare module "sk/frame/logic/ui/component/UiValuationFeaturesComponent" { import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class UiValuationFeaturesComponent extends UiContainer { private stateValue; constructor(props?: any, context?: any); private initPropsSet; componentPropsChange(nextProps: any, nextContext: any): void; private getSymbolDimensionStructureByValue; private makeValuationTable; private specSymbol; private onUnitPriceChange; private onCoefficientChange; private updateFeatureValues; render(): JSX.Element; } } declare module "sk/frame/logic/ui/component/UiMeatureFeaturesComponent" { import { UiPropertyGridComponent } from 'sk/editor/frame/ui/component/UiPropertyGridComponent'; export class UiMeatureFeaturesComponent extends UiPropertyGridComponent { protected _showMeaureDimension: boolean; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; private initStateSet; private initPropsSet; private initDataSet; private makeMeasureDimensionTable; private makeSymbolTable; makeDefineComponent(): JSX.Element; } } declare module "sk/frame/logic/ui/component/UiSlidingDoorLayoutPreviewComponent" { import { UiSafeContainer, UiSafeContainerProps, UiSafeContainerState } from 'foundation/editor/ui/core/UiSafeContainer'; import { SlidingDoorLayoutData } from 'sk/rule/data/rule/slidingdoor/SlidingDoorLayoutPreviewBuilder'; export interface UiSlidingDoorLayoutPreviewComponentProps extends UiSafeContainerProps { layoutData: SlidingDoorLayoutData; onClick?: Function; } export interface UiSlidingDoorLayoutPreviewComponentState extends UiSafeContainerState { url: string; } export class UiSlidingDoorLayoutPreviewComponent extends UiSafeContainer { constructor(props?: UiSlidingDoorLayoutPreviewComponentProps, context?: any); componentDidMount(): void; componentDidUpdate(prevProps: UiSlidingDoorLayoutPreviewComponentProps, prevState: UiSlidingDoorLayoutPreviewComponentState, snapshot: any): void; buildLayoutPreviewAsync(lauoutData: SlidingDoorLayoutData): Promise; onClick: () => void; render(): JSX.Element; } } declare module "sk/frame/logic/ui/debug/UiDebugCategoryPanel" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { PluginService } from 'cross/runtime/framework/plugin/PluginService'; import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { SelectionEvent } from 'foundation/editor/base/selection/SelectionEvent'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { UiContainerProps, UiContainerState } from 'foundation/editor/ui/core/UiContainer'; import { UiOptionContainer } from 'foundation/editor/ui/core/UiOptionContainer'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { Canvas } from 'foundation/editor/view/base/Canvas'; import { Display } from 'foundation/editor/view/base/Display'; import { NestElement } from 'sk/data/family/element/base/NestElement'; import { FamilyDocumentService } from 'sk/data/family/service/FamilyDocumentService'; import { SchemeTechnologyDocument } from "sk/frame/logic/technology/SchemeTechnologyDocument"; export interface UiDebugCategoryPanelProps extends UiContainerProps { view: Canvas; document: any; } export interface UiDebugCategoryPanelState extends UiContainerState { visible: boolean; canvas: any; statusOpened: boolean; selectObject: any; } export class UiDebugCategoryPanel

extends UiOptionContainer { expandKeys: string[]; allExpandKeys: string[]; private changeByTree; resizableRef: any; private static nowIndex; protected technologyDocument: SchemeTechnologyDocument; protected _pluginService: PluginService; protected _selectionService: SelectionService; protected _actionService: ActionService; protected _familyDocumentService: FamilyDocumentService; constructor(props?: P, context?: any); UNSAFE_componentWillMount(): void; componentWillUnmount(): void; onSelectionChangedAsync(sender: ListenerContext, event: SelectionEvent): Promise; private setExpandKeysBySelectObject; private setExpandKeysByStructSelectObject; handleSelectRenderObject: (selectObject: any) => Promise; private setExpandKeysByRenderSelectObject; private onSelect; onSelectElement: (element: NestElement) => void; onSelectNode: (node: DataNode) => void; onSelectDisplay: (display: Display) => void; onSelectStage: (stage: SkNative.FStageObject) => void; onSelectRender: (render: SkNative.FErpsRenderObject) => void; makeTabItems(): any; render(): JSX.Element; } } declare module "sk/frame/logic/ui/debug/UiSchemePropertyPanel" { import { ThreadService } from 'cross/runtime/module/thread/ThreadService'; import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { Canvas } from 'foundation/editor/view/base/Canvas'; import { FamilyBaseBlueprintNode } from 'sk/data/family/model/FamilyBaseBlueprintNode'; import { UiPropertyTabPanel, UiPropertyTabPanelProps, UiPropertyTabPanelState } from 'sk/editor/view/ui/UiPropertyTabPanel'; import { CanvasViewComponent } from "sk/frame/logic/editor/component/CanvasViewComponent"; export interface UiSchemePropertyPanelProps extends UiPropertyTabPanelProps { view: Canvas; } export interface UiSchemePropertyPanelState extends UiPropertyTabPanelState { } export class UiSchemePropertyPanel extends UiPropertyTabPanel { expandKeys: string[]; allExpandKeys: string[]; private identifys; private bomInfo; protected _view3dComponent: CanvasViewComponent; private _thread; protected _threadService: ThreadService; private totalInfo; private totalFuncitons; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; renderStatus: (props: any) => () => Promise; onContentPanelRef: (value: any) => void; protected onInputChange(stateName: string): any; protected onInputConfirm(paramName: string, stateName: string): any; protected makeInput(paramName: string, stateName: string): JSX.Element; makeBlueprintNode(blueprint: FamilyBaseBlueprintNode, expandKeys: string[], allExpandKeys: string[]): any; private buildListData; private getIdentifyCode; private buildMapData; private isEqual; private getMapByInfo; private computeMap; private buildListAndMapData; private onLoadDocumentAsync; private makeTreeNode; makeNode(node: DataNode, expandKeys: string[], allExpandKeys: string[]): any; onResize: () => void; style: any; makeProperty(document: any): any; makeProperty2(document: any): any; makeProperty3(_this: any): any; private calculateSize; private calculateSize2; makeProperty4(_this: any): any; render(): JSX.Element; } } declare module "sk/frame/logic/ui/debug/UiDebugModal" { import * as React from 'react'; import { DataDocument } from 'foundation/data/common/model/DataDocument'; import { UiSafeContainer, UiSafeContainerProps, UiSafeContainerState } from 'foundation/editor/ui/core/UiSafeContainer'; import { Canvas } from 'foundation/editor/view/base/Canvas'; export interface UiDebugModalProps extends UiSafeContainerProps { title: string; onConcel: any; onOk: any; view?: Canvas; document?: DataDocument; } export interface UiDebugModalState extends UiSafeContainerState { } export class UiDebugModal extends UiSafeContainer { constructor(props?: any, context?: any); static getDerivedStateFromProps(nextProps: any, prevState: any): any; onOk: (e: React.MouseEvent) => Promise; onConcel: (e: React.MouseEvent) => void; makeContent(): JSX.Element; render(): JSX.Element; } } declare module "sk/frame/logic/ui/document/DocumentTree" { import { UiSafeContainer, UiSafeContainerProps, UiSafeContainerState } from 'foundation/editor/ui/core/UiSafeContainer'; import { ArticleService } from "sk/frame/logic/helper/ArticleService"; export interface DocumentTreeProps extends UiSafeContainerProps { content: any; onClickArticle: any; } export interface DocumentTreeState extends UiSafeContainerState { artTree: any; selectMenu: Array; } export class DocumentTree extends UiSafeContainer { protected _articleService: ArticleService; constructor(props: any, context?: any); static getDerivedStateFromProps(nextProps: any, prevState: any): any; onMenuClick: (event: any) => void; loopMenu(list: any, level: number): any[]; render(): JSX.Element; } } declare module "sk/frame/logic/ui/document/DocumentPage" { import { EnvironmentService } from 'cross/runtime/module/environment/EnvironmentService'; import { UiSafeContainer, UiSafeContainerProps, UiSafeContainerState } from 'foundation/editor/ui/core/UiSafeContainer'; import { ArticleService } from "sk/frame/logic/helper/ArticleService"; export interface DocumentPageProps extends UiSafeContainerProps { } export interface DocumentPageState extends UiSafeContainerState { path: string; name: string; edit: boolean; source: any; dir: any; art: any; html: any; treeWidth: number; } export class DocumentPage extends UiSafeContainer { document: any; viewer: any; editor: any; private markedHtml; multiKey: any; protected _articleService: ArticleService; protected _environmentService: EnvironmentService; constructor(props: any, context?: any); loadCatalogAsync(): Promise; componentDidMount(): void; protected onGetPdf: () => void; protected openDownloadDialog(url: string, saveName?: any): void; onClickArticle: (key: string, artNode: any) => void; getExt(path: string): string; loadArticle(artNode: any): void; private modifyMDAddress; private onSplitResize; render(): JSX.Element; } } declare module "sk/frame/logic/ui/modal/ClearRoomModal" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; import { ActionService } from 'foundation/editor/view/action/ActionService'; export class ClearRoomModal extends UiContainer { private canvas; protected _actionService: ActionService; private selectRoomId; private imageTool; protected _selectionService: SelectionService; private selectRoom; private modalType; constructor(props?: any, context?: any); openClearRoomModal(type: string): void; private roomClearModalHandleCancel; private roomClearModalHandleOK; private deleteBathroom; private deleteAssembleRoom; private delateCornice; private delateBaseboard; private onCanvasClick; render(): JSX.Element; } } declare module "sk/frame/logic/ui/modal/PluginManageModel" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { PluginManageService } from 'foundation/editor/base/service/plugin/PluginManageService'; import { UiContainer, UiContainerProps, UiContainerState } from 'foundation/editor/ui/core/UiContainer'; import { UiDesktopService } from 'foundation/editor/ui/desktop/UiDesktopService'; export interface PluginManageProps extends UiContainerProps { visible: boolean; onClose: any; } export interface PluginManageState extends UiContainerState { versions: Array; selectPlugin: string; selectVersion: string; versionLoading: boolean; } export class PluginManageModel

extends UiContainer { props: PluginManageProps; state: PluginManageState; private pluginsData; protected _pluginManageService: PluginManageService; protected _desktopService: UiDesktopService; constructor(props?: any, context?: any); private loadPluginList; componentDidMountAsync(): Promise; private onConfirm; private onCancel; private onPluginClick; private onSelectPluginAsync; private makePluginList; private onVersionChange; private makeVersionList; render(): JSX.Element; } } declare module "sk/frame/logic/ui/modal/ValidationResultComponent" { import { Types } from 'cross/runtime/lang/collection/Types'; import { ValidateMessage } from 'foundation/core/module/validate/ValidateMessage'; import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class ValidationResultComponent extends UiContainer { protected _selectionService: SelectionService; state: { messages: Types; selectMessage: ValidateMessage; }; componentPropsChange(nextProps: any, nextContext: any): void; checkContent(message: ValidateMessage): void; makeValidateMessage(message: ValidateMessage, idx: number): JSX.Element; makeMessageList(): any[]; render(): JSX.Element; } } declare module "sk/frame/logic/ui/modal/SchemeModalUtil" { import { ValidateProcessor } from 'foundation/core/module/validate/ValidateProcessor'; export class SchemeModalUtil { static modalInstance: any; static hideValidationResult(): void; static showValidationResult(processor: ValidateProcessor): void; } } declare module "sk/frame/logic/ui/modal/SchemeValidationModal" { import { Types } from 'cross/runtime/lang/collection/Types'; import { ResultInfo } from 'cross/runtime/lang/ResultInfo'; import { UiContainer } from 'foundation/editor/ui/core/UiContainer'; export class SchemeValidationModal extends UiContainer { style: { ul: { width: string; }; content: { width: string; margin: string; minHeight: string; maxHeight: string; overflow: string; border: string; }; }; state: { message: any; }; messages: Types; messageKey: number; constructor(props: any, context?: any); componentPropsChange(nextProps: any, nextContext: any): void; buildMessageButton(message: ResultInfo): JSX.Element; makeMessageList(): any[]; handleOk: () => void; handleCancel: () => void; makeStackList(): any[]; render(): JSX.Element; } } declare module "sk/frame/logic/ui/toolbar/component/ToolbarSegment" { import { UiOptionContainer, UiOptionContainerProps, UiOptionContainerState } from 'foundation/editor/ui/core/UiOptionContainer'; export interface ToolbarSegmentProps extends UiOptionContainerProps { splitter?: boolean; } export interface ToolbarSegmentState extends UiOptionContainerState { splitter: boolean; } export class ToolbarSegment

extends UiOptionContainer { state: ToolbarSegmentState; constructor(props?: any, context?: any); componentStatusChange(state: any, props: any): void; makeSplitter(): JSX.Element; } } declare module "sk/frame/logic/ui/toolbar/ToolbarOperate" { import { SelectionService } from 'foundation/editor/base/selection/SelectionService'; import { ActionService } from 'foundation/editor/view/action/ActionService'; import { SchemeDocument } from 'sk/data/scheme/model/SchemeDocument'; import { ToolbarSegment, ToolbarSegmentState } from "sk/frame/logic/ui/toolbar/component/ToolbarSegment"; export interface ToolbarOperateState extends ToolbarSegmentState { modeCd: string; } export class ToolbarOperate extends ToolbarSegment { state: ToolbarOperateState; protected _document: SchemeDocument; protected _actionService: ActionService; protected _selectionService: SelectionService; constructor(props: any, context?: any); handleOperateClick(operateCd: string): (event: any) => void; render(): JSX.Element; } } declare module "sk/frame/logic/util/FrameLogicViewUtil" { import { DataNode } from 'foundation/data/common/model/base/DataNode'; import { EditorStack } from 'foundation/editor/view/stack/EditorStack'; export class FrameLogicViewUtil { static openPluginEditorByCode(code: string, selects?: DataNode | DataNode[], params?: any): void; static openEditorByStack(stack: EditorStack): void; } }