back-testing-react 2.1.0 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +39 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/back-testing-stepper/steps/input-anemometer/input-anemometer.tsx +2 -1
- package/src/components/back-testing-stepper/steps/input-anemometer/input-anemometer.types.ts +3 -2
- package/src/components/back-testing-stepper/steps/input-cias/input-cias.tsx +2 -1
- package/src/components/back-testing-stepper/steps/input-proxy/input-proxy.tsx +2 -1
- package/src/components/back-testing-stepper/steps/input-proxy/input-proxy.types.ts +2 -2
- package/src/components/back-testing-stepper/steps/step.types.ts +1 -5
- package/src/components/back-testing-wizard/index.ts +6 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { Geometry, Point } from 'geojson';
|
|
3
3
|
|
|
4
4
|
interface BackTestingCatLegendProps {
|
|
5
5
|
className?: string;
|
|
@@ -17,7 +17,44 @@ declare enum PayoutWizardStepType {
|
|
|
17
17
|
DISPLAY_PAYOUTS = "__display_payouts",
|
|
18
18
|
SIMPLIFIED_INPUT_LOCATION = "__simplified_input_location"
|
|
19
19
|
}
|
|
20
|
+
declare enum RadioChoice {
|
|
21
|
+
DEFAULT = "__default",
|
|
22
|
+
CUSTOM = "__custom"
|
|
23
|
+
}
|
|
20
24
|
|
|
25
|
+
interface CATShape {
|
|
26
|
+
refId: string;
|
|
27
|
+
type: ShapeType;
|
|
28
|
+
payoutTableRefId: string | undefined;
|
|
29
|
+
file: File | undefined;
|
|
30
|
+
fileError: boolean;
|
|
31
|
+
fileErrorMsg: string;
|
|
32
|
+
customPayouts: Payout[] | undefined;
|
|
33
|
+
ciasChoice: RadioChoice;
|
|
34
|
+
}
|
|
35
|
+
interface CATCounty extends CATShape {
|
|
36
|
+
geometry: Geometry | undefined;
|
|
37
|
+
countyFIPSCode: string | undefined;
|
|
38
|
+
countyError: boolean;
|
|
39
|
+
countyErrorMsg: string;
|
|
40
|
+
}
|
|
41
|
+
interface CATCircle extends CATShape {
|
|
42
|
+
locationRefId: string | undefined;
|
|
43
|
+
radius: number;
|
|
44
|
+
radiusError: boolean;
|
|
45
|
+
radiusErrorMsg: string;
|
|
46
|
+
latitude: number | undefined;
|
|
47
|
+
latError: boolean;
|
|
48
|
+
latErrorMsg: string;
|
|
49
|
+
longitude: number | undefined;
|
|
50
|
+
lngError: boolean;
|
|
51
|
+
lngErrorMsg: string;
|
|
52
|
+
}
|
|
53
|
+
interface CATPolygon extends CATShape {
|
|
54
|
+
coords: Coordinate[];
|
|
55
|
+
coordsError: boolean;
|
|
56
|
+
coordsErrorMsg: string;
|
|
57
|
+
}
|
|
21
58
|
declare enum CATShapeType {
|
|
22
59
|
CIRCLE = "__circle",
|
|
23
60
|
POLYGON = "__polygon",
|
|
@@ -288,4 +325,4 @@ interface BackTestingWizardProps {
|
|
|
288
325
|
|
|
289
326
|
declare function BackTestingWizard(props: BackTestingWizardProps): react_jsx_runtime.JSX.Element;
|
|
290
327
|
|
|
291
|
-
export { type AnemometerRequest, BackTestingCatLegend, BackTestingWizard, type CIASRequest, type EQPayoutDTO, type EQPayoutsRequest, type EQPayoutsResponse, type PGADTO, type ProxyRequest, type StormPayout, type WSPayoutRequest, type WSPayoutResponse };
|
|
328
|
+
export { type AnemometerRequest, BackTestingCatLegend, BackTestingWizard, type CATCircle, type CATCounty, type CATPolygon, type CATShape, CATShapeType, type CIASRequest, type EQPayoutDTO, type EQPayoutsRequest, type EQPayoutsResponse, type PGADTO, type Payout, type PayoutDetails, PayoutWizardStepType, type ProxyRequest, type StormPayout, type WSPayoutRequest, type WSPayoutResponse, WeatherEventOption, type WizardAnemometer, type WizardCIAS, type WizardLocation, type WizardPGA, type WizardProxy, WizardView };
|