adp-web-components 0.3.14 → 0.3.15

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 (385) hide show
  1. package/dist/cjs/{add-icon-BaoMAIgg.js → add-icon-BklgM02f.js} +1 -1
  2. package/dist/cjs/{app-globals-DBRBLgev.js → app-globals-XGpRBTr6.js} +1 -1
  3. package/dist/cjs/{arrow-icon-CJX1aUJ8.js → arrow-icon-yMlETDbD.js} +1 -1
  4. package/dist/cjs/{arrow-up-icon-B3Z5Myqt.js → arrow-up-icon-BLo1aQC2.js} +1 -1
  5. package/dist/cjs/{form-dialog_13.cjs.entry.js → branch-slot-dropdown_15.cjs.entry.js} +557 -38
  6. package/dist/cjs/{calendar-days-icon-CsHz2cgV.js → calendar-days-icon-Cf14ROXV.js} +1 -1
  7. package/dist/cjs/{check-icon-CqTKjw2o.js → check-icon-DaQxP2EY.js} +1 -1
  8. package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +13 -13
  9. package/dist/cjs/{decode-time-offset-DOSaziv5.js → decode-time-offset-DOUImlif.js} +1 -1
  10. package/dist/cjs/flexible-container.cjs.entry.js +4 -4
  11. package/dist/cjs/form-checkbox.cjs.entry.js +4 -4
  12. package/dist/cjs/form-date-picker.cjs.entry.js +8 -8
  13. package/dist/cjs/{form-error-message-K-KI154V.js → form-error-message-BtLdHgxO.js} +1 -1
  14. package/dist/cjs/{form-input-label-uhneFYXO.js → form-input-label-B4lkF89K.js} +1 -1
  15. package/dist/cjs/form-input_7.cjs.entry.js +24 -24
  16. package/dist/cjs/form-switch.cjs.entry.js +4 -4
  17. package/dist/cjs/form-time-picker.cjs.entry.js +9 -9
  18. package/dist/cjs/{functions-DBDDNNNX.js → functions-BHYWCotp.js} +3 -3
  19. package/dist/cjs/general-form.cjs.entry.js +10 -10
  20. package/dist/cjs/general-inquiry-form.cjs.entry.js +10 -10
  21. package/dist/cjs/{get-language-from-url-9TyZFCRO.js → get-language-from-url-DwOt9DVH.js} +1 -1
  22. package/dist/cjs/{get-local-language-DjRj7WaF.js → get-local-language-BSOLV9z2.js} +7 -3
  23. package/dist/cjs/{get-mock-files-Br7Co-Fj.js → get-mock-files-Dv8XsTW8.js} +2 -2
  24. package/dist/cjs/{index-Bi6W8dMN.js → index-BdHAYIvO.js} +16 -0
  25. package/dist/cjs/information-table.cjs.entry.js +3 -3
  26. package/dist/cjs/{loader-icon-By94sKO7.js → loader-icon-aY56OHXW.js} +1 -1
  27. package/dist/cjs/loader.cjs.js +3 -3
  28. package/dist/cjs/loading-spinner.cjs.entry.js +3 -3
  29. package/dist/cjs/manufacturer-part-lookup.cjs.entry.js +5 -5
  30. package/dist/cjs/{mappers-DF2WCWpn.js → mappers-BlH-TAo7.js} +27 -5
  31. package/dist/cjs/{material-card-BqsZgRVE.js → material-card-D1UQcy6U.js} +1 -1
  32. package/dist/cjs/part-lookup.cjs.entry.js +4 -4
  33. package/dist/cjs/{qr-code-scan-B-8WHa22.js → qr-code-scan-CtKK6wLL.js} +1 -1
  34. package/dist/cjs/service-booking-form.cjs.entry.js +10 -10
  35. package/dist/cjs/shift-accordion.cjs.entry.js +3 -3
  36. package/dist/cjs/shift-checkbox.cjs.entry.js +4 -4
  37. package/dist/cjs/shift-components.cjs.js +3 -3
  38. package/dist/cjs/shift-slider.cjs.entry.js +3 -3
  39. package/dist/cjs/shift-switch.cjs.entry.js +3 -3
  40. package/dist/cjs/shift-tab-content.cjs.entry.js +3 -3
  41. package/dist/cjs/shift-tabs_2.cjs.entry.js +15 -15
  42. package/dist/cjs/ssc-lookup-form.cjs.entry.js +10 -10
  43. package/dist/cjs/test-drive-form.cjs.entry.js +10 -10
  44. package/dist/cjs/{triangle-alert-CN15U99s.js → triangle-alert-BjQBwsRv.js} +1 -1
  45. package/dist/cjs/{vehicle-accessories_7.cjs.entry.js → vehicle-accessories_8.cjs.entry.js} +425 -26
  46. package/dist/cjs/{vehicle-info-layout-sV6altzn.js → vehicle-info-layout-CRpL8UMY.js} +1 -1
  47. package/dist/cjs/vehicle-lookup.cjs.entry.js +10 -6
  48. package/dist/cjs/vehicle-quotation-form.cjs.entry.js +7 -7
  49. package/dist/cjs/{get-custom-classes-for-portal-NNOxAU3P.js → white-loader-CveXuRsH.js} +15 -15
  50. package/dist/collection/collection-manifest.json +3 -0
  51. package/dist/collection/components/components/empty.css +1 -1
  52. package/dist/collection/components/components/flexible-container.css +1 -1
  53. package/dist/collection/components/components/flexible-container.js +2 -2
  54. package/dist/collection/components/components/information-table.css +1 -1
  55. package/dist/collection/components/components/loading-spinner.css +1 -1
  56. package/dist/collection/components/components/loading-spinner.js +1 -1
  57. package/dist/collection/components/components/shift-accordion.css +1 -1
  58. package/dist/collection/components/components/shift-accordion.js +1 -1
  59. package/dist/collection/components/components/shift-checkbox.js +1 -1
  60. package/dist/collection/components/components/shift-portal.css +1 -1
  61. package/dist/collection/components/components/shift-select-dropdown.css +1 -1
  62. package/dist/collection/components/components/shift-select-dropdown.js +2 -2
  63. package/dist/collection/components/components/shift-select.css +1 -1
  64. package/dist/collection/components/components/shift-select.js +3 -3
  65. package/dist/collection/components/components/shift-slider.css +1 -1
  66. package/dist/collection/components/components/shift-slider.js +1 -1
  67. package/dist/collection/components/components/shift-switch.js +1 -1
  68. package/dist/collection/components/components/shift-tab-content.css +1 -1
  69. package/dist/collection/components/components/shift-tab-content.js +1 -1
  70. package/dist/collection/components/components/shift-tabs.css +1 -1
  71. package/dist/collection/components/components/shift-tabs.js +2 -2
  72. package/dist/collection/components/form-elements/branch-slot-dropdown.css +1 -0
  73. package/dist/collection/components/form-elements/branch-slot-dropdown.js +405 -0
  74. package/dist/collection/components/form-elements/branch-slot-picker.css +1 -0
  75. package/dist/collection/components/form-elements/branch-slot-picker.js +921 -0
  76. package/dist/collection/components/form-elements/form-checkbox.js +1 -1
  77. package/dist/collection/components/form-elements/form-date-picker-legacy.js +4 -4
  78. package/dist/collection/components/form-elements/form-dialog.js +1 -1
  79. package/dist/collection/components/form-elements/form-file.js +2 -2
  80. package/dist/collection/components/form-elements/form-input.js +2 -2
  81. package/dist/collection/components/form-elements/form-inputs.css +1 -1
  82. package/dist/collection/components/form-elements/form-picker-input.js +2 -2
  83. package/dist/collection/components/form-elements/form-shadow-input.js +1 -1
  84. package/dist/collection/components/form-elements/form-stepper-control.js +2 -2
  85. package/dist/collection/components/form-elements/form-stepper-submit.js +2 -2
  86. package/dist/collection/components/form-elements/form-stepper.js +1 -1
  87. package/dist/collection/components/form-elements/form-structure-error.js +1 -1
  88. package/dist/collection/components/form-elements/form-submit.js +2 -2
  89. package/dist/collection/components/form-elements/form-switch.js +1 -1
  90. package/dist/collection/components/form-elements/form-text-area.js +2 -2
  91. package/dist/collection/components/form-elements/form-time-picker-legacy.js +5 -5
  92. package/dist/collection/components/form-elements/form-vin-input.js +2 -2
  93. package/dist/collection/components/forms/defaults/mappers.js +23 -1
  94. package/dist/collection/components/forms/general-form.js +2 -2
  95. package/dist/collection/components/forms/general-inquiry.js +2 -2
  96. package/dist/collection/components/forms/service-booking.js +2 -2
  97. package/dist/collection/components/forms/ssc-lookup.js +2 -2
  98. package/dist/collection/components/forms/test-drive.js +2 -2
  99. package/dist/collection/components/forms/vehicle-quotation.js +2 -2
  100. package/dist/collection/components/part-lookup/dead-stock-lookup.css +1 -1
  101. package/dist/collection/components/part-lookup/dead-stock-lookup.js +2 -2
  102. package/dist/collection/components/part-lookup/distributor-lookup.css +1 -1
  103. package/dist/collection/components/part-lookup/distributor-lookup.js +2 -2
  104. package/dist/collection/components/part-lookup/manufacturer-lookup.css +1 -1
  105. package/dist/collection/components/part-lookup/manufacturer-part-lookup.css +1 -1
  106. package/dist/collection/components/part-lookup/manufacturer-part-lookup.js +1 -1
  107. package/dist/collection/components/part-lookup/part-lookup.css +1 -1
  108. package/dist/collection/components/vehicle-lookup/components/CoverageTimeline.js +317 -0
  109. package/dist/collection/components/vehicle-lookup/vehicle-accessories.css +1 -1
  110. package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +2 -2
  111. package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.css +1 -1
  112. package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.js +5 -5
  113. package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.css +1 -1
  114. package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.js +7 -7
  115. package/dist/collection/components/vehicle-lookup/vehicle-lookup.css +1 -1
  116. package/dist/collection/components/vehicle-lookup/vehicle-lookup.js +6 -2
  117. package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.css +1 -1
  118. package/dist/collection/components/vehicle-lookup/vehicle-sale-information.css +1 -1
  119. package/dist/collection/components/vehicle-lookup/vehicle-sale-information.js +2 -2
  120. package/dist/collection/components/vehicle-lookup/vehicle-service-history.css +1 -1
  121. package/dist/collection/components/vehicle-lookup/vehicle-service-history.js +1 -1
  122. package/dist/collection/components/vehicle-lookup/vehicle-specification.css +1 -1
  123. package/dist/collection/components/vehicle-lookup/vehicle-specification.js +1 -1
  124. package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.css +1 -1
  125. package/dist/collection/components/vehicle-lookup/vehicle-warranty-timeline.css +1 -0
  126. package/dist/collection/components/vehicle-lookup/vehicle-warranty-timeline.js +467 -0
  127. package/dist/collection/components/vin-extractor/vin-extractor.js +1 -1
  128. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-extended-warranty-dto.js +1 -0
  129. package/dist/collection/locale-mapper.js +5 -1
  130. package/dist/collection/locales/vehicleLookup/warrantyTimeline/type.js +31 -0
  131. package/dist/collection/templates/vehicle-lookup/prototype-assets/extended-warranty/adp-logo.svg +11 -0
  132. package/dist/collection/templates/vehicle-lookup/warranty-mock-data.js +96 -1
  133. package/dist/components/branch-slot-dropdown.d.ts +11 -0
  134. package/dist/components/branch-slot-dropdown.js +5 -0
  135. package/dist/components/branch-slot-picker.d.ts +11 -0
  136. package/dist/components/branch-slot-picker.js +5 -0
  137. package/dist/components/dead-stock-lookup.js +1 -1
  138. package/dist/components/distributor-lookup.js +1 -1
  139. package/dist/components/flexible-container.js +1 -1
  140. package/dist/components/form-checkbox.js +1 -1
  141. package/dist/components/form-date-picker.js +1 -1
  142. package/dist/components/form-dialog.js +1 -1
  143. package/dist/components/form-file.js +1 -1
  144. package/dist/components/form-input-preview.js +1 -1
  145. package/dist/components/form-input.js +1 -1
  146. package/dist/components/form-phone-number.js +1 -1
  147. package/dist/components/form-picker-input.js +1 -1
  148. package/dist/components/form-select.js +1 -1
  149. package/dist/components/form-shadow-input.js +1 -1
  150. package/dist/components/form-stepper-control.js +1 -1
  151. package/dist/components/form-stepper-submit.js +1 -1
  152. package/dist/components/form-stepper.js +1 -1
  153. package/dist/components/form-structure-error.js +1 -1
  154. package/dist/components/form-structure.js +1 -1
  155. package/dist/components/form-submit.js +1 -1
  156. package/dist/components/form-switch.js +1 -1
  157. package/dist/components/form-text-area.js +1 -1
  158. package/dist/components/form-time-picker.js +1 -1
  159. package/dist/components/form-vin-input.js +1 -1
  160. package/dist/components/general-form.js +1 -1
  161. package/dist/components/general-inquiry-form.js +1 -1
  162. package/dist/components/index.js +1 -1
  163. package/dist/components/information-table.js +1 -1
  164. package/dist/components/loading-spinner.js +1 -1
  165. package/dist/components/manufacturer-lookup.js +1 -1
  166. package/dist/components/manufacturer-part-lookup.js +1 -1
  167. package/dist/components/p--qz4ecXR.js +5 -0
  168. package/dist/components/{p-CgimfOQ7.js → p-3xgnJUhD.js} +1 -1
  169. package/dist/components/{p-DJa_zubh.js → p-87NLGlyb.js} +1 -1
  170. package/dist/components/{p-ABcgwu6F.js → p-B2FtamaW.js} +1 -1
  171. package/dist/components/{p-Y2dufCGw.js → p-B47kSZHb.js} +1 -1
  172. package/dist/components/p-B7gfOpxv.js +5 -0
  173. package/dist/components/{p-B6ib31CX.js → p-B83lw3YO.js} +1 -1
  174. package/dist/components/p-B9ClwHPb.js +5 -0
  175. package/dist/components/p-B9_-Tb0H.js +5 -0
  176. package/dist/components/{p-COyo4v_L.js → p-BAtXT_Mt.js} +1 -1
  177. package/dist/components/p-BGX0qdUG.js +5 -0
  178. package/dist/components/{p-BUGOUxbr.js → p-BPnD6Cqq.js} +1 -1
  179. package/dist/components/{p-CN6RvIb-.js → p-BQC1g-wS.js} +1 -1
  180. package/dist/components/{p-DoGNkDP-.js → p-B__72-PA.js} +1 -1
  181. package/dist/components/p-BaKmifzr.js +5 -0
  182. package/dist/components/{p-CRJSM0nN.js → p-BcDVkdxZ.js} +1 -1
  183. package/dist/components/{p-Bu1VjE_4.js → p-ByA_B82T.js} +1 -1
  184. package/dist/components/p-C0JoH_yH.js +5 -0
  185. package/dist/components/{p-emKMuKu4.js → p-C2RnTSH-.js} +1 -1
  186. package/dist/components/{p-SQ4fUegy.js → p-C4ud82ie.js} +1 -1
  187. package/dist/components/p-CCuYl9VQ.js +5 -0
  188. package/dist/components/{p-BIeJEFM6.js → p-CDQ5F3Oe.js} +1 -1
  189. package/dist/components/{p-CH5Rb3vr.js → p-CGJ8ndBw.js} +1 -1
  190. package/dist/components/p-CNcA_RyS.js +5 -0
  191. package/dist/components/{p-B5T-06-W.js → p-C_ZtLgwx.js} +1 -1
  192. package/dist/components/{p-DIMe8nY5.js → p-Cq13CFua.js} +1 -1
  193. package/dist/components/{p-vYuOlXCR.js → p-CzVOOo8C.js} +1 -1
  194. package/dist/components/{p-9zux5VXM.js → p-D-6PSzhd.js} +1 -1
  195. package/dist/components/{p-DwJkEi88.js → p-D2H3RzIC.js} +1 -1
  196. package/dist/components/{p-DdUaptEO.js → p-DHaTQ9vT.js} +1 -1
  197. package/dist/components/{p-qYvbkatn.js → p-DQGcS-zL.js} +1 -1
  198. package/dist/components/{p-CYGQmS-P.js → p-DTk3bhGl.js} +1 -1
  199. package/dist/components/{p-Dhy4YWgm.js → p-DdB_zKQz.js} +1 -1
  200. package/dist/components/{p-BP6R1nYk.js → p-Dhi7g1w3.js} +1 -1
  201. package/dist/components/{p-A2T8KqHs.js → p-Dr_ggnvT.js} +1 -1
  202. package/dist/components/{p-CK3C2jeL.js → p-Dx0NcxCM.js} +1 -1
  203. package/dist/components/p-HT-TmIJD.js +5 -0
  204. package/dist/components/{p-DTQIIqm5.js → p-ZTI11kto.js} +1 -1
  205. package/dist/components/{p-B6_q3Jaz.js → p-a5fTeexp.js} +1 -1
  206. package/dist/components/p-bOkg1-34.js +5 -0
  207. package/dist/components/{p-DWGSY0dp.js → p-gzdpekMI.js} +1 -1
  208. package/dist/components/{p-DJ66XSRQ.js → p-pIanEonc.js} +1 -1
  209. package/dist/components/{p-CsqoymFO.js → p-qGX3WTkQ.js} +1 -1
  210. package/dist/components/{p-DlJAm0cB.js → p-qs0MTheD.js} +1 -1
  211. package/dist/components/{p-B2ZE4oRD.js → p-txgHrQYx.js} +1 -1
  212. package/dist/components/{p-BTfZ7GAi.js → p-v_TjAHaO.js} +1 -1
  213. package/dist/components/part-lookup.js +1 -1
  214. package/dist/components/service-booking-form.js +1 -1
  215. package/dist/components/shift-accordion.js +1 -1
  216. package/dist/components/shift-checkbox.js +1 -1
  217. package/dist/components/shift-portal.js +1 -1
  218. package/dist/components/shift-select-dropdown.js +1 -1
  219. package/dist/components/shift-select.js +1 -1
  220. package/dist/components/shift-slider.js +1 -1
  221. package/dist/components/shift-switch.js +1 -1
  222. package/dist/components/shift-tab-content.js +1 -1
  223. package/dist/components/shift-tabs.js +1 -1
  224. package/dist/components/ssc-lookup-form.js +1 -1
  225. package/dist/components/test-drive-form.js +1 -1
  226. package/dist/components/vehicle-accessories.js +1 -1
  227. package/dist/components/vehicle-claimable-items.js +1 -1
  228. package/dist/components/vehicle-item-claim-form.js +1 -1
  229. package/dist/components/vehicle-lookup.js +1 -1
  230. package/dist/components/vehicle-paint-thickness.js +1 -1
  231. package/dist/components/vehicle-quotation-form.js +1 -1
  232. package/dist/components/vehicle-sale-information.js +1 -1
  233. package/dist/components/vehicle-service-history.js +1 -1
  234. package/dist/components/vehicle-specification.js +1 -1
  235. package/dist/components/vehicle-warranty-details.js +1 -1
  236. package/dist/components/vehicle-warranty-timeline.d.ts +11 -0
  237. package/dist/components/vehicle-warranty-timeline.js +5 -0
  238. package/dist/components/vin-extractor.js +1 -1
  239. package/dist/esm/{add-icon-DxQVyX6U.js → add-icon-DHh6DJXR.js} +1 -1
  240. package/dist/esm/{app-globals-ci3rJxmu.js → app-globals-CusTGK9D.js} +1 -1
  241. package/dist/esm/{arrow-icon-DRTeN2D5.js → arrow-icon-DziuNOTp.js} +1 -1
  242. package/dist/esm/{arrow-up-icon-FAYFxG6c.js → arrow-up-icon-Dw_d-rG9.js} +1 -1
  243. package/dist/esm/{form-dialog_13.entry.js → branch-slot-dropdown_15.entry.js} +554 -37
  244. package/dist/esm/{calendar-days-icon-BOy0a_W-.js → calendar-days-icon-CnASOv7M.js} +1 -1
  245. package/dist/esm/{check-icon-BYK1ESZG.js → check-icon-BZQF4tzH.js} +1 -1
  246. package/dist/esm/dead-stock-lookup_3.entry.js +13 -13
  247. package/dist/esm/{decode-time-offset-ChO_PV6l.js → decode-time-offset-Cib1aJfV.js} +1 -1
  248. package/dist/esm/flexible-container.entry.js +4 -4
  249. package/dist/esm/form-checkbox.entry.js +4 -4
  250. package/dist/esm/form-date-picker.entry.js +8 -8
  251. package/dist/esm/{form-error-message-YvMHko71.js → form-error-message-DWl6p6Dz.js} +1 -1
  252. package/dist/esm/{form-input-label-cuvgzRcH.js → form-input-label-6blOw1BN.js} +1 -1
  253. package/dist/esm/form-input_7.entry.js +23 -23
  254. package/dist/esm/form-switch.entry.js +4 -4
  255. package/dist/esm/form-time-picker.entry.js +9 -9
  256. package/dist/esm/{functions-DG73G3O6.js → functions-BObezuTv.js} +3 -3
  257. package/dist/esm/general-form.entry.js +10 -10
  258. package/dist/esm/general-inquiry-form.entry.js +10 -10
  259. package/dist/esm/{get-language-from-url-C1D-aPDq.js → get-language-from-url-fV-K15uy.js} +1 -1
  260. package/dist/esm/{get-local-language-DsJgnZ5L.js → get-local-language-DcxL5hdi.js} +7 -3
  261. package/dist/esm/{get-mock-files-_k2h1OdV.js → get-mock-files-IEjS5G9N.js} +2 -2
  262. package/dist/esm/{index-Cg4V9l26.js → index-CteZTPhq.js} +16 -1
  263. package/dist/esm/information-table.entry.js +3 -3
  264. package/dist/esm/{loader-icon-B2ls1yXl.js → loader-icon-BvAmA41s.js} +1 -1
  265. package/dist/esm/loader.js +4 -4
  266. package/dist/esm/loading-spinner.entry.js +3 -3
  267. package/dist/esm/manufacturer-part-lookup.entry.js +5 -5
  268. package/dist/esm/{mappers-CeTQZn37.js → mappers-9IKbvPiR.js} +27 -5
  269. package/dist/esm/{material-card-BMtefyp-.js → material-card-jbQd-0as.js} +1 -1
  270. package/dist/esm/part-lookup.entry.js +4 -4
  271. package/dist/esm/{qr-code-scan-CktgNBSD.js → qr-code-scan-B1nViqZl.js} +1 -1
  272. package/dist/esm/service-booking-form.entry.js +10 -10
  273. package/dist/esm/shift-accordion.entry.js +3 -3
  274. package/dist/esm/shift-checkbox.entry.js +4 -4
  275. package/dist/esm/shift-components.js +4 -4
  276. package/dist/esm/shift-slider.entry.js +3 -3
  277. package/dist/esm/shift-switch.entry.js +3 -3
  278. package/dist/esm/shift-tab-content.entry.js +3 -3
  279. package/dist/esm/shift-tabs_2.entry.js +15 -15
  280. package/dist/esm/ssc-lookup-form.entry.js +10 -10
  281. package/dist/esm/test-drive-form.entry.js +10 -10
  282. package/dist/esm/{triangle-alert-D4H9aWiT.js → triangle-alert-Brtqhx2d.js} +1 -1
  283. package/dist/esm/{vehicle-accessories_7.entry.js → vehicle-accessories_8.entry.js} +425 -27
  284. package/dist/esm/{vehicle-info-layout-DQ12Civq.js → vehicle-info-layout-Dmx94GLp.js} +1 -1
  285. package/dist/esm/vehicle-lookup.entry.js +10 -6
  286. package/dist/esm/vehicle-quotation-form.entry.js +7 -7
  287. package/dist/esm/{get-custom-classes-for-portal-C4LvwyrX.js → white-loader-B3tJFuNO.js} +15 -15
  288. package/dist/integration-manifest.json +66 -2
  289. package/dist/locales/vehicleLookup/warrantyTimeline/ar.json +25 -0
  290. package/dist/locales/vehicleLookup/warrantyTimeline/en.json +25 -0
  291. package/dist/locales/vehicleLookup/warrantyTimeline/ku.json +25 -0
  292. package/dist/locales/vehicleLookup/warrantyTimeline/ru.json +25 -0
  293. package/dist/locales/vehicleLookup/warrantyTimeline/type.ts +29 -0
  294. package/dist/mocks/generated/broker-dealer/vehicle-lookup.json +19 -1
  295. package/dist/mocks/generated/edge-cases/vehicle-lookup.json +57 -0
  296. package/dist/mocks/generated/standard-dealer/vehicle-lookup.json +27 -2
  297. package/dist/shift-components/{p-9fbdc7fd.entry.js → p-088c8e4c.entry.js} +1 -1
  298. package/dist/shift-components/{p-d73f83a1.entry.js → p-12f36d97.entry.js} +1 -1
  299. package/dist/shift-components/p-17862b0b.entry.js +5 -0
  300. package/dist/shift-components/p-187cbdf5.entry.js +5 -0
  301. package/dist/shift-components/{p-56f69d7f.entry.js → p-1c7c9c13.entry.js} +1 -1
  302. package/dist/shift-components/{p-8387da9d.entry.js → p-28e29ce7.entry.js} +1 -1
  303. package/dist/shift-components/p-383342be.entry.js +5 -0
  304. package/dist/shift-components/{p-04b02a2a.entry.js → p-3dcba301.entry.js} +1 -1
  305. package/dist/shift-components/{p-1416551c.entry.js → p-5ba85e5c.entry.js} +1 -1
  306. package/dist/shift-components/p-65beafcc.entry.js +5 -0
  307. package/dist/shift-components/{p-83a38f2f.entry.js → p-7cc6806c.entry.js} +1 -1
  308. package/dist/shift-components/{p-bd772f48.entry.js → p-7f44f655.entry.js} +1 -1
  309. package/dist/shift-components/{p-cc3bdbd7.entry.js → p-868d554f.entry.js} +1 -1
  310. package/dist/shift-components/{p-f148f0db.entry.js → p-880c103a.entry.js} +1 -1
  311. package/dist/shift-components/{p-2b0e3d27.entry.js → p-902a40c4.entry.js} +1 -1
  312. package/dist/shift-components/{p-79faecaa.entry.js → p-99886c58.entry.js} +1 -1
  313. package/dist/shift-components/{p-B8RCucpl.js → p-B9kqtQjS.js} +1 -1
  314. package/dist/shift-components/p-BTNA9XsD.js +5 -0
  315. package/dist/shift-components/{p-CiA8HlYO.js → p-C4NpWwNE.js} +1 -1
  316. package/dist/shift-components/{p-BaC5C1YJ.js → p-C8PvXL-3.js} +1 -1
  317. package/dist/shift-components/p-CMMsmKvs.js +5 -0
  318. package/dist/shift-components/p-C_QDvFTV.js +5 -0
  319. package/dist/shift-components/{p-BpCf2ue6.js → p-Ccwtsrgg.js} +1 -1
  320. package/dist/shift-components/p-CteZTPhq.js +6 -0
  321. package/dist/shift-components/{p-BG5y01yj.js → p-D1ioFMhR.js} +1 -1
  322. package/dist/shift-components/{p-FFH7sR1n.js → p-D7cqTTll.js} +1 -1
  323. package/dist/shift-components/p-D9Xf90VX.js +5 -0
  324. package/dist/shift-components/p-DWoutohJ.js +5 -0
  325. package/dist/shift-components/{p-BtLpOQVM.js → p-DtD7FZCG.js} +1 -1
  326. package/dist/shift-components/{p-pUYjpajc.js → p-Dyo77aS3.js} +1 -1
  327. package/dist/shift-components/{p-CEfxRHUk.js → p-DzV_ls5o.js} +1 -1
  328. package/dist/shift-components/{p-08Pl1Pmo.js → p-MzYTUgsB.js} +1 -1
  329. package/dist/shift-components/{p-DwFWMVcD.js → p-OlAbjfKx.js} +1 -1
  330. package/dist/shift-components/{p-7ff0ea83.entry.js → p-b675fb6b.entry.js} +1 -1
  331. package/dist/shift-components/p-b8084ca2.entry.js +5 -0
  332. package/dist/shift-components/{p-e65d8cc3.entry.js → p-bad65a42.entry.js} +1 -1
  333. package/dist/shift-components/{p-b4f9de18.entry.js → p-bb13232d.entry.js} +1 -1
  334. package/dist/shift-components/{p-CtUQMviL.js → p-bfwabdVa.js} +1 -1
  335. package/dist/shift-components/p-c4cf0a18.entry.js +5 -0
  336. package/dist/shift-components/p-e2868220.entry.js +5 -0
  337. package/dist/shift-components/p-e7a99998.entry.js +5 -0
  338. package/dist/shift-components/{p-89853d6c.entry.js → p-ec3e0cce.entry.js} +1 -1
  339. package/dist/shift-components/{p-d5db4fb4.entry.js → p-ee623097.entry.js} +1 -1
  340. package/dist/shift-components/{p-6a10c7ff.entry.js → p-f9b8d43c.entry.js} +1 -1
  341. package/dist/shift-components/p-hABirfUj.js +5 -0
  342. package/dist/shift-components/{p-CRd5RAng.js → p-oFzLYYzz.js} +1 -1
  343. package/dist/shift-components/{p-Dvl1mJ6N.js → p-oQAUbfw7.js} +1 -1
  344. package/dist/shift-components/shift-components.esm.js +1 -1
  345. package/dist/stencil-docs.json +8462 -6793
  346. package/dist/types/components/form-elements/branch-slot-dropdown.d.ts +48 -0
  347. package/dist/types/components/form-elements/branch-slot-picker.d.ts +128 -0
  348. package/dist/types/components/forms/defaults/mappers.d.ts +16 -0
  349. package/dist/types/components/vehicle-lookup/components/CoverageTimeline.d.ts +13 -0
  350. package/dist/types/components/vehicle-lookup/vehicle-lookup.d.ts +3 -0
  351. package/dist/types/components/vehicle-lookup/vehicle-warranty-timeline.d.ts +46 -0
  352. package/dist/types/components.d.ts +452 -4
  353. package/dist/types/features/multi-lingual/types.d.ts +4 -4
  354. package/dist/types/global/types/generated/vehicle-lookup/vehicle-extended-warranty-dto.d.ts +9 -0
  355. package/dist/types/global/types/generated/vehicle-lookup/vehicle-warranty-dto.d.ts +4 -0
  356. package/dist/types/locale-mapper.d.ts +2 -1
  357. package/dist/types/locales/type.d.ts +2 -2
  358. package/dist/types/locales/vehicleLookup/paintThickness/type.d.ts +6 -6
  359. package/dist/types/locales/vehicleLookup/warranty/type.d.ts +4 -4
  360. package/dist/types/locales/vehicleLookup/warrantyTimeline/type.d.ts +50 -0
  361. package/dist/types/locales/vehicleLookup/wrapper-type.d.ts +10 -10
  362. package/package.json +1 -1
  363. package/dist/components/p-0Leiluv7.js +0 -5
  364. package/dist/components/p-B6gnG2lN.js +0 -5
  365. package/dist/components/p-BL5YkEz-.js +0 -5
  366. package/dist/components/p-CCpbwft_.js +0 -5
  367. package/dist/components/p-CbL2RmJ1.js +0 -5
  368. package/dist/components/p-WdDnbO6s.js +0 -5
  369. package/dist/components/p-_i2jGDlH.js +0 -5
  370. package/dist/components/p-puPUmTHi.js +0 -5
  371. package/dist/shift-components/p-214259ae.entry.js +0 -5
  372. package/dist/shift-components/p-2f764c75.entry.js +0 -5
  373. package/dist/shift-components/p-50819229.entry.js +0 -5
  374. package/dist/shift-components/p-64205a8d.entry.js +0 -5
  375. package/dist/shift-components/p-8e478de8.entry.js +0 -5
  376. package/dist/shift-components/p-9c950549.entry.js +0 -5
  377. package/dist/shift-components/p-BBmr0kTe.js +0 -5
  378. package/dist/shift-components/p-BVDXHvth.js +0 -5
  379. package/dist/shift-components/p-C_AHRam8.js +0 -5
  380. package/dist/shift-components/p-Cg4V9l26.js +0 -6
  381. package/dist/shift-components/p-D2XgNV12.js +0 -5
  382. package/dist/shift-components/p-D6ZxBLEm.js +0 -5
  383. package/dist/shift-components/p-DlBduQTw.js +0 -5
  384. package/dist/shift-components/p-acd9087d.entry.js +0 -5
  385. package/dist/shift-components/p-c3f88c4c.entry.js +0 -5
@@ -2,4 +2,4 @@
2
2
  * Built by ShiftSoftware
3
3
  * Copyright (c)
4
4
  */
5
- import{h as i}from"./p-Cg4V9l26.js";import{c as e}from"./p-BK16Cn81.js";const o=(o,n)=>o.coreOnly?i("div",{class:e({loading:o.isLoading})},n):i("div",{dir:o.direction,part:"vehicle-info-container",class:e("vehicle-info-container",{loading:o.isLoading})},i("div",{part:"vehicle-info-header",class:"vehicle-info-header"},i("strong",{part:"vehicle-info-header-vin",class:"vehicle-info-header-vin load-animation"},o.isError?i("span",{dir:o.direction,style:{color:"red"}},o.errorMessage):o.header),o.headerRight&&i("div",{class:"vehicle-info-header-action"},o.headerRight)),i("div",{part:"vehicle-info-body",class:"vehicle-info-body"},i("div",{part:"vehicle-info-content",class:"vehicle-info-content"},n)));export{o as V}
5
+ import{h as i}from"./p-CteZTPhq.js";import{c as e}from"./p-BK16Cn81.js";const o=(o,n)=>o.coreOnly?i("div",{class:e({loading:o.isLoading})},n):i("div",{dir:o.direction,part:"vehicle-info-container",class:e("vehicle-info-container",{loading:o.isLoading})},i("div",{part:"vehicle-info-header",class:"vehicle-info-header"},i("strong",{part:"vehicle-info-header-vin",class:"vehicle-info-header-vin load-animation"},o.isError?i("span",{dir:o.direction,style:{color:"red"}},o.errorMessage):o.header),o.headerRight&&i("div",{class:"vehicle-info-header-action"},o.headerRight)),i("div",{part:"vehicle-info-body",class:"vehicle-info-body"},i("div",{part:"vehicle-info-content",class:"vehicle-info-content"},n)));export{o as V}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * Built by ShiftSoftware
3
+ * Copyright (c)
4
+ */
5
+ import"./p-CteZTPhq.js";import{e,g as o,f as c,l as s}from"./p-BDhR4pDq.js";const l="0.3.15",a={"-":["locales/"],errors:["locales/errors/"],forms:["locales/forms/","locales/forms/contactUs/","locales/forms/demo/","locales/forms/testDriveDemo/","locales/forms/vehicleQuotation/"],"forms.contactUs":["locales/forms/contactUs/"],"forms.demo":["locales/forms/demo/"],"forms.testDriveDemo":["locales/forms/testDriveDemo/"],"forms.vehicleQuotation":["locales/forms/vehicleQuotation/"],general:["locales/general/"],generalTicketTypes:["locales/generalTicketTypes/"],"partLookup.deadStock":["locales/partLookup/deadStock/"],partLookup:["locales/partLookup/deadStock/","locales/partLookup/distributor/","locales/partLookup/manufacturer/"],"partLookup.distributor":["locales/partLookup/distributor/"],"partLookup.manufacturer":["locales/partLookup/manufacturer/"],"vehicleLookup.accessories":["locales/vehicleLookup/accessories/"],vehicleLookup:["locales/vehicleLookup/accessories/","locales/vehicleLookup/claimableItems/","locales/vehicleLookup/paintThickness/","locales/vehicleLookup/saleInformation/","locales/vehicleLookup/serviceHistory/","locales/vehicleLookup/specification/","locales/vehicleLookup/warranty/","locales/vehicleLookup/warrantyTimeline/"],"vehicleLookup.claimableItems":["locales/vehicleLookup/claimableItems/"],"vehicleLookup.paintThickness":["locales/vehicleLookup/paintThickness/"],"vehicleLookup.serviceHistory":["locales/vehicleLookup/serviceHistory/"],"vehicleLookup.saleInformation":["locales/vehicleLookup/saleInformation/"],"vehicleLookup.specification":["locales/vehicleLookup/specification/"],"vehicleLookup.warranty":["locales/vehicleLookup/warranty/"],"vehicleLookup.warrantyTimeline":["locales/vehicleLookup/warrantyTimeline/"],"forms*":["locales/forms/"]},t={};async function r(c){const[s,l]=await Promise.all([n(c,"errors",e),n(c,"-",o)]);return Object.assign({errors:s},l)}async function i(s){const[l,a,t]=await Promise.all([n(s,"errors",e),n(s,"-",o),n(s,"forms*",c)]);return Object.assign(Object.assign(Object.assign({},a),t),l)}async function n(e,o,c){const l=s[e]||s.en,t=a[o];if(!t||!t.length)throw new Error(`Locale file not found for component: ${o}`);if(1===t.length){const e=t[0]+l,o=await f(e);try{c.validateSync(o,{strict:!0,abortEarly:!1})}catch(o){console.error(`Failed to parse locale file: ${e}`),console.error(o)}return o}{const e=t.map((e=>f(e+l))),s=await Promise.all(e),a={};u(o,c.getDefault(),a,l);try{c.validateSync(a,{strict:!0,abortEarly:!1})}catch(e){console.error(`Failed to parse locale file component: ${o}`),console.error(e)}return s}}function p(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function u(e,o,c,s){let l=!1;Object.entries(o).forEach((([o,r])=>{if("string"!=typeof r||l){if(p(r)){const l=e+"."+o;if(Object.entries(r).some((([e,o])=>p(o))))c[o]={},u(l,r,c[o],s);else if(a[l]&&a[l].length){const e=a[l][0]+s;t[e]&&(c[o]=t[e])}}}else{if(a[e]){const o=a[e][0]+s;t[o]&&Object.assign(c,t[o])}l=!0}}))}async function f(e){if(t[e])return await t[e];try{const o=fetch(`https://cdn.jsdelivr.net/npm/adp-web-components@${l}/dist/${e}`).then((o=>(o.ok||delete t[e],o.json())));t[e]=o;const c=await o;return t[e]=c,c}catch(o){return delete t[e],{}}}export{n as a,i as b,r as g,l as v}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * Built by ShiftSoftware
3
+ * Copyright (c)
4
+ */
5
+ import"./p-CteZTPhq.js";const t=()=>{};export{t as g}
@@ -2,4 +2,4 @@
2
2
  * Built by ShiftSoftware
3
3
  * Copyright (c)
4
4
  */
5
- import{h as C}from"./p-Cg4V9l26.js";const l=l=>C("svg",{fill:"none",viewBox:"0 0 30 26",class:l.class,xmlns:"http://www.w3.org/2000/svg"},C("path",{d:"M5.32324 0.150391H11.6875C12.1914 0.150391 12.5996 0.55863 12.5996 1.0625C12.5996 1.56637 12.1914 1.97461 11.6875 1.97461H5.32324C4.64894 1.97473 4.09961 2.524 4.09961 3.19824V8.5C4.09961 9.00399 3.69136 9.41309 3.1875 9.41309C2.68363 9.41309 2.27539 9.00387 2.27539 8.5V3.19824C2.27539 1.51765 3.64265 0.150391 5.32324 0.150391Z",fill:"currentColor"}),C("path",{d:"M26.5693 16.0864C27.073 16.0867 27.4814 16.4948 27.4814 16.9985V22.3745C27.4815 24.0145 26.1469 25.3481 24.5068 25.3481H18.0586C17.5547 25.3481 17.1465 24.9399 17.1465 24.436C17.1465 23.9322 17.5547 23.5239 18.0586 23.5239H24.5068C25.1407 23.5239 25.6562 23.0082 25.6562 22.3745V16.9985C25.6562 16.4947 26.0655 16.0864 26.5693 16.0864Z",fill:"currentColor"}),C("path",{d:"M3.1875 16.0835C3.69137 16.0835 4.09961 16.4917 4.09961 16.9956V22.3433C4.09983 22.9923 4.6283 23.5208 5.27734 23.521H11.6875C12.1914 23.521 12.5996 23.9292 12.5996 24.4331C12.5996 24.937 12.1914 25.3452 11.6875 25.3452H5.27734C3.62205 25.345 2.27561 23.9986 2.27539 22.3433V16.9956C2.27539 16.4917 2.68363 16.0835 3.1875 16.0835Z",fill:"currentColor"}),C("path",{d:"M18.0664 0.150391H24.4717C26.1267 0.150502 27.4736 1.49732 27.4736 3.15234V8.5C27.4736 9.00376 27.0652 9.41193 26.5615 9.41211C26.0577 9.41211 25.6484 9.00387 25.6484 8.5V3.15234C25.6484 2.50304 25.121 1.97472 24.4717 1.97461H18.0664C17.5625 1.97461 17.1543 1.56637 17.1543 1.0625C17.1543 0.55863 17.5625 0.150391 18.0664 0.150391Z",fill:"currentColor"}),C("path",{d:"M14.875 7.57568H19.1357C19.6372 7.57575 20.0479 7.9863 20.0479 8.48779V11.8569H21.4004V10.6235C21.4004 10.122 21.811 9.71045 22.3125 9.71045C22.814 9.71045 23.2246 10.122 23.2246 10.6235V11.8569H28.6982C29.1997 11.857 29.6104 12.2685 29.6104 12.77C29.6102 13.2714 29.1996 13.6821 28.6982 13.6821H1.0625C0.561085 13.6821 0.150582 13.2714 0.150391 12.77C0.150391 12.2685 0.560968 11.8569 1.0625 11.8569H13.9629V8.48779C13.9629 7.98626 14.3735 7.57568 14.875 7.57568ZM15.7871 11.8354H18.2227V9.3999H15.7871V11.8354Z",fill:"currentColor"}),C("path",{d:"M14.8594 4.40039H22.3105C22.8144 4.40039 23.2236 4.80863 23.2236 5.3125V7.42285C23.2236 7.92672 22.8144 8.33496 22.3105 8.33496C21.8068 8.33477 21.3984 7.9266 21.3984 7.42285V6.22461H14.8594C14.3555 6.22461 13.9473 5.81637 13.9473 5.3125C13.9473 4.80863 14.3555 4.40039 14.8594 4.40039Z",fill:"currentColor"}),C("path",{d:"M7.46484 4.40039H11.6855C12.1894 4.40039 12.5986 4.80863 12.5986 5.3125V9.5332C12.5986 10.0371 12.1894 10.4463 11.6855 10.4463H7.46484C6.96097 10.4463 6.55273 10.0371 6.55273 9.5332V5.3125C6.55273 4.80863 6.96097 4.40039 7.46484 4.40039ZM8.37695 8.62109H10.7734V6.22461H8.37695V8.62109Z",fill:"currentColor"}),C("path",{d:"M7.46484 15.0254H11.6855C12.1894 15.0254 12.5986 15.4336 12.5986 15.9375V20.1582C12.5986 20.6622 12.1894 21.0713 11.6855 21.0713H7.46484C6.96097 21.0713 6.55273 20.6621 6.55273 20.1582V15.9375C6.55273 15.4336 6.96097 15.0254 7.46484 15.0254ZM8.37695 19.2461H10.7734V16.8496H8.37695V19.2461Z",fill:"currentColor"}),C("path",{d:"M19.1318 15.0254C19.6357 15.0254 20.0449 15.4336 20.0449 15.9375V16.998C20.0449 17.5019 19.6358 17.9111 19.1318 17.9111H14.8828C14.3789 17.9111 13.9707 17.5019 13.9707 16.998V15.9375C13.9707 15.4336 14.3789 15.0254 14.8828 15.0254C15.3863 15.0254 15.794 15.433 15.7949 15.9365L15.7959 16.0859H18.2197V15.9365C18.2206 15.4331 18.6286 15.0256 19.1318 15.0254Z",fill:"currentColor"}),C("path",{d:"M22.3135 15.1235C22.8173 15.1235 23.2266 15.5318 23.2266 16.0356V20.186C23.2266 20.6899 22.8173 21.0981 22.3135 21.0981H20.1914C19.6875 21.0981 19.2793 20.6899 19.2793 20.186C19.2793 19.6822 19.6876 19.2739 20.1914 19.2739H21.4014V16.0356C21.4014 15.5319 21.8098 15.1237 22.3135 15.1235Z",fill:"currentColor"}),C("path",{d:"M14.875 19.2739H17.0127C17.5164 19.2741 17.9248 19.6823 17.9248 20.186C17.9248 20.6898 17.5165 21.098 17.0127 21.0981H14.875C14.3711 21.0981 13.9629 20.6899 13.9629 20.186C13.9629 19.6822 14.3711 19.2739 14.875 19.2739Z",fill:"currentColor"}));export{l as Q}
5
+ import{h as C}from"./p-CteZTPhq.js";const l=l=>C("svg",{fill:"none",viewBox:"0 0 30 26",class:l.class,xmlns:"http://www.w3.org/2000/svg"},C("path",{d:"M5.32324 0.150391H11.6875C12.1914 0.150391 12.5996 0.55863 12.5996 1.0625C12.5996 1.56637 12.1914 1.97461 11.6875 1.97461H5.32324C4.64894 1.97473 4.09961 2.524 4.09961 3.19824V8.5C4.09961 9.00399 3.69136 9.41309 3.1875 9.41309C2.68363 9.41309 2.27539 9.00387 2.27539 8.5V3.19824C2.27539 1.51765 3.64265 0.150391 5.32324 0.150391Z",fill:"currentColor"}),C("path",{d:"M26.5693 16.0864C27.073 16.0867 27.4814 16.4948 27.4814 16.9985V22.3745C27.4815 24.0145 26.1469 25.3481 24.5068 25.3481H18.0586C17.5547 25.3481 17.1465 24.9399 17.1465 24.436C17.1465 23.9322 17.5547 23.5239 18.0586 23.5239H24.5068C25.1407 23.5239 25.6562 23.0082 25.6562 22.3745V16.9985C25.6562 16.4947 26.0655 16.0864 26.5693 16.0864Z",fill:"currentColor"}),C("path",{d:"M3.1875 16.0835C3.69137 16.0835 4.09961 16.4917 4.09961 16.9956V22.3433C4.09983 22.9923 4.6283 23.5208 5.27734 23.521H11.6875C12.1914 23.521 12.5996 23.9292 12.5996 24.4331C12.5996 24.937 12.1914 25.3452 11.6875 25.3452H5.27734C3.62205 25.345 2.27561 23.9986 2.27539 22.3433V16.9956C2.27539 16.4917 2.68363 16.0835 3.1875 16.0835Z",fill:"currentColor"}),C("path",{d:"M18.0664 0.150391H24.4717C26.1267 0.150502 27.4736 1.49732 27.4736 3.15234V8.5C27.4736 9.00376 27.0652 9.41193 26.5615 9.41211C26.0577 9.41211 25.6484 9.00387 25.6484 8.5V3.15234C25.6484 2.50304 25.121 1.97472 24.4717 1.97461H18.0664C17.5625 1.97461 17.1543 1.56637 17.1543 1.0625C17.1543 0.55863 17.5625 0.150391 18.0664 0.150391Z",fill:"currentColor"}),C("path",{d:"M14.875 7.57568H19.1357C19.6372 7.57575 20.0479 7.9863 20.0479 8.48779V11.8569H21.4004V10.6235C21.4004 10.122 21.811 9.71045 22.3125 9.71045C22.814 9.71045 23.2246 10.122 23.2246 10.6235V11.8569H28.6982C29.1997 11.857 29.6104 12.2685 29.6104 12.77C29.6102 13.2714 29.1996 13.6821 28.6982 13.6821H1.0625C0.561085 13.6821 0.150582 13.2714 0.150391 12.77C0.150391 12.2685 0.560968 11.8569 1.0625 11.8569H13.9629V8.48779C13.9629 7.98626 14.3735 7.57568 14.875 7.57568ZM15.7871 11.8354H18.2227V9.3999H15.7871V11.8354Z",fill:"currentColor"}),C("path",{d:"M14.8594 4.40039H22.3105C22.8144 4.40039 23.2236 4.80863 23.2236 5.3125V7.42285C23.2236 7.92672 22.8144 8.33496 22.3105 8.33496C21.8068 8.33477 21.3984 7.9266 21.3984 7.42285V6.22461H14.8594C14.3555 6.22461 13.9473 5.81637 13.9473 5.3125C13.9473 4.80863 14.3555 4.40039 14.8594 4.40039Z",fill:"currentColor"}),C("path",{d:"M7.46484 4.40039H11.6855C12.1894 4.40039 12.5986 4.80863 12.5986 5.3125V9.5332C12.5986 10.0371 12.1894 10.4463 11.6855 10.4463H7.46484C6.96097 10.4463 6.55273 10.0371 6.55273 9.5332V5.3125C6.55273 4.80863 6.96097 4.40039 7.46484 4.40039ZM8.37695 8.62109H10.7734V6.22461H8.37695V8.62109Z",fill:"currentColor"}),C("path",{d:"M7.46484 15.0254H11.6855C12.1894 15.0254 12.5986 15.4336 12.5986 15.9375V20.1582C12.5986 20.6622 12.1894 21.0713 11.6855 21.0713H7.46484C6.96097 21.0713 6.55273 20.6621 6.55273 20.1582V15.9375C6.55273 15.4336 6.96097 15.0254 7.46484 15.0254ZM8.37695 19.2461H10.7734V16.8496H8.37695V19.2461Z",fill:"currentColor"}),C("path",{d:"M19.1318 15.0254C19.6357 15.0254 20.0449 15.4336 20.0449 15.9375V16.998C20.0449 17.5019 19.6358 17.9111 19.1318 17.9111H14.8828C14.3789 17.9111 13.9707 17.5019 13.9707 16.998V15.9375C13.9707 15.4336 14.3789 15.0254 14.8828 15.0254C15.3863 15.0254 15.794 15.433 15.7949 15.9365L15.7959 16.0859H18.2197V15.9365C18.2206 15.4331 18.6286 15.0256 19.1318 15.0254Z",fill:"currentColor"}),C("path",{d:"M22.3135 15.1235C22.8173 15.1235 23.2266 15.5318 23.2266 16.0356V20.186C23.2266 20.6899 22.8173 21.0981 22.3135 21.0981H20.1914C19.6875 21.0981 19.2793 20.6899 19.2793 20.186C19.2793 19.6822 19.6876 19.2739 20.1914 19.2739H21.4014V16.0356C21.4014 15.5319 21.8098 15.1237 22.3135 15.1235Z",fill:"currentColor"}),C("path",{d:"M14.875 19.2739H17.0127C17.5164 19.2741 17.9248 19.6823 17.9248 20.186C17.9248 20.6898 17.5165 21.098 17.0127 21.0981H14.875C14.3711 21.0981 13.9629 20.6899 13.9629 20.186C13.9629 19.6822 14.3711 19.2739 14.875 19.2739Z",fill:"currentColor"}));export{l as Q}
@@ -2,4 +2,4 @@
2
2
  * Built by ShiftSoftware
3
3
  * Copyright (c)
4
4
  */
5
- import"./p-Cg4V9l26.js";import{v as e}from"./p-C_AHRam8.js";const t={"part-lookup":"generated/standard-dealer/part-lookup.json","vehicle-lookup":"generated/standard-dealer/vehicle-lookup.json"},o={};async function n(n,r=""){const a=t[n];if(!a||!a.length)throw new Error(`Mock file not found for: ${n}`);const c=await async function(t,n){if(o[t])return await o[t];try{let r;r=n&&n.trim().length?n:`https://cdn.jsdelivr.net/npm/adp-web-components@${e}/dist/mocks/${t}`;const a=fetch(r).then((e=>(e.ok||delete o[t],e.json())));o[t]=a;const c=await a,s=Object.keys(c).length;return console.log(`✅ Loaded mock: ${t} (${s} items)`),console.table(Object.entries(c).map((([e,t])=>({key:e,value:t})))),o[t]=c,c}catch(e){return delete o[t],{}}}(a,r);return c}export{n as g}
5
+ import"./p-CteZTPhq.js";import{v as e}from"./p-D9Xf90VX.js";const t={"part-lookup":"generated/standard-dealer/part-lookup.json","vehicle-lookup":"generated/standard-dealer/vehicle-lookup.json"},o={};async function n(n,r=""){const a=t[n];if(!a||!a.length)throw new Error(`Mock file not found for: ${n}`);const c=await async function(t,n){if(o[t])return await o[t];try{let r;r=n&&n.trim().length?n:`https://cdn.jsdelivr.net/npm/adp-web-components@${e}/dist/mocks/${t}`;const a=fetch(r).then((e=>(e.ok||delete o[t],e.json())));o[t]=a;const c=await a,s=Object.keys(c).length;return console.log(`✅ Loaded mock: ${t} (${s} items)`),console.table(Object.entries(c).map((([e,t])=>({key:e,value:t})))),o[t]=c,c}catch(e){return delete o[t],{}}}(a,r);return c}export{n as g}
@@ -2,4 +2,4 @@
2
2
  * Built by ShiftSoftware
3
3
  * Copyright (c)
4
4
  */
5
- import{f as i}from"./p-Cg4V9l26.js";class t{constructor(t,s,h){this.haltValidation=!1,this.isSubmitted=!1,this.stepFormValues={},this.watchers={},this.cachedValues={},this.subscribers=[],this.validationType="onSubmit",this.subscribedFields={},this.formErrors={},this.backButtonContexts=[],this.pendingRequests={},this.openDialog=()=>{},this.subscribe=(i,t)=>{var s,h,r,e;if(this.subscribers.push({name:i,context:t}),null==t?void 0:t.partialValidation){const o=(null===(h=null===(s=this.schemaObject)||void 0===s?void 0:s.fields)||void 0===h?void 0:h[i])||(null===(e=null===(r=this.basicSchemaObject)||void 0===r?void 0:r.fields)||void 0===e?void 0:e[i]);if(o){const s=t.partialValidation(o);s&&(this.schemaObject=this.schemaObject.shape({[i]:s}))}}if(null==t?void 0:t.validate){const s=t.validate();s&&(this.schemaObject=this.schemaObject.shape({[i]:s}))}},this.unsubscribe=i=>{var t,s,h;const r=null===(t=this.basicSchemaObject)||void 0===t?void 0:t.fields[i];r?this.schemaObject=this.schemaObject.shape({[i]:r}):(null===(h=null===(s=this.schemaObject)||void 0===s?void 0:s.fields)||void 0===h?void 0:h[i])&&(this.schemaObject=this.schemaObject.omit([i])),this.subscribers=this.subscribers.filter((({name:t})=>t!==i))},this.getStepLabels=(i="en",t)=>{var s,h,r,e;t||(t=null===(s=this.formStructure)||void 0===s?void 0:s.currentStep);let o={back:"",title:"",stepCell:"",stepTitle:"",submitButton:""};try{o=null===(e=null===(r=null===(h=this.context.structure)||void 0===h?void 0:h.steps)||void 0===r?void 0:r[t-1])||void 0===e?void 0:e[i]}catch(i){}return o},this.addWatcher=(i,t)=>{this.watchers[i]||((null==i?void 0:i.trim())?this.watchers[i]=t||(({form:i})=>{i.rerender({rerenderForm:!0})}):this.watchers.all=({form:i})=>{i.rerender({rerenderForm:!0})})},this.removeWatcher=i=>{delete this.watchers[i]},this.onInput=i=>{const t=i.target;let s=t.value;"checkbox"===t.type&&(s=t.checked);const h=Object.assign(Object.assign({},this.getValues()),{[t.name]:s});this.onValuesUpdate&&this.onValuesUpdate(h),this.validateForm(t.name,s)},this.resetFormErrorMessage=()=>this.context.errorMessage="",this.getFormErrors=()=>this.formErrors,this.getFormLocale=()=>[this.context.locale,this.context.language],this.setCachedValues=i=>{this.cachedValues=i},this.getValue=i=>this.getValues()[i],this.getValues=()=>{const i=(this.context.el.shadowRoot||this.context.el).querySelector("form");if(!i)return{};const t=new FormData(i),s=Object.fromEntries(t.entries());return i.querySelectorAll("[name]").forEach((i=>{var t,h,r;const e=null===(t=this.subscribers.find((t=>t.name===i.name)))||void 0===t?void 0:t.context;if(e&&(null==e?void 0:e.getValue))s[i.name]=e.getValue();else if(i.disabled)s[i.name]=i.value;else if("file"===i.type){const t=Array.from((null==i?void 0:i.files)||[]),e=null===(r=null===(h=this.subscribers.find((t=>t.name===(null==i?void 0:i.name))))||void 0===h?void 0:h.context)||void 0===r?void 0:r.sasFiles,o=t.map(((i,t)=>(null==e?void 0:e[t])?Object.assign({name:i.name,size:i.size,type:i.type,lastModified:i.lastModified},e[t]):i));s[i.name]=o}})),Object.assign(Object.assign({},this.cachedValues),s)},this.focusFirstInput=i=>{var t;if(i.length){const s=this.context.el.shadowRoot||this.context.el,h=i.map((i=>s.querySelector(`*[name="${i.name}"]`))).filter((i=>i)).sort(((i,t)=>i.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:i.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_PRECEDING?1:0));h[0]&&(h[0].hidden?null===(t=h[0].parentElement)||void 0===t||t.scrollIntoView({behavior:"smooth",block:"center"}):h[0].focus())}},this.hasItemInStructure=(i,t=this.context.structure)=>{var s;if(!t)return!0;if("string"==typeof t)return t===i;const{tag:h,name:r,children:e,isHidden:o,step:n}=t;return(!n||n==(null===(s=this.formStructure)||void 0===s?void 0:s.currentStep))&&(!(h!==i&&r!==i||o)||!!Array.isArray(e)&&e.some((t=>this.hasItemInStructure(i,t))))},this.updateStep=(t,s=!1)=>{var h,r,e,o,n,l;let d=this.formStructure.currentStep;s?d=t:d+=t,d<1&&(d=1),d>(null===(e=null===(r=null===(h=this.context)||void 0===h?void 0:h.structure)||void 0===r?void 0:r.steps)||void 0===e?void 0:e.length)&&(t=null===(l=null===(n=null===(o=this.context)||void 0===o?void 0:o.structure)||void 0===n?void 0:n.steps)||void 0===l?void 0:l.length),this.formStructure.currentStep=d,this.backButtonContexts.forEach((t=>i(t))),this.rerender({rerenderAll:!0})},this.submitForm=async()=>{var i,t,s,h,r,e;if(!this.context.isLoading)try{this.isSubmitted=!0,this.context.isLoading=!0,this.signal({isError:!1,disabled:!0});const o=Object.assign(Object.assign({},this.cachedValues),this.getValues()),n=this.schemaObject.describe();Object.entries(n.fields).filter((([i,t])=>"boolean"===t.type)).forEach((([i])=>{o[i]="string"==typeof o[i]&&"true"===o[i]}));const l=Object.keys(this.schemaObject.fields).filter((i=>!this.hasItemInStructure(i))),d=await this.schemaObject.omit(l).validate(o,{abortEarly:!1,context:this.requiredContext});(null===(t=null===(i=this.context)||void 0===i?void 0:i.structure)||void 0===t?void 0:t.steps)?(this.stepFormValues=Object.assign(Object.assign({},null==this?void 0:this.stepFormValues),d),(null===(r=null===(h=null===(s=this.context)||void 0===s?void 0:s.structure)||void 0===h?void 0:h.steps)||void 0===r?void 0:r.length)===(null===(e=this.formStructure)||void 0===e?void 0:e.currentStep)?await this.context.formSubmit(this.stepFormValues):this.updateStep(1)):await this.context.formSubmit(d)}catch(i){if("ValidationError"===i.name){this.formErrors={};const t=[];i.inner.forEach((i=>{i.path&&(this.formErrors[i.path]=i.message,t.find((t=>t.name===i.path))||t.push({isError:!0,name:i.path,errorMessage:i.message}))})),console.log(this.formErrors),this.signal(t),this.focusFirstInput(t),this.rerender({rerenderAll:!0,rerenderForm:!0})}else console.error("Unexpected Error:",i)}finally{this.signal({disabled:!1}),this.context.isLoading=!1}},this.onSubmit=i=>{i.preventDefault(),this.submitForm()},this.submit=()=>{this.submitForm()},this.getRequiredContext=()=>{var i,t;const s={};try{return(null===(i=this.context.structure)||void 0===i?void 0:i.requiredContext)?(Object.entries(null===(t=this.context.structure)||void 0===t?void 0:t.requiredContext).forEach((([i,t])=>{s[`${i}Required`]=t})),s):s}catch(i){return s}},this.getInputState=i=>{const t=this.schemaObject.resolve({context:this.requiredContext}),s=t.describe().fields[i];let h=!1;try{t.validateSyncAt(i,{[i]:void 0},{context:this.requiredContext})}catch(i){h=!0}return this.subscribedFields[i]||(this.subscribedFields[i]={name:i,isRequired:h,isError:!1,disabled:!1,errorMessage:"",continuousValidation:!1,meta:null==s?void 0:s.meta}),this.subscribedFields[i]},this.signal=i=>{Array.isArray(i)?i.forEach((i=>{this.subscribedFields[i.name]&&Object.assign(this.subscribedFields[i.name],i)})):Object.values(this.subscribedFields).forEach((t=>Object.assign(t,i)))},this.validateInput=i=>{const t=this.getValues()[i]||"";return this.validateForm(i,t,!1)},this.rerender=({inputName:t,rerenderAll:s,rerenderForm:h})=>{var r;if(h&&(i(this.context),(null==this?void 0:this.formStructure)&&i(null==this?void 0:this.formStructure)),s)this.subscribers.forEach((t=>i(t.context)));else if(t){const s=null===(r=this.subscribers.find((i=>i.name===t)))||void 0===r?void 0:r.context;i(s)}},this.validateForm=(i,t,s=!0)=>{var h,r;if(setTimeout((()=>{const s=Object.assign(Object.assign({},this.getValues()),{[i]:t}),h=this.watchers[i];h&&h({form:this,values:s}),this.watchers.all&&this.watchers.all({form:this,values:s})}),50),s){if(this.haltValidation)return;if(!this.isSubmitted&&"always"!==this.validationType&&!(null===(h=this.subscribedFields[i])||void 0===h?void 0:h.continuousValidation))return}const e=null===(r=this.subscribedFields[i])||void 0===r?void 0:r.isError;try{return this.schemaObject.fields[i].validateSync(t,{context:this.requiredContext}),this.signal([{name:i,isError:!1}]),!1!==e&&this.rerender({inputName:i||"",rerenderForm:!0}),{isError:!1,errorMessage:""}}catch(t){if(t.message)return this.signal([{name:i,isError:!0,errorMessage:t.message}]),this.rerender({inputName:i||"",rerenderForm:!0}),{isError:!0,errorMessage:t.message}}finally{try{this.subscribedFields[i].continuousValidation=!0}catch(i){}}},this.context=t,this.schemaObject=s,this.basicSchemaObject=s,this.formController={onSubmit:this.onSubmit,onInput:this.onInput},(null==h?void 0:h.validationType)&&(this.validationType=h.validationType),this.requiredContext=this.getRequiredContext()}reset(){this.haltValidation=!0,this.updateStep(1,!0),this.stepFormValues={},this.subscribers.forEach((i=>{var t,s;(null===(t=i.context)||void 0===t?void 0:t.reset)&&(null===(s=i.context)||void 0===s||s.reset())})),this.pendingRequests={},this.isSubmitted=!1,this.signal({isError:!1,disabled:!1}),setTimeout((()=>{this.haltValidation=!1,setTimeout((()=>{this.rerender({rerenderForm:!0,rerenderAll:!0})}),50)}),50)}}const s={en:"en",english:"en",ar:"ar",arabic:"ar",ku:"ku",ckb:"ku",kurdish:"ku",sorani:"ku",ru:"ru",russian:"ru"};function h(){if("undefined"==typeof window)return"en";const{pathname:i,search:t}=window.location,h=new URLSearchParams(t),r=h.get("lang")||h.get("lng")||h.get("language");if(r){const i=r.toLowerCase();if(s[i])return s[i]}const e=i.toLowerCase();for(const i in s)if(e.includes(`/${i}`))return s[i];return"en"}export{t as F,h as g}
5
+ import{f as i}from"./p-CteZTPhq.js";class t{constructor(t,s,h){this.haltValidation=!1,this.isSubmitted=!1,this.stepFormValues={},this.watchers={},this.cachedValues={},this.subscribers=[],this.validationType="onSubmit",this.subscribedFields={},this.formErrors={},this.backButtonContexts=[],this.pendingRequests={},this.openDialog=()=>{},this.subscribe=(i,t)=>{var s,h,e,r;if(this.subscribers.push({name:i,context:t}),null==t?void 0:t.partialValidation){const o=(null===(h=null===(s=this.schemaObject)||void 0===s?void 0:s.fields)||void 0===h?void 0:h[i])||(null===(r=null===(e=this.basicSchemaObject)||void 0===e?void 0:e.fields)||void 0===r?void 0:r[i]);if(o){const s=t.partialValidation(o);s&&(this.schemaObject=this.schemaObject.shape({[i]:s}))}}if(null==t?void 0:t.validate){const s=t.validate();s&&(this.schemaObject=this.schemaObject.shape({[i]:s}))}},this.unsubscribe=i=>{var t,s,h;const e=null===(t=this.basicSchemaObject)||void 0===t?void 0:t.fields[i];e?this.schemaObject=this.schemaObject.shape({[i]:e}):(null===(h=null===(s=this.schemaObject)||void 0===s?void 0:s.fields)||void 0===h?void 0:h[i])&&(this.schemaObject=this.schemaObject.omit([i])),this.subscribers=this.subscribers.filter((({name:t})=>t!==i))},this.getStepLabels=(i="en",t)=>{var s,h,e,r;t||(t=null===(s=this.formStructure)||void 0===s?void 0:s.currentStep);let o={back:"",title:"",stepCell:"",stepTitle:"",submitButton:""};try{o=null===(r=null===(e=null===(h=this.context.structure)||void 0===h?void 0:h.steps)||void 0===e?void 0:e[t-1])||void 0===r?void 0:r[i]}catch(i){}return o},this.addWatcher=(i,t)=>{this.watchers[i]||((null==i?void 0:i.trim())?this.watchers[i]=t||(({form:i})=>{i.rerender({rerenderForm:!0})}):this.watchers.all=({form:i})=>{i.rerender({rerenderForm:!0})})},this.removeWatcher=i=>{delete this.watchers[i]},this.onInput=i=>{const t=i.target;let s=t.value;"checkbox"===t.type&&(s=t.checked);const h=Object.assign(Object.assign({},this.getValues()),{[t.name]:s});this.onValuesUpdate&&this.onValuesUpdate(h),this.validateForm(t.name,s)},this.resetFormErrorMessage=()=>this.context.errorMessage="",this.getFormErrors=()=>this.formErrors,this.getFormLocale=()=>[this.context.locale,this.context.language],this.setCachedValues=i=>{this.cachedValues=i},this.getValue=i=>this.getValues()[i],this.getValues=()=>{const i=(this.context.el.shadowRoot||this.context.el).querySelector("form");if(!i)return{};const t=new FormData(i),s=Object.fromEntries(t.entries());return i.querySelectorAll("[name]").forEach((i=>{var t,h,e;const r=null===(t=this.subscribers.find((t=>t.name===i.name)))||void 0===t?void 0:t.context;if(r&&(null==r?void 0:r.getValue))s[i.name]=r.getValue();else if(i.disabled)s[i.name]=i.value;else if("file"===i.type){const t=Array.from((null==i?void 0:i.files)||[]),r=null===(e=null===(h=this.subscribers.find((t=>t.name===(null==i?void 0:i.name))))||void 0===h?void 0:h.context)||void 0===e?void 0:e.sasFiles,o=t.map(((i,t)=>(null==r?void 0:r[t])?Object.assign({name:i.name,size:i.size,type:i.type,lastModified:i.lastModified},r[t]):i));s[i.name]=o}})),Object.assign(Object.assign({},this.cachedValues),s)},this.focusFirstInput=i=>{var t;if(i.length){const s=this.context.el.shadowRoot||this.context.el,h=i.map((i=>s.querySelector(`*[name="${i.name}"]`))).filter((i=>i)).sort(((i,t)=>i.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:i.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_PRECEDING?1:0));h[0]&&(h[0].hidden?null===(t=h[0].parentElement)||void 0===t||t.scrollIntoView({behavior:"smooth",block:"center"}):h[0].focus())}},this.hasItemInStructure=(i,t=this.context.structure)=>{var s;if(!t)return!0;if("string"==typeof t)return t===i;const{tag:h,name:e,children:r,isHidden:o,step:n}=t;return(!n||n==(null===(s=this.formStructure)||void 0===s?void 0:s.currentStep))&&(!(h!==i&&e!==i||o)||!!Array.isArray(r)&&r.some((t=>this.hasItemInStructure(i,t))))},this.updateStep=(t,s=!1)=>{var h,e,r,o,n,l;let d=this.formStructure.currentStep;s?d=t:d+=t,d<1&&(d=1),d>(null===(r=null===(e=null===(h=this.context)||void 0===h?void 0:h.structure)||void 0===e?void 0:e.steps)||void 0===r?void 0:r.length)&&(t=null===(l=null===(n=null===(o=this.context)||void 0===o?void 0:o.structure)||void 0===n?void 0:n.steps)||void 0===l?void 0:l.length),this.formStructure.currentStep=d,this.backButtonContexts.forEach((t=>i(t))),this.rerender({rerenderAll:!0})},this.submitForm=async()=>{var i,t,s,h,e,r;if(!this.context.isLoading)try{this.isSubmitted=!0,this.context.isLoading=!0,this.signal({isError:!1,disabled:!0});const o=Object.assign(Object.assign({},this.cachedValues),this.getValues()),n=this.schemaObject.describe();Object.entries(n.fields).filter((([i,t])=>"boolean"===t.type)).forEach((([i])=>{o[i]="string"==typeof o[i]&&"true"===o[i]}));const l=Object.keys(this.schemaObject.fields).filter((i=>!this.hasItemInStructure(i))),d=await this.schemaObject.omit(l).validate(o,{abortEarly:!1,context:this.requiredContext});(null===(t=null===(i=this.context)||void 0===i?void 0:i.structure)||void 0===t?void 0:t.steps)?(this.stepFormValues=Object.assign(Object.assign({},null==this?void 0:this.stepFormValues),d),(null===(e=null===(h=null===(s=this.context)||void 0===s?void 0:s.structure)||void 0===h?void 0:h.steps)||void 0===e?void 0:e.length)===(null===(r=this.formStructure)||void 0===r?void 0:r.currentStep)?await this.context.formSubmit(this.stepFormValues):this.updateStep(1)):await this.context.formSubmit(d)}catch(i){if("ValidationError"===i.name){this.formErrors={};const t=[];i.inner.forEach((i=>{i.path&&(this.formErrors[i.path]=i.message,t.find((t=>t.name===i.path))||t.push({isError:!0,name:i.path,errorMessage:i.message}))})),console.log(this.formErrors),this.signal(t),this.focusFirstInput(t),this.rerender({rerenderAll:!0,rerenderForm:!0})}else console.error("Unexpected Error:",i)}finally{this.signal({disabled:!1}),this.context.isLoading=!1}},this.onSubmit=i=>{i.preventDefault(),this.submitForm()},this.submit=()=>{this.submitForm()},this.getRequiredContext=()=>{var i,t;const s={};try{return(null===(i=this.context.structure)||void 0===i?void 0:i.requiredContext)?(Object.entries(null===(t=this.context.structure)||void 0===t?void 0:t.requiredContext).forEach((([i,t])=>{s[`${i}Required`]=t})),s):s}catch(i){return s}},this.getInputState=i=>{const t=this.schemaObject.resolve({context:this.requiredContext}),s=t.describe().fields[i];let h=!1;try{t.validateSyncAt(i,{[i]:void 0},{context:this.requiredContext})}catch(i){h=!0}return this.subscribedFields[i]||(this.subscribedFields[i]={name:i,isRequired:h,isError:!1,disabled:!1,errorMessage:"",continuousValidation:!1,meta:null==s?void 0:s.meta}),this.subscribedFields[i]},this.signal=i=>{Array.isArray(i)?i.forEach((i=>{this.subscribedFields[i.name]&&Object.assign(this.subscribedFields[i.name],i)})):Object.values(this.subscribedFields).forEach((t=>Object.assign(t,i)))},this.validateInput=i=>{const t=this.getValues()[i]||"";return this.validateForm(i,t,!1)},this.rerender=({inputName:t,rerenderAll:s,rerenderForm:h})=>{var e;if(h&&(i(this.context),(null==this?void 0:this.formStructure)&&i(null==this?void 0:this.formStructure)),s)this.subscribers.forEach((t=>i(t.context)));else if(t){const s=null===(e=this.subscribers.find((i=>i.name===t)))||void 0===e?void 0:e.context;i(s)}},this.validateForm=(i,t,s=!0)=>{var h,e;if(setTimeout((()=>{const s=Object.assign(Object.assign({},this.getValues()),{[i]:t}),h=this.watchers[i];h&&h({form:this,values:s}),this.watchers.all&&this.watchers.all({form:this,values:s})}),50),s){if(this.haltValidation)return;if(!this.isSubmitted&&"always"!==this.validationType&&!(null===(h=this.subscribedFields[i])||void 0===h?void 0:h.continuousValidation))return}const r=null===(e=this.subscribedFields[i])||void 0===e?void 0:e.isError;try{return this.schemaObject.fields[i].validateSync(t,{context:this.requiredContext}),this.signal([{name:i,isError:!1}]),!1!==r&&this.rerender({inputName:i||"",rerenderForm:!0}),{isError:!1,errorMessage:""}}catch(t){if(t.message)return this.signal([{name:i,isError:!0,errorMessage:t.message}]),this.rerender({inputName:i||"",rerenderForm:!0}),{isError:!0,errorMessage:t.message}}finally{try{this.subscribedFields[i].continuousValidation=!0}catch(i){}}},this.context=t,this.schemaObject=s,this.basicSchemaObject=s,this.formController={onSubmit:this.onSubmit,onInput:this.onInput},(null==h?void 0:h.validationType)&&(this.validationType=h.validationType),this.requiredContext=this.getRequiredContext()}reset(){this.haltValidation=!0,this.updateStep(1,!0),this.stepFormValues={},this.subscribers.forEach((i=>{var t,s;(null===(t=i.context)||void 0===t?void 0:t.reset)&&(null===(s=i.context)||void 0===s||s.reset())})),this.pendingRequests={},this.isSubmitted=!1,this.signal({isError:!1,disabled:!1}),setTimeout((()=>{this.haltValidation=!1,setTimeout((()=>{this.rerender({rerenderForm:!0,rerenderAll:!0})}),50)}),50)}}const s={en:"en",english:"en",ar:"ar",arabic:"ar",ku:"ku",ckb:"ku",kurdish:"ku",sorani:"ku",ru:"ru",russian:"ru"};function h(){if("undefined"==typeof window)return"en";const{pathname:i,search:t}=window.location,h=new URLSearchParams(t),e=h.get("lang")||h.get("lng")||h.get("language");if(e){const i=e.toLowerCase();if(s[i])return s[i]}const r=i.toLowerCase();for(const i in s)if(r.includes(`/${i}`))return s[i];return"en"}export{t as F,h as g}
@@ -2,4 +2,4 @@
2
2
  * Built by ShiftSoftware
3
3
  * Copyright (c)
4
4
  */
5
- import{h as o}from"./p-Cg4V9l26.js";const t=t=>o("svg",Object.assign({fill:"none"},t,{"stroke-width":"2",viewBox:"0 0 24 24",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",xmlns:"http://www.w3.org/2000/svg"}),o("path",{d:"M5 12h14"}),o("path",{d:"M12 5v14"}));export{t as A}
5
+ import{h as o}from"./p-CteZTPhq.js";const t=t=>o("svg",Object.assign({fill:"none"},t,{"stroke-width":"2",viewBox:"0 0 24 24",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",xmlns:"http://www.w3.org/2000/svg"}),o("path",{d:"M5 12h14"}),o("path",{d:"M12 5v14"}));export{t as A}