@mychoice/mychoice-sdk-modules 2.0.0 → 2.0.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.
Files changed (263) hide show
  1. package/README.md +2 -2
  2. package/dist/cjs/index.js +74 -18
  3. package/dist/cjs/index.js.map +1 -1
  4. package/dist/cjs/init/AppConfig/AppConfig.d.ts +1 -1
  5. package/dist/cjs/init/AppConfig/interfaces.d.ts +1 -1
  6. package/dist/cjs/init/AppContainer/AppContainer.d.ts +1 -1
  7. package/dist/cjs/init/AppHeader/AppHeader.d.ts +1 -1
  8. package/dist/cjs/init/AppLoader/AppLoader.d.ts +1 -1
  9. package/dist/cjs/init/AppModal/AppModal.d.ts +1 -1
  10. package/dist/cjs/init/AppModal/interfaces.d.ts +1 -1
  11. package/dist/cjs/init/AppRouterListener/AppRouterListener.d.ts +1 -1
  12. package/dist/cjs/init/AppRoutes/AppRoutes.d.ts +1 -1
  13. package/dist/cjs/init/AppRoutes/BrokerKeys.d.ts +1 -1
  14. package/dist/cjs/init/AppRoutes/routeTypes/RouteWrapperPrivate.d.ts +1 -1
  15. package/dist/cjs/init/AppRoutes/routeTypes/RouteWrapperPublic.d.ts +1 -1
  16. package/dist/cjs/init/AppRoutes/routeTypes/RouteWrapperRestricted.d.ts +1 -1
  17. package/dist/cjs/init/AppTitle/AppTitle.d.ts +1 -1
  18. package/dist/cjs/init/AppWrapper/AppWrapper.d.ts +1 -1
  19. package/dist/cjs/init/AppWrapper/interfaces.d.ts +1 -1
  20. package/dist/cjs/init/StoryAppWrapper/StoryAppWrapper.d.ts +1 -1
  21. package/dist/cjs/init/StoryAppWrapper/interfaces.d.ts +1 -1
  22. package/dist/cjs/init/helper.d.ts +1 -1
  23. package/dist/cjs/insurances/car/pages/discount/PageDiscount.d.ts +1 -1
  24. package/dist/cjs/insurances/car/pages/discount/helpers.d.ts +2 -2
  25. package/dist/cjs/insurances/car/pages/discount/sections/SectionDiscountInfo.d.ts +1 -1
  26. package/dist/cjs/insurances/car/pages/discount/sections/blocks/BlockNextPageInfo.d.ts +1 -1
  27. package/dist/cjs/insurances/car/pages/discount/sections/blocks/BlockSubmit.d.ts +1 -1
  28. package/dist/cjs/insurances/car/pages/discount/sections/blocks/BlockVehLinks.d.ts +1 -1
  29. package/dist/cjs/insurances/car/pages/discount/sections/blocks/interfaces.d.ts +1 -1
  30. package/dist/cjs/insurances/car/pages/driver/PageDriver.d.ts +1 -1
  31. package/dist/cjs/insurances/car/pages/driver/TabDriver.d.ts +1 -1
  32. package/dist/cjs/insurances/car/pages/driver/helpers.d.ts +1 -1
  33. package/dist/cjs/insurances/car/pages/driver/sections/SectionDriverCancellation/SectionDriverCancellation.d.ts +1 -1
  34. package/dist/cjs/insurances/car/pages/driver/sections/SectionDriverHistory/SectionDriverHistory.d.ts +1 -1
  35. package/dist/cjs/insurances/car/pages/driver/sections/SectionDriverHistory/blocks/BlockDriverAccident.d.ts +1 -1
  36. package/dist/cjs/insurances/car/pages/driver/sections/SectionDriverHistory/blocks/BlockDriverSuspension.d.ts +1 -1
  37. package/dist/cjs/insurances/car/pages/driver/sections/SectionDriverHistory/blocks/BlockDriverTicket.d.ts +1 -1
  38. package/dist/cjs/insurances/car/pages/driver/sections/SectionDriverInfo/SectionDriverInfo.d.ts +1 -1
  39. package/dist/cjs/insurances/car/pages/driver/sections/SectionDriverInsurancePolicy/SectionDriverInsurancePolicy.d.ts +1 -1
  40. package/dist/cjs/insurances/car/pages/driver/sections/SectionDriverLicence/SectionDriverLicence.d.ts +1 -1
  41. package/dist/cjs/insurances/{life/pages/quote/sections/SectionQuoteRecalc.d.ts → car/pages/quote/PageAllQuotes.d.ts} +1 -1
  42. package/dist/cjs/insurances/car/pages/quote/PageQuote.d.ts +1 -1
  43. package/dist/cjs/insurances/car/pages/quote/sections/SectionConfirm.d.ts +1 -0
  44. package/dist/cjs/insurances/car/pages/quote/sections/SectionQuoteEdit.d.ts +1 -1
  45. package/dist/cjs/insurances/car/pages/quote/sections/SectionQuoteRecalc.d.ts +1 -1
  46. package/dist/cjs/insurances/car/pages/quote/sections/SplashScreen.d.ts +1 -1
  47. package/dist/cjs/insurances/car/pages/quote/sections/blocks/BlockEndorsements.d.ts +1 -1
  48. package/dist/cjs/insurances/car/pages/quote/sections/blocks/BlockQuoteStatistics.d.ts +2 -0
  49. package/dist/cjs/insurances/car/pages/quote/sections/index.d.ts +1 -0
  50. package/dist/cjs/insurances/car/pages/vehicle/PageVehicle.d.ts +1 -1
  51. package/dist/cjs/insurances/car/pages/vehicle/TabVehicle.d.ts +1 -1
  52. package/dist/cjs/insurances/car/pages/vehicle/helpers.d.ts +1 -1
  53. package/dist/cjs/insurances/car/pages/vehicle/sections/SectionCoverage.d.ts +1 -1
  54. package/dist/cjs/insurances/car/pages/vehicle/sections/SectionMain.d.ts +1 -1
  55. package/dist/cjs/insurances/car/pages/vehicle/sections/blocks/BlockCarConditionInfo.d.ts +1 -1
  56. package/dist/cjs/insurances/car/pages/vehicle/sections/blocks/BlockCarInfo.d.ts +1 -1
  57. package/dist/cjs/insurances/helpers.d.ts +2 -2
  58. package/dist/cjs/insurances/home/pages/address/PageAddress.d.ts +1 -1
  59. package/dist/cjs/insurances/home/pages/address/sections/SectionAddress.d.ts +1 -1
  60. package/dist/cjs/insurances/home/pages/applicant/PageApplicant.d.ts +1 -1
  61. package/dist/cjs/insurances/home/pages/applicant/sections/SectionApplicantCancellation/SectionApplicantCancellation.d.ts +1 -1
  62. package/dist/cjs/insurances/home/pages/applicant/sections/SectionApplicantClaim/SectionApplicantClaim.d.ts +1 -1
  63. package/dist/cjs/insurances/home/pages/applicant/sections/SectionApplicantInfo/SectionApplicantInfo.d.ts +1 -1
  64. package/dist/cjs/insurances/home/pages/applicant/sections/SectionApplicantInsurancePolicy/SectionApplicantInsurancePolicy.d.ts +1 -1
  65. package/dist/cjs/insurances/home/pages/discount/PageDiscount.d.ts +1 -1
  66. package/dist/cjs/insurances/home/pages/discount/sections/SectionDiscountInfo.d.ts +1 -1
  67. package/dist/cjs/insurances/home/pages/discount/sections/blocks/BlockDwellingInfo.d.ts +1 -1
  68. package/dist/cjs/insurances/home/pages/discount/sections/blocks/BlockNextPageInfo.d.ts +1 -1
  69. package/dist/cjs/insurances/home/pages/discount/sections/blocks/BlockSubmit.d.ts +1 -1
  70. package/dist/cjs/insurances/home/pages/discount/sections/blocks/interfaces.d.ts +1 -1
  71. package/dist/cjs/insurances/home/pages/dwelling/PageProperty.d.ts +1 -1
  72. package/dist/cjs/insurances/home/pages/dwelling/helpers.d.ts +1 -1
  73. package/dist/cjs/insurances/home/pages/dwelling/sections/SectionDwelling.d.ts +1 -1
  74. package/dist/cjs/insurances/home/pages/quote/PageQuote.d.ts +1 -1
  75. package/dist/cjs/insurances/home/pages/quote/sections/SectionQuoteEdit.d.ts +1 -1
  76. package/dist/cjs/insurances/home/pages/quote/sections/SectionQuoteRecalc.d.ts +1 -1
  77. package/dist/cjs/insurances/home/pages/quote/sections/SplashScreen.d.ts +1 -1
  78. package/dist/cjs/insurances/home/pages/quote/sections/blocks/BlockEndorsements.d.ts +1 -1
  79. package/dist/cjs/insurances/life/pages/applicant/PageApplicant.d.ts +1 -1
  80. package/dist/cjs/insurances/life/pages/applicant/sections/SectionApplicant.d.ts +1 -1
  81. package/dist/cjs/insurances/life/pages/applicant/sections/blocks/BlockNextPageInfo.d.ts +1 -1
  82. package/dist/cjs/insurances/life/pages/applicant/sections/blocks/BlockSubmit.d.ts +1 -1
  83. package/dist/cjs/insurances/life/pages/applicant/sections/blocks/interfaces.d.ts +1 -1
  84. package/dist/cjs/insurances/life/pages/coverage/PageCoverage.d.ts +1 -1
  85. package/dist/cjs/insurances/life/pages/coverage/sections/SectionCoverage.d.ts +1 -1
  86. package/dist/cjs/insurances/life/pages/quote/PageQuote.d.ts +1 -1
  87. package/dist/cjs/insurances/life/pages/quote/sections/SectionQuoteEdit.d.ts +1 -1
  88. package/dist/cjs/insurances/life/pages/quote/sections/SplashScreen.d.ts +1 -1
  89. package/dist/cjs/insurances/life/pages/quote/sections/blocks/BlockEndorsements.d.ts +1 -1
  90. package/dist/cjs/shared/boxes/Container/Container.d.ts +1 -1
  91. package/dist/cjs/shared/boxes/Container/interface.d.ts +1 -1
  92. package/dist/cjs/shared/boxes/DateSelectFormBox/DateSelectFormBox.d.ts +1 -1
  93. package/dist/cjs/shared/boxes/DateSelectFormBox/interface.d.ts +1 -1
  94. package/dist/cjs/shared/boxes/InputFormBox/InputFormBox.d.ts +1 -1
  95. package/dist/cjs/shared/boxes/InputFormBox/InputFormEmailBox.d.ts +1 -1
  96. package/dist/cjs/shared/boxes/InputFormBox/InputFormLicenceBox.d.ts +1 -1
  97. package/dist/cjs/shared/boxes/InputFormBox/InputFormPhoneBox.d.ts +1 -1
  98. package/dist/cjs/shared/boxes/InputFormBox/interface.d.ts +1 -1
  99. package/dist/cjs/shared/boxes/LabelFormBox/LabelFormBox.d.ts +1 -1
  100. package/dist/cjs/shared/boxes/LabelFormBox/interface.d.ts +1 -1
  101. package/dist/cjs/shared/boxes/SelectFormBox/SelectFormBox.d.ts +1 -1
  102. package/dist/cjs/shared/boxes/SelectFormBox/interface.d.ts +1 -1
  103. package/dist/cjs/shared/boxes/SwitchButtonBox/SwitchButtonBox.d.ts +1 -1
  104. package/dist/cjs/shared/boxes/SwitchButtonBox/interface.d.ts +1 -1
  105. package/dist/cjs/shared/headers/HeaderDesktop/Mychoice.d.ts +1 -1
  106. package/dist/cjs/shared/headers/HeaderDesktop/Partner.d.ts +1 -1
  107. package/dist/cjs/shared/headers/HeaderDesktop/TheBig.d.ts +1 -1
  108. package/dist/cjs/shared/headers/HeaderMobile/MyChoice.d.ts +1 -1
  109. package/dist/cjs/shared/headers/constants.d.ts +1 -1
  110. package/dist/cjs/shared/headers/interfaces.d.ts +1 -1
  111. package/dist/cjs/shared/loaders/LoaderPrimary/LoaderPrimary.d.ts +1 -1
  112. package/dist/cjs/shared/modals/ModalAddress/ModalAddress.d.ts +1 -1
  113. package/dist/cjs/shared/modals/ModalConfirm/ModalConfirm.d.ts +1 -1
  114. package/dist/cjs/shared/modals/ModalFinale/ModalFinale.d.ts +1 -1
  115. package/dist/cjs/shared/modals/ModalMessage/ModalMessage.d.ts +1 -1
  116. package/dist/cjs/shared/modals/ModalPostal/ModalPostal.d.ts +1 -1
  117. package/dist/cjs/shared/modals/ModalQuoteRequest/ModalQuoteRequest.d.ts +1 -1
  118. package/dist/cjs/shared/modals/interfaces.d.ts +1 -1
  119. package/dist/cjs/shared/navigations/NavigationBottom/NavigationBottom.d.ts +1 -1
  120. package/dist/cjs/shared/navigations/NavigationBottom/NavigationBottomTheBig.d.ts +1 -1
  121. package/dist/cjs/shared/navigations/NavigationTab/NavigationTab.d.ts +1 -1
  122. package/dist/cjs/shared/navigations/NavigationTab/NavigationTabMobile.d.ts +1 -1
  123. package/dist/cjs/shared/navigations/NavigationTop/NavigationTop.d.ts +1 -1
  124. package/dist/cjs/shared/navigations/NavigationTop/components/ButtonsBox.d.ts +1 -1
  125. package/dist/cjs/shared/navigations/NavigationTop/components/PostalCodeDataBox.d.ts +1 -1
  126. package/dist/cjs/shared/navigations/NavigationTop/components/StepsBox.d.ts +1 -1
  127. package/dist/cjs/shared/navigations/interfaces.d.ts +1 -1
  128. package/dist/cjs/shared/sections/quotes/OfferSection/BestOfferSection.d.ts +3 -0
  129. package/dist/cjs/shared/sections/quotes/OfferSection/DummyOfferSection.d.ts +3 -0
  130. package/dist/cjs/shared/sections/quotes/OfferSection/OfferSection.d.ts +1 -1
  131. package/dist/cjs/shared/sections/quotes/interfaces.d.ts +1 -1
  132. package/dist/esm/index.js +74 -18
  133. package/dist/esm/index.js.map +1 -1
  134. package/dist/esm/init/AppConfig/AppConfig.d.ts +1 -1
  135. package/dist/esm/init/AppConfig/interfaces.d.ts +1 -1
  136. package/dist/esm/init/AppContainer/AppContainer.d.ts +1 -1
  137. package/dist/esm/init/AppHeader/AppHeader.d.ts +1 -1
  138. package/dist/esm/init/AppLoader/AppLoader.d.ts +1 -1
  139. package/dist/esm/init/AppModal/AppModal.d.ts +1 -1
  140. package/dist/esm/init/AppModal/interfaces.d.ts +1 -1
  141. package/dist/esm/init/AppRouterListener/AppRouterListener.d.ts +1 -1
  142. package/dist/esm/init/AppRoutes/AppRoutes.d.ts +1 -1
  143. package/dist/esm/init/AppRoutes/BrokerKeys.d.ts +1 -1
  144. package/dist/esm/init/AppRoutes/routeTypes/RouteWrapperPrivate.d.ts +1 -1
  145. package/dist/esm/init/AppRoutes/routeTypes/RouteWrapperPublic.d.ts +1 -1
  146. package/dist/esm/init/AppRoutes/routeTypes/RouteWrapperRestricted.d.ts +1 -1
  147. package/dist/esm/init/AppTitle/AppTitle.d.ts +1 -1
  148. package/dist/esm/init/AppWrapper/AppWrapper.d.ts +1 -1
  149. package/dist/esm/init/AppWrapper/interfaces.d.ts +1 -1
  150. package/dist/esm/init/StoryAppWrapper/StoryAppWrapper.d.ts +1 -1
  151. package/dist/esm/init/StoryAppWrapper/interfaces.d.ts +1 -1
  152. package/dist/esm/init/helper.d.ts +1 -1
  153. package/dist/esm/insurances/car/pages/discount/PageDiscount.d.ts +1 -1
  154. package/dist/esm/insurances/car/pages/discount/helpers.d.ts +2 -2
  155. package/dist/esm/insurances/car/pages/discount/sections/SectionDiscountInfo.d.ts +1 -1
  156. package/dist/esm/insurances/car/pages/discount/sections/blocks/BlockNextPageInfo.d.ts +1 -1
  157. package/dist/esm/insurances/car/pages/discount/sections/blocks/BlockSubmit.d.ts +1 -1
  158. package/dist/esm/insurances/car/pages/discount/sections/blocks/BlockVehLinks.d.ts +1 -1
  159. package/dist/esm/insurances/car/pages/discount/sections/blocks/interfaces.d.ts +1 -1
  160. package/dist/esm/insurances/car/pages/driver/PageDriver.d.ts +1 -1
  161. package/dist/esm/insurances/car/pages/driver/TabDriver.d.ts +1 -1
  162. package/dist/esm/insurances/car/pages/driver/helpers.d.ts +1 -1
  163. package/dist/esm/insurances/car/pages/driver/sections/SectionDriverCancellation/SectionDriverCancellation.d.ts +1 -1
  164. package/dist/esm/insurances/car/pages/driver/sections/SectionDriverHistory/SectionDriverHistory.d.ts +1 -1
  165. package/dist/esm/insurances/car/pages/driver/sections/SectionDriverHistory/blocks/BlockDriverAccident.d.ts +1 -1
  166. package/dist/esm/insurances/car/pages/driver/sections/SectionDriverHistory/blocks/BlockDriverSuspension.d.ts +1 -1
  167. package/dist/esm/insurances/car/pages/driver/sections/SectionDriverHistory/blocks/BlockDriverTicket.d.ts +1 -1
  168. package/dist/esm/insurances/car/pages/driver/sections/SectionDriverInfo/SectionDriverInfo.d.ts +1 -1
  169. package/dist/esm/insurances/car/pages/driver/sections/SectionDriverInsurancePolicy/SectionDriverInsurancePolicy.d.ts +1 -1
  170. package/dist/esm/insurances/car/pages/driver/sections/SectionDriverLicence/SectionDriverLicence.d.ts +1 -1
  171. package/dist/esm/insurances/{life/pages/quote/sections/SectionQuoteRecalc.d.ts → car/pages/quote/PageAllQuotes.d.ts} +1 -1
  172. package/dist/esm/insurances/car/pages/quote/PageQuote.d.ts +1 -1
  173. package/dist/esm/insurances/car/pages/quote/sections/SectionConfirm.d.ts +1 -0
  174. package/dist/esm/insurances/car/pages/quote/sections/SectionQuoteEdit.d.ts +1 -1
  175. package/dist/esm/insurances/car/pages/quote/sections/SectionQuoteRecalc.d.ts +1 -1
  176. package/dist/esm/insurances/car/pages/quote/sections/SplashScreen.d.ts +1 -1
  177. package/dist/esm/insurances/car/pages/quote/sections/blocks/BlockEndorsements.d.ts +1 -1
  178. package/dist/esm/insurances/car/pages/quote/sections/blocks/BlockQuoteStatistics.d.ts +2 -0
  179. package/dist/esm/insurances/car/pages/quote/sections/index.d.ts +1 -0
  180. package/dist/esm/insurances/car/pages/vehicle/PageVehicle.d.ts +1 -1
  181. package/dist/esm/insurances/car/pages/vehicle/TabVehicle.d.ts +1 -1
  182. package/dist/esm/insurances/car/pages/vehicle/helpers.d.ts +1 -1
  183. package/dist/esm/insurances/car/pages/vehicle/sections/SectionCoverage.d.ts +1 -1
  184. package/dist/esm/insurances/car/pages/vehicle/sections/SectionMain.d.ts +1 -1
  185. package/dist/esm/insurances/car/pages/vehicle/sections/blocks/BlockCarConditionInfo.d.ts +1 -1
  186. package/dist/esm/insurances/car/pages/vehicle/sections/blocks/BlockCarInfo.d.ts +1 -1
  187. package/dist/esm/insurances/helpers.d.ts +2 -2
  188. package/dist/esm/insurances/home/pages/address/PageAddress.d.ts +1 -1
  189. package/dist/esm/insurances/home/pages/address/sections/SectionAddress.d.ts +1 -1
  190. package/dist/esm/insurances/home/pages/applicant/PageApplicant.d.ts +1 -1
  191. package/dist/esm/insurances/home/pages/applicant/sections/SectionApplicantCancellation/SectionApplicantCancellation.d.ts +1 -1
  192. package/dist/esm/insurances/home/pages/applicant/sections/SectionApplicantClaim/SectionApplicantClaim.d.ts +1 -1
  193. package/dist/esm/insurances/home/pages/applicant/sections/SectionApplicantInfo/SectionApplicantInfo.d.ts +1 -1
  194. package/dist/esm/insurances/home/pages/applicant/sections/SectionApplicantInsurancePolicy/SectionApplicantInsurancePolicy.d.ts +1 -1
  195. package/dist/esm/insurances/home/pages/discount/PageDiscount.d.ts +1 -1
  196. package/dist/esm/insurances/home/pages/discount/sections/SectionDiscountInfo.d.ts +1 -1
  197. package/dist/esm/insurances/home/pages/discount/sections/blocks/BlockDwellingInfo.d.ts +1 -1
  198. package/dist/esm/insurances/home/pages/discount/sections/blocks/BlockNextPageInfo.d.ts +1 -1
  199. package/dist/esm/insurances/home/pages/discount/sections/blocks/BlockSubmit.d.ts +1 -1
  200. package/dist/esm/insurances/home/pages/discount/sections/blocks/interfaces.d.ts +1 -1
  201. package/dist/esm/insurances/home/pages/dwelling/PageProperty.d.ts +1 -1
  202. package/dist/esm/insurances/home/pages/dwelling/helpers.d.ts +1 -1
  203. package/dist/esm/insurances/home/pages/dwelling/sections/SectionDwelling.d.ts +1 -1
  204. package/dist/esm/insurances/home/pages/quote/PageQuote.d.ts +1 -1
  205. package/dist/esm/insurances/home/pages/quote/sections/SectionQuoteEdit.d.ts +1 -1
  206. package/dist/esm/insurances/home/pages/quote/sections/SectionQuoteRecalc.d.ts +1 -1
  207. package/dist/esm/insurances/home/pages/quote/sections/SplashScreen.d.ts +1 -1
  208. package/dist/esm/insurances/home/pages/quote/sections/blocks/BlockEndorsements.d.ts +1 -1
  209. package/dist/esm/insurances/life/pages/applicant/PageApplicant.d.ts +1 -1
  210. package/dist/esm/insurances/life/pages/applicant/sections/SectionApplicant.d.ts +1 -1
  211. package/dist/esm/insurances/life/pages/applicant/sections/blocks/BlockNextPageInfo.d.ts +1 -1
  212. package/dist/esm/insurances/life/pages/applicant/sections/blocks/BlockSubmit.d.ts +1 -1
  213. package/dist/esm/insurances/life/pages/applicant/sections/blocks/interfaces.d.ts +1 -1
  214. package/dist/esm/insurances/life/pages/coverage/PageCoverage.d.ts +1 -1
  215. package/dist/esm/insurances/life/pages/coverage/sections/SectionCoverage.d.ts +1 -1
  216. package/dist/esm/insurances/life/pages/quote/PageQuote.d.ts +1 -1
  217. package/dist/esm/insurances/life/pages/quote/sections/SectionQuoteEdit.d.ts +1 -1
  218. package/dist/esm/insurances/life/pages/quote/sections/SplashScreen.d.ts +1 -1
  219. package/dist/esm/insurances/life/pages/quote/sections/blocks/BlockEndorsements.d.ts +1 -1
  220. package/dist/esm/shared/boxes/Container/Container.d.ts +1 -1
  221. package/dist/esm/shared/boxes/Container/interface.d.ts +1 -1
  222. package/dist/esm/shared/boxes/DateSelectFormBox/DateSelectFormBox.d.ts +1 -1
  223. package/dist/esm/shared/boxes/DateSelectFormBox/interface.d.ts +1 -1
  224. package/dist/esm/shared/boxes/InputFormBox/InputFormBox.d.ts +1 -1
  225. package/dist/esm/shared/boxes/InputFormBox/InputFormEmailBox.d.ts +1 -1
  226. package/dist/esm/shared/boxes/InputFormBox/InputFormLicenceBox.d.ts +1 -1
  227. package/dist/esm/shared/boxes/InputFormBox/InputFormPhoneBox.d.ts +1 -1
  228. package/dist/esm/shared/boxes/InputFormBox/interface.d.ts +1 -1
  229. package/dist/esm/shared/boxes/LabelFormBox/LabelFormBox.d.ts +1 -1
  230. package/dist/esm/shared/boxes/LabelFormBox/interface.d.ts +1 -1
  231. package/dist/esm/shared/boxes/SelectFormBox/SelectFormBox.d.ts +1 -1
  232. package/dist/esm/shared/boxes/SelectFormBox/interface.d.ts +1 -1
  233. package/dist/esm/shared/boxes/SwitchButtonBox/SwitchButtonBox.d.ts +1 -1
  234. package/dist/esm/shared/boxes/SwitchButtonBox/interface.d.ts +1 -1
  235. package/dist/esm/shared/headers/HeaderDesktop/Mychoice.d.ts +1 -1
  236. package/dist/esm/shared/headers/HeaderDesktop/Partner.d.ts +1 -1
  237. package/dist/esm/shared/headers/HeaderDesktop/TheBig.d.ts +1 -1
  238. package/dist/esm/shared/headers/HeaderMobile/MyChoice.d.ts +1 -1
  239. package/dist/esm/shared/headers/constants.d.ts +1 -1
  240. package/dist/esm/shared/headers/interfaces.d.ts +1 -1
  241. package/dist/esm/shared/loaders/LoaderPrimary/LoaderPrimary.d.ts +1 -1
  242. package/dist/esm/shared/modals/ModalAddress/ModalAddress.d.ts +1 -1
  243. package/dist/esm/shared/modals/ModalConfirm/ModalConfirm.d.ts +1 -1
  244. package/dist/esm/shared/modals/ModalFinale/ModalFinale.d.ts +1 -1
  245. package/dist/esm/shared/modals/ModalMessage/ModalMessage.d.ts +1 -1
  246. package/dist/esm/shared/modals/ModalPostal/ModalPostal.d.ts +1 -1
  247. package/dist/esm/shared/modals/ModalQuoteRequest/ModalQuoteRequest.d.ts +1 -1
  248. package/dist/esm/shared/modals/interfaces.d.ts +1 -1
  249. package/dist/esm/shared/navigations/NavigationBottom/NavigationBottom.d.ts +1 -1
  250. package/dist/esm/shared/navigations/NavigationBottom/NavigationBottomTheBig.d.ts +1 -1
  251. package/dist/esm/shared/navigations/NavigationTab/NavigationTab.d.ts +1 -1
  252. package/dist/esm/shared/navigations/NavigationTab/NavigationTabMobile.d.ts +1 -1
  253. package/dist/esm/shared/navigations/NavigationTop/NavigationTop.d.ts +1 -1
  254. package/dist/esm/shared/navigations/NavigationTop/components/ButtonsBox.d.ts +1 -1
  255. package/dist/esm/shared/navigations/NavigationTop/components/PostalCodeDataBox.d.ts +1 -1
  256. package/dist/esm/shared/navigations/NavigationTop/components/StepsBox.d.ts +1 -1
  257. package/dist/esm/shared/navigations/interfaces.d.ts +1 -1
  258. package/dist/esm/shared/sections/quotes/OfferSection/BestOfferSection.d.ts +3 -0
  259. package/dist/esm/shared/sections/quotes/OfferSection/DummyOfferSection.d.ts +3 -0
  260. package/dist/esm/shared/sections/quotes/OfferSection/OfferSection.d.ts +1 -1
  261. package/dist/esm/shared/sections/quotes/interfaces.d.ts +1 -1
  262. package/dist/index.d.ts +3 -3
  263. package/package.json +4 -4
@@ -1,3 +1,3 @@
1
- import { SdkFC } from '@groksmith/mychoice-sdk-components';
1
+ import { SdkFC } from '@mychoice/mychoice-sdk-components';
2
2
  import { SelectFormBoxProps } from './interface';
3
3
  export declare const SelectFormBox: SdkFC<SelectFormBoxProps>;
@@ -1,4 +1,4 @@
1
- import { DefaultInputProps, OnChangeEventInterface, SelectOptionGroupInterface, SelectOptionInterface } from '@groksmith/mychoice-sdk-components';
1
+ import { DefaultInputProps, OnChangeEventInterface, SelectOptionGroupInterface, SelectOptionInterface } from '@mychoice/mychoice-sdk-components';
2
2
  import { LabelFormBoxProps } from '../LabelFormBox/interface';
3
3
  export type SelectFormBoxProps = DefaultInputProps & LabelFormBoxProps & {
4
4
  name: string;
@@ -1,3 +1,3 @@
1
- import { SdkFC } from '@groksmith/mychoice-sdk-components';
1
+ import { SdkFC } from '@mychoice/mychoice-sdk-components';
2
2
  import { SwitchButtonBoxProps } from './interface';
3
3
  export declare const SwitchButtonBox: SdkFC<SwitchButtonBoxProps>;
@@ -1,4 +1,4 @@
1
- import { SelectOptionInterface, OnChangeEventInterface } from '@groksmith/mychoice-sdk-components';
1
+ import { SelectOptionInterface, OnChangeEventInterface } from '@mychoice/mychoice-sdk-components';
2
2
  import { LabelFormBoxProps } from '../LabelFormBox/interface';
3
3
  export type SwitchButtonBoxProps = LabelFormBoxProps & {
4
4
  name: string;
@@ -1,3 +1,3 @@
1
- import { SdkFC } from '@groksmith/mychoice-sdk-components';
1
+ import { SdkFC } from '@mychoice/mychoice-sdk-components';
2
2
  import { HeaderLogoProps } from '../interfaces';
3
3
  export declare const HeaderMyChoice: SdkFC<HeaderLogoProps>;
@@ -1,3 +1,3 @@
1
- import { SdkFC } from '@groksmith/mychoice-sdk-components';
1
+ import { SdkFC } from '@mychoice/mychoice-sdk-components';
2
2
  import { HeaderLogoProps } from '../interfaces';
3
3
  export declare const HeaderPartner: SdkFC<HeaderLogoProps>;
@@ -1,3 +1,3 @@
1
- import { SdkFC } from '@groksmith/mychoice-sdk-components';
1
+ import { SdkFC } from '@mychoice/mychoice-sdk-components';
2
2
  import { HeaderTheBigProps } from '../interfaces';
3
3
  export declare const HeaderTheBig: SdkFC<HeaderTheBigProps>;
@@ -1,3 +1,3 @@
1
- import { SdkFC } from '@groksmith/mychoice-sdk-components';
1
+ import { SdkFC } from '@mychoice/mychoice-sdk-components';
2
2
  import { HeaderLogoProps } from '../interfaces';
3
3
  export declare const HeaderMyChoiceMobile: SdkFC<HeaderLogoProps>;
@@ -1,4 +1,4 @@
1
- import { InsuranceTypes } from '@groksmith/mychoice-sdk-components';
1
+ import { InsuranceTypes } from '@mychoice/mychoice-sdk-components';
2
2
  export declare const usePathGroups: (insuranceType: InsuranceTypes) => {
3
3
  insurancePathGroup: {
4
4
  name: string;
@@ -1,4 +1,4 @@
1
- import { AppTypes } from '@groksmith/mychoice-sdk-components';
1
+ import { AppTypes } from '@mychoice/mychoice-sdk-components';
2
2
  export type HeaderLogoProps = {
3
3
  className?: string;
4
4
  };
@@ -1,2 +1,2 @@
1
- import { SdkFC } from '@groksmith/mychoice-sdk-components';
1
+ import { SdkFC } from '@mychoice/mychoice-sdk-components';
2
2
  export declare const LoaderPrimary: SdkFC;
@@ -1,2 +1,2 @@
1
- import { SdkFC } from '@groksmith/mychoice-sdk-components';
1
+ import { SdkFC } from '@mychoice/mychoice-sdk-components';
2
2
  export declare const ModalAddress: SdkFC;
@@ -1,2 +1,2 @@
1
- import { SdkFC } from '@groksmith/mychoice-sdk-components';
1
+ import { SdkFC } from '@mychoice/mychoice-sdk-components';
2
2
  export declare const ModalConfirm: SdkFC;
@@ -1,2 +1,2 @@
1
- import { SdkFC } from '@groksmith/mychoice-sdk-components';
1
+ import { SdkFC } from '@mychoice/mychoice-sdk-components';
2
2
  export declare const ModalFinale: SdkFC;
@@ -1,2 +1,2 @@
1
- import { SdkFC } from '@groksmith/mychoice-sdk-components';
1
+ import { SdkFC } from '@mychoice/mychoice-sdk-components';
2
2
  export declare const ModalMessage: SdkFC;
@@ -1,2 +1,2 @@
1
- import { SdkFC } from '@groksmith/mychoice-sdk-components';
1
+ import { SdkFC } from '@mychoice/mychoice-sdk-components';
2
2
  export declare const ModalPostal: SdkFC;
@@ -1,3 +1,3 @@
1
- import { SdkFC } from '@groksmith/mychoice-sdk-components';
1
+ import { SdkFC } from '@mychoice/mychoice-sdk-components';
2
2
  import { QuoteRequestModalProps } from '../interfaces';
3
3
  export declare const ModalQuoteRequest: SdkFC<QuoteRequestModalProps>;
@@ -1,4 +1,4 @@
1
- import { OnChangeEventInterface } from '@groksmith/mychoice-sdk-components';
1
+ import { OnChangeEventInterface } from '@mychoice/mychoice-sdk-components';
2
2
  import { FormEvent } from 'react';
3
3
  export type BaseModalProps = {
4
4
  title?: string;
@@ -1,3 +1,3 @@
1
- import { SdkFC } from '@groksmith/mychoice-sdk-components';
1
+ import { SdkFC } from '@mychoice/mychoice-sdk-components';
2
2
  import { NavigationBottomProps } from '../interfaces';
3
3
  export declare const NavigationBottom: SdkFC<NavigationBottomProps>;
@@ -1,3 +1,3 @@
1
- import { SdkFC } from '@groksmith/mychoice-sdk-components';
1
+ import { SdkFC } from '@mychoice/mychoice-sdk-components';
2
2
  import { NavigationBottomProps } from '../interfaces';
3
3
  export declare const NavigationBottomTheBig: SdkFC<NavigationBottomProps>;
@@ -1,3 +1,3 @@
1
- import { SdkFC } from '@groksmith/mychoice-sdk-components';
1
+ import { SdkFC } from '@mychoice/mychoice-sdk-components';
2
2
  import { NavigationTabProps } from './interface';
3
3
  export declare const NavigationTab: SdkFC<NavigationTabProps>;
@@ -1,3 +1,3 @@
1
- import { SdkFC } from '@groksmith/mychoice-sdk-components';
1
+ import { SdkFC } from '@mychoice/mychoice-sdk-components';
2
2
  import { NavigationTabProps } from './interface';
3
3
  export declare const NavigationTabMobile: SdkFC<NavigationTabProps>;
@@ -1,3 +1,3 @@
1
- import { SdkFC } from '@groksmith/mychoice-sdk-components';
1
+ import { SdkFC } from '@mychoice/mychoice-sdk-components';
2
2
  import { NavigationTopProps } from '../interfaces';
3
3
  export declare const NavigationTop: SdkFC<NavigationTopProps>;
@@ -1,3 +1,3 @@
1
- import { SdkFC } from '@groksmith/mychoice-sdk-components';
1
+ import { SdkFC } from '@mychoice/mychoice-sdk-components';
2
2
  import { ButtonBoxProps } from '../../interfaces';
3
3
  export declare const ButtonsBox: SdkFC<ButtonBoxProps>;
@@ -1,3 +1,3 @@
1
- import { SdkFC } from '@groksmith/mychoice-sdk-components';
1
+ import { SdkFC } from '@mychoice/mychoice-sdk-components';
2
2
  import { PostalCodeDataProps } from '../../interfaces';
3
3
  export declare const PostalCodeDataBox: SdkFC<PostalCodeDataProps>;
@@ -1,3 +1,3 @@
1
- import { SdkFC } from '@groksmith/mychoice-sdk-components';
1
+ import { SdkFC } from '@mychoice/mychoice-sdk-components';
2
2
  import { StepsProps } from '../../interfaces';
3
3
  export declare const StepsBox: SdkFC<StepsProps>;
@@ -1,4 +1,4 @@
1
- import { NavigationItemInterface, ValidationHookInterface } from '@groksmith/mychoice-sdk-components';
1
+ import { NavigationItemInterface, ValidationHookInterface } from '@mychoice/mychoice-sdk-components';
2
2
  export type StepsProps = {
3
3
  partnerId?: string;
4
4
  className?: string;
@@ -0,0 +1,3 @@
1
+ import { SdkFC } from '@groksmith/mychoice-sdk-components';
2
+ import { OfferSectionProps } from '../interfaces';
3
+ export declare const BestOfferSection: SdkFC<OfferSectionProps>;
@@ -0,0 +1,3 @@
1
+ import { SdkFC } from '@groksmith/mychoice-sdk-components';
2
+ import { OfferSectionProps } from '../interfaces';
3
+ export declare const DummyOfferSection: SdkFC<OfferSectionProps>;
@@ -1,3 +1,3 @@
1
- import { SdkFC } from '@groksmith/mychoice-sdk-components';
1
+ import { SdkFC } from '@mychoice/mychoice-sdk-components';
2
2
  import { OfferSectionProps } from '../interfaces';
3
3
  export declare const OfferSection: SdkFC<OfferSectionProps>;
@@ -1,4 +1,4 @@
1
- import { OfferDetailInfoProps, OfferDetailTitleProps, OperationHoursInfoProps, PriceInterface } from '@groksmith/mychoice-sdk-components';
1
+ import { OfferDetailInfoProps, OfferDetailTitleProps, OperationHoursInfoProps, PriceInterface } from '@mychoice/mychoice-sdk-components';
2
2
  import { PhoneObjectInterface } from '../../../insurances';
3
3
  export type OfferSectionProps = {
4
4
  phoneNumber?: PhoneObjectInterface;
package/dist/esm/index.js CHANGED
@@ -1,8 +1,9 @@
1
1
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
- import { AppTypes, TitleForm, TooltipForm, IconDelete, ColorVariablesTypes, InputTypes, InputForm, InputFormPhone, InputFormEmail, InputFormLicence, SelectForm, getFormattedDate, DateTypes, getDateOptions, ButtonForm, OfferHeader, OfferPrice, ButtonBase, ButtonTypes, CategoryTypes, ColorTypes, ButtonVariantTypes, SizeTypes, IconDropdownArrow, OfferDetail, CompanyRoleTypes, OperationHoursInfo, InsuranceTypes, HeaderNavGroup, ButtonMenu, IconLoaderPrimary, getInsuranceType, RequestStatusTypes, formatPostalCode, IconLoaderSecondary, postalCodeFormat, defaultBrokerPhone, useEffectOnce, yearMessage, carCondition, carStatus, carWinterTiresCheck, carKeepPlace, carUsagePurpose, firstDriveDistanceList, dailyDriveBusinessDistanceList, yearlyDriveDistanceList, numberWithCommas, VehiclePrimaryUseTypes, comprehensiveCoverage, collisionCoverage, DeviceTypes, defaultLocalIndex, maritalStatusOptions, subYearsFromDate, occupationOptions, genderOptions, applicantRelationshipOptions, addYearsToDate, checkDateIsSpecial, DriverLicenceTypes, getDifferenceInYears, getLicenceTypeOptions, getDisabledLicenceTypes, yesNoOptions, addDaysToDate, getMinDate, CheckboxForm, subMonthsFromDate, getMinDateByYears, compareDates, insuranceCancellationReasonOptions, DriverListTypes, licenceSuspensionsReasonOptions, trafficTicketsGroupOptions, DriverPriorityTypes, ValidationStatusTypes, QuoteEdit, coverageOptions, liabilityOptions, homeOwnerTypeOptions, tenantBuildingStructureOptions, condoBuildingStructureOptions, homeBuildingStructureOptions, residentsOptions, insuredYearsOptions, getInsuranceYearsOptions, ApplicantListTypes, claimTypeOptions, exteriorFinishOptions, constructionTypeOptions, garageTypeOptions, getNumericOptions, fireHallDistanceOptions, fireHydrantDistanceOptions, primaryHeatingTypeOptions, auxHeatingTypeOptions, InfoMessage, ppOptions, homeCoverageOptions, homeLiabilityOptions, lifeProvinceOptions, lifeInsuranceTypeOptions, lifeCoverageOptions, smokerOptions, MychoiceStep, Step, IconClock, ButtonArrow, DirectionTypes, ButtonTabArrow, ButtonTab, ButtonTabMobile, NavigationCar, NavigationPerson, NavigationDiscount, NavigationQuotes, NavigationAddress, NavigationProperty, ModalTypes } from '@groksmith/mychoice-sdk-components';
3
- import { useStoreAppConfig, CarQuoteDataHandler, useStorePartner, useStoreAppLoader, useStoreAppModal, StoreConfigAppModalActionTypes, useHandlerPostal, useHandlerCarMake, useHandlerCarModel, useStoreFormCarVehicle, StoreFormCarVehicleActionTypes, useProvince, useStoreFormCarDiscount, useStoreDeviceType, StoreFormCarDiscountActionTypes, useValidationVehicle, useStoreFormCarDriverBase, StoreFormCarDriverBaseActionTypes, useStoreFormCarConfig, useStoreFormCarDriverInfo, StoreFormCarDriverInfoActionTypes, useStoreFormCarDriverLicence, addDayToDate, StoreFormCarDriverLicenceActionTypes, useStoreFormCarDriverInsurance, useStoreFormCarQuote, StoreFormCarDriverInsuranceActionTypes, useStoreFormCarDriverCancellation, StoreFormCarDriverCancellationActionTypes, useStoreFormCarDriverSuspension, StoreFormCarDriverSuspensionActionTypes, useStoreFormCarDriverAccident, StoreFormCarDriverAccidentActionTypes, useStoreFormCarDriverTicket, StoreFormCarDriverTicketActionTypes, useValidationDriver, useValidationCarDiscount, useHandlerCarQuoterEmail, useStoreFormHomeDwelling, useStoreFormHomePostal, useStoreFormHomeApplicantBase, StoreFormHomePostalActionTypes, StoreFormHomeDwellingActionTypes, StoreConfigAppConfigActionTypes, StoreFormHomeApplicantBaseActionTypes, useValidationAddress, useStoreFormHomeApplicantInfo, useStoreFormHomeDiscount, StoreFormHomeDiscountActionTypes, StoreFormHomeApplicantInfoActionTypes, useStoreFormHomeApplicantInsurance, StoreFormHomeApplicantInsuranceActionTypes, useStoreFormHomeApplicantCancellation, StoreFormHomeApplicantCancellationActionTypes, useStoreFormHomeApplicantClaim, StoreFormHomeApplicantClaimActionTypes, useValidationApplicant, useValidationDwelling, useStoreFormHomeQuote, HomeQuoteDataHandler, useValidationHomeDiscount, useHandlerHomeQuoterEmail, useStoreFormLifeCoverage, StoreFormLifeCoverageActionTypes, useValidationCoverage, useStoreFormLifeQuote, useStoreFormLifeApplicant, LifeQuoteDataHandler, useValidationLifeApplicant, useHandlerLifeQuoterEmail, StoreFormLifeApplicantActionTypes, useStoreFormCarPostal, useStoreFormLifePostal, ClearFormDataHandler, useStoreAppDevice, useStoreClient, useHandlerAuth, useHandlerPartner, StoreConfigAppLoaderActionTypes, StoreFormCarConfigActionTypes, StoreFormCarPostalActionTypes, StoreFormCarQuoteActionTypes, StoreFormHomeQuoteActionTypes, StoreFormLifePostalActionTypes, StoreFormLifeQuoteActionTypes, StoreClientActionTypes, StoreConfigAppDeviceActionTypes, StoreProvider, initHttpResponse } from '@groksmith/mychoice-sdk-store';
2
+ import { AppTypes, TitleForm, TooltipForm, IconDelete, ColorVariablesTypes, InputTypes, InputForm, InputFormPhone, InputFormEmail, InputFormLicence, SelectForm, getFormattedDate, DateTypes, getDateOptions, ButtonForm, OfferHeader, OfferPrice, ButtonBase, ButtonTypes, CategoryTypes, ColorTypes, ButtonVariantTypes, SizeTypes, IconDropdownArrow, OfferDetail, CompanyRoleTypes, OperationHoursInfo, InsuranceTypes, HeaderNavGroup, ButtonMenu, IconLoaderPrimary, getInsuranceType, RequestStatusTypes, formatPostalCode, IconLoaderSecondary, postalCodeFormat, defaultBrokerPhone, useEffectOnce, yearMessage, carCondition, carStatus, carWinterTiresCheck, carKeepPlace, carUsagePurpose, firstDriveDistanceList, dailyDriveBusinessDistanceList, yearlyDriveDistanceList, numberWithCommas, VehiclePrimaryUseTypes, comprehensiveCoverage, collisionCoverage, DeviceTypes, defaultLocalIndex, maritalStatusOptions, subYearsFromDate, occupationOptions, genderOptions, applicantRelationshipOptions, addYearsToDate, checkDateIsSpecial, DriverLicenceTypes, getDifferenceInYears, getLicenceTypeOptions, getDisabledLicenceTypes, yesNoOptions, addDaysToDate, getMinDate, CheckboxForm, subMonthsFromDate, getMinDateByYears, compareDates, insuranceCancellationReasonOptions, DriverListTypes, licenceSuspensionsReasonOptions, trafficTicketsGroupOptions, DriverPriorityTypes, ValidationStatusTypes, QuoteEdit, coverageOptions, liabilityOptions, homeOwnerTypeOptions, tenantBuildingStructureOptions, condoBuildingStructureOptions, homeBuildingStructureOptions, residentsOptions, insuredYearsOptions, getInsuranceYearsOptions, ApplicantListTypes, claimTypeOptions, exteriorFinishOptions, constructionTypeOptions, garageTypeOptions, getNumericOptions, fireHallDistanceOptions, fireHydrantDistanceOptions, primaryHeatingTypeOptions, auxHeatingTypeOptions, InfoMessage, ppOptions, homeCoverageOptions, homeLiabilityOptions, lifeProvinceOptions, lifeInsuranceTypeOptions, lifeCoverageOptions, smokerOptions, MychoiceStep, Step, IconClock, ButtonArrow, DirectionTypes, ButtonTabArrow, ButtonTab, ButtonTabMobile, NavigationCar, NavigationPerson, NavigationDiscount, NavigationQuotes, NavigationAddress, NavigationProperty, ModalTypes } from '@mychoice/mychoice-sdk-components';
3
+ import { useStoreAppConfig, CarQuoteDataHandler, useStorePartner, useStoreAppLoader, useStoreAppModal, StoreConfigAppModalActionTypes, useHandlerPostal, useHandlerCarMake, useHandlerCarModel, useStoreFormCarVehicle, StoreFormCarVehicleActionTypes, useProvince, useStoreFormCarDiscount, useStoreDeviceType, StoreFormCarDiscountActionTypes, useValidationVehicle, useStoreFormCarDriverBase, StoreFormCarDriverBaseActionTypes, useStoreFormCarConfig, useStoreFormCarDriverInfo, StoreFormCarDriverInfoActionTypes, useStoreFormCarDriverLicence, addDayToDate, StoreFormCarDriverLicenceActionTypes, useStoreFormCarDriverInsurance, useStoreFormCarQuote, StoreFormCarDriverInsuranceActionTypes, useStoreFormCarDriverCancellation, StoreFormCarDriverCancellationActionTypes, useStoreFormCarDriverSuspension, StoreFormCarDriverSuspensionActionTypes, useStoreFormCarDriverAccident, StoreFormCarDriverAccidentActionTypes, useStoreFormCarDriverTicket, StoreFormCarDriverTicketActionTypes, useValidationDriver, useValidationCarDiscount, useHandlerCarQuoterEmail, useStoreFormHomeDwelling, useStoreFormHomePostal, useStoreFormHomeApplicantBase, StoreFormHomePostalActionTypes, StoreFormHomeDwellingActionTypes, StoreConfigAppConfigActionTypes, StoreFormHomeApplicantBaseActionTypes, useValidationAddress, useStoreFormHomeApplicantInfo, useStoreFormHomeDiscount, StoreFormHomeDiscountActionTypes, StoreFormHomeApplicantInfoActionTypes, useStoreFormHomeApplicantInsurance, StoreFormHomeApplicantInsuranceActionTypes, useStoreFormHomeApplicantCancellation, StoreFormHomeApplicantCancellationActionTypes, useStoreFormHomeApplicantClaim, StoreFormHomeApplicantClaimActionTypes, useValidationApplicant, useValidationDwelling, useStoreFormHomeQuote, HomeQuoteDataHandler, useValidationHomeDiscount, useHandlerHomeQuoterEmail, useStoreFormLifeCoverage, StoreFormLifeCoverageActionTypes, useValidationCoverage, useStoreFormLifeQuote, useStoreFormLifeApplicant, LifeQuoteDataHandler, useValidationLifeApplicant, useHandlerLifeQuoterEmail, StoreFormLifeApplicantActionTypes, useStoreFormCarPostal, useStoreFormLifePostal, ClearFormDataHandler, useStoreAppDevice, useStoreClient, useHandlerAuth, useHandlerPartner, StoreConfigAppLoaderActionTypes, StoreFormCarConfigActionTypes, StoreFormCarPostalActionTypes, StoreFormCarQuoteActionTypes, StoreFormHomeQuoteActionTypes, StoreFormLifePostalActionTypes, StoreFormLifeQuoteActionTypes, StoreClientActionTypes, StoreConfigAppDeviceActionTypes, StoreProvider, initHttpResponse } from '@mychoice/mychoice-sdk-store';
4
4
  import { useNavigate, useLocation, BrowserRouter, Routes, Route, Navigate } from 'react-router-dom';
5
5
  import React, { useState, useCallback, useEffect, useRef } from 'react';
6
+ import { random } from 'lodash';
6
7
  import GooglePlacesAutocomplete, { geocodeByPlaceId } from 'react-google-places-autocomplete';
7
8
  import { components } from 'react-select';
8
9
  import { Helmet } from 'react-helmet';
@@ -1750,6 +1751,59 @@ const SectionQuoteRecalc$1 = () => {
1750
1751
  return (jsxs("div", { className: "form-container", children: [jsx(TabVehicle, { readOnly: true }), jsxs("div", { className: `form-section edit-recalc-container ${mychoiceCls}`, children: [jsx(SelectFormBox, { options: coverageOptions, name: "comprehensive-coverage", onChange: handleComprehensiveChange, defaultValue: getSelectedOption(coverageOptions, comprehensive.coverage ? comprehensive.deductible : 0), title: "Comprehensive coverage", description: "This deductible is the amount of money that you will pay out of your own pocket if your vehicle is damaged in events not covered by collision coverage. This includes events such as falling or flying objects, vandalism, and theft. Your insurance company covers the cost of repair minus the deductible chosen.", placeholder: "Select from the list", autoSelectIfValueIsOutOfOptions: false }), jsx(SelectFormBox, { options: coverageOptions, name: "collision-coverage", onChange: handleCollisionChange, defaultValue: getSelectedOption(coverageOptions, collision.coverage ? collision.deductible : 0), title: "Collision coverage", description: "This deductible is the specific dollar amount you will pay out of your own pocket if your vehicle is damaged in an accident. Your insurance company covers the remaining amount.", placeholder: "Select from the list", autoSelectIfValueIsOutOfOptions: false }), jsx(SelectFormBox, { options: liabilityOptions, name: "liability-limit", onChange: handleLiabilityChange, defaultValue: getSelectedOption(liabilityOptions, liability.coverage ? liability.limit : 1000000), title: "Third Party Liability", description: "This protects you from lawsuits resulting from accidents causing bodily injury or death to others or property damage.", placeholder: "Select from the list", autoSelectIfValueIsOutOfOptions: false }), jsx(BlockSubmit$2, { className: `${isTheBig ? 'thebig-bold' : 'mychoice'} recalculate`, label: "Recalculate Quote", buttonSize: SizeTypes.Medium, isRecalc: true }), isTheBig && jsx(BlockEndorsements, {})] })] }));
1751
1752
  };
1752
1753
 
1754
+ const lockEmoji = '\u{1F512}';
1755
+ const savedPercentage = random(25, 30);
1756
+ const SectionConfirm = () => {
1757
+ const { discountState, dispatchDiscountState } = useStoreFormCarDiscount();
1758
+ const { postPerformLeadsAction } = CarQuoteDataHandler();
1759
+ const { quoteState } = useStoreFormCarQuote();
1760
+ const { quoterInfo } = discountState;
1761
+ const { items: quotes } = quoteState;
1762
+ const { firstName, lastName, phone } = quoterInfo;
1763
+ const bestQuote = quotes.length ? quotes[0] : null;
1764
+ const [comparedCountMax] = useState(random(1021, 1502));
1765
+ const [comparedCountMin, setComparedCountMin] = useState(1000);
1766
+ useEffect(() => {
1767
+ if (comparedCountMin < comparedCountMax) {
1768
+ const intervalId = setInterval(() => {
1769
+ setComparedCountMin((prev) => prev + 1);
1770
+ }, 2.5);
1771
+ return () => {
1772
+ clearInterval(intervalId);
1773
+ };
1774
+ }
1775
+ return () => { };
1776
+ }, [comparedCountMax, comparedCountMin]);
1777
+ const handleFirstNameChange = ({ value }) => {
1778
+ dispatchDiscountState({
1779
+ type: StoreFormCarDiscountActionTypes.FormCarDiscountQuoterFirstNameSet,
1780
+ payload: { firstName: value },
1781
+ });
1782
+ };
1783
+ const handleLastNameChange = ({ value }) => {
1784
+ dispatchDiscountState({
1785
+ type: StoreFormCarDiscountActionTypes.FormCarDiscountQuoterLastNameSet,
1786
+ payload: { lastName: value },
1787
+ });
1788
+ };
1789
+ const handlePhoneNumberChange = ({ value }) => {
1790
+ dispatchDiscountState({
1791
+ type: StoreFormCarDiscountActionTypes.FormCarDiscountQuoterPhoneSet,
1792
+ payload: { phone: value },
1793
+ });
1794
+ };
1795
+ const handleSubmit = async () => {
1796
+ await postPerformLeadsAction?.();
1797
+ window.scrollTo({
1798
+ top: 0,
1799
+ behavior: 'smooth',
1800
+ });
1801
+ };
1802
+ if (!bestQuote)
1803
+ return null;
1804
+ return (jsxs("div", { style: { zIndex: '1' }, children: [jsxs("div", { className: "shadow-box mb", children: [jsx("div", { className: "large-title", children: "10+ Quotes Found" }), jsx("p", { children: "Complete the last step to reveal which insurance companies are offering these rates." })] }), jsxs("div", { className: "shadow-box", children: [jsx("div", { className: "highlighted-heading", children: "Best Offer" }), jsx("h1", { children: `$${bestQuote.priceMonthly} / month` }), jsx("div", { className: "highlighted-heading", children: jsx("span", { children: `$${bestQuote.priceYearly} / year` }) })] }), jsxs("div", { className: "statistics-wrapper", children: [jsx("div", { className: "counter", id: "output", children: comparedCountMin }), jsx("div", { className: "divider" }), jsx("div", { style: { textAlign: 'center', fontSize: '1.15rem', marginTop: '10px' }, children: `Canadians have compared rates in the last 24 hours and saved ${savedPercentage}% on average` })] }), jsx("div", { style: { marginBottom: '2rem' }, children: jsx("div", { className: "all-quotes-form", children: jsx("h2", { style: { whiteSpace: 'normal', marginTop: '20px', textAlign: 'center' }, children: `${lockEmoji} Complete the form below to see which companies are offering your quotes.` }) }) }), jsx("div", { style: { marginBottom: '1rem' }, children: jsx(InputFormBox, { name: "firstName", title: "First Name", onChange: handleFirstNameChange, defaultValue: firstName, placeholder: "Your First Name", error: !firstName && discountState.inValidation, errorMessage: getErrorMessage(firstName, discountState.inValidation) }) }), jsx("div", { style: { marginBottom: '1rem' }, children: jsx(InputFormBox, { name: "lastname", title: "Last Name", onChange: handleLastNameChange, defaultValue: lastName, placeholder: "Your Last Name", error: !lastName && discountState.inValidation, errorMessage: getErrorMessage(lastName, discountState.inValidation) }) }), jsx("div", { style: { marginBottom: '1rem' }, children: jsx(InputFormPhoneBox, { name: "phone", onChange: handlePhoneNumberChange, defaultValue: phone, title: "Phone Number", placeholder: "(111) 111-1111", error: !phone && discountState.inValidation, errorMessage: getErrorMessage(phone, discountState.inValidation) }) }), jsx("div", { className: "submit-wrapper", children: jsx(ButtonBase, { className: "mychoice", size: SizeTypes.Large, category: CategoryTypes.Filled, onClick: handleSubmit, color: ColorTypes.Primary, label: "Get Your Quote" }) }), jsxs("div", { className: "extra-info", children: [jsx("h5", { children: "On the next page, you will also be able to:" }), jsx("div", { className: "next-page-points", children: jsxs("div", { style: { display: 'flex', flexDirection: 'column' }, children: [jsxs("div", { className: "bullet-container", children: [jsx("div", { className: "bullet-point", children: "1" }), jsx("div", { children: "See what rates insurance carriers are offering" })] }), jsxs("div", { className: "bullet-container", children: [jsx("div", { className: "bullet-point", children: "2" }), jsx("div", { children: "Get in touch with a broker and secure your rate" })] }), jsxs("div", { className: "bullet-container", children: [jsx("div", { className: "bullet-point", children: "3" }), jsx("div", { children: "Potentially save more by speaking with a broker" })] })] }) }), jsx("div", { className: "privacy-policy", children: jsxs("p", { children: ["Once you submit this form, you are agreeing to have your insurance quote sent to you via email and My Choice will provide your contact information to one of our trusted broker partners, who will contact you after your quote is complete to further assist you in securing your best rate. For more details, see our", jsx("a", { href: "https://www.mychoice.ca/privacy-policy/", children: " Privacy Policy" }), "."] }) })] }), jsxs("div", { className: "image-section", children: [jsx("div", { className: "providers-title", children: "We compare rates from Canada's top providers, including:" }), jsxs("div", { className: "providers-carousel", children: [jsx("img", { width: "175", height: "70", src: "https://www.mychoice.ca/wp-content/uploads/2023/02/logo-3.png", alt: "S.G.I. Canada" }), jsx("img", { width: "175", height: "70", src: "https://www.mychoice.ca/wp-content/uploads/2023/02/logo-5.png", alt: "Onlia Insurance" }), jsx("img", { width: "175", height: "70", src: "https://www.mychoice.ca/wp-content/uploads/2023/02/logo-4.png", alt: "Economical insurance" }), jsx("img", { width: "175", height: "70", src: "https://www.mychoice.ca/wp-content/uploads/2023/02/logo-1.png", alt: "CAA" }), jsx("img", { width: "175", height: "70", src: "https://www.mychoice.ca/wp-content/uploads/2023/06/Coachman-logo-2.png", alt: "Coachman" })] })] })] }));
1805
+ };
1806
+
1753
1807
  const SplashScreen$2 = () => {
1754
1808
  const { discountState } = useStoreFormCarDiscount();
1755
1809
  const phoneObject = formatPhoneObject(discountState.quoterInfo.brokerInfo?.phone) || {};
@@ -1759,6 +1813,7 @@ const SplashScreen$2 = () => {
1759
1813
  };
1760
1814
 
1761
1815
  const PageCarQuote = () => {
1816
+ const { appConfigState: { appType } } = useStoreAppConfig();
1762
1817
  const { vehicleFormValidate, vehicleFormIsValid } = useValidationVehicle();
1763
1818
  const { driverFormValidate, driverFormIsValid } = useValidationDriver();
1764
1819
  const { carDiscountFormValidate, carDiscountFormIsValid } = useValidationCarDiscount();
@@ -1766,7 +1821,10 @@ const PageCarQuote = () => {
1766
1821
  const { postRequestQuote } = CarQuoteDataHandler();
1767
1822
  const { appLoaderState } = useStoreAppLoader();
1768
1823
  const { appDeviceType } = useStoreDeviceType();
1769
- const { items } = quoteState;
1824
+ const { items, quoteConfirm } = quoteState;
1825
+ const isTheBig = appType === AppTypes.TheBig;
1826
+ const hasConfirmStep = items?.length && !isTheBig && items[0]?.confirmQuote && quoteConfirm;
1827
+ const quoteItems = hasConfirmStep ? items?.slice(0, 3) : items;
1770
1828
  useEffectOnce(() => {
1771
1829
  if (!vehicleFormIsValid) {
1772
1830
  vehicleFormValidate();
@@ -1785,27 +1843,25 @@ const PageCarQuote = () => {
1785
1843
  behavior: 'smooth',
1786
1844
  });
1787
1845
  });
1788
- return (jsx("div", { className: "quote-page-content", children: !appLoaderState.isOpen
1789
- && (jsxs(Fragment, { children: [jsxs("div", { className: "form-section-container", children: [appDeviceType === DeviceTypes.Mobile && (jsx(Fragment, { children: !!items?.length && (jsx(Fragment, { children: !quoteState.showCallMessage
1790
- ? (jsx("div", { className: "offer-container", children: jsx(OfferSection, { isBestOffer: true, offerCompany: items[0]?.company, brokerCompany: items[0]?.brokerProfile, offerPrice: {
1791
- monthly: items[0]?.priceMonthly,
1792
- yearly: items[0]?.priceYearly,
1793
- }, operationHours: {
1794
- saturdayHours: items[0]?.brokerProfile.hoursSaturday,
1795
- sundayHours: items[0]?.brokerProfile.hoursSunday,
1796
- weekdayHours: items[0]?.brokerProfile.hoursWorkdays,
1797
- }, phoneNumber: formatPhoneObject(items[0]?.brokerProfile.phone), redirectUrl: items[0]?.brokerProfile.redirectUrl || '' }) }))
1798
- : jsx(SplashScreen$2, {}) })) })), jsx(SectionQuoteEdit$2, {}), jsx(SectionQuoteRecalc$1, {})] }), appDeviceType !== DeviceTypes.Mobile && quoteState.showCallMessage
1799
- && jsx(SplashScreen$2, {}), !quoteState.showCallMessage
1800
- && (jsx("div", { className: "offer-container", children: !!items?.length
1801
- && items.map(({ company, brokerProfile, priceMonthly, priceYearly, }, index) => (jsx("div", { children: (appDeviceType !== DeviceTypes.Mobile || (appDeviceType === DeviceTypes.Mobile && index !== 0)) && (jsx(OfferSection, { isBestOffer: index === 0, offerCompany: company, brokerCompany: brokerProfile, offerPrice: {
1846
+ return (jsx("div", { className: "quote-page-content", children: !appLoaderState.isOpen && (jsxs(Fragment, { children: [jsxs("div", { className: "form-section-container", children: [appDeviceType === DeviceTypes.Mobile && !hasConfirmStep && (jsx(Fragment, { children: !!items?.length && (jsx(Fragment, { children: !quoteState.showCallMessage
1847
+ ? (jsx("div", { className: "offer-container", children: jsx(OfferSection, { isBestOffer: true, offerCompany: items[0]?.company, brokerCompany: items[0]?.brokerProfile, offerPrice: {
1848
+ monthly: items[0]?.priceMonthly,
1849
+ yearly: items[0]?.priceYearly,
1850
+ }, operationHours: {
1851
+ saturdayHours: items[0]?.brokerProfile.hoursSaturday,
1852
+ sundayHours: items[0]?.brokerProfile.hoursSunday,
1853
+ weekdayHours: items[0]?.brokerProfile.hoursWorkdays,
1854
+ }, phoneNumber: formatPhoneObject(items[0]?.brokerProfile.phone), redirectUrl: items[0]?.brokerProfile.redirectUrl || '' }) }))
1855
+ : jsx(SplashScreen$2, {}) })) })), (!hasConfirmStep || appDeviceType !== DeviceTypes.Mobile) && (jsxs(Fragment, { children: [jsx(SectionQuoteEdit$2, {}), jsx(SectionQuoteRecalc$1, {})] }))] }), appDeviceType !== DeviceTypes.Mobile && quoteState.showCallMessage
1856
+ && jsx(SplashScreen$2, {}), !quoteState.showCallMessage && (jsx(Fragment, { children: jsxs("div", { style: { position: 'relative', width: '100%' }, children: [hasConfirmStep && (jsxs(Fragment, { children: [jsx("div", { className: "offer-container", children: jsx(SectionConfirm, {}) }), appDeviceType === DeviceTypes.Mobile
1857
+ && (jsxs(Fragment, { children: [jsx(SectionQuoteEdit$2, {}), jsx(SectionQuoteRecalc$1, {})] }))] })), jsx("div", { className: `offer-container ${hasConfirmStep ? 'blur' : ''}`, children: !!items?.length && quoteItems.map(({ company, brokerProfile, priceMonthly, priceYearly, }, index) => (jsx("div", { children: (appDeviceType !== DeviceTypes.Mobile || (appDeviceType === DeviceTypes.Mobile && index !== 0)) && (jsx(OfferSection, { isBestOffer: index === 0, offerCompany: company, brokerCompany: brokerProfile, offerPrice: {
1802
1858
  monthly: priceMonthly,
1803
1859
  yearly: priceYearly,
1804
1860
  }, operationHours: {
1805
1861
  saturdayHours: brokerProfile.hoursSaturday,
1806
1862
  sundayHours: brokerProfile.hoursSunday,
1807
1863
  weekdayHours: brokerProfile.hoursWorkdays,
1808
- }, phoneNumber: formatPhoneObject(brokerProfile.phone), redirectUrl: brokerProfile.redirectUrl || '' })) }, index))) }))] })) }));
1864
+ }, phoneNumber: formatPhoneObject(brokerProfile.phone), redirectUrl: brokerProfile.redirectUrl || '' })) }, index))) })] }) }))] })) }));
1809
1865
  };
1810
1866
 
1811
1867
  const IndicatorsContainer = () => jsx(Fragment, {});