更新代码
This commit is contained in:
5
types/Add-on/ShareView/Command_ShareView.d.ts
vendored
Normal file
5
types/Add-on/ShareView/Command_ShareView.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Command } from "../../Editor/CommandMachine";
|
||||
export declare class Command_ShareView implements Command {
|
||||
exec(): Promise<void>;
|
||||
}
|
||||
//# sourceMappingURL=Command_ShareView.d.ts.map
|
1
types/Add-on/ShareView/Command_ShareView.d.ts.map
Normal file
1
types/Add-on/ShareView/Command_ShareView.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Command_ShareView.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/ShareView/Command_ShareView.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAWtD,qBAAa,iBAAkB,YAAW,OAAO;IAEvC,IAAI;CAiJb"}
|
22
types/Add-on/ShareView/ShareViewRules.d.ts
vendored
Normal file
22
types/Add-on/ShareView/ShareViewRules.d.ts
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
import { CommandNames } from "../../Common/CommandNames";
|
||||
import { RenderType } from "../../GraphicsSystem/RenderType";
|
||||
import { ViewDirection } from "../../UI/Store/OptionInterface/OptionEnum";
|
||||
export declare const ViewAngleTypes: {
|
||||
command: CommandNames;
|
||||
name: string;
|
||||
viewDirection: ViewDirection;
|
||||
}[];
|
||||
export declare function getViewStyleTypes(mode: string): {
|
||||
title: string;
|
||||
cmd: CommandNames;
|
||||
renderType: RenderType;
|
||||
}[] | {
|
||||
title: string;
|
||||
renderType: RenderType;
|
||||
}[];
|
||||
export declare const ViewStyleTypes: {
|
||||
title: string;
|
||||
cmd: CommandNames;
|
||||
renderType: RenderType;
|
||||
}[];
|
||||
//# sourceMappingURL=ShareViewRules.d.ts.map
|
1
types/Add-on/ShareView/ShareViewRules.d.ts.map
Normal file
1
types/Add-on/ShareView/ShareViewRules.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ShareViewRules.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/ShareView/ShareViewRules.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAG1E,eAAO,MAAM,cAAc;;;;GAoC1B,CAAC;AAIF,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM;;;;;;;IAoB7C;AAED,eAAO,MAAM,cAAc;;;;GAoC1B,CAAC"}
|
71
types/Add-on/ShareView/ShareViewStore.d.ts
vendored
Normal file
71
types/Add-on/ShareView/ShareViewStore.d.ts
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
import { Singleton } from "../../Common/Singleton";
|
||||
import { Board } from "../../DatabaseServices/Entity/Board";
|
||||
import { CameraType } from "../../GraphicsSystem/CameraUpdate";
|
||||
import { RenderType } from "../../GraphicsSystem/RenderType";
|
||||
import { IConfigOption } from "../../UI/Components/Board/UserConfigComponent";
|
||||
import { IConfigStore } from '../../UI/Store/BoardStore';
|
||||
import { ShareBoardInfConfigurationOption } from "../../UI/Store/OptionInterface/IOptionInterface";
|
||||
interface IProps {
|
||||
showBom?: boolean;
|
||||
Physical2EdgeColor?: number;
|
||||
VisualStyle?: RenderType;
|
||||
boardCustomNumberTextHeight?: number;
|
||||
}
|
||||
interface IOperations {
|
||||
showDoor: boolean;
|
||||
showDrawer: boolean;
|
||||
showExplosion: boolean;
|
||||
showCustomNumber: boolean;
|
||||
showDimension: boolean;
|
||||
isDoorOpen: boolean;
|
||||
showCylinderHole: boolean;
|
||||
}
|
||||
/**
|
||||
* 漫游功能开关,二进制
|
||||
*/
|
||||
export declare enum RoamingSwitches {
|
||||
Default = 0,
|
||||
/**
|
||||
* 摆件显示
|
||||
*/
|
||||
Decoration = 1,
|
||||
EnvMap = 4
|
||||
}
|
||||
export declare class ShareViewStore extends Singleton implements IConfigStore {
|
||||
CurSelectCabinetIndexs: number[];
|
||||
RoomName: string;
|
||||
SelectedBoard: Board;
|
||||
ViewIDErrorMsg: string;
|
||||
showLight: boolean;
|
||||
/** 相机类型 */
|
||||
CameraType: CameraType;
|
||||
Theme: 'light' | 'dark' | string;
|
||||
ThemeLog: 'light' | 'dark' | string;
|
||||
/** 是否处于户型漫游模式 */
|
||||
HouseRoamingMode: boolean;
|
||||
/**
|
||||
* 漫游功能开关
|
||||
*/
|
||||
HouseRoamingSwitches: RoamingSwitches;
|
||||
/**
|
||||
* 漫游模式渲染模式
|
||||
*/
|
||||
HouseRoamingRenderType: RenderType;
|
||||
/** 用户调整的横屏视野 */
|
||||
userFovLandscape: number;
|
||||
/** 用户调整的竖屏视野 */
|
||||
userFovPortrait: number;
|
||||
Props: IProps;
|
||||
m_Option: ShareBoardInfConfigurationOption;
|
||||
viewUploadProps: ShareBoardInfConfigurationOption;
|
||||
configName: string;
|
||||
HasInvailValue(): "" | "有效天数必须是大于0的整数";
|
||||
SaveConfig(): IConfigOption<import("../../UI/Store/OptionInterface/IOptionInterface").AnyObject>;
|
||||
configsNames: string[];
|
||||
InitOption(): void;
|
||||
UpdateOption(cof: IConfigOption<ShareBoardInfConfigurationOption>): void;
|
||||
/** 隐蔽组件按钮操作 */
|
||||
operations: IOperations;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=ShareViewStore.d.ts.map
|
1
types/Add-on/ShareView/ShareViewStore.d.ts.map
Normal file
1
types/Add-on/ShareView/ShareViewStore.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ShareViewStore.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/ShareView/ShareViewStore.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAE5D,OAAO,EAAE,UAAU,EAAE,MAAM,mC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EAAE,UAAU,CAAwB;IAEtE,gBAAgB;IACJ,gBAAgB,EAAE,MAAM,CAAM;IAE1C,gBAAgB;IACJ,eAAe,EAAE,MAAM,CAAM;IAG7B,KAAK,EAAE,MAAM,CAAM;IAEnB,QAAQ,EAAE,gCAAgC,CAA2C;IAErF,eAAe,EAAE,gCAAgC,CAA2C;IAE5F,UAAU,SAAQ;IAE9B,cAAc;IAOd,UAAU;IAQE,YAAY,EAAE,MAAM,EAAE,CAAM;IACxC,UAAU;IAIV,YAAY,CAAC,GAAG,EAAE,aAAa,CAAC,gCAAgC,CAAC;IAUjE,eAAe;IACH,UAAU,EAAE,WAAW,CAQjC;CACL"}
|
14
types/Add-on/ShareView/components/ColorSelect.d.ts
vendored
Normal file
14
types/Add-on/ShareView/components/ColorSelect.d.ts
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
/// <reference types="react" />
|
||||
import "./ColorSelect.css";
|
||||
export type SelectOption = {
|
||||
label: string | number;
|
||||
value: string | number | any;
|
||||
};
|
||||
type SelectProps = {
|
||||
onChange: (value: number) => void;
|
||||
options: SelectOption[];
|
||||
value: number;
|
||||
};
|
||||
export declare function ColorSelect({ value, onChange, options }: SelectProps): JSX.Element;
|
||||
export {};
|
||||
//# sourceMappingURL=ColorSelect.d.ts.map
|
1
types/Add-on/ShareView/components/ColorSelect.d.ts.map
Normal file
1
types/Add-on/ShareView/components/ColorSelect.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ColorSelect.d.ts","sourceRoot":"","sources":["../../../../../src/Add-on/ShareView/components/ColorSelect.tsx"],"names":[],"mappings":";AACA,OAAO,mBAAmB,CAAC;AAE3B,MAAM,MAAM,YAAY,GAAG;IACvB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,GAAG,CAAC;CAChC,CAAC;AAEF,KAAK,WAAW,GAAG;IACf,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,WAAW,eA4GpE"}
|
13
types/Add-on/ShareView/components/ShareBoardInfoConfiguration.d.ts
vendored
Normal file
13
types/Add-on/ShareView/components/ShareBoardInfoConfiguration.d.ts
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import React from "react";
|
||||
import { ShareViewStore } from "../ShareViewStore";
|
||||
import "./ShareBoradModal.less";
|
||||
export declare class ShareBoardInfoConfiguration extends React.Component<{
|
||||
store: ShareViewStore;
|
||||
}, {}> {
|
||||
_RemoveFun: Function;
|
||||
componentDidMount(): void;
|
||||
componentWillUnmount(): void;
|
||||
BoardAndHadrwareToaster(): void;
|
||||
render(): JSX.Element;
|
||||
}
|
||||
//# sourceMappingURL=ShareBoardInfoConfiguration.d.ts.map
|
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ShareBoardInfoConfiguration.d.ts","sourceRoot":"","sources":["../../../../../src/Add-on/ShareView/components/ShareBoardInfoConfiguration.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,OAAO,wBAAwB,CAAC;AAEhC,qBACa,2BAA4B,SAAQ,KAAK,CAAC,SAAS,CAAC;IAAE,KAAK,EAAE,cAAc,CAAC;CAAE,EAAE,EAAE,CAAC;IAE5F,UAAU,EAAE,QAAQ,CAAC;IAErB,iBAAiB;IAUjB,oBAAoB;IAKpB,uBAAuB;IASvB,MAAM;CA2HT"}
|
Reference in New Issue
Block a user