@idmwx/idmui-gl2-h5
Version:
idm webgl
64 lines (63 loc) • 2.32 kB
TypeScript
export default _sfc_main;
declare namespace _sfc_main {
const name: string;
namespace props {
namespace map {
const type: ObjectConstructor;
}
namespace tropicals {
const type_1: ObjectConstructor;
export { type_1 as type };
}
namespace date {
const type_2: StringConstructor;
export { type_2 as type };
}
}
const emits: string[];
function data(): {
source: string;
clusterSource: string;
historyLayer: string;
forecastLayer: string;
forecastModelLayer: string;
forecastNameLayer: string;
pointCircleLayer: string;
pointLabelLayer: string;
historyPointCircleLayer: string;
historyPointLabelLayer: string;
interpolateData: never[];
interpolateMarkers: never[];
interpolateSource: string;
interpolateLineLayer: string;
showTropicals: boolean;
activeTropicals: undefined;
activeTropicalsMarker: undefined;
empty: turf.helpers.FeatureCollection<turf.helpers.Geometry, turf.helpers.Properties>;
};
namespace computed {
function computeTime(): (time: any) => string;
function computeBF(): (kts: any) => number;
function computeMovement(): (activeTropicals: any) => any;
}
const watch: {
showTropicals: {
handler(): void;
immediate: boolean;
};
'tropicals.version': {
handler(): void;
};
};
namespace methods {
function handleInit(): void;
function handleRender(): void;
function handleClear(): void;
function handleDateChange(): void;
function handleClick(event: any): void;
function handleForecastToggle(forecast: any): void;
function handleComputePolygons(points: any): (turf.helpers.Feature<turf.helpers.MultiPolygon, turf.helpers.Properties> | turf.helpers.Feature<turf.helpers.Polygon, turf.helpers.Properties>)[];
function handleComputeArc(center: any, radius: any, properties: any): turf.helpers.Feature<turf.helpers.MultiPolygon, turf.helpers.Properties> | turf.helpers.Feature<turf.helpers.Polygon, turf.helpers.Properties>;
}
}
import * as turf from '@turf/turf';