back-testing-react 2.1.4 → 2.1.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "back-testing-react",
3
- "version": "2.1.4",
3
+ "version": "2.1.6",
4
4
  "type": "module",
5
5
  "description": "Parametric back testing application developed by NormanMax Insurance Solutions",
6
6
  "main": "dist/index.js",
@@ -1,4 +1,4 @@
1
1
  import BackTestingHub from './back-testing-hub';
2
- import { WizardAnemometer,WizardCIAS,WizardLocation,WizardPGA,WizardProxy,WizardView } from '../back-testing-hub/back-testing-hub.types';
3
- export { BackTestingHub }
4
- export type {WizardAnemometer,WizardCIAS,WizardLocation,WizardPGA,WizardProxy,WizardView}
2
+ import { WizardAnemometer,WizardCIAS,WizardLocation,WizardPGA,WizardProxy,WizardView } from './back-testing-hub.types';
3
+ export { BackTestingHub,WizardView }
4
+ export type {WizardAnemometer,WizardCIAS,WizardLocation,WizardPGA,WizardProxy}
@@ -1,6 +1,6 @@
1
1
  import BackTestingMap from './back-testing-map';
2
- import {CATCircle,CATCounty,CATPolygon,CATShape,CATShapeType} from './../back-testing-map/back-testing-map.types'
3
- export {BackTestingMap}
4
- export type {CATCircle,CATCounty,CATPolygon,CATShape,CATShapeType}
2
+ import {CATCircle,CATCounty,CATPolygon,CATShape,CATShapeType} from './back-testing-map.types'
3
+ export {BackTestingMap, CATShapeType}
4
+ export type {CATCircle,CATCounty,CATPolygon,CATShape}
5
5
 
6
6
 
@@ -1,2 +1,2 @@
1
- import { WeatherOption } from "./back-testing-sidebar.types";
2
- export type { WeatherOption }
1
+ import { WeatherEventOption } from "./back-testing-sidebar.types";
2
+ export { WeatherEventOption }
@@ -1,5 +1,5 @@
1
1
  import React, { forwardRef, useEffect, useImperativeHandle } from "react";
2
- import { generateLocationOptions, LocationChoice, MediaType, Payout, PayoutWizardStepType, RadioChoice, WizardStep } from "../step.types";
2
+ import { generateLocationOptions, LocationChoice, MediaType, PayoutWizardStepType, RadioChoice, WizardStep } from "../step.types";
3
3
  import { generateCountyOptions, generateNewPGA, InputPGAStepProps, PGA } from "./input-pga.types";
4
4
  import './input-pga.css'
5
5
  import { Accordion, AccordionDetails, AccordionSummary, alpha, Box, Button, Card, CardContent, createTheme, Fab, FormControl, FormControlLabel, getContrastRatio, Radio, RadioGroup, styled, ThemeProvider, Tooltip, tooltipClasses, TooltipProps, Typography } from "@mui/material";
@@ -17,7 +17,7 @@ import AutoCompleteInput from "../../inputs/autocomplete-input/autocomplete-inpu
17
17
  import { useAppSelector, useAppDispatch } from "../../../../lib/hooks";
18
18
  import { selectActiveStep, selectDefaultPGAPayoutOption, selectEnvironment, selectLocations, selectPGAPayoutOptions, selectPGAs, setActiveStep, setPgas, setWizardStep } from "../../../../lib/features/wizard/wizardSlice";
19
19
  import { selectAPIToken, setAutoCalculatePayoutsEnabled } from "../../../../lib/features/back-testing/backTestingSlice";
20
- import { CountyGeoJSONLookupRequest, fetchCountyGeoJSON } from "../../../../lib/features/back-testing/backTestingAPISlice";
20
+ import { CountyGeoJSONLookupRequest, fetchCountyGeoJSON, Payout } from "../../../../lib/features/back-testing/backTestingAPISlice";
21
21
  import { cloneDeep } from "lodash";
22
22
 
23
23
  const addPGAButtonBase = '#FFF';