adp-web-components 0.0.89 → 0.0.90

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 (408) hide show
  1. package/dist/cjs/cn-BHnqYtun.js +2597 -0
  2. package/dist/cjs/contact-us-form.cjs.entry.js +11 -22
  3. package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +15 -32
  4. package/dist/cjs/flexible-container.cjs.entry.js +134 -0
  5. package/dist/cjs/form-dialog_8.cjs.entry.js +44 -100
  6. package/dist/cjs/{get-local-language-e539cfdc.js → get-local-language-XsAJEAsO.js} +338 -295
  7. package/dist/cjs/{index-a8de3655.js → index-BjyafrBw.js} +525 -288
  8. package/dist/cjs/information-table.cjs.entry.js +40 -0
  9. package/dist/cjs/loader.cjs.js +3 -6
  10. package/dist/cjs/loading-spinner.cjs.entry.js +6 -10
  11. package/dist/cjs/part-lookup.cjs.entry.js +14 -21
  12. package/dist/cjs/service-booking-form.cjs.entry.js +10 -21
  13. package/dist/cjs/shift-accordion.cjs.entry.js +29 -0
  14. package/dist/cjs/shift-components.cjs.js +7 -8
  15. package/dist/cjs/shift-slider.cjs.entry.js +70 -0
  16. package/dist/cjs/shift-tab-content_7.cjs.entry.js +1487 -0
  17. package/dist/cjs/shift-tabs_2.cjs.entry.js +301 -0
  18. package/dist/cjs/{type-3183db65.js → type-BAD2dFzP.js} +32 -123
  19. package/dist/cjs/{type-87edb16d.js → type-CCsnwaKp.js} +11 -8
  20. package/dist/cjs/{type-c576b922.js → type-DT5vXP0E.js} +4 -4
  21. package/dist/cjs/{type-3d22f1fc.js → vehicle-info-layout-BSAeLW7e.js} +11 -1
  22. package/dist/cjs/vehicle-lookup.cjs.entry.js +60 -50
  23. package/dist/cjs/vin-extractor.cjs.entry.js +22 -32
  24. package/dist/collection/collection-manifest.json +19 -13
  25. package/dist/collection/components/components/card-content.js +7 -0
  26. package/dist/collection/components/components/flexible-container.css +1 -0
  27. package/dist/collection/components/components/flexible-container.js +317 -0
  28. package/dist/collection/components/components/information-table.css +1 -0
  29. package/dist/collection/components/components/information-table.js +137 -0
  30. package/dist/collection/components/components/loading-spinner.css +1 -1
  31. package/dist/collection/components/components/loading-spinner.js +4 -5
  32. package/dist/collection/components/components/material-card.js +34 -0
  33. package/dist/collection/components/{vehicle-lookup/service-history.css → components/shift-accordion.css} +1 -1
  34. package/dist/collection/components/components/shift-accordion.js +102 -0
  35. package/dist/collection/components/components/shift-slider.css +1 -0
  36. package/dist/collection/components/components/shift-slider.js +95 -0
  37. package/dist/collection/components/components/shift-tab-content.css +1 -0
  38. package/dist/collection/components/components/shift-tab-content.js +98 -0
  39. package/dist/collection/components/components/shift-tabs.css +1 -0
  40. package/dist/collection/components/components/shift-tabs.js +140 -0
  41. package/dist/collection/components/components/vehicle-info-layout.js +7 -0
  42. package/dist/collection/components/form-elements/form-dialog.css +1 -1
  43. package/dist/collection/components/form-elements/form-dialog.js +13 -9
  44. package/dist/collection/components/form-elements/form-input.css +1 -1
  45. package/dist/collection/components/form-elements/form-input.js +42 -26
  46. package/dist/collection/components/form-elements/form-select.css +1 -1
  47. package/dist/collection/components/form-elements/form-select.js +54 -38
  48. package/dist/collection/components/form-elements/form-shadow-input.css +1 -1
  49. package/dist/collection/components/form-elements/form-shadow-input.js +11 -9
  50. package/dist/collection/components/form-elements/form-structure-error.css +1 -1
  51. package/dist/collection/components/form-elements/form-structure-error.js +4 -2
  52. package/dist/collection/components/form-elements/form-structure.css +1 -1
  53. package/dist/collection/components/form-elements/form-structure.js +29 -13
  54. package/dist/collection/components/form-elements/form-submit.css +1 -1
  55. package/dist/collection/components/form-elements/form-submit.js +15 -7
  56. package/dist/collection/components/form-elements/form-text-area.css +1 -1
  57. package/dist/collection/components/form-elements/form-text-area.js +33 -20
  58. package/dist/collection/components/forms/contact-us/form.css +1 -1
  59. package/dist/collection/components/forms/contact-us-form.js +37 -22
  60. package/dist/collection/components/forms/service-booking-form.js +37 -22
  61. package/dist/collection/components/part-lookup/dead-stock-lookup.js +40 -27
  62. package/dist/collection/components/part-lookup/distributor-lookup.js +46 -29
  63. package/dist/collection/components/part-lookup/manufacturer-lookup.js +54 -35
  64. package/dist/collection/components/part-lookup/part-lookup.js +39 -23
  65. package/dist/collection/components/vehicle-lookup/components/CardsContainer.js +5 -5
  66. package/dist/collection/components/vehicle-lookup/components/StatusCard.js +2 -2
  67. package/dist/collection/components/vehicle-lookup/vehicle-accessories.css +1 -1
  68. package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +99 -47
  69. package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.css +1 -0
  70. package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.js +959 -0
  71. package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.css +1 -0
  72. package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.js +590 -0
  73. package/dist/collection/components/vehicle-lookup/vehicle-lookup.css +1 -1
  74. package/dist/collection/components/vehicle-lookup/vehicle-lookup.js +123 -53
  75. package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.css +1 -0
  76. package/dist/collection/components/vehicle-lookup/{paint-thickness.js → vehicle-paint-thickness.js} +99 -43
  77. package/dist/collection/components/vehicle-lookup/vehicle-service-history.css +3 -0
  78. package/dist/collection/components/vehicle-lookup/{service-history.js → vehicle-service-history.js} +101 -38
  79. package/dist/collection/components/vehicle-lookup/vehicle-specification.css +3 -1
  80. package/dist/collection/components/vehicle-lookup/vehicle-specification.js +66 -38
  81. package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.css +3 -0
  82. package/dist/collection/components/vehicle-lookup/{warranty-details.js → vehicle-warranty-details.js} +168 -54
  83. package/dist/collection/components/vin-extractor/vin-extractor.js +60 -39
  84. package/dist/collection/global/lib/children-with-tag.js +24 -0
  85. package/dist/collection/global/lib/container-has-tag.js +28 -0
  86. package/dist/collection/global/lib/get-local-language.js +15 -5
  87. package/dist/collection/global/lib/scroll-into-container-view.js +16 -0
  88. package/dist/collection/global/types/generated/part/dead-stock-dto.js +1 -0
  89. package/dist/collection/global/types/generated/part/hs-code-dto.js +1 -0
  90. package/dist/collection/global/types/generated/part/part-lookup-dto.js +1 -0
  91. package/dist/collection/global/types/generated/part/part-price-dto.js +1 -0
  92. package/dist/collection/global/types/generated/part/price-dto.js +1 -0
  93. package/dist/collection/global/types/generated/part/stock-part-dto.js +1 -0
  94. package/dist/collection/global/types/generated/vehicle-lookup/accessory-dto.js +1 -0
  95. package/dist/collection/global/types/generated/vehicle-lookup/paint-thickness-dto.js +1 -0
  96. package/dist/collection/global/types/generated/vehicle-lookup/paint-thickness-image-dto.js +1 -0
  97. package/dist/collection/global/types/generated/vehicle-lookup/paint-thickness-part-dto.js +1 -0
  98. package/dist/collection/global/types/generated/vehicle-lookup/ssc-dto.js +1 -0
  99. package/dist/collection/global/types/generated/vehicle-lookup/ssc-labor-dto.js +1 -0
  100. package/dist/collection/global/types/generated/vehicle-lookup/ssc-part-dto.js +1 -0
  101. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-broker-sale-information.js +1 -0
  102. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-identifiers-dto.js +1 -0
  103. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-labor-dto.js +1 -0
  104. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-lookup-dto.js +1 -0
  105. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-part-dto.js +1 -0
  106. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-sale-information.js +1 -0
  107. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-history-dto.js +1 -0
  108. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-item-dto.js +1 -0
  109. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-item-group.js +1 -0
  110. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-specification-dto.js +1 -0
  111. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-variant-info-dto.js +1 -0
  112. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-warranty-dto.js +1 -0
  113. package/dist/collection/locale-mapper.js +3 -3
  114. package/dist/collection/locales/partLookup/manufacturer/type.js +3 -3
  115. package/dist/collection/locales/vehicleLookup/{dynamicClaim → claimableItems}/type.js +9 -6
  116. package/dist/collection/locales/vehicleLookup/warranty/type.js +1 -0
  117. package/dist/collection/locales/vehicleLookup/wrapper-type.js +2 -2
  118. package/dist/collection/templates/part-lookup/mock-data.js +14 -14
  119. package/dist/collection/templates/vehicle-lookup/mock-data.js +228 -191
  120. package/dist/collection/templates/vehicle-lookup/warranty-mock-data.js +45 -27
  121. package/dist/components/contact-us-form.js +1 -1
  122. package/dist/components/dead-stock-lookup.js +1 -1
  123. package/dist/components/distributor-lookup.js +1 -1
  124. package/dist/components/flexible-container.d.ts +11 -0
  125. package/dist/components/flexible-container.js +5 -0
  126. package/dist/components/form-dialog.js +1 -1
  127. package/dist/components/form-input.js +1 -1
  128. package/dist/components/form-select.js +1 -1
  129. package/dist/components/form-shadow-input.js +1 -1
  130. package/dist/components/form-structure-error.js +1 -1
  131. package/dist/components/form-structure.js +1 -1
  132. package/dist/components/form-submit.js +1 -1
  133. package/dist/components/form-text-area.js +1 -1
  134. package/dist/components/index.js +1 -1
  135. package/dist/components/{paint-thickness.d.ts → information-table.d.ts} +4 -4
  136. package/dist/components/information-table.js +5 -0
  137. package/dist/components/loading-spinner.js +1 -1
  138. package/dist/components/manufacturer-lookup.js +1 -1
  139. package/dist/components/p-1vy-Ba6r.js +5 -0
  140. package/dist/components/p-B6QhQCZi.js +5 -0
  141. package/dist/components/p-BDkK65_1.js +5 -0
  142. package/dist/components/p-BK16Cn81.js +5 -0
  143. package/dist/components/{p-c981ee34.js → p-BaJpYztb.js} +1 -1
  144. package/dist/components/p-C-4kx8qU.js +5 -0
  145. package/dist/components/p-C1F_f1WE.js +5 -0
  146. package/dist/components/p-CACnUI7c.js +5 -0
  147. package/dist/components/p-CDOvd2iD.js +5 -0
  148. package/dist/components/p-CGzOJT7g.js +5 -0
  149. package/dist/components/p-CINfIgzX.js +5 -0
  150. package/dist/components/p-CJpwqpuQ.js +5 -0
  151. package/dist/components/p-CK4E5G0i.js +5 -0
  152. package/dist/components/p-CUqXnLyM.js +5 -0
  153. package/dist/components/p-CjWDXQ_q.js +5 -0
  154. package/dist/components/p-Cl9ct-bZ.js +5 -0
  155. package/dist/components/p-CqGVdvFp.js +5 -0
  156. package/dist/components/p-D2bxjSGr.js +5 -0
  157. package/dist/components/p-D63WC2_Y.js +5 -0
  158. package/dist/components/p-D7yku_Qi.js +5 -0
  159. package/dist/components/p-DXHx6lre.js +5 -0
  160. package/dist/components/p-DXj5zsQK.js +5 -0
  161. package/dist/components/p-DsCtgcZn.js +5 -0
  162. package/dist/components/p-DxjQlmaz.js +5 -0
  163. package/dist/components/p-JtBlsz4j.js +5 -0
  164. package/dist/components/p-P3fAKtye.js +5 -0
  165. package/dist/components/p-nxlqujKv.js +5 -0
  166. package/dist/components/p-vvHN2Olh.js +5 -0
  167. package/dist/components/p-yQ70lKV2.js +5 -0
  168. package/dist/components/part-lookup.js +1 -1
  169. package/dist/components/service-booking-form.js +1 -1
  170. package/dist/components/{service-history.d.ts → shift-accordion.d.ts} +4 -4
  171. package/dist/components/shift-accordion.js +5 -0
  172. package/dist/components/{dynamic-claim.d.ts → shift-slider.d.ts} +4 -4
  173. package/dist/components/shift-slider.js +5 -0
  174. package/dist/components/{warranty-details.d.ts → shift-tab-content.d.ts} +4 -4
  175. package/dist/components/shift-tab-content.js +5 -0
  176. package/dist/components/{dynamic-redeem.d.ts → shift-tabs.d.ts} +4 -4
  177. package/dist/components/shift-tabs.js +5 -0
  178. package/dist/components/vehicle-accessories.js +1 -1
  179. package/dist/components/vehicle-claimable-items.d.ts +11 -0
  180. package/dist/components/vehicle-claimable-items.js +5 -0
  181. package/dist/components/vehicle-item-claim-form.d.ts +11 -0
  182. package/dist/components/vehicle-item-claim-form.js +5 -0
  183. package/dist/components/vehicle-lookup.js +1 -1
  184. package/dist/components/vehicle-paint-thickness.d.ts +11 -0
  185. package/dist/components/vehicle-paint-thickness.js +5 -0
  186. package/dist/components/vehicle-service-history.d.ts +11 -0
  187. package/dist/components/vehicle-service-history.js +5 -0
  188. package/dist/components/vehicle-specification.js +1 -1
  189. package/dist/components/vehicle-warranty-details.d.ts +11 -0
  190. package/dist/components/vehicle-warranty-details.js +5 -0
  191. package/dist/components/vin-extractor.js +1 -1
  192. package/dist/esm/cn-BK16Cn81.js +2595 -0
  193. package/dist/esm/contact-us-form.entry.js +11 -20
  194. package/dist/esm/dead-stock-lookup_3.entry.js +15 -30
  195. package/dist/esm/flexible-container.entry.js +132 -0
  196. package/dist/esm/form-dialog_8.entry.js +44 -98
  197. package/dist/esm/{get-local-language-e286080a.js → get-local-language-BPo-xYwK.js} +339 -296
  198. package/dist/esm/{index-3a623f7c.js → index-CikEOqe0.js} +524 -268
  199. package/dist/esm/information-table.entry.js +38 -0
  200. package/dist/esm/loader.js +3 -4
  201. package/dist/esm/loading-spinner.entry.js +6 -8
  202. package/dist/esm/part-lookup.entry.js +14 -19
  203. package/dist/esm/service-booking-form.entry.js +10 -19
  204. package/dist/esm/shift-accordion.entry.js +27 -0
  205. package/dist/esm/shift-components.js +5 -5
  206. package/dist/esm/shift-slider.entry.js +68 -0
  207. package/dist/esm/shift-tab-content_7.entry.js +1479 -0
  208. package/dist/esm/shift-tabs_2.entry.js +298 -0
  209. package/dist/esm/{type-dc3e60a4.js → type-CfLRnI1J.js} +10 -7
  210. package/dist/esm/{type-1d1a2052.js → type-D9Rd8Kcd.js} +5 -5
  211. package/dist/esm/{type-68307857.js → type-DHujxJVp.js} +32 -123
  212. package/dist/esm/vehicle-info-layout-D1bvY1nt.js +43 -0
  213. package/dist/esm/vehicle-lookup.entry.js +55 -43
  214. package/dist/esm/vin-extractor.entry.js +22 -30
  215. package/dist/locales/errors/ru.json +10 -10
  216. package/dist/locales/partLookup/deadStock/ru.json +3 -3
  217. package/dist/locales/partLookup/distributor/ru.json +14 -14
  218. package/dist/locales/partLookup/manufacturer/ar.json +3 -3
  219. package/dist/locales/partLookup/manufacturer/en.json +3 -3
  220. package/dist/locales/partLookup/manufacturer/ku.json +3 -3
  221. package/dist/locales/partLookup/manufacturer/ru.json +15 -15
  222. package/dist/locales/partLookup/manufacturer/type.ts +3 -3
  223. package/dist/locales/vehicleLookup/accessories/ru.json +6 -6
  224. package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/ar.json +6 -3
  225. package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/en.json +4 -1
  226. package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/ku.json +6 -3
  227. package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/ru.json +10 -7
  228. package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/type.ts +10 -7
  229. package/dist/locales/vehicleLookup/paintThickness/ru.json +7 -7
  230. package/dist/locales/vehicleLookup/serviceHistory/ru.json +8 -8
  231. package/dist/locales/vehicleLookup/specification/ru.json +8 -8
  232. package/dist/locales/vehicleLookup/warranty/ar.json +1 -0
  233. package/dist/locales/vehicleLookup/warranty/en.json +1 -0
  234. package/dist/locales/vehicleLookup/warranty/ku.json +1 -0
  235. package/dist/locales/vehicleLookup/warranty/ru.json +17 -16
  236. package/dist/locales/vehicleLookup/warranty/type.ts +1 -0
  237. package/dist/locales/vehicleLookup/wrapper-type.ts +2 -2
  238. package/dist/shift-components/p-0c8bbdd0.entry.js +5 -0
  239. package/dist/shift-components/p-238f5df0.entry.js +5 -0
  240. package/dist/shift-components/p-389f444c.entry.js +5 -0
  241. package/dist/shift-components/p-5dd208de.entry.js +5 -0
  242. package/dist/shift-components/p-5f91eb5f.entry.js +5 -0
  243. package/dist/shift-components/p-76dd44e9.entry.js +5 -0
  244. package/dist/shift-components/p-9a51dae0.entry.js +5 -0
  245. package/dist/shift-components/p-BAMA88Mr.js +5 -0
  246. package/dist/shift-components/p-BK16Cn81.js +5 -0
  247. package/dist/shift-components/p-Br0JD1CD.js +5 -0
  248. package/dist/shift-components/p-CIU9c3pi.js +5 -0
  249. package/dist/shift-components/p-CikEOqe0.js +6 -0
  250. package/dist/shift-components/p-CuQ84qxe.js +5 -0
  251. package/dist/shift-components/p-DHb8KxaG.js +5 -0
  252. package/dist/shift-components/p-af44ca99.entry.js +5 -0
  253. package/dist/shift-components/p-b6497f63.entry.js +5 -0
  254. package/dist/shift-components/p-d0e6cd78.entry.js +5 -0
  255. package/dist/shift-components/p-f1225504.entry.js +5 -0
  256. package/dist/shift-components/p-f282c740.entry.js +5 -0
  257. package/dist/shift-components/p-faabbd23.entry.js +5 -0
  258. package/dist/shift-components/p-ff0fec09.entry.js +5 -0
  259. package/dist/shift-components/shift-components.esm.js +1 -1
  260. package/dist/types/components/components/card-content.d.ts +10 -0
  261. package/dist/types/components/components/flexible-container.d.ts +30 -0
  262. package/dist/types/components/components/information-table.d.ts +20 -0
  263. package/dist/types/components/components/material-card.d.ts +16 -0
  264. package/dist/types/components/components/shift-accordion.d.ts +13 -0
  265. package/dist/types/components/components/shift-slider.d.ts +11 -0
  266. package/dist/types/components/components/shift-tab-content.d.ts +12 -0
  267. package/dist/types/components/components/shift-tabs.d.ts +12 -0
  268. package/dist/types/components/components/vehicle-info-layout.d.ts +11 -0
  269. package/dist/types/components/part-lookup/dead-stock-lookup.d.ts +5 -5
  270. package/dist/types/components/part-lookup/distributor-lookup.d.ts +5 -5
  271. package/dist/types/components/part-lookup/manufacturer-lookup.d.ts +5 -5
  272. package/dist/types/components/vehicle-lookup/components/CardsContainer.d.ts +5 -4
  273. package/dist/types/components/vehicle-lookup/components/StatusCard.d.ts +4 -2
  274. package/dist/types/components/vehicle-lookup/vehicle-accessories.d.ts +6 -5
  275. package/dist/types/components/vehicle-lookup/{dynamic-claim.d.ts → vehicle-claimable-items.d.ts} +31 -22
  276. package/dist/types/components/vehicle-lookup/{dynamic-redeem.d.ts → vehicle-item-claim-form.d.ts} +34 -10
  277. package/dist/types/components/vehicle-lookup/vehicle-lookup.d.ts +20 -16
  278. package/dist/types/components/vehicle-lookup/{paint-thickness.d.ts → vehicle-paint-thickness.d.ts} +8 -6
  279. package/dist/types/components/vehicle-lookup/{service-history.d.ts → vehicle-service-history.d.ts} +7 -6
  280. package/dist/types/components/vehicle-lookup/vehicle-specification.d.ts +6 -5
  281. package/dist/types/components/vehicle-lookup/{warranty-details.d.ts → vehicle-warranty-details.d.ts} +9 -8
  282. package/dist/types/components.d.ts +1060 -195
  283. package/dist/types/global/api/partInformation.d.ts +5 -5
  284. package/dist/types/global/api/vehicleInformation.d.ts +4 -4
  285. package/dist/types/global/lib/children-with-tag.d.ts +1 -0
  286. package/dist/types/global/lib/container-has-tag.d.ts +1 -0
  287. package/dist/types/global/lib/scroll-into-container-view.d.ts +1 -0
  288. package/dist/types/global/types/generated/part/branch-dead-stock-dto.d.ts +5 -0
  289. package/dist/types/global/types/generated/part/dead-stock-dto.d.ts +6 -0
  290. package/dist/types/global/types/generated/part/hs-code-dto.d.ts +5 -0
  291. package/dist/types/global/types/generated/part/part-lookup-dto.d.ts +27 -0
  292. package/dist/types/global/types/generated/part/part-price-dto.d.ts +10 -0
  293. package/dist/types/global/types/generated/part/price-dto.d.ts +6 -0
  294. package/dist/types/global/types/generated/part/stock-part-dto.d.ts +5 -0
  295. package/dist/types/global/types/generated/vehicle-lookup/accessory-dto.d.ts +5 -0
  296. package/dist/types/global/types/generated/vehicle-lookup/paint-thickness-dto.d.ts +6 -0
  297. package/dist/types/global/types/generated/vehicle-lookup/paint-thickness-image-dto.d.ts +4 -0
  298. package/dist/types/global/types/generated/vehicle-lookup/paint-thickness-part-dto.d.ts +5 -0
  299. package/dist/types/global/types/generated/vehicle-lookup/ssc-dto.d.ts +10 -0
  300. package/dist/types/global/types/generated/vehicle-lookup/ssc-labor-dto.d.ts +5 -0
  301. package/dist/types/global/types/generated/vehicle-lookup/ssc-part-dto.d.ts +5 -0
  302. package/dist/types/global/types/generated/vehicle-lookup/vehicle-broker-sale-information.d.ts +7 -0
  303. package/dist/types/global/types/generated/vehicle-lookup/vehicle-identifiers-dto.d.ts +9 -0
  304. package/dist/types/global/types/generated/vehicle-lookup/vehicle-labor-dto.d.ts +6 -0
  305. package/dist/types/global/types/generated/vehicle-lookup/vehicle-lookup-dto.d.ts +27 -0
  306. package/dist/types/global/types/generated/vehicle-lookup/vehicle-part-dto.d.ts +6 -0
  307. package/dist/types/global/types/generated/vehicle-lookup/vehicle-sale-information.d.ts +16 -0
  308. package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-history-dto.d.ts +16 -0
  309. package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-item-dto.d.ts +34 -0
  310. package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-item-group.d.ts +6 -0
  311. package/dist/types/global/types/generated/vehicle-lookup/vehicle-specification-dto.d.ts +22 -0
  312. package/dist/types/global/types/generated/vehicle-lookup/vehicle-variant-info-dto.d.ts +5 -0
  313. package/dist/types/global/types/generated/vehicle-lookup/vehicle-warranty-dto.d.ts +8 -0
  314. package/dist/types/locale-mapper.d.ts +2 -2
  315. package/dist/types/locales/partLookup/distributor/type.d.ts +2 -2
  316. package/dist/types/locales/partLookup/manufacturer/type.d.ts +6 -6
  317. package/dist/types/locales/partLookup/wrapper-type.d.ts +8 -8
  318. package/dist/types/locales/vehicleLookup/accessories/type.d.ts +2 -2
  319. package/dist/types/locales/vehicleLookup/{dynamicClaim → claimableItems}/type.d.ts +28 -16
  320. package/dist/types/locales/vehicleLookup/paintThickness/type.d.ts +4 -4
  321. package/dist/types/locales/vehicleLookup/serviceHistory/type.d.ts +4 -4
  322. package/dist/types/locales/vehicleLookup/warranty/type.d.ts +2 -0
  323. package/dist/types/locales/vehicleLookup/wrapper-type.d.ts +52 -44
  324. package/dist/types/stencil-public-runtime.d.ts +23 -1
  325. package/package.json +10 -8
  326. package/LICENSE +0 -21
  327. package/dist/cjs/app-globals-4aa8f46f.js +0 -46
  328. package/dist/cjs/cn-f559f9e5.js +0 -2588
  329. package/dist/cjs/dynamic-claim_6.cjs.entry.js +0 -1224
  330. package/dist/cjs/dynamic-redeem.cjs.entry.js +0 -210
  331. package/dist/collection/components/vehicle-lookup/components/SSCTable.js +0 -18
  332. package/dist/collection/components/vehicle-lookup/dynamic-claim.css +0 -1
  333. package/dist/collection/components/vehicle-lookup/dynamic-claim.js +0 -756
  334. package/dist/collection/components/vehicle-lookup/dynamic-redeem.css +0 -1
  335. package/dist/collection/components/vehicle-lookup/dynamic-redeem.js +0 -444
  336. package/dist/collection/components/vehicle-lookup/paint-thickness.css +0 -1
  337. package/dist/collection/components/vehicle-lookup/warranty-details.css +0 -1
  338. package/dist/collection/global/types/vehicle-information.js +0 -5
  339. package/dist/collection/templates/vehicle-lookup/vehicle-lookup.js +0 -285
  340. package/dist/components/dynamic-claim.js +0 -5
  341. package/dist/components/dynamic-redeem.js +0 -5
  342. package/dist/components/p-0aea36b4.js +0 -5
  343. package/dist/components/p-0fa9085a.js +0 -5
  344. package/dist/components/p-1c45c079.js +0 -5
  345. package/dist/components/p-28cf4dbe.js +0 -5
  346. package/dist/components/p-29a57e34.js +0 -5
  347. package/dist/components/p-2c893802.js +0 -5
  348. package/dist/components/p-3a216a1c.js +0 -5
  349. package/dist/components/p-48a28736.js +0 -5
  350. package/dist/components/p-48a9b8e5.js +0 -5
  351. package/dist/components/p-4ddb3435.js +0 -5
  352. package/dist/components/p-5709db05.js +0 -5
  353. package/dist/components/p-5afcb14f.js +0 -5
  354. package/dist/components/p-7a1dd4fc.js +0 -5
  355. package/dist/components/p-7d3dd7c2.js +0 -5
  356. package/dist/components/p-8b1d90d7.js +0 -5
  357. package/dist/components/p-8cd53e18.js +0 -5
  358. package/dist/components/p-98d9e7ab.js +0 -5
  359. package/dist/components/p-aacd560d.js +0 -5
  360. package/dist/components/p-c4f620e9.js +0 -5
  361. package/dist/components/p-ca0bda87.js +0 -5
  362. package/dist/components/p-d3f029ed.js +0 -5
  363. package/dist/components/p-dfb3925b.js +0 -5
  364. package/dist/components/p-ec493f9b.js +0 -5
  365. package/dist/components/p-f437e795.js +0 -5
  366. package/dist/components/p-ffad35ad.js +0 -5
  367. package/dist/components/paint-thickness.js +0 -5
  368. package/dist/components/service-history.js +0 -5
  369. package/dist/components/warranty-details.js +0 -5
  370. package/dist/esm/app-globals-68faa233.js +0 -44
  371. package/dist/esm/cn-cc419b94.js +0 -2586
  372. package/dist/esm/dynamic-claim_6.entry.js +0 -1215
  373. package/dist/esm/dynamic-redeem.entry.js +0 -206
  374. package/dist/esm/type-885c56ae.js +0 -34
  375. package/dist/shift-components/p-025b3a45.entry.js +0 -5
  376. package/dist/shift-components/p-07ee30c6.js +0 -5
  377. package/dist/shift-components/p-232a8be0.entry.js +0 -5
  378. package/dist/shift-components/p-40e52936.entry.js +0 -5
  379. package/dist/shift-components/p-446d908d.js +0 -5
  380. package/dist/shift-components/p-50d68cc4.entry.js +0 -5
  381. package/dist/shift-components/p-67d3532e.js +0 -5
  382. package/dist/shift-components/p-69f1a7ff.entry.js +0 -5
  383. package/dist/shift-components/p-6b3651bd.js +0 -5
  384. package/dist/shift-components/p-6ec0650f.js +0 -5
  385. package/dist/shift-components/p-83b755da.entry.js +0 -5
  386. package/dist/shift-components/p-90bf4148.entry.js +0 -5
  387. package/dist/shift-components/p-9474a4da.js +0 -6
  388. package/dist/shift-components/p-98d9e7ab.js +0 -5
  389. package/dist/shift-components/p-997b9bfb.entry.js +0 -5
  390. package/dist/shift-components/p-9e11eb3e.entry.js +0 -5
  391. package/dist/shift-components/p-ab79b6e8.entry.js +0 -5
  392. package/dist/shift-components/p-c802d527.js +0 -5
  393. package/dist/types/components/vehicle-lookup/components/SSCTable.d.ts +0 -9
  394. package/dist/types/global/types/part-information.d.ts +0 -53
  395. package/dist/types/global/types/vehicle-information.d.ts +0 -182
  396. package/loader/package.json +0 -11
  397. package/readme.md +0 -15
  398. /package/dist/cjs/{loader-baf2418b.js → loader-jtAYWeFG.js} +0 -0
  399. /package/dist/cjs/{validate-vin-32e95695.js → validate-vin-CJDIXpJO.js} +0 -0
  400. /package/dist/collection/global/types/{part-information.js → generated/part/branch-dead-stock-dto.js} +0 -0
  401. /package/dist/components/{p-00a27a58.js → p-B5YdqGVm.js} +0 -0
  402. /package/dist/components/{p-fab97ac7.js → p-BT4rhLRL.js} +0 -0
  403. /package/dist/components/{p-a21e2e2e.js → p-C-EQDloC.js} +0 -0
  404. /package/dist/components/{p-383b4ddf.js → p-CUREVASG.js} +0 -0
  405. /package/dist/esm/{loader-027b88af.js → loader-C-EQDloC.js} +0 -0
  406. /package/dist/esm/{validate-vin-f4d23a44.js → validate-vin-CUREVASG.js} +0 -0
  407. /package/dist/shift-components/{p-a21e2e2e.js → p-C-EQDloC.js} +0 -0
  408. /package/dist/shift-components/{p-383b4ddf.js → p-CUREVASG.js} +0 -0
@@ -4,305 +4,338 @@
4
4
  */
5
5
  'use strict';
6
6
 
7
- require('./index-a8de3655.js');
7
+ require('./index-BjyafrBw.js');
8
+
9
+ function getDefaultExportFromCjs (x) {
10
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
11
+ }
8
12
 
9
13
  /**
10
14
  * Based on Kendo UI Core expression code <https://github.com/telerik/kendo-ui-core#license-information>
11
15
  */
12
16
 
13
- function Cache(maxSize) {
14
- this._maxSize = maxSize;
15
- this.clear();
17
+ var propertyExpr;
18
+ var hasRequiredPropertyExpr;
19
+
20
+ function requirePropertyExpr () {
21
+ if (hasRequiredPropertyExpr) return propertyExpr;
22
+ hasRequiredPropertyExpr = 1;
23
+
24
+ function Cache(maxSize) {
25
+ this._maxSize = maxSize;
26
+ this.clear();
27
+ }
28
+ Cache.prototype.clear = function () {
29
+ this._size = 0;
30
+ this._values = Object.create(null);
31
+ };
32
+ Cache.prototype.get = function (key) {
33
+ return this._values[key]
34
+ };
35
+ Cache.prototype.set = function (key, value) {
36
+ this._size >= this._maxSize && this.clear();
37
+ if (!(key in this._values)) this._size++;
38
+
39
+ return (this._values[key] = value)
40
+ };
41
+
42
+ var SPLIT_REGEX = /[^.^\]^[]+|(?=\[\]|\.\.)/g,
43
+ DIGIT_REGEX = /^\d+$/,
44
+ LEAD_DIGIT_REGEX = /^\d/,
45
+ SPEC_CHAR_REGEX = /[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,
46
+ CLEAN_QUOTES_REGEX = /^\s*(['"]?)(.*?)(\1)\s*$/,
47
+ MAX_CACHE_SIZE = 512;
48
+
49
+ var pathCache = new Cache(MAX_CACHE_SIZE),
50
+ setCache = new Cache(MAX_CACHE_SIZE),
51
+ getCache = new Cache(MAX_CACHE_SIZE);
52
+
53
+ propertyExpr = {
54
+ Cache: Cache,
55
+
56
+ split: split,
57
+
58
+ normalizePath: normalizePath,
59
+
60
+ setter: function (path) {
61
+ var parts = normalizePath(path);
62
+
63
+ return (
64
+ setCache.get(path) ||
65
+ setCache.set(path, function setter(obj, value) {
66
+ var index = 0;
67
+ var len = parts.length;
68
+ var data = obj;
69
+
70
+ while (index < len - 1) {
71
+ var part = parts[index];
72
+ if (
73
+ part === '__proto__' ||
74
+ part === 'constructor' ||
75
+ part === 'prototype'
76
+ ) {
77
+ return obj
78
+ }
79
+
80
+ data = data[parts[index++]];
81
+ }
82
+ data[parts[index]] = value;
83
+ })
84
+ )
85
+ },
86
+
87
+ getter: function (path, safe) {
88
+ var parts = normalizePath(path);
89
+ return (
90
+ getCache.get(path) ||
91
+ getCache.set(path, function getter(data) {
92
+ var index = 0,
93
+ len = parts.length;
94
+ while (index < len) {
95
+ if (data != null || !safe) data = data[parts[index++]];
96
+ else return
97
+ }
98
+ return data
99
+ })
100
+ )
101
+ },
102
+
103
+ join: function (segments) {
104
+ return segments.reduce(function (path, part) {
105
+ return (
106
+ path +
107
+ (isQuoted(part) || DIGIT_REGEX.test(part)
108
+ ? '[' + part + ']'
109
+ : (path ? '.' : '') + part)
110
+ )
111
+ }, '')
112
+ },
113
+
114
+ forEach: function (path, cb, thisArg) {
115
+ forEach(Array.isArray(path) ? path : split(path), cb, thisArg);
116
+ },
117
+ };
118
+
119
+ function normalizePath(path) {
120
+ return (
121
+ pathCache.get(path) ||
122
+ pathCache.set(
123
+ path,
124
+ split(path).map(function (part) {
125
+ return part.replace(CLEAN_QUOTES_REGEX, '$2')
126
+ })
127
+ )
128
+ )
129
+ }
130
+
131
+ function split(path) {
132
+ return path.match(SPLIT_REGEX) || ['']
133
+ }
134
+
135
+ function forEach(parts, iter, thisArg) {
136
+ var len = parts.length,
137
+ part,
138
+ idx,
139
+ isArray,
140
+ isBracket;
141
+
142
+ for (idx = 0; idx < len; idx++) {
143
+ part = parts[idx];
144
+
145
+ if (part) {
146
+ if (shouldBeQuoted(part)) {
147
+ part = '"' + part + '"';
148
+ }
149
+
150
+ isBracket = isQuoted(part);
151
+ isArray = !isBracket && /^\d+$/.test(part);
152
+
153
+ iter.call(thisArg, part, isBracket, isArray, idx, parts);
154
+ }
155
+ }
156
+ }
157
+
158
+ function isQuoted(str) {
159
+ return (
160
+ typeof str === 'string' && str && ["'", '"'].indexOf(str.charAt(0)) !== -1
161
+ )
162
+ }
163
+
164
+ function hasLeadingNumber(part) {
165
+ return part.match(LEAD_DIGIT_REGEX) && !part.match(DIGIT_REGEX)
166
+ }
167
+
168
+ function hasSpecialChars(part) {
169
+ return SPEC_CHAR_REGEX.test(part)
170
+ }
171
+
172
+ function shouldBeQuoted(part) {
173
+ return !isQuoted(part) && (hasLeadingNumber(part) || hasSpecialChars(part))
174
+ }
175
+ return propertyExpr;
16
176
  }
17
- Cache.prototype.clear = function () {
18
- this._size = 0;
19
- this._values = Object.create(null);
20
- };
21
- Cache.prototype.get = function (key) {
22
- return this._values[key]
23
- };
24
- Cache.prototype.set = function (key, value) {
25
- this._size >= this._maxSize && this.clear();
26
- if (!(key in this._values)) this._size++;
27
177
 
28
- return (this._values[key] = value)
29
- };
178
+ var propertyExprExports = requirePropertyExpr();
30
179
 
31
- var SPLIT_REGEX = /[^.^\]^[]+|(?=\[\]|\.\.)/g,
32
- DIGIT_REGEX = /^\d+$/,
33
- LEAD_DIGIT_REGEX = /^\d/,
34
- SPEC_CHAR_REGEX = /[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,
35
- CLEAN_QUOTES_REGEX = /^\s*(['"]?)(.*?)(\1)\s*$/,
36
- MAX_CACHE_SIZE = 512;
37
-
38
- var pathCache = new Cache(MAX_CACHE_SIZE),
39
- setCache = new Cache(MAX_CACHE_SIZE),
40
- getCache = new Cache(MAX_CACHE_SIZE);
41
-
42
- var propertyExpr = {
43
- Cache: Cache,
44
-
45
- split: split,
46
-
47
- normalizePath: normalizePath,
48
-
49
- setter: function (path) {
50
- var parts = normalizePath(path);
51
-
52
- return (
53
- setCache.get(path) ||
54
- setCache.set(path, function setter(obj, value) {
55
- var index = 0;
56
- var len = parts.length;
57
- var data = obj;
58
-
59
- while (index < len - 1) {
60
- var part = parts[index];
61
- if (
62
- part === '__proto__' ||
63
- part === 'constructor' ||
64
- part === 'prototype'
65
- ) {
66
- return obj
67
- }
180
+ var tinyCase;
181
+ var hasRequiredTinyCase;
68
182
 
69
- data = data[parts[index++]];
70
- }
71
- data[parts[index]] = value;
72
- })
73
- )
74
- },
75
-
76
- getter: function (path, safe) {
77
- var parts = normalizePath(path);
78
- return (
79
- getCache.get(path) ||
80
- getCache.set(path, function getter(data) {
81
- var index = 0,
82
- len = parts.length;
83
- while (index < len) {
84
- if (data != null || !safe) data = data[parts[index++]];
85
- else return
86
- }
87
- return data
88
- })
89
- )
90
- },
91
-
92
- join: function (segments) {
93
- return segments.reduce(function (path, part) {
94
- return (
95
- path +
96
- (isQuoted(part) || DIGIT_REGEX.test(part)
97
- ? '[' + part + ']'
98
- : (path ? '.' : '') + part)
99
- )
100
- }, '')
101
- },
102
-
103
- forEach: function (path, cb, thisArg) {
104
- forEach(Array.isArray(path) ? path : split(path), cb, thisArg);
105
- },
106
- };
183
+ function requireTinyCase () {
184
+ if (hasRequiredTinyCase) return tinyCase;
185
+ hasRequiredTinyCase = 1;
186
+ const reWords = /[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g;
107
187
 
108
- function normalizePath(path) {
109
- return (
110
- pathCache.get(path) ||
111
- pathCache.set(
112
- path,
113
- split(path).map(function (part) {
114
- return part.replace(CLEAN_QUOTES_REGEX, '$2')
115
- })
116
- )
117
- )
118
- }
188
+ const words = (str) => str.match(reWords) || [];
119
189
 
120
- function split(path) {
121
- return path.match(SPLIT_REGEX) || ['']
122
- }
190
+ const upperFirst = (str) => str[0].toUpperCase() + str.slice(1);
123
191
 
124
- function forEach(parts, iter, thisArg) {
125
- var len = parts.length,
126
- part,
127
- idx,
128
- isArray,
129
- isBracket;
192
+ const join = (str, d) => words(str).join(d).toLowerCase();
130
193
 
131
- for (idx = 0; idx < len; idx++) {
132
- part = parts[idx];
194
+ const camelCase = (str) =>
195
+ words(str).reduce(
196
+ (acc, next) =>
197
+ `${acc}${
198
+ !acc
199
+ ? next.toLowerCase()
200
+ : next[0].toUpperCase() + next.slice(1).toLowerCase()
201
+ }`,
202
+ '',
203
+ );
133
204
 
134
- if (part) {
135
- if (shouldBeQuoted(part)) {
136
- part = '"' + part + '"';
137
- }
205
+ const pascalCase = (str) => upperFirst(camelCase(str));
138
206
 
139
- isBracket = isQuoted(part);
140
- isArray = !isBracket && /^\d+$/.test(part);
207
+ const snakeCase = (str) => join(str, '_');
141
208
 
142
- iter.call(thisArg, part, isBracket, isArray, idx, parts);
143
- }
144
- }
145
- }
209
+ const kebabCase = (str) => join(str, '-');
146
210
 
147
- function isQuoted(str) {
148
- return (
149
- typeof str === 'string' && str && ["'", '"'].indexOf(str.charAt(0)) !== -1
150
- )
151
- }
211
+ const sentenceCase = (str) => upperFirst(join(str, ' '));
152
212
 
153
- function hasLeadingNumber(part) {
154
- return part.match(LEAD_DIGIT_REGEX) && !part.match(DIGIT_REGEX)
155
- }
213
+ const titleCase = (str) => words(str).map(upperFirst).join(' ');
156
214
 
157
- function hasSpecialChars(part) {
158
- return SPEC_CHAR_REGEX.test(part)
215
+ tinyCase = {
216
+ words,
217
+ upperFirst,
218
+ camelCase,
219
+ pascalCase,
220
+ snakeCase,
221
+ kebabCase,
222
+ sentenceCase,
223
+ titleCase,
224
+ };
225
+ return tinyCase;
159
226
  }
160
227
 
161
- function shouldBeQuoted(part) {
162
- return !isQuoted(part) && (hasLeadingNumber(part) || hasSpecialChars(part))
228
+ var tinyCaseExports = requireTinyCase();
229
+
230
+ var toposort$1 = {exports: {}};
231
+
232
+ var hasRequiredToposort;
233
+
234
+ function requireToposort () {
235
+ if (hasRequiredToposort) return toposort$1.exports;
236
+ hasRequiredToposort = 1;
237
+ /**
238
+ * Topological sorting function
239
+ *
240
+ * @param {Array} edges
241
+ * @returns {Array}
242
+ */
243
+
244
+ toposort$1.exports = function(edges) {
245
+ return toposort(uniqueNodes(edges), edges)
246
+ };
247
+
248
+ toposort$1.exports.array = toposort;
249
+
250
+ function toposort(nodes, edges) {
251
+ var cursor = nodes.length
252
+ , sorted = new Array(cursor)
253
+ , visited = {}
254
+ , i = cursor
255
+ // Better data structures make algorithm much faster.
256
+ , outgoingEdges = makeOutgoingEdges(edges)
257
+ , nodesHash = makeNodesHash(nodes);
258
+
259
+ // check for unknown nodes
260
+ edges.forEach(function(edge) {
261
+ if (!nodesHash.has(edge[0]) || !nodesHash.has(edge[1])) {
262
+ throw new Error('Unknown node. There is an unknown node in the supplied edges.')
263
+ }
264
+ });
265
+
266
+ while (i--) {
267
+ if (!visited[i]) visit(nodes[i], i, new Set());
268
+ }
269
+
270
+ return sorted
271
+
272
+ function visit(node, i, predecessors) {
273
+ if(predecessors.has(node)) {
274
+ var nodeRep;
275
+ try {
276
+ nodeRep = ", node was:" + JSON.stringify(node);
277
+ } catch(e) {
278
+ nodeRep = "";
279
+ }
280
+ throw new Error('Cyclic dependency' + nodeRep)
281
+ }
282
+
283
+ if (!nodesHash.has(node)) {
284
+ throw new Error('Found unknown node. Make sure to provided all involved nodes. Unknown node: '+JSON.stringify(node))
285
+ }
286
+
287
+ if (visited[i]) return;
288
+ visited[i] = true;
289
+
290
+ var outgoing = outgoingEdges.get(node) || new Set();
291
+ outgoing = Array.from(outgoing);
292
+
293
+ if (i = outgoing.length) {
294
+ predecessors.add(node);
295
+ do {
296
+ var child = outgoing[--i];
297
+ visit(child, nodesHash.get(child), predecessors);
298
+ } while (i)
299
+ predecessors.delete(node);
300
+ }
301
+
302
+ sorted[--cursor] = node;
303
+ }
304
+ }
305
+
306
+ function uniqueNodes(arr){
307
+ var res = new Set();
308
+ for (var i = 0, len = arr.length; i < len; i++) {
309
+ var edge = arr[i];
310
+ res.add(edge[0]);
311
+ res.add(edge[1]);
312
+ }
313
+ return Array.from(res)
314
+ }
315
+
316
+ function makeOutgoingEdges(arr){
317
+ var edges = new Map();
318
+ for (var i = 0, len = arr.length; i < len; i++) {
319
+ var edge = arr[i];
320
+ if (!edges.has(edge[0])) edges.set(edge[0], new Set());
321
+ if (!edges.has(edge[1])) edges.set(edge[1], new Set());
322
+ edges.get(edge[0]).add(edge[1]);
323
+ }
324
+ return edges
325
+ }
326
+
327
+ function makeNodesHash(arr){
328
+ var res = new Map();
329
+ for (var i = 0, len = arr.length; i < len; i++) {
330
+ res.set(arr[i], i);
331
+ }
332
+ return res
333
+ }
334
+ return toposort$1.exports;
163
335
  }
164
336
 
165
- const reWords = /[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g;
166
-
167
- const words = (str) => str.match(reWords) || [];
168
-
169
- const upperFirst = (str) => str[0].toUpperCase() + str.slice(1);
170
-
171
- const join = (str, d) => words(str).join(d).toLowerCase();
172
-
173
- const camelCase = (str) =>
174
- words(str).reduce(
175
- (acc, next) =>
176
- `${acc}${
177
- !acc
178
- ? next.toLowerCase()
179
- : next[0].toUpperCase() + next.slice(1).toLowerCase()
180
- }`,
181
- '',
182
- );
183
-
184
- const pascalCase = (str) => upperFirst(camelCase(str));
185
-
186
- const snakeCase = (str) => join(str, '_');
187
-
188
- const kebabCase = (str) => join(str, '-');
189
-
190
- const sentenceCase = (str) => upperFirst(join(str, ' '));
191
-
192
- const titleCase = (str) => words(str).map(upperFirst).join(' ');
193
-
194
- var tinyCase = {
195
- words,
196
- upperFirst,
197
- camelCase,
198
- pascalCase,
199
- snakeCase,
200
- kebabCase,
201
- sentenceCase,
202
- titleCase,
203
- };
204
-
205
- var toposort$2 = {exports: {}};
206
-
207
- /**
208
- * Topological sorting function
209
- *
210
- * @param {Array} edges
211
- * @returns {Array}
212
- */
213
-
214
- toposort$2.exports = function(edges) {
215
- return toposort(uniqueNodes(edges), edges)
216
- };
217
-
218
- toposort$2.exports.array = toposort;
219
-
220
- function toposort(nodes, edges) {
221
- var cursor = nodes.length
222
- , sorted = new Array(cursor)
223
- , visited = {}
224
- , i = cursor
225
- // Better data structures make algorithm much faster.
226
- , outgoingEdges = makeOutgoingEdges(edges)
227
- , nodesHash = makeNodesHash(nodes);
228
-
229
- // check for unknown nodes
230
- edges.forEach(function(edge) {
231
- if (!nodesHash.has(edge[0]) || !nodesHash.has(edge[1])) {
232
- throw new Error('Unknown node. There is an unknown node in the supplied edges.')
233
- }
234
- });
235
-
236
- while (i--) {
237
- if (!visited[i]) visit(nodes[i], i, new Set());
238
- }
239
-
240
- return sorted
241
-
242
- function visit(node, i, predecessors) {
243
- if(predecessors.has(node)) {
244
- var nodeRep;
245
- try {
246
- nodeRep = ", node was:" + JSON.stringify(node);
247
- } catch(e) {
248
- nodeRep = "";
249
- }
250
- throw new Error('Cyclic dependency' + nodeRep)
251
- }
252
-
253
- if (!nodesHash.has(node)) {
254
- throw new Error('Found unknown node. Make sure to provided all involved nodes. Unknown node: '+JSON.stringify(node))
255
- }
256
-
257
- if (visited[i]) return;
258
- visited[i] = true;
259
-
260
- var outgoing = outgoingEdges.get(node) || new Set();
261
- outgoing = Array.from(outgoing);
262
-
263
- if (i = outgoing.length) {
264
- predecessors.add(node);
265
- do {
266
- var child = outgoing[--i];
267
- visit(child, nodesHash.get(child), predecessors);
268
- } while (i)
269
- predecessors.delete(node);
270
- }
271
-
272
- sorted[--cursor] = node;
273
- }
274
- }
275
-
276
- function uniqueNodes(arr){
277
- var res = new Set();
278
- for (var i = 0, len = arr.length; i < len; i++) {
279
- var edge = arr[i];
280
- res.add(edge[0]);
281
- res.add(edge[1]);
282
- }
283
- return Array.from(res)
284
- }
285
-
286
- function makeOutgoingEdges(arr){
287
- var edges = new Map();
288
- for (var i = 0, len = arr.length; i < len; i++) {
289
- var edge = arr[i];
290
- if (!edges.has(edge[0])) edges.set(edge[0], new Set());
291
- if (!edges.has(edge[1])) edges.set(edge[1], new Set());
292
- edges.get(edge[0]).add(edge[1]);
293
- }
294
- return edges
295
- }
296
-
297
- function makeNodesHash(arr){
298
- var res = new Map();
299
- for (var i = 0, len = arr.length; i < len; i++) {
300
- res.set(arr[i], i);
301
- }
302
- return res
303
- }
304
-
305
- const toposort$1 = toposort$2.exports;
337
+ var toposortExports = requireToposort();
338
+ var toposort = /*@__PURE__*/getDefaultExportFromCjs(toposortExports);
306
339
 
307
340
  const toString = Object.prototype.toString;
308
341
  const errorToString = Error.prototype.toString;
@@ -563,7 +596,7 @@ class Reference {
563
596
  this.isSibling = !this.isContext && !this.isValue;
564
597
  let prefix = this.isContext ? prefixes.context : this.isValue ? prefixes.value : '';
565
598
  this.path = this.key.slice(prefix.length);
566
- this.getter = this.path && propertyExpr.getter(this.path, true);
599
+ this.getter = this.path && propertyExprExports.getter(this.path, true);
567
600
  this.map = options.map;
568
601
  }
569
602
  getValue(value, parent, context) {
@@ -694,7 +727,7 @@ function getIn(schema, path, value, context = value) {
694
727
  parentPath: path,
695
728
  schema
696
729
  };
697
- propertyExpr.forEach(path, (_part, isBracket, isArray) => {
730
+ propertyExprExports.forEach(path, (_part, isBracket, isArray) => {
698
731
  let part = isBracket ? _part.slice(1, _part.length - 1) : _part;
699
732
  schema = schema.resolve({
700
733
  context,
@@ -1743,7 +1776,7 @@ function sortFields(fields, excludedEdges = []) {
1743
1776
  let nodes = new Set();
1744
1777
  let excludes = new Set(excludedEdges.map(([a, b]) => `${a}-${b}`));
1745
1778
  function addNode(depPath, key) {
1746
- let node = propertyExpr.split(depPath)[0];
1779
+ let node = propertyExprExports.split(depPath)[0];
1747
1780
  nodes.add(node);
1748
1781
  if (!excludes.has(`${key}-${node}`)) edges.push([key, node]);
1749
1782
  }
@@ -1752,7 +1785,7 @@ function sortFields(fields, excludedEdges = []) {
1752
1785
  nodes.add(key);
1753
1786
  if (Reference.isRef(value) && value.isSibling) addNode(value.path, key);else if (isSchema(value) && 'deps' in value) value.deps.forEach(path => addNode(path, key));
1754
1787
  }
1755
- return toposort$1.array(Array.from(nodes), edges).reverse();
1788
+ return toposort.array(Array.from(nodes), edges).reverse();
1756
1789
  }
1757
1790
 
1758
1791
  function findIndex(arr, err) {
@@ -1810,10 +1843,10 @@ function deepPartial(schema) {
1810
1843
  return schema;
1811
1844
  }
1812
1845
  const deepHas = (obj, p) => {
1813
- const path = [...propertyExpr.normalizePath(p)];
1846
+ const path = [...propertyExprExports.normalizePath(p)];
1814
1847
  if (path.length === 1) return path[0] in obj;
1815
1848
  let last = path.pop();
1816
- let parent = propertyExpr.getter(propertyExpr.join(path), true)(obj);
1849
+ let parent = propertyExprExports.getter(propertyExprExports.join(path), true)(obj);
1817
1850
  return !!(parent && last in parent);
1818
1851
  };
1819
1852
  let isObject = obj => Object.prototype.toString.call(obj) === '[object Object]';
@@ -2029,7 +2062,7 @@ class ObjectSchema extends Schema {
2029
2062
  return this.pick(remaining);
2030
2063
  }
2031
2064
  from(from, to, alias) {
2032
- let fromGetter = propertyExpr.getter(from, true);
2065
+ let fromGetter = propertyExprExports.getter(from, true);
2033
2066
  return this.transform(obj => {
2034
2067
  if (!obj) return obj;
2035
2068
  let newObj = obj;
@@ -2105,13 +2138,13 @@ class ObjectSchema extends Schema {
2105
2138
  });
2106
2139
  }
2107
2140
  camelCase() {
2108
- return this.transformKeys(tinyCase.camelCase);
2141
+ return this.transformKeys(tinyCaseExports.camelCase);
2109
2142
  }
2110
2143
  snakeCase() {
2111
- return this.transformKeys(tinyCase.snakeCase);
2144
+ return this.transformKeys(tinyCaseExports.snakeCase);
2112
2145
  }
2113
2146
  constantCase() {
2114
- return this.transformKeys(key => tinyCase.snakeCase(key).toUpperCase());
2147
+ return this.transformKeys(key => tinyCaseExports.snakeCase(key).toUpperCase());
2115
2148
  }
2116
2149
  describe(options) {
2117
2150
  const next = (options ? this.resolve(options) : this).clone();
@@ -2133,7 +2166,7 @@ class ObjectSchema extends Schema {
2133
2166
  }
2134
2167
  create$3.prototype = ObjectSchema.prototype;
2135
2168
 
2136
- const version = "0.0.89";
2169
+ const version = "0.0.90";
2137
2170
 
2138
2171
  // This file is auto-generated. Do not edit it manually.
2139
2172
  // Use command: yarn generate-locale-mapper
@@ -2177,14 +2210,14 @@ const localeMapper = {
2177
2210
  ],
2178
2211
  "vehicleLookup": [
2179
2212
  "locales/vehicleLookup/accessories/",
2180
- "locales/vehicleLookup/dynamicClaim/",
2213
+ "locales/vehicleLookup/claimableItems/",
2181
2214
  "locales/vehicleLookup/paintThickness/",
2182
2215
  "locales/vehicleLookup/serviceHistory/",
2183
2216
  "locales/vehicleLookup/specification/",
2184
2217
  "locales/vehicleLookup/warranty/"
2185
2218
  ],
2186
- "vehicleLookup.dynamicClaim": [
2187
- "locales/vehicleLookup/dynamicClaim/"
2219
+ "vehicleLookup.claimableItems": [
2220
+ "locales/vehicleLookup/claimableItems/"
2188
2221
  ],
2189
2222
  "vehicleLookup.paintThickness": [
2190
2223
  "locales/vehicleLookup/paintThickness/"
@@ -2310,11 +2343,21 @@ function recursiveParser(parents, bluePrint, parsedResponseMapper, languageFile)
2310
2343
  async function requestLocaleFile(localeFile) {
2311
2344
  if (cachedLocales[localeFile])
2312
2345
  return await cachedLocales[localeFile];
2313
- const fetchPromise = (fetch(`https://cdn.jsdelivr.net/npm/adp-web-components@${version}/dist/${localeFile}`)).then(res => res.json());
2314
- cachedLocales[localeFile] = fetchPromise;
2315
- const result = await fetchPromise;
2316
- cachedLocales[localeFile] = result;
2317
- return result;
2346
+ try {
2347
+ const fetchPromise = (fetch(`https://cdn.jsdelivr.net/npm/adp-web-components@${version}/dist/${localeFile}`)).then(res => {
2348
+ if (!res.ok)
2349
+ delete cachedLocales[localeFile];
2350
+ return res.json();
2351
+ });
2352
+ cachedLocales[localeFile] = fetchPromise;
2353
+ const result = await fetchPromise;
2354
+ cachedLocales[localeFile] = result;
2355
+ return result;
2356
+ }
2357
+ catch (error) {
2358
+ delete cachedLocales[localeFile];
2359
+ return {};
2360
+ }
2318
2361
  }
2319
2362
 
2320
2363
  exports.create$3 = create$3;