adp-web-components 0.0.89 → 0.0.91

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 (527) hide show
  1. package/dist/cjs/activation-icon-DEYW0itX.js +16 -0
  2. package/dist/cjs/cn-BHnqYtun.js +2597 -0
  3. package/dist/cjs/contact-us-form.cjs.entry.js +11 -22
  4. package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +287 -347
  5. package/dist/cjs/empty-table-icon-PdTX6gpI.js +16 -0
  6. package/dist/cjs/flexible-container.cjs.entry.js +131 -0
  7. package/dist/cjs/form-dialog_8.cjs.entry.js +44 -100
  8. package/dist/cjs/{get-local-language-e539cfdc.js → get-local-language-AedNCS4v.js} +375 -332
  9. package/dist/cjs/{index-a8de3655.js → index-BjyafrBw.js} +525 -288
  10. package/dist/cjs/information-table.cjs.entry.js +43 -0
  11. package/dist/cjs/loader.cjs.js +3 -6
  12. package/dist/cjs/loading-spinner.cjs.entry.js +6 -10
  13. package/dist/cjs/material-card-Cd0L1Get.js +43 -0
  14. package/dist/cjs/part-lookup.cjs.entry.js +39 -25
  15. package/dist/cjs/service-booking-form.cjs.entry.js +10 -21
  16. package/dist/cjs/shift-accordion.cjs.entry.js +29 -0
  17. package/dist/cjs/shift-components.cjs.js +7 -8
  18. package/dist/cjs/shift-slider.cjs.entry.js +70 -0
  19. package/dist/cjs/shift-tab-content.cjs.entry.js +42 -0
  20. package/dist/cjs/shift-tabs_2.cjs.entry.js +332 -0
  21. package/dist/cjs/{type-3d22f1fc.js → type-A-Wi_ktA.js} +50 -1
  22. package/dist/cjs/{type-3183db65.js → type-Dm3JBAef.js} +32 -123
  23. package/dist/cjs/{type-c576b922.js → type-ooYU2cCM.js} +4 -4
  24. package/dist/cjs/vehicle-accessories_6.cjs.entry.js +1206 -0
  25. package/dist/cjs/vehicle-info-layout-Dp2Po_uc.js +16 -0
  26. package/dist/cjs/vehicle-lookup.cjs.entry.js +62 -49
  27. package/dist/cjs/vin-extractor.cjs.entry.js +24 -34
  28. package/dist/collection/collection-manifest.json +19 -13
  29. package/dist/collection/components/components/card-content.js +7 -0
  30. package/dist/collection/components/components/flexible-container.css +1 -0
  31. package/dist/collection/components/components/flexible-container.js +315 -0
  32. package/dist/collection/components/components/information-table.css +1 -0
  33. package/dist/collection/components/components/information-table.js +180 -0
  34. package/dist/collection/components/components/loading-spinner.css +1 -1
  35. package/dist/collection/components/components/loading-spinner.js +4 -5
  36. package/dist/collection/components/components/material-card.js +34 -0
  37. package/dist/collection/components/{vehicle-lookup/service-history.css → components/shift-accordion.css} +1 -1
  38. package/dist/collection/components/components/shift-accordion.js +102 -0
  39. package/dist/collection/components/components/shift-slider.css +1 -0
  40. package/dist/collection/components/components/shift-slider.js +95 -0
  41. package/dist/collection/components/components/shift-tab-content.css +1 -0
  42. package/dist/collection/components/components/shift-tab-content.js +98 -0
  43. package/dist/collection/components/components/shift-tabs.css +1 -0
  44. package/dist/collection/components/components/shift-tabs.js +140 -0
  45. package/dist/collection/components/form-elements/form-dialog.css +1 -1
  46. package/dist/collection/components/form-elements/form-dialog.js +16 -12
  47. package/dist/collection/components/form-elements/form-input.css +1 -1
  48. package/dist/collection/components/form-elements/form-input.js +45 -29
  49. package/dist/collection/components/form-elements/form-select.css +1 -1
  50. package/dist/collection/components/form-elements/form-select.js +57 -41
  51. package/dist/collection/components/form-elements/form-shadow-input.css +1 -1
  52. package/dist/collection/components/form-elements/form-shadow-input.js +11 -9
  53. package/dist/collection/components/form-elements/form-structure-error.css +1 -1
  54. package/dist/collection/components/form-elements/form-structure-error.js +7 -5
  55. package/dist/collection/components/form-elements/form-structure.css +1 -1
  56. package/dist/collection/components/form-elements/form-structure.js +32 -16
  57. package/dist/collection/components/form-elements/form-submit.css +1 -1
  58. package/dist/collection/components/form-elements/form-submit.js +18 -10
  59. package/dist/collection/components/form-elements/form-text-area.css +1 -1
  60. package/dist/collection/components/form-elements/form-text-area.js +36 -23
  61. package/dist/collection/components/forms/contact-us/element-mapper.js +1 -1
  62. package/dist/collection/components/forms/contact-us/form.css +1 -1
  63. package/dist/collection/components/forms/contact-us-form.js +39 -24
  64. package/dist/collection/components/forms/service-booking/element-mapper.js +1 -1
  65. package/dist/collection/components/forms/service-booking-form.js +39 -24
  66. package/dist/collection/components/part-lookup/components/dead-stock-item.js +15 -0
  67. package/dist/collection/components/part-lookup/dead-stock-lookup.css +1 -1
  68. package/dist/collection/components/part-lookup/dead-stock-lookup.js +179 -188
  69. package/dist/collection/components/part-lookup/distributor-lookup.css +1 -1
  70. package/dist/collection/components/part-lookup/distributor-lookup.js +221 -236
  71. package/dist/collection/components/part-lookup/manufacturer-lookup.css +1 -1
  72. package/dist/collection/components/part-lookup/manufacturer-lookup.js +194 -234
  73. package/dist/collection/components/part-lookup/part-lookup.css +1 -1
  74. package/dist/collection/components/part-lookup/part-lookup.js +152 -66
  75. package/dist/collection/components/vehicle-lookup/components/CardsContainer.js +5 -5
  76. package/dist/collection/components/vehicle-lookup/components/StatusCard.js +4 -4
  77. package/dist/collection/components/vehicle-lookup/components/claimable-item-popover.js +73 -0
  78. package/dist/collection/components/vehicle-lookup/components/claimable-item.js +27 -0
  79. package/dist/collection/components/vehicle-lookup/vehicle-accessories.css +1 -1
  80. package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +170 -197
  81. package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.css +1 -0
  82. package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.js +826 -0
  83. package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.css +1 -0
  84. package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.js +542 -0
  85. package/dist/collection/components/vehicle-lookup/vehicle-lookup.css +1 -1
  86. package/dist/collection/components/vehicle-lookup/vehicle-lookup.js +171 -98
  87. package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.css +1 -0
  88. package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.js +384 -0
  89. package/dist/collection/components/vehicle-lookup/vehicle-service-history.css +1 -0
  90. package/dist/collection/components/vehicle-lookup/vehicle-service-history.js +390 -0
  91. package/dist/collection/components/vehicle-lookup/vehicle-specification.css +1 -1
  92. package/dist/collection/components/vehicle-lookup/vehicle-specification.js +145 -181
  93. package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.css +1 -0
  94. package/dist/collection/components/vehicle-lookup/{warranty-details.js → vehicle-warranty-details.js} +315 -277
  95. package/dist/collection/components/vin-extractor/vin-extractor.js +72 -42
  96. package/dist/collection/{global/lib/image-expansion.js → features/image-viewer/image-viewer-logic.js} +15 -11
  97. package/dist/collection/features/image-viewer/image-viewer.js +9 -0
  98. package/dist/collection/features/image-viewer/index.js +7 -0
  99. package/dist/collection/{global/lib → features/multi-lingual}/get-local-language.js +16 -10
  100. package/dist/collection/features/multi-lingual/index.js +7 -0
  101. package/dist/collection/features/multi-lingual/interface.js +1 -0
  102. package/dist/collection/{global/types/locale.js → features/multi-lingual/types.js} +6 -0
  103. package/dist/collection/features/part-lookup-components/index.js +7 -0
  104. package/dist/collection/features/part-lookup-components/interface.js +1 -0
  105. package/dist/collection/features/part-lookup-components/part-lookup-api-integration.js +84 -0
  106. package/dist/collection/features/part-lookup-components/types.js +1 -0
  107. package/dist/collection/features/vehicle-info-layout/index.js +6 -0
  108. package/dist/collection/features/vehicle-info-layout/interface.js +1 -0
  109. package/dist/collection/features/vehicle-info-layout/vehicle-info-layout.js +7 -0
  110. package/dist/collection/features/vehicle-lookup-component/index.js +7 -0
  111. package/dist/collection/features/vehicle-lookup-component/interface.js +1 -0
  112. package/dist/collection/features/vehicle-lookup-component/types.js +17 -0
  113. package/dist/collection/features/vehicle-lookup-component/vehicle-lookup-api-integration.js +87 -0
  114. package/dist/collection/global/assets/activation-icon.js +6 -0
  115. package/dist/collection/global/assets/add-icon.js +6 -0
  116. package/dist/collection/global/assets/alert-icon.js +6 -0
  117. package/dist/collection/global/assets/arrow-up-icon.js +6 -0
  118. package/dist/collection/global/assets/attach-icon.js +6 -0
  119. package/dist/collection/global/assets/check-icon.js +6 -0
  120. package/dist/collection/global/assets/empty-table-icon.js +6 -0
  121. package/dist/collection/global/assets/form-submit-svg.js +6 -0
  122. package/dist/collection/global/assets/print-icon.js +6 -0
  123. package/dist/collection/global/assets/triangle-icon.js +6 -0
  124. package/dist/collection/global/lib/children-with-tag.js +24 -0
  125. package/dist/collection/global/lib/container-has-tag.js +28 -0
  126. package/dist/collection/global/lib/parents-with-tag.js +22 -0
  127. package/dist/collection/global/lib/scroll-into-container-view.js +16 -0
  128. package/dist/collection/global/types/generated/part/branch-dead-stock-dto.js +1 -0
  129. package/dist/collection/global/types/generated/part/dead-stock-dto.js +1 -0
  130. package/dist/collection/global/types/generated/part/hs-code-dto.js +1 -0
  131. package/dist/collection/global/types/generated/part/part-lookup-dto.js +1 -0
  132. package/dist/collection/global/types/generated/part/part-price-dto.js +1 -0
  133. package/dist/collection/global/types/generated/part/price-dto.js +1 -0
  134. package/dist/collection/global/types/generated/part/stock-part-dto.js +1 -0
  135. package/dist/collection/global/types/generated/vehicle-lookup/accessory-dto.js +1 -0
  136. package/dist/collection/global/types/generated/vehicle-lookup/paint-thickness-dto.js +1 -0
  137. package/dist/collection/global/types/generated/vehicle-lookup/paint-thickness-image-dto.js +1 -0
  138. package/dist/collection/global/types/generated/vehicle-lookup/paint-thickness-part-dto.js +1 -0
  139. package/dist/collection/global/types/generated/vehicle-lookup/ssc-dto.js +1 -0
  140. package/dist/collection/global/types/generated/vehicle-lookup/ssc-labor-dto.js +1 -0
  141. package/dist/collection/global/types/generated/vehicle-lookup/ssc-part-dto.js +1 -0
  142. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-broker-sale-information.js +1 -0
  143. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-identifiers-dto.js +1 -0
  144. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-labor-dto.js +1 -0
  145. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-lookup-dto.js +1 -0
  146. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-part-dto.js +1 -0
  147. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-sale-information.js +1 -0
  148. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-history-dto.js +1 -0
  149. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-item-dto.js +1 -0
  150. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-item-group.js +1 -0
  151. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-specification-dto.js +1 -0
  152. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-variant-info-dto.js +1 -0
  153. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-warranty-dto.js +1 -0
  154. package/dist/collection/locale-mapper.js +3 -3
  155. package/dist/collection/locales/partLookup/manufacturer/type.js +3 -3
  156. package/dist/collection/locales/vehicleLookup/{dynamicClaim → claimableItems}/type.js +10 -6
  157. package/dist/collection/locales/vehicleLookup/warranty/type.js +1 -0
  158. package/dist/collection/locales/vehicleLookup/wrapper-type.js +2 -2
  159. package/dist/collection/templates/part-lookup/mock-data.js +99 -16
  160. package/dist/collection/templates/vehicle-lookup/mock-data.js +228 -191
  161. package/dist/collection/templates/vehicle-lookup/warranty-mock-data.js +45 -27
  162. package/dist/components/contact-us-form.js +1 -1
  163. package/dist/components/dead-stock-lookup.js +1 -1
  164. package/dist/components/distributor-lookup.js +1 -1
  165. package/dist/components/flexible-container.d.ts +11 -0
  166. package/dist/components/flexible-container.js +5 -0
  167. package/dist/components/form-dialog.js +1 -1
  168. package/dist/components/form-input.js +1 -1
  169. package/dist/components/form-select.js +1 -1
  170. package/dist/components/form-shadow-input.js +1 -1
  171. package/dist/components/form-structure-error.js +1 -1
  172. package/dist/components/form-structure.js +1 -1
  173. package/dist/components/form-submit.js +1 -1
  174. package/dist/components/form-text-area.js +1 -1
  175. package/dist/components/index.js +1 -1
  176. package/dist/components/{paint-thickness.d.ts → information-table.d.ts} +4 -4
  177. package/dist/components/information-table.js +5 -0
  178. package/dist/components/loading-spinner.js +1 -1
  179. package/dist/components/manufacturer-lookup.js +1 -1
  180. package/dist/components/p-B1fdQNyr.js +5 -0
  181. package/dist/components/p-BK16Cn81.js +5 -0
  182. package/dist/components/p-BkfCVIF9.js +5 -0
  183. package/dist/components/p-BsHunqQT.js +5 -0
  184. package/dist/components/p-BwUMwWdE.js +5 -0
  185. package/dist/components/p-C4zpDhOi.js +5 -0
  186. package/dist/components/p-CHE0gMDU.js +5 -0
  187. package/dist/components/p-CRB_syll.js +5 -0
  188. package/dist/components/p-CV6-hCEd.js +5 -0
  189. package/dist/components/p-CYfVWbdE.js +5 -0
  190. package/dist/components/{p-c981ee34.js → p-CYs-Cfbz.js} +1 -1
  191. package/dist/components/p-Ce4X3l8Z.js +5 -0
  192. package/dist/components/p-CffGxxO4.js +5 -0
  193. package/dist/components/p-CgP_rdz5.js +5 -0
  194. package/dist/components/p-CmuF1zVa.js +5 -0
  195. package/dist/components/p-DPxUsrGL.js +5 -0
  196. package/dist/components/p-DSIG_p-W.js +5 -0
  197. package/dist/components/p-DXHFdZX_.js +5 -0
  198. package/dist/components/p-Dkva9a7P.js +5 -0
  199. package/dist/components/p-DrFf_ORZ.js +5 -0
  200. package/dist/components/p-DsfktPnM.js +5 -0
  201. package/dist/components/p-DyWp9Iox.js +5 -0
  202. package/dist/components/p-Fudjizxb.js +5 -0
  203. package/dist/components/p-P3fAKtye.js +5 -0
  204. package/dist/components/p-QtVWfPMe.js +5 -0
  205. package/dist/components/p-THNpWs_W.js +5 -0
  206. package/dist/components/p-gwgMa4kM.js +5 -0
  207. package/dist/components/p-iCYlD4i9.js +5 -0
  208. package/dist/components/p-kp6CyIhI.js +5 -0
  209. package/dist/components/p-nBbuIowK.js +5 -0
  210. package/dist/components/p-piZ41_ho.js +5 -0
  211. package/dist/components/p-qw7FLuM-.js +5 -0
  212. package/dist/components/p-vhsj8wEw.js +5 -0
  213. package/dist/components/p-zDS3r6-j.js +5 -0
  214. package/dist/components/part-lookup.js +1 -1
  215. package/dist/components/service-booking-form.js +1 -1
  216. package/dist/components/{service-history.d.ts → shift-accordion.d.ts} +4 -4
  217. package/dist/components/shift-accordion.js +5 -0
  218. package/dist/components/{dynamic-claim.d.ts → shift-slider.d.ts} +4 -4
  219. package/dist/components/shift-slider.js +5 -0
  220. package/dist/components/{warranty-details.d.ts → shift-tab-content.d.ts} +4 -4
  221. package/dist/components/shift-tab-content.js +5 -0
  222. package/dist/components/{dynamic-redeem.d.ts → shift-tabs.d.ts} +4 -4
  223. package/dist/components/shift-tabs.js +5 -0
  224. package/dist/components/vehicle-accessories.js +1 -1
  225. package/dist/components/vehicle-claimable-items.d.ts +11 -0
  226. package/dist/components/vehicle-claimable-items.js +5 -0
  227. package/dist/components/vehicle-item-claim-form.d.ts +11 -0
  228. package/dist/components/vehicle-item-claim-form.js +5 -0
  229. package/dist/components/vehicle-lookup.js +1 -1
  230. package/dist/components/vehicle-paint-thickness.d.ts +11 -0
  231. package/dist/components/vehicle-paint-thickness.js +5 -0
  232. package/dist/components/vehicle-service-history.d.ts +11 -0
  233. package/dist/components/vehicle-service-history.js +5 -0
  234. package/dist/components/vehicle-specification.js +1 -1
  235. package/dist/components/vehicle-warranty-details.d.ts +11 -0
  236. package/dist/components/vehicle-warranty-details.js +5 -0
  237. package/dist/components/vin-extractor.js +1 -1
  238. package/dist/esm/activation-icon-7GJaxZ20.js +14 -0
  239. package/dist/esm/cn-BK16Cn81.js +2595 -0
  240. package/dist/esm/contact-us-form.entry.js +11 -20
  241. package/dist/esm/dead-stock-lookup_3.entry.js +287 -345
  242. package/dist/esm/empty-table-icon-DvQk12N9.js +14 -0
  243. package/dist/esm/flexible-container.entry.js +129 -0
  244. package/dist/esm/form-dialog_8.entry.js +44 -98
  245. package/dist/esm/{get-local-language-e286080a.js → get-local-language-DuHpVAu5.js} +376 -333
  246. package/dist/esm/{index-3a623f7c.js → index-CikEOqe0.js} +524 -268
  247. package/dist/esm/information-table.entry.js +41 -0
  248. package/dist/esm/loader.js +3 -4
  249. package/dist/esm/loading-spinner.entry.js +6 -8
  250. package/dist/esm/material-card-DiAl-884.js +40 -0
  251. package/dist/esm/part-lookup.entry.js +39 -23
  252. package/dist/esm/service-booking-form.entry.js +10 -19
  253. package/dist/esm/shift-accordion.entry.js +27 -0
  254. package/dist/esm/shift-components.js +5 -5
  255. package/dist/esm/shift-slider.entry.js +68 -0
  256. package/dist/esm/shift-tab-content.entry.js +40 -0
  257. package/dist/esm/shift-tabs_2.entry.js +329 -0
  258. package/dist/esm/{type-68307857.js → type-B6613elJ.js} +32 -123
  259. package/dist/esm/{type-1d1a2052.js → type-CFBDfJID.js} +5 -5
  260. package/dist/esm/type-CnAEgqjH.js +82 -0
  261. package/dist/esm/vehicle-accessories_6.entry.js +1199 -0
  262. package/dist/esm/vehicle-info-layout-CNGGKAia.js +14 -0
  263. package/dist/esm/vehicle-lookup.entry.js +62 -47
  264. package/dist/esm/vin-extractor.entry.js +24 -32
  265. package/dist/locales/errors/ru.json +10 -10
  266. package/dist/locales/partLookup/deadStock/ru.json +3 -3
  267. package/dist/locales/partLookup/distributor/ru.json +14 -14
  268. package/dist/locales/partLookup/manufacturer/ar.json +3 -3
  269. package/dist/locales/partLookup/manufacturer/en.json +3 -3
  270. package/dist/locales/partLookup/manufacturer/ku.json +3 -3
  271. package/dist/locales/partLookup/manufacturer/ru.json +15 -15
  272. package/dist/locales/partLookup/manufacturer/type.ts +3 -3
  273. package/dist/locales/vehicleLookup/accessories/ru.json +6 -6
  274. package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/ar.json +7 -3
  275. package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/en.json +5 -1
  276. package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/ku.json +7 -3
  277. package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/ru.json +11 -7
  278. package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/type.ts +11 -7
  279. package/dist/locales/vehicleLookup/paintThickness/ru.json +7 -7
  280. package/dist/locales/vehicleLookup/serviceHistory/ru.json +8 -8
  281. package/dist/locales/vehicleLookup/specification/ru.json +8 -8
  282. package/dist/locales/vehicleLookup/warranty/ar.json +1 -0
  283. package/dist/locales/vehicleLookup/warranty/en.json +1 -0
  284. package/dist/locales/vehicleLookup/warranty/ku.json +1 -0
  285. package/dist/locales/vehicleLookup/warranty/ru.json +17 -16
  286. package/dist/locales/vehicleLookup/warranty/type.ts +1 -0
  287. package/dist/locales/vehicleLookup/wrapper-type.ts +2 -2
  288. package/dist/shift-components/p-010b5793.entry.js +5 -0
  289. package/dist/shift-components/p-03483842.entry.js +5 -0
  290. package/dist/shift-components/p-0a55771f.entry.js +5 -0
  291. package/dist/shift-components/p-0c8bbdd0.entry.js +5 -0
  292. package/dist/shift-components/p-20bdbcb5.entry.js +5 -0
  293. package/dist/shift-components/p-238f5df0.entry.js +5 -0
  294. package/dist/shift-components/p-42218765.entry.js +5 -0
  295. package/dist/shift-components/p-526a4ff7.entry.js +5 -0
  296. package/dist/shift-components/p-701e3fb0.entry.js +5 -0
  297. package/dist/shift-components/p-7225e52b.entry.js +5 -0
  298. package/dist/shift-components/p-BK16Cn81.js +5 -0
  299. package/dist/shift-components/p-BSpTbUWi.js +5 -0
  300. package/dist/shift-components/p-CC-dsMaG.js +5 -0
  301. package/dist/shift-components/p-CikEOqe0.js +6 -0
  302. package/dist/shift-components/p-CsAICJSF.js +5 -0
  303. package/dist/shift-components/p-CxstRFDI.js +5 -0
  304. package/dist/shift-components/p-DF2jCW4D.js +5 -0
  305. package/dist/shift-components/p-DdH9nNoC.js +5 -0
  306. package/dist/shift-components/p-Wtw8qj6x.js +5 -0
  307. package/dist/shift-components/p-a76db330.entry.js +5 -0
  308. package/dist/shift-components/p-d46b0857.entry.js +5 -0
  309. package/dist/shift-components/p-d843769d.entry.js +5 -0
  310. package/dist/shift-components/p-ebc23eef.entry.js +5 -0
  311. package/dist/shift-components/p-ef9ad340.entry.js +5 -0
  312. package/dist/shift-components/p-fyqwD4fB.js +5 -0
  313. package/dist/shift-components/shift-components.esm.js +1 -1
  314. package/dist/types/components/components/card-content.d.ts +10 -0
  315. package/dist/types/components/components/flexible-container.d.ts +27 -0
  316. package/dist/types/components/components/information-table.d.ts +22 -0
  317. package/dist/types/components/components/material-card.d.ts +16 -0
  318. package/dist/types/components/components/shift-accordion.d.ts +13 -0
  319. package/dist/types/components/components/shift-slider.d.ts +11 -0
  320. package/dist/types/components/components/shift-tab-content.d.ts +12 -0
  321. package/dist/types/components/components/shift-tabs.d.ts +12 -0
  322. package/dist/types/components/form-elements/form-dialog.d.ts +1 -2
  323. package/dist/types/components/form-elements/form-input.d.ts +1 -2
  324. package/dist/types/components/form-elements/form-select.d.ts +1 -2
  325. package/dist/types/components/form-elements/form-structure-error.d.ts +1 -2
  326. package/dist/types/components/form-elements/form-structure.d.ts +2 -3
  327. package/dist/types/components/form-elements/form-submit.d.ts +1 -1
  328. package/dist/types/components/form-elements/form-text-area.d.ts +1 -1
  329. package/dist/types/components/forms/contact-us-form.d.ts +1 -1
  330. package/dist/types/components/forms/service-booking-form.d.ts +1 -1
  331. package/dist/types/components/part-lookup/components/dead-stock-item.d.ts +14 -0
  332. package/dist/types/components/part-lookup/dead-stock-lookup.d.ts +26 -24
  333. package/dist/types/components/part-lookup/distributor-lookup.d.ts +25 -26
  334. package/dist/types/components/part-lookup/manufacturer-lookup.d.ts +25 -27
  335. package/dist/types/components/part-lookup/part-lookup.d.ts +17 -12
  336. package/dist/types/components/vehicle-lookup/components/CardsContainer.d.ts +5 -4
  337. package/dist/types/components/vehicle-lookup/components/StatusCard.d.ts +4 -2
  338. package/dist/types/components/vehicle-lookup/components/claimable-item-popover.d.ts +17 -0
  339. package/dist/types/components/vehicle-lookup/components/claimable-item.d.ts +12 -0
  340. package/dist/types/components/vehicle-lookup/vehicle-accessories.d.ts +25 -29
  341. package/dist/types/components/vehicle-lookup/vehicle-claimable-items.d.ts +72 -0
  342. package/dist/types/components/vehicle-lookup/vehicle-item-claim-form.d.ts +54 -0
  343. package/dist/types/components/vehicle-lookup/vehicle-lookup.d.ts +27 -24
  344. package/dist/types/components/vehicle-lookup/vehicle-paint-thickness.d.ts +35 -0
  345. package/dist/types/components/vehicle-lookup/vehicle-service-history.d.ts +32 -0
  346. package/dist/types/components/vehicle-lookup/vehicle-specification.d.ts +22 -23
  347. package/dist/types/components/vehicle-lookup/{warranty-details.d.ts → vehicle-warranty-details.d.ts} +28 -31
  348. package/dist/types/components/vin-extractor/vin-extractor.d.ts +2 -2
  349. package/dist/types/components.d.ts +1068 -219
  350. package/dist/types/features/image-viewer/image-viewer-logic.d.ts +3 -0
  351. package/dist/types/features/image-viewer/image-viewer.d.ts +7 -0
  352. package/dist/types/features/image-viewer/index.d.ts +3 -0
  353. package/dist/types/features/image-viewer/interface.d.ts +5 -0
  354. package/dist/types/features/multi-lingual/get-local-language.d.ts +4 -0
  355. package/dist/types/features/multi-lingual/index.d.ts +3 -0
  356. package/dist/types/features/multi-lingual/interface.d.ts +8 -0
  357. package/dist/types/{global/lib/get-local-language.d.ts → features/multi-lingual/types.d.ts} +17 -6
  358. package/dist/types/features/part-lookup-components/index.d.ts +3 -0
  359. package/dist/types/features/part-lookup-components/interface.d.ts +25 -0
  360. package/dist/types/features/part-lookup-components/part-lookup-api-integration.d.ts +14 -0
  361. package/dist/types/features/part-lookup-components/types.d.ts +3 -0
  362. package/dist/types/features/vehicle-info-layout/index.d.ts +2 -0
  363. package/dist/types/features/vehicle-info-layout/interface.d.ts +3 -0
  364. package/dist/types/features/vehicle-info-layout/vehicle-info-layout.d.ts +11 -0
  365. package/dist/types/features/vehicle-lookup-component/index.d.ts +3 -0
  366. package/dist/types/features/vehicle-lookup-component/interface.d.ts +24 -0
  367. package/dist/types/features/vehicle-lookup-component/types.d.ts +17 -0
  368. package/dist/types/features/vehicle-lookup-component/vehicle-lookup-api-integration.d.ts +15 -0
  369. package/dist/types/global/assets/activation-icon.d.ts +6 -0
  370. package/dist/types/global/assets/add-icon.d.ts +6 -0
  371. package/dist/types/global/assets/alert-icon.d.ts +6 -0
  372. package/dist/types/global/assets/arrow-up-icon.d.ts +6 -0
  373. package/dist/types/global/assets/attach-icon.d.ts +6 -0
  374. package/dist/types/global/assets/check-icon.d.ts +6 -0
  375. package/dist/types/global/assets/empty-table-icon.d.ts +6 -0
  376. package/dist/types/global/assets/form-submit-svg.d.ts +6 -0
  377. package/dist/types/global/assets/print-icon.d.ts +6 -0
  378. package/dist/types/global/assets/triangle-icon.d.ts +6 -0
  379. package/dist/types/global/lib/children-with-tag.d.ts +1 -0
  380. package/dist/types/global/lib/container-has-tag.d.ts +1 -0
  381. package/dist/types/global/lib/parents-with-tag.d.ts +1 -0
  382. package/dist/types/global/lib/recaptcha.d.ts +1 -1
  383. package/dist/types/global/lib/scroll-into-container-view.d.ts +1 -0
  384. package/dist/types/global/types/components.d.ts +0 -1
  385. package/dist/types/global/types/forms.d.ts +1 -1
  386. package/dist/types/global/types/generated/part/branch-dead-stock-dto.d.ts +5 -0
  387. package/dist/types/global/types/generated/part/dead-stock-dto.d.ts +6 -0
  388. package/dist/types/global/types/generated/part/hs-code-dto.d.ts +5 -0
  389. package/dist/types/global/types/generated/part/part-lookup-dto.d.ts +27 -0
  390. package/dist/types/global/types/generated/part/part-price-dto.d.ts +10 -0
  391. package/dist/types/global/types/generated/part/price-dto.d.ts +6 -0
  392. package/dist/types/global/types/generated/part/stock-part-dto.d.ts +5 -0
  393. package/dist/types/global/types/generated/vehicle-lookup/accessory-dto.d.ts +5 -0
  394. package/dist/types/global/types/generated/vehicle-lookup/paint-thickness-dto.d.ts +6 -0
  395. package/dist/types/global/types/generated/vehicle-lookup/paint-thickness-image-dto.d.ts +4 -0
  396. package/dist/types/global/types/generated/vehicle-lookup/paint-thickness-part-dto.d.ts +5 -0
  397. package/dist/types/global/types/generated/vehicle-lookup/ssc-dto.d.ts +10 -0
  398. package/dist/types/global/types/generated/vehicle-lookup/ssc-labor-dto.d.ts +5 -0
  399. package/dist/types/global/types/generated/vehicle-lookup/ssc-part-dto.d.ts +5 -0
  400. package/dist/types/global/types/generated/vehicle-lookup/vehicle-broker-sale-information.d.ts +7 -0
  401. package/dist/types/global/types/generated/vehicle-lookup/vehicle-identifiers-dto.d.ts +9 -0
  402. package/dist/types/global/types/generated/vehicle-lookup/vehicle-labor-dto.d.ts +6 -0
  403. package/dist/types/global/types/generated/vehicle-lookup/vehicle-lookup-dto.d.ts +27 -0
  404. package/dist/types/global/types/generated/vehicle-lookup/vehicle-part-dto.d.ts +6 -0
  405. package/dist/types/global/types/generated/vehicle-lookup/vehicle-sale-information.d.ts +16 -0
  406. package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-history-dto.d.ts +16 -0
  407. package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-item-dto.d.ts +34 -0
  408. package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-item-group.d.ts +6 -0
  409. package/dist/types/global/types/generated/vehicle-lookup/vehicle-specification-dto.d.ts +22 -0
  410. package/dist/types/global/types/generated/vehicle-lookup/vehicle-variant-info-dto.d.ts +5 -0
  411. package/dist/types/global/types/generated/vehicle-lookup/vehicle-warranty-dto.d.ts +8 -0
  412. package/dist/types/locale-mapper.d.ts +2 -2
  413. package/dist/types/locales/partLookup/distributor/type.d.ts +2 -2
  414. package/dist/types/locales/partLookup/manufacturer/type.d.ts +6 -6
  415. package/dist/types/locales/partLookup/wrapper-type.d.ts +8 -8
  416. package/dist/types/locales/vehicleLookup/accessories/type.d.ts +4 -4
  417. package/dist/types/locales/vehicleLookup/{dynamicClaim → claimableItems}/type.d.ts +32 -16
  418. package/dist/types/locales/vehicleLookup/paintThickness/type.d.ts +4 -4
  419. package/dist/types/locales/vehicleLookup/serviceHistory/type.d.ts +4 -4
  420. package/dist/types/locales/vehicleLookup/warranty/type.d.ts +2 -0
  421. package/dist/types/locales/vehicleLookup/wrapper-type.d.ts +56 -46
  422. package/dist/types/stencil-public-runtime.d.ts +23 -1
  423. package/package.json +9 -8
  424. package/LICENSE +0 -21
  425. package/dist/cjs/app-globals-4aa8f46f.js +0 -46
  426. package/dist/cjs/cn-f559f9e5.js +0 -2588
  427. package/dist/cjs/dynamic-claim_6.cjs.entry.js +0 -1224
  428. package/dist/cjs/dynamic-redeem.cjs.entry.js +0 -210
  429. package/dist/cjs/type-87edb16d.js +0 -53
  430. package/dist/collection/components/vehicle-lookup/components/SSCTable.js +0 -18
  431. package/dist/collection/components/vehicle-lookup/dynamic-claim.css +0 -1
  432. package/dist/collection/components/vehicle-lookup/dynamic-claim.js +0 -756
  433. package/dist/collection/components/vehicle-lookup/dynamic-redeem.css +0 -1
  434. package/dist/collection/components/vehicle-lookup/dynamic-redeem.js +0 -444
  435. package/dist/collection/components/vehicle-lookup/paint-thickness.css +0 -1
  436. package/dist/collection/components/vehicle-lookup/paint-thickness.js +0 -414
  437. package/dist/collection/components/vehicle-lookup/service-history.js +0 -397
  438. package/dist/collection/components/vehicle-lookup/warranty-details.css +0 -1
  439. package/dist/collection/global/api/partInformation.js +0 -32
  440. package/dist/collection/global/api/vehicleInformation.js +0 -48
  441. package/dist/collection/global/types/vehicle-information.js +0 -5
  442. package/dist/collection/templates/vehicle-lookup/vehicle-lookup.js +0 -285
  443. package/dist/components/dynamic-claim.js +0 -5
  444. package/dist/components/dynamic-redeem.js +0 -5
  445. package/dist/components/p-00a27a58.js +0 -5
  446. package/dist/components/p-0aea36b4.js +0 -5
  447. package/dist/components/p-0fa9085a.js +0 -5
  448. package/dist/components/p-1c45c079.js +0 -5
  449. package/dist/components/p-28cf4dbe.js +0 -5
  450. package/dist/components/p-29a57e34.js +0 -5
  451. package/dist/components/p-2c893802.js +0 -5
  452. package/dist/components/p-3a216a1c.js +0 -5
  453. package/dist/components/p-48a28736.js +0 -5
  454. package/dist/components/p-48a9b8e5.js +0 -5
  455. package/dist/components/p-4ddb3435.js +0 -5
  456. package/dist/components/p-5709db05.js +0 -5
  457. package/dist/components/p-5afcb14f.js +0 -5
  458. package/dist/components/p-7a1dd4fc.js +0 -5
  459. package/dist/components/p-7d3dd7c2.js +0 -5
  460. package/dist/components/p-8b1d90d7.js +0 -5
  461. package/dist/components/p-8cd53e18.js +0 -5
  462. package/dist/components/p-98d9e7ab.js +0 -5
  463. package/dist/components/p-aacd560d.js +0 -5
  464. package/dist/components/p-c4f620e9.js +0 -5
  465. package/dist/components/p-ca0bda87.js +0 -5
  466. package/dist/components/p-d3f029ed.js +0 -5
  467. package/dist/components/p-dfb3925b.js +0 -5
  468. package/dist/components/p-ec493f9b.js +0 -5
  469. package/dist/components/p-f437e795.js +0 -5
  470. package/dist/components/p-fab97ac7.js +0 -5
  471. package/dist/components/p-ffad35ad.js +0 -5
  472. package/dist/components/paint-thickness.js +0 -5
  473. package/dist/components/service-history.js +0 -5
  474. package/dist/components/warranty-details.js +0 -5
  475. package/dist/esm/app-globals-68faa233.js +0 -44
  476. package/dist/esm/cn-cc419b94.js +0 -2586
  477. package/dist/esm/dynamic-claim_6.entry.js +0 -1215
  478. package/dist/esm/dynamic-redeem.entry.js +0 -206
  479. package/dist/esm/type-885c56ae.js +0 -34
  480. package/dist/esm/type-dc3e60a4.js +0 -50
  481. package/dist/shift-components/p-025b3a45.entry.js +0 -5
  482. package/dist/shift-components/p-07ee30c6.js +0 -5
  483. package/dist/shift-components/p-232a8be0.entry.js +0 -5
  484. package/dist/shift-components/p-40e52936.entry.js +0 -5
  485. package/dist/shift-components/p-446d908d.js +0 -5
  486. package/dist/shift-components/p-50d68cc4.entry.js +0 -5
  487. package/dist/shift-components/p-67d3532e.js +0 -5
  488. package/dist/shift-components/p-69f1a7ff.entry.js +0 -5
  489. package/dist/shift-components/p-6b3651bd.js +0 -5
  490. package/dist/shift-components/p-6ec0650f.js +0 -5
  491. package/dist/shift-components/p-83b755da.entry.js +0 -5
  492. package/dist/shift-components/p-90bf4148.entry.js +0 -5
  493. package/dist/shift-components/p-9474a4da.js +0 -6
  494. package/dist/shift-components/p-98d9e7ab.js +0 -5
  495. package/dist/shift-components/p-997b9bfb.entry.js +0 -5
  496. package/dist/shift-components/p-9e11eb3e.entry.js +0 -5
  497. package/dist/shift-components/p-ab79b6e8.entry.js +0 -5
  498. package/dist/shift-components/p-c802d527.js +0 -5
  499. package/dist/types/components/vehicle-lookup/components/SSCTable.d.ts +0 -9
  500. package/dist/types/components/vehicle-lookup/dynamic-claim.d.ts +0 -65
  501. package/dist/types/components/vehicle-lookup/dynamic-redeem.d.ts +0 -48
  502. package/dist/types/components/vehicle-lookup/paint-thickness.d.ts +0 -39
  503. package/dist/types/components/vehicle-lookup/service-history.d.ts +0 -34
  504. package/dist/types/global/api/partInformation.d.ts +0 -19
  505. package/dist/types/global/api/vehicleInformation.d.ts +0 -33
  506. package/dist/types/global/lib/image-expansion.d.ts +0 -9
  507. package/dist/types/global/types/locale.d.ts +0 -11
  508. package/dist/types/global/types/part-information.d.ts +0 -53
  509. package/dist/types/global/types/vehicle-information.d.ts +0 -182
  510. package/loader/package.json +0 -11
  511. package/readme.md +0 -15
  512. /package/dist/cjs/{loader-baf2418b.js → loader-jtAYWeFG.js} +0 -0
  513. /package/dist/cjs/{validate-vin-32e95695.js → validate-vin-CJDIXpJO.js} +0 -0
  514. /package/dist/collection/{global/types/part-information.js → features/image-viewer/interface.js} +0 -0
  515. /package/dist/collection/{components/vehicle-lookup → global}/assets/activationRequired.svg +0 -0
  516. /package/dist/collection/{components/vehicle-lookup → global}/assets/cancelled.svg +0 -0
  517. /package/dist/collection/{components/vehicle-lookup → global}/assets/check.svg +0 -0
  518. /package/dist/collection/{components/vehicle-lookup → global}/assets/expired.svg +0 -0
  519. /package/dist/collection/{components/vehicle-lookup → global}/assets/pending.svg +0 -0
  520. /package/dist/collection/{components/vehicle-lookup → global}/assets/processed.svg +0 -0
  521. /package/dist/collection/{components/vehicle-lookup → global}/assets/x-mark.svg +0 -0
  522. /package/dist/components/{p-a21e2e2e.js → p-C-EQDloC.js} +0 -0
  523. /package/dist/components/{p-383b4ddf.js → p-CUREVASG.js} +0 -0
  524. /package/dist/esm/{loader-027b88af.js → loader-C-EQDloC.js} +0 -0
  525. /package/dist/esm/{validate-vin-f4d23a44.js → validate-vin-CUREVASG.js} +0 -0
  526. /package/dist/shift-components/{p-a21e2e2e.js → p-C-EQDloC.js} +0 -0
  527. /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();
16
- }
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
-
28
- return (this._values[key] = value)
29
- };
30
-
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
- }
68
-
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
- };
107
-
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
- }
119
-
120
- function split(path) {
121
- return path.match(SPLIT_REGEX) || ['']
122
- }
123
-
124
- function forEach(parts, iter, thisArg) {
125
- var len = parts.length,
126
- part,
127
- idx,
128
- isArray,
129
- isBracket;
130
-
131
- for (idx = 0; idx < len; idx++) {
132
- part = parts[idx];
133
-
134
- if (part) {
135
- if (shouldBeQuoted(part)) {
136
- part = '"' + part + '"';
137
- }
138
-
139
- isBracket = isQuoted(part);
140
- isArray = !isBracket && /^\d+$/.test(part);
141
-
142
- iter.call(thisArg, part, isBracket, isArray, idx, parts);
143
- }
144
- }
145
- }
146
-
147
- function isQuoted(str) {
148
- return (
149
- typeof str === 'string' && str && ["'", '"'].indexOf(str.charAt(0)) !== -1
150
- )
151
- }
152
-
153
- function hasLeadingNumber(part) {
154
- return part.match(LEAD_DIGIT_REGEX) && !part.match(DIGIT_REGEX)
155
- }
156
-
157
- function hasSpecialChars(part) {
158
- return SPEC_CHAR_REGEX.test(part)
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;
159
176
  }
160
177
 
161
- function shouldBeQuoted(part) {
162
- return !isQuoted(part) && (hasLeadingNumber(part) || hasSpecialChars(part))
163
- }
164
-
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);
178
+ var propertyExprExports = requirePropertyExpr();
170
179
 
171
- const join = (str, d) => words(str).join(d).toLowerCase();
180
+ var tinyCase;
181
+ var hasRequiredTinyCase;
172
182
 
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
+ 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;
183
187
 
184
- const pascalCase = (str) => upperFirst(camelCase(str));
188
+ const words = (str) => str.match(reWords) || [];
185
189
 
186
- const snakeCase = (str) => join(str, '_');
190
+ const upperFirst = (str) => str[0].toUpperCase() + str.slice(1);
187
191
 
188
- const kebabCase = (str) => join(str, '-');
192
+ const join = (str, d) => words(str).join(d).toLowerCase();
189
193
 
190
- const sentenceCase = (str) => upperFirst(join(str, ' '));
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
+ );
191
204
 
192
- const titleCase = (str) => words(str).map(upperFirst).join(' ');
205
+ const pascalCase = (str) => upperFirst(camelCase(str));
193
206
 
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
- }
207
+ const snakeCase = (str) => join(str, '_');
256
208
 
257
- if (visited[i]) return;
258
- visited[i] = true;
209
+ const kebabCase = (str) => join(str, '-');
259
210
 
260
- var outgoing = outgoingEdges.get(node) || new Set();
261
- outgoing = Array.from(outgoing);
211
+ const sentenceCase = (str) => upperFirst(join(str, ' '));
262
212
 
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
- }
213
+ const titleCase = (str) => words(str).map(upperFirst).join(' ');
271
214
 
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)
215
+ tinyCase = {
216
+ words,
217
+ upperFirst,
218
+ camelCase,
219
+ pascalCase,
220
+ snakeCase,
221
+ kebabCase,
222
+ sentenceCase,
223
+ titleCase,
224
+ };
225
+ return tinyCase;
284
226
  }
285
227
 
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
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;
303
335
  }
304
336
 
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,44 @@ class ObjectSchema extends Schema {
2133
2166
  }
2134
2167
  create$3.prototype = ObjectSchema.prototype;
2135
2168
 
2136
- const version = "0.0.89";
2169
+ function yupTypeMapper(keys) {
2170
+ const shape = keys.reduce((acc, key) => {
2171
+ acc[key] = create$6().required().default('');
2172
+ return acc;
2173
+ }, {});
2174
+ return create$3(shape);
2175
+ }
2176
+
2177
+ const globalSchema = yupTypeMapper(['lang', 'direction', 'language', 'noData']);
2178
+
2179
+ const errorsSchema = yupTypeMapper([
2180
+ 'noBaseUrl',
2181
+ 'invalidVin',
2182
+ 'vinNumberRequired',
2183
+ 'partNumberRequired',
2184
+ 'wrongResponseFormat',
2185
+ 'noPartsFound',
2186
+ 'noServiceAvailable',
2187
+ 'wrongFormStructure',
2188
+ 'wildCard',
2189
+ 'requestFailedPleaseTryAgainLater',
2190
+ ]);
2191
+
2192
+ const sharedLocalesSchema = create$3({
2193
+ errors: errorsSchema,
2194
+ }).concat(globalSchema);
2195
+ const ARABIC_JSON_FILE = 'ar.json';
2196
+ const ENGLISH_JSON_FILE = 'en.json';
2197
+ const KURDISH_JSON_FILE = 'ku.json';
2198
+ const RUSSIAN_JSON_FILE = 'ru.json';
2199
+ const languageMapper = {
2200
+ ar: ARABIC_JSON_FILE,
2201
+ en: ENGLISH_JSON_FILE,
2202
+ ku: KURDISH_JSON_FILE,
2203
+ ru: RUSSIAN_JSON_FILE,
2204
+ };
2205
+
2206
+ const version = "0.0.91";
2137
2207
 
2138
2208
  // This file is auto-generated. Do not edit it manually.
2139
2209
  // Use command: yarn generate-locale-mapper
@@ -2177,14 +2247,14 @@ const localeMapper = {
2177
2247
  ],
2178
2248
  "vehicleLookup": [
2179
2249
  "locales/vehicleLookup/accessories/",
2180
- "locales/vehicleLookup/dynamicClaim/",
2250
+ "locales/vehicleLookup/claimableItems/",
2181
2251
  "locales/vehicleLookup/paintThickness/",
2182
2252
  "locales/vehicleLookup/serviceHistory/",
2183
2253
  "locales/vehicleLookup/specification/",
2184
2254
  "locales/vehicleLookup/warranty/"
2185
2255
  ],
2186
- "vehicleLookup.dynamicClaim": [
2187
- "locales/vehicleLookup/dynamicClaim/"
2256
+ "vehicleLookup.claimableItems": [
2257
+ "locales/vehicleLookup/claimableItems/"
2188
2258
  ],
2189
2259
  "vehicleLookup.paintThickness": [
2190
2260
  "locales/vehicleLookup/paintThickness/"
@@ -2203,43 +2273,6 @@ const localeMapper = {
2203
2273
  ]
2204
2274
  };
2205
2275
 
2206
- const ARABIC_JSON_FILE = 'ar.json';
2207
- const ENGLISH_JSON_FILE = 'en.json';
2208
- const KURDISH_JSON_FILE = 'ku.json';
2209
- const RUSSIAN_JSON_FILE = 'ru.json';
2210
- const languageMapper = {
2211
- ar: ARABIC_JSON_FILE,
2212
- en: ENGLISH_JSON_FILE,
2213
- ku: KURDISH_JSON_FILE,
2214
- ru: RUSSIAN_JSON_FILE,
2215
- };
2216
-
2217
- function yupTypeMapper(keys) {
2218
- const shape = keys.reduce((acc, key) => {
2219
- acc[key] = create$6().required().default('');
2220
- return acc;
2221
- }, {});
2222
- return create$3(shape);
2223
- }
2224
-
2225
- const globalSchema = yupTypeMapper(['lang', 'direction', 'language', 'noData']);
2226
-
2227
- const errorsSchema = yupTypeMapper([
2228
- 'noBaseUrl',
2229
- 'invalidVin',
2230
- 'vinNumberRequired',
2231
- 'partNumberRequired',
2232
- 'wrongResponseFormat',
2233
- 'noPartsFound',
2234
- 'noServiceAvailable',
2235
- 'wrongFormStructure',
2236
- 'wildCard',
2237
- 'requestFailedPleaseTryAgainLater',
2238
- ]);
2239
-
2240
- const sharedLocalesSchema = create$3({
2241
- errors: errorsSchema,
2242
- }).concat(globalSchema);
2243
2276
  const cachedLocales = {};
2244
2277
  async function getSharedLocal(languageKey) {
2245
2278
  const [errors, globalKeys] = await Promise.all([getLocaleLanguage(languageKey, 'errors', errorsSchema), getLocaleLanguage(languageKey, '-', globalSchema)]);
@@ -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;