adp-web-components 0.3.10 → 0.3.13

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 (467) hide show
  1. package/dist/cjs/{add-icon-CF5SHPFy.js → add-icon-BaoMAIgg.js} +2 -4
  2. package/dist/cjs/{app-globals-CLG2l7G2.js → app-globals-DBRBLgev.js} +3 -2
  3. package/dist/cjs/arrow-icon-CJX1aUJ8.js +11 -0
  4. package/dist/cjs/arrow-up-icon-B3Z5Myqt.js +11 -0
  5. package/dist/cjs/calendar-days-icon-CsHz2cgV.js +11 -0
  6. package/dist/cjs/{check-icon-BZSYrNhm.js → check-icon-CqTKjw2o.js} +2 -3
  7. package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +54 -48
  8. package/dist/cjs/{decode-time-offset-iH1ebYUR.js → decode-time-offset-DOSaziv5.js} +1 -1
  9. package/dist/cjs/{fetch-from-CDC_gRf3.js → fetch-from-BNNXW9VC.js} +1 -1
  10. package/dist/cjs/flexible-container.cjs.entry.js +14 -8
  11. package/dist/cjs/form-checkbox.cjs.entry.js +6 -6
  12. package/dist/cjs/form-date-picker.cjs.entry.js +12 -10
  13. package/dist/cjs/form-dialog_13.cjs.entry.js +191 -113
  14. package/dist/cjs/{form-error-message-BVlrmjov.js → form-error-message-K-KI154V.js} +4 -5
  15. package/dist/cjs/{form-input-cvIkC0L1.js → form-input-PYkIVe7J.js} +10 -10
  16. package/dist/cjs/{form-input-label-CVEi7sIh.js → form-input-label-uhneFYXO.js} +4 -6
  17. package/dist/cjs/form-input_7.cjs.entry.js +57 -41
  18. package/dist/cjs/form-switch.cjs.entry.js +6 -6
  19. package/dist/cjs/form-time-picker.cjs.entry.js +13 -11
  20. package/dist/cjs/{functions-DfKzlH6K.js → functions-Bu1AQDD2.js} +16 -14
  21. package/dist/cjs/general-form.cjs.entry.js +18 -14
  22. package/dist/cjs/general-inquiry-form.cjs.entry.js +18 -14
  23. package/dist/cjs/{get-custom-classes-for-portal-DKFBTajH.js → get-custom-classes-for-portal-NNOxAU3P.js} +3 -4
  24. package/dist/cjs/{get-language-from-url-CFD-qrqi.js → get-language-from-url-p2OXldYh.js} +5 -4
  25. package/dist/cjs/{get-local-language-rENgkS8G.js → get-local-language-BR0p0bBg.js} +2 -2
  26. package/dist/cjs/{get-mock-files-CzWl-czX.js → get-mock-files-Dljv5P4k.js} +2 -2
  27. package/dist/cjs/{index-H5Wezxcv.js → index-Bi6W8dMN.js} +492 -270
  28. package/dist/cjs/information-table.cjs.entry.js +8 -10
  29. package/dist/cjs/{loader-icon-DO2Fu65-.js → loader-icon-By94sKO7.js} +2 -10
  30. package/dist/cjs/loader.cjs.js +3 -3
  31. package/dist/cjs/loading-spinner.cjs.entry.js +4 -4
  32. package/dist/cjs/manufacturer-part-lookup.cjs.entry.js +10 -8
  33. package/dist/cjs/{mappers-CoVG3ogT.js → mappers-DF2WCWpn.js} +10 -14
  34. package/dist/cjs/{material-card-DyHk88WR.js → material-card-BqsZgRVE.js} +4 -12
  35. package/dist/cjs/part-lookup.cjs.entry.js +11 -7
  36. package/dist/cjs/qr-code-scan-B-8WHa22.js +11 -0
  37. package/dist/cjs/service-booking-form.cjs.entry.js +18 -14
  38. package/dist/cjs/shift-accordion.cjs.entry.js +4 -4
  39. package/dist/cjs/shift-checkbox.cjs.entry.js +5 -5
  40. package/dist/cjs/shift-components.cjs.js +4 -4
  41. package/dist/cjs/shift-slider.cjs.entry.js +7 -5
  42. package/dist/cjs/shift-switch.cjs.entry.js +4 -4
  43. package/dist/cjs/shift-tab-content.cjs.entry.js +7 -5
  44. package/dist/cjs/shift-tabs_2.cjs.entry.js +25 -25
  45. package/dist/cjs/ssc-lookup-form.cjs.entry.js +18 -14
  46. package/dist/cjs/test-drive-form.cjs.entry.js +18 -14
  47. package/dist/cjs/{triangle-alert-B9UanYfs.js → triangle-alert-CN15U99s.js} +3 -11
  48. package/dist/cjs/vehicle-accessories_7.cjs.entry.js +119 -178
  49. package/dist/cjs/vehicle-info-layout-sV6altzn.js +12 -0
  50. package/dist/cjs/vehicle-lookup.cjs.entry.js +19 -10
  51. package/dist/cjs/vehicle-quotation-form.cjs.entry.js +30 -30
  52. package/dist/collection/collection-manifest.json +3 -2
  53. package/dist/collection/components/components/empty.css +1 -1
  54. package/dist/collection/components/components/flexible-container.css +1 -1
  55. package/dist/collection/components/components/flexible-container.js +10 -10
  56. package/dist/collection/components/components/information-table.css +1 -1
  57. package/dist/collection/components/components/information-table.js +12 -20
  58. package/dist/collection/components/components/loading-spinner.css +1 -1
  59. package/dist/collection/components/components/loading-spinner.js +3 -3
  60. package/dist/collection/components/components/shift-accordion.css +1 -1
  61. package/dist/collection/components/components/shift-accordion.js +5 -6
  62. package/dist/collection/components/components/shift-checkbox.js +13 -14
  63. package/dist/collection/components/components/shift-portal.css +1 -1
  64. package/dist/collection/components/components/shift-portal.js +3 -4
  65. package/dist/collection/components/components/shift-select-dropdown.css +1 -1
  66. package/dist/collection/components/components/shift-select-dropdown.js +23 -24
  67. package/dist/collection/components/components/shift-select.css +1 -1
  68. package/dist/collection/components/components/shift-select.js +47 -43
  69. package/dist/collection/components/components/shift-slider.js +3 -4
  70. package/dist/collection/components/components/shift-switch.js +13 -14
  71. package/dist/collection/components/components/shift-tab-content.css +1 -1
  72. package/dist/collection/components/components/shift-tab-content.js +3 -4
  73. package/dist/collection/components/components/shift-tabs.css +1 -1
  74. package/dist/collection/components/components/shift-tabs.js +10 -12
  75. package/dist/collection/components/form-elements/VehicleImageViewer.js +1 -1
  76. package/dist/collection/components/form-elements/form-checkbox.js +17 -17
  77. package/dist/collection/components/form-elements/form-date-picker-legacy.js +26 -27
  78. package/dist/collection/components/form-elements/form-dialog.js +7 -8
  79. package/dist/collection/components/form-elements/form-file.js +114 -60
  80. package/dist/collection/components/form-elements/form-input-preview.js +8 -8
  81. package/dist/collection/components/form-elements/form-input.js +30 -32
  82. package/dist/collection/components/form-elements/form-inputs.css +1 -1
  83. package/dist/collection/components/form-elements/form-phone-number.js +26 -26
  84. package/dist/collection/components/form-elements/form-picker-input.js +37 -38
  85. package/dist/collection/components/form-elements/form-select.js +38 -37
  86. package/dist/collection/components/form-elements/form-shadow-input.js +8 -8
  87. package/dist/collection/components/form-elements/form-stepper-control.js +17 -17
  88. package/dist/collection/components/form-elements/form-stepper-submit.js +19 -19
  89. package/dist/collection/components/form-elements/form-stepper.js +13 -12
  90. package/dist/collection/components/form-elements/form-structure-error.js +4 -3
  91. package/dist/collection/components/form-elements/form-structure.js +16 -16
  92. package/dist/collection/components/form-elements/form-submit.js +16 -16
  93. package/dist/collection/components/form-elements/form-switch.js +17 -17
  94. package/dist/collection/components/form-elements/form-text-area.js +22 -22
  95. package/dist/collection/components/form-elements/form-time-picker-legacy.js +26 -26
  96. package/dist/collection/components/form-elements/form-vin-input.js +32 -32
  97. package/dist/collection/components/forms/defaults/mappers.js +4 -4
  98. package/dist/collection/components/forms/general-form.js +22 -29
  99. package/dist/collection/components/forms/general-inquiry.js +22 -29
  100. package/dist/collection/components/forms/service-booking.js +22 -29
  101. package/dist/collection/components/forms/ssc-lookup.js +22 -29
  102. package/dist/collection/components/forms/test-drive.js +22 -29
  103. package/dist/collection/components/forms/vehicle-quotation/VehicleImageViewer.js +1 -1
  104. package/dist/collection/components/forms/vehicle-quotation/element-mapper.js +13 -13
  105. package/dist/collection/components/forms/vehicle-quotation.js +22 -27
  106. package/dist/collection/components/part-lookup/dead-stock-lookup.js +41 -29
  107. package/dist/collection/components/part-lookup/distributor-lookup.js +49 -36
  108. package/dist/collection/components/part-lookup/manufacturer-lookup.js +41 -29
  109. package/dist/collection/components/part-lookup/manufacturer-part-lookup.css +1 -1
  110. package/dist/collection/components/part-lookup/manufacturer-part-lookup.js +24 -20
  111. package/dist/collection/components/part-lookup/part-lookup.js +39 -34
  112. package/dist/collection/components/vehicle-lookup/components/CardsContainer.js +1 -1
  113. package/dist/collection/components/vehicle-lookup/components/claimable-trace-modal.js +1 -1
  114. package/dist/collection/components/vehicle-lookup/vehicle-accessories.css +1 -1
  115. package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +36 -27
  116. package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.css +1 -1
  117. package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.js +56 -41
  118. package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.css +1 -1
  119. package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.js +21 -21
  120. package/dist/collection/components/vehicle-lookup/vehicle-lookup.css +1 -1
  121. package/dist/collection/components/vehicle-lookup/vehicle-lookup.js +34 -34
  122. package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.css +1 -1
  123. package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.js +35 -26
  124. package/dist/collection/components/vehicle-lookup/vehicle-sale-information.css +1 -1
  125. package/dist/collection/components/vehicle-lookup/vehicle-sale-information.js +38 -29
  126. package/dist/collection/components/vehicle-lookup/vehicle-service-history.css +1 -1
  127. package/dist/collection/components/vehicle-lookup/vehicle-service-history.js +35 -26
  128. package/dist/collection/components/vehicle-lookup/vehicle-specification.css +1 -1
  129. package/dist/collection/components/vehicle-lookup/vehicle-specification.js +35 -26
  130. package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.css +1 -1
  131. package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.js +67 -55
  132. package/dist/collection/components/vin-extractor/vin-extractor.js +27 -26
  133. package/dist/collection/features/form-hook/form-hook.js +4 -3
  134. package/dist/collection/features/form-hook/functions.js +13 -11
  135. package/dist/collection/features/form-hook/inputs/form-input.js +10 -10
  136. package/dist/collection/global/lib/fetch-from.js +1 -1
  137. package/dist/collection/global/lib/get-custom-classes-for-portal.js +1 -1
  138. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-menu-dto.js +1 -0
  139. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-menu-line-dto.js +1 -0
  140. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-menu-part-dto.js +1 -0
  141. package/dist/collection/templates/vehicle-lookup/mock-data.js +3 -2
  142. package/dist/components/dead-stock-lookup.js +1 -1
  143. package/dist/components/distributor-lookup.js +1 -1
  144. package/dist/components/flexible-container.js +1 -1
  145. package/dist/components/form-checkbox.js +1 -1
  146. package/dist/components/form-date-picker.js +1 -1
  147. package/dist/components/form-dialog.js +1 -1
  148. package/dist/components/form-file.js +1 -1
  149. package/dist/components/form-input-preview.js +1 -1
  150. package/dist/components/form-input.js +1 -1
  151. package/dist/components/form-phone-number.js +1 -1
  152. package/dist/components/form-picker-input.js +1 -1
  153. package/dist/components/form-select.js +1 -1
  154. package/dist/components/form-shadow-input.js +1 -1
  155. package/dist/components/form-stepper-control.js +1 -1
  156. package/dist/components/form-stepper-submit.js +1 -1
  157. package/dist/components/form-stepper.js +1 -1
  158. package/dist/components/form-structure-error.js +1 -1
  159. package/dist/components/form-structure.js +1 -1
  160. package/dist/components/form-submit.js +1 -1
  161. package/dist/components/form-switch.js +1 -1
  162. package/dist/components/form-text-area.js +1 -1
  163. package/dist/components/form-time-picker.js +1 -1
  164. package/dist/components/form-vin-input.js +1 -1
  165. package/dist/components/general-form.js +1 -1
  166. package/dist/components/general-inquiry-form.js +1 -1
  167. package/dist/components/index.d.ts +2 -0
  168. package/dist/components/index.js +1 -1
  169. package/dist/components/information-table.js +1 -1
  170. package/dist/components/loading-spinner.js +1 -1
  171. package/dist/components/manufacturer-lookup.js +1 -1
  172. package/dist/components/manufacturer-part-lookup.js +1 -1
  173. package/dist/components/p-50EIzP4j.js +5 -0
  174. package/dist/components/p-8EOK_QhL.js +5 -0
  175. package/dist/components/p-B3Vlmu9F.js +5 -0
  176. package/dist/components/p-B42vuL_p.js +5 -0
  177. package/dist/components/p-B8g3fLoh.js +5 -0
  178. package/dist/components/p-BDHTK4yJ.js +5 -0
  179. package/dist/components/p-BDlZ35Dv.js +5 -0
  180. package/dist/components/p-BFAzCUQY.js +5 -0
  181. package/dist/components/p-BHYsBcpG.js +5 -0
  182. package/dist/components/p-BIeJEFM6.js +5 -0
  183. package/dist/components/p-BMxw31OW.js +5 -0
  184. package/dist/components/p-BNs9PHd8.js +5 -0
  185. package/dist/components/p-BP6R1nYk.js +5 -0
  186. package/dist/components/p-BcRom3sV.js +5 -0
  187. package/dist/components/p-BjLQXN9e.js +5 -0
  188. package/dist/components/{p-CyHSA0jj.js → p-BsgLxjfx.js} +1 -1
  189. package/dist/components/p-BshR1DsJ.js +5 -0
  190. package/dist/components/p-C24AOawm.js +5 -0
  191. package/dist/components/p-C55Gk63d.js +5 -0
  192. package/dist/components/p-CD1XArUc.js +5 -0
  193. package/dist/components/p-CK6WFXQF.js +5 -0
  194. package/dist/components/p-CKrwCtec.js +5 -0
  195. package/dist/components/p-CLkGfAsm.js +5 -0
  196. package/dist/components/{p-nQWwKabJ.js → p-CMgPnaDZ.js} +1 -1
  197. package/dist/components/p-CRJSM0nN.js +5 -0
  198. package/dist/components/p-CjByjVT0.js +5 -0
  199. package/dist/components/p-Cl-rntc3.js +5 -0
  200. package/dist/components/{p-Dl7l7tdl.js → p-ClDpIRF9.js} +1 -1
  201. package/dist/components/p-Cmq7s1Gl.js +5 -0
  202. package/dist/components/p-CnZZ3ASF.js +5 -0
  203. package/dist/components/{p-CRxLIkuy.js → p-CoAe_PpX.js} +1 -1
  204. package/dist/components/{p-i9Qh8W9F.js → p-CtyIp56a.js} +1 -1
  205. package/dist/components/p-CvcaE6Ss.js +5 -0
  206. package/dist/components/{p-X95dYnNe.js → p-D-0CfzDk.js} +1 -1
  207. package/dist/components/p-DBErZTaY.js +5 -0
  208. package/dist/components/p-DJ0awYVE.js +5 -0
  209. package/dist/components/p-DNZ31iYw.js +5 -0
  210. package/dist/components/p-DWGSY0dp.js +5 -0
  211. package/dist/components/p-DbAAihIH.js +5 -0
  212. package/dist/components/p-DlG98nFs.js +5 -0
  213. package/dist/components/p-Dv_BQG7D.js +5 -0
  214. package/dist/components/{p-C-oReaYu.js → p-DzfwEYqx.js} +1 -1
  215. package/dist/components/{p-Bk0lC2Er.js → p-G9UmKW9m.js} +1 -1
  216. package/dist/components/p-Hlqj6HsH.js +5 -0
  217. package/dist/components/p-Wv20cFTm.js +5 -0
  218. package/dist/components/p-dRP9cgZF.js +5 -0
  219. package/dist/components/p-ubqjXh5U.js +5 -0
  220. package/dist/components/part-lookup.js +1 -1
  221. package/dist/components/service-booking-form.js +1 -1
  222. package/dist/components/shift-accordion.js +1 -1
  223. package/dist/components/shift-checkbox.js +1 -1
  224. package/dist/components/shift-portal.js +1 -1
  225. package/dist/components/shift-select-dropdown.js +1 -1
  226. package/dist/components/shift-select.js +1 -1
  227. package/dist/components/shift-slider.js +1 -1
  228. package/dist/components/shift-switch.js +1 -1
  229. package/dist/components/shift-tab-content.js +1 -1
  230. package/dist/components/shift-tabs.js +1 -1
  231. package/dist/components/ssc-lookup-form.js +1 -1
  232. package/dist/components/test-drive-form.js +1 -1
  233. package/dist/components/vehicle-accessories.js +1 -1
  234. package/dist/components/vehicle-claimable-items.js +1 -1
  235. package/dist/components/vehicle-item-claim-form.js +1 -1
  236. package/dist/components/vehicle-lookup.js +1 -1
  237. package/dist/components/vehicle-paint-thickness.js +1 -1
  238. package/dist/components/vehicle-quotation-form.js +1 -1
  239. package/dist/components/vehicle-sale-information.js +1 -1
  240. package/dist/components/vehicle-service-history.js +1 -1
  241. package/dist/components/vehicle-specification.js +1 -1
  242. package/dist/components/vehicle-warranty-details.js +1 -1
  243. package/dist/components/vin-extractor.js +1 -1
  244. package/dist/esm/{add-icon-1FhDJgrT.js → add-icon-DxQVyX6U.js} +2 -4
  245. package/dist/esm/app-globals-ci3rJxmu.js +10 -0
  246. package/dist/esm/arrow-icon-DRTeN2D5.js +9 -0
  247. package/dist/esm/arrow-up-icon-FAYFxG6c.js +9 -0
  248. package/dist/esm/calendar-days-icon-BOy0a_W-.js +9 -0
  249. package/dist/esm/{check-icon-mzFBdGKX.js → check-icon-BYK1ESZG.js} +2 -3
  250. package/dist/esm/dead-stock-lookup_3.entry.js +54 -48
  251. package/dist/esm/{decode-time-offset-Yzmqcv0-.js → decode-time-offset-ChO_PV6l.js} +1 -1
  252. package/dist/esm/{fetch-from-CJnc-a42.js → fetch-from-Cmq7s1Gl.js} +1 -1
  253. package/dist/esm/flexible-container.entry.js +14 -8
  254. package/dist/esm/form-checkbox.entry.js +6 -6
  255. package/dist/esm/form-date-picker.entry.js +12 -10
  256. package/dist/esm/form-dialog_13.entry.js +191 -113
  257. package/dist/esm/{form-error-message-7rL_3zgN.js → form-error-message-YvMHko71.js} +4 -5
  258. package/dist/esm/{form-input-Dcr-Pd8b.js → form-input-DAgayhNz.js} +10 -10
  259. package/dist/esm/{form-input-label-C4MUngYi.js → form-input-label-cuvgzRcH.js} +4 -6
  260. package/dist/esm/form-input_7.entry.js +57 -41
  261. package/dist/esm/form-switch.entry.js +6 -6
  262. package/dist/esm/form-time-picker.entry.js +13 -11
  263. package/dist/esm/{functions-D5F-Ha2E.js → functions-DHzedl_R.js} +16 -14
  264. package/dist/esm/general-form.entry.js +18 -14
  265. package/dist/esm/general-inquiry-form.entry.js +18 -14
  266. package/dist/esm/{get-custom-classes-for-portal-8uDhq9VB.js → get-custom-classes-for-portal-C4LvwyrX.js} +3 -4
  267. package/dist/esm/{get-language-from-url-BGvsZ8gr.js → get-language-from-url-U4hZ4dwn.js} +5 -4
  268. package/dist/esm/{get-local-language-Ni37hOJT.js → get-local-language-TRD6vPH7.js} +2 -2
  269. package/dist/esm/{get-mock-files-CTROnpSS.js → get-mock-files-K2mWecRb.js} +2 -2
  270. package/dist/esm/{index-jNkxdTjc.js → index-Cg4V9l26.js} +493 -270
  271. package/dist/esm/information-table.entry.js +8 -10
  272. package/dist/esm/{loader-icon-C9goMj-j.js → loader-icon-B2ls1yXl.js} +2 -10
  273. package/dist/esm/loader.js +4 -4
  274. package/dist/esm/loading-spinner.entry.js +4 -4
  275. package/dist/esm/manufacturer-part-lookup.entry.js +10 -8
  276. package/dist/esm/{mappers-CA3VC0xY.js → mappers-CeTQZn37.js} +10 -14
  277. package/dist/esm/{material-card-ZydeukMY.js → material-card-BMtefyp-.js} +4 -12
  278. package/dist/esm/part-lookup.entry.js +11 -7
  279. package/dist/esm/qr-code-scan-CktgNBSD.js +9 -0
  280. package/dist/esm/service-booking-form.entry.js +18 -14
  281. package/dist/esm/shift-accordion.entry.js +4 -4
  282. package/dist/esm/shift-checkbox.entry.js +5 -5
  283. package/dist/esm/shift-components.js +5 -5
  284. package/dist/esm/shift-slider.entry.js +7 -5
  285. package/dist/esm/shift-switch.entry.js +4 -4
  286. package/dist/esm/shift-tab-content.entry.js +7 -5
  287. package/dist/esm/shift-tabs_2.entry.js +25 -25
  288. package/dist/esm/ssc-lookup-form.entry.js +18 -14
  289. package/dist/esm/test-drive-form.entry.js +18 -14
  290. package/dist/esm/{triangle-alert-CVJ0-eRT.js → triangle-alert-D4H9aWiT.js} +3 -11
  291. package/dist/esm/vehicle-accessories_7.entry.js +119 -178
  292. package/dist/esm/vehicle-info-layout-DQ12Civq.js +10 -0
  293. package/dist/esm/vehicle-lookup.entry.js +19 -10
  294. package/dist/esm/vehicle-quotation-form.entry.js +30 -30
  295. package/dist/integration-manifest.json +14 -21
  296. package/dist/shift-components/p-031f2ae6.entry.js +5 -0
  297. package/dist/shift-components/p-0578b913.entry.js +5 -0
  298. package/dist/shift-components/{p-CyHqRBNl.js → p-08Pl1Pmo.js} +1 -1
  299. package/dist/{components/p-CJVlKa4a.js → shift-components/p-0dd7911f.entry.js} +1 -1
  300. package/dist/shift-components/p-10511716.entry.js +5 -0
  301. package/dist/shift-components/p-1500556f.entry.js +5 -0
  302. package/dist/shift-components/p-214259ae.entry.js +5 -0
  303. package/dist/shift-components/p-22648595.entry.js +5 -0
  304. package/dist/shift-components/p-23df4ed2.entry.js +5 -0
  305. package/dist/shift-components/p-2f904561.entry.js +5 -0
  306. package/dist/shift-components/p-332ebda4.entry.js +5 -0
  307. package/dist/shift-components/p-3fcb1657.entry.js +5 -0
  308. package/dist/shift-components/p-46e5146f.entry.js +5 -0
  309. package/dist/shift-components/{p-dff52f51.entry.js → p-61ecc144.entry.js} +1 -1
  310. package/dist/shift-components/p-6b82a9b3.entry.js +5 -0
  311. package/dist/shift-components/p-7a41a739.entry.js +5 -0
  312. package/dist/shift-components/p-960fedbb.entry.js +5 -0
  313. package/dist/shift-components/p-981d1f44.entry.js +5 -0
  314. package/dist/shift-components/p-9c950549.entry.js +5 -0
  315. package/dist/shift-components/{p-BqIKtMjz.js → p-B8RCucpl.js} +1 -1
  316. package/dist/shift-components/{p-Dax5QQIX.js → p-BBmr0kTe.js} +1 -1
  317. package/dist/shift-components/{p-DqLLLv_z.js → p-BG5y01yj.js} +1 -1
  318. package/dist/shift-components/p-BLdwm9KB.js +5 -0
  319. package/dist/shift-components/{p-D7tlaAVX.js → p-BVDXHvth.js} +1 -1
  320. package/dist/shift-components/p-BY1wHcOT.js +5 -0
  321. package/dist/shift-components/{p-CRXqIT0k.js → p-BaC5C1YJ.js} +1 -1
  322. package/dist/shift-components/{p-BYqBwpb9.js → p-BpCf2ue6.js} +1 -1
  323. package/dist/shift-components/{p-WjikIqgU.js → p-BtLpOQVM.js} +1 -1
  324. package/dist/shift-components/{p-BAVCXWzv.js → p-CC1CaPP4.js} +1 -1
  325. package/dist/shift-components/{p-BUeE5BHf.js → p-CRd5RAng.js} +1 -1
  326. package/dist/shift-components/p-Cg4V9l26.js +6 -0
  327. package/dist/shift-components/{p-DLnQ2n2n.js → p-CiA8HlYO.js} +1 -1
  328. package/dist/shift-components/p-Cmq7s1Gl.js +5 -0
  329. package/dist/shift-components/{p-gbZBovQk.js → p-CtUQMviL.js} +1 -1
  330. package/dist/shift-components/p-D2XgNV12.js +5 -0
  331. package/dist/shift-components/p-DlBduQTw.js +5 -0
  332. package/dist/shift-components/{p-Dkfzp2fH.js → p-Dvl1mJ6N.js} +1 -1
  333. package/dist/shift-components/{p-CAlGd4kD.js → p-DwFWMVcD.js} +1 -1
  334. package/dist/shift-components/{p-6CGlGx2z.js → p-FFH7sR1n.js} +1 -1
  335. package/dist/shift-components/p-a4086c90.entry.js +5 -0
  336. package/dist/shift-components/p-a55ceb19.entry.js +5 -0
  337. package/dist/shift-components/p-b611f72e.entry.js +5 -0
  338. package/dist/shift-components/p-bc966aa0.entry.js +5 -0
  339. package/dist/shift-components/p-d33c83ac.entry.js +5 -0
  340. package/dist/shift-components/p-e979caa9.entry.js +5 -0
  341. package/dist/shift-components/p-fa39d151.entry.js +5 -0
  342. package/dist/shift-components/p-fe7ece41.entry.js +5 -0
  343. package/dist/shift-components/{p-BPBFbh5T.js → p-rsylYLbj.js} +1 -1
  344. package/dist/shift-components/p-yhCrSkom.js +5 -0
  345. package/dist/shift-components/shift-components.esm.js +1 -1
  346. package/dist/stencil-docs.d.ts +37 -0
  347. package/dist/stencil-docs.json +552 -434
  348. package/dist/types/components/components/shift-select.d.ts +1 -1
  349. package/dist/types/components/form-elements/form-file.d.ts +3 -0
  350. package/dist/types/components/part-lookup/part-lookup.d.ts +1 -1
  351. package/dist/types/components/vehicle-lookup/vehicle-lookup.d.ts +1 -1
  352. package/dist/types/components.d.ts +675 -122
  353. package/dist/types/features/multi-lingual/types.d.ts +4 -4
  354. package/dist/types/global/types/generated/vehicle-lookup/vehicle-lookup-dto.d.ts +2 -0
  355. package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-menu-dto.d.ts +9 -0
  356. package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-menu-line-dto.d.ts +25 -0
  357. package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-menu-part-dto.d.ts +8 -0
  358. package/dist/types/locales/forms/type.d.ts +4 -4
  359. package/dist/types/locales/partLookup/distributor/type.d.ts +8 -8
  360. package/dist/types/locales/partLookup/manufacturer/type.d.ts +6 -6
  361. package/dist/types/locales/partLookup/wrapper-type.d.ts +14 -14
  362. package/dist/types/locales/vehicleLookup/accessories/type.d.ts +6 -6
  363. package/dist/types/locales/vehicleLookup/claimableItems/type.d.ts +10 -10
  364. package/dist/types/locales/vehicleLookup/paintThickness/type.d.ts +8 -8
  365. package/dist/types/locales/vehicleLookup/serviceHistory/type.d.ts +4 -4
  366. package/dist/types/locales/vehicleLookup/warranty/type.d.ts +4 -4
  367. package/dist/types/locales/vehicleLookup/wrapper-type.d.ts +28 -28
  368. package/dist/types/stencil-public-runtime.d.ts +158 -6
  369. package/package.json +11 -3
  370. package/dist/cjs/arrow-icon-ZTqfmBmE.js +0 -12
  371. package/dist/cjs/arrow-up-icon-eGUQ8IBP.js +0 -12
  372. package/dist/cjs/calendar-days-icon-Ugslrikt.js +0 -21
  373. package/dist/cjs/qr-code-scan-DIO-qSdh.js +0 -22
  374. package/dist/cjs/vehicle-info-layout-DSEDx5Ah.js +0 -17
  375. package/dist/components/p-29N0dbLz.js +0 -5
  376. package/dist/components/p-5xxH8tbS.js +0 -5
  377. package/dist/components/p-9i0_UJRs.js +0 -5
  378. package/dist/components/p-9t4GxAn6.js +0 -5
  379. package/dist/components/p-B0q_TtAs.js +0 -5
  380. package/dist/components/p-B3GZNjni.js +0 -5
  381. package/dist/components/p-B82T4Hkf.js +0 -5
  382. package/dist/components/p-B9UMGz5l.js +0 -5
  383. package/dist/components/p-BKEmXOAB.js +0 -5
  384. package/dist/components/p-BO45PIaz.js +0 -5
  385. package/dist/components/p-BYUpn8lm.js +0 -5
  386. package/dist/components/p-Bl19uBGg.js +0 -5
  387. package/dist/components/p-ByVBkYAW.js +0 -5
  388. package/dist/components/p-Bz6DMlPf.js +0 -5
  389. package/dist/components/p-C9ZOfr_w.js +0 -5
  390. package/dist/components/p-CAz4JeZW.js +0 -5
  391. package/dist/components/p-CDSPKvU1.js +0 -5
  392. package/dist/components/p-CJ9S-Asv.js +0 -5
  393. package/dist/components/p-CJnc-a42.js +0 -5
  394. package/dist/components/p-CSgwIdIr.js +0 -5
  395. package/dist/components/p-C_8HkL6G.js +0 -5
  396. package/dist/components/p-C_IRqEhE.js +0 -5
  397. package/dist/components/p-CeGDfcYR.js +0 -5
  398. package/dist/components/p-CeJEEQYu.js +0 -5
  399. package/dist/components/p-Cnkkomtx.js +0 -5
  400. package/dist/components/p-D8rN5WIR.js +0 -5
  401. package/dist/components/p-DLCfMh59.js +0 -5
  402. package/dist/components/p-DT4kh-pu.js +0 -5
  403. package/dist/components/p-DeN_jzI1.js +0 -5
  404. package/dist/components/p-DwIMCfpC.js +0 -5
  405. package/dist/components/p-PCwMfpZi.js +0 -5
  406. package/dist/components/p-VimEBeIa.js +0 -5
  407. package/dist/components/p-Ycq41Fdn.js +0 -5
  408. package/dist/components/p-a7ph9yIa.js +0 -5
  409. package/dist/components/p-aQWi8aKM.js +0 -5
  410. package/dist/components/p-ecmObcUU.js +0 -5
  411. package/dist/components/p-k759Go4_.js +0 -5
  412. package/dist/components/p-ywf-N3VN.js +0 -5
  413. package/dist/esm/app-globals-iQ64oiU-.js +0 -9
  414. package/dist/esm/arrow-icon-CpbG2bMD.js +0 -10
  415. package/dist/esm/arrow-up-icon-CSgSH4zF.js +0 -10
  416. package/dist/esm/calendar-days-icon-FhJhuU8S.js +0 -19
  417. package/dist/esm/qr-code-scan-DUAfaPLZ.js +0 -20
  418. package/dist/esm/vehicle-info-layout-iwnuxQFr.js +0 -15
  419. package/dist/shift-components/p-1f9c801c.entry.js +0 -5
  420. package/dist/shift-components/p-33484b98.entry.js +0 -5
  421. package/dist/shift-components/p-37f0d7f7.entry.js +0 -5
  422. package/dist/shift-components/p-40f0ba9e.entry.js +0 -5
  423. package/dist/shift-components/p-4f20eeac.entry.js +0 -5
  424. package/dist/shift-components/p-5936fb9c.entry.js +0 -5
  425. package/dist/shift-components/p-5b7d5e05.entry.js +0 -5
  426. package/dist/shift-components/p-5ce6a1c0.entry.js +0 -5
  427. package/dist/shift-components/p-62f175f2.entry.js +0 -5
  428. package/dist/shift-components/p-67e9a531.entry.js +0 -5
  429. package/dist/shift-components/p-6e65d13b.entry.js +0 -5
  430. package/dist/shift-components/p-74eed800.entry.js +0 -5
  431. package/dist/shift-components/p-8c30b865.entry.js +0 -5
  432. package/dist/shift-components/p-B03BLbR_.js +0 -5
  433. package/dist/shift-components/p-B8VkFyfR.js +0 -5
  434. package/dist/shift-components/p-CJnc-a42.js +0 -5
  435. package/dist/shift-components/p-DI7VJflN.js +0 -5
  436. package/dist/shift-components/p-a0137183.entry.js +0 -5
  437. package/dist/shift-components/p-a08944e6.entry.js +0 -5
  438. package/dist/shift-components/p-a8693d7c.entry.js +0 -5
  439. package/dist/shift-components/p-abc043a4.entry.js +0 -5
  440. package/dist/shift-components/p-aeb00243.entry.js +0 -5
  441. package/dist/shift-components/p-b717911c.entry.js +0 -5
  442. package/dist/shift-components/p-c9608074.entry.js +0 -5
  443. package/dist/shift-components/p-d8f10684.entry.js +0 -5
  444. package/dist/shift-components/p-dc1a4f60.entry.js +0 -5
  445. package/dist/shift-components/p-dd24ce5f.entry.js +0 -5
  446. package/dist/shift-components/p-e797e560.entry.js +0 -5
  447. package/dist/shift-components/p-f155c990.entry.js +0 -5
  448. package/dist/shift-components/p-jNkxdTjc.js +0 -6
  449. package/dist/shift-components/p-jnXfhMAx.js +0 -5
  450. package/dist/shift-components/p-zUjGUnSs.js +0 -5
  451. /package/dist/components/{p-DN4c_zdE.js → p-5NIYyHI-.js} +0 -0
  452. /package/dist/components/{p-Cgt5s_xn.js → p-B6xZ__mT.js} +0 -0
  453. /package/dist/components/{p-DHfdaMCZ.js → p-BA1Id0rV.js} +0 -0
  454. /package/dist/components/{p-C1xgsXlk.js → p-BacLEn39.js} +0 -0
  455. /package/dist/components/{p-JSG4fAIl.js → p-BcYtRtiU.js} +0 -0
  456. /package/dist/components/{p-BG8YXzND.js → p-ByNlQjpu.js} +0 -0
  457. /package/dist/components/{p-BMqwfA7R.js → p-ByRA9Jio.js} +0 -0
  458. /package/dist/components/{p-BlqCKH24.js → p-BzsXkZqy.js} +0 -0
  459. /package/dist/components/{p-iTJ5pT2w.js → p-CILGkcfa.js} +0 -0
  460. /package/dist/components/{p-BHy4oEqB.js → p-CLdijNKL.js} +0 -0
  461. /package/dist/components/{p-8u5uhwdg.js → p-D9mmIizU.js} +0 -0
  462. /package/dist/components/{p-uiE7emGF.js → p-DRhkO-Ac.js} +0 -0
  463. /package/dist/components/{p-Co_hK-X8.js → p-D_ukwEEB.js} +0 -0
  464. /package/dist/components/{p-piZ41_ho.js → p-Df4xlD1R.js} +0 -0
  465. /package/dist/components/{p-Ce4X3l8Z.js → p-MGQ2O9as.js} +0 -0
  466. /package/dist/components/{p-pnQgLSsX.js → p-_nGOa2Au.js} +0 -0
  467. /package/dist/components/{p-ClpSwIg-.js → p-d7wdNFwt.js} +0 -0
@@ -23,7 +23,7 @@ export class FormVinInput {
23
23
  this.onStaticValueChange(this.staticValue, false);
24
24
  }
25
25
  async onStaticValueChange(newStaticValue, notInitialLoad = true) {
26
- if (!!newStaticValue) {
26
+ if (newStaticValue) {
27
27
  this.defaultValue = newStaticValue;
28
28
  this.inputRef.value = newStaticValue;
29
29
  }
@@ -52,9 +52,9 @@ export class FormVinInput {
52
52
  const { label, placeholder, errorTextMessage } = getInputLocalization(this, meta, errorMessage);
53
53
  const isDisabled = disabled || this.isLoading || !!this.staticValue || this.isDisabled;
54
54
  const extractorTitle = ((_b = (_a = this.localization) === null || _a === void 0 ? void 0 : _a[language]) === null || _b === void 0 ? void 0 : _b.scan) || ((_j = (_g = (_f = (_e = (_d = (_c = this.form) === null || _c === void 0 ? void 0 : _c.context) === null || _d === void 0 ? void 0 : _d.structure) === null || _e === void 0 ? void 0 : _e.data) === null || _f === void 0 ? void 0 : _f.localization) === null || _g === void 0 ? void 0 : _g[(_h = this.form.context) === null || _h === void 0 ? void 0 : _h.language]) === null || _j === void 0 ? void 0 : _j['vin-scan']) || 'Scan Your VIN';
55
- return (h(Host, { key: '664b2090565f7b02c0ac4c8e5e02a7d306fb5912', translate: "no" }, h("label", { key: 'cec36a5cd5d97de6dd5349b0f8e4787c0e78d417', part: this.name, id: this.wrapperId, class: cn('form-input-label-container', this.wrapperClass, { disabled: isDisabled }) }, h(FormInputLabel, { key: 'ac5abc409e71813176f1619fae700e924aef9270', isRequired: isRequired, label: label }), h("div", { key: 'd79f5f046b1931d28bb771599b0a9c4ffc6e56e3', part: `${this.name}-container form-input-container`, class: "form-input-container" }, h(FormInputPrefix, { key: '4f841aa8360703887100f2da7e4fb12df2428fb0', name: this.name, direction: (_k = locale === null || locale === void 0 ? void 0 : locale.sharedFormLocales) === null || _k === void 0 ? void 0 : _k.direction, prefix: this.inputPrefix }), h("input", Object.assign({ key: '6b96dfd514da16348efda219603e7b46503edce3' }, this.inputProps, { name: this.name, disabled: isDisabled, defaultValue: this.defaultValue, part: `${this.name}-input form-input`, placeholder: placeholder || (meta === null || meta === void 0 ? void 0 : meta.placeholder), style: Object.assign({}, (this.prefixWidth ? { [((_l = locale === null || locale === void 0 ? void 0 : locale.sharedFormLocales) === null || _l === void 0 ? void 0 : _l.direction) === 'rtl' ? 'paddingRight' : 'paddingLeft']: `${this.prefixWidth}px` } : {})), class: cn('form-input-style !uppercase', part, {
55
+ return (h(Host, { key: '215c351a25f595ea580860307698a78e0ed8bc40', translate: "no" }, h("label", { key: '5e78306671c2c5ccee32e59534c596e6607b9a78', part: this.name, id: this.wrapperId, class: cn('form-input-label-container', this.wrapperClass, { disabled: isDisabled }) }, h(FormInputLabel, { key: 'b14868238d8dc5f7f5cec711661a64c2f4b8538c', isRequired: isRequired, label: label }), h("div", { key: '2b2e403c17623670606002078bfe1463160f0c06', part: `${this.name}-container form-input-container`, class: "form-input-container" }, h(FormInputPrefix, { key: '54ab7ccf57b14afb191454cbd410feba6c0177cd', name: this.name, direction: (_k = locale === null || locale === void 0 ? void 0 : locale.sharedFormLocales) === null || _k === void 0 ? void 0 : _k.direction, prefix: this.inputPrefix }), h("input", Object.assign({ key: '11a972843cf0d63fbed3e08c59b944cfe27003e9' }, this.inputProps, { name: this.name, disabled: isDisabled, defaultValue: this.defaultValue, part: `${this.name}-input form-input`, placeholder: placeholder || (meta === null || meta === void 0 ? void 0 : meta.placeholder), style: Object.assign({}, (this.prefixWidth ? { [((_l = locale === null || locale === void 0 ? void 0 : locale.sharedFormLocales) === null || _l === void 0 ? void 0 : _l.direction) === 'rtl' ? 'paddingRight' : 'paddingLeft']: `${this.prefixWidth}px` } : {})), class: cn('form-input-style !uppercase', part, {
56
56
  'form-input-error-style': isError,
57
- }) })), !!this.scannerIcon && (this.useOcr || this.readSticker) && (h("button", { key: 'd5cebbf58749e7d6a95262ed5265e412719291de', type: "button", disabled: isDisabled, part: cn('vin-validator', part + '-vin'), onClick: () => { var _a; return (_a = this === null || this === void 0 ? void 0 : this.el.getElementsByTagName('vin-extractor')[0]) === null || _a === void 0 ? void 0 : _a.open(); }, class: "absolute transition-all duration-500 disabled:!pointer-events-none disabled:!opacity-0 flex justify-center items-center end-3.5 !text-[#576675] enabled:hover:!text-black/85 aspect-square h-[70%] top-1/2 -translate-y-1/2" }, this.scannerIcon === 'qr-code' && h(QrCodeScanIcon, { key: 'b28d6734fdea8ce14809f653d9343631bf1969b2', class: "size-[90%] text-inherit" }), this.scannerIcon === 'camera' && h(CameraIcon, { key: 'dd7354ddc2f3bf17eea2436cc5abe8e2edc3450a', class: "size-[90%] text-inherit" })))), h(FormErrorMessage, { key: '86212aa0ed1a9873ffc04c81b41b06a2a6084b26', name: this.name, isError: isError, errorMessage: errorTextMessage })), (this.useOcr || this.readSticker) && (h("div", { key: '9aaf51c7573629c6ee303f5f300c9c1ad2ee802f', class: "absolute" }, h("vin-extractor", { key: '233ce31e4436fe5ca8db405db3a648d03b44d948', verbose: true, manualCapture: true, useOcr: this.useOcr, title: extractorTitle, skipValidation: false, readSticker: this.readSticker, ocrEndpoint: this.ocrEndpoint, onExtract: newVin => {
57
+ }) })), !!this.scannerIcon && (this.useOcr || this.readSticker) && (h("button", { key: '6cf6c1bb3edd99178935c16924d9e8a0695188ad', type: "button", disabled: isDisabled, part: cn('vin-validator', part + '-vin'), onClick: () => { var _a; return (_a = this === null || this === void 0 ? void 0 : this.el.getElementsByTagName('vin-extractor')[0]) === null || _a === void 0 ? void 0 : _a.open(); }, class: "absolute transition-all duration-500 disabled:!pointer-events-none disabled:!opacity-0 flex justify-center items-center end-3.5 !text-[#576675] enabled:hover:!text-black/85 aspect-square h-[70%] top-1/2 -translate-y-1/2" }, this.scannerIcon === 'qr-code' && h(QrCodeScanIcon, { key: 'c0df6702f7017669ca8b9ca7e9c5ccb3ee11951e', class: "size-[90%] text-inherit" }), this.scannerIcon === 'camera' && h(CameraIcon, { key: 'ada1c0fc271b55949e49b80922d271b4359831ca', class: "size-[90%] text-inherit" })))), h(FormErrorMessage, { key: '1e712888216d4982c7126b226cb359effda2baad', name: this.name, isError: isError, errorMessage: errorTextMessage })), (this.useOcr || this.readSticker) && (h("div", { key: '79e3b99bdadcb2000bf00c5930e22df6a0c8e0f5', class: "absolute" }, h("vin-extractor", { key: '1cf874279dc591d0f8c909ca02372ef9725e3d67', verbose: true, manualCapture: true, useOcr: this.useOcr, title: extractorTitle, skipValidation: false, readSticker: this.readSticker, ocrEndpoint: this.ocrEndpoint, onExtract: newVin => {
58
58
  var _a, _b;
59
59
  this.inputRef.value = newVin;
60
60
  (_a = this.form) === null || _a === void 0 ? void 0 : _a.validateInput(this === null || this === void 0 ? void 0 : this.name);
@@ -76,7 +76,6 @@ export class FormVinInput {
76
76
  return {
77
77
  "name": {
78
78
  "type": "string",
79
- "attribute": "name",
80
79
  "mutable": false,
81
80
  "complexType": {
82
81
  "original": "string",
@@ -91,11 +90,11 @@ export class FormVinInput {
91
90
  },
92
91
  "getter": false,
93
92
  "setter": false,
94
- "reflect": false
93
+ "reflect": false,
94
+ "attribute": "name"
95
95
  },
96
96
  "wrapperId": {
97
97
  "type": "string",
98
- "attribute": "wrapper-id",
99
98
  "mutable": false,
100
99
  "complexType": {
101
100
  "original": "string",
@@ -110,11 +109,11 @@ export class FormVinInput {
110
109
  },
111
110
  "getter": false,
112
111
  "setter": false,
113
- "reflect": false
112
+ "reflect": false,
113
+ "attribute": "wrapper-id"
114
114
  },
115
115
  "isLoading": {
116
116
  "type": "boolean",
117
- "attribute": "is-loading",
118
117
  "mutable": false,
119
118
  "complexType": {
120
119
  "original": "boolean",
@@ -129,11 +128,11 @@ export class FormVinInput {
129
128
  },
130
129
  "getter": false,
131
130
  "setter": false,
132
- "reflect": false
131
+ "reflect": false,
132
+ "attribute": "is-loading"
133
133
  },
134
134
  "isDisabled": {
135
135
  "type": "boolean",
136
- "attribute": "is-disabled",
137
136
  "mutable": false,
138
137
  "complexType": {
139
138
  "original": "boolean",
@@ -148,11 +147,11 @@ export class FormVinInput {
148
147
  },
149
148
  "getter": false,
150
149
  "setter": false,
151
- "reflect": false
150
+ "reflect": false,
151
+ "attribute": "is-disabled"
152
152
  },
153
153
  "form": {
154
154
  "type": "unknown",
155
- "attribute": "form",
156
155
  "mutable": false,
157
156
  "complexType": {
158
157
  "original": "FormHook<any>",
@@ -161,7 +160,8 @@ export class FormVinInput {
161
160
  "FormHook": {
162
161
  "location": "import",
163
162
  "path": "~features/form-hook/form-hook",
164
- "id": "src/features/form-hook/form-hook.ts::FormHook"
163
+ "id": "src/features/form-hook/form-hook.ts::FormHook",
164
+ "referenceLocation": "FormHook"
165
165
  }
166
166
  }
167
167
  },
@@ -176,7 +176,6 @@ export class FormVinInput {
176
176
  },
177
177
  "inputPrefix": {
178
178
  "type": "string",
179
- "attribute": "input-prefix",
180
179
  "mutable": false,
181
180
  "complexType": {
182
181
  "original": "string",
@@ -191,11 +190,11 @@ export class FormVinInput {
191
190
  },
192
191
  "getter": false,
193
192
  "setter": false,
194
- "reflect": false
193
+ "reflect": false,
194
+ "attribute": "input-prefix"
195
195
  },
196
196
  "wrapperClass": {
197
197
  "type": "string",
198
- "attribute": "wrapper-class",
199
198
  "mutable": false,
200
199
  "complexType": {
201
200
  "original": "string",
@@ -210,11 +209,11 @@ export class FormVinInput {
210
209
  },
211
210
  "getter": false,
212
211
  "setter": false,
213
- "reflect": false
212
+ "reflect": false,
213
+ "attribute": "wrapper-class"
214
214
  },
215
215
  "staticValue": {
216
216
  "type": "string",
217
- "attribute": "static-value",
218
217
  "mutable": false,
219
218
  "complexType": {
220
219
  "original": "string",
@@ -229,11 +228,11 @@ export class FormVinInput {
229
228
  },
230
229
  "getter": false,
231
230
  "setter": false,
232
- "reflect": false
231
+ "reflect": false,
232
+ "attribute": "static-value"
233
233
  },
234
234
  "inputProps": {
235
235
  "type": "any",
236
- "attribute": "input-props",
237
236
  "mutable": false,
238
237
  "complexType": {
239
238
  "original": "any",
@@ -249,11 +248,11 @@ export class FormVinInput {
249
248
  "getter": false,
250
249
  "setter": false,
251
250
  "reflect": false,
251
+ "attribute": "input-props",
252
252
  "defaultValue": "{}"
253
253
  },
254
254
  "ocrEndpoint": {
255
255
  "type": "string",
256
- "attribute": "ocr-endpoint",
257
256
  "mutable": false,
258
257
  "complexType": {
259
258
  "original": "string",
@@ -268,11 +267,11 @@ export class FormVinInput {
268
267
  },
269
268
  "getter": false,
270
269
  "setter": false,
271
- "reflect": false
270
+ "reflect": false,
271
+ "attribute": "ocr-endpoint"
272
272
  },
273
273
  "defaultValue": {
274
274
  "type": "string",
275
- "attribute": "default-value",
276
275
  "mutable": true,
277
276
  "complexType": {
278
277
  "original": "string",
@@ -287,20 +286,21 @@ export class FormVinInput {
287
286
  },
288
287
  "getter": false,
289
288
  "setter": false,
290
- "reflect": false
289
+ "reflect": false,
290
+ "attribute": "default-value"
291
291
  },
292
292
  "localization": {
293
293
  "type": "unknown",
294
- "attribute": "localization",
295
294
  "mutable": false,
296
295
  "complexType": {
297
296
  "original": "FormInputLocalization<{ scan: string }>",
298
- "resolved": "{ [lang: string]: { label?: string; placeholder?: string; require?: string; format?: string; minMessage: string; maxMessage: string; betweenMessage: string; } & { scan: string; }; }",
297
+ "resolved": "{ scan: string; }",
299
298
  "references": {
300
299
  "FormInputLocalization": {
301
300
  "location": "import",
302
301
  "path": "~features/form-hook",
303
- "id": "src/features/form-hook/index.ts::FormInputLocalization"
302
+ "id": "src/features/form-hook/index.ts::FormInputLocalization",
303
+ "referenceLocation": "FormInputLocalization"
304
304
  }
305
305
  }
306
306
  },
@@ -316,7 +316,6 @@ export class FormVinInput {
316
316
  },
317
317
  "useOcr": {
318
318
  "type": "boolean",
319
- "attribute": "use-ocr",
320
319
  "mutable": false,
321
320
  "complexType": {
322
321
  "original": "boolean",
@@ -331,11 +330,11 @@ export class FormVinInput {
331
330
  },
332
331
  "getter": false,
333
332
  "setter": false,
334
- "reflect": false
333
+ "reflect": false,
334
+ "attribute": "use-ocr"
335
335
  },
336
336
  "readSticker": {
337
337
  "type": "boolean",
338
- "attribute": "read-sticker",
339
338
  "mutable": false,
340
339
  "complexType": {
341
340
  "original": "boolean",
@@ -350,11 +349,11 @@ export class FormVinInput {
350
349
  },
351
350
  "getter": false,
352
351
  "setter": false,
353
- "reflect": false
352
+ "reflect": false,
353
+ "attribute": "read-sticker"
354
354
  },
355
355
  "scannerIcon": {
356
356
  "type": "string",
357
- "attribute": "scanner-icon",
358
357
  "mutable": false,
359
358
  "complexType": {
360
359
  "original": "'' | 'qr-code' | 'camera'",
@@ -370,6 +369,7 @@ export class FormVinInput {
370
369
  "getter": false,
371
370
  "setter": false,
372
371
  "reflect": false,
372
+ "attribute": "scanner-icon",
373
373
  "defaultValue": "''"
374
374
  }
375
375
  };
@@ -12,7 +12,7 @@ export const getFormMappers = (extraMappers = {}) => (Object.assign({ submit: ({
12
12
  const fetcher = async ({ signal, context }) => {
13
13
  var _a, _b;
14
14
  const params = new URLSearchParams(window.location.search);
15
- let paramValue = (_a = (params.get(props === null || props === void 0 ? void 0 : props.vehicleIdQueryParam) || '')) === null || _a === void 0 ? void 0 : _a.toLowerCase();
15
+ const paramValue = (_a = (params.get(props === null || props === void 0 ? void 0 : props.vehicleIdQueryParam) || '')) === null || _a === void 0 ? void 0 : _a.toLowerCase();
16
16
  const vehicleEndpoint = props.vehicleApi;
17
17
  const response = await fetch(vehicleEndpoint, { signal, headers: { 'Accept-Language': language } });
18
18
  let options;
@@ -105,7 +105,7 @@ export const getFormMappers = (extraMappers = {}) => (Object.assign({ submit: ({
105
105
  const options = [];
106
106
  if (Array.isArray(props.span) && Array.isArray(props.min) && Array.isArray(props.max) && props.format) {
107
107
  let tempDate = decodeTimeOffset({ offsets: props.min });
108
- let maxDate = decodeTimeOffset({ offsets: props.max });
108
+ const maxDate = decodeTimeOffset({ offsets: props.max });
109
109
  while (isBefore(tempDate, maxDate) || isEqual(tempDate, maxDate)) {
110
110
  options.push({
111
111
  value: format(tempDate, props.format),
@@ -169,7 +169,7 @@ export const getFormMappers = (extraMappers = {}) => (Object.assign({ submit: ({
169
169
  if (!selectedBrand)
170
170
  return [];
171
171
  return [
172
- ...selectedBrand === null || selectedBrand === void 0 ? void 0 : selectedBrand.Models.map(model => ({ label: model.Name, value: `${model.ID}` })),
172
+ ...selectedBrand.Models.map(model => ({ label: model.Name, value: `${model.ID}` })),
173
173
  {
174
174
  value: 'Other',
175
175
  label: locale.Other,
@@ -225,7 +225,7 @@ export const getFormMappers = (extraMappers = {}) => (Object.assign({ submit: ({
225
225
  if (!selectedBrand)
226
226
  return [];
227
227
  return [
228
- ...selectedBrand === null || selectedBrand === void 0 ? void 0 : selectedBrand.Models.map(model => ({ label: model.Name, value: (props === null || props === void 0 ? void 0 : props.useNamedValue) ? model.Name : `${model.ID}` })),
228
+ ...selectedBrand.Models.map(model => ({ label: model.Name, value: (props === null || props === void 0 ? void 0 : props.useNamedValue) ? model.Name : `${model.ID}` })),
229
229
  {
230
230
  value: 'Other',
231
231
  label: locale.Other,
@@ -56,9 +56,9 @@ export class GeneralForm {
56
56
  // #endregion
57
57
  render() {
58
58
  var _a, _b;
59
- return (h(Host, { key: '8d9e87f97b8d1ed560857211aade5f3e997943d6', translate: "no" }, h("div", { key: '0c8f5a4ea1f53f34b06da4d679a0ec907778b590', part: cn('shift-form', (_b = (_a = this.structure) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.theme, this.theme) }, h("div", { key: 'fce5a1e6cc3a3255bf1da7f456cf5faab036dfda', part: "form-container", class: "relative min-h-[150px]" }, h("div", { key: '22c5fae871debed1d7194b53365d05ac08ffa8d2', part: "form-loader-container", class: cn('form-loader-container absolute top-0 left-0 w-full h-full pointer-events-none flex justify-center items-center transition-opacity duration-500', {
59
+ return (h(Host, { key: '6ecd31aab29e85d56f3d57db3ad2faf0e608e003', translate: "no" }, h("div", { key: '6c06f65b5287c2ef02f0e72fc67783033d296d65', part: cn('shift-form', (_b = (_a = this.structure) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.theme, this.theme) }, h("div", { key: 'f5130e8613af15860aec0fb3a3e72d5b355f8922', part: "form-container", class: "relative min-h-[150px]" }, h("div", { key: '8df05d223369c3c171053db50745e148f3b4ad46', part: "form-loader-container", class: cn('form-loader-container absolute top-0 left-0 w-full h-full pointer-events-none flex justify-center items-center transition-opacity duration-500', {
60
60
  'opacity-0': this.structureRendered,
61
- }) }, h(LoaderIcon, { key: '694ae757d202d45b574d044f1b3af6b883933c68', part: "form-loader-icon", class: "img" })), h("flexible-container", { key: '32806bfe3c1350ea22ae6e5257c3b1573f3d8945', onlyForMounting: true, isOpened: this.structureRendered }, !!this.form && (h("form-structure", { key: '994ec28ea9e10d4a8a49d4351f24db020f67912b', form: this.form, fields: this.fields, formId: this.formId, formLocale: this.locale, structure: this.structure, isLoading: this.isLoading, language: this.localeLanguage, errorMessage: this.errorMessage, formElementMapper: elementMapper, successMessage: this.locale['Form submitted successfully.'] || 'Form submitted successfully.' }, h("slot", { key: 'b3dd483992ef48f7520a12ecbc8e2ea5b964e637' }))))))));
61
+ }) }, h(LoaderIcon, { key: 'e8610734754510f5884317cb652e0d0b14a6d348', part: "form-loader-icon", class: "img" })), h("flexible-container", { key: '4f024b249cdd8756d95d6f41bfc58e7c116bba61', onlyForMounting: true, isOpened: this.structureRendered }, !!this.form && (h("form-structure", { key: 'd5592132953b0ccb73393f678acc16fff180b27b', form: this.form, fields: this.fields, formId: this.formId, formLocale: this.locale, structure: this.structure, isLoading: this.isLoading, language: this.localeLanguage, errorMessage: this.errorMessage, formElementMapper: elementMapper, successMessage: this.locale['Form submitted successfully.'] || 'Form submitted successfully.' }, h("slot", { key: '0f8e92ca0ec8723e3c5c20876ebdd992fbd55fa8' }))))))));
62
62
  }
63
63
  static get is() { return "general-form"; }
64
64
  static get encapsulation() { return "shadow"; }
@@ -76,7 +76,6 @@ export class GeneralForm {
76
76
  return {
77
77
  "language": {
78
78
  "type": "string",
79
- "attribute": "language",
80
79
  "mutable": true,
81
80
  "complexType": {
82
81
  "original": "LanguageKeys",
@@ -85,7 +84,8 @@ export class GeneralForm {
85
84
  "LanguageKeys": {
86
85
  "location": "import",
87
86
  "path": "~features/multi-lingual",
88
- "id": "src/features/multi-lingual/index.ts::LanguageKeys"
87
+ "id": "src/features/multi-lingual/index.ts::LanguageKeys",
88
+ "referenceLocation": "LanguageKeys"
89
89
  }
90
90
  }
91
91
  },
@@ -97,11 +97,11 @@ export class GeneralForm {
97
97
  },
98
98
  "getter": false,
99
99
  "setter": false,
100
- "reflect": true
100
+ "reflect": true,
101
+ "attribute": "language"
101
102
  },
102
103
  "gistId": {
103
104
  "type": "string",
104
- "attribute": "gist-id",
105
105
  "mutable": false,
106
106
  "complexType": {
107
107
  "original": "string",
@@ -116,11 +116,11 @@ export class GeneralForm {
116
116
  },
117
117
  "getter": false,
118
118
  "setter": false,
119
- "reflect": false
119
+ "reflect": false,
120
+ "attribute": "gist-id"
120
121
  },
121
122
  "extraHeader": {
122
123
  "type": "unknown",
123
- "attribute": "extra-header",
124
124
  "mutable": false,
125
125
  "complexType": {
126
126
  "original": "object",
@@ -138,7 +138,6 @@ export class GeneralForm {
138
138
  },
139
139
  "extraPayload": {
140
140
  "type": "unknown",
141
- "attribute": "extra-payload",
142
141
  "mutable": false,
143
142
  "complexType": {
144
143
  "original": "object",
@@ -156,7 +155,6 @@ export class GeneralForm {
156
155
  },
157
156
  "structureUrl": {
158
157
  "type": "string",
159
- "attribute": "structure-url",
160
158
  "mutable": false,
161
159
  "complexType": {
162
160
  "original": "string",
@@ -171,11 +169,11 @@ export class GeneralForm {
171
169
  },
172
170
  "getter": false,
173
171
  "setter": false,
174
- "reflect": false
172
+ "reflect": false,
173
+ "attribute": "structure-url"
175
174
  },
176
175
  "loadingChanges": {
177
176
  "type": "unknown",
178
- "attribute": "loading-changes",
179
177
  "mutable": false,
180
178
  "complexType": {
181
179
  "original": "(loading: boolean) => void",
@@ -193,7 +191,6 @@ export class GeneralForm {
193
191
  },
194
192
  "errorCallback": {
195
193
  "type": "unknown",
196
- "attribute": "error-callback",
197
194
  "mutable": false,
198
195
  "complexType": {
199
196
  "original": "(error: any, message: string) => Promise<void | boolean>",
@@ -216,7 +213,6 @@ export class GeneralForm {
216
213
  },
217
214
  "successCallback": {
218
215
  "type": "unknown",
219
- "attribute": "success-callback",
220
216
  "mutable": false,
221
217
  "complexType": {
222
218
  "original": "(data: any, message?: string) => Promise<void | boolean>",
@@ -239,7 +235,6 @@ export class GeneralForm {
239
235
  },
240
236
  "stepChangeCallback": {
241
237
  "type": "unknown",
242
- "attribute": "step-change-callback",
243
238
  "mutable": false,
244
239
  "complexType": {
245
240
  "original": "(step: number, currentForm?: any) => void",
@@ -257,7 +252,6 @@ export class GeneralForm {
257
252
  },
258
253
  "structure": {
259
254
  "type": "unknown",
260
- "attribute": "structure",
261
255
  "mutable": true,
262
256
  "complexType": {
263
257
  "original": "FormElementStructure<any> | undefined",
@@ -266,7 +260,8 @@ export class GeneralForm {
266
260
  "FormElementStructure": {
267
261
  "location": "import",
268
262
  "path": "~features/form-hook",
269
- "id": "src/features/form-hook/index.ts::FormElementStructure"
263
+ "id": "src/features/form-hook/index.ts::FormElementStructure",
264
+ "referenceLocation": "FormElementStructure"
270
265
  }
271
266
  }
272
267
  },
@@ -281,7 +276,6 @@ export class GeneralForm {
281
276
  },
282
277
  "fields": {
283
278
  "type": "unknown",
284
- "attribute": "fields",
285
279
  "mutable": true,
286
280
  "complexType": {
287
281
  "original": "object",
@@ -299,7 +293,6 @@ export class GeneralForm {
299
293
  },
300
294
  "formReadyCallback": {
301
295
  "type": "unknown",
302
- "attribute": "form-ready-callback",
303
296
  "mutable": false,
304
297
  "complexType": {
305
298
  "original": "() => void",
@@ -317,7 +310,6 @@ export class GeneralForm {
317
310
  },
318
311
  "theme": {
319
312
  "type": "string",
320
- "attribute": "theme",
321
313
  "mutable": false,
322
314
  "complexType": {
323
315
  "original": "string",
@@ -332,11 +324,11 @@ export class GeneralForm {
332
324
  },
333
325
  "getter": false,
334
326
  "setter": false,
335
- "reflect": false
327
+ "reflect": false,
328
+ "attribute": "theme"
336
329
  },
337
330
  "formId": {
338
331
  "type": "string",
339
- "attribute": "form-id",
340
332
  "mutable": false,
341
333
  "complexType": {
342
334
  "original": "string",
@@ -351,11 +343,11 @@ export class GeneralForm {
351
343
  },
352
344
  "getter": false,
353
345
  "setter": false,
354
- "reflect": false
346
+ "reflect": false,
347
+ "attribute": "form-id"
355
348
  },
356
349
  "isDev": {
357
350
  "type": "boolean",
358
- "attribute": "is-dev",
359
351
  "mutable": false,
360
352
  "complexType": {
361
353
  "original": "boolean",
@@ -371,11 +363,11 @@ export class GeneralForm {
371
363
  "getter": false,
372
364
  "setter": false,
373
365
  "reflect": false,
366
+ "attribute": "is-dev",
374
367
  "defaultValue": "false"
375
368
  },
376
369
  "disableScrollToTop": {
377
370
  "type": "boolean",
378
- "attribute": "disable-scroll-to-top",
379
371
  "mutable": false,
380
372
  "complexType": {
381
373
  "original": "boolean",
@@ -390,11 +382,11 @@ export class GeneralForm {
390
382
  },
391
383
  "getter": false,
392
384
  "setter": false,
393
- "reflect": false
385
+ "reflect": false,
386
+ "attribute": "disable-scroll-to-top"
394
387
  },
395
388
  "isMobileForm": {
396
389
  "type": "boolean",
397
- "attribute": "is-mobile-form",
398
390
  "mutable": false,
399
391
  "complexType": {
400
392
  "original": "boolean",
@@ -410,11 +402,11 @@ export class GeneralForm {
410
402
  "getter": false,
411
403
  "setter": false,
412
404
  "reflect": false,
405
+ "attribute": "is-mobile-form",
413
406
  "defaultValue": "false"
414
407
  },
415
408
  "getMobileToken": {
416
409
  "type": "unknown",
417
- "attribute": "get-mobile-token",
418
410
  "mutable": false,
419
411
  "complexType": {
420
412
  "original": "() => string",
@@ -456,7 +448,8 @@ export class GeneralForm {
456
448
  "FormHook": {
457
449
  "location": "import",
458
450
  "path": "~features/form-hook",
459
- "id": "src/features/form-hook/index.ts::FormHook"
451
+ "id": "src/features/form-hook/index.ts::FormHook",
452
+ "referenceLocation": "FormHook"
460
453
  }
461
454
  },
462
455
  "return": "Promise<FormHook<any>>"