back-testing-react 2.1.1 → 2.1.3
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 +48 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/back-testing-hub/index.ts +3 -1
- package/src/components/back-testing-map/index.ts +4 -0
- package/src/components/back-testing-sidebar/index.ts +2 -0
- package/src/components/back-testing-stepper/index.ts +2 -0
- package/src/components/back-testing-stepper/steps/input-anemometer/input-anemometer.types.ts +3 -2
- 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-wizard/index.ts +2 -5
- package/src/components/index.ts +3 -1
package/dist/index.d.ts
CHANGED
|
@@ -203,6 +203,51 @@ declare enum WeatherEventOption {
|
|
|
203
203
|
HAIL = "__hail"
|
|
204
204
|
}
|
|
205
205
|
|
|
206
|
+
interface BackTestingHubProps {
|
|
207
|
+
apiAccessToken: string;
|
|
208
|
+
mapAccessToken: string;
|
|
209
|
+
env: 'dev' | 'uat' | 'prod';
|
|
210
|
+
view?: WizardView;
|
|
211
|
+
limit?: number;
|
|
212
|
+
locations?: WizardLocation[];
|
|
213
|
+
proxies?: WizardProxy[];
|
|
214
|
+
anemometers?: WizardAnemometer[];
|
|
215
|
+
cias?: WizardCIAS[];
|
|
216
|
+
pgas?: WizardPGA[];
|
|
217
|
+
selectedProxyPayoutOptionIndex: number;
|
|
218
|
+
proxyPayoutOptions: {
|
|
219
|
+
key: string;
|
|
220
|
+
value: Payout[];
|
|
221
|
+
}[];
|
|
222
|
+
selectedAnemometerPayoutOptionIndex: number;
|
|
223
|
+
anemometerPayoutOptions: {
|
|
224
|
+
key: string;
|
|
225
|
+
value: Payout[];
|
|
226
|
+
}[];
|
|
227
|
+
selectedCiacPayoutOptionIndex: number;
|
|
228
|
+
ciacPayoutOptions: {
|
|
229
|
+
key: string;
|
|
230
|
+
value: Payout[];
|
|
231
|
+
}[];
|
|
232
|
+
selectedPgaPayoutOptionIndex: number;
|
|
233
|
+
pgaPayoutOptions: {
|
|
234
|
+
key: string;
|
|
235
|
+
value: Payout[];
|
|
236
|
+
}[];
|
|
237
|
+
displaySidebar?: boolean;
|
|
238
|
+
displaySidepanel?: boolean;
|
|
239
|
+
weatherEvent?: WeatherEventOption;
|
|
240
|
+
windstormEnabled?: boolean;
|
|
241
|
+
earthquakeEnabled?: boolean;
|
|
242
|
+
floodEnabled?: boolean;
|
|
243
|
+
fireEnabled?: boolean;
|
|
244
|
+
snowstormEnabled?: boolean;
|
|
245
|
+
onStormPayoutsCalculated?: (e: StormPayout[]) => void;
|
|
246
|
+
onPayoutDetailsGenerated?: (e: PayoutDetails) => void;
|
|
247
|
+
pdfOutputChanged?: (e: Blob) => void;
|
|
248
|
+
calculatePayouts?: boolean;
|
|
249
|
+
currentStep?: PayoutWizardStepType;
|
|
250
|
+
}
|
|
206
251
|
interface WizardLocation {
|
|
207
252
|
addressString?: string;
|
|
208
253
|
latitude: number;
|
|
@@ -288,4 +333,6 @@ interface BackTestingWizardProps {
|
|
|
288
333
|
|
|
289
334
|
declare function BackTestingWizard(props: BackTestingWizardProps): react_jsx_runtime.JSX.Element;
|
|
290
335
|
|
|
291
|
-
|
|
336
|
+
declare function BackTestingHub(props: BackTestingHubProps): react_jsx_runtime.JSX.Element;
|
|
337
|
+
|
|
338
|
+
export { type AnemometerRequest, BackTestingCatLegend, BackTestingHub, BackTestingWizard, type CIASRequest, type EQPayoutDTO, type EQPayoutsRequest, type EQPayoutsResponse, type PGADTO, type Payout, type PayoutDetails, PayoutWizardStepType, type ProxyRequest, type StormPayout, type WSPayoutRequest, type WSPayoutResponse, type WizardAnemometer, type WizardCIAS, type WizardLocation, type WizardPGA, type WizardProxy, WizardView };
|