;
selectedKeys: string[];
expandedKeys: string[];
autoExpandParent: boolean;
}
export class FamilyElementTree extends UiContainer
{
protected _defaultExpandedKeys: Types;
protected _treeNodes: any;
constructor(props?: any, context?: any);
componentPropsChange(nextProps: FamilyElementTreeProps, nextContext: any): void;
changeDisplay: (element: any) => (e: any) => void;
makeEyeUICom(element: any): JSX.Element;
makePopover(content: any, element: Element, typeNode: TreeNodeTypeNode): any;
makeTreeNodeTitle(element: any, nodeType: TreeNodeTypeNode): Array;
private getElementTreeNodeType;
protected makeElementTreeNode(element: any): JSX.Element;
makeFamilyStructureTreeNode(structure: FamilyStructure, expandedKeys: Types): any;
protected makeStructureManager(structureManager: FamilyStructureManager): JSX.Element;
makeDocumentTitle(document: FamilyDocument): JSX.Element;
protected makeChildNodes(elemParent: any): any;
protected makeNodes(): any;
protected onSelect: (selectedKeys: string[], e: any) => void;
protected onExpand: (expandedKeys: any) => void;
protected onRightClick: ({ event, node }: {
event: any;
node: any;
}) => void;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/panel/FamilyCategoryTabPanel" {
import { UiCategoryTabPanel } from 'sk/editor/view/ui/UiCategoryTabPanel';
import { FamilyElementTree } from "sk/frame/logic/family/family/ui/panel/FamilyElementTree";
export class FamilyCategoryTabPanel extends UiCategoryTabPanel {
protected _uiElemTree: FamilyElementTree;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/space/SpaceButton" {
import { UiContainer, UiContainerState } from 'foundation/editor/ui/core/UiContainer';
export interface SpaceButtonState extends UiContainerState {
spaceClick: boolean;
value: string;
}
export class SpaceButton extends UiContainer {
state: SpaceButtonState;
constructor(props?: any, context?: any);
componentDidMount(): void;
componentWillUnmount(): void;
private onSpaceCompute;
handleSpaceModeClick: (event: any) => void;
protected onDepthClick: (depth: number | string) => () => void;
makeSpaceDepthComponent(): JSX.Element;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/panel/View3DPanel" {
import { Listeners } from 'cross/runtime/lang/Listeners';
import { MoldingVisionEnum } from 'foundation/data/common/enumeration/MoldingVisionEnum';
import { UiPanel } from 'foundation/editor/ui/container/UiPanel';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { ComponentLogicService } from 'sk/data/family/service/ComponentLogicService';
export class View3DPanel extends UiPanel {
state: {
groups: any[];
modeStatus: boolean;
viewStatus: boolean;
observerMode: string;
observerType: string;
};
selectComponent: any;
lsnsSelectChange: Listeners;
private isOrthogonal;
protected _componentService: ComponentLogicService;
protected _actionService: ActionService;
protected _canvasId: string;
protected _schemeView: any;
constructor(props?: any, context?: any);
componentSort(value1: any, value2: any): void;
UNSAFE_componentWillMount(): void;
componentDidMount(): void;
onCanvasViewChange(id: string, modeCd: any, typeCd: any): any;
onChangeDrawMode: (id: string, modeCd: MoldingVisionEnum) => () => void;
private resetView;
private setView;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/components/RelativePosPanel" {
import { TypeMap } from 'cross/runtime/lang/collection/TypeMap';
import { ListenerContext } from 'cross/runtime/lang/ListenerContext';
import { DataNodeFlagEvent } from 'foundation/data/common/model/base/DataNodeFlagEvent';
import { UiContainer, UiContainerProps, UiContainerState } from 'foundation/editor/ui/core/UiContainer';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { PlaneNode } from 'sk/data/family/model/instance/PlaneNode';
import { HardwareEntity } from 'sk/editor/logic/entity/HardwareEntity';
import { Location } from "sk/frame/logic/family/family/helper/Location";
export interface StructurePropertyTabPanelProps extends UiContainerProps {
}
export class DirectionEnum {
static X: string;
static Y: string;
static Z: string;
}
export interface RelativePosPanelState extends UiContainerState {
fieldsValue: TypeMap;
}
export class RelativePosPanel extends UiContainer {
protected _actionService: ActionService;
protected _selectEntity: HardwareEntity;
protected _location: Location;
protected _planks: PlaneNode[];
protected onChangeCallBack: Function;
protected directions: DirectionEnum[];
protected isSpace: boolean;
componentPropsChange(nextProps: any, nextContext: any): void;
UNSAFE_componentWillMount(): void;
onEntityDirty(sender: ListenerContext, event: DataNodeFlagEvent): void;
computeRalationPosition(): void;
protected executePropertyChangeActionEvent(fieldName: string, value: any): void;
protected onRelativeValueConfirm: (event: any) => void;
protected onSliderValueAfterChange: (fieldValue: any, fieldName: string) => void;
protected onRelativeValueChange: (event: any) => void;
protected onSliderValueChange: (fieldValue: any, fieldName: string) => void;
protected getFieldShowValue(name: string): any;
makeRelativeSpaceInfoComponent(fieldName: string, label: string, minValue: number, maxValue: number): JSX.Element;
protected makePositionInfoComponent(): Array;
protected makeSimplePositionInfoComponent(direction: DirectionEnum): JSX.Element;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/property/DressingMirrorProperty" {
import { TypeMap } from 'cross/runtime/lang/collection/TypeMap';
import { ListenerContext } from 'cross/runtime/lang/ListenerContext';
import { DataNodeFlagEvent } from 'foundation/data/common/model/base/DataNodeFlagEvent';
import { SelectionService } from 'foundation/editor/base/selection/SelectionService';
import { UiContainer, UiContainerState } from 'foundation/editor/ui/core/UiContainer';
import { UiControlService } from 'foundation/editor/ui/UiControlService';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { FamilyInstanceElement } from 'sk/data/family/element/instance/FamilyInstanceElement';
import { FamilyInstanceNode } from 'sk/data/family/model/instance/FamilyInstanceNode';
import { SchemeLibraryFamilyDocumentService } from 'sk/data/scheme/config/SchemeLibraryFamilyDocumentService';
import { LogicSelectionService } from 'sk/editor/scheme/furniture/core/LogicSelectionService';
export interface DressingMirrorPropertyState extends UiContainerState {
entity: FamilyInstanceNode;
element: FamilyInstanceElement;
code: string;
fieldsValue: TypeMap;
}
export class DressingMirrorProperty extends UiContainer {
protected _selectEntity: FamilyInstanceNode;
state: DressingMirrorPropertyState;
protected _selectionService: SelectionService;
protected _actionService: ActionService;
protected _logicSelectionService: LogicSelectionService;
protected _controlService: UiControlService;
protected _schemeLibraryFamilyDocumentService: SchemeLibraryFamilyDocumentService;
private loadFamilyDocumentAsync;
componentPropsChange(nextProps: any, nextContext: any): void;
UNSAFE_componentWillMount(): void;
componentWillUnmount(): void;
onEntityDirty(sender: ListenerContext, event: DataNodeFlagEvent): void;
protected executePropertyChangeActionEvent(fieldName: string, value: any): void;
protected onSliderValueChange: (value: any, name: string) => void;
protected onSliderValueAfterChange(value: any, name: string): void;
protected onInputValueChange: (event: any) => void;
protected onInputValueConfirm: (event: any) => void;
private getFieldShowValue;
private makeGeometryInfoComponent;
onChangeFrontOrBack(isFront: boolean): any;
calculateParams(): void;
renderInfoTabElement(): JSX.Element;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/components/DecorateSelectionComponent" {
import { BrepNode } from 'foundation/data/common/model/brep/BrepNode';
import { UiComponent, UiComponentProps, UiComponentState } from 'foundation/editor/ui/core/UiComponent';
import { DecorateBindTypeEnum } from 'sk/data/family/enumeration/DecorateBindTypeEnum';
export type DecorateStructure = {
id: string;
code: string;
name: string;
nodes?: Array;
linkCd: DecorateBindTypeEnum;
list: Array;
select: string;
};
export type DecorateItemStructure = {
name: string;
linkId: string;
referenceInfoId: string;
previewUrl: string;
};
export type DecorateSelectGroupInfo = {
optGroups: Array;
defaultItem: DecorateItemStructure;
};
export type SelectedDecorateInfo = {
selectedDecorate: DecorateStructure;
selectedDecorateItem: DecorateItemStructure;
};
export class DecorateItemSelectProps implements UiComponentProps {
identity?: string;
configIds: Array;
entity?: BrepNode;
label?: string;
onChange?: any;
}
export class DecorateItemSelectState implements UiComponentState {
decorates: Array;
selectedDecorate: DecorateStructure;
selectedDecorateItem: DecorateItemStructure;
}
export class DecorateSelectionComponent extends UiComponent
{
_entity: BrepNode;
state: DecorateItemSelectState;
props: DecorateItemSelectProps;
constructor(props: any, context?: any);
componentPropsChange(nextProps: any, nextContext: any): void;
private fetchDecorates;
private fetchDecorateByConfigIdAsync;
private makeCardItem;
private makeDecorateSelectOptionGroup;
private getSelectedDecorateInfo;
private onDecorateItemChange;
makeDecorateSelectComponent(): JSX.Element;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/components/HandshandlePanel" {
import { TypeMap } from 'cross/runtime/lang/collection/TypeMap';
import { ResultObject } from 'cross/runtime/lang/ResultObject';
import { UiContainer, UiContainerProps, UiContainerState } from 'foundation/editor/ui/core/UiContainer';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { RuleParameter } from 'sk/data/family/element/config/rule/RuleValueStructureUtil';
import { RuleTypeItemElement } from 'sk/data/family/rule/element/instance/RuleTypeItemElement';
import { FamilyInstanceElement } from 'sk/data/family/element/instance/FamilyInstanceElement';
import { FamilyInstanceNode } from 'sk/data/family/model/instance/FamilyInstanceNode';
import { DecorateStructure, DecorateItemStructure } from "sk/frame/logic/family/family/ui/components/DecorateSelectionComponent";
export interface HandshandleProps extends UiContainerProps {
}
export interface HandshandleState extends UiContainerState {
element: FamilyInstanceElement;
code: string;
ruleTypeId: string;
parameterMaps: TypeMap;
registerPatamters: TypeMap;
isLoadFinish: boolean;
}
export class HandshandlePanel extends UiContainer {
protected _selectEntity: FamilyInstanceNode;
protected _actionService: ActionService;
componentPropsChange(nextProps: any, nextContext: any): void;
UNSAFE_componentWillMount(): void;
private updateEntity;
loadParametersAsync(): Promise;
loadRuleParameters(ruleItem: RuleTypeItemElement): void;
onPlaceButtonClick(value: any): any;
placeTypeButton(): JSX.Element;
onRuleInputValueChanged: (code: string, value: any) => void;
onRuleInputValueConfirm: (code: string, value: any) => void;
renderRotation(property: "rotationX" | "rotationY" | "rotationZ"): JSX.Element;
makeComponent(code: string, label: string, value: number, minValue: number, maxValue: number): JSX.Element;
onFamilyChange: (selectedDecorate: DecorateStructure, selectedDecorateItem: DecorateItemStructure) => void;
makeParametersList(): any;
protected getParametersMapsValue(maps: any, code: string): any;
protected handShandleExist(): boolean;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/property/ChestLogic" {
import { Matrix4 } from 'foundation/runtime/math/Matrix4';
import { Vector2 } from 'foundation/runtime/math/Vector2';
import { ContentNode } from 'foundation/data/common/model/brep/ContentNode';
import { AssemblyNode } from 'sk/data/family/model/instance/AssemblyNode';
import { AssemblyPlaneNode } from 'sk/data/family/model/instance/AssemblyPlaneNode';
import { AroundPlankInfo } from 'sk/data/scheme/database/floorplan/model/util/ChestNodeData';
import { PlankNode } from 'sk/data/scheme/database/furniture/model/PlankNode';
export enum CoverType {
Up = 0,
Down = 1,
Left = 2,
Right = 3
}
export class ChestLogic {
private entityroundPlanksCache;
constructor();
init(): void;
findCoverPlanks(entity: AssemblyNode | AssemblyPlaneNode): AroundPlankInfo[];
protected computePlanksNearest(observeMatrix: Matrix4, planks: PlankNode[]): PlankNode;
protected linePolygonIntersection(from: Vector2, to: Vector2, polygon: Vector2[]): Vector2[];
protected isPointOnPolyline(point: Vector2, polyline: Vector2[], tolerance?: number): boolean;
protected edgePolygonIntersection(from: Vector2, to: Vector2, polygon: Vector2[]): Vector2[];
protected computeNodeProjectionPoints(node: ContentNode, observeMatrix: Matrix4): Vector2[];
protected computeOrthogonalNodeLocalFrontPoints(node: ContentNode): Vector2[];
clear(): void;
}
}
declare module "sk/frame/logic/family/family/ui/property/PlankDoorPropertyTabPanel" {
import { RadioChangeEvent } from 'antd/lib/radio';
import { TypeMap } from 'cross/runtime/lang/collection/TypeMap';
import { ListenerContext } from 'cross/runtime/lang/ListenerContext';
import { ResultObject } from 'cross/runtime/lang/ResultObject';
import { DataNodeFlagEvent } from 'foundation/data/common/model/base/DataNodeFlagEvent';
import { UiContainer, UiContainerProps, UiContainerState } from 'foundation/editor/ui/core/UiContainer';
import { ActionResult } from 'foundation/editor/view/action/ActionResult';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { DriftRateStructure } from 'sk/data/family/database/furniture/element/doorplank/DriftRateStructure';
import { EdgeCoverTypeEnum } from 'sk/data/family/database/furniture/enumeration/EdgeCoverTypeEnum';
import { RuleParameter } from 'sk/data/family/element/config/rule/RuleValueStructureUtil';
import { RuleTypeItemElement } from 'sk/data/family/rule/element/instance/RuleTypeItemElement';
import { ComponentElement } from 'sk/data/family/element/component/ComponentElement';
import { FamilyInstanceElement } from 'sk/data/family/element/instance/FamilyInstanceElement';
import { AssemblyNode } from 'sk/data/family/model/instance/AssemblyNode';
import { FamilyInstanceNode } from 'sk/data/family/model/instance/FamilyInstanceNode';
import { PlaneNode } from 'sk/data/family/model/instance/PlaneNode';
import { DoorPlankEdgeCdEnum } from 'sk/data/family/enumeration/DoorPlankEdgeCdEnum';
import { PlankElement } from 'sk/data/scheme/database/furniture/element/PlankElement';
import { SchemeConfigService } from 'sk/data/scheme/config/SchemeConfigService';
import { SchemeLibraryFamilyDocumentService } from 'sk/data/scheme/config/SchemeLibraryFamilyDocumentService';
export class FamilyConfigureOption {
configId: string;
configCode: string;
configName: string;
optionId: string;
optionCode: string;
optionName: string;
optionDefault: boolean;
}
export interface StructurePropertyTabPanelProps extends UiContainerProps {
}
export interface StructurePropertyTabPanelState extends UiContainerState {
fieldsValue: TypeMap;
element: FamilyInstanceElement;
code: string;
ruleTypeId: string;
parameters: Array;
placeType: any;
registerPatamters: TypeMap;
isLoadDocument: boolean;
}
export class PlankDoorPropertyTabPanel extends UiContainer {
protected _selectEntity: FamilyInstanceNode;
protected _selectRootEntity: FamilyInstanceNode;
private _familyDocument;
protected _actionService: ActionService;
protected _schemeLibraryFamilyDocumentService: SchemeLibraryFamilyDocumentService;
protected _schemeConfigService: SchemeConfigService;
private _chestLogic;
private _isDoorComposite;
private _curDoorIndex;
constructor(props: any, context?: any);
componentPropsChange(nextProps: any, nextContext: any): void;
UNSAFE_componentWillMount(): void;
loadParametersAsync(): Promise;
loadRuleParametersAsync(ruleItem: RuleTypeItemElement): Promise;
componentWillUnmount(): void;
onEntityDirty(sender: ListenerContext, event: DataNodeFlagEvent): void;
private loadFamilyDocumentAsync;
private getFieldShowValue;
private setCoverName;
renderSelectDoorComposite(): JSX.Element;
onSelectDoor: (e: RadioChangeEvent) => void;
renderEmbedTab(): JSX.Element;
private onSelectDirChange;
private onSelectEmbedChange;
private setPlankEmbed;
renderCoverTab(): JSX.Element;
private createCoverElement;
protected getPlankCoverEnum(plankelement: PlankElement, property: string): EdgeCoverTypeEnum;
protected getEntityCoverEnum(entity: AssemblyNode, property: string): EdgeCoverTypeEnum;
protected getEntityCoverValue(entity: AssemblyNode, property: string): number;
protected renderPlankCoverUI(index: number, fieldName: string, text: string, bordervalue: number, coverenum: EdgeCoverTypeEnum): JSX.Element;
onCoverValueChange: (event: any) => void;
onCoverValueConfirmAsync: (event: any) => Promise;
getDriftRateStructure(element: ComponentElement, borderCd: DoorPlankEdgeCdEnum): DriftRateStructure;
getChoosePlank(entity: AssemblyNode, property: string): PlaneNode;
onCoverSelectChange: (value: string) => Promise;
private getCoverValueFromCoverType;
protected executeCoverChangeActionAsync(entity: AssemblyNode, property: string, value: number, coverenum: EdgeCoverTypeEnum): Promise;
handleProperty(): JSX.Element;
private renderDirComponent;
private findDoorPlank;
renderPropertyTabElement(): JSX.Element;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/components/BaseInfoPropertyComponent" {
import { UiComponent, UiComponentProps } from 'foundation/editor/ui/core/UiComponent';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { FamilyInstanceNode } from 'sk/data/family/model/instance/FamilyInstanceNode';
export class BaseInfoPropertyProps implements UiComponentProps {
identity?: string;
onConfirm: Function;
}
export class BaseInfoPropertyComponent extends UiComponent {
state: {
fieldsValue: Map;
};
protected _actionService: ActionService;
protected _entity: FamilyInstanceNode;
componentPropsChange(nextProps: any, nextContext: any): void;
private clear;
protected getFieldValue(name: string): any;
protected onInputConfirm: (event: any) => void;
protected onInputChange: (event: any) => void;
protected onOptionChange: (event: any) => void;
makeBaseInfoComponent(label: string, inputFieldName: string, disabled?: boolean): JSX.Element;
makeOptionComponent(name: string, label: string, disabled?: boolean): JSX.Element;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/components/FormulaPropertyComponent" {
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { FamilyInstanceElement } from 'sk/data/family/element/instance/FamilyInstanceElement';
import { SchemeDocumentService } from 'sk/data/scheme/service/SchemeDocumentService';
export class FormulaPropertyComponent extends UiContainer {
element: FamilyInstanceElement;
protected _schemeDocumentService: SchemeDocumentService;
componentPropsChange(nextProps: any, nextContext: any): void;
onChange: (propertyName: string, enter?: boolean) => (event: any) => void;
onDebugClick: (event: any) => void;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/components/RemarkPropertyComponent" {
import { UiComponent, UiComponentProps } from 'foundation/editor/ui/core/UiComponent';
import { ActionService } from 'foundation/editor/view/action/ActionService';
export class RemarkPropertyProps implements UiComponentProps {
identity?: string;
onConfirm: Function;
}
export class RemarkPropertyComponent extends UiComponent {
protected _actionService: ActionService;
private _entity;
state: {
value: any;
};
componentPropsChange(nextProps: any, nextContext: any): void;
private clear;
protected onInputChange: (event: any) => void;
protected onInputConfirm: (event: any) => void;
protected getShowValue(): string;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/components/GeometricPropertyComponent" {
import { UiComponent, UiComponentProps } from 'foundation/editor/ui/core/UiComponent';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { FamilyInstanceNode } from 'sk/data/family/model/instance/FamilyInstanceNode';
import { SchemeDocumentService } from 'sk/data/scheme/service/SchemeDocumentService';
export class GeometricPropertyComponentProps implements UiComponentProps {
entity: FamilyInstanceNode;
name: string;
getOriginalField?: Function;
label: string;
labelAlign: string;
minValue: number;
maxValue: number;
optionLock: boolean;
showLock: boolean;
identity?: string;
customField?: false;
customValue?: string;
onConfirm?: Function;
onChange?: Function;
reverse?: boolean;
}
export class GeometricPropertyComponent extends UiComponent {
protected _schemeDocumentService: SchemeDocumentService;
protected _actionService: ActionService;
private _entity;
state: {
value: any;
};
componentPropsChange(props: any, nextContext: any): void;
protected executeEvent(name: string, value: any): void;
protected getFieldShowValue(name: string): number;
protected onInputValueChange: (event: any) => void;
protected onInputValueConfirm: (event: any) => void;
protected onSliderValueChange: (value: any) => void;
protected onSliderValueAfterChange(value: any, name: string): void;
protected getOptionLock(): boolean;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/components/PositionPropertyComponent" {
import { Vector3 } from 'foundation/runtime/math/Vector3';
import { UiComponent, UiComponentProps } from 'foundation/editor/ui/core/UiComponent';
export class PositionPropertyProps implements UiComponentProps {
identity?: string;
maxPosition?: number;
}
export class PositionPropertyComponent extends UiComponent {
private _entity;
protected readonly _minPosition = -10000;
protected readonly _maxPosition = 10000;
state: {
position: Vector3;
expanded: boolean;
};
componentPropsChange(nextProps: any, nextContext: any): void;
private init;
private clear;
private onExpand;
private onChange;
private getPositionShowValue;
private makePositionPanel;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/components/SizePropertyComponent" {
import { Vector3 } from 'foundation/runtime/math/Vector3';
import { UiComponent, UiComponentProps } from 'foundation/editor/ui/core/UiComponent';
export type SizeLabel = {
x: string;
y: string;
z: string;
};
export class SizePropertyComponentProps implements UiComponentProps {
identity?: string;
sizeLabel: SizeLabel;
maxLengthX: number;
maxLengthY: number;
showLock: boolean;
}
export class SizePropertyComponent extends UiComponent {
private _entity;
private _element;
protected readonly _minLength = 1;
protected readonly _maxLength = 10000;
state: {
size: Vector3;
expanded: boolean;
};
componentPropsChange(nextProps: any, nextContext: any): void;
private init;
private clear;
private onExpand;
private onChange;
private getSizeShowValue;
private makeSizePanel;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/components/StylePropertyComponent" {
import { UiComponent, UiComponentProps } from 'foundation/editor/ui/core/UiComponent';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { AssembleStyleInfo } from 'sk/rule/data/rule/assemble/AssembleStyleUtil';
interface StyleSelectProps extends UiComponentProps {
entity: any;
onStyleChangeAsync: (info: AssembleStyleInfo) => any;
}
export class StylePropertyComponent extends UiComponent {
protected _actionService: ActionService;
entity: any;
state: {
styleValue: any;
colorValue: any;
gradeValue: any;
visible: boolean;
};
componentStatusChange(state: any, props: StyleSelectProps): void;
private onChangeStyleRadioAsync;
private makeRadioGroup;
private makeContent;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/property/chest/ChestGeometricPropertyPanel" {
import { Vector3 } from 'foundation/runtime/math/Vector3';
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { SchemeDocumentService } from 'sk/data/scheme/service/SchemeDocumentService';
import { AssembleStyleInfo } from 'sk/rule/data/rule/assemble/AssembleStyleUtil';
export class ChestGeometricPropertyPanel extends UiContainer {
private _entity;
private _sizeLabel;
state: {
position: Vector3;
expanded: boolean;
customValue: number;
positiveValue: number;
negativeValue: number;
};
protected _schemeDocumentService: SchemeDocumentService;
constructor(props: any, context?: any);
componentPropsChange(nextProps: any, nextContext: any): void;
private init;
private clear;
onStyleChangeAsync: (info: AssembleStyleInfo) => Promise;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/property/config/ConfigPropertyComponent" {
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { Element } from 'sk/data/family/element/base/Element';
import { FamilyConfigService } from 'sk/data/family/service/FamilyConfigService';
import { SchemeConfigService } from 'sk/data/scheme/config/SchemeConfigService';
import { SchemeDocumentService } from 'sk/data/scheme/service/SchemeDocumentService';
import { FamilyConfigureOption } from "sk/frame/logic/family/family/ui/property/StructurePropertyTabPanel";
export class ConfigPropertyComponent extends UiContainer {
protected _familyConfigService: FamilyConfigService;
protected _schemeConfigService: SchemeConfigService;
protected _schemeDocumentService: SchemeDocumentService;
entity: any;
private needUpdate;
constructor(props: any, context?: any);
state: {
configs: any;
configsVisible: boolean;
content: any[];
selectedItem: any;
configureOptions: FamilyConfigureOption[];
};
componentStatusChange(state: any, props: any): void;
private makeConfigsData;
protected computeWorkflow(workflowCd: string, element?: Element): void;
onSelectItem(item: any): any;
onSelectListItem(deco: any, item: any): any;
private makeConfigurePanel;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/property/config/DecoratePropertyComponent" {
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { Element } from 'sk/data/family/element/base/Element';
import { FamilyInstanceElement } from 'sk/data/family/element/instance/FamilyInstanceElement';
import { DecorateBindTypeEnum } from 'sk/data/family/enumeration/DecorateBindTypeEnum';
import { SchemeDocumentService } from 'sk/data/scheme/service/SchemeDocumentService';
export type DecoratePropertyItem = {
id: string;
code: string;
name: string;
linkCd: DecorateBindTypeEnum;
element: FamilyInstanceElement;
list: Array;
current: string;
select: string;
};
export class DecoratePropertyComponent extends UiContainer {
protected _schemeDocumentService: SchemeDocumentService;
entity: any;
private _decoratesValues;
constructor(props?: any, context?: any);
state: {
decorates: DecoratePropertyItem[];
selectedItem: any;
};
componentPropsChange(nextProps: any, nextContext: any): void;
reset(): void;
private loadDecoratesRecursive;
private getDecorateItem;
protected computeWorkflow(workflowCd: string, element?: Element): void;
getReferenceInfoId(decorate: any, item: DecoratePropertyItem): string;
onSelectItem: (item: any) => void;
onSelectListItem: (decorate: any, item: DecoratePropertyItem) => void;
private makeDecoratePanel;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/property/config/VariablePropertyComponent" {
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { SchemeConfigService } from 'sk/data/scheme/config/SchemeConfigService';
export class VariablePropertyComponent extends UiContainer {
protected _schemeConfigService: SchemeConfigService;
protected _actionService: ActionService;
entity: any;
private dataSource;
private columns;
constructor(props: any, context?: any);
componentStatusChange(state: any, props: any): void;
UNSAFE_componentWillUpdate(nextProps: any, nextState: any): void;
private makeVariableData;
onCellChange: (value: any, record: any) => void;
makeVariableTable(): JSX.Element;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/property/plank/PlankDecoratePropertyPanel" {
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { Element } from 'sk/data/family/element/base/Element';
import { SchemeDocumentService } from 'sk/data/scheme/service/SchemeDocumentService';
import { DecorateStructure, DecorateItemStructure } from "sk/frame/logic/family/family/ui/components/DecorateSelectionComponent";
export class PlankDecoratePropertyPanel extends UiContainer {
protected _schemeDocumentService: SchemeDocumentService;
protected _actionService: ActionService;
private _entity;
private _element;
state: {
showPlaneSurfacePanel: boolean;
showEdgeSurfacePanel: boolean;
decorateMap: Map;
selectedDecorateItemMap: Map;
};
componentPropsChange(nextProps: any, nextContext: any): void;
private init;
private clear;
private fetchPlankChildrenDecorates;
private fetchBindingDecorateByType;
private getDecorateByElementAsync;
private onMaterialRotationChange;
private getSelectedDecorateInfo;
protected computeWorkflowAsync(workflowCd: string, element?: Element): Promise;
getReferenceInfoId(decorate: DecorateStructure, item: DecorateItemStructure): string;
private updateElementsBindingDecorate;
private onDecorateItemChange;
private onExpand;
private makeMaterialOptionPanel;
private makeCardItem;
private makeDecorateSelectOptionGroup;
private renderNodeDecorateCard;
private renderDecoratePanel;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/property/plank/PlankGeometricPropertyPanel" {
import { Vector3 } from 'foundation/runtime/math/Vector3';
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
export class PlankGeometricPropertyPanel extends UiContainer {
private _entity;
private _parent;
protected _maxDistance: number;
protected readonly _minRotation = -90;
protected readonly _maxRotation = 90;
private _panelNameMap;
private _sizeLabelMap;
private _spaceLabelMap;
private _spaceFieldNameMap;
private _plankMap;
state: {
position: Vector3;
expanded: boolean;
positiveValue: number;
negativeValue: number;
};
constructor(props: any, context?: any);
componentPropsChange(nextProps: any, nextContext: any): void;
private init;
private clear;
private fetchNearPlanks;
private getSpaceDistance;
private getOriginalField;
private onChange;
private makeSpaceDistancePanel;
private makeRotationPanel;
private getSizeShowLock;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/property/symbol/SymbolPropertyPanel" {
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { SpecificationFamilySymbolFeature } from 'sk/data/specification/familysymbol/structure/SpecificationFamilySymbolFeature';
import { FamilyInstanceNode } from 'sk/data/family/model/instance/FamilyInstanceNode';
import { FamilyDocument } from 'sk/data/family/library/FamilyDocument';
import { SchemeLibraryFamilyDocumentService } from 'sk/data/scheme/config/SchemeLibraryFamilyDocumentService';
import { SchemeDocumentService } from 'sk/data/scheme/service/SchemeDocumentService';
import { FamilyConfigureOption } from "sk/frame/logic/family/family/ui/property/StructurePropertyTabPanel";
export class SymbolPropertyPanel extends UiContainer {
protected _schemeDocumentService: SchemeDocumentService;
protected _schemeLibraryFamilyDocumentService: SchemeLibraryFamilyDocumentService;
entity: FamilyInstanceNode;
state: {
sizes: any[];
configureOptions: any[];
decorateItems: any[];
};
componentPropsChange(nextProps: any, nextContext: any): void;
protected loadFamilyDocumentAsync(): Promise;
protected getSchemeSizeSymbols(document: FamilyDocument): Array;
protected getConfigureOptions(document: FamilyDocument): Array;
protected onSearch: (value: any) => void;
protected makeSearchComponent(): JSX.Element;
protected onSizeChange: (value: any, option: any) => void;
protected makeSizeComponent(): any;
protected onConfigureOptionChange: (value: any, option: any) => void;
protected makeConfigureComponent(): any;
private makeSymbolListItemComponent;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/property/StructurePropertyTabPanel" {
import { TypeMap } from 'cross/runtime/lang/collection/TypeMap';
import { ListenerContext } from 'cross/runtime/lang/ListenerContext';
import { DataNodeFlagEvent } from 'foundation/data/common/model/base/DataNodeFlagEvent';
import { UiContainer, UiContainerProps, UiContainerState } from 'foundation/editor/ui/core/UiContainer';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { FamilyInstanceNode } from 'sk/data/family/model/instance/FamilyInstanceNode';
import { PlaneNode } from 'sk/data/family/model/instance/PlaneNode';
import { SchemeLibraryFamilyDocumentService } from 'sk/data/scheme/config/SchemeLibraryFamilyDocumentService';
import { ChestLogic } from "sk/frame/logic/family/family/ui/property/ChestLogic";
export class FamilyConfigureOption {
configId: string;
configCode: string;
configName: string;
optionId: string;
optionCode: string;
optionName: string;
optionDefault: boolean;
}
export interface StructurePropertyTabPanelProps extends UiContainerProps {
}
export interface StructurePropertyTabPanelState extends UiContainerState {
fieldsValue: TypeMap;
}
export enum CoverPlankEnum {
Up = "up",
Down = "down",
Left = "left",
Right = "right"
}
export class StructurePropertyTabPanel extends UiContainer {
protected _selectEntity: FamilyInstanceNode;
protected _actionService: ActionService;
protected _schemeLibraryFamilyDocumentService: SchemeLibraryFamilyDocumentService;
protected readonly _minPosition = -10000;
protected readonly _maxPosition = 10000;
protected readonly _minLength = 1;
protected readonly _maxLength = 10000;
protected readonly _minRotation = 0;
protected readonly _maxRotation = 359;
protected chestLogic: ChestLogic;
constructor(props: any, context?: any);
componentPropsChange(nextProps: any, nextContext: any): void;
UNSAFE_componentWillMount(): void;
componentWillUnmount(): void;
onEntityDirty(sender: ListenerContext, event: DataNodeFlagEvent): void;
protected executePropertyChangeActionEvent(fieldName: string, value: any): void;
protected onInputValueChange: (event: any) => void;
protected onInputValueConfirm: (event: any) => void;
protected onSliderValueChange: (value: any, name: string) => void;
protected onSliderValueAfterChange(value: any, name: string): any;
protected onCheckboxValueChange: (event: any) => void;
protected getFieldShowValue(name: string): any;
makeBaseInfoComponent(label: string, inputFieldName: string, checkLabel: string, checkFieldName: string, disabled?: boolean): JSX.Element;
makeGeometryInfoComponent(fieldName: string, label: string, minValue: number, maxValue: number): JSX.Element;
makePositionInfo(): JSX.Element;
makeLengthInfo(): JSX.Element;
makeSingleInfo(fieldName: string, label: string, disabled?: boolean): JSX.Element;
private onConfirm;
private getInfoPanelByType;
renderInfoTabElement(): JSX.Element;
renderConfigTabElement(): JSX.Element;
renderSymbolTabElement(): JSX.Element;
renderDebugTabElement(): JSX.Element;
renderCoverTab(): Array;
protected renderPlankCoverUI(bordervalue: number, text: string, plank: PlaneNode, type: CoverPlankEnum): JSX.Element;
onCoverSelectChange: (value: string, option: any) => void;
renderEmbedTab(): JSX.Element;
protected onSelectChange: (value: string) => void;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/property/HardwarePropertyPanel" {
import { ResultObject } from 'cross/runtime/lang/ResultObject';
import { SelectionService } from 'foundation/editor/base/selection/SelectionService';
import { UiControlService } from 'foundation/editor/ui/UiControlService';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { RuleParameter } from 'sk/data/family/element/config/rule/RuleValueStructureUtil';
import { RuleItemElement } from 'sk/data/family/rule/element/instance/RuleItemElement';
import { FamilyInstanceElement } from 'sk/data/family/element/instance/FamilyInstanceElement';
import { WareNode } from 'sk/data/family/model/instance/WareNode';
import { RuleDocumentService } from 'sk/data/family/rule/RuleDocumentService';
import { RuleTypeDocumentService } from 'sk/data/family/rule/RuleTypeDocumentService';
import { LogicSelectionService } from 'sk/editor/scheme/furniture/core/LogicSelectionService';
import { HardwareEntity } from 'sk/editor/logic/entity/HardwareEntity';
import { SpaceEntity } from 'sk/editor/logic/entity/SpaceEntity';
import { StructurePropertyTabPanel, StructurePropertyTabPanelState } from "sk/frame/logic/family/family/ui/property/StructurePropertyTabPanel";
export interface HardwarePropertyState extends StructurePropertyTabPanelState {
entity: WareNode;
element: FamilyInstanceElement;
code: string;
ruleTypeId: string;
parameters: Array;
}
export class HardwarePropertyTabPanel extends StructurePropertyTabPanel {
protected _selectionService: SelectionService;
protected _actionService: ActionService;
protected _logicSelectionService: LogicSelectionService;
protected _controlService: UiControlService;
protected _ruleDocumentService: RuleDocumentService;
protected _ruleTypeDocumentService: RuleTypeDocumentService;
protected _selectEntity: HardwareEntity;
protected _space: SpaceEntity;
UNSAFE_componentWillMount(): void;
private getRulesPropertyAsync;
loadRuleParametersAsync(ruleItem: RuleItemElement): Promise;
makeParametersList(parameters: Array): any;
onInputValueChangedWineLattice: (event: any) => void;
onInputValueConfirmWineLattice: (event: any) => void;
protected refreshPosition: () => void;
makeProperty(): JSX.Element;
renderInfoTabElement(): JSX.Element;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/property/SlideDoorProperty" {
import { RelativeDirectionEnum } from 'foundation/data/common/enumeration/RelativeDirectionEnum';
import { UiContainer, UiContainerProps, UiContainerState } from 'foundation/editor/ui/core/UiContainer';
import { WareNode } from 'sk/data/family/model/instance/WareNode';
import { SchemeDocumentService } from 'sk/data/scheme/service/SchemeDocumentService';
export interface SlideDoorPropertyState extends UiContainerState {
entity: WareNode;
leftCoverCd: string;
rightCoverCd: string;
topCoverCd: string;
bottomCoverCd: string;
}
export interface SlideDoorPropertyProps extends UiContainerProps {
entity: WareNode;
}
export class SlideDoorProperty extends UiContainer
{
props: SlideDoorPropertyProps;
state: SlideDoorPropertyState;
protected _schemeDocumentService: SchemeDocumentService;
UNSAFE_componentWillMount(): void;
syncCoverCdData(): void;
onSelectCoverCdChange(dirCd: RelativeDirectionEnum): any;
private computeVision;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/toolbar/layout/FamilyToolbarView" {
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
export type ToolbarViewState = {
cameraViewCd: string;
redoEnable: string;
undoEnable: string;
};
export class FamilyToolbarView extends UiContainer {
state: {
label: string;
};
UNSAFE_componentWillMount(): void;
handleSplitClick: (event: any) => void;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/toolbar/layout/ToolbarAction" {
import { ListenerContext } from 'cross/runtime/lang/ListenerContext';
import { SelectionEvent } from 'foundation/editor/base/selection/SelectionEvent';
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 { EditorStackEvent } from 'foundation/editor/view/stack/EditorStackEvent';
import { EditorStackService } from 'foundation/editor/view/stack/EditorStackService';
import { FamilyInstanceNode } from 'sk/data/family/model/instance/FamilyInstanceNode';
export class ToolbarActionState {
entity: FamilyInstanceNode;
}
export class ToolbarAction extends UiOptionContainer {
protected _selectionService: SelectionService;
protected _actionService: ActionService;
protected _stackService: EditorStackService;
state: ToolbarActionState;
UNSAFE_componentWillMount(): void;
componentWillUnmount(): void;
onSelectionChanged(sender: ListenerContext, event: SelectionEvent): void;
onStackChanged(sender: ListenerContext, event: EditorStackEvent): void;
handleDeleteClick: (event: any) => Promise;
handleLockClick: (event: any) => void;
handleEditClick: (event: any) => void;
handleUpLevelClick: (event: any) => void;
private onClickEditPlank;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/toolbar/layout/ToolbarDisplayPanel" {
import { ListenerContext } from 'cross/runtime/lang/ListenerContext';
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 { 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 { 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 { SchemeEditorDocument } from 'sk/frame/logic/scheme/SchemeEditorDocument';
export type ToolbarDisplayState = {
cameraViewCd: string;
redoEnable: string;
undoEnable: string;
};
export class ToolbarDisplayPanel extends UiOptionContainer {
protected _actionService: ActionService;
protected _transactionService: TransactionService;
protected _hotkeyService: HotkeyService;
protected _editBrushService: EditBrushService;
protected _schemeDocumentService: SchemeDocumentService;
protected _selectionService: SelectionService;
protected _schemeConfigService: SchemeConfigService;
document: SchemeEditorDocument;
constructor(props: any, context?: any);
componentDidMount(): void;
componentResize(context?: UiContext): void;
onUndoRedoStateChanged(sender: ListenerContext, event: TransactionEvent): void;
handleUndoClick: (event: any) => void;
handleRedoClick: (event: any) => void;
private changeDimensionVisible;
private changeSpaceTypeVisible;
changeSpaceAreaVisible: () => void;
changeBeamVisible: () => void;
private changeEditOptionVisible;
private loopNode;
getFamilyInfoByNode(node: FamilyInstanceNode): ISpecificationFamilyInfo;
private changeFloorplanFamilyVision;
private setFloorplanFamilyVisionCallback;
protected setNodeMoldingVision(content: any, visionCd: MoldingVisionEnum): void;
computeWorkflowShape(element?: any, options?: SchemeWorkflowOptions): void;
computeWorkflowVision(element?: any, options?: SchemeWorkflowOptions): void;
private computeWorkflow;
changeGridVisible: () => void;
changefurniturePositionVisible: () => void;
private changeBackgroundVisible;
changefurnitureVisible: () => void;
caretClickHalder: (owner: any, e: any) => () => void;
makeShowMenu(): JSX.Element;
test(): void;
protected handleGroup: () => void;
protected handleLock: () => void;
protected handleDisplayAll: () => void;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/toolbar/layout/ToolbarDisplay" {
import { ListenerContext } from 'cross/runtime/lang/ListenerContext';
import { SelectionEvent } from 'foundation/editor/base/selection/SelectionEvent';
import { SelectionService } from 'foundation/editor/base/selection/SelectionService';
import { UiOptionContainer } from 'foundation/editor/ui/core/UiOptionContainer';
import { ActionService } from 'foundation/editor/view/action/ActionService';
export class ToolbarDisplayState {
selectEntity: any;
}
export class ToolbarDisplay extends UiOptionContainer {
protected _selectionService: SelectionService;
protected _actionService: ActionService;
UNSAFE_componentWillMount(): void;
componentWillUnmount(): void;
onSelectionChanged(sender: ListenerContext, event: SelectionEvent): void;
handleHideClick: (event: any) => void;
handleShowAllClick: (event: any) => void;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/toolbar/layout/ToolbarSave" {
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { UiContext } from 'foundation/editor/ui/UiContext';
import { EditorStackService } from 'foundation/editor/view/stack/EditorStackService';
export type ToolbarSaveState = {};
export class ToolbarSave extends UiContainer {
state: ToolbarSaveState;
protected _stackService: EditorStackService;
constructor(props: any, context?: any);
componentResize(context?: UiContext): void;
onSaveClick: () => void;
onCloseClick: () => void;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/toolbar/layout/ToolbarTool" {
import { SelectionService } from 'foundation/editor/base/selection/SelectionService';
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { UiContext } from 'foundation/editor/ui/UiContext';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { EditorStackService } from 'foundation/editor/view/stack/EditorStackService';
export type ToolbarToolState = {};
export class ToolbarTool extends UiContainer {
state: ToolbarToolState;
protected _actionService: ActionService;
protected _selectionService: SelectionService;
protected _editorStackService: EditorStackService;
constructor(props: any, context?: any);
componentResize(context?: UiContext): void;
private test;
private test1;
private test2;
private test3;
private test4;
private processCupboradSideCreate;
private makeStructure;
protected onConputeSpaceShape: () => void;
private makeTools;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/toolbar/Toolbar" {
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 Toolbar extends UiContainer {
protected _selectionService: SelectionService;
protected _actionService: ActionService;
static STYLE_TOOLBAR_LIST: any;
protected onActionListChanged(sender: any, evt: any): void;
private canDelete;
test20230407: () => void;
showPoint: () => void;
showLine: () => void;
showFace: () => void;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/FamilyPanel" {
import { ListenerContext } from 'cross/runtime/lang/ListenerContext';
import { DataNode } from 'foundation/data/common/model/base/DataNode';
import { SelectionEvent } from 'foundation/editor/base/selection/SelectionEvent';
import { SelectionService } from 'foundation/editor/base/selection/SelectionService';
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { FamilyCategoryTabPanel } from "sk/frame/logic/family/family/ui/panel/FamilyCategoryTabPanel";
export class FamilyPanel extends UiContainer {
protected _srcNodes: Array;
private _categoryPanel;
protected _uiTreePanel: FamilyCategoryTabPanel;
protected _selectionService: SelectionService;
state: {
selectEntity: DataNode;
showStructure: boolean;
statusOpened: boolean;
};
constructor(props: any, context?: any);
get elemTreePanel(): FamilyCategoryTabPanel;
UNSAFE_componentWillMount(): void;
componentDidMount(): void;
componentWillUnmount(): void;
linkCategoryPanel: (value: any) => void;
linkTreePanel: (value: any) => void;
onSelectionChanged(sender: ListenerContext, event: SelectionEvent): void;
onSelectElement: (selectedElement: any, isUnSelected: boolean) => void;
protected getViewRenderData(): JSX.Element;
propertyTrigger: () => void;
private onTriggerCategory;
protected makeElementPropertyPanel(): JSX.Element;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/FurnitureControlEnum" {
export class FurnitureControlEnum {
static Header: string;
static Toolbar: string;
static Main: string;
static CaseName: string;
static DataBar: string;
static Property: string;
static View2DPanel: string;
static View3DPanel: string;
static ViewCustomizedPanel: string;
static SearchPanel: string;
static HierarchyPanel: string;
static DesignListPanel: string;
static LoginWindow: string;
static QuoteWindow: string;
static DecorateListWindow: string;
static ProjectListWindow: string;
static DesignSaveWindow: string;
static ConfirmDialog: string;
static MessageTip: string;
static LoadingLayer: string;
static HelpLayer: string;
static ChesttProperty: string;
static PlanktProperty: string;
static HardwaretProperty: string;
static SpacetProperty: string;
static VariabletProperty: string;
static OptiontProperty: string;
static DebugProperty: string;
static DebugStatePage: string;
static DebugMemorytProperty: string;
static CatalogBar: string;
static DebugPanel: string;
static RenderPanel: string;
static ImageManagePanel: string;
static UploadWindow: string;
static PropertyPanel: string;
static ComponentListPanel: string;
static DecorateListPanel: string;
static CameraController: string;
static ProductInfoWindow: string;
static DecorateUpLineWindow: string;
static TopLineListPanel: string;
static PropertyPanels: Array;
}
}
declare module "sk/frame/logic/family/family/ui/UiCameraController" {
import { ContentNode } from 'foundation/data/common/model/brep/ContentNode';
import { ObserverModeEnum } from 'foundation/data/common/model/brep/ObserverModeEnum';
import { SelectionService } from 'foundation/editor/base/selection/SelectionService';
import { EditorMemberService } from 'foundation/editor/base/service/EditorMemberService';
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { V3dOrthogonalCamera } from 'foundation/editor/view/view3d/camera/V3dOrthogonalCamera';
export type UiCameraControllerState = {
modeCd: string;
visible: boolean;
};
export class UiCameraController extends UiContainer {
state: UiCameraControllerState;
camera: V3dOrthogonalCamera;
private groupData;
protected _selectionService: SelectionService;
protected _editorMemberService: EditorMemberService;
constructor(props: any, context?: any);
private initGrouData;
onClickFocus(): any;
private focusEntity;
onFocusEntity(content: ContentNode): void;
getCenterText(): string;
getAroundText(direction: string): string;
getText(mode: ObserverModeEnum): string;
onClickTurnArround(direction: string): any;
delayUpdate(): void;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/UiEvent" {
export class UiEvent {
sender: any;
target: any;
content: any;
}
}
declare module "sk/frame/logic/family/family/ui/components/CaseText" {
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { UiControlService } from 'foundation/editor/ui/UiControlService';
export class CaseText extends UiContainer {
protected _controlService: UiControlService;
private changeHandle;
private enterHandle;
private blurHandle;
state: {
text: string;
isEdit: boolean;
hasBtn: boolean;
btnClass: string;
};
UNSAFE_componentWillMount(): void;
UNSAFE_componentWillUpdate(nextProps?: any, nextState?: any): void;
private onCaseTextChanged;
private onCaseTextClick;
private onTextBlue;
onTextKeyUp(): any;
textOnLoad(): any;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/components/DataItem" {
import { UiControl } from 'foundation/editor/ui/core/UiControl';
export type UiItemState = {
display: boolean;
isSelect: boolean;
classStr: string;
isSelected: boolean;
data: any;
};
export class DataItem extends UiControl {
constructor(props?: any, context?: any);
UNSAFE_componentWillMount(): void;
makeClass(): string;
onItemClick(): any;
onMouseEnter(): any;
onMouseLeave(): any;
getDefaultPic(): string;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/components/RotationPropertyComponent" {
import { UiComponent } from 'foundation/editor/ui/core/UiComponent';
import { ActionService } from 'foundation/editor/view/action/ActionService';
export class RotationPropertyComponent extends UiComponent {
private _entity;
protected readonly _minPosition = -10000;
protected readonly _maxPosition = 10000;
protected _actionService: ActionService;
state: {
axisType: string;
angleValue: number;
};
componentPropsChange(nextProps: any, nextContext: any): void;
private onRotationChange;
protected executeEvent(name: string, value: any): void;
private onSelectOptionChange;
private makeAnglePanel;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/components/TopLineInfo" {
import { UiControl } from 'foundation/editor/ui/core/UiControl';
export type TopLineInfoState = {
name: string;
key: string;
picStr: string;
};
export class TopLineInfo extends UiControl {
constructor(props?: any, context?: any);
UNSAFE_componentWillMount(): void;
onItemClick(): any;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/panel/ElementStackPanel" {
import { UiPanel } from 'foundation/editor/ui/container/UiPanel';
export class ElementStackPanel extends UiPanel {
protected onBtnClick(level: number): any;
protected makeNodes(): any;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/property/chest/ProductBasePage" {
import { Size3 } from 'foundation/runtime/math/Size3';
import { UiPageSheet } from 'foundation/editor/ui/container/UiPageSheet';
import { UiWindowService } from 'foundation/editor/ui/UiWindowService';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { ChestChangeSizeAction } from 'sk/editor/scheme/furniture/action/chest/ChestChangeSizeAction';
import { UiDecorateChooseItem } from 'sk/editor/scheme/furniture/ui/content/UiDecorateChooseItem';
import { ChestEntity } from 'sk/editor/logic/entity/ChestEntity';
import { PlankEntity } from 'sk/editor/logic/entity/PlankEntity';
export type ProductBasePageState = {
entity: ChestEntity;
curPlankArr: Array;
lastDecorateItem: UiDecorateChooseItem;
};
export class ProductBasePage extends UiPageSheet {
state: ProductBasePageState;
protected _defaultMax: number;
protected _defaultMin: number;
protected _chestChangeSizeAction: ChestChangeSizeAction;
protected _actionService: ActionService;
protected _windowService: UiWindowService;
constructor(props: any, context?: any);
loadEntity(entity: any): void;
onWidthChange: () => void;
sendReceive(size: Size3, isEnd: boolean): void;
changeSize(size: Size3): any;
onLengthXInputChange(isEnd?: boolean): any;
onLengthZInputChange(isEnd?: boolean): any;
onLengthYInputChange(isEnd?: boolean): any;
onfloorDistanceChange(): any;
createChangeSizeAction(): void;
makeConfigureList(): Array;
makeVariableList(): Array;
onBlur(): Function;
delayFresh(): void;
onUserVariableChange(code: string): any;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/property/chest/ProductPositionPage" {
import { UiPageSheet } from 'foundation/editor/ui/container/UiPageSheet';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { ComponentNode } from 'sk/data/family/model/component/ComponentNode';
import { DecorateLogicService } from 'sk/data/family/service/DecorateLogicService';
import { ChestChangeSizeAction } from 'sk/editor/scheme/furniture/action/chest/ChestChangeSizeAction';
import { ChestEntity } from 'sk/editor/logic/entity/ChestEntity';
export type ProductPositionPageState = {
entity: ChestEntity;
};
export class ProductPositionPage extends UiPageSheet {
state: ProductPositionPageState;
protected _defaultMax: number;
protected _defaultMin: number;
protected _chestChangeSizeAction: ChestChangeSizeAction;
protected _actionService: ActionService;
protected _decorateService: DecorateLogicService;
constructor(props: any, context?: any);
loadEntity(entity: ComponentNode): void;
onPositionChange(dim: any): any;
onRotationZChange(): any;
onBlur(): Function;
delayFresh(): void;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/property/chest/ProductStylePage" {
import { UiPageSheet } from 'foundation/editor/ui/container/UiPageSheet';
import { UiControlService } from 'foundation/editor/ui/UiControlService';
import { UiWindowService } from 'foundation/editor/ui/UiWindowService';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { ComponentNode } from 'sk/data/family/model/component/ComponentNode';
import { DecorateLogicService } from 'sk/data/family/service/DecorateLogicService';
import { ChestChangeSizeAction } from 'sk/editor/scheme/furniture/action/chest/ChestChangeSizeAction';
import { UiDecorateChooseItem } from 'sk/editor/scheme/furniture/ui/content/UiDecorateChooseItem';
import { ChestEntity } from 'sk/editor/logic/entity/ChestEntity';
import { PlankEntity } from 'sk/editor/logic/entity/PlankEntity';
export type ProductStylePageState = {
entity: ChestEntity;
isEditName: false;
curPlankArr: Array;
lastMaterialItem: UiDecorateChooseItem;
lastSubstrateItem: UiDecorateChooseItem;
};
export class ProductStylePage extends UiPageSheet {
state: ProductStylePageState;
protected _defaultMax: number;
protected _defaultMin: number;
protected _chestChangeSizeAction: ChestChangeSizeAction;
protected _actionService: ActionService;
protected _decorateService: DecorateLogicService;
protected _windowService: UiWindowService;
protected _controlService: UiControlService;
constructor(props: any, context?: any);
loadEntity(entity: ComponentNode): void;
getBodyMaterialIds(entity: any): Array;
onReplaceMaterial(): any;
onReplace(): any;
makeConfigureList(): Array;
makeVariableList(): Array;
onUserVariableChange(code: string): any;
onChangeMaterialCallBack(): any;
getPlankMaterialGuid(plank: PlankEntity): void;
getDefaultPic(): string;
onChangeSubstrateCallBack(): any;
onClickChangeGrainCd(arr: Array): any;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/property/ChestProperty" {
import { DataResourceService } from 'foundation/data/common/io/DataResourceService';
import { SelectionService } from 'foundation/editor/base/selection/SelectionService';
import { UiPageControl } from 'foundation/editor/ui/container/UiPageControl';
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { UiControlService } from 'foundation/editor/ui/UiControlService';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { ConfigureLogicService } from 'sk/data/family/service/ConfigureLogicService';
import { ChestEntity } from 'sk/editor/logic/entity/ChestEntity';
import { SpaceEntity } from 'sk/editor/logic/entity/SpaceEntity';
import { ProductBasePage } from "sk/frame/logic/family/family/ui/property/chest/ProductBasePage";
import { ProductPositionPage } from "sk/frame/logic/family/family/ui/property/chest/ProductPositionPage";
import { ProductStylePage } from "sk/frame/logic/family/family/ui/property/chest/ProductStylePage";
export type ChestPropertyState = {
entity: ChestEntity;
firstSpace: SpaceEntity;
secondSpace: SpaceEntity;
substrateList: Array;
materialList: Array;
entitySubstrateGuid: any;
entityMaterialFrontGuid: any;
entityMaterialBackGuid: any;
visible: boolean;
changingName: boolean;
lastName: string;
};
export class ChestProperty extends UiContainer {
state: ChestPropertyState;
protected _pageControl: UiPageControl;
protected _pageBase: ProductBasePage;
protected _pageStyle: ProductStylePage;
protected _pagePosition: ProductPositionPage;
protected _actionService: ActionService;
protected _resourceService: DataResourceService;
protected _controlService: UiControlService;
protected variablesList: any;
protected _configureService: ConfigureLogicService;
protected _selectionService: SelectionService;
constructor(props: any, context?: any);
UNSAFE_componentWillMount(): void;
componentDidMount(): void;
UNSAFE_componentWillUpdate(nextProps: any, nextState: any): void;
syncPage(): void;
onInputChangeName(): any;
createName(): JSX.Element;
favorite(): any;
selectParent(): any;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/property/ContainerProperty" {
import { Size3 } from 'foundation/runtime/math/Size3';
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 { DecorateLogicService } from 'sk/data/family/service/DecorateLogicService';
import { ContainerChangeSizeAction } from 'sk/editor/scheme/furniture/action/container/ContainerChangeSizeAction';
import { ContainerEntity } from 'sk/editor/logic/entity/ContainerEntity';
export type ContainerPropertyState = {
entity: ContainerEntity;
visible: boolean;
};
export class ContainerProperty extends UiContainer {
state: ContainerPropertyState;
protected _containerChangeSizeAction: ContainerChangeSizeAction;
protected _defaultMax: number;
protected _defaultMin: number;
protected _actionService: ActionService;
protected _decorateService: DecorateLogicService;
protected _selectionService: SelectionService;
UNSAFE_componentWillMount(): void;
UNSAFE_componentWillUpdate(nextProps: any, nextState: any): void;
onEditBeginClick(): any;
onEditEndClick(): any;
get entityName(): any;
get entityCode(): any;
get entityLengthMinX(): number;
get entityLengthMaxX(): number;
get entityLengthX(): any;
get entityLengthMinY(): number;
get entityLengthMaxY(): number;
get entityLengthY(): any;
get entityLengthMinZ(): number;
get entityLengthMaxZ(): number;
get entityLengthZ(): any;
changeSize(size: Size3): void;
onLengthXInputChange(): any;
onLengthZInputChange(): any;
onLengthYInputChange(): any;
makeConfigureList(): Array;
makeVariableList(): Array;
onUserVariableChange(code: string): any;
findMaterialByDecorate(decorate: any): Array;
findSubstrateByDecorate(decorate: any): Array;
changeDecorateList(entity: any, decorate: any, value: any): void;
onDecorateChange(decorateItem: any): any;
makeDecorateList(): Array;
onPositionChange(dim: any): any;
onRotationChange(dim: any): any;
onBlur(): Function;
delayFresh(): void;
onInputChangeName(): any;
createName(): JSX.Element;
selectParent(): any;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/property/DrawerProperty" {
import { RelativeDirectionEnum } from 'foundation/data/common/enumeration/RelativeDirectionEnum';
import { UiContainer, UiContainerProps, UiContainerState } from 'foundation/editor/ui/core/UiContainer';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { EdgeCoverTypeEnum } from 'sk/data/family/database/furniture/enumeration/EdgeCoverTypeEnum';
import { WareNode } from 'sk/data/family/model/instance/WareNode';
import { PlankDrawerRelationElement } from 'sk/data/scheme/database/furniture/element/PlankDrawerRelation';
import { SchemeDocumentService } from 'sk/data/scheme/service/SchemeDocumentService';
export interface DrawerPropertyState extends UiContainerState {
entity: WareNode;
relationElement: PlankDrawerRelationElement;
name: string;
relationMap: Map;
coverMap: Map;
}
export interface DrawerPropertyProps extends UiContainerProps {
entity: WareNode;
}
export class DrawerProperty extends UiContainer
{
props: DrawerPropertyProps;
state: DrawerPropertyState;
protected _actionService: ActionService;
protected _schemeDocumentService: SchemeDocumentService;
UNSAFE_componentWillMount(): void;
componentWillUnmount(): void;
syncCoverCdData(): void;
onSelectCoverCdChange(dirCd: RelativeDirectionEnum): any;
private computeVision;
private onBaseInputChange;
private onBaseInputConfirm;
private changeDistanceByDir;
onInputValueChange: (event: any) => void;
onInputValueConfirm: (event: any) => void;
onCheckBoxChange(dirCd: RelativeDirectionEnum): any;
private makeBaseInfoPanel;
private makeSpaceRelationPanel;
private makeCoverTypePanel;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/property/GroupProperty" {
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 { GroupEntity } from 'foundation/editor/view/entity/GroupEntity';
export type GroupPropertyState = {
entity: GroupEntity;
visible: boolean;
};
export class GroupProperty extends UiContainer {
state: GroupPropertyState;
protected _actionService: ActionService;
protected _selectionService: SelectionService;
UNSAFE_componentWillMount(): void;
UNSAFE_componentWillUpdate(nextProps: any, nextState: any): void;
onPositionChange(dim: any): any;
onRotationChange(dim: any): any;
onBlur(): Function;
delayFresh(): void;
onInputChangeName(): any;
createName(): JSX.Element;
favorite(): any;
selectParent(): any;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/property/HandshandleProperty" {
import { DataResourceService } from 'foundation/data/common/io/DataResourceService';
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { UiControlService } from 'foundation/editor/ui/UiControlService';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { ConfigureLogicService } from 'sk/data/family/service/ConfigureLogicService';
import { HardwareEntity } from 'sk/editor/logic/entity/HardwareEntity';
export type HandshandlePropertyState = {
entity: HardwareEntity;
visible: boolean;
changingName: boolean;
lastName: string;
};
export class HandshandleProperty extends UiContainer {
state: HandshandlePropertyState;
protected _actionService: ActionService;
protected _resourceService: DataResourceService;
protected _controlService: UiControlService;
protected variablesList: any;
protected _configureService: ConfigureLogicService;
UNSAFE_componentWillMount(): void;
UNSAFE_componentWillUpdate(nextProps: any, nextState: any): void;
loadInfo(): void;
onLengthXChange(): any;
onLengthYChange(): any;
onLengthZChange(): any;
onInputChangeName(): any;
createName(): JSX.Element;
favorite(): any;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/property/HardwareProperty" {
import { TypeMap } from 'cross/runtime/lang/collection/TypeMap';
import { SelectionService } from 'foundation/editor/base/selection/SelectionService';
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { UiControlService } from 'foundation/editor/ui/UiControlService';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { LogicSelectionService } from 'sk/editor/scheme/furniture/core/LogicSelectionService';
import { HardwareEntity } from 'sk/editor/logic/entity/HardwareEntity';
import { SpaceEntity } from 'sk/editor/logic/entity/SpaceEntity';
export type HardwarePropertyState = {
entity: HardwareEntity;
fieldsValue: TypeMap;
};
export class HardwareProperty extends UiContainer {
state: HardwarePropertyState;
protected _selectionService: SelectionService;
protected _actionService: ActionService;
protected _logicSelectionService: LogicSelectionService;
protected _controlService: UiControlService;
entityX: number;
entityY: number;
entityZ: number;
distance2Top: number;
distance2Bottom: number;
distance2Front: number;
distance2Back: number;
protected _selectEntity: HardwareEntity;
protected _ralationEntity: SpaceEntity;
private readonly _minPosition;
private readonly _maxPosition;
constructor(props?: any, context?: any);
componentWillUnmount(): void;
loadInfo(): void;
findRalationPosition(): void;
private makeGeometryInfoComponent;
private makeRalativeInputInfoComponent;
renderInfoTabElement(): JSX.Element;
protected onRalativeValueConfirm: (event: any) => void;
protected onRalativeValueChange: (event: any) => void;
protected onInputValueConfirm: (event: any) => void;
protected onInputValueChange: (event: any) => void;
protected executePropertyChangeActionEvent(fieldName: string, value: any): void;
protected onSliderValueAfterChange(value: any, name: string): void;
protected onSliderValueChange: (value: any, name: string) => void;
private getFieldShowValue;
private getDistanceFieldShowValue;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/property/plank/ProductBasePage" {
import { Size3 } from 'foundation/runtime/math/Size3';
import { RelativeDirectionEnum } from 'foundation/data/common/enumeration/RelativeDirectionEnum';
import { UiPageSheet } from 'foundation/editor/ui/container/UiPageSheet';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { DecorateLogicService } from 'sk/data/family/service/DecorateLogicService';
import { ChestChangeSizeAction } from 'sk/editor/scheme/furniture/action/chest/ChestChangeSizeAction';
import { PlankChangeSizeAction } from 'sk/editor/scheme/furniture/action/plank/PlankChangeSizeAction';
import { PlankEntity } from 'sk/editor/logic/entity/PlankEntity';
export type ProductBasePageState = {
entity: PlankEntity;
};
export class ProductBasePage extends UiPageSheet {
state: ProductBasePageState;
protected _defaultMax: number;
protected _defaultMin: number;
protected _chestChangeSizeAction: ChestChangeSizeAction;
protected _actionService: ActionService;
protected _decorateService: DecorateLogicService;
protected _plankChangeSizeAction: PlankChangeSizeAction;
constructor(props: any, context?: any);
loadEntity(entity: any): void;
onWidthChange: () => void;
sendReceive(size: Size3, isEnd: boolean): void;
changeSize(size: Size3): void;
onLengthXChange(isEnd?: boolean): any;
onLengthZChange(isEnd?: boolean): any;
onLengthYChange(isEnd?: boolean): any;
onLengthXInputChange(isEnd?: boolean): any;
onLengthZInputChange(isEnd?: boolean): any;
onLengthYInputChange(isEnd?: boolean): any;
createChangeSizeAction(): void;
onOverrideChange(rd: RelativeDirectionEnum): any;
makeConfigureList(): any;
makeUerValueList(): any;
onBlur(): Function;
delayFresh(): void;
onUserVariableChange(code: string): any;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/property/plank/ProductPositionPage" {
import { UiPageSheet } from 'foundation/editor/ui/container/UiPageSheet';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { PlankEntity } from 'sk/editor/logic/entity/PlankEntity';
export type ProductPositionPageState = {
entity: PlankEntity;
};
export class ProductPositionPage extends UiPageSheet {
state: ProductPositionPageState;
protected _actionService: ActionService;
constructor(props?: any, context?: any);
loadEntity(entity: PlankEntity): void;
onPositionChange(dim: any): any;
onRotationChange(dim: any): any;
onBlur(): Function;
delayFresh(): void;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/property/plank/ProductStylePage" {
import { DataNode } from 'foundation/data/common/model/base/DataNode';
import { UiPageSheet } from 'foundation/editor/ui/container/UiPageSheet';
import { UiControlService } from 'foundation/editor/ui/UiControlService';
import { UiWindowService } from 'foundation/editor/ui/UiWindowService';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { DecorateLogicService } from 'sk/data/family/service/DecorateLogicService';
import { ChestChangeSizeAction } from 'sk/editor/scheme/furniture/action/chest/ChestChangeSizeAction';
import { PlankEntity } from 'sk/editor/logic/entity/PlankEntity';
export type ProductStylePageState = {
entity: PlankEntity;
};
export class ProductStylePage extends UiPageSheet {
state: ProductStylePageState;
protected _defaultMax: number;
protected _defaultMin: number;
protected _chestChangeSizeAction: ChestChangeSizeAction;
protected _actionService: ActionService;
protected _decorateService: DecorateLogicService;
protected _windowService: UiWindowService;
protected _controlService: UiControlService;
constructor(props: any, context?: any);
loadEntity(entity: DataNode): void;
makeMaterialItem(): void;
makeSubstrateItem(): void;
getPlankMaterialGuid(plank: PlankEntity): void;
getDefaultPic(): string;
getPlankSubstrateGuid(plank: PlankEntity): void;
onChangeMaterialCallBack(): any;
onChangeSubstrateCallBack(): any;
onClickChangeGrainCd(): any;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/property/PlankProperty" {
import { DataResourceService } from 'foundation/data/common/io/DataResourceService';
import { SelectionService } from 'foundation/editor/base/selection/SelectionService';
import { UiPageControl } from 'foundation/editor/ui/container/UiPageControl';
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { UiControlService } from 'foundation/editor/ui/UiControlService';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { ConfigureLogicService } from 'sk/data/family/service/ConfigureLogicService';
import { PlankEntity } from 'sk/editor/logic/entity/PlankEntity';
import { SpaceEntity } from 'sk/editor/logic/entity/SpaceEntity';
import { ProductBasePage } from "sk/frame/logic/family/family/ui/property/plank/ProductBasePage";
import { ProductPositionPage } from "sk/frame/logic/family/family/ui/property/plank/ProductPositionPage";
import { ProductStylePage } from "sk/frame/logic/family/family/ui/property/plank/ProductStylePage";
export type PlankPropertyState = {
entity: PlankEntity;
firstSpace: SpaceEntity;
secondSpace: SpaceEntity;
substrateList: Array;
materialList: Array;
entitySubstrateGuid: any;
entityMaterialFrontGuid: any;
entityMaterialBackGuid: any;
visible: boolean;
changingName: boolean;
lastName: string;
};
export class PlankProperty extends UiContainer {
state: PlankPropertyState;
protected _pageControl: UiPageControl;
protected _pageBase: ProductBasePage;
protected _pageStyle: ProductStylePage;
protected _pagePosition: ProductPositionPage;
protected _actionService: ActionService;
protected _resourceService: DataResourceService;
protected _controlService: UiControlService;
protected variablesList: any;
protected _configureService: ConfigureLogicService;
protected _selectionService: SelectionService;
constructor(props: any, context?: any);
UNSAFE_componentWillMount(): void;
componentDidMount(): void;
UNSAFE_componentWillUpdate(nextProps: any, nextState: any): void;
syncPage(): void;
onInputChangeName(): any;
createName(): JSX.Element;
selectParent(): any;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/property/ProductInfoPanel" {
import { ListenerContext } from 'cross/runtime/lang/ListenerContext';
import { SelectionEvent } from 'foundation/editor/base/selection/SelectionEvent';
import { SelectionService } from 'foundation/editor/base/selection/SelectionService';
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { UiControlService } from 'foundation/editor/ui/UiControlService';
import { UiWindowService } from 'foundation/editor/ui/UiWindowService';
import { ActionService } from 'foundation/editor/view/action/ActionService';
export type ProductInfoState = {
entity: any;
visible: boolean;
};
export class ProductInfoPanel extends UiContainer {
state: ProductInfoState;
protected _windowService: UiWindowService;
protected _controlService: UiControlService;
protected _selectionService: SelectionService;
protected _actionService: ActionService;
constructor(props: any, context?: any);
UNSAFE_componentWillMount(): void;
componentWillUnmount(): void;
onSelectionChanged(sender: ListenerContext, event: SelectionEvent): void;
onOpenClick(): any;
onDeleteClick(): any;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/property/PropertyPanel" {
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 { UiControlService } from 'foundation/editor/ui/UiControlService';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { TransactionEvent } from 'foundation/editor/view/transaction/TransactionEvent';
import { TransactionService } from 'foundation/editor/view/transaction/TransactionService';
export class PropertyPanelState {
entity: any;
floorplan: any;
globalSettingVisible: boolean;
}
export class PropertyPanel extends UiPanel {
state: PropertyPanelState;
protected _selectionService: SelectionService;
protected _actionService: ActionService;
protected _controlService: UiControlService;
protected _transactionService: TransactionService;
constructor(props: any, context?: any);
UNSAFE_componentWillMount(): void;
componentWillUnmount(): void;
updateGlobalProperty(listener: any, event: any): void;
onSelectionChanged(sender: ListenerContext, event: SelectionEvent): void;
onUndoRedoStateChanged(sender: ListenerContext, event: TransactionEvent): void;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/property/WineLatticeProperty" {
import { ResultObject } from 'cross/runtime/lang/ResultObject';
import { SelectionService } from 'foundation/editor/base/selection/SelectionService';
import { UiContainer, UiContainerState } from 'foundation/editor/ui/core/UiContainer';
import { UiControlService } from 'foundation/editor/ui/UiControlService';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { RuleParameter } from 'sk/data/family/element/config/rule/RuleValueStructureUtil';
import { RuleItemElement } from 'sk/data/family/rule/element/instance/RuleItemElement';
import { FamilyInstanceElement } from 'sk/data/family/element/instance/FamilyInstanceElement';
import { WareNode } from 'sk/data/family/model/instance/WareNode';
import { RuleDocumentService } from 'sk/data/family/rule/RuleDocumentService';
import { RuleTypeDocumentService } from 'sk/data/family/rule/RuleTypeDocumentService';
import { LogicSelectionService } from 'sk/editor/scheme/furniture/core/LogicSelectionService';
export interface WineLatticePropertyState extends UiContainerState {
entity: WareNode;
element: FamilyInstanceElement;
code: string;
ruleTypeId: string;
parameters: Array;
}
export class WineLatticeProperty extends UiContainer {
state: WineLatticePropertyState;
protected _selectionService: SelectionService;
protected _actionService: ActionService;
protected _logicSelectionService: LogicSelectionService;
protected _controlService: UiControlService;
protected _ruleDocumentService: RuleDocumentService;
protected _ruleTypeDocumentService: RuleTypeDocumentService;
UNSAFE_componentWillMount(): void;
private getWineLatticeProperty;
loadRuleParametersAsync(ruleItem: RuleItemElement): Promise;
private makeBaseInfoPanel;
private onBaseInputChange;
private onBaseInputConfirm;
onInputValueChanged: (event: any) => void;
onInputValueConfirm: (event: any) => void;
makeParametersList(parameters: Array): any;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/status/StatusBar3D" {
import { ObserverModeEnum } from 'foundation/data/common/model/brep/ObserverModeEnum';
import { UiControl } from 'foundation/editor/ui/core/UiControl';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { CustomizedViewEnum } from 'sk/editor/scheme/furniture/frame/CustomizedViewEnum';
export type StatusBarState = {
modeCd: ObserverModeEnum;
isLock: boolean;
};
export class StatusBar3D extends UiControl {
state: StatusBarState;
protected _viewCd: CustomizedViewEnum;
protected _actionService: ActionService;
constructor(props: any, context?: any);
UNSAFE_componentWillMount(): void;
isCameraMode(modeCd: ObserverModeEnum): boolean;
isCameraStyle(styleCd: any): boolean;
onResetView(): any;
onCameraMode(modeCd: ObserverModeEnum): any;
onCameraStyle(styleCd: any): any;
onLock(): any;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/view/ViewCustomizedPanel" {
import { ListenerContext } from 'cross/runtime/lang/ListenerContext';
import { Listeners } from 'cross/runtime/lang/Listeners';
import { LogicEvent } from 'foundation/core/module/logic/LogicEvent';
import { UiPanel } from 'foundation/editor/ui/container/UiPanel';
import { ComponentLogicService } from 'sk/data/family/service/ComponentLogicService';
import { ComponentLogicUnit } from 'sk/data/family/service/ComponentLogicUnit';
export class ViewCustomizedPanel extends UiPanel {
state: {
groups: any[];
};
selectComponent: any;
lsnsSelectChange: Listeners;
protected _componentService: ComponentLogicService;
constructor(props: any, context?: any);
componentSort(value1: any, value2: any): any;
getIconClass(type: string): string;
makeComponentTypeList(components: Array): Array;
onLoadConfig(sender: ListenerContext, event: LogicEvent): void;
onItemClick(): any;
onCreateClick(): any;
onSaveClick(): any;
onDeleteClick(): any;
onSearchChange(): any;
componentDidMount(): void;
onUnexpand(): Function;
onExpand(): Function;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/view/CustomizedOrthogonalContainer" {
import { ListenerContext } from 'cross/runtime/lang/ListenerContext';
import { Listeners } from 'cross/runtime/lang/Listeners';
import { LogicEvent } from 'foundation/core/module/logic/LogicEvent';
import { UiPanel } from 'foundation/editor/ui/container/UiPanel';
export class CustomizedOrthogonalContainer extends UiPanel {
state: {
mode: string;
};
selectComponent: any;
lsnsSelectChange: Listeners;
viewPanel: any;
constructor(props: any, context?: any);
componentSort(value1: any, value2: any): any;
onLoadConfig(sender: ListenerContext, event: LogicEvent): void;
onCreateClick(): any;
onSaveClick(): any;
onDeleteClick(): any;
onSearchChange(): any;
componentDidMount(): void;
onDataPanelMinimum(): void;
onDataPanelMaximum(): void;
onUnexpand(): any;
onExpand(): any;
resetViewSize(): void;
setVisible(visible: boolean): void;
switch2DMode(mode: any): void;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/view/ViewOperateBar" {
import { NumberTimelineAction } from 'foundation/runtime/graphics/timeline/action/NumberTimelineAction';
import { ObserverModeEnum } from 'foundation/data/common/model/brep/ObserverModeEnum';
import { UiContainer } from 'foundation/editor/ui/core/UiContainer';
import { ActionService } from 'foundation/editor/view/action/ActionService';
export type ViewOperateBarState = {
isLock: boolean;
};
export class ViewOperateBar extends UiContainer {
state: ViewOperateBarState;
protected _viewCd: string;
protected _lastCameraModeCd: ObserverModeEnum;
protected _boomAction: NumberTimelineAction;
protected _actionService: ActionService;
constructor(props: any, context?: any);
isCameraMode(modeCd: ObserverModeEnum): boolean;
isCameraStyle(styleCd: any): boolean;
onResetView(): any;
onCameraMode(modeCd: ObserverModeEnum): any;
doCameraStyle(styleCd: any): any;
dirtyCustomizedBlueprint(): any;
onLock(): any;
doBoomChange(): any;
getPositionScale(): number;
onTechniqueClick(): any;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/view/CustomizedViewContainer" {
import { ListenerContext } from 'cross/runtime/lang/ListenerContext';
import { Listeners } from 'cross/runtime/lang/Listeners';
import { LogicEvent } from 'foundation/core/module/logic/LogicEvent';
import { UiPanel } from 'foundation/editor/ui/container/UiPanel';
export class CustomizedViewContainer extends UiPanel {
state: {
mode: string;
};
selectComponent: any;
lsnsSelectChange: Listeners;
viewPanel: any;
constructor(props: any, context?: any);
componentSort(value1: any, value2: any): any;
onLoadConfig(sender: ListenerContext, event: LogicEvent): void;
onCreateClick(): any;
onSaveClick(): any;
onDeleteClick(): any;
onSearchChange(): any;
componentDidMount(): void;
onDataPanelMinimum(): void;
onDataPanelMaximum(): void;
onUnexpand(): any;
onExpand(): any;
resetViewSize(): void;
setVisible(visible: boolean): void;
switch2DMode(mode: any): void;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/view/ViewOrthogonalPanel" {
import { ListenerContext } from 'cross/runtime/lang/ListenerContext';
import { Listeners } from 'cross/runtime/lang/Listeners';
import { LogicEvent } from 'foundation/core/module/logic/LogicEvent';
import { UiPanel } from 'foundation/editor/ui/container/UiPanel';
import { ComponentLogicService } from 'sk/data/family/service/ComponentLogicService';
import { ComponentLogicUnit } from 'sk/data/family/service/ComponentLogicUnit';
export class ViewOrthogonalPanel extends UiPanel {
state: {
groups: any[];
};
selectComponent: any;
lsnsSelectChange: Listeners;
protected _componentService: ComponentLogicService;
constructor(props: any, context?: any);
componentSort(value1: any, value2: any): any;
getIconClass(type: string): string;
makeComponentTypeList(components: Array): Array;
onLoadConfig(sender: ListenerContext, event: LogicEvent): void;
onItemClick(): any;
onCreateClick(): any;
onSaveClick(): any;
onDeleteClick(): any;
onSearchChange(): any;
componentDidMount(): void;
onUnexpand(): any;
onExpand(): any;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/window/DecorateItem" {
import { ListenerContext } from 'cross/runtime/lang/ListenerContext';
import { LogicEvent } from 'foundation/core/module/logic/LogicEvent';
import { UiControl } from 'foundation/editor/ui/core/UiControl';
import { UiDesktopService } from 'foundation/editor/ui/desktop/UiDesktopService';
import { ComponentLogicService } from 'sk/data/family/service/ComponentLogicService';
export type HouseTypeItemState = {
data: any;
};
export class DecorateItem extends UiControl {
state: HouseTypeItemState;
clickHandle: any;
favouriteHandle: any;
deleteHandle: any;
protected _componentService: ComponentLogicService;
protected _desktopService: UiDesktopService;
constructor(props: any, context?: any);
UNSAFE_componentWillMount(): void;
onClick(): any;
onFavouriteClick(): any;
onDeleteSuccess(sender: ListenerContext, event: LogicEvent): void;
onDeleteClick(): any;
onImageError(): any;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/window/DecorateListWindow" {
import { ListenerContext } from 'cross/runtime/lang/ListenerContext';
import { LogicEvent } from 'foundation/core/module/logic/LogicEvent';
import { UiWindow } from 'foundation/editor/ui/core/UiWindow';
import { UiControlService } from 'foundation/editor/ui/UiControlService';
import { ActionService } from 'foundation/editor/view/action/ActionService';
import { PlankEntity } from 'sk/editor/logic/entity/PlankEntity';
import { DataItem } from "sk/frame/logic/family/family/ui/components/DataItem";
export type DecorateState = {
type: string;
name: string;
plankList: Array;
entity: any;
guid: string;
decorate: any;
currentItem: DataItem;
serachStr: string;
};
export class DecorateListWindow extends UiWindow {
state: DecorateState;
protected _controlService: UiControlService;
protected _actionService: ActionService;
onComfirmCb: Function;
constructor(props: any, context?: any);
setData(data: any): void;
onListSuccess(sender: ListenerContext, event: LogicEvent): void;
onConfirmClick: () => void;
changeMaterial(materialGuid: string): void;
changeSubstrate(substrateGuid: string): void;
onItemClick(): any;
makeMaterialItem(): Array;
onMaterialItemClick(): any;
makeSubstrateItem(): Array;
onSubstrateItemClick(): any;
getDefaultPic(): string;
onSearchClick(): any;
onTextChange(): any;
getItem(): Array;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/window/DecorateUpLineWindow" {
import { UiWindow } from 'foundation/editor/ui/core/UiWindow';
import { UiControlService } from 'foundation/editor/ui/UiControlService';
import { ActionService } from 'foundation/editor/view/action/ActionService';
export type DecorateUpLine = {
type: number;
entity: any;
height: number;
width: number;
roundType: boolean;
triangleType: boolean;
isClose: boolean;
picVersion: string;
picSubstrate: string;
picMaterial: string;
versionHide: string;
substrateHide: string;
materialHide: string;
};
export class DecorateUpLineWindow extends UiWindow {
state: DecorateUpLine;
protected _actionService: ActionService;
protected _controlService: UiControlService;
protected _selectCallback: Function;
constructor(props: any, context?: any);
UNSAFE_componentWillMount(): void;
onConfirmClick(): any;
closeWindow(): any;
onChangeCrossHeight(): any;
onChangeCrossWidth(): any;
onChangeWay(): any;
onChangeClose(): any;
onChangeType(): any;
loadData(pic: any): void;
onSetupClick(type: any): any;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/window/DecorateWindow" {
import { ListenerContext } from 'cross/runtime/lang/ListenerContext';
import { LogicEvent } from 'foundation/core/module/logic/LogicEvent';
import { UiWindow } from 'foundation/editor/ui/core/UiWindow';
import { UiDesktopService } from 'foundation/editor/ui/desktop/UiDesktopService';
import { DecorateLogicService } from 'sk/data/family/service/DecorateLogicService';
import { DecorateUnit } from 'sk/data/family/service/DecorateUnit';
export class DecorateWindow extends UiWindow {
state: {
data: DecorateUnit;
currentTable: any;
};
data: any[];
relationLogicData: any[];
confirmCallBack: any;
protected _decorateLogicService: DecorateLogicService;
protected _desktopService: UiDesktopService;
constructor(props: any, context?: any);
editor(unit: DecorateUnit, confirmCallBack: Function): void;
onGetRelationListSuccess(listen: ListenerContext, event: LogicEvent): void;
onDecorateSubstrateSuccess(listen: ListenerContext, event: LogicEvent): void;
onMaterialLogicSuccess(listen: ListenerContext, event: LogicEvent): void;
onEdgeLogicSuccess(listen: ListenerContext, event: LogicEvent): void;
loadData(): void;
onConfirmClick(): any;
isMeetStandard(): boolean;
updateSuccess(sender: ListenerContext, event: LogicEvent): void;
bindingTextureSuccess(sender: ListenerContext, event: LogicEvent): void;
onSelectChange(): any;
onCancelClick(): any;
onChangeName(): any;
onChangeCode(): any;
onDefaultChange(): any;
render(): JSX.Element;
}
}
declare module "sk/frame/logic/family/family/ui/window/ProductInfoWindow" {
import { ListenerContext } from 'cross/runtime/lang/ListenerContext';
import { SelectionEvent } from 'foundation/editor/base/selection/SelectionEvent';
import { SelectionService } from 'foundation/editor/base/selection/SelectionService';
import { UiWindow } from 'foundation/editor/ui/core/UiWindow';
import { ActionService } from 'foundation/editor/view/action/ActionService';
export type ProductPropertyState = {
entity: any;
visible: boolean;
};
export class ProductInfoWindow extends UiWindow {
state: ProductPropertyState;
protected _actionService: ActionService;
protected _selectionService: SelectionService;
constructor(props: any, context?: any);
UNSAFE_componentWillMount(): void;
onSelectionIsSelected(sender: ListenerContext, event: SelectionEvent): void;
render(): JSX.Element;
}
}