UNPKG

wdpapi

Version:

51WORLD WdpApi is a set of programming interfaces developed by JavaScript that is responsible for negotiating between web pages and cloud rendering platforms. Supported by 51Cloud rendering platform, it enables the users to create any HTML5 UI element on

153 lines (152 loc) 4.39 kB
import { eventType } from '../modules/common/data-type'; interface IErr extends IVisible2D { notObj: string; notObj2: string; notObj3: string; keyErr: string; eidErr: string; nameErr: string; customIdErr: string; customDataErr: string; locationErr: string; locationErr2: string; rotatorErr: string; rotatorErr2: string; scale3dErr: string; scale3dErr2: string; bVisible: string; calculateCoordZ: string; coordZRef: string; coordZRef2: string; coordZOffset: string; } interface IVisible2D { visible2DErr: string; cameraErr: string; hideDistanceErr: string; hideDistanceErr2: string; hideTypeErr: string; hideTypeErr2: string; scaleModeErr: string; scaleModeErr2: string; interactionErr: string; clickTopErr: string; hoverTopErr: string; } /** * @public * @class GlobalState */ export declare class GlobalState { private static globalInstance; private validate; private errEvent; static apiCRS: string; static sceneCRS: string; static coordType: string; static particleType: Array<string>; static columnarheatmapType: Array<string>; static heatmapType: Array<string>; static roadHeatMapType: Array<string>; static parabolaType: Array<string>; static pathType: Array<string>; static rangeType: Array<string>; static rangeFillAreaType: Array<string>; static rasterType: Array<string>; static text3DType: Array<string>; static text3DShapeType: Array<string>; static shapeType: Array<string>; static snapModeType: Array<string>; static samplerType: Array<string>; static gridType: Array<string>; static controlModeType: Array<string>; static sceneWeather: Array<string>; static directionType: Array<string>; static directionType2: Array<string>; static stateType: Array<string>; static modeType: Array<string>; static coordZRefType: Array<string>; static editormodeType: Array<string>; static gizmoStateType: Array<string>; static gizmoCoordinateSystemType: Array<string>; static editModeType: Array<string>; static rendererModeType: Array<string>; static selectModeType: Array<string>; static updateType: Array<string>; static baseType: Array<string>; static sideType: Array<string>; static fenceType: Array<string>; static waterType: Array<string>; static layersType: Array<string>; static settingMode: Array<string>; static coordTypes: Array<string>; static riverType: Array<string>; static stateReset: Array<string>; static stateResetLimit: Array<string>; static cameraStepMove: Array<string>; static cameraStepRotate: Array<string>; static sceneStyle: Array<string>; static modelerFenceType: Array<string>; static innerMatNameType: Array<string>; static outerMatNameType: Array<string>; static ArrayDuplicateCoordType: Array<string>; static anchorsType: Array<string>; static alphaType: Array<string>; static labelContentJustificationType: Array<string>; static bgOverlapType: Array<string>; static scrollPolicyType: Array<string>; /** * @public * @static * @function getInstance * @returns {GlobalState | null} */ static getInstance(): GlobalState | null; /** * @public * @function GetCommonErr * @returns {Record<string, string>} */ GetCommonErr(): Record<string, string>; /** * @public * @function getErrorTxt * @returns {IErr} */ getErrorTxt(): IErr; /** * @public * @function GetValiDateState * @returns {boolean} */ GetValiDateState(): boolean; /** * @public * @function SetValiDateState * @param {boolean} v * @returns {void} */ SetValiDateState(v: boolean): void; /** * @public * @function Register * @param {Array<eventType>} events * @returns {void} */ Register(events: Array<eventType>): void; /** * @public * @function GetEvent * @param {string} name * @returns {eventType | undefined} */ GetEvent(name: string): eventType | undefined; /** * @public * @function RemoveEvent * @param {Array<string>} events * @returns {void} */ RemoveEvent(events: Array<string>): void; } export {};