更新版本
This commit is contained in:
57
types/Add-on/DrawLight/LightBoxModal.d.ts
vendored
Normal file
57
types/Add-on/DrawLight/LightBoxModal.d.ts
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
import { NumericInput } from "@blueprintjs/core";
|
||||
import React from "react";
|
||||
import { Vector3 } from "three";
|
||||
import { Light } from "../../DatabaseServices/Lights/Light";
|
||||
import { BoardModalType } from "../../UI/Components/Board/BoardModalType";
|
||||
import { PropertiesStore } from "../../UI/Components/ToolBar/PropertiesStore";
|
||||
import { LightStore } from "../../UI/Store/RightPanelStore/LightStore";
|
||||
import './LightBoxModel.less';
|
||||
interface LightBoxModelProps {
|
||||
store: PropertiesStore;
|
||||
}
|
||||
export declare class LightBoxModel extends React.Component<LightBoxModelProps, {}> {
|
||||
render(): JSX.Element;
|
||||
}
|
||||
interface LightConfigModelProps {
|
||||
store: LightStore;
|
||||
lightType: BoardModalType;
|
||||
lights: LightStore[];
|
||||
}
|
||||
interface ILightProperty {
|
||||
Target: Vector3;
|
||||
ShowHelper: boolean;
|
||||
CaseShadow: boolean;
|
||||
Color: string;
|
||||
Temperature: string;
|
||||
}
|
||||
export declare class LightModel extends React.Component<LightConfigModelProps, {}> {
|
||||
_Target: string;
|
||||
_Position: string;
|
||||
private removeFuncs;
|
||||
private coolTime;
|
||||
handleSelectTarget: (light: Light, isDirection?: boolean) => Promise<void>;
|
||||
private SyncLight;
|
||||
changeLightSettings: (propertyName: keyof ILightProperty, propertyValue: ILightProperty[keyof ILightProperty]) => void;
|
||||
render(): JSX.Element;
|
||||
}
|
||||
export declare class UseInputAndSlider extends React.Component<{
|
||||
pars: string[];
|
||||
store: LightStore;
|
||||
max: number;
|
||||
isFloat: boolean;
|
||||
min: number;
|
||||
scale: number;
|
||||
noLim: boolean;
|
||||
lights: LightStore[];
|
||||
}, {}> {
|
||||
OldData: number;
|
||||
private coolTime;
|
||||
_InputRef: React.RefObject<NumericInput>;
|
||||
private SyncLight;
|
||||
handleLightDataUpdate(store: LightStore, value: string): void;
|
||||
SetValue(value: string): Promise<void>;
|
||||
changeLightSliderSettings: (propertyName: any, propertyValue: any) => void;
|
||||
render(): JSX.Element;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=LightBoxModal.d.ts.map
|
1
types/Add-on/DrawLight/LightBoxModal.d.ts.map
Normal file
1
types/Add-on/DrawLight/LightBoxModal.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"LightBoxModal.d.ts","sourceRoot":"","sources":["../../../../src/Add-on/DrawLight/LightBoxModal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkE,YAAY,EAA+D,MAAM,mBAAmB,CAAC;AAG9K,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAa,OAAO,EAAE,MAAM,OAAO,CAAC;AAU3C,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAQ5D,OAAO,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAE1E,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,2CAA2C,CAAC;AAEvE,OAAO,sBAAsB,CAAC;AAE9B,UAAU,kBAAkB;IAExB,KAAK,EAAE,eAAe,CAAC;CAC1B;AAGD,qBACa,aAAc,SAAQ,KAAK,CAAC,SAAS,CAAC,kBAAkB,EAAE,EAAE,CAAC;IAEtE,MAAM;CAwCT;AAED,UAAU,qBAAqB;IAE3B,KAAK,EAAE,UAAU,CAAC;IAClB,SAAS,EAAE,cAAc,CAAC;IAC1B,MAAM,EAAE,UAAU,EAAE,CAAC;CACxB;AACD,UAAU,cAAc;IAEpB,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,qBACa,UAAW,SAAQ,KAAK,CAAC,SAAS,CA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