adp-web-components 0.1.85 → 0.1.87

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 (307) hide show
  1. package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +5 -5
  2. package/dist/cjs/flexible-container.cjs.entry.js +1 -1
  3. package/dist/cjs/form-checkbox.cjs.entry.js +4 -4
  4. package/dist/cjs/form-date-picker.cjs.entry.js +5 -5
  5. package/dist/cjs/form-dialog_13.cjs.entry.js +4558 -30
  6. package/dist/cjs/{form-input-CfVsbpFP.js → form-input-cvIkC0L1.js} +1 -1
  7. package/dist/cjs/form-input_5.cjs.entry.js +356 -0
  8. package/dist/cjs/form-switch.cjs.entry.js +3 -3
  9. package/dist/cjs/form-time-picker.cjs.entry.js +1 -1
  10. package/dist/cjs/functions-B8zuvn0I.js +298 -0
  11. package/dist/cjs/general-form.cjs.entry.js +19 -20
  12. package/dist/cjs/general-inquiry-form.cjs.entry.js +19 -20
  13. package/dist/cjs/{get-language-from-url-DoohcPbK.js → get-language-from-url-Ct6kvnEu.js} +8 -5
  14. package/dist/cjs/{get-local-language-DgXjQalC.js → get-local-language-DgKmTOw3.js} +1 -1
  15. package/dist/cjs/{get-mock-files-bJFu7gKO.js → get-mock-files-B0LOwG9Y.js} +1 -1
  16. package/dist/cjs/information-table.cjs.entry.js +1 -1
  17. package/dist/cjs/loader.cjs.js +1 -1
  18. package/dist/cjs/loading-spinner.cjs.entry.js +1 -1
  19. package/dist/cjs/manufacturer-part-lookup.cjs.entry.js +3 -3
  20. package/dist/cjs/{state-object-B3gJgyPV.js → mappers-C82gH1dw.js} +1 -11
  21. package/dist/cjs/part-lookup.cjs.entry.js +2 -2
  22. package/dist/cjs/service-booking-form.cjs.entry.js +19 -20
  23. package/dist/cjs/shift-accordion.cjs.entry.js +1 -1
  24. package/dist/cjs/shift-components.cjs.js +1 -1
  25. package/dist/cjs/shift-slider.cjs.entry.js +1 -1
  26. package/dist/cjs/shift-switch.cjs.entry.js +1 -1
  27. package/dist/cjs/shift-tab-content.cjs.entry.js +2 -2
  28. package/dist/cjs/shift-tabs_2.cjs.entry.js +4 -4
  29. package/dist/cjs/ssc-lookup-form.cjs.entry.js +19 -20
  30. package/dist/cjs/test-drive-form.cjs.entry.js +19 -20
  31. package/dist/cjs/{validation-BAHdEc4w.js → validation-jJwLyk27.js} +1 -7
  32. package/dist/cjs/vehicle-accessories_7.cjs.entry.js +8 -8
  33. package/dist/cjs/vehicle-lookup.cjs.entry.js +3 -3
  34. package/dist/cjs/vehicle-quotation-form.cjs.entry.js +22 -31
  35. package/dist/cjs/{white-loader-kSznMo_u.js → white-loader-D6sR0fOI.js} +3 -1
  36. package/dist/collection/collection-manifest.json +1 -0
  37. package/dist/collection/components/components/flexible-container.css +1 -1
  38. package/dist/collection/components/components/information-table.css +1 -1
  39. package/dist/collection/components/components/loading-spinner.css +1 -1
  40. package/dist/collection/components/components/shift-accordion.css +1 -1
  41. package/dist/collection/components/components/shift-select.css +1 -0
  42. package/dist/collection/components/components/shift-select.js +568 -0
  43. package/dist/collection/components/components/shift-slider.js +1 -1
  44. package/dist/collection/components/components/shift-switch.js +1 -1
  45. package/dist/collection/components/components/shift-tab-content.css +1 -1
  46. package/dist/collection/components/components/shift-tab-content.js +1 -1
  47. package/dist/collection/components/components/shift-tabs.css +1 -1
  48. package/dist/collection/components/components/shift-tabs.js +2 -2
  49. package/dist/collection/components/form-elements/components/form-input-prefix.js +3 -1
  50. package/dist/collection/components/form-elements/form-checkbox.js +1 -1
  51. package/dist/collection/components/form-elements/form-date-picker-legacy.js +4 -4
  52. package/dist/collection/components/form-elements/form-dialog.js +3 -3
  53. package/dist/collection/components/form-elements/form-file.js +2 -2
  54. package/dist/collection/components/form-elements/form-input.js +2 -2
  55. package/dist/collection/components/form-elements/form-inputs.css +1 -1
  56. package/dist/collection/components/form-elements/form-phone-number.js +130 -30
  57. package/dist/collection/components/form-elements/form-select.js +11 -72
  58. package/dist/collection/components/forms/defaults/mappers.js +1 -7
  59. package/dist/collection/components/forms/defaults/style.css +1 -1
  60. package/dist/collection/components/forms/defaults/validation.js +1 -7
  61. package/dist/collection/components/forms/general-form.js +4 -6
  62. package/dist/collection/components/forms/general-inquiry.js +4 -6
  63. package/dist/collection/components/forms/service-booking.js +4 -6
  64. package/dist/collection/components/forms/ssc-lookup.js +4 -6
  65. package/dist/collection/components/forms/test-drive.js +4 -6
  66. package/dist/collection/components/forms/vehicle-quotation/element-mapper.js +1 -8
  67. package/dist/collection/components/forms/vehicle-quotation/themes.css +1 -1
  68. package/dist/collection/components/forms/vehicle-quotation/validations.js +0 -5
  69. package/dist/collection/components/forms/vehicle-quotation.js +8 -7
  70. package/dist/collection/components/part-lookup/dead-stock-lookup.css +1 -1
  71. package/dist/collection/components/part-lookup/distributor-lookup.css +1 -1
  72. package/dist/collection/components/part-lookup/manufacturer-lookup.css +1 -1
  73. package/dist/collection/components/part-lookup/manufacturer-part-lookup.css +1 -1
  74. package/dist/collection/components/part-lookup/part-lookup.css +1 -1
  75. package/dist/collection/components/vehicle-lookup/vehicle-accessories.css +1 -1
  76. package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.css +1 -1
  77. package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.css +1 -1
  78. package/dist/collection/components/vehicle-lookup/vehicle-lookup.css +1 -1
  79. package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.css +1 -1
  80. package/dist/collection/components/vehicle-lookup/vehicle-sale-information.css +1 -1
  81. package/dist/collection/components/vehicle-lookup/vehicle-service-history.css +1 -1
  82. package/dist/collection/components/vehicle-lookup/vehicle-specification.css +1 -1
  83. package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.css +1 -1
  84. package/dist/collection/features/form-hook/form-hook.js +8 -5
  85. package/dist/collection/features/form-hook/functions.js +4 -5
  86. package/dist/collection/features/form-hook/phone-validator.js +1 -41
  87. package/dist/components/dead-stock-lookup.js +1 -1
  88. package/dist/components/distributor-lookup.js +1 -1
  89. package/dist/components/flexible-container.js +1 -1
  90. package/dist/components/form-checkbox.js +1 -1
  91. package/dist/components/form-date-picker.js +1 -1
  92. package/dist/components/form-dialog.js +1 -1
  93. package/dist/components/form-file.js +1 -1
  94. package/dist/components/form-input-preview.js +1 -1
  95. package/dist/components/form-input.js +1 -1
  96. package/dist/components/form-phone-number.js +1 -1
  97. package/dist/components/form-picker-input.js +1 -1
  98. package/dist/components/form-select.js +1 -1
  99. package/dist/components/form-shadow-input.js +1 -1
  100. package/dist/components/form-stepper-control.js +1 -1
  101. package/dist/components/form-stepper-submit.js +1 -1
  102. package/dist/components/form-stepper.js +1 -1
  103. package/dist/components/form-structure-error.js +1 -1
  104. package/dist/components/form-structure.js +1 -1
  105. package/dist/components/form-submit.js +1 -1
  106. package/dist/components/form-switch.js +1 -1
  107. package/dist/components/form-text-area.js +1 -1
  108. package/dist/components/form-time-picker.js +1 -1
  109. package/dist/components/form-vin-input.js +1 -1
  110. package/dist/components/general-form.js +1 -1
  111. package/dist/components/general-inquiry-form.js +1 -1
  112. package/dist/components/information-table.js +1 -1
  113. package/dist/components/loading-spinner.js +1 -1
  114. package/dist/components/manufacturer-lookup.js +1 -1
  115. package/dist/components/manufacturer-part-lookup.js +1 -1
  116. package/dist/components/{p-DmIzOjiJ.js → p-B3i0qlmP.js} +1 -1
  117. package/dist/components/p-B8X9IaVO.js +5 -0
  118. package/dist/components/p-BR17GwMP.js +5 -0
  119. package/dist/components/{p-BW9zczGE.js → p-BStdaKUW.js} +1 -1
  120. package/dist/components/p-Beal8HBv.js +5 -0
  121. package/dist/components/p-BjxXpALJ.js +5 -0
  122. package/dist/components/p-Bk0lC2Er.js +5 -0
  123. package/dist/components/{p-sDS2uNRH.js → p-ByIyuTgY.js} +1 -1
  124. package/dist/components/{p-c9wvEEzy.js → p-C5Adm0yQ.js} +1 -1
  125. package/dist/components/p-C8273fhq.js +5 -0
  126. package/dist/components/{p-Crmq_SrE.js → p-CBVOlWDR.js} +1 -1
  127. package/dist/components/{p-BcT3C8sP.js → p-CETtCq5M.js} +1 -1
  128. package/dist/components/p-CEaAolsJ.js +5 -0
  129. package/dist/components/p-COPmj7B5.js +5 -0
  130. package/dist/components/p-CS7DsoSo.js +5 -0
  131. package/dist/components/p-CWIhyBXh.js +5 -0
  132. package/dist/components/{p-D-sbGtxL.js → p-CfywqPfb.js} +1 -1
  133. package/dist/components/p-Cliso0Jh.js +5 -0
  134. package/dist/components/p-Cp10Giyv.js +5 -0
  135. package/dist/components/p-CxL9hBt2.js +5 -0
  136. package/dist/components/p-D-ggy6RV.js +5 -0
  137. package/dist/components/{p-CIANzvVt.js → p-D8zdewea.js} +1 -1
  138. package/dist/components/p-DCUQa1ZS.js +5 -0
  139. package/dist/components/{p-BNjcsx7O.js → p-DKKol0I_.js} +1 -1
  140. package/dist/components/p-DPWPJwpz.js +5 -0
  141. package/dist/components/p-DVg1741_.js +5 -0
  142. package/dist/components/{p-B-a6ktHS.js → p-DZK4ppw-.js} +1 -1
  143. package/dist/components/p-DcuHEGLP.js +5 -0
  144. package/dist/components/p-DwGcu-Ri.js +5 -0
  145. package/dist/components/{p-BgNVZc8s.js → p-DwV8tgOD.js} +1 -1
  146. package/dist/components/{p-DZNQs_My.js → p-Gs02yoj7.js} +1 -1
  147. package/dist/components/{p-DrfcYzF1.js → p-KSM2f2w0.js} +1 -1
  148. package/dist/components/{p-B1zj9gi9.js → p-KlUIwQJ_.js} +1 -1
  149. package/dist/components/{p-D0sxdCna.js → p-R4_FgQZu.js} +1 -1
  150. package/dist/components/{p-DC6cT-dz.js → p-ctr68qXa.js} +1 -1
  151. package/dist/components/p-luk3AfIc.js +5 -0
  152. package/dist/components/p-nrYXPNI2.js +5 -0
  153. package/dist/components/p-oGV1BqdG.js +5 -0
  154. package/dist/components/{p-8XSbLgc1.js → p-q3l-s-M2.js} +1 -1
  155. package/dist/components/p-qJP_AdCB.js +5 -0
  156. package/dist/components/p-tnQIP2O8.js +5 -0
  157. package/dist/components/{p-BNjxHrl0.js → p-y0aCpCQj.js} +1 -1
  158. package/dist/components/part-lookup.js +1 -1
  159. package/dist/components/service-booking-form.js +1 -1
  160. package/dist/components/shift-accordion.js +1 -1
  161. package/dist/components/shift-select.d.ts +11 -0
  162. package/dist/components/shift-select.js +5 -0
  163. package/dist/components/shift-slider.js +1 -1
  164. package/dist/components/shift-switch.js +1 -1
  165. package/dist/components/shift-tab-content.js +1 -1
  166. package/dist/components/shift-tabs.js +1 -1
  167. package/dist/components/ssc-lookup-form.js +1 -1
  168. package/dist/components/test-drive-form.js +1 -1
  169. package/dist/components/vehicle-accessories.js +1 -1
  170. package/dist/components/vehicle-claimable-items.js +1 -1
  171. package/dist/components/vehicle-item-claim-form.js +1 -1
  172. package/dist/components/vehicle-lookup.js +1 -1
  173. package/dist/components/vehicle-paint-thickness.js +1 -1
  174. package/dist/components/vehicle-quotation-form.js +1 -1
  175. package/dist/components/vehicle-sale-information.js +1 -1
  176. package/dist/components/vehicle-service-history.js +1 -1
  177. package/dist/components/vehicle-specification.js +1 -1
  178. package/dist/components/vehicle-warranty-details.js +1 -1
  179. package/dist/esm/dead-stock-lookup_3.entry.js +5 -5
  180. package/dist/esm/flexible-container.entry.js +1 -1
  181. package/dist/esm/form-checkbox.entry.js +4 -4
  182. package/dist/esm/form-date-picker.entry.js +5 -5
  183. package/dist/esm/form-dialog_13.entry.js +4559 -31
  184. package/dist/esm/{form-input-BZhw7_xV.js → form-input-Dcr-Pd8b.js} +1 -1
  185. package/dist/esm/form-input_5.entry.js +350 -0
  186. package/dist/esm/form-switch.entry.js +3 -3
  187. package/dist/esm/form-time-picker.entry.js +1 -1
  188. package/dist/esm/functions-BV-8Zxxg.js +287 -0
  189. package/dist/esm/general-form.entry.js +10 -11
  190. package/dist/esm/general-inquiry-form.entry.js +10 -11
  191. package/dist/esm/{get-language-from-url-X9X1Ax8Z.js → get-language-from-url-C-Rb5RW0.js} +8 -5
  192. package/dist/esm/{get-local-language-fN5yD1k3.js → get-local-language-fnTvjsMh.js} +1 -1
  193. package/dist/esm/{get-mock-files-CbEHAxlT.js → get-mock-files-I7xQDKOi.js} +1 -1
  194. package/dist/esm/information-table.entry.js +1 -1
  195. package/dist/esm/loader.js +1 -1
  196. package/dist/esm/loading-spinner.entry.js +1 -1
  197. package/dist/esm/manufacturer-part-lookup.entry.js +3 -3
  198. package/dist/esm/{state-object-BQ1UuxjE.js → mappers-Bk5UgY3t.js} +2 -11
  199. package/dist/esm/part-lookup.entry.js +2 -2
  200. package/dist/esm/service-booking-form.entry.js +10 -11
  201. package/dist/esm/shift-accordion.entry.js +1 -1
  202. package/dist/esm/shift-components.js +1 -1
  203. package/dist/esm/shift-slider.entry.js +1 -1
  204. package/dist/esm/shift-switch.entry.js +1 -1
  205. package/dist/esm/shift-tab-content.entry.js +2 -2
  206. package/dist/esm/shift-tabs_2.entry.js +4 -4
  207. package/dist/esm/ssc-lookup-form.entry.js +10 -11
  208. package/dist/esm/test-drive-form.entry.js +10 -11
  209. package/dist/esm/{validation-DI1MnYKr.js → validation-oieVWBn1.js} +1 -7
  210. package/dist/esm/vehicle-accessories_7.entry.js +8 -8
  211. package/dist/esm/vehicle-lookup.entry.js +3 -3
  212. package/dist/esm/vehicle-quotation-form.entry.js +13 -22
  213. package/dist/esm/{white-loader-CG4JPVdv.js → white-loader-DG6pqLQw.js} +3 -1
  214. package/dist/mocks/generated/broker-dealer/part-lookup.json +127 -0
  215. package/dist/mocks/generated/broker-dealer/vehicle-lookup.json +275 -0
  216. package/dist/mocks/generated/standard-dealer/vehicle-lookup.json +112 -2
  217. package/dist/shift-components/{p-b99d645c.entry.js → p-012dc118.entry.js} +1 -1
  218. package/dist/shift-components/p-13a74448.entry.js +5 -0
  219. package/dist/shift-components/p-30f2f132.entry.js +5 -0
  220. package/dist/shift-components/{p-61f1b657.entry.js → p-3a1a1268.entry.js} +1 -1
  221. package/dist/shift-components/{p-93f8d3cb.entry.js → p-3d196be4.entry.js} +1 -1
  222. package/dist/shift-components/{p-a04bc89f.entry.js → p-4312c6d8.entry.js} +1 -1
  223. package/dist/shift-components/p-5de5f71b.entry.js +5 -0
  224. package/dist/shift-components/p-5eb48275.entry.js +5 -0
  225. package/dist/shift-components/{p-a4abc248.entry.js → p-6662f17d.entry.js} +1 -1
  226. package/dist/shift-components/p-6eed1668.entry.js +5 -0
  227. package/dist/shift-components/p-72ada566.entry.js +5 -0
  228. package/dist/shift-components/{p-8950c0d3.entry.js → p-767a92e1.entry.js} +1 -1
  229. package/dist/shift-components/p-78034d50.entry.js +5 -0
  230. package/dist/shift-components/{p-e52dcb2a.entry.js → p-7e86111e.entry.js} +1 -1
  231. package/dist/shift-components/p-8b18d680.entry.js +5 -0
  232. package/dist/shift-components/{p-c18fe44e.entry.js → p-8d733785.entry.js} +1 -1
  233. package/dist/shift-components/{p-b3e12582.entry.js → p-93f1056f.entry.js} +1 -1
  234. package/dist/shift-components/{p-7a4e1765.entry.js → p-96e667e2.entry.js} +1 -1
  235. package/dist/shift-components/{p-BJJ8dVwO.js → p-B8VkFyfR.js} +1 -1
  236. package/dist/shift-components/p-BuurMgGN.js +5 -0
  237. package/dist/shift-components/p-DEWpW9-h.js +5 -0
  238. package/dist/shift-components/p-DQUCHNJ-.js +5 -0
  239. package/dist/shift-components/{p-CjbN38OR.js → p-DhsHmr8w.js} +1 -1
  240. package/dist/shift-components/p-DlOwT0yg.js +5 -0
  241. package/dist/shift-components/p-a206829d.entry.js +5 -0
  242. package/dist/shift-components/{p-7a69c2a0.entry.js → p-a2593afd.entry.js} +1 -1
  243. package/dist/shift-components/p-ad30afe7.entry.js +5 -0
  244. package/dist/shift-components/p-b83498ac.entry.js +5 -0
  245. package/dist/shift-components/p-ce9bfd94.entry.js +5 -0
  246. package/dist/shift-components/{p-65b612a5.entry.js → p-e3252106.entry.js} +1 -1
  247. package/dist/shift-components/{p-2d250c2c.entry.js → p-f6f9027f.entry.js} +1 -1
  248. package/dist/shift-components/{p-EIAqVmko.js → p-h5_mqJ-3.js} +1 -1
  249. package/dist/shift-components/p-veklgezh.js +5 -0
  250. package/dist/shift-components/shift-components.esm.js +1 -1
  251. package/dist/types/components/components/shift-select.d.ts +41 -0
  252. package/dist/types/components/form-elements/form-phone-number.d.ts +19 -3
  253. package/dist/types/components/form-elements/form-select.d.ts +3 -9
  254. package/dist/types/components/forms/defaults/mappers.d.ts +1 -1
  255. package/dist/types/components/forms/defaults/validation.d.ts +1 -3
  256. package/dist/types/components/forms/vehicle-quotation/element-mapper.d.ts +2 -3
  257. package/dist/types/components/forms/vehicle-quotation/validations.d.ts +3 -3
  258. package/dist/types/components.d.ts +123 -4
  259. package/dist/types/features/form-hook/interface.d.ts +1 -0
  260. package/dist/types/features/form-hook/phone-validator.d.ts +1 -2
  261. package/package.json +2 -1
  262. package/dist/cjs/form-input_4.cjs.entry.js +0 -319
  263. package/dist/cjs/phone-validator-DBP8Hynm.js +0 -4791
  264. package/dist/collection/components/forms/defaults/state-object.js +0 -5
  265. package/dist/components/p-B2UXU4lO.js +0 -5
  266. package/dist/components/p-B882WrlQ.js +0 -5
  267. package/dist/components/p-BKhQwtv6.js +0 -5
  268. package/dist/components/p-BLiZRR3-.js +0 -5
  269. package/dist/components/p-BeL46S5b.js +0 -5
  270. package/dist/components/p-Bru6COhI.js +0 -5
  271. package/dist/components/p-CEXM9vIa.js +0 -5
  272. package/dist/components/p-COtjTa3C.js +0 -5
  273. package/dist/components/p-Cxsxd6jX.js +0 -5
  274. package/dist/components/p-CzuBo570.js +0 -5
  275. package/dist/components/p-DAXzUOtq.js +0 -5
  276. package/dist/components/p-DHQY55KN.js +0 -5
  277. package/dist/components/p-DJ0xfjFN.js +0 -5
  278. package/dist/components/p-DSTKQdoW.js +0 -5
  279. package/dist/components/p-DT2OVZtH.js +0 -5
  280. package/dist/components/p-DYUjesC-.js +0 -5
  281. package/dist/components/p-Dg9H_vUO.js +0 -5
  282. package/dist/components/p-DqOll_wA.js +0 -5
  283. package/dist/components/p-DqPjMHKd.js +0 -5
  284. package/dist/components/p-F2tAV4E8.js +0 -5
  285. package/dist/components/p-KLPAymsW.js +0 -5
  286. package/dist/components/p-d53FlScY.js +0 -5
  287. package/dist/components/p-eCakWzyl.js +0 -5
  288. package/dist/esm/form-input_4.entry.js +0 -314
  289. package/dist/esm/phone-validator-BPJU63Ak.js +0 -4779
  290. package/dist/shift-components/p-26c95935.entry.js +0 -5
  291. package/dist/shift-components/p-3bea5aaa.entry.js +0 -5
  292. package/dist/shift-components/p-3fa2e731.entry.js +0 -5
  293. package/dist/shift-components/p-533ff451.entry.js +0 -5
  294. package/dist/shift-components/p-7PtHUjhE.js +0 -5
  295. package/dist/shift-components/p-7a6621db.entry.js +0 -5
  296. package/dist/shift-components/p-8d4c4317.entry.js +0 -5
  297. package/dist/shift-components/p-8e7e0ca5.entry.js +0 -5
  298. package/dist/shift-components/p-B1_PA5hq.js +0 -5
  299. package/dist/shift-components/p-C5tUvw8g.js +0 -5
  300. package/dist/shift-components/p-CgTEvrEQ.js +0 -5
  301. package/dist/shift-components/p-Cm_2J53u.js +0 -5
  302. package/dist/shift-components/p-cf208379.entry.js +0 -5
  303. package/dist/shift-components/p-ea7f7ffa.entry.js +0 -5
  304. package/dist/shift-components/p-edf3fb47.entry.js +0 -5
  305. package/dist/shift-components/p-ee305b43.entry.js +0 -5
  306. package/dist/shift-components/p-fb23c572.entry.js +0 -5
  307. package/dist/types/components/forms/defaults/state-object.d.ts +0 -6
@@ -5,24 +5,23 @@
5
5
  'use strict';
6
6
 
7
7
  var index = require('./index-CmK48vN3.js');
8
- var phoneValidator = require('./phone-validator-DBP8Hynm.js');
8
+ var functions = require('./functions-B8zuvn0I.js');
9
9
  var cn = require('./cn-BHnqYtun.js');
10
- var validation$1 = require('./validation-BAHdEc4w.js');
10
+ var validation$1 = require('./validation-jJwLyk27.js');
11
11
  var types = require('./types-DV_cOCRi.js');
12
- var getLanguageFromUrl = require('./get-language-from-url-DoohcPbK.js');
12
+ var getLanguageFromUrl = require('./get-language-from-url-Ct6kvnEu.js');
13
13
  var loaderIcon = require('./loader-icon-j5dMQ4bN.js');
14
- var stateObject$1 = require('./state-object-B3gJgyPV.js');
15
- require('./get-local-language-DgXjQalC.js');
14
+ var mappers = require('./mappers-C82gH1dw.js');
15
+ require('./get-local-language-DgKmTOw3.js');
16
16
  require('./validate-vin-CJDIXpJO.js');
17
17
  require('./calendar-days-icon-C2lFWgOC.js');
18
18
  require('./decode-time-offset-CY6JVxX3.js');
19
19
  require('./get-nested-value-lW6t7V4I.js');
20
20
 
21
- const styleCss = "*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.block{display:block}.flex{display:flex}.grid{display:grid}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:host{all:initial!important;display:block;font-family:inherit!important}@keyframes form-loading-spin{to{transform:rotate(1turn)}}.form-loader-container .img{animation:form-loading-spin 2s linear infinite;height:32px;width:32px}*{-webkit-user-select:none;-moz-user-select:none;user-select:none}#vehicle-wrapper{display:flex;flex-direction:column}@media (min-width:640px){#vehicle-wrapper{align-items:center;display:grid;gap:24px;grid-template-columns:repeat(2,minmax(0,1fr))}}.pointer-events-none{pointer-events:none}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.top-0{top:0}.h-full{height:100%}.min-h-\\[150px\\]{min-height:150px}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-500{transition-duration:.5s}.\\!h-auto{height:auto!important}.min-w-full{min-width:100%}.resize{resize:both}.overflow-hidden{overflow:hidden}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.\\!transition-none{transition-property:none!important}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.\\!duration-0{transition-duration:0s!important}.\\!duration-500{transition-duration:.5s!important}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.fixed{position:fixed}.bottom-4{bottom:1rem}.left-1\\/2{left:50%}.z-10{z-index:10}.z-\\[9999\\]{z-index:9999}.hidden{display:none}.aspect-video{aspect-ratio:16/9}.size-8{height:2rem;width:2rem}.size-\\[32px\\]{height:32px;width:32px}.size-full{height:100%;width:100%}.h-\\[100dvh\\]{height:100dvh}.h-\\[60px\\]{height:60px}.min-h-full{min-height:100%}.w-\\[100dvw\\]{width:100dvw}.w-\\[100px\\]{width:100px}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.justify-between{justify-content:space-between}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-slate-500{--tw-border-opacity:1;border-color:rgb(100 116 139/var(--tw-border-opacity,1))}.border-slate-600{--tw-border-opacity:1;border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}.bg-black\\/30{background-color:rgba(0,0,0,.3)}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.object-cover{object-fit:cover}.object-center{object-position:center}.p-1{padding:.25rem}.p-\\[16px\\]{padding:16px}.py-\\[10px\\]{padding-bottom:10px;padding-top:10px}.text-center{text-align:center}.text-\\[18px\\]{font-size:18px}.text-slate-100{--tw-text-opacity:1;color:rgb(241 245 249/var(--tw-text-opacity,1))}.text-slate-500{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.text-slate-600{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity,1))}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.hover\\:border-slate-700:hover{--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1))}.hover\\:bg-slate-300:hover{--tw-bg-opacity:1;background-color:rgb(203 213 225/var(--tw-bg-opacity,1))}.hover\\:text-slate-700:hover{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.disabled\\:bg-white\\/75:disabled{background-color:hsla(0,0%,100%,.75)}@media (min-width:768px){.md\\:relative{position:relative}.md\\:h-auto{height:auto}.md\\:w-\\[600px\\]{width:600px}.md\\:\\!translate-x-0{--tw-translate-x:0px!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.md\\:overflow-hidden{overflow:hidden}.md\\:rounded-lg{border-radius:.5rem}.md\\:border-none{border-style:none}.md\\:bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.md\\:py-\\[8px\\]{padding-bottom:8px;padding-top:8px}.md\\:text-\\[24px\\]{font-size:24px}.md\\:text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.md\\:\\!opacity-100{opacity:1!important}.md\\:transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.md\\:duration-300{transition-duration:.3s}.md\\:hover\\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}}";
21
+ const styleCss = "*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.block{display:block}.flex{display:flex}.grid{display:grid}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:host{all:initial!important;display:block;font-family:inherit!important}@keyframes form-loading-spin{to{transform:rotate(1turn)}}.form-loader-container .img{animation:form-loading-spin 2s linear infinite;height:32px;width:32px}*{-webkit-user-select:none;-moz-user-select:none;user-select:none}#vehicle-wrapper{display:flex;flex-direction:column}@media (min-width:640px){#vehicle-wrapper{align-items:center;display:grid;gap:24px;grid-template-columns:repeat(2,minmax(0,1fr))}}.pointer-events-none{pointer-events:none}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.top-0{top:0}.h-full{height:100%}.min-h-\\[150px\\]{min-height:150px}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-500{transition-duration:.5s}.\\!h-auto{height:auto!important}.min-w-full{min-width:100%}.resize{resize:both}.overflow-hidden{overflow:hidden}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.\\!transition-none{transition-property:none!important}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.\\!duration-0{transition-duration:0s!important}.\\!duration-500{transition-duration:.5s!important}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.cursor-pointer{cursor:pointer}.fixed{position:fixed}.bottom-4{bottom:1rem}.left-1\\/2{left:50%}.z-10{z-index:10}.z-\\[9999\\]{z-index:9999}.hidden{display:none}.aspect-video{aspect-ratio:16/9}.size-8{height:2rem;width:2rem}.size-\\[32px\\]{height:32px;width:32px}.size-full{height:100%;width:100%}.h-\\[100dvh\\]{height:100dvh}.h-\\[60px\\]{height:60px}.min-h-full{min-height:100%}.w-\\[100dvw\\]{width:100dvw}.w-\\[100px\\]{width:100px}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.animate-spin{animation:spin 1s linear infinite}.justify-between{justify-content:space-between}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-slate-500{--tw-border-opacity:1;border-color:rgb(100 116 139/var(--tw-border-opacity,1))}.border-slate-600{--tw-border-opacity:1;border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}.bg-black\\/30{background-color:rgba(0,0,0,.3)}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.object-cover{object-fit:cover}.object-center{object-position:center}.p-1{padding:.25rem}.p-\\[16px\\]{padding:16px}.py-\\[10px\\]{padding-bottom:10px;padding-top:10px}.text-center{text-align:center}.text-\\[18px\\]{font-size:18px}.text-slate-100{--tw-text-opacity:1;color:rgb(241 245 249/var(--tw-text-opacity,1))}.text-slate-500{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.text-slate-600{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity,1))}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.hover\\:border-slate-700:hover{--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1))}.hover\\:bg-slate-300:hover{--tw-bg-opacity:1;background-color:rgb(203 213 225/var(--tw-bg-opacity,1))}.hover\\:text-slate-700:hover{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.disabled\\:bg-white\\/75:disabled{background-color:hsla(0,0%,100%,.75)}@media (min-width:768px){.md\\:relative{position:relative}.md\\:h-auto{height:auto}.md\\:w-\\[600px\\]{width:600px}.md\\:\\!translate-x-0{--tw-translate-x:0px!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.md\\:overflow-hidden{overflow:hidden}.md\\:rounded-lg{border-radius:.5rem}.md\\:border-none{border-style:none}.md\\:bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.md\\:py-\\[8px\\]{padding-bottom:8px;padding-top:8px}.md\\:text-\\[24px\\]{font-size:24px}.md\\:text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.md\\:\\!opacity-100{opacity:1!important}.md\\:transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.md\\:duration-300{transition-duration:.3s}.md\\:hover\\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}}";
22
22
 
23
- let stateObject = stateObject$1.getDefaultStateObject();
24
- const validation = validation$1.getFormValidations(stateObject);
25
- const elementMapper = stateObject$1.getFormMappers(stateObject);
23
+ const validation = validation$1.getFormValidations();
24
+ const elementMapper = mappers.getFormMappers();
26
25
  const TestDriveForm = class {
27
26
  constructor(hostRef) {
28
27
  index.registerInstance(this, hostRef);
@@ -33,44 +32,44 @@ const TestDriveForm = class {
33
32
  this.isMobileForm = false;
34
33
  }
35
34
  async changeLanguage(newLanguage) {
36
- await phoneValidator.functionHooks.formLanguageChange(this, newLanguage);
35
+ await functions.functionHooks.formLanguageChange(this, newLanguage);
37
36
  }
38
37
  setIsLoading(isLoading) {
39
- phoneValidator.functionHooks.formLoadingHandler(this, isLoading);
38
+ functions.functionHooks.formLoadingHandler(this, isLoading);
40
39
  }
41
40
  setErrorCallback(error) {
42
- phoneValidator.functionHooks.formErrorHandler(this, error);
41
+ functions.functionHooks.formErrorHandler(this, error);
43
42
  }
44
43
  setSuccessCallback(data) {
45
- phoneValidator.functionHooks.formSuccessHandler(this, data);
44
+ functions.functionHooks.formSuccessHandler(this, data);
46
45
  }
47
46
  async componentWillLoad() {
48
47
  if (!this.language)
49
48
  this.language = getLanguageFromUrl.getLanguageFromUrl();
50
49
  }
51
50
  async formSubmit(formValues) {
52
- await phoneValidator.functionHooks.onFormSubmit({ context: this, formValues });
51
+ await functions.functionHooks.onFormSubmit({ context: this, formValues });
53
52
  }
54
53
  // #endregion
55
54
  // #region Component Logic
56
55
  async componentDidLoad() {
57
- await phoneValidator.functionHooks.formDidLoadHandler(this, validation);
56
+ await functions.functionHooks.formDidLoadHandler(this, validation);
58
57
  }
59
58
  async getForm() {
60
- return await phoneValidator.functionHooks.formGetFormHandler(this);
59
+ return await functions.functionHooks.formGetFormHandler(this);
61
60
  }
62
61
  async submit() {
63
- await phoneValidator.functionHooks.handleFormSubmit(this);
62
+ await functions.functionHooks.handleFormSubmit(this);
64
63
  }
65
64
  async structureChanged(isRendered) {
66
- await phoneValidator.functionHooks.formStructureRenderedHandler(this, isRendered);
65
+ await functions.functionHooks.formStructureRenderedHandler(this, isRendered);
67
66
  }
68
67
  // #endregion
69
68
  render() {
70
69
  var _a, _b;
71
- return (index.h(index.Host, { key: '9ec8f74fff7522248d1aeadce1c16038942dd665', translate: "no" }, index.h("div", { key: 'bb38406876b1c2884a93c3649f2b8701913efb50', part: cn.cn('shift-form', (_b = (_a = this.structure) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.theme, this.theme) }, index.h("div", { key: 'd42f73694d89d43000b3d069e5b8af7ed30cb3c1', part: "form-container", class: "relative min-h-[150px]" }, index.h("div", { key: '8c844677909bcea34e10514bdc3a24b22b94d63b', part: "form-loader-container", class: cn.cn('form-loader-container absolute top-0 left-0 w-full h-full pointer-events-none flex justify-center items-center transition-opacity duration-500', {
70
+ return (index.h(index.Host, { key: '30f38d5e5bddd165f40545860734738f29ae1d0f', translate: "no" }, index.h("div", { key: '614c1d4901cf2713bbcb745540678f951732e43a', part: cn.cn('shift-form', (_b = (_a = this.structure) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.theme, this.theme) }, index.h("div", { key: '025dd58198caf0413d5fb894a337b8a4bba8d488', part: "form-container", class: "relative min-h-[150px]" }, index.h("div", { key: '7a34aed2fe944c4582a8817294ec456a239ea539', part: "form-loader-container", class: cn.cn('form-loader-container absolute top-0 left-0 w-full h-full pointer-events-none flex justify-center items-center transition-opacity duration-500', {
72
71
  'opacity-0': this.structureRendered,
73
- }) }, index.h(loaderIcon.LoaderIcon, { key: 'bdc99bdc45095ae639fb3e5e4e71c71c9b445e95', part: "form-loader-icon", class: "img" })), index.h("flexible-container", { key: 'f7592bb67d1210aefd86130ea241acb4d3361ff2', onlyForMounting: true, isOpened: this.structureRendered }, !!this.form && (index.h("form-structure", { key: 'de878f320280714ad7dc39c2b9112d804766c005', form: this.form, fields: this.fields, formId: this.formId, formLocale: this.locale, structure: this.structure, isLoading: this.isLoading, language: this.localeLanguage, errorMessage: this.errorMessage, formElementMapper: elementMapper, successMessage: this.locale['Form submitted successfully.'] || 'Form submitted successfully.' }, index.h("slot", { key: '6294bc637000ff9f6199cb0b8802b8b027b40738' }))))))));
72
+ }) }, index.h(loaderIcon.LoaderIcon, { key: 'd6656d517dde4a6d278cbfdb17f79e398450c986', part: "form-loader-icon", class: "img" })), index.h("flexible-container", { key: '7aba61eac290029de1221f1981c5ee1be8da0da6', onlyForMounting: true, isOpened: this.structureRendered }, !!this.form && (index.h("form-structure", { key: 'e08bb193bccced62c8115df52da2ab630bf97d2c', form: this.form, fields: this.fields, formId: this.formId, formLocale: this.locale, structure: this.structure, isLoading: this.isLoading, language: this.localeLanguage, errorMessage: this.errorMessage, formElementMapper: elementMapper, successMessage: this.locale['Form submitted successfully.'] || 'Form submitted successfully.' }, index.h("slot", { key: 'ca9ea2eaf549a67e5c64b224e0ddd97ecf6057dc' }))))))));
74
73
  }
75
74
  get el() { return index.getElement(this); }
76
75
  static get watchers() { return {
@@ -16,7 +16,7 @@ const placeholder = (name) => `${name}-placeholder`;
16
16
  const meta = (name) => ({ label: label(name), placeholder: placeholder(name) });
17
17
  const condition = (name) => `$${name}Required`;
18
18
  const y = { label, format, require: require$1, condition, placeholder, meta, size, max };
19
- const getFormValidations = (stateObject, extraFields = {}) => {
19
+ const getFormValidations = (extraFields = {}) => {
20
20
  return types.create$3(Object.assign({ name: types.create$6()
21
21
  .meta(meta('name'))
22
22
  .when(condition('name'), {
@@ -48,12 +48,6 @@ const getFormValidations = (stateObject, extraFields = {}) => {
48
48
  is: true,
49
49
  otherwise: schema => schema.optional(),
50
50
  then: schema => schema.required(require$1('vin')).test(format('vin'), format('vin'), a => validateVin.validateVin(a === null || a === void 0 ? void 0 : a.toUpperCase())),
51
- }), phone: types.create$6()
52
- .meta(meta('phone'))
53
- .when(condition('phone'), {
54
- is: true,
55
- otherwise: schema => schema.optional(),
56
- then: schema => schema.required(require$1('phone')).test(format('phone'), format('phone'), () => { var _a; return (_a = stateObject === null || stateObject === void 0 ? void 0 : stateObject.phoneValidator) === null || _a === void 0 ? void 0 : _a.geIsValidPhoneNumber(); }),
57
51
  }), vehicle: types.create$6()
58
52
  .meta(meta('vehicle'))
59
53
  .when(y.condition('vehicle'), {