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
@@ -2,305 +2,338 @@
2
2
  * Built by ShiftSoftware
3
3
  * Copyright (c)
4
4
  */
5
- import './index-3a623f7c.js';
5
+ import './index-CikEOqe0.js';
6
+
7
+ function getDefaultExportFromCjs (x) {
8
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
9
+ }
6
10
 
7
11
  /**
8
12
  * Based on Kendo UI Core expression code <https://github.com/telerik/kendo-ui-core#license-information>
9
13
  */
10
14
 
11
- function Cache(maxSize) {
12
- this._maxSize = maxSize;
13
- this.clear();
15
+ var propertyExpr;
16
+ var hasRequiredPropertyExpr;
17
+
18
+ function requirePropertyExpr () {
19
+ if (hasRequiredPropertyExpr) return propertyExpr;
20
+ hasRequiredPropertyExpr = 1;
21
+
22
+ function Cache(maxSize) {
23
+ this._maxSize = maxSize;
24
+ this.clear();
25
+ }
26
+ Cache.prototype.clear = function () {
27
+ this._size = 0;
28
+ this._values = Object.create(null);
29
+ };
30
+ Cache.prototype.get = function (key) {
31
+ return this._values[key]
32
+ };
33
+ Cache.prototype.set = function (key, value) {
34
+ this._size >= this._maxSize && this.clear();
35
+ if (!(key in this._values)) this._size++;
36
+
37
+ return (this._values[key] = value)
38
+ };
39
+
40
+ var SPLIT_REGEX = /[^.^\]^[]+|(?=\[\]|\.\.)/g,
41
+ DIGIT_REGEX = /^\d+$/,
42
+ LEAD_DIGIT_REGEX = /^\d/,
43
+ SPEC_CHAR_REGEX = /[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,
44
+ CLEAN_QUOTES_REGEX = /^\s*(['"]?)(.*?)(\1)\s*$/,
45
+ MAX_CACHE_SIZE = 512;
46
+
47
+ var pathCache = new Cache(MAX_CACHE_SIZE),
48
+ setCache = new Cache(MAX_CACHE_SIZE),
49
+ getCache = new Cache(MAX_CACHE_SIZE);
50
+
51
+ propertyExpr = {
52
+ Cache: Cache,
53
+
54
+ split: split,
55
+
56
+ normalizePath: normalizePath,
57
+
58
+ setter: function (path) {
59
+ var parts = normalizePath(path);
60
+
61
+ return (
62
+ setCache.get(path) ||
63
+ setCache.set(path, function setter(obj, value) {
64
+ var index = 0;
65
+ var len = parts.length;
66
+ var data = obj;
67
+
68
+ while (index < len - 1) {
69
+ var part = parts[index];
70
+ if (
71
+ part === '__proto__' ||
72
+ part === 'constructor' ||
73
+ part === 'prototype'
74
+ ) {
75
+ return obj
76
+ }
77
+
78
+ data = data[parts[index++]];
79
+ }
80
+ data[parts[index]] = value;
81
+ })
82
+ )
83
+ },
84
+
85
+ getter: function (path, safe) {
86
+ var parts = normalizePath(path);
87
+ return (
88
+ getCache.get(path) ||
89
+ getCache.set(path, function getter(data) {
90
+ var index = 0,
91
+ len = parts.length;
92
+ while (index < len) {
93
+ if (data != null || !safe) data = data[parts[index++]];
94
+ else return
95
+ }
96
+ return data
97
+ })
98
+ )
99
+ },
100
+
101
+ join: function (segments) {
102
+ return segments.reduce(function (path, part) {
103
+ return (
104
+ path +
105
+ (isQuoted(part) || DIGIT_REGEX.test(part)
106
+ ? '[' + part + ']'
107
+ : (path ? '.' : '') + part)
108
+ )
109
+ }, '')
110
+ },
111
+
112
+ forEach: function (path, cb, thisArg) {
113
+ forEach(Array.isArray(path) ? path : split(path), cb, thisArg);
114
+ },
115
+ };
116
+
117
+ function normalizePath(path) {
118
+ return (
119
+ pathCache.get(path) ||
120
+ pathCache.set(
121
+ path,
122
+ split(path).map(function (part) {
123
+ return part.replace(CLEAN_QUOTES_REGEX, '$2')
124
+ })
125
+ )
126
+ )
127
+ }
128
+
129
+ function split(path) {
130
+ return path.match(SPLIT_REGEX) || ['']
131
+ }
132
+
133
+ function forEach(parts, iter, thisArg) {
134
+ var len = parts.length,
135
+ part,
136
+ idx,
137
+ isArray,
138
+ isBracket;
139
+
140
+ for (idx = 0; idx < len; idx++) {
141
+ part = parts[idx];
142
+
143
+ if (part) {
144
+ if (shouldBeQuoted(part)) {
145
+ part = '"' + part + '"';
146
+ }
147
+
148
+ isBracket = isQuoted(part);
149
+ isArray = !isBracket && /^\d+$/.test(part);
150
+
151
+ iter.call(thisArg, part, isBracket, isArray, idx, parts);
152
+ }
153
+ }
154
+ }
155
+
156
+ function isQuoted(str) {
157
+ return (
158
+ typeof str === 'string' && str && ["'", '"'].indexOf(str.charAt(0)) !== -1
159
+ )
160
+ }
161
+
162
+ function hasLeadingNumber(part) {
163
+ return part.match(LEAD_DIGIT_REGEX) && !part.match(DIGIT_REGEX)
164
+ }
165
+
166
+ function hasSpecialChars(part) {
167
+ return SPEC_CHAR_REGEX.test(part)
168
+ }
169
+
170
+ function shouldBeQuoted(part) {
171
+ return !isQuoted(part) && (hasLeadingNumber(part) || hasSpecialChars(part))
172
+ }
173
+ return propertyExpr;
14
174
  }
15
- Cache.prototype.clear = function () {
16
- this._size = 0;
17
- this._values = Object.create(null);
18
- };
19
- Cache.prototype.get = function (key) {
20
- return this._values[key]
21
- };
22
- Cache.prototype.set = function (key, value) {
23
- this._size >= this._maxSize && this.clear();
24
- if (!(key in this._values)) this._size++;
25
175
 
26
- return (this._values[key] = value)
27
- };
176
+ var propertyExprExports = requirePropertyExpr();
28
177
 
29
- var SPLIT_REGEX = /[^.^\]^[]+|(?=\[\]|\.\.)/g,
30
- DIGIT_REGEX = /^\d+$/,
31
- LEAD_DIGIT_REGEX = /^\d/,
32
- SPEC_CHAR_REGEX = /[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,
33
- CLEAN_QUOTES_REGEX = /^\s*(['"]?)(.*?)(\1)\s*$/,
34
- MAX_CACHE_SIZE = 512;
35
-
36
- var pathCache = new Cache(MAX_CACHE_SIZE),
37
- setCache = new Cache(MAX_CACHE_SIZE),
38
- getCache = new Cache(MAX_CACHE_SIZE);
39
-
40
- var propertyExpr = {
41
- Cache: Cache,
42
-
43
- split: split,
44
-
45
- normalizePath: normalizePath,
46
-
47
- setter: function (path) {
48
- var parts = normalizePath(path);
49
-
50
- return (
51
- setCache.get(path) ||
52
- setCache.set(path, function setter(obj, value) {
53
- var index = 0;
54
- var len = parts.length;
55
- var data = obj;
56
-
57
- while (index < len - 1) {
58
- var part = parts[index];
59
- if (
60
- part === '__proto__' ||
61
- part === 'constructor' ||
62
- part === 'prototype'
63
- ) {
64
- return obj
65
- }
178
+ var tinyCase;
179
+ var hasRequiredTinyCase;
66
180
 
67
- data = data[parts[index++]];
68
- }
69
- data[parts[index]] = value;
70
- })
71
- )
72
- },
73
-
74
- getter: function (path, safe) {
75
- var parts = normalizePath(path);
76
- return (
77
- getCache.get(path) ||
78
- getCache.set(path, function getter(data) {
79
- var index = 0,
80
- len = parts.length;
81
- while (index < len) {
82
- if (data != null || !safe) data = data[parts[index++]];
83
- else return
84
- }
85
- return data
86
- })
87
- )
88
- },
89
-
90
- join: function (segments) {
91
- return segments.reduce(function (path, part) {
92
- return (
93
- path +
94
- (isQuoted(part) || DIGIT_REGEX.test(part)
95
- ? '[' + part + ']'
96
- : (path ? '.' : '') + part)
97
- )
98
- }, '')
99
- },
100
-
101
- forEach: function (path, cb, thisArg) {
102
- forEach(Array.isArray(path) ? path : split(path), cb, thisArg);
103
- },
104
- };
181
+ function requireTinyCase () {
182
+ if (hasRequiredTinyCase) return tinyCase;
183
+ hasRequiredTinyCase = 1;
184
+ 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;
105
185
 
106
- function normalizePath(path) {
107
- return (
108
- pathCache.get(path) ||
109
- pathCache.set(
110
- path,
111
- split(path).map(function (part) {
112
- return part.replace(CLEAN_QUOTES_REGEX, '$2')
113
- })
114
- )
115
- )
116
- }
186
+ const words = (str) => str.match(reWords) || [];
117
187
 
118
- function split(path) {
119
- return path.match(SPLIT_REGEX) || ['']
120
- }
188
+ const upperFirst = (str) => str[0].toUpperCase() + str.slice(1);
121
189
 
122
- function forEach(parts, iter, thisArg) {
123
- var len = parts.length,
124
- part,
125
- idx,
126
- isArray,
127
- isBracket;
190
+ const join = (str, d) => words(str).join(d).toLowerCase();
128
191
 
129
- for (idx = 0; idx < len; idx++) {
130
- part = parts[idx];
192
+ const camelCase = (str) =>
193
+ words(str).reduce(
194
+ (acc, next) =>
195
+ `${acc}${
196
+ !acc
197
+ ? next.toLowerCase()
198
+ : next[0].toUpperCase() + next.slice(1).toLowerCase()
199
+ }`,
200
+ '',
201
+ );
131
202
 
132
- if (part) {
133
- if (shouldBeQuoted(part)) {
134
- part = '"' + part + '"';
135
- }
203
+ const pascalCase = (str) => upperFirst(camelCase(str));
136
204
 
137
- isBracket = isQuoted(part);
138
- isArray = !isBracket && /^\d+$/.test(part);
205
+ const snakeCase = (str) => join(str, '_');
139
206
 
140
- iter.call(thisArg, part, isBracket, isArray, idx, parts);
141
- }
142
- }
143
- }
207
+ const kebabCase = (str) => join(str, '-');
144
208
 
145
- function isQuoted(str) {
146
- return (
147
- typeof str === 'string' && str && ["'", '"'].indexOf(str.charAt(0)) !== -1
148
- )
149
- }
209
+ const sentenceCase = (str) => upperFirst(join(str, ' '));
150
210
 
151
- function hasLeadingNumber(part) {
152
- return part.match(LEAD_DIGIT_REGEX) && !part.match(DIGIT_REGEX)
153
- }
211
+ const titleCase = (str) => words(str).map(upperFirst).join(' ');
154
212
 
155
- function hasSpecialChars(part) {
156
- return SPEC_CHAR_REGEX.test(part)
213
+ tinyCase = {
214
+ words,
215
+ upperFirst,
216
+ camelCase,
217
+ pascalCase,
218
+ snakeCase,
219
+ kebabCase,
220
+ sentenceCase,
221
+ titleCase,
222
+ };
223
+ return tinyCase;
157
224
  }
158
225
 
159
- function shouldBeQuoted(part) {
160
- return !isQuoted(part) && (hasLeadingNumber(part) || hasSpecialChars(part))
226
+ var tinyCaseExports = requireTinyCase();
227
+
228
+ var toposort$1 = {exports: {}};
229
+
230
+ var hasRequiredToposort;
231
+
232
+ function requireToposort () {
233
+ if (hasRequiredToposort) return toposort$1.exports;
234
+ hasRequiredToposort = 1;
235
+ /**
236
+ * Topological sorting function
237
+ *
238
+ * @param {Array} edges
239
+ * @returns {Array}
240
+ */
241
+
242
+ toposort$1.exports = function(edges) {
243
+ return toposort(uniqueNodes(edges), edges)
244
+ };
245
+
246
+ toposort$1.exports.array = toposort;
247
+
248
+ function toposort(nodes, edges) {
249
+ var cursor = nodes.length
250
+ , sorted = new Array(cursor)
251
+ , visited = {}
252
+ , i = cursor
253
+ // Better data structures make algorithm much faster.
254
+ , outgoingEdges = makeOutgoingEdges(edges)
255
+ , nodesHash = makeNodesHash(nodes);
256
+
257
+ // check for unknown nodes
258
+ edges.forEach(function(edge) {
259
+ if (!nodesHash.has(edge[0]) || !nodesHash.has(edge[1])) {
260
+ throw new Error('Unknown node. There is an unknown node in the supplied edges.')
261
+ }
262
+ });
263
+
264
+ while (i--) {
265
+ if (!visited[i]) visit(nodes[i], i, new Set());
266
+ }
267
+
268
+ return sorted
269
+
270
+ function visit(node, i, predecessors) {
271
+ if(predecessors.has(node)) {
272
+ var nodeRep;
273
+ try {
274
+ nodeRep = ", node was:" + JSON.stringify(node);
275
+ } catch(e) {
276
+ nodeRep = "";
277
+ }
278
+ throw new Error('Cyclic dependency' + nodeRep)
279
+ }
280
+
281
+ if (!nodesHash.has(node)) {
282
+ throw new Error('Found unknown node. Make sure to provided all involved nodes. Unknown node: '+JSON.stringify(node))
283
+ }
284
+
285
+ if (visited[i]) return;
286
+ visited[i] = true;
287
+
288
+ var outgoing = outgoingEdges.get(node) || new Set();
289
+ outgoing = Array.from(outgoing);
290
+
291
+ if (i = outgoing.length) {
292
+ predecessors.add(node);
293
+ do {
294
+ var child = outgoing[--i];
295
+ visit(child, nodesHash.get(child), predecessors);
296
+ } while (i)
297
+ predecessors.delete(node);
298
+ }
299
+
300
+ sorted[--cursor] = node;
301
+ }
302
+ }
303
+
304
+ function uniqueNodes(arr){
305
+ var res = new Set();
306
+ for (var i = 0, len = arr.length; i < len; i++) {
307
+ var edge = arr[i];
308
+ res.add(edge[0]);
309
+ res.add(edge[1]);
310
+ }
311
+ return Array.from(res)
312
+ }
313
+
314
+ function makeOutgoingEdges(arr){
315
+ var edges = new Map();
316
+ for (var i = 0, len = arr.length; i < len; i++) {
317
+ var edge = arr[i];
318
+ if (!edges.has(edge[0])) edges.set(edge[0], new Set());
319
+ if (!edges.has(edge[1])) edges.set(edge[1], new Set());
320
+ edges.get(edge[0]).add(edge[1]);
321
+ }
322
+ return edges
323
+ }
324
+
325
+ function makeNodesHash(arr){
326
+ var res = new Map();
327
+ for (var i = 0, len = arr.length; i < len; i++) {
328
+ res.set(arr[i], i);
329
+ }
330
+ return res
331
+ }
332
+ return toposort$1.exports;
161
333
  }
162
334
 
163
- 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;
164
-
165
- const words = (str) => str.match(reWords) || [];
166
-
167
- const upperFirst = (str) => str[0].toUpperCase() + str.slice(1);
168
-
169
- const join = (str, d) => words(str).join(d).toLowerCase();
170
-
171
- const camelCase = (str) =>
172
- words(str).reduce(
173
- (acc, next) =>
174
- `${acc}${
175
- !acc
176
- ? next.toLowerCase()
177
- : next[0].toUpperCase() + next.slice(1).toLowerCase()
178
- }`,
179
- '',
180
- );
181
-
182
- const pascalCase = (str) => upperFirst(camelCase(str));
183
-
184
- const snakeCase = (str) => join(str, '_');
185
-
186
- const kebabCase = (str) => join(str, '-');
187
-
188
- const sentenceCase = (str) => upperFirst(join(str, ' '));
189
-
190
- const titleCase = (str) => words(str).map(upperFirst).join(' ');
191
-
192
- var tinyCase = {
193
- words,
194
- upperFirst,
195
- camelCase,
196
- pascalCase,
197
- snakeCase,
198
- kebabCase,
199
- sentenceCase,
200
- titleCase,
201
- };
202
-
203
- var toposort$2 = {exports: {}};
204
-
205
- /**
206
- * Topological sorting function
207
- *
208
- * @param {Array} edges
209
- * @returns {Array}
210
- */
211
-
212
- toposort$2.exports = function(edges) {
213
- return toposort(uniqueNodes(edges), edges)
214
- };
215
-
216
- toposort$2.exports.array = toposort;
217
-
218
- function toposort(nodes, edges) {
219
- var cursor = nodes.length
220
- , sorted = new Array(cursor)
221
- , visited = {}
222
- , i = cursor
223
- // Better data structures make algorithm much faster.
224
- , outgoingEdges = makeOutgoingEdges(edges)
225
- , nodesHash = makeNodesHash(nodes);
226
-
227
- // check for unknown nodes
228
- edges.forEach(function(edge) {
229
- if (!nodesHash.has(edge[0]) || !nodesHash.has(edge[1])) {
230
- throw new Error('Unknown node. There is an unknown node in the supplied edges.')
231
- }
232
- });
233
-
234
- while (i--) {
235
- if (!visited[i]) visit(nodes[i], i, new Set());
236
- }
237
-
238
- return sorted
239
-
240
- function visit(node, i, predecessors) {
241
- if(predecessors.has(node)) {
242
- var nodeRep;
243
- try {
244
- nodeRep = ", node was:" + JSON.stringify(node);
245
- } catch(e) {
246
- nodeRep = "";
247
- }
248
- throw new Error('Cyclic dependency' + nodeRep)
249
- }
250
-
251
- if (!nodesHash.has(node)) {
252
- throw new Error('Found unknown node. Make sure to provided all involved nodes. Unknown node: '+JSON.stringify(node))
253
- }
254
-
255
- if (visited[i]) return;
256
- visited[i] = true;
257
-
258
- var outgoing = outgoingEdges.get(node) || new Set();
259
- outgoing = Array.from(outgoing);
260
-
261
- if (i = outgoing.length) {
262
- predecessors.add(node);
263
- do {
264
- var child = outgoing[--i];
265
- visit(child, nodesHash.get(child), predecessors);
266
- } while (i)
267
- predecessors.delete(node);
268
- }
269
-
270
- sorted[--cursor] = node;
271
- }
272
- }
273
-
274
- function uniqueNodes(arr){
275
- var res = new Set();
276
- for (var i = 0, len = arr.length; i < len; i++) {
277
- var edge = arr[i];
278
- res.add(edge[0]);
279
- res.add(edge[1]);
280
- }
281
- return Array.from(res)
282
- }
283
-
284
- function makeOutgoingEdges(arr){
285
- var edges = new Map();
286
- for (var i = 0, len = arr.length; i < len; i++) {
287
- var edge = arr[i];
288
- if (!edges.has(edge[0])) edges.set(edge[0], new Set());
289
- if (!edges.has(edge[1])) edges.set(edge[1], new Set());
290
- edges.get(edge[0]).add(edge[1]);
291
- }
292
- return edges
293
- }
294
-
295
- function makeNodesHash(arr){
296
- var res = new Map();
297
- for (var i = 0, len = arr.length; i < len; i++) {
298
- res.set(arr[i], i);
299
- }
300
- return res
301
- }
302
-
303
- const toposort$1 = toposort$2.exports;
335
+ var toposortExports = requireToposort();
336
+ var toposort = /*@__PURE__*/getDefaultExportFromCjs(toposortExports);
304
337
 
305
338
  const toString = Object.prototype.toString;
306
339
  const errorToString = Error.prototype.toString;
@@ -561,7 +594,7 @@ class Reference {
561
594
  this.isSibling = !this.isContext && !this.isValue;
562
595
  let prefix = this.isContext ? prefixes.context : this.isValue ? prefixes.value : '';
563
596
  this.path = this.key.slice(prefix.length);
564
- this.getter = this.path && propertyExpr.getter(this.path, true);
597
+ this.getter = this.path && propertyExprExports.getter(this.path, true);
565
598
  this.map = options.map;
566
599
  }
567
600
  getValue(value, parent, context) {
@@ -692,7 +725,7 @@ function getIn(schema, path, value, context = value) {
692
725
  parentPath: path,
693
726
  schema
694
727
  };
695
- propertyExpr.forEach(path, (_part, isBracket, isArray) => {
728
+ propertyExprExports.forEach(path, (_part, isBracket, isArray) => {
696
729
  let part = isBracket ? _part.slice(1, _part.length - 1) : _part;
697
730
  schema = schema.resolve({
698
731
  context,
@@ -1741,7 +1774,7 @@ function sortFields(fields, excludedEdges = []) {
1741
1774
  let nodes = new Set();
1742
1775
  let excludes = new Set(excludedEdges.map(([a, b]) => `${a}-${b}`));
1743
1776
  function addNode(depPath, key) {
1744
- let node = propertyExpr.split(depPath)[0];
1777
+ let node = propertyExprExports.split(depPath)[0];
1745
1778
  nodes.add(node);
1746
1779
  if (!excludes.has(`${key}-${node}`)) edges.push([key, node]);
1747
1780
  }
@@ -1750,7 +1783,7 @@ function sortFields(fields, excludedEdges = []) {
1750
1783
  nodes.add(key);
1751
1784
  if (Reference.isRef(value) && value.isSibling) addNode(value.path, key);else if (isSchema(value) && 'deps' in value) value.deps.forEach(path => addNode(path, key));
1752
1785
  }
1753
- return toposort$1.array(Array.from(nodes), edges).reverse();
1786
+ return toposort.array(Array.from(nodes), edges).reverse();
1754
1787
  }
1755
1788
 
1756
1789
  function findIndex(arr, err) {
@@ -1808,10 +1841,10 @@ function deepPartial(schema) {
1808
1841
  return schema;
1809
1842
  }
1810
1843
  const deepHas = (obj, p) => {
1811
- const path = [...propertyExpr.normalizePath(p)];
1844
+ const path = [...propertyExprExports.normalizePath(p)];
1812
1845
  if (path.length === 1) return path[0] in obj;
1813
1846
  let last = path.pop();
1814
- let parent = propertyExpr.getter(propertyExpr.join(path), true)(obj);
1847
+ let parent = propertyExprExports.getter(propertyExprExports.join(path), true)(obj);
1815
1848
  return !!(parent && last in parent);
1816
1849
  };
1817
1850
  let isObject = obj => Object.prototype.toString.call(obj) === '[object Object]';
@@ -2027,7 +2060,7 @@ class ObjectSchema extends Schema {
2027
2060
  return this.pick(remaining);
2028
2061
  }
2029
2062
  from(from, to, alias) {
2030
- let fromGetter = propertyExpr.getter(from, true);
2063
+ let fromGetter = propertyExprExports.getter(from, true);
2031
2064
  return this.transform(obj => {
2032
2065
  if (!obj) return obj;
2033
2066
  let newObj = obj;
@@ -2103,13 +2136,13 @@ class ObjectSchema extends Schema {
2103
2136
  });
2104
2137
  }
2105
2138
  camelCase() {
2106
- return this.transformKeys(tinyCase.camelCase);
2139
+ return this.transformKeys(tinyCaseExports.camelCase);
2107
2140
  }
2108
2141
  snakeCase() {
2109
- return this.transformKeys(tinyCase.snakeCase);
2142
+ return this.transformKeys(tinyCaseExports.snakeCase);
2110
2143
  }
2111
2144
  constantCase() {
2112
- return this.transformKeys(key => tinyCase.snakeCase(key).toUpperCase());
2145
+ return this.transformKeys(key => tinyCaseExports.snakeCase(key).toUpperCase());
2113
2146
  }
2114
2147
  describe(options) {
2115
2148
  const next = (options ? this.resolve(options) : this).clone();
@@ -2131,7 +2164,7 @@ class ObjectSchema extends Schema {
2131
2164
  }
2132
2165
  create$3.prototype = ObjectSchema.prototype;
2133
2166
 
2134
- const version = "0.0.89";
2167
+ const version = "0.0.90";
2135
2168
 
2136
2169
  // This file is auto-generated. Do not edit it manually.
2137
2170
  // Use command: yarn generate-locale-mapper
@@ -2175,14 +2208,14 @@ const localeMapper = {
2175
2208
  ],
2176
2209
  "vehicleLookup": [
2177
2210
  "locales/vehicleLookup/accessories/",
2178
- "locales/vehicleLookup/dynamicClaim/",
2211
+ "locales/vehicleLookup/claimableItems/",
2179
2212
  "locales/vehicleLookup/paintThickness/",
2180
2213
  "locales/vehicleLookup/serviceHistory/",
2181
2214
  "locales/vehicleLookup/specification/",
2182
2215
  "locales/vehicleLookup/warranty/"
2183
2216
  ],
2184
- "vehicleLookup.dynamicClaim": [
2185
- "locales/vehicleLookup/dynamicClaim/"
2217
+ "vehicleLookup.claimableItems": [
2218
+ "locales/vehicleLookup/claimableItems/"
2186
2219
  ],
2187
2220
  "vehicleLookup.paintThickness": [
2188
2221
  "locales/vehicleLookup/paintThickness/"
@@ -2308,11 +2341,21 @@ function recursiveParser(parents, bluePrint, parsedResponseMapper, languageFile)
2308
2341
  async function requestLocaleFile(localeFile) {
2309
2342
  if (cachedLocales[localeFile])
2310
2343
  return await cachedLocales[localeFile];
2311
- const fetchPromise = (fetch(`https://cdn.jsdelivr.net/npm/adp-web-components@${version}/dist/${localeFile}`)).then(res => res.json());
2312
- cachedLocales[localeFile] = fetchPromise;
2313
- const result = await fetchPromise;
2314
- cachedLocales[localeFile] = result;
2315
- return result;
2344
+ try {
2345
+ const fetchPromise = (fetch(`https://cdn.jsdelivr.net/npm/adp-web-components@${version}/dist/${localeFile}`)).then(res => {
2346
+ if (!res.ok)
2347
+ delete cachedLocales[localeFile];
2348
+ return res.json();
2349
+ });
2350
+ cachedLocales[localeFile] = fetchPromise;
2351
+ const result = await fetchPromise;
2352
+ cachedLocales[localeFile] = result;
2353
+ return result;
2354
+ }
2355
+ catch (error) {
2356
+ delete cachedLocales[localeFile];
2357
+ return {};
2358
+ }
2316
2359
  }
2317
2360
 
2318
- export { create$6 as a, getSharedLocal as b, create$3 as c, getLocaleLanguage as g, sharedLocalesSchema as s, yupTypeMapper as y };
2361
+ export { getSharedLocal as a, create$6 as b, create$3 as c, getLocaleLanguage as g, sharedLocalesSchema as s, yupTypeMapper as y };