@mychoice/mychoice-sdk-modules 1.0.0
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/README.md +11 -0
- package/dist/cjs/index.d.ts +3 -0
- package/dist/cjs/index.js +3194 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/init/AppConfig/AppConfig.d.ts +4 -0
- package/dist/cjs/init/AppConfig/helper.d.ts +2 -0
- package/dist/cjs/init/AppConfig/index.d.ts +1 -0
- package/dist/cjs/init/AppConfig/interfaces.d.ts +5 -0
- package/dist/cjs/init/AppContainer/AppContainer.d.ts +2 -0
- package/dist/cjs/init/AppContainer/index.d.ts +1 -0
- package/dist/cjs/init/AppHeader/AppHeader.d.ts +2 -0
- package/dist/cjs/init/AppHeader/index.d.ts +1 -0
- package/dist/cjs/init/AppLoader/AppLoader.d.ts +2 -0
- package/dist/cjs/init/AppLoader/index.d.ts +1 -0
- package/dist/cjs/init/AppModal/AppModal.d.ts +2 -0
- package/dist/cjs/init/AppModal/index.d.ts +1 -0
- package/dist/cjs/init/AppModal/interfaces.d.ts +4 -0
- package/dist/cjs/init/AppRouterListener/AppRouterListener.d.ts +2 -0
- package/dist/cjs/init/AppRouterListener/index.d.ts +1 -0
- package/dist/cjs/init/AppRoutes/AppRoutes.d.ts +3 -0
- package/dist/cjs/init/AppRoutes/BrokerKeys.d.ts +6 -0
- package/dist/cjs/init/AppRoutes/hoox/useRedirectPartner.d.ts +5 -0
- package/dist/cjs/init/AppRoutes/hoox/useRouteParams.d.ts +1 -0
- package/dist/cjs/init/AppRoutes/index.d.ts +3 -0
- package/dist/cjs/init/AppRoutes/routeTypes/RouteWrapperPrivate.d.ts +3 -0
- package/dist/cjs/init/AppRoutes/routeTypes/RouteWrapperPublic.d.ts +3 -0
- package/dist/cjs/init/AppRoutes/routeTypes/RouteWrapperRestricted.d.ts +3 -0
- package/dist/cjs/init/AppRoutes/routeTypes/index.d.ts +3 -0
- package/dist/cjs/init/AppRoutes/routeTypes/interface.d.ts +4 -0
- package/dist/cjs/init/AppWrapper/AppWrapper.d.ts +3 -0
- package/dist/cjs/init/AppWrapper/index.d.ts +1 -0
- package/dist/cjs/init/AppWrapper/interfaces.d.ts +5 -0
- package/dist/cjs/init/StoryAppWrapper/StoryAppWrapper.d.ts +3 -0
- package/dist/cjs/init/StoryAppWrapper/index.d.ts +1 -0
- package/dist/cjs/init/StoryAppWrapper/interfaces.d.ts +4 -0
- package/dist/cjs/init/helper.d.ts +2 -0
- package/dist/cjs/init/index.d.ts +3 -0
- package/dist/cjs/insurances/car/index.d.ts +1 -0
- package/dist/cjs/insurances/car/pages/discount/PageDiscount.d.ts +2 -0
- package/dist/cjs/insurances/car/pages/discount/helpers.d.ts +2 -0
- package/dist/cjs/insurances/car/pages/discount/index.d.ts +1 -0
- package/dist/cjs/insurances/car/pages/discount/sections/SectionDiscountInfo.d.ts +2 -0
- package/dist/cjs/insurances/car/pages/discount/sections/blocks/BlockNextPageInfo.d.ts +2 -0
- package/dist/cjs/insurances/car/pages/discount/sections/blocks/BlockSubmit.d.ts +3 -0
- package/dist/cjs/insurances/car/pages/discount/sections/blocks/BlockVehLinks.d.ts +2 -0
- package/dist/cjs/insurances/car/pages/discount/sections/blocks/index.d.ts +3 -0
- package/dist/cjs/insurances/car/pages/discount/sections/blocks/interfaces.d.ts +7 -0
- package/dist/cjs/insurances/car/pages/discount/sections/index.d.ts +1 -0
- package/dist/cjs/insurances/car/pages/driver/PageDriver.d.ts +2 -0
- package/dist/cjs/insurances/car/pages/driver/TabDriver.d.ts +3 -0
- package/dist/cjs/insurances/car/pages/driver/index.d.ts +1 -0
- package/dist/cjs/insurances/car/pages/driver/sections/SectionDriverCancellation/SectionDriverCancellation.d.ts +2 -0
- package/dist/cjs/insurances/car/pages/driver/sections/SectionDriverCancellation/index.d.ts +1 -0
- package/dist/cjs/insurances/car/pages/driver/sections/SectionDriverHistory/SectionDriverHistory.d.ts +2 -0
- package/dist/cjs/insurances/car/pages/driver/sections/SectionDriverHistory/blocks/BlockDriverAccident.d.ts +2 -0
- package/dist/cjs/insurances/car/pages/driver/sections/SectionDriverHistory/blocks/BlockDriverSuspension.d.ts +2 -0
- package/dist/cjs/insurances/car/pages/driver/sections/SectionDriverHistory/blocks/BlockDriverTicket.d.ts +2 -0
- package/dist/cjs/insurances/car/pages/driver/sections/SectionDriverHistory/blocks/index.d.ts +3 -0
- package/dist/cjs/insurances/car/pages/driver/sections/SectionDriverHistory/index.d.ts +1 -0
- package/dist/cjs/insurances/car/pages/driver/sections/SectionDriverInfo/SectionDriverInfo.d.ts +2 -0
- package/dist/cjs/insurances/car/pages/driver/sections/SectionDriverInfo/index.d.ts +1 -0
- package/dist/cjs/insurances/car/pages/driver/sections/SectionDriverInsurancePolicy/SectionDriverInsurancePolicy.d.ts +2 -0
- package/dist/cjs/insurances/car/pages/driver/sections/SectionDriverInsurancePolicy/index.d.ts +1 -0
- package/dist/cjs/insurances/car/pages/driver/sections/SectionDriverLicence/SectionDriverLicence.d.ts +2 -0
- package/dist/cjs/insurances/car/pages/driver/sections/SectionDriverLicence/index.d.ts +1 -0
- package/dist/cjs/insurances/car/pages/driver/sections/index.d.ts +5 -0
- package/dist/cjs/insurances/car/pages/helpers.d.ts +7 -0
- package/dist/cjs/insurances/car/pages/index.d.ts +6 -0
- package/dist/cjs/insurances/car/pages/interfaces.d.ts +9 -0
- package/dist/cjs/insurances/car/pages/quote/PageQuote.d.ts +2 -0
- package/dist/cjs/insurances/car/pages/quote/index.d.ts +1 -0
- package/dist/cjs/insurances/car/pages/quote/sections/SectionQuoteEdit.d.ts +2 -0
- package/dist/cjs/insurances/car/pages/quote/sections/SectionQuoteRecalc.d.ts +2 -0
- package/dist/cjs/insurances/car/pages/quote/sections/SplashScreen.d.ts +2 -0
- package/dist/cjs/insurances/car/pages/quote/sections/blocks/BlockEndorsements.d.ts +3 -0
- package/dist/cjs/insurances/car/pages/quote/sections/index.d.ts +2 -0
- package/dist/cjs/insurances/car/pages/vehicle/PageVehicle.d.ts +2 -0
- package/dist/cjs/insurances/car/pages/vehicle/TabVehicle.d.ts +3 -0
- package/dist/cjs/insurances/car/pages/vehicle/helpers.d.ts +3 -0
- package/dist/cjs/insurances/car/pages/vehicle/index.d.ts +1 -0
- package/dist/cjs/insurances/car/pages/vehicle/sections/SectionCoverage.d.ts +2 -0
- package/dist/cjs/insurances/car/pages/vehicle/sections/SectionMain.d.ts +2 -0
- package/dist/cjs/insurances/car/pages/vehicle/sections/blocks/BlockCarConditionInfo.d.ts +2 -0
- package/dist/cjs/insurances/car/pages/vehicle/sections/blocks/BlockCarInfo.d.ts +2 -0
- package/dist/cjs/insurances/car/pages/vehicle/sections/blocks/index.d.ts +2 -0
- package/dist/cjs/insurances/car/pages/vehicle/sections/index.d.ts +2 -0
- package/dist/cjs/insurances/helpers.d.ts +11 -0
- package/dist/cjs/insurances/home/index.d.ts +1 -0
- package/dist/cjs/insurances/home/pages/address/PageAddress.d.ts +2 -0
- package/dist/cjs/insurances/home/pages/address/index.d.ts +1 -0
- package/dist/cjs/insurances/home/pages/address/sections/SectionAddress.d.ts +2 -0
- package/dist/cjs/insurances/home/pages/address/sections/blocks/BlockAddressInfo.d.ts +2 -0
- package/dist/cjs/insurances/home/pages/address/sections/blocks/index.d.ts +1 -0
- package/dist/cjs/insurances/home/pages/address/sections/index.d.ts +1 -0
- package/dist/cjs/insurances/home/pages/applicant/PageApplicant.d.ts +2 -0
- package/dist/cjs/insurances/home/pages/applicant/index.d.ts +1 -0
- package/dist/cjs/insurances/home/pages/applicant/sections/SectionApplicantCancellation/SectionApplicantCancellation.d.ts +2 -0
- package/dist/cjs/insurances/home/pages/applicant/sections/SectionApplicantCancellation/index.d.ts +1 -0
- package/dist/cjs/insurances/home/pages/applicant/sections/SectionApplicantClaim/SectionApplicantClaim.d.ts +2 -0
- package/dist/cjs/insurances/home/pages/applicant/sections/SectionApplicantClaim/index.d.ts +1 -0
- package/dist/cjs/insurances/home/pages/applicant/sections/SectionApplicantInfo/SectionApplicantInfo.d.ts +2 -0
- package/dist/cjs/insurances/home/pages/applicant/sections/SectionApplicantInfo/index.d.ts +1 -0
- package/dist/cjs/insurances/home/pages/applicant/sections/SectionApplicantInsurancePolicy/SectionApplicantInsurancePolicy.d.ts +2 -0
- package/dist/cjs/insurances/home/pages/applicant/sections/SectionApplicantInsurancePolicy/index.d.ts +1 -0
- package/dist/cjs/insurances/home/pages/applicant/sections/index.d.ts +4 -0
- package/dist/cjs/insurances/home/pages/discount/PageDiscount.d.ts +2 -0
- package/dist/cjs/insurances/home/pages/discount/index.d.ts +1 -0
- package/dist/cjs/insurances/home/pages/discount/sections/SectionDiscountInfo.d.ts +2 -0
- package/dist/cjs/insurances/home/pages/discount/sections/blocks/BlockDwellingInfo.d.ts +2 -0
- package/dist/cjs/insurances/home/pages/discount/sections/blocks/BlockNextPageInfo.d.ts +2 -0
- package/dist/cjs/insurances/home/pages/discount/sections/blocks/BlockSubmit.d.ts +3 -0
- package/dist/cjs/insurances/home/pages/discount/sections/blocks/index.d.ts +3 -0
- package/dist/cjs/insurances/home/pages/discount/sections/blocks/interfaces.d.ts +7 -0
- package/dist/cjs/insurances/home/pages/discount/sections/index.d.ts +1 -0
- package/dist/cjs/insurances/home/pages/dwelling/PageProperty.d.ts +2 -0
- package/dist/cjs/insurances/home/pages/dwelling/helpers.d.ts +3 -0
- package/dist/cjs/insurances/home/pages/dwelling/index.d.ts +1 -0
- package/dist/cjs/insurances/home/pages/dwelling/sections/SectionDwelling.d.ts +2 -0
- package/dist/cjs/insurances/home/pages/dwelling/sections/index.d.ts +1 -0
- package/dist/cjs/insurances/home/pages/helpers.d.ts +4 -0
- package/dist/cjs/insurances/home/pages/index.d.ts +4 -0
- package/dist/cjs/insurances/index.d.ts +3 -0
- package/dist/cjs/shared/boxes/Container/Container.d.ts +3 -0
- package/dist/cjs/shared/boxes/Container/index.d.ts +2 -0
- package/dist/cjs/shared/boxes/Container/interface.d.ts +7 -0
- package/dist/cjs/shared/boxes/DateSelectFormBox/DateSelectFormBox.d.ts +3 -0
- package/dist/cjs/shared/boxes/DateSelectFormBox/index.d.ts +1 -0
- package/dist/cjs/shared/boxes/DateSelectFormBox/interface.d.ts +21 -0
- package/dist/cjs/shared/boxes/InputFormBox/InputFormBox.d.ts +3 -0
- package/dist/cjs/shared/boxes/InputFormBox/InputFormEmailBox.d.ts +3 -0
- package/dist/cjs/shared/boxes/InputFormBox/InputFormLicenceBox.d.ts +3 -0
- package/dist/cjs/shared/boxes/InputFormBox/InputFormPhoneBox.d.ts +3 -0
- package/dist/cjs/shared/boxes/InputFormBox/index.d.ts +4 -0
- package/dist/cjs/shared/boxes/InputFormBox/interface.d.ts +14 -0
- package/dist/cjs/shared/boxes/LabelFormBox/LabelFormBox.d.ts +3 -0
- package/dist/cjs/shared/boxes/LabelFormBox/index.d.ts +1 -0
- package/dist/cjs/shared/boxes/LabelFormBox/interface.d.ts +10 -0
- package/dist/cjs/shared/boxes/SelectFormBox/SelectFormBox.d.ts +3 -0
- package/dist/cjs/shared/boxes/SelectFormBox/index.d.ts +1 -0
- package/dist/cjs/shared/boxes/SelectFormBox/interface.d.ts +12 -0
- package/dist/cjs/shared/boxes/SwitchButtonBox/SwitchButtonBox.d.ts +3 -0
- package/dist/cjs/shared/boxes/SwitchButtonBox/index.d.ts +1 -0
- package/dist/cjs/shared/boxes/SwitchButtonBox/interface.d.ts +10 -0
- package/dist/cjs/shared/boxes/index.d.ts +5 -0
- package/dist/cjs/shared/headers/HeaderDesktop/Mychoice.d.ts +3 -0
- package/dist/cjs/shared/headers/HeaderDesktop/Partner.d.ts +3 -0
- package/dist/cjs/shared/headers/HeaderDesktop/TheBig.d.ts +3 -0
- package/dist/cjs/shared/headers/HeaderDesktop/index.d.ts +3 -0
- package/dist/cjs/shared/headers/HeaderMobile/MyChoice.d.ts +3 -0
- package/dist/cjs/shared/headers/HeaderMobile/index.d.ts +1 -0
- package/dist/cjs/shared/headers/constants.d.ts +11 -0
- package/dist/cjs/shared/headers/index.d.ts +4 -0
- package/dist/cjs/shared/headers/interfaces.d.ts +8 -0
- package/dist/cjs/shared/index.d.ts +6 -0
- package/dist/cjs/shared/loaders/LoaderPrimary/LoaderPrimary.d.ts +2 -0
- package/dist/cjs/shared/loaders/LoaderPrimary/index.d.ts +1 -0
- package/dist/cjs/shared/loaders/index.d.ts +1 -0
- package/dist/cjs/shared/modals/ModalConfirm/ModalConfirm.d.ts +2 -0
- package/dist/cjs/shared/modals/ModalConfirm/index.d.ts +1 -0
- package/dist/cjs/shared/modals/ModalFinale/ModalFinale.d.ts +2 -0
- package/dist/cjs/shared/modals/ModalFinale/index.d.ts +1 -0
- package/dist/cjs/shared/modals/ModalMessage/ModalMessage.d.ts +2 -0
- package/dist/cjs/shared/modals/ModalMessage/index.d.ts +1 -0
- package/dist/cjs/shared/modals/ModalPostal/ModalPostal.d.ts +3 -0
- package/dist/cjs/shared/modals/ModalPostal/index.d.ts +1 -0
- package/dist/cjs/shared/modals/ModalQuoteRequest/ModalQuoteRequest.d.ts +3 -0
- package/dist/cjs/shared/modals/ModalQuoteRequest/index.d.ts +1 -0
- package/dist/cjs/shared/modals/index.d.ts +5 -0
- package/dist/cjs/shared/modals/interfaces.d.ts +21 -0
- package/dist/cjs/shared/navigations/NavigationBottom/NavigationBottom.d.ts +3 -0
- package/dist/cjs/shared/navigations/NavigationBottom/NavigationBottomTheBig.d.ts +3 -0
- package/dist/cjs/shared/navigations/NavigationBottom/index.d.ts +2 -0
- package/dist/cjs/shared/navigations/NavigationTab/NavigationTab.d.ts +3 -0
- package/dist/cjs/shared/navigations/NavigationTab/NavigationTabMobile.d.ts +3 -0
- package/dist/cjs/shared/navigations/NavigationTab/index.d.ts +3 -0
- package/dist/cjs/shared/navigations/NavigationTab/interface.d.ts +18 -0
- package/dist/cjs/shared/navigations/NavigationTop/NavigationTop.d.ts +3 -0
- package/dist/cjs/shared/navigations/NavigationTop/components/ButtonsBox.d.ts +3 -0
- package/dist/cjs/shared/navigations/NavigationTop/components/PostalCodeDataBox.d.ts +3 -0
- package/dist/cjs/shared/navigations/NavigationTop/components/StepsBox.d.ts +3 -0
- package/dist/cjs/shared/navigations/NavigationTop/components/index.d.ts +3 -0
- package/dist/cjs/shared/navigations/NavigationTop/components/interface.d.ts +5 -0
- package/dist/cjs/shared/navigations/NavigationTop/index.d.ts +1 -0
- package/dist/cjs/shared/navigations/constants/index.d.ts +1 -0
- package/dist/cjs/shared/navigations/constants/insuranceSteps.d.ts +17 -0
- package/dist/cjs/shared/navigations/index.d.ts +5 -0
- package/dist/cjs/shared/navigations/interfaces.d.ts +34 -0
- package/dist/cjs/shared/sections/index.d.ts +1 -0
- package/dist/cjs/shared/sections/quotes/OfferSection/OfferSection.d.ts +3 -0
- package/dist/cjs/shared/sections/quotes/OfferSection/index.d.ts +1 -0
- package/dist/cjs/shared/sections/quotes/index.d.ts +1 -0
- package/dist/cjs/shared/sections/quotes/interfaces.d.ts +11 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +3138 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/init/AppConfig/AppConfig.d.ts +4 -0
- package/dist/esm/init/AppConfig/helper.d.ts +2 -0
- package/dist/esm/init/AppConfig/index.d.ts +1 -0
- package/dist/esm/init/AppConfig/interfaces.d.ts +5 -0
- package/dist/esm/init/AppContainer/AppContainer.d.ts +2 -0
- package/dist/esm/init/AppContainer/index.d.ts +1 -0
- package/dist/esm/init/AppHeader/AppHeader.d.ts +2 -0
- package/dist/esm/init/AppHeader/index.d.ts +1 -0
- package/dist/esm/init/AppLoader/AppLoader.d.ts +2 -0
- package/dist/esm/init/AppLoader/index.d.ts +1 -0
- package/dist/esm/init/AppModal/AppModal.d.ts +2 -0
- package/dist/esm/init/AppModal/index.d.ts +1 -0
- package/dist/esm/init/AppModal/interfaces.d.ts +4 -0
- package/dist/esm/init/AppRouterListener/AppRouterListener.d.ts +2 -0
- package/dist/esm/init/AppRouterListener/index.d.ts +1 -0
- package/dist/esm/init/AppRoutes/AppRoutes.d.ts +3 -0
- package/dist/esm/init/AppRoutes/BrokerKeys.d.ts +6 -0
- package/dist/esm/init/AppRoutes/hoox/useRedirectPartner.d.ts +5 -0
- package/dist/esm/init/AppRoutes/hoox/useRouteParams.d.ts +1 -0
- package/dist/esm/init/AppRoutes/index.d.ts +3 -0
- package/dist/esm/init/AppRoutes/routeTypes/RouteWrapperPrivate.d.ts +3 -0
- package/dist/esm/init/AppRoutes/routeTypes/RouteWrapperPublic.d.ts +3 -0
- package/dist/esm/init/AppRoutes/routeTypes/RouteWrapperRestricted.d.ts +3 -0
- package/dist/esm/init/AppRoutes/routeTypes/index.d.ts +3 -0
- package/dist/esm/init/AppRoutes/routeTypes/interface.d.ts +4 -0
- package/dist/esm/init/AppWrapper/AppWrapper.d.ts +3 -0
- package/dist/esm/init/AppWrapper/index.d.ts +1 -0
- package/dist/esm/init/AppWrapper/interfaces.d.ts +5 -0
- package/dist/esm/init/StoryAppWrapper/StoryAppWrapper.d.ts +3 -0
- package/dist/esm/init/StoryAppWrapper/index.d.ts +1 -0
- package/dist/esm/init/StoryAppWrapper/interfaces.d.ts +4 -0
- package/dist/esm/init/helper.d.ts +2 -0
- package/dist/esm/init/index.d.ts +3 -0
- package/dist/esm/insurances/car/index.d.ts +1 -0
- package/dist/esm/insurances/car/pages/discount/PageDiscount.d.ts +2 -0
- package/dist/esm/insurances/car/pages/discount/helpers.d.ts +2 -0
- package/dist/esm/insurances/car/pages/discount/index.d.ts +1 -0
- package/dist/esm/insurances/car/pages/discount/sections/SectionDiscountInfo.d.ts +2 -0
- package/dist/esm/insurances/car/pages/discount/sections/blocks/BlockNextPageInfo.d.ts +2 -0
- package/dist/esm/insurances/car/pages/discount/sections/blocks/BlockSubmit.d.ts +3 -0
- package/dist/esm/insurances/car/pages/discount/sections/blocks/BlockVehLinks.d.ts +2 -0
- package/dist/esm/insurances/car/pages/discount/sections/blocks/index.d.ts +3 -0
- package/dist/esm/insurances/car/pages/discount/sections/blocks/interfaces.d.ts +7 -0
- package/dist/esm/insurances/car/pages/discount/sections/index.d.ts +1 -0
- package/dist/esm/insurances/car/pages/driver/PageDriver.d.ts +2 -0
- package/dist/esm/insurances/car/pages/driver/TabDriver.d.ts +3 -0
- package/dist/esm/insurances/car/pages/driver/index.d.ts +1 -0
- package/dist/esm/insurances/car/pages/driver/sections/SectionDriverCancellation/SectionDriverCancellation.d.ts +2 -0
- package/dist/esm/insurances/car/pages/driver/sections/SectionDriverCancellation/index.d.ts +1 -0
- package/dist/esm/insurances/car/pages/driver/sections/SectionDriverHistory/SectionDriverHistory.d.ts +2 -0
- package/dist/esm/insurances/car/pages/driver/sections/SectionDriverHistory/blocks/BlockDriverAccident.d.ts +2 -0
- package/dist/esm/insurances/car/pages/driver/sections/SectionDriverHistory/blocks/BlockDriverSuspension.d.ts +2 -0
- package/dist/esm/insurances/car/pages/driver/sections/SectionDriverHistory/blocks/BlockDriverTicket.d.ts +2 -0
- package/dist/esm/insurances/car/pages/driver/sections/SectionDriverHistory/blocks/index.d.ts +3 -0
- package/dist/esm/insurances/car/pages/driver/sections/SectionDriverHistory/index.d.ts +1 -0
- package/dist/esm/insurances/car/pages/driver/sections/SectionDriverInfo/SectionDriverInfo.d.ts +2 -0
- package/dist/esm/insurances/car/pages/driver/sections/SectionDriverInfo/index.d.ts +1 -0
- package/dist/esm/insurances/car/pages/driver/sections/SectionDriverInsurancePolicy/SectionDriverInsurancePolicy.d.ts +2 -0
- package/dist/esm/insurances/car/pages/driver/sections/SectionDriverInsurancePolicy/index.d.ts +1 -0
- package/dist/esm/insurances/car/pages/driver/sections/SectionDriverLicence/SectionDriverLicence.d.ts +2 -0
- package/dist/esm/insurances/car/pages/driver/sections/SectionDriverLicence/index.d.ts +1 -0
- package/dist/esm/insurances/car/pages/driver/sections/index.d.ts +5 -0
- package/dist/esm/insurances/car/pages/helpers.d.ts +7 -0
- package/dist/esm/insurances/car/pages/index.d.ts +6 -0
- package/dist/esm/insurances/car/pages/interfaces.d.ts +9 -0
- package/dist/esm/insurances/car/pages/quote/PageQuote.d.ts +2 -0
- package/dist/esm/insurances/car/pages/quote/index.d.ts +1 -0
- package/dist/esm/insurances/car/pages/quote/sections/SectionQuoteEdit.d.ts +2 -0
- package/dist/esm/insurances/car/pages/quote/sections/SectionQuoteRecalc.d.ts +2 -0
- package/dist/esm/insurances/car/pages/quote/sections/SplashScreen.d.ts +2 -0
- package/dist/esm/insurances/car/pages/quote/sections/blocks/BlockEndorsements.d.ts +3 -0
- package/dist/esm/insurances/car/pages/quote/sections/index.d.ts +2 -0
- package/dist/esm/insurances/car/pages/vehicle/PageVehicle.d.ts +2 -0
- package/dist/esm/insurances/car/pages/vehicle/TabVehicle.d.ts +3 -0
- package/dist/esm/insurances/car/pages/vehicle/helpers.d.ts +3 -0
- package/dist/esm/insurances/car/pages/vehicle/index.d.ts +1 -0
- package/dist/esm/insurances/car/pages/vehicle/sections/SectionCoverage.d.ts +2 -0
- package/dist/esm/insurances/car/pages/vehicle/sections/SectionMain.d.ts +2 -0
- package/dist/esm/insurances/car/pages/vehicle/sections/blocks/BlockCarConditionInfo.d.ts +2 -0
- package/dist/esm/insurances/car/pages/vehicle/sections/blocks/BlockCarInfo.d.ts +2 -0
- package/dist/esm/insurances/car/pages/vehicle/sections/blocks/index.d.ts +2 -0
- package/dist/esm/insurances/car/pages/vehicle/sections/index.d.ts +2 -0
- package/dist/esm/insurances/helpers.d.ts +11 -0
- package/dist/esm/insurances/home/index.d.ts +1 -0
- package/dist/esm/insurances/home/pages/address/PageAddress.d.ts +2 -0
- package/dist/esm/insurances/home/pages/address/index.d.ts +1 -0
- package/dist/esm/insurances/home/pages/address/sections/SectionAddress.d.ts +2 -0
- package/dist/esm/insurances/home/pages/address/sections/blocks/BlockAddressInfo.d.ts +2 -0
- package/dist/esm/insurances/home/pages/address/sections/blocks/index.d.ts +1 -0
- package/dist/esm/insurances/home/pages/address/sections/index.d.ts +1 -0
- package/dist/esm/insurances/home/pages/applicant/PageApplicant.d.ts +2 -0
- package/dist/esm/insurances/home/pages/applicant/index.d.ts +1 -0
- package/dist/esm/insurances/home/pages/applicant/sections/SectionApplicantCancellation/SectionApplicantCancellation.d.ts +2 -0
- package/dist/esm/insurances/home/pages/applicant/sections/SectionApplicantCancellation/index.d.ts +1 -0
- package/dist/esm/insurances/home/pages/applicant/sections/SectionApplicantClaim/SectionApplicantClaim.d.ts +2 -0
- package/dist/esm/insurances/home/pages/applicant/sections/SectionApplicantClaim/index.d.ts +1 -0
- package/dist/esm/insurances/home/pages/applicant/sections/SectionApplicantInfo/SectionApplicantInfo.d.ts +2 -0
- package/dist/esm/insurances/home/pages/applicant/sections/SectionApplicantInfo/index.d.ts +1 -0
- package/dist/esm/insurances/home/pages/applicant/sections/SectionApplicantInsurancePolicy/SectionApplicantInsurancePolicy.d.ts +2 -0
- package/dist/esm/insurances/home/pages/applicant/sections/SectionApplicantInsurancePolicy/index.d.ts +1 -0
- package/dist/esm/insurances/home/pages/applicant/sections/index.d.ts +4 -0
- package/dist/esm/insurances/home/pages/discount/PageDiscount.d.ts +2 -0
- package/dist/esm/insurances/home/pages/discount/index.d.ts +1 -0
- package/dist/esm/insurances/home/pages/discount/sections/SectionDiscountInfo.d.ts +2 -0
- package/dist/esm/insurances/home/pages/discount/sections/blocks/BlockDwellingInfo.d.ts +2 -0
- package/dist/esm/insurances/home/pages/discount/sections/blocks/BlockNextPageInfo.d.ts +2 -0
- package/dist/esm/insurances/home/pages/discount/sections/blocks/BlockSubmit.d.ts +3 -0
- package/dist/esm/insurances/home/pages/discount/sections/blocks/index.d.ts +3 -0
- package/dist/esm/insurances/home/pages/discount/sections/blocks/interfaces.d.ts +7 -0
- package/dist/esm/insurances/home/pages/discount/sections/index.d.ts +1 -0
- package/dist/esm/insurances/home/pages/dwelling/PageProperty.d.ts +2 -0
- package/dist/esm/insurances/home/pages/dwelling/helpers.d.ts +3 -0
- package/dist/esm/insurances/home/pages/dwelling/index.d.ts +1 -0
- package/dist/esm/insurances/home/pages/dwelling/sections/SectionDwelling.d.ts +2 -0
- package/dist/esm/insurances/home/pages/dwelling/sections/index.d.ts +1 -0
- package/dist/esm/insurances/home/pages/helpers.d.ts +4 -0
- package/dist/esm/insurances/home/pages/index.d.ts +4 -0
- package/dist/esm/insurances/index.d.ts +3 -0
- package/dist/esm/shared/boxes/Container/Container.d.ts +3 -0
- package/dist/esm/shared/boxes/Container/index.d.ts +2 -0
- package/dist/esm/shared/boxes/Container/interface.d.ts +7 -0
- package/dist/esm/shared/boxes/DateSelectFormBox/DateSelectFormBox.d.ts +3 -0
- package/dist/esm/shared/boxes/DateSelectFormBox/index.d.ts +1 -0
- package/dist/esm/shared/boxes/DateSelectFormBox/interface.d.ts +21 -0
- package/dist/esm/shared/boxes/InputFormBox/InputFormBox.d.ts +3 -0
- package/dist/esm/shared/boxes/InputFormBox/InputFormEmailBox.d.ts +3 -0
- package/dist/esm/shared/boxes/InputFormBox/InputFormLicenceBox.d.ts +3 -0
- package/dist/esm/shared/boxes/InputFormBox/InputFormPhoneBox.d.ts +3 -0
- package/dist/esm/shared/boxes/InputFormBox/index.d.ts +4 -0
- package/dist/esm/shared/boxes/InputFormBox/interface.d.ts +14 -0
- package/dist/esm/shared/boxes/LabelFormBox/LabelFormBox.d.ts +3 -0
- package/dist/esm/shared/boxes/LabelFormBox/index.d.ts +1 -0
- package/dist/esm/shared/boxes/LabelFormBox/interface.d.ts +10 -0
- package/dist/esm/shared/boxes/SelectFormBox/SelectFormBox.d.ts +3 -0
- package/dist/esm/shared/boxes/SelectFormBox/index.d.ts +1 -0
- package/dist/esm/shared/boxes/SelectFormBox/interface.d.ts +12 -0
- package/dist/esm/shared/boxes/SwitchButtonBox/SwitchButtonBox.d.ts +3 -0
- package/dist/esm/shared/boxes/SwitchButtonBox/index.d.ts +1 -0
- package/dist/esm/shared/boxes/SwitchButtonBox/interface.d.ts +10 -0
- package/dist/esm/shared/boxes/index.d.ts +5 -0
- package/dist/esm/shared/headers/HeaderDesktop/Mychoice.d.ts +3 -0
- package/dist/esm/shared/headers/HeaderDesktop/Partner.d.ts +3 -0
- package/dist/esm/shared/headers/HeaderDesktop/TheBig.d.ts +3 -0
- package/dist/esm/shared/headers/HeaderDesktop/index.d.ts +3 -0
- package/dist/esm/shared/headers/HeaderMobile/MyChoice.d.ts +3 -0
- package/dist/esm/shared/headers/HeaderMobile/index.d.ts +1 -0
- package/dist/esm/shared/headers/constants.d.ts +11 -0
- package/dist/esm/shared/headers/index.d.ts +4 -0
- package/dist/esm/shared/headers/interfaces.d.ts +8 -0
- package/dist/esm/shared/index.d.ts +6 -0
- package/dist/esm/shared/loaders/LoaderPrimary/LoaderPrimary.d.ts +2 -0
- package/dist/esm/shared/loaders/LoaderPrimary/index.d.ts +1 -0
- package/dist/esm/shared/loaders/index.d.ts +1 -0
- package/dist/esm/shared/modals/ModalConfirm/ModalConfirm.d.ts +2 -0
- package/dist/esm/shared/modals/ModalConfirm/index.d.ts +1 -0
- package/dist/esm/shared/modals/ModalFinale/ModalFinale.d.ts +2 -0
- package/dist/esm/shared/modals/ModalFinale/index.d.ts +1 -0
- package/dist/esm/shared/modals/ModalMessage/ModalMessage.d.ts +2 -0
- package/dist/esm/shared/modals/ModalMessage/index.d.ts +1 -0
- package/dist/esm/shared/modals/ModalPostal/ModalPostal.d.ts +3 -0
- package/dist/esm/shared/modals/ModalPostal/index.d.ts +1 -0
- package/dist/esm/shared/modals/ModalQuoteRequest/ModalQuoteRequest.d.ts +3 -0
- package/dist/esm/shared/modals/ModalQuoteRequest/index.d.ts +1 -0
- package/dist/esm/shared/modals/index.d.ts +5 -0
- package/dist/esm/shared/modals/interfaces.d.ts +21 -0
- package/dist/esm/shared/navigations/NavigationBottom/NavigationBottom.d.ts +3 -0
- package/dist/esm/shared/navigations/NavigationBottom/NavigationBottomTheBig.d.ts +3 -0
- package/dist/esm/shared/navigations/NavigationBottom/index.d.ts +2 -0
- package/dist/esm/shared/navigations/NavigationTab/NavigationTab.d.ts +3 -0
- package/dist/esm/shared/navigations/NavigationTab/NavigationTabMobile.d.ts +3 -0
- package/dist/esm/shared/navigations/NavigationTab/index.d.ts +3 -0
- package/dist/esm/shared/navigations/NavigationTab/interface.d.ts +18 -0
- package/dist/esm/shared/navigations/NavigationTop/NavigationTop.d.ts +3 -0
- package/dist/esm/shared/navigations/NavigationTop/components/ButtonsBox.d.ts +3 -0
- package/dist/esm/shared/navigations/NavigationTop/components/PostalCodeDataBox.d.ts +3 -0
- package/dist/esm/shared/navigations/NavigationTop/components/StepsBox.d.ts +3 -0
- package/dist/esm/shared/navigations/NavigationTop/components/index.d.ts +3 -0
- package/dist/esm/shared/navigations/NavigationTop/components/interface.d.ts +5 -0
- package/dist/esm/shared/navigations/NavigationTop/index.d.ts +1 -0
- package/dist/esm/shared/navigations/constants/index.d.ts +1 -0
- package/dist/esm/shared/navigations/constants/insuranceSteps.d.ts +17 -0
- package/dist/esm/shared/navigations/index.d.ts +5 -0
- package/dist/esm/shared/navigations/interfaces.d.ts +34 -0
- package/dist/esm/shared/sections/index.d.ts +1 -0
- package/dist/esm/shared/sections/quotes/OfferSection/OfferSection.d.ts +3 -0
- package/dist/esm/shared/sections/quotes/OfferSection/index.d.ts +1 -0
- package/dist/esm/shared/sections/quotes/index.d.ts +1 -0
- package/dist/esm/shared/sections/quotes/interfaces.d.ts +11 -0
- package/dist/images/logotype-mychoice-primary.png +0 -0
- package/dist/images/logotype-thebig-primary.png +0 -0
- package/dist/images/pigLoader.mp4 +0 -0
- package/dist/images/powered-by-mychoice.png +0 -0
- package/dist/index.d.ts +292 -0
- package/package.json +40 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
import * as _mychoice_mychoice_sdk_components from '@mychoice/mychoice-sdk-components';
|
|
2
|
+
import { AppTypes, InsuranceTypes, SdkFC, SelectOptionInterface, DriverLicenceTypes, DefaultInputProps, OnChangeEventInterface, InputTypes, ValidationStatusTypes, SelectOptionGroupInterface, DateTypes, OfferDetailTitleProps, OfferDetailInfoProps, PriceInterface, OperationHoursInfoProps, NavigationItemInterface, ValidationHookInterface } from '@mychoice/mychoice-sdk-components';
|
|
3
|
+
import { FormCarConfigStateInterface } from '@mychoice/mychoice-sdk-store';
|
|
4
|
+
import * as react from 'react';
|
|
5
|
+
import { FormEvent } from 'react';
|
|
6
|
+
|
|
7
|
+
interface AppWrapperPropsInterface {
|
|
8
|
+
appType?: AppTypes;
|
|
9
|
+
insuranceType?: InsuranceTypes;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare const AppWrapper: SdkFC<AppWrapperPropsInterface>;
|
|
13
|
+
|
|
14
|
+
interface StoryAppWrapperInterface {
|
|
15
|
+
appType?: AppTypes;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare const StoryAppWrapper: SdkFC<StoryAppWrapperInterface>;
|
|
19
|
+
|
|
20
|
+
declare const getInsuranceType: () => InsuranceTypes.Car | InsuranceTypes.Home;
|
|
21
|
+
|
|
22
|
+
declare const PageVehicle: SdkFC;
|
|
23
|
+
|
|
24
|
+
declare const PageDriver: SdkFC;
|
|
25
|
+
|
|
26
|
+
declare const PageCarDiscount: SdkFC;
|
|
27
|
+
|
|
28
|
+
declare const PageQuote: SdkFC;
|
|
29
|
+
|
|
30
|
+
declare const getLicenceTypeOptions: (options: SelectOptionInterface[], optionValues: string[], disabled: boolean) => SelectOptionInterface[];
|
|
31
|
+
declare const checkDateIsSpecial: (defaultMinDate: string, specialDate: string) => boolean;
|
|
32
|
+
declare const getLicenceMinDate: (licenceType: DriverLicenceTypes, defaultMinDate: string, config: FormCarConfigStateInterface) => string;
|
|
33
|
+
declare const getLicenceMaxDate: (licenceType: DriverLicenceTypes, minDate: string, config: FormCarConfigStateInterface) => string;
|
|
34
|
+
declare const getDisabledLicenceTypes: (gBlock: boolean, g2Block: boolean, g1Block: boolean) => string[];
|
|
35
|
+
|
|
36
|
+
declare type FormTabProps = {
|
|
37
|
+
createItem?: () => void;
|
|
38
|
+
readOnly?: boolean;
|
|
39
|
+
};
|
|
40
|
+
interface PhoneObjectInterface {
|
|
41
|
+
number?: string;
|
|
42
|
+
title?: string;
|
|
43
|
+
specialKeys?: string;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
declare const PageAddress: SdkFC;
|
|
47
|
+
|
|
48
|
+
declare const PageApplicant: SdkFC;
|
|
49
|
+
|
|
50
|
+
declare const PageProperty: SdkFC;
|
|
51
|
+
|
|
52
|
+
declare const PageHomeDiscount: SdkFC;
|
|
53
|
+
|
|
54
|
+
declare const getSelectedOption: (options: SelectOptionInterface[], value: string | number | boolean | undefined | null) => _mychoice_mychoice_sdk_components.InputValueType;
|
|
55
|
+
declare const getErrorMessage: (value: number | string, inValidation?: boolean, message?: string) => string;
|
|
56
|
+
declare const getDateErrorMessage: (values: string[], inValidation?: boolean) => "" | "This field is required." | "These fields are required.";
|
|
57
|
+
declare const formatPhoneObject: (phone: string) => {
|
|
58
|
+
number: string;
|
|
59
|
+
title: string;
|
|
60
|
+
specialKeys: string;
|
|
61
|
+
};
|
|
62
|
+
declare const formatTitleToCapital: (name: string) => string;
|
|
63
|
+
declare const capitalize: (text: string) => string;
|
|
64
|
+
|
|
65
|
+
declare type InputFormBoxProps = DefaultInputProps & {
|
|
66
|
+
name: string;
|
|
67
|
+
title: string;
|
|
68
|
+
subTitle?: string;
|
|
69
|
+
description?: string;
|
|
70
|
+
onChange?: (option: OnChangeEventInterface) => void;
|
|
71
|
+
errorMessage?: string;
|
|
72
|
+
hintMessage?: string;
|
|
73
|
+
type?: InputTypes;
|
|
74
|
+
};
|
|
75
|
+
declare type InputFormEmailBoxProps = InputFormBoxProps & {
|
|
76
|
+
validationStatus?: ValidationStatusTypes;
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
declare const InputFormBox: SdkFC<InputFormBoxProps>;
|
|
80
|
+
|
|
81
|
+
declare const InputFormPhoneBox: SdkFC<InputFormBoxProps>;
|
|
82
|
+
|
|
83
|
+
declare const InputFormEmailBox: SdkFC<InputFormEmailBoxProps>;
|
|
84
|
+
|
|
85
|
+
declare const InputFormLicenceBox: SdkFC<InputFormBoxProps>;
|
|
86
|
+
|
|
87
|
+
declare type LabelFormBoxProps = {
|
|
88
|
+
className?: string;
|
|
89
|
+
title?: string;
|
|
90
|
+
subTitle?: string;
|
|
91
|
+
description?: string;
|
|
92
|
+
name?: string;
|
|
93
|
+
isRemovable?: boolean;
|
|
94
|
+
onIconClick?: () => void;
|
|
95
|
+
isActive?: boolean;
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
declare type SelectFormBoxProps$1 = DefaultInputProps & LabelFormBoxProps & {
|
|
99
|
+
name: string;
|
|
100
|
+
title: string;
|
|
101
|
+
options?: SelectOptionInterface[];
|
|
102
|
+
groupOptions?: SelectOptionGroupInterface[];
|
|
103
|
+
onChange?: (option: OnChangeEventInterface) => void;
|
|
104
|
+
errorMessage?: string;
|
|
105
|
+
hintMessage?: string;
|
|
106
|
+
autoSelectIfValueIsOutOfOptions?: boolean;
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
declare const SelectFormBox: SdkFC<SelectFormBoxProps$1>;
|
|
110
|
+
|
|
111
|
+
declare type SelectFormBoxProps = DefaultInputProps & LabelFormBoxProps & {
|
|
112
|
+
name: string;
|
|
113
|
+
title: string;
|
|
114
|
+
options?: SelectOptionInterface[];
|
|
115
|
+
groupOptions?: SelectOptionGroupInterface[];
|
|
116
|
+
onChange?: (option: OnChangeEventInterface) => void;
|
|
117
|
+
errorMessage?: string;
|
|
118
|
+
hintMessage?: string;
|
|
119
|
+
autoSelectIfValueIsOutOfOptions?: boolean;
|
|
120
|
+
};
|
|
121
|
+
declare type DateSelectFormBoxProps = SelectFormBoxProps & {
|
|
122
|
+
onDateChange: (dateType: DateTypes) => (option: OnChangeEventInterface) => void;
|
|
123
|
+
isDay?: boolean;
|
|
124
|
+
isMonth?: boolean;
|
|
125
|
+
maxDate?: string;
|
|
126
|
+
minDate?: string;
|
|
127
|
+
dateNames: string[];
|
|
128
|
+
datePlaceholders?: string[];
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
declare const DateSelectFormBox: SdkFC<DateSelectFormBoxProps>;
|
|
132
|
+
|
|
133
|
+
declare const LabelFormBox: SdkFC<LabelFormBoxProps>;
|
|
134
|
+
|
|
135
|
+
declare type SwitchButtonBoxProps = LabelFormBoxProps & {
|
|
136
|
+
name: string;
|
|
137
|
+
defaultValue: string;
|
|
138
|
+
items: SelectOptionInterface[];
|
|
139
|
+
onChange: (option: OnChangeEventInterface) => void;
|
|
140
|
+
errorMessage?: string;
|
|
141
|
+
hintMessage?: string;
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
declare const SwitchButtonBox: SdkFC<SwitchButtonBoxProps>;
|
|
145
|
+
|
|
146
|
+
declare type OfferSectionProps = {
|
|
147
|
+
phoneNumber?: PhoneObjectInterface;
|
|
148
|
+
offerCompany?: OfferDetailTitleProps & OfferDetailInfoProps;
|
|
149
|
+
brokerCompany?: OfferDetailTitleProps & OfferDetailInfoProps;
|
|
150
|
+
offerPrice?: PriceInterface;
|
|
151
|
+
isBestOffer?: boolean;
|
|
152
|
+
operationHours?: OperationHoursInfoProps;
|
|
153
|
+
redirectUrl?: string;
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
declare const OfferSection: SdkFC<OfferSectionProps>;
|
|
157
|
+
|
|
158
|
+
declare type HeaderLogoProps = {
|
|
159
|
+
className?: string;
|
|
160
|
+
};
|
|
161
|
+
declare type HeaderTheBigProps = HeaderLogoProps & {
|
|
162
|
+
textBack?: string;
|
|
163
|
+
};
|
|
164
|
+
declare type AppNameTypes = AppTypes.MyChoice | AppTypes.Partner | AppTypes.TheBig;
|
|
165
|
+
|
|
166
|
+
declare const HeaderMyChoice: SdkFC<HeaderLogoProps>;
|
|
167
|
+
|
|
168
|
+
declare const HeaderPartner: SdkFC<HeaderLogoProps>;
|
|
169
|
+
|
|
170
|
+
declare const HeaderTheBig: SdkFC<HeaderTheBigProps>;
|
|
171
|
+
|
|
172
|
+
declare const HeaderMyChoiceMobile: SdkFC<HeaderLogoProps>;
|
|
173
|
+
|
|
174
|
+
declare const usePathGroups: (insuranceType: InsuranceTypes) => {
|
|
175
|
+
insurancePathGroup: {
|
|
176
|
+
name: string;
|
|
177
|
+
link: string;
|
|
178
|
+
}[];
|
|
179
|
+
externalPathGroup: {
|
|
180
|
+
name: string;
|
|
181
|
+
link: string;
|
|
182
|
+
}[];
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
declare const LoaderPrimary: SdkFC;
|
|
186
|
+
|
|
187
|
+
declare const ModalConfirm: SdkFC;
|
|
188
|
+
|
|
189
|
+
declare const ModalMessage: SdkFC;
|
|
190
|
+
|
|
191
|
+
declare type BaseModalProps = {
|
|
192
|
+
title?: string;
|
|
193
|
+
description?: string;
|
|
194
|
+
};
|
|
195
|
+
declare type InputPostalProps = BaseModalProps & {
|
|
196
|
+
defaultValue?: string;
|
|
197
|
+
error?: string;
|
|
198
|
+
onChange?: (option: OnChangeEventInterface) => void;
|
|
199
|
+
onSubmit?: (event: FormEvent) => void;
|
|
200
|
+
loading?: boolean;
|
|
201
|
+
};
|
|
202
|
+
declare type QuoteRequestModalProps = BaseModalProps & {
|
|
203
|
+
phoneNumber?: string;
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
declare const ModalPostal: SdkFC<InputPostalProps>;
|
|
207
|
+
|
|
208
|
+
declare const ModalFinale: SdkFC;
|
|
209
|
+
|
|
210
|
+
declare const ModalQuoteRequest: SdkFC<QuoteRequestModalProps>;
|
|
211
|
+
|
|
212
|
+
declare type StepsProps = {
|
|
213
|
+
partnerId?: string;
|
|
214
|
+
className?: string;
|
|
215
|
+
isMobile?: boolean;
|
|
216
|
+
activeIndex?: number;
|
|
217
|
+
formSteps: NavigationItemInterface[];
|
|
218
|
+
validationHooks: ValidationHookInterface[];
|
|
219
|
+
};
|
|
220
|
+
declare type PostalCodeDataProps = {
|
|
221
|
+
className?: string;
|
|
222
|
+
title?: string;
|
|
223
|
+
postalCode?: string;
|
|
224
|
+
};
|
|
225
|
+
declare type ButtonBoxProps = {
|
|
226
|
+
isMobile?: boolean;
|
|
227
|
+
activeIndex?: number;
|
|
228
|
+
onBackClick?: () => void;
|
|
229
|
+
onForwardClick?: () => void;
|
|
230
|
+
clearForm?: () => void;
|
|
231
|
+
formSteps: NavigationItemInterface[];
|
|
232
|
+
validationHooks: ValidationHookInterface[];
|
|
233
|
+
};
|
|
234
|
+
declare type NavigationTopProps = PostalCodeDataProps & ButtonBoxProps;
|
|
235
|
+
declare type NavigationBottomProps = {
|
|
236
|
+
className?: string;
|
|
237
|
+
activeIndex?: number;
|
|
238
|
+
createItem?: () => void;
|
|
239
|
+
validateForm?: () => void;
|
|
240
|
+
formIsValid?: boolean;
|
|
241
|
+
formSteps: NavigationItemInterface[];
|
|
242
|
+
maxItemCount?: number;
|
|
243
|
+
itemCount?: number;
|
|
244
|
+
};
|
|
245
|
+
|
|
246
|
+
declare const NavigationTop: SdkFC<NavigationTopProps>;
|
|
247
|
+
|
|
248
|
+
declare const NavigationBottom: SdkFC<NavigationBottomProps>;
|
|
249
|
+
|
|
250
|
+
declare const NavigationBottomTheBig: SdkFC<NavigationBottomProps>;
|
|
251
|
+
|
|
252
|
+
interface NavigationTabInterface {
|
|
253
|
+
name: string;
|
|
254
|
+
index: number;
|
|
255
|
+
}
|
|
256
|
+
declare type NavigationTabProps = {
|
|
257
|
+
className?: string;
|
|
258
|
+
name: string;
|
|
259
|
+
addButtonLabel: string;
|
|
260
|
+
items: NavigationTabInterface[];
|
|
261
|
+
selectItem?: (index: number) => void;
|
|
262
|
+
removeItem?: (index: number) => void;
|
|
263
|
+
createItem?: () => void;
|
|
264
|
+
activeItemIndex: number;
|
|
265
|
+
maxItemCount?: number;
|
|
266
|
+
isOpen?: boolean;
|
|
267
|
+
openListClick?: () => void;
|
|
268
|
+
readOnly?: boolean;
|
|
269
|
+
};
|
|
270
|
+
|
|
271
|
+
declare const NavigationTab: SdkFC<NavigationTabProps>;
|
|
272
|
+
|
|
273
|
+
declare const NavigationTabMobile: SdkFC<NavigationTabProps>;
|
|
274
|
+
|
|
275
|
+
declare const formSteps: {
|
|
276
|
+
car: {
|
|
277
|
+
key: number;
|
|
278
|
+
path: string;
|
|
279
|
+
name: string;
|
|
280
|
+
title: string;
|
|
281
|
+
icon: react.ReactElement<any, any> | null;
|
|
282
|
+
}[];
|
|
283
|
+
home: {
|
|
284
|
+
key: number;
|
|
285
|
+
path: string;
|
|
286
|
+
name: string;
|
|
287
|
+
title: string;
|
|
288
|
+
icon: react.ReactElement<any, any> | null;
|
|
289
|
+
}[];
|
|
290
|
+
};
|
|
291
|
+
|
|
292
|
+
export { AppNameTypes, AppWrapper, ButtonBoxProps, DateSelectFormBox, FormTabProps, HeaderLogoProps, HeaderMyChoice, HeaderMyChoiceMobile, HeaderPartner, HeaderTheBig, HeaderTheBigProps, InputFormBox, InputFormEmailBox, InputFormLicenceBox, InputFormPhoneBox, LabelFormBox, LoaderPrimary, ModalConfirm, ModalFinale, ModalMessage, ModalPostal, ModalQuoteRequest, NavigationBottom, NavigationBottomProps, NavigationBottomTheBig, NavigationTab, NavigationTabInterface, NavigationTabMobile, NavigationTabProps, NavigationTop, NavigationTopProps, OfferSection, PageAddress, PageApplicant, PageCarDiscount, PageDriver, PageHomeDiscount, PageProperty, PageQuote, PageVehicle, PhoneObjectInterface, PostalCodeDataProps, SelectFormBox, StepsProps, StoryAppWrapper, SwitchButtonBox, capitalize, checkDateIsSpecial, formSteps, formatPhoneObject, formatTitleToCapital, getDateErrorMessage, getDisabledLicenceTypes, getErrorMessage, getInsuranceType, getLicenceMaxDate, getLicenceMinDate, getLicenceTypeOptions, getSelectedOption, usePathGroups };
|
package/package.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@mychoice/mychoice-sdk-modules",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Now I’m the model of a modern major general / The venerated Virginian veteran whose men are all / Lining up, to put me up on a pedestal / Writin’ letters to relatives / Embellishin’ my elegance and eloquence / But the elephant is in the room / The truth is in ya face when ya hear the British cannons go / BOOM",
|
|
5
|
+
"keywords": [],
|
|
6
|
+
"author": "GogMes",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"main": "dist/index.js",
|
|
9
|
+
"module": "dist/esm/index.js",
|
|
10
|
+
"types": "dist/index.d.ts",
|
|
11
|
+
"directories": {
|
|
12
|
+
"lib": "lib",
|
|
13
|
+
"test": "__tests__"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"publishConfig": {
|
|
19
|
+
"access": "public"
|
|
20
|
+
},
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "git+https://github.com/hexdivision/mychoice-sdk.git"
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"build": "rollup -c ../../../rollup.config.js"
|
|
27
|
+
},
|
|
28
|
+
"bugs": {
|
|
29
|
+
"url": "https://github.com/hexdivision/mychoice-sdk/issues"
|
|
30
|
+
},
|
|
31
|
+
"homepage": "https://github.com/hexdivision/mychoice-sdk#readme",
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@mychoice/mychoice-sdk-components": "^1.0.0",
|
|
34
|
+
"@mychoice/mychoice-sdk-store": "^1.0.0",
|
|
35
|
+
"@types/react-gtm-module": "^2.0.1",
|
|
36
|
+
"react-gtm-module": "^2.0.11",
|
|
37
|
+
"react-router-dom": "^6.3.0"
|
|
38
|
+
},
|
|
39
|
+
"gitHead": "f2d17b6b799ff5f3b2dc543879175412916df94a"
|
|
40
|
+
}
|