adp-web-components 0.3.19 → 0.3.20

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 (346) hide show
  1. package/dist/cjs/{branch-slot-dropdown_15.cjs.entry.js → branch-date-dropdown_17.cjs.entry.js} +958 -68
  2. package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +9 -9
  3. package/dist/cjs/flexible-container.cjs.entry.js +3 -3
  4. package/dist/cjs/form-checkbox.cjs.entry.js +2 -2
  5. package/dist/cjs/form-date-picker.cjs.entry.js +5 -5
  6. package/dist/cjs/form-input_7.cjs.entry.js +21 -19
  7. package/dist/cjs/form-switch.cjs.entry.js +2 -2
  8. package/dist/cjs/form-time-picker.cjs.entry.js +6 -6
  9. package/dist/cjs/{functions-DL7oNhTD.js → functions-BAUJUMt-.js} +44 -19
  10. package/dist/cjs/general-form.cjs.entry.js +6 -6
  11. package/dist/cjs/general-inquiry-form.cjs.entry.js +6 -6
  12. package/dist/cjs/{get-local-language-BuK1vyX4.js → get-local-language-DI_UK6D5.js} +1 -1
  13. package/dist/cjs/{get-mock-files-D0TNQtTV.js → get-mock-files-B1tNGb9m.js} +1 -1
  14. package/dist/cjs/information-table.cjs.entry.js +1 -1
  15. package/dist/cjs/loader.cjs.js +1 -1
  16. package/dist/cjs/loading-spinner.cjs.entry.js +2 -2
  17. package/dist/cjs/manufacturer-part-lookup.cjs.entry.js +3 -3
  18. package/dist/cjs/{mappers-BlH-TAo7.js → mappers-DnWgECCv.js} +54 -18
  19. package/dist/cjs/part-lookup.cjs.entry.js +2 -2
  20. package/dist/cjs/service-booking-form.cjs.entry.js +6 -6
  21. package/dist/cjs/shift-accordion.cjs.entry.js +2 -2
  22. package/dist/cjs/shift-checkbox.cjs.entry.js +2 -2
  23. package/dist/cjs/shift-components.cjs.js +1 -1
  24. package/dist/cjs/shift-slider.cjs.entry.js +2 -2
  25. package/dist/cjs/shift-switch.cjs.entry.js +2 -2
  26. package/dist/cjs/shift-tab-content.cjs.entry.js +2 -2
  27. package/dist/cjs/shift-tabs_2.cjs.entry.js +10 -10
  28. package/dist/cjs/ssc-lookup-form.cjs.entry.js +6 -6
  29. package/dist/cjs/test-drive-form.cjs.entry.js +6 -6
  30. package/dist/cjs/vehicle-accessories_8.cjs.entry.js +21 -21
  31. package/dist/cjs/vehicle-lookup.cjs.entry.js +3 -3
  32. package/dist/cjs/vehicle-quotation-form.cjs.entry.js +17 -18
  33. package/dist/collection/collection-manifest.json +2 -0
  34. package/dist/collection/components/components/empty.css +1 -1
  35. package/dist/collection/components/components/flexible-container.css +1 -1
  36. package/dist/collection/components/components/flexible-container.js +2 -2
  37. package/dist/collection/components/components/information-table.css +1 -1
  38. package/dist/collection/components/components/loading-spinner.css +1 -1
  39. package/dist/collection/components/components/loading-spinner.js +1 -1
  40. package/dist/collection/components/components/shift-accordion.css +1 -1
  41. package/dist/collection/components/components/shift-accordion.js +1 -1
  42. package/dist/collection/components/components/shift-checkbox.js +1 -1
  43. package/dist/collection/components/components/shift-portal.css +1 -1
  44. package/dist/collection/components/components/shift-select-dropdown.css +1 -1
  45. package/dist/collection/components/components/shift-select-dropdown.js +2 -2
  46. package/dist/collection/components/components/shift-select.css +1 -1
  47. package/dist/collection/components/components/shift-select.js +3 -3
  48. package/dist/collection/components/components/shift-slider.css +1 -1
  49. package/dist/collection/components/components/shift-slider.js +1 -1
  50. package/dist/collection/components/components/shift-switch.js +1 -1
  51. package/dist/collection/components/components/shift-tab-content.css +1 -1
  52. package/dist/collection/components/components/shift-tab-content.js +1 -1
  53. package/dist/collection/components/components/shift-tabs.css +1 -1
  54. package/dist/collection/components/components/shift-tabs.js +2 -2
  55. package/dist/collection/components/form-elements/branch-date-dropdown.css +1 -0
  56. package/dist/collection/components/form-elements/branch-date-dropdown.js +682 -0
  57. package/dist/collection/components/form-elements/branch-date-picker.css +1 -0
  58. package/dist/collection/components/form-elements/branch-date-picker.js +1197 -0
  59. package/dist/collection/components/form-elements/branch-slot-dropdown.css +1 -1
  60. package/dist/collection/components/form-elements/branch-slot-dropdown.js +11 -6
  61. package/dist/collection/components/form-elements/branch-slot-picker.css +1 -1
  62. package/dist/collection/components/form-elements/branch-slot-picker.js +166 -18
  63. package/dist/collection/components/form-elements/form-checkbox.js +1 -1
  64. package/dist/collection/components/form-elements/form-date-picker-legacy.js +4 -4
  65. package/dist/collection/components/form-elements/form-dialog.css +1 -1
  66. package/dist/collection/components/form-elements/form-dialog.js +1 -1
  67. package/dist/collection/components/form-elements/form-file.js +2 -2
  68. package/dist/collection/components/form-elements/form-input.js +6 -4
  69. package/dist/collection/components/form-elements/form-inputs.css +1 -1
  70. package/dist/collection/components/form-elements/form-phone-number.js +4 -2
  71. package/dist/collection/components/form-elements/form-picker-input.js +6 -4
  72. package/dist/collection/components/form-elements/form-shadow-input.js +1 -1
  73. package/dist/collection/components/form-elements/form-stepper-control.js +2 -2
  74. package/dist/collection/components/form-elements/form-stepper-submit.js +2 -2
  75. package/dist/collection/components/form-elements/form-stepper.js +1 -1
  76. package/dist/collection/components/form-elements/form-structure-error.js +1 -1
  77. package/dist/collection/components/form-elements/form-submit.js +2 -2
  78. package/dist/collection/components/form-elements/form-switch.js +1 -1
  79. package/dist/collection/components/form-elements/form-text-area.js +6 -4
  80. package/dist/collection/components/form-elements/form-time-picker-legacy.js +5 -5
  81. package/dist/collection/components/form-elements/form-vin-input.js +6 -4
  82. package/dist/collection/components/forms/defaults/mappers.js +54 -18
  83. package/dist/collection/components/forms/defaults/style.css +1 -1
  84. package/dist/collection/components/forms/general-form.js +2 -2
  85. package/dist/collection/components/forms/general-inquiry.js +2 -2
  86. package/dist/collection/components/forms/service-booking.js +2 -2
  87. package/dist/collection/components/forms/ssc-lookup.js +2 -2
  88. package/dist/collection/components/forms/test-drive.js +2 -2
  89. package/dist/collection/components/forms/vehicle-quotation/themes.css +1 -1
  90. package/dist/collection/components/forms/vehicle-quotation.js +15 -16
  91. package/dist/collection/components/part-lookup/dead-stock-lookup.css +1 -1
  92. package/dist/collection/components/part-lookup/dead-stock-lookup.js +2 -2
  93. package/dist/collection/components/part-lookup/distributor-lookup.css +1 -1
  94. package/dist/collection/components/part-lookup/distributor-lookup.js +2 -2
  95. package/dist/collection/components/part-lookup/manufacturer-lookup.css +1 -1
  96. package/dist/collection/components/part-lookup/manufacturer-part-lookup.css +1 -1
  97. package/dist/collection/components/part-lookup/manufacturer-part-lookup.js +1 -1
  98. package/dist/collection/components/part-lookup/part-lookup.css +1 -1
  99. package/dist/collection/components/vehicle-lookup/vehicle-accessories.css +1 -1
  100. package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +2 -2
  101. package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.css +1 -1
  102. package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.js +5 -5
  103. package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.css +1 -1
  104. package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.js +6 -6
  105. package/dist/collection/components/vehicle-lookup/vehicle-lookup.css +1 -1
  106. package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.css +1 -1
  107. package/dist/collection/components/vehicle-lookup/vehicle-sale-information.css +1 -1
  108. package/dist/collection/components/vehicle-lookup/vehicle-sale-information.js +2 -2
  109. package/dist/collection/components/vehicle-lookup/vehicle-service-history.css +1 -1
  110. package/dist/collection/components/vehicle-lookup/vehicle-service-history.js +1 -1
  111. package/dist/collection/components/vehicle-lookup/vehicle-specification.css +1 -1
  112. package/dist/collection/components/vehicle-lookup/vehicle-specification.js +1 -1
  113. package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.css +1 -1
  114. package/dist/collection/components/vehicle-lookup/vehicle-warranty-timeline.css +1 -1
  115. package/dist/collection/components/vehicle-lookup/vehicle-warranty-timeline.js +1 -1
  116. package/dist/collection/components/vin-extractor/vin-extractor.css +1 -1
  117. package/dist/collection/components/vin-extractor/vin-extractor.js +1 -1
  118. package/dist/collection/features/form-hook/functions.js +42 -18
  119. package/dist/collection/global/lib/slot-day-rules.js +65 -0
  120. package/dist/collection/templates/assets/favicon.svg +17 -0
  121. package/dist/collection/templates/forms/docs-content/params.js +1199 -0
  122. package/dist/collection/templates/forms/docs-content/structure.js +1153 -0
  123. package/dist/collection/templates/forms/docs-content/theming.js +1240 -0
  124. package/dist/collection/templates/harness.js +595 -84
  125. package/dist/collection/templates/highlight.js +194 -0
  126. package/dist/collection/templates/nav.js +320 -0
  127. package/dist/collection/templates/site-header.js +642 -0
  128. package/dist/collection/templates/site-locales.js +771 -0
  129. package/dist/components/branch-date-dropdown.d.ts +11 -0
  130. package/dist/components/branch-date-dropdown.js +5 -0
  131. package/dist/components/branch-date-picker.d.ts +11 -0
  132. package/dist/components/branch-date-picker.js +5 -0
  133. package/dist/components/branch-slot-dropdown.js +1 -1
  134. package/dist/components/branch-slot-picker.js +1 -1
  135. package/dist/components/dead-stock-lookup.js +1 -1
  136. package/dist/components/distributor-lookup.js +1 -1
  137. package/dist/components/flexible-container.js +1 -1
  138. package/dist/components/form-checkbox.js +1 -1
  139. package/dist/components/form-date-picker.js +1 -1
  140. package/dist/components/form-dialog.js +1 -1
  141. package/dist/components/form-file.js +1 -1
  142. package/dist/components/form-input-preview.js +1 -1
  143. package/dist/components/form-input.js +1 -1
  144. package/dist/components/form-phone-number.js +1 -1
  145. package/dist/components/form-picker-input.js +1 -1
  146. package/dist/components/form-select.js +1 -1
  147. package/dist/components/form-shadow-input.js +1 -1
  148. package/dist/components/form-stepper-control.js +1 -1
  149. package/dist/components/form-stepper-submit.js +1 -1
  150. package/dist/components/form-stepper.js +1 -1
  151. package/dist/components/form-structure-error.js +1 -1
  152. package/dist/components/form-structure.js +1 -1
  153. package/dist/components/form-submit.js +1 -1
  154. package/dist/components/form-switch.js +1 -1
  155. package/dist/components/form-text-area.js +1 -1
  156. package/dist/components/form-time-picker.js +1 -1
  157. package/dist/components/form-vin-input.js +1 -1
  158. package/dist/components/general-form.js +1 -1
  159. package/dist/components/general-inquiry-form.js +1 -1
  160. package/dist/components/information-table.js +1 -1
  161. package/dist/components/loading-spinner.js +1 -1
  162. package/dist/components/manufacturer-lookup.js +1 -1
  163. package/dist/components/manufacturer-part-lookup.js +1 -1
  164. package/dist/components/p--lk4OUJg.js +5 -0
  165. package/dist/components/{p-DbnN292R.js → p-38ox9qxm.js} +1 -1
  166. package/dist/components/p-5OD_mwiD.js +5 -0
  167. package/dist/components/{p-l2FHTMzv.js → p-68bjv9gT.js} +1 -1
  168. package/dist/components/p-B0_5_VvS.js +5 -0
  169. package/dist/components/p-B1xVBTqj.js +5 -0
  170. package/dist/components/{p-B7G2HjX0.js → p-B2bD-55K.js} +1 -1
  171. package/dist/components/{p-BKzXBxxc.js → p-BI5NL1Rh.js} +1 -1
  172. package/dist/components/{p-CL5G_ZDE.js → p-BPXRokES.js} +1 -1
  173. package/dist/components/{p-D7Sj02XY.js → p-BULuujHY.js} +1 -1
  174. package/dist/components/{p-CC16uGpN.js → p-BWlX-Nz-.js} +1 -1
  175. package/dist/components/p-Bc5HIbcj.js +5 -0
  176. package/dist/components/p-BcWJAP8j.js +5 -0
  177. package/dist/components/p-BpB_86n0.js +5 -0
  178. package/dist/components/p-BpHkd1L9.js +5 -0
  179. package/dist/components/{p-Qh1y1RV2.js → p-BsnGFZeT.js} +1 -1
  180. package/dist/components/{p-Dd_Xnn2b.js → p-BvLVCp-j.js} +1 -1
  181. package/dist/components/p-C3KLOUbk.js +5 -0
  182. package/dist/components/{p-BaZAgTxG.js → p-CJtTHErI.js} +1 -1
  183. package/dist/components/{p-R_rAJ4hF.js → p-CMAmzdM7.js} +1 -1
  184. package/dist/components/p-CVpbr1tR.js +5 -0
  185. package/dist/components/{p-6RmAcc2q.js → p-CXbi5iPZ.js} +1 -1
  186. package/dist/components/p-C_1_eN4N.js +5 -0
  187. package/dist/components/{p-B9xLzbPr.js → p-Ce2mazYo.js} +1 -1
  188. package/dist/components/p-Cg6Prz81.js +5 -0
  189. package/dist/components/{p-CwbJMZVZ.js → p-Cpjvk1pk.js} +1 -1
  190. package/dist/components/p-CqJiXtPb.js +5 -0
  191. package/dist/components/p-CrPyvAdX.js +5 -0
  192. package/dist/components/{p-C6U9Fs9H.js → p-CsU_c7eX.js} +1 -1
  193. package/dist/components/{p-LkNhSGDO.js → p-D42YuMNZ.js} +1 -1
  194. package/dist/components/{p-CIPh05sT.js → p-DCpRGVqe.js} +1 -1
  195. package/dist/components/{p-DcMgXNpe.js → p-DCsMDWbS.js} +1 -1
  196. package/dist/components/{p-B8hl68AM.js → p-DQ0uTCi2.js} +1 -1
  197. package/dist/components/p-DTmI_Yx0.js +5 -0
  198. package/dist/components/p-DnspXuVN.js +5 -0
  199. package/dist/components/p-DqSdjh2n.js +5 -0
  200. package/dist/components/p-Dv2j7fhS.js +5 -0
  201. package/dist/components/{p-C8S2P4sw.js → p-K-OF4DG-.js} +1 -1
  202. package/dist/components/p-KSvRVGk-.js +5 -0
  203. package/dist/components/p-KbiYvxzP.js +5 -0
  204. package/dist/components/{p-B2w49gNR.js → p-OY4Ixaeq.js} +1 -1
  205. package/dist/components/{p-Dsk1SNut.js → p-SIS25ChD.js} +1 -1
  206. package/dist/components/p-Wgb4y0H3.js +5 -0
  207. package/dist/components/p-X3AzJ0KD.js +5 -0
  208. package/dist/components/{p-Cm94OAx9.js → p-bCeQwUKM.js} +1 -1
  209. package/dist/components/p-d3ZIPeEC.js +5 -0
  210. package/dist/components/{p-DpXLfNHS.js → p-ikaUQvOO.js} +1 -1
  211. package/dist/components/p-mbVTvSJF.js +5 -0
  212. package/dist/components/{p-BbQAkWw4.js → p-rQ3Z9EnS.js} +1 -1
  213. package/dist/components/{p-BdPZ7u2w.js → p-uYkn8a0m.js} +1 -1
  214. package/dist/components/part-lookup.js +1 -1
  215. package/dist/components/service-booking-form.js +1 -1
  216. package/dist/components/shift-accordion.js +1 -1
  217. package/dist/components/shift-checkbox.js +1 -1
  218. package/dist/components/shift-portal.js +1 -1
  219. package/dist/components/shift-select-dropdown.js +1 -1
  220. package/dist/components/shift-select.js +1 -1
  221. package/dist/components/shift-slider.js +1 -1
  222. package/dist/components/shift-switch.js +1 -1
  223. package/dist/components/shift-tab-content.js +1 -1
  224. package/dist/components/shift-tabs.js +1 -1
  225. package/dist/components/ssc-lookup-form.js +1 -1
  226. package/dist/components/test-drive-form.js +1 -1
  227. package/dist/components/vehicle-accessories.js +1 -1
  228. package/dist/components/vehicle-claimable-items.js +1 -1
  229. package/dist/components/vehicle-item-claim-form.js +1 -1
  230. package/dist/components/vehicle-lookup.js +1 -1
  231. package/dist/components/vehicle-paint-thickness.js +1 -1
  232. package/dist/components/vehicle-quotation-form.js +1 -1
  233. package/dist/components/vehicle-sale-information.js +1 -1
  234. package/dist/components/vehicle-service-history.js +1 -1
  235. package/dist/components/vehicle-specification.js +1 -1
  236. package/dist/components/vehicle-warranty-details.js +1 -1
  237. package/dist/components/vehicle-warranty-timeline.js +1 -1
  238. package/dist/components/vin-extractor.js +1 -1
  239. package/dist/esm/{branch-slot-dropdown_15.entry.js → branch-date-dropdown_17.entry.js} +957 -69
  240. package/dist/esm/dead-stock-lookup_3.entry.js +9 -9
  241. package/dist/esm/flexible-container.entry.js +3 -3
  242. package/dist/esm/form-checkbox.entry.js +2 -2
  243. package/dist/esm/form-date-picker.entry.js +5 -5
  244. package/dist/esm/form-input_7.entry.js +21 -19
  245. package/dist/esm/form-switch.entry.js +2 -2
  246. package/dist/esm/form-time-picker.entry.js +6 -6
  247. package/dist/esm/{functions-Ccrile_u.js → functions-DSwc1YVL.js} +44 -20
  248. package/dist/esm/general-form.entry.js +6 -6
  249. package/dist/esm/general-inquiry-form.entry.js +6 -6
  250. package/dist/esm/{get-local-language-oNw84Rsz.js → get-local-language-DdSAPSCV.js} +1 -1
  251. package/dist/esm/{get-mock-files-C26lznN1.js → get-mock-files-D4naDetb.js} +1 -1
  252. package/dist/esm/information-table.entry.js +1 -1
  253. package/dist/esm/loader.js +1 -1
  254. package/dist/esm/loading-spinner.entry.js +2 -2
  255. package/dist/esm/manufacturer-part-lookup.entry.js +3 -3
  256. package/dist/esm/{mappers-9IKbvPiR.js → mappers-CZs2R7k6.js} +54 -18
  257. package/dist/esm/part-lookup.entry.js +2 -2
  258. package/dist/esm/service-booking-form.entry.js +6 -6
  259. package/dist/esm/shift-accordion.entry.js +2 -2
  260. package/dist/esm/shift-checkbox.entry.js +2 -2
  261. package/dist/esm/shift-components.js +1 -1
  262. package/dist/esm/shift-slider.entry.js +2 -2
  263. package/dist/esm/shift-switch.entry.js +2 -2
  264. package/dist/esm/shift-tab-content.entry.js +2 -2
  265. package/dist/esm/shift-tabs_2.entry.js +10 -10
  266. package/dist/esm/ssc-lookup-form.entry.js +6 -6
  267. package/dist/esm/test-drive-form.entry.js +6 -6
  268. package/dist/esm/vehicle-accessories_8.entry.js +21 -21
  269. package/dist/esm/vehicle-lookup.entry.js +3 -3
  270. package/dist/esm/vehicle-quotation-form.entry.js +17 -18
  271. package/dist/integration-manifest.json +1 -1
  272. package/dist/shift-components/{p-9b13a82b.entry.js → p-0b576888.entry.js} +1 -1
  273. package/dist/shift-components/p-11ffa908.entry.js +5 -0
  274. package/dist/shift-components/{p-f2a546db.entry.js → p-152057de.entry.js} +1 -1
  275. package/dist/shift-components/p-198333fa.entry.js +5 -0
  276. package/dist/shift-components/{p-d58404bd.entry.js → p-247ac2db.entry.js} +1 -1
  277. package/dist/shift-components/{p-d59276b6.entry.js → p-295e445f.entry.js} +1 -1
  278. package/dist/shift-components/p-431522f2.entry.js +5 -0
  279. package/dist/shift-components/{p-c9ba7fd5.entry.js → p-49dc6d73.entry.js} +1 -1
  280. package/dist/shift-components/{p-eb265a3e.entry.js → p-4b6f801a.entry.js} +1 -1
  281. package/dist/shift-components/{p-0da97a29.entry.js → p-4cdeab63.entry.js} +1 -1
  282. package/dist/shift-components/{p-31718ec2.entry.js → p-52530fba.entry.js} +1 -1
  283. package/dist/shift-components/p-5ad4d072.entry.js +5 -0
  284. package/dist/shift-components/{p-3aad8840.entry.js → p-5e8e5ed7.entry.js} +1 -1
  285. package/dist/shift-components/{p-09a0fd99.entry.js → p-68e41217.entry.js} +1 -1
  286. package/dist/shift-components/{p-a15fdf1e.entry.js → p-76b0ea8c.entry.js} +1 -1
  287. package/dist/shift-components/{p-68722c7b.entry.js → p-85d43a41.entry.js} +1 -1
  288. package/dist/shift-components/p-B9INqdFT.js +5 -0
  289. package/dist/shift-components/{p-urLq-GEs.js → p-D2Ofzg_i.js} +1 -1
  290. package/dist/shift-components/p-DDtDRGFL.js +5 -0
  291. package/dist/shift-components/{p-BugYpTL6.js → p-OfPuHUYc.js} +1 -1
  292. package/dist/shift-components/p-b44b2c00.entry.js +5 -0
  293. package/dist/shift-components/{p-1355934b.entry.js → p-b4544d10.entry.js} +1 -1
  294. package/dist/shift-components/{p-e90c354a.entry.js → p-bfe0661c.entry.js} +1 -1
  295. package/dist/shift-components/{p-138af7f3.entry.js → p-c7fc8d5f.entry.js} +1 -1
  296. package/dist/shift-components/{p-30e84a3b.entry.js → p-ca0683e9.entry.js} +1 -1
  297. package/dist/shift-components/{p-53cd54e8.entry.js → p-cbdc1c2e.entry.js} +1 -1
  298. package/dist/shift-components/p-d3bbba07.entry.js +5 -0
  299. package/dist/shift-components/{p-63713eae.entry.js → p-df0c7ac1.entry.js} +1 -1
  300. package/dist/shift-components/p-f4679148.entry.js +5 -0
  301. package/dist/shift-components/{p-729d8d4b.entry.js → p-feb443ec.entry.js} +1 -1
  302. package/dist/shift-components/shift-components.esm.js +1 -1
  303. package/dist/stencil-docs.json +1677 -12
  304. package/dist/templates/production-host/vehicle-service-history.html +14 -0
  305. package/dist/types/components/form-elements/branch-date-dropdown.d.ts +74 -0
  306. package/dist/types/components/form-elements/branch-date-picker.d.ts +174 -0
  307. package/dist/types/components/form-elements/branch-slot-dropdown.d.ts +6 -0
  308. package/dist/types/components/form-elements/branch-slot-picker.d.ts +27 -0
  309. package/dist/types/components/forms/defaults/mappers.d.ts +15 -9
  310. package/dist/types/components.d.ts +533 -6
  311. package/dist/types/features/form-hook/functions.d.ts +14 -0
  312. package/dist/types/global/lib/slot-day-rules.d.ts +25 -0
  313. package/dist/types/locales/vehicleLookup/serviceHistory/type.d.ts +2 -2
  314. package/dist/types/locales/vehicleLookup/warrantyTimeline/type.d.ts +4 -4
  315. package/dist/types/locales/vehicleLookup/wrapper-type.d.ts +2 -2
  316. package/package.json +6 -1
  317. package/dist/components/p-1fzw9lBq.js +0 -5
  318. package/dist/components/p-7Gq_FyNj.js +0 -5
  319. package/dist/components/p-8jIkK-Kb.js +0 -5
  320. package/dist/components/p-BUepGDZV.js +0 -5
  321. package/dist/components/p-B__72-PA.js +0 -5
  322. package/dist/components/p-Bb2xDuqh.js +0 -5
  323. package/dist/components/p-Bj3cvdzl.js +0 -5
  324. package/dist/components/p-BvMcY9Sk.js +0 -5
  325. package/dist/components/p-C-yTwaAA.js +0 -5
  326. package/dist/components/p-C8B9jarP.js +0 -5
  327. package/dist/components/p-CCounVqq.js +0 -5
  328. package/dist/components/p-CKwgX_v0.js +0 -5
  329. package/dist/components/p-CPBmhspv.js +0 -5
  330. package/dist/components/p-ClT5CzCZ.js +0 -5
  331. package/dist/components/p-DWjIts4C.js +0 -5
  332. package/dist/components/p-DeipsN8N.js +0 -5
  333. package/dist/components/p-DkagL-e-.js +0 -5
  334. package/dist/components/p-DtZM3yHS.js +0 -5
  335. package/dist/components/p-G7teNuSi.js +0 -5
  336. package/dist/components/p-_apNp6J3.js +0 -5
  337. package/dist/shift-components/p-12e295ba.entry.js +0 -5
  338. package/dist/shift-components/p-323ffb6e.entry.js +0 -5
  339. package/dist/shift-components/p-327fddd8.entry.js +0 -5
  340. package/dist/shift-components/p-34e9053b.entry.js +0 -5
  341. package/dist/shift-components/p-8374f629.entry.js +0 -5
  342. package/dist/shift-components/p-awXOnuq1.js +0 -5
  343. package/dist/shift-components/p-c25a6c0d.entry.js +0 -5
  344. package/dist/shift-components/p-dacdff2a.entry.js +0 -5
  345. package/dist/shift-components/p-hABirfUj.js +0 -5
  346. /package/dist/collection/templates/{vehicle-lookup → prototypes}/prototype-assets/extended-warranty/adp-logo.svg +0 -0
@@ -1,5 +0,0 @@
1
- /*!
2
- * Built by ShiftSoftware
3
- * Copyright (c)
4
- */
5
- import{r as t,h as o}from"./p-CteZTPhq.js";import{l as e}from"./p-C-EQDloC.js";import{c as a}from"./p-BK16Cn81.js";const r=class{constructor(o){t(this,o)}render(){return o("div",{key:"62bc5791718c019cb3db26f0a4352e12f42a57cf",class:a("size-full z-50 flex items-center justify-center pointer-events-none absolute ",{"opacity-0":!this.isLoading})},o("img",{key:"f405cc26e4f85412dde75bba54310e92ee3744e9",class:"spin-slow size-[40px]",src:e}))}};r.style='*,: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;}: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}.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))}*{font-family:Arial}@keyframes spin{to{transform:rotate(1turn)}}.spin-slow{animation:spin 2s linear infinite}.pointer-events-none{pointer-events:none}.static{position:static}.absolute{position:absolute}.z-50{z-index:50}.flex{display:flex}.size-\\[40px\\]{height:40px;width:40px}.size-full{height:100%;width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.opacity-0{opacity:0}.h-\\[200px\\]{height:200px}.w-full{width:100%}.text-\\[26px\\]{font-size:26px}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.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)}.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)}.relative{position:relative}.mx-auto{margin-left:auto;margin-right:auto}.size-\\[100px\\]{height:100px;width:100px}.h-auto{height:auto}.max-h-\\[100px\\]{max-height:100px}.w-auto{width:auto}.w-fit{width:fit-content}.max-w-\\[100px\\]{max-width:100px}.shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.gap-\\[4px\\]{gap:4px}.overflow-x-auto{overflow-x:auto}.rounded-lg{border-radius:.5rem}.bg-black\\/40{background-color:rgba(0,0,0,.4)}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.shadow,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.hover\\:opacity-100:hover{opacity:1}.\\[\\&_div\\]\\:hover\\:\\!opacity-100:hover div{opacity:1!important}.\\[\\&_img\\]\\:hover\\:shadow-lg:hover img{--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);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.end-0{inset-inline-end:0}.top-full{top:100%}.z-10{z-index:10}.my-auto{margin-bottom:auto;margin-top:auto}.me-\\[16px\\]{margin-inline-end:16px}.mt-\\[4px\\]{margin-top:4px}.block{display:block}.hidden{display:none}.size-\\[16px\\]{height:16px;width:16px}.size-\\[18px\\]{height:18px;width:18px}.h-\\[150px\\]{height:150px}.w-\\[84px\\]{width:84px}.min-w-0{min-width:0}.min-w-full{min-width:100%}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.rotate-180{--tw-rotate:180deg;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))}.flex-wrap{flex-wrap:wrap}.gap-\\[16px\\]{gap:16px}.gap-\\[6px\\]{gap:6px}.gap-\\[8px\\]{gap:8px}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded-\\[4px\\]{border-radius:4px}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-amber-500{--tw-border-opacity:1;border-color:rgb(245 158 11/var(--tw-border-opacity,1))}.border-slate-200{--tw-border-opacity:1;border-color:rgb(226 232 240/var(--tw-border-opacity,1))}.bg-amber-500{--tw-bg-opacity:1;background-color:rgb(245 158 11/var(--tw-bg-opacity,1))}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.bg-slate-50{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-\\[12px\\]{padding:12px}.p-\\[6px\\]{padding:6px}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.px-\\[24px\\]{padding-left:24px;padding-right:24px}.py-\\[10px\\]{padding-bottom:10px;padding-top:10px}.py-\\[15px\\]{padding-bottom:15px;padding-top:15px}.py-\\[16px\\]{padding-bottom:16px;padding-top:16px}.py-\\[6px\\]{padding-bottom:6px;padding-top:6px}.py-\\[8px\\]{padding-bottom:8px;padding-top:8px}.text-center{text-align:center}.text-\\[16px\\]{font-size:16px}.text-\\[17px\\]{font-size:17px}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-slate-700{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.no-underline{text-decoration-line:none}.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)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.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)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-150{transition-duration:.15s}.last\\:border-b-0:last-child{border-bottom-width:0}.hover\\:border-amber-600:hover{--tw-border-opacity:1;border-color:rgb(217 119 6/var(--tw-border-opacity,1))}.hover\\:bg-amber-50:hover{--tw-bg-opacity:1;background-color:rgb(255 251 235/var(--tw-bg-opacity,1))}.hover\\:bg-amber-600:hover{--tw-bg-opacity:1;background-color:rgb(217 119 6/var(--tw-bg-opacity,1))}.hover\\:bg-sky-100\\/50:hover{background-color:rgba(224,242,254,.5)}.pointer-events-auto{pointer-events:auto}.bottom-\\[40px\\]{bottom:40px}.left-0{left:0}.left-1\\/2{left:50%}.left-\\[30px\\]{left:30px}.top-0{top:0}.ml-\\[-125px\\]{margin-left:-125px}.box-content{box-sizing:content-box}.grid{display:grid}.size-\\[30px\\]{height:30px;width:30px}.size-\\[90px\\]{height:90px;width:90px}.h-10{height:2.5rem}.h-\\[320px\\]{height:320px}.h-full{height:100%}.w-1\\/2{width:50%}.w-\\[150\\%\\]{width:150%}.w-\\[90\\%\\]{width:90%}.w-\\[calc\\(100\\%-0px\\)\\]{width:100%}.w-\\[calc\\(100\\%-60px\\)\\]{width:calc(100% - 60px)}.-translate-x-1\\/2{--tw-translate-x:-50%}.-translate-x-1\\/2,.translate-y-0{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))}.translate-y-0{--tw-translate-y:0px}.translate-y-\\[-50\\%\\]{--tw-translate-y:-50%}.translate-y-\\[-50\\%\\],.translate-y-\\[-5px\\]{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))}.translate-y-\\[-5px\\]{--tw-translate-y:-5px}.scale-100{--tw-scale-x:1;--tw-scale-y:1}.scale-100,.scale-\\[70\\%\\]{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))}.scale-\\[70\\%\\]{--tw-scale-x:70%;--tw-scale-y:70%}.resize{resize:both}.justify-between{justify-content:space-between}.gap-\\[250px\\]{gap:250px}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.overflow-x-scroll{overflow-x:scroll}.rounded-\\[6px\\]{border-radius:6px}.border-\\[\\#f2aeb5\\]{--tw-border-opacity:1;border-color:rgb(242 174 181/var(--tw-border-opacity,1))}.border-\\[\\#faebcc\\]{--tw-border-opacity:1;border-color:rgb(250 235 204/var(--tw-border-opacity,1))}.bg-\\[\\#1a1a1a\\]{--tw-bg-opacity:1;background-color:rgb(26 26 26/var(--tw-bg-opacity,1))}.bg-\\[\\#f7d7d8\\]{--tw-bg-opacity:1;background-color:rgb(247 215 216/var(--tw-bg-opacity,1))}.bg-\\[\\#fcf8e3\\]{--tw-bg-opacity:1;background-color:rgb(252 248 227/var(--tw-bg-opacity,1))}.bg-\\[linear-gradient\\(to_bottom\\2c _\\#428bca_0\\%\\2c _\\#3071a9_100\\%\\)\\]{background-image:linear-gradient(180deg,#428bca,#3071a9)}.p-\\[25px\\]{padding:25px}.px-\\[30px\\]{padding-left:30px;padding-right:30px}.pt-\\[16px\\]{padding-top:16px}.text-\\[22px\\]{font-size:22px}.text-\\[\\#58151c\\]{--tw-text-opacity:1;color:rgb(88 21 28/var(--tw-text-opacity,1))}.text-\\[\\#8a6d3b\\]{--tw-text-opacity:1;color:rgb(138 109 59/var(--tw-text-opacity,1))}.opacity-100{opacity:1}.duration-200{transition-duration:.2s}.duration-500{transition-duration:.5s}.\\[\\&_\\*\\]\\:shrink-0 *{flex-shrink:0}.max-w-\\[460px\\]{max-width:460px}.max-w-\\[520px\\]{max-width:520px}.translate-y-\\[-4px\\]{--tw-translate-y:-4px;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))}.select-none{user-select:none}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.gap-\\[12px\\]{gap:12px}.gap-\\[2px\\]{gap:2px}.overflow-auto{overflow:auto}.\\!rounded-\\[12px\\]{border-radius:12px!important}.rounded-\\[14px\\]{border-radius:14px}.p-\\[16px\\]{padding:16px}.px-\\[12px\\]{padding-left:12px;padding-right:12px}.px-\\[14px\\]{padding-left:14px;padding-right:14px}.py-\\[12px\\]{padding-bottom:12px;padding-top:12px}.\\!pb-0{padding-bottom:0!important}.text-\\[13\\.5px\\]{font-size:13.5px}.leading-\\[1\\.35\\]{line-height:1.35}.text-amber-900\\/90{color:rgba(120,53,15,.9)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (min-width:768px){.md\\:justify-between{justify-content:space-between}}.\\[\\&\\>div\\]\\:grow>div{flex-grow:1}.my-2{margin-bottom:.5rem;margin-top:.5rem}.grow{flex-grow:1}.fixed{position:fixed}.mt-\\[32px\\]{margin-top:32px}.h-\\[25px\\]{height:25px}.h-\\[50px\\]{height:50px}.h-\\[8px\\]{height:8px}.bg-\\[\\#f6f6f6\\]{--tw-bg-opacity:1;background-color:rgb(246 246 246/var(--tw-bg-opacity,1))}.pt-\\[40px\\]{padding-top:40px}.text-\\[18px\\]{font-size:18px}.font-bold{font-weight:700}.success-card{background-color:#d0e7de;border-color:#a2d0bb;color:#0b3521}.reject-card{background-color:#f7d7d8;border-color:#f2aeb5;color:#58151c}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.z-\\[999\\]{z-index:999}.h-\\[100dvh\\]{height:100dvh}.w-\\[100dvw\\]{width:100dvw}.scale-100,.scale-\\[110\\%\\]{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))}.scale-\\[110\\%\\]{--tw-scale-x:110%;--tw-scale-y:110%}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.stroke-\\[1\\.5px\\]{stroke-width:1.5px}.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}}';export{r as loading_spinner}
@@ -1,5 +0,0 @@
1
- /*!
2
- * Built by ShiftSoftware
3
- * Copyright (c)
4
- */
5
- import{h as e}from"./p-CteZTPhq.js";import{L as l,d as a}from"./p-OlAbjfKx.js";import{c as o}from"./p-BK16Cn81.js";import{C as i}from"./p-Ccwtsrgg.js";import{d as n}from"./p-C4NpWwNE.js";import{g as r}from"./p-D0IHkGuC.js";const t={};let u="";const d=({form:a})=>{var i,n,r,d;a.addWatcher("vehicle");let v=a.getValue("vehicle");const c=!!v,s=null===(i=a.context.vehicleList)||void 0===i?void 0:i.find((e=>e.value===v));let p;s?(p=null===(n=null==s?void 0:s.meta)||void 0===n?void 0:n.image,v=s.value):a.context.vehicleList&&a.context.vehicleList[0]&&(p=null===(d=null===(r=a.context.vehicleList[0])||void 0===r?void 0:r.meta)||void 0===d?void 0:d.image,v=a.context.vehicleList[0].value);let g=!1;return t[v]?u=t[v]:a&&p&&v&&(((e,l,a)=>{fetch(l).then((e=>e.blob())).then((l=>{const o=new FileReader;o.onloadend=()=>{t[a]=o.result,e.rerender({rerenderForm:!0})},o.readAsDataURL(l)})).catch((e=>{console.log(e)}))})(a,p,v),g=!0),e("flexible-container",{isOpened:c},e("div",{style:{"min-height":"60px"},part:"vehicle-image-wrapper",class:o("vehicle-image-wrapper",{loading:g})},e("div",{part:o("vehicle-image-loading-wrapper",{"vehicle-image-active-loading-wrapper":g}),class:o("loading-wrapper vehicle-image-loading-wrapper",{"vehicle-image-active-loading-wrapper":g})},e(l,{part:"vehicle-image-loader-icon",class:"img vehicle-image-loader-icon"})),e("img",{alt:"vehicle image",part:"vehicle-image",src:u,style:{"border-radius":"6px",transition:"opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);",opacity:g?"0":"1"}})))},v=(e,l)=>"string"==typeof l?r(e,l):l.map((l=>r(e,l))).find((e=>null!=e)),c=(l={})=>Object.assign({submit:({props:l})=>e("form-submit",Object.assign({key:null==l?void 0:l.name},l)),inputPreview:({props:l})=>e("form-input-preview",Object.assign({key:null==l?void 0:l.name},l)),fileUploader:({props:l})=>e("form-file",Object.assign({key:null==l?void 0:l.name},l)),formStepper:({props:l,language:a})=>e("form-stepper",Object.assign({key:null==l?void 0:l.name,language:a},l)),back:({props:l})=>e("form-stepper-control",Object.assign({key:null==l?void 0:l.name},l)),stepperSubmit:({props:l})=>e("form-stepper-submit",Object.assign({key:(null==l?void 0:l.step)||(null==l?void 0:l.name)},l)),name:({props:l})=>e("form-input",Object.assign({key:null==l?void 0:l.name},l)),lastName:({props:l})=>e("form-input",Object.assign({key:null==l?void 0:l.name},l)),email:({props:l})=>e("form-input",Object.assign({key:null==l?void 0:l.name,type:"email"},l)),message:({props:l})=>e("form-text-area",Object.assign({key:null==l?void 0:l.name},l)),file:({props:l})=>e("form-file",Object.assign({key:null==l?void 0:l.name},l)),vin:({props:l})=>e("form-vin-input",Object.assign({key:null==l?void 0:l.name},l)),vehicleImage:({form:l})=>e(d,{form:l}),phone:({props:l,isLoading:a})=>e("form-phone-number",Object.assign({key:null==l?void 0:l.name,isLoading:a},l)),vehicle:({language:l,props:a})=>e("form-select",Object.assign({key:null==a?void 0:a.name},a,{searchable:!0,fetcher:async({signal:e,context:o})=>{var i,n;const r=null===(i=new URLSearchParams(window.location.search).get(null==a?void 0:a.vehicleIdQueryParam)||"")||void 0===i?void 0:i.toLowerCase(),t=a.vehicleApi,u=await fetch(t,{signal:e,headers:{"Accept-Language":l}});let d,c=-1;return(null==a?void 0:a.dynamic)?(d=((e,l)=>{const a=[];return v(e,l.items).forEach((e=>{const o=v(e,l["item-value"]),i=v(e,l["item-label"]),n={value:(null==l?void 0:l.useNamedValue)?i:o,label:i};n.meta=Object.assign({},e),a.push(n)})),a})(await u.json(),a),d.forEach(((e,l)=>{var o,i;a.defaultValue||!r||(null===(o=null==e?void 0:e.label)||void 0===o?void 0:o.toLowerCase())!==r&&(null===(i=`${e.value}`)||void 0===i?void 0:i.toLowerCase())!==r||(c=l)}))):(null==a?void 0:a.vehiclesApiStrapiFormat)?(d=(await u.json()).data,d=d.map(((e,l)=>{var o,i,n,t,u;return a.defaultValue||!r||(null===(o=null==e?void 0:e.GradeName)||void 0===o?void 0:o.toLowerCase())!==r&&(null===(i=`${e.id}`)||void 0===i?void 0:i.toLowerCase())!==r||(c=l),{label:e.attributes.GradeName,value:(null==a?void 0:a.useNamedValue)?`${(null==e?void 0:e.GradeName)||(null===(n=null==e?void 0:e.attributes)||void 0===n?void 0:n.GradeName)}`:`${e.id}`,meta:Object.assign(Object.assign({},e),{image:(null===(t=null==e?void 0:e.Cover)||void 0===t?void 0:t.url)||(null===(u=e.attributes.Cover.data.attributes)||void 0===u?void 0:u.url)})}}))):(d=await u.json(),d=d.map(((e,l)=>{var o,i;return a.defaultValue||!r||(null===(o=null==e?void 0:e.Title)||void 0===o?void 0:o.toLowerCase())!==r&&(null===(i=`${e.ID}`)||void 0===i?void 0:i.toLowerCase())!==r||(c=l),{label:e.Title,value:(null==a?void 0:a.useNamedValue)?`${e.Title}`:`${e.ID}`,meta:Object.assign(Object.assign({},e),{image:e.Image})}}))),o.defaultValue=(null==a?void 0:a.defaultValue)?null==a?void 0:a.defaultValue:c>-1?null===(n=d[c])||void 0===n?void 0:n.value:"",d},language:l})),companyBranchId:({language:l,props:a})=>e("form-select",Object.assign({key:null==a?void 0:a.name},a,{clearable:!0,searchable:!0,fetcher:async({signal:e})=>{const o=null==a?void 0:a.branchApi,i=await fetch(o,{signal:e,headers:{"Accept-Language":l}});return(await i.json()).map((e=>({label:e.Name,value:`${e.ID}`,meta:Object.assign({},e)})))},language:l})),vacancyId:({language:l,props:a})=>e("form-select",Object.assign({key:null==a?void 0:a.name},a,{clearable:!0,searchable:!0,fetcher:async({signal:e})=>{const o=null==a?void 0:a.vacancyApi,i=await fetch(o,{signal:e,headers:{"Accept-Language":l}});return(await i.json()).map((e=>({label:e.Title,value:`${e.ID}`,meta:Object.assign({},e)})))},language:l})),cityId:({language:l,props:a})=>e("form-select",Object.assign({key:null==a?void 0:a.name},a,{clearable:!0,searchable:!0,fetcher:async({signal:e})=>{const o=null==a?void 0:a.cityApi,i=await fetch(o,{signal:e,headers:{"Accept-Language":l}});return(await i.json()).map((e=>({label:e.Name,value:`${e.ID}`,meta:Object.assign({},e)})))},language:l})),date:({props:l})=>e("form-picker-input",Object.assign({type:"date"},l,{icon:e(i,null)})),bookingSlot:({form:l,language:a,props:o})=>{var i,n,r,t,u,d,v,c,s,p,g,m;l.addWatcher("companyBranchId");const b=null==l?void 0:l.getValue("companyBranchId"),h=null===(n=null===(i=l.context.companyBranchIdList)||void 0===i?void 0:i.find((e=>e.value===b)))||void 0===n?void 0:n.meta,f=(null!==(r=null==h?void 0:h.Departments)&&void 0!==r?r:[]).map((e=>e.IntegrationId)).filter(Boolean),y=(null!==(t=null==h?void 0:h.Brands)&&void 0!==t?t:[]).map((e=>e.IntegrationId)).filter(Boolean),O=null!==(v=null!==(d=(null!==(u=null==o?void 0:o.departmentPreference)&&void 0!==u?u:["showroom"]).find((e=>f.includes(e))))&&void 0!==d?d:f[0])&&void 0!==v?v:"";return e("branch-slot-picker",Object.assign({},o,{form:l,key:null==o?void 0:o.name,language:a,calendarApi:null==o?void 0:o.calendarApi,companyId:null!==(c=null==h?void 0:h.CompanyIntegrationId)&&void 0!==c?c:"",branchId:null!==(s=null==h?void 0:h.IntegrationId)&&void 0!==s?s:"",departmentId:null!==(p=null==o?void 0:o.departmentId)&&void 0!==p?p:O,brandId:null!==(m=null!==(g=null==o?void 0:o.brandId)&&void 0!==g?g:y[0])&&void 0!==m?m:"",isDisabled:!h}))},time:({language:l,props:o})=>e("form-select",Object.assign({key:null==o?void 0:o.name},o,{clearable:!0,fetcher:async()=>{const e=[];if(Array.isArray(o.span)&&Array.isArray(o.min)&&Array.isArray(o.max)&&o.format){let l=n({offsets:o.min});const i=n({offsets:o.max});for(;a.isBefore(l,i)||a.isEqual(l,i);)e.push({value:a.format(l,o.format),label:a.format(l,o.format)}),l=n({offsets:o.span,date:l})}return e},language:l})),year:({language:l,props:a})=>{const o=(null==a?void 0:a.min)||(new Date).getFullYear()-20,i=(null==a?void 0:a.max)||(new Date).getFullYear(),n=[];for(let e=o;e<=i;e++)n.push({value:`${e}`,label:`${e}`});return e("form-select",Object.assign({key:null==a?void 0:a.name},a,{clearable:!0,fetcher:async({language:e})=>{var l,o,i,r,t,u,d,v;let c=[...n];return(null==a?void 0:a.firstOption)&&(c=[{label:(null===(o=null===(l=null==a?void 0:a.firstOption)||void 0===l?void 0:l.label)||void 0===o?void 0:o[e])||"",value:(null===(r=null===(i=null==a?void 0:a.firstOption)||void 0===i?void 0:i.value)||void 0===r?void 0:r[e])||""},...c]),(null==a?void 0:a.lastOption)&&(c=[...c,{label:(null===(u=null===(t=null==a?void 0:a.lastOption)||void 0===t?void 0:t.label)||void 0===u?void 0:u[e])||"",value:(null===(v=null===(d=null==a?void 0:a.lastOption)||void 0===d?void 0:d.value)||void 0===v?void 0:v[e])||""}]),c},language:l}))},currentVehicleBrand:({form:l,language:a,props:o,locale:i})=>e("form-select",Object.assign({key:null==o?void 0:o.name},o,{searchable:!0,fetcher:async({signal:e})=>{var a;const o=null===(a=l.context.structure)||void 0===a?void 0:a.data.currentVehiclesApi,n=await fetch(o,{signal:e,headers:{"Accept-Language":"en"}});return[...(await n.json()).filter((e=>"Other"!==e.name)).map((e=>({label:e.Name,value:`${e.ID}`,meta:Object.assign({},e)}))),{value:"Other",label:i.Other}]},language:a})),currentVehicleModel:({form:l,language:a,props:o,locale:i})=>{l.addWatcher("currentVehicleBrand");const n=null==l?void 0:l.getValue("currentVehicleBrand");return e("form-select",Object.assign({},o,{searchable:!0,key:null==o?void 0:o.name,fetcher:async({})=>{var e,a;if(!n)return[];const o=null===(a=null===(e=l.context.currentVehicleBrandList)||void 0===e?void 0:e.find((e=>e.value===n)))||void 0===a?void 0:a.meta;return o?[...o.Models.map((e=>({label:e.Name,value:`${e.ID}`}))),{value:"Other",label:i.Other}]:[]},language:a,resetKey:n,fetcherKey:n,isRequired:"Other"!==n,isDisabled:!n||"Other"===n}))},ownVehicle:({language:l,props:a})=>e("form-select",Object.assign({key:null==a?void 0:a.name},a,{fetcher:async({})=>{var e,o,i,n;return[{value:"yes",label:null===(o=null===(e=null==a?void 0:a.localization)||void 0===e?void 0:e[l])||void 0===o?void 0:o.yes},{value:"no",label:null===(n=null===(i=null==a?void 0:a.localization)||void 0===i?void 0:i[l])||void 0===n?void 0:n.no}]},language:l})),conditionalCurrentVehicleBrand:({form:l,language:a,props:o,locale:i})=>{l.addWatcher("ownVehicle");const n="yes"===(null==l?void 0:l.getValue("ownVehicle"));return e("form-select",Object.assign({key:null==o?void 0:o.name},o,{searchable:!0,fetcher:async({signal:e})=>{const l=null==o?void 0:o.brandApi,a=await fetch(l,{signal:e,headers:{"Accept-Language":"en"}});return[...(await a.json()).filter((e=>"Other"!==e.name)).map((e=>({label:e.Name,value:(null==o?void 0:o.useNamedValue)?e.Name:`${e.ID}`,meta:Object.assign({},e)}))),{value:"Other",label:i.Other}]},language:a,resetKey:n,isRequired:n,isDisabled:!n}))},conditionalCurrentVehicleModel:({form:l,language:a,props:o,locale:i})=>{l.addWatcher("ownVehicle"),l.addWatcher("conditionalCurrentVehicleBrand");const n="yes"===(null==l?void 0:l.getValue("ownVehicle")),r=null==l?void 0:l.getValue("conditionalCurrentVehicleBrand");return e("form-select",Object.assign({},o,{searchable:!0,fetcher:async({})=>{var e,a;if(!r)return[];const n=null===(a=null===(e=l.context.conditionalCurrentVehicleBrandList)||void 0===e?void 0:e.find((e=>e.value===r)))||void 0===a?void 0:a.meta;return n?[...n.Models.map((e=>({label:e.Name,value:(null==o?void 0:o.useNamedValue)?e.Name:`${e.ID}`}))),{value:"Other",label:i.Other}]:[]},key:null==o?void 0:o.name,language:a,resetKey:r,fetcherKey:r,isRequired:n&&"Other"!==r,isDisabled:!r||"Other"===r}))}},l);export{c as g}